1import{q as e,Y as s,z as o,r as t,D as r,s as a,w as l,b7 as n,ap as i,J as p,a1 as c,bG as u,al as m,aj as f,bI as d,an as j,bD as v,bQ as b,B as k,a2 as y,F as g,bv as C,cp as _,y as w}from"./cSJXqLJP.js";import{S as x}from"./DGwPsaB7.js";import{_ as h}from"./DAW6lZ5X.js";import{_ as I}from"./B3mmudT7.js";import{B as F}from"./CSXftCQj.js";import{T as R,F as T}from"./B3Svive3.js";import{u as B}from"./CV8QpcOp.js";import{g as G}from"./Cs0CWprB.js";import"./DLL-73DY.js";import"./DzPWyKNQ.js";import"./B9NUJsle.js";import"./C9Y3eZR2.js";import"./KOngkRup.js";import"./WTxLMT43.js";import"./C-c49lrL.js";import"./hz2DHREV.js";import"./29-ojgIP.js";import"./Cl2vn7Go.js";import"./DPLcTpxi.js";import"./DXBKKq3G.js";import"./C8O7Qn5t.js";import"./DjpUv2Du.js";import"./GAu3am23.js";import"./LvIr1giX.js";import"./CpYfQi_R.js";import"./NYSnit0S.js";import"./C1NgIiQP.js";import"./Bb_itNaH.js";import"./D-oP6QDY.js";import"./C7wFnzWU.js";import"./CrsYMdv7.js";import"./D658K2Ao.js";import"./D0RNJJ7a.js";const L={class:"user-info-wrapper"},z={class:"user-info-content"},A={class:"user-info-name"},D={class:"user-info-name-text"},S={class:"user-info-count-list"},U={class:"like-count"},$=j(e({__name:"UserInfo",setup(e){const j=s(),v=o(()=>j.getUserInfo||{}),b=o(()=>j.getCountNum||{}),k=t(),y=e=>{k.value.open(e)};return r(()=>{(()=>{try{j.refreshUserInfo()}catch(e){console.error("å·æ°ç¨æ·ä¿¡æ¯å¤±è´¥:",e)}})()}),(e,s)=>{const o=h;return l(),a(n,null,[i("div",L,[p(F,{"user-data":c(v),size:131,"show-gender":!0,"gender-bgcolor":"rgba(232, 244, 255, 0.7)","gender-size":33},null,8,["user-data"]),i("div",z,[i("div",A,[i("span",D,m(c(v).name),1),p(o,{to:"/setting"},{default:f(()=>[...s[2]||(s[2]=[i("img",{class:"change-avatar-icon",src:I},null,-1)])]),_:1})]),u(i("div",{class:"user-info-synopsis"},m(c(v).synopsis),513),[[d,c(v).synopsis]]),i("ul",S,[i("li",{class:"follow-count",onClick:s[0]||(s[0]=e=>y("follow"))},[p(R,{count:c(b).to_follow||0,text:e.$t("postDetails.follow"),"text-style":{color:"#6b92ff"}},null,8,["count","text"])]),i("li",{class:"fans-count",onClick:s[1]||(s[1]=e=>y("fans"))},[p(R,{count:c(b).be_follow||0,text:e.$t("personalCenter.followers"),"text-style":{color:"#6b92ff"}},null,8,["count","text"])]),i("li",U,[p(R,{count:(c(b).be_like||0)+(c(b).be_collect||0),text:e.$t("personalCenter.likesAndFavorites"),"text-style":{color:"#9d9d9d"}},null,8,["count","text"])])])])]),p(T,{ref_key:"followAndFansRef",ref:k},null,512)],64)}}}),[["__scopeId","data-v-f0469e5f"]]),E={class:"personal-center-menu"},H=["onClick"],J={class:"personal-center-content"},K=j(e({__name:"index",setup(e){const{t:s}=B(),o=v(),f=b(),j=t(),h=t(!1),I=t([]),F=k([{label:s("personalCenter.menu.creativeRecord"),key:"personalCenterCreativeHomepage"},{label:s("personalCenter.stats.collected"),key:"personalCenterCollected"},{label:s("personalCenter.stats.liked"),key:"personalCenterLiked"},{label:s("common.browse"),key:"personalCenterLastViewed"}]),R=G(()=>{if(!j.value)return;const e=j.value.scrollTop>200;h.value!==e&&(h.value=e)},16),T=()=>{j.value?.scrollTo({top:0,behavior:"smooth"})};return y(()=>{const e=f.name;"string"==typeof e&&e.includes("-lang")?I.value=[e.replace("-lang","")]:"string"==typeof e&&(I.value=[e])}),r(()=>{j.value&&(j.value.addEventListener("scroll",R,{passive:!0}),R())}),g(()=>{j.value&&j.value.removeEventListener("scroll",R)}),(e,s)=>{const t=_;return l(),a(n,null,[i("div",{id:"personal-center-scroll-container",ref_key:"personalCenterScrollContainerRef",ref:j,class:"personal-center-wrapper waterfall-width-sidebar-padded"},[p($),i("ul",E,[(l(!0),a(n,null,C(c(F),e=>(l(),a("li",{key:e.key,class:w({active:c(I).includes(e.key)}),onClick:s=>{return t=e.key,I.value=[t],void o.push({name:t});var t}},m(e.label),11,H))),128))]),i("div",J,[p(t)])],512),u(p(x,{"in-group":!1,bottom:"24px",right:"24px",onBackToTop:T},null,512),[[d,c(h)]])],64)}}}),[["__scopeId","data-v-47fb0389"]]);export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.