import{u as h}from"./vue-i18n-90d534a9.js";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-1170722e.js";import{v as I,o as C}from"./index-ae60edf9.js";import{D as a}from"./index-b61dcf4f.js";import{d as U}from"./dayjs-4460abc8.js";import{d as $,k as v,o as k,c as g,$ as o,a as b,bj as S,u as r}from"./@vue-cb50a1c4.js";import"./@intlify-1c0af683.js";import"./vue-router-7f882520.js";import"./index-597402db.js";import"./arrows_left-f963ef62.js";import"./open-im-sdk-wasm-f19f04ec.js";import"./pinia-de4079f2.js";import"./axios-7d5a0a64.js";import"./form-data-497f8b5e.js";import"./@amap-aca98dec.js";import"./uuid-a960c1f4.js";import"./date-fns-f56f60e6.js";import"./@babel-7fd5df1e.js";import"./mitt-f7ef348c.js";import"./@vueuse-19adab01.js";import"./livekit-client-ca552de3.js";import"./@livekit-3058dbe8.js";import"./loglevel-e40a507a.js";import"./rxjs-2154ddb2.js";import"./tslib-8dbab242.js";import"./@vuemap-5ebdc63e.js";import"./lodash-es-91418b19.js";import"./back-099fa84a.js";const Y={class:"page_container"},w={class:"my-2 overflow-hidden"},y={class:"overflow-hidden"},ne=$({__name:"index",setup(B){var i,l;const{t:n}=h(),t=I(),u=v(()=>{var e,s;return((e=t.storeUserCardData.baseInfo)==null?void 0:e.gender)===1?n("male"):((s=t.storeUserCardData.baseInfo)==null?void 0:s.gender)===2?n("female"):n("private")}),_=(i=t.storeUserCardData.baseInfo)!=null&&i.birth?U((l=t.storeUserCardData.baseInfo)==null?void 0:l.birth).format("YYYY-MM-DD"):"-";return(e,s)=>{var m,c,p;return k(),g("div",Y,[o(D,{title:e.$t("userInfo")},null,8,["title"]),b("div",w,[o(a,{lable:e.$t("avatar")},{default:S(()=>{var d,f;return[o(C,{size:32,src:(d=r(t).storeUserCardData.baseInfo)==null?void 0:d.faceURL,desc:(f=r(t).storeUserCardData.baseInfo)==null?void 0:f.nickname},null,8,["src","desc"])]}),_:1},8,["lable"]),o(a,{lable:e.$t("name"),content:(m=r(t).storeUserCardData.baseInfo)==null?void 0:m.nickname},null,8,["lable","content"]),o(a,{lable:e.$t("gender"),content:r(u)},null,8,["lable","content"]),o(a,{lable:e.$t("birthday"),content:r(_)},null,8,["lable","content"])]),b("div",y,[o(a,{lable:e.$t("cellphone"),content:(c=r(t).storeUserCardData.baseInfo)==null?void 0:c.phoneNumber},null,8,["lable","content"]),o(a,{lable:e.$t("email"),content:(p=r(t).storeUserCardData.baseInfo)==null?void 0:p.email},null,8,["lable","content"])])])}}});export{ne as default};
