1import{eD as m,ey as u,aq as _,o as p,Z as g,v as w,bH as y,d as v,df as C,cB as k,a as L,b as S,e as l,w as d,f as e,ab as h,aQ as B,aw as I,a8 as N,m as b,t as f,p as x,aP as G,U as V}from"./index-DcSVvNrM.js";function E(c){const i=m(),s=w(()=>y(c)),t=u(async n=>await i.getOwnersByGiftCode(s.value,n));return _(s,async()=>{t.reset(),await t.loadInitial()}),p(async()=>{await t.loadInitial()}),g(()=>{t.reset()}),{list:t}}const O={class:"gift-owners__count"},A=v({__name:"GiftOwners",props:{giftCode:{},onItemSelect:{type:Function}},setup(c){const i=c,{list:s}=E(()=>i.giftCode),t=C("listContainer");return k(t,"click",n=>{var a;n.composedPath().some(o=>"tagName"in o&&o.tagName==="A")&&((a=i.onItemSelect)==null||a.call(i))}),(n,r)=>(L(),S("div",{ref_key:"listContainer",ref:t},[l(e(G),{class:"gift-owners",items:e(s).items,"is-loading":e(s).isLoading,"is-empty":e(s).isLoading&&e(s).items.length===0,"is-ended":e(s).isEnded,"virtual-scroll":{itemHeight:52,gap:0},onEndReach:r[0]||(r[0]=a=>e(s).loadMore())},{item:d(({data:a,style:o})=>[l(e(h),{class:"gift-owners__item",to:{name:"Subsite",params:{subsite:e(I)(a.user)}},style:B(o)},{default:d(()=>[l(e(N),{source:a.user.avatar,size:36,isAllowVideo:!1},null,8,["source"]),b(" "+f(a.user.name)+" ",1),x("span",O," Ã"+f(a.count),1)]),_:2},1032,["to","style"])]),_:1},8,["items","is-loading","is-empty","is-ended"])],512))}}),z=V(A,[["__scopeId","data-v-aee01d0d"]]);export{z 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.