1import{_}from"./Xl9AqtPp.js";import{u as y,_ as g}from"./BUheuTmF.js";import{f as x,u as h,k as P}from"./BwiywTlr.js";import{z as q,r as N,w as k,G as v,a7 as p,c as F,y as r,P as I,k as V}from"./pEjZETfw.js";import"./C10pM1eO.js";import"./CMPjFafy.js";import"./Cbp2waRB.js";import"./B4U-JsHY.js";import"./9EOMS3tm.js";import"./gfLliCm3.js";import"./Cg8wQjc4.js";import"./CNAKqGs5.js";import"./YXlF6JB2.js";import"./DfcIdiNj.js";import"./B7rgdppr.js";import"./CWsDPZs7.js";import"./BkPInqK2.js";import"./fPhffBcC.js";import"./Y3YGt8om.js";import"./ByBMDjtQ.js";import"./DIZmpyM9.js";import"./BGCy5cJJ.js";import"./xvRhSBEW.js";import"./C0o-0ewK.js";import"./NWEso5Ur.js";import"./CKHnToZc.js";import"./BfbNI_RY.js";import"./BggBaoxZ.js";import"./D3UIztlH.js";import"./BHqWYdTH.js";import"./DvJakqkG.js";const w={class:"space-y-4"},me=q({__name:"index",setup(L){x({title:"ÐÐ¾Ñ Ð»ÐµÐ½Ñа"});const m=P(),o=h(),e=N({topicId:o.query.feed_topic,period:o.query.feed_period||"all",type:o.query.feed_type||"all",order:o.query.feed_order||"latest"});k(()=>o.query,t=>{e.topicId=t.feed_topic,e.period=t.feed_period||"all",e.type=t.feed_type||"all",e.order=t.feed_order||"latest"},{immediate:!0});const s=async({pageParam:t=1})=>await $fetch("/api/profile/feed",{headers:m,method:"POST",query:{pageSize:5,page:t,...e}}),{data:d,isLoading:n,fetchNextPage:l,hasNextPage:u}=y({queryKey:V(()=>["feed",e.topicId||"",e.period||"",e.type||"",e.order||""]),queryFn:s,initialPageParam:1,getNextPageParam:(t,a,i)=>{if(t.length!==0)return i+1}});return(t,a)=>{const i=_,c=g;return I(),v("div",w,[p(i,{modelValue:r(e),"onUpdate:modelValue":a[0]||(a[0]=f=>F(e)?e.value=f:null)},null,8,["modelValue"]),p(c,{materials:r(d)?.pages.flat(1)||[],"has-next":r(u),loading:r(n),primary:"",onLoadNext:r(l)},null,8,["materials","has-next","loading","onLoadNext"])])}}});export{me 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.