import{v as u,y as f,_ as v}from"./index-ae60edf9.js";import"./index-fc073ec7.js";import{S as h}from"./index-7aceb4e5.js";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-1170722e.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-fbf25b5f.js";import{V as k}from"./virtual-list-b1ee24f1.js";import{_ as $,a as b}from"./LetterSection.vue_vue_type_script_setup_true_lang-f6bf786e.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-e7eadba1.js";import{d as L,b as C,k as S,o as i,c as m,$ as s,u as g,O as w}from"./@vue-cb50a1c4.js";import"./vue-router-7f882520.js";import"./open-im-sdk-wasm-f19f04ec.js";import"./dayjs-4460abc8.js";import"./@amap-aca98dec.js";import"./vue-i18n-90d534a9.js";import"./@intlify-1c0af683.js";import"./pinia-de4079f2.js";import"./axios-7d5a0a64.js";import"./form-data-497f8b5e.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"./use-id-22cfdfcf.js";import"./index-597402db.js";import"./arrows_left-f963ef62.js";import"./index-e4a7d928.js";const B={class:"page_container"},D={key:0,class:"relative flex-1 overflow-y-auto overflow-x-hidden"},F=L({__name:"index",setup(T){const n=C(),p=u(),a=S(()=>f(p.storeFriendList)),e=[];a.value.indexList.map((o,t)=>{e.push({title:a.value.indexList[t],userID:a.value.indexList[t]}),e.push(...a.value.dataList[t])});const c=o=>{p.setUserCardData({baseInfo:o})},l=o=>{n.value.scrollToIndex(o)};return(o,t)=>{const _=x,d=h;return i(),m("div",B,[s(_,{title:o.$t("contactMenu.myGoodFriend")},null,8,["title"]),s(d,{background:"#fff",placeholder:o.$t("placeholder.search"),readonly:"",onClickInput:t[0]||(t[0]=r=>o.$router.push("searchFriendOrGroup"))},null,8,["placeholder"]),e.length>0?(i(),m("div",D,[s($,{newList:e,onScrollToIndex:l}),s(g(k),{ref_key:"vsl",ref:n,class:"my_scrollbar h-full overflow-y-auto","data-key":"userID","data-sources":e,"data-component":r=>r.title===void 0?I:b,"estimate-size":88,"extra-props":r=>({onClick:()=>c(r),letterStr:r.title})},null,8,["data-component","extra-props"])])):(i(),w(y,{key:1}))])}}});const uo=v(F,[["__scopeId","data-v-6a6ebb97"]]);export{uo as default};
