1import{_ as j}from"./CwVpi7vx.js";import{f as z,i as L,u as N,_ as P,a as A,b as E}from"./D8VinMcn.js";import{_ as H}from"./Cr-Nc8si.js";import{_ as O}from"./Do0C2Db0.js";import{_ as R}from"./BMePfg2m.js";import{_ as q}from"./DmsLpZ3V.js";import{d as G,u as J,w as K,g as Q,l as U,p as W,a as d,x as f,y as r,t,e as l,b as e,s as g,B as v,D as c,o as s,_ as X}from"./CyVqXwo4.js";import{u as Y}from"./Em6DsptL.js";import"./BtPmv9CL.js";import"./CV7_ogXH.js";import"./DUY-HjHu.js";import"./Nl7atSqz.js";import"./BwQzvdFb.js";import"./DLohiDnj.js";import"./Cgpg8tMj.js";const Z={key:0},ee=G({__name:"feed",async setup(_e){let n,i;const{platform:m}=J(),y=z(L(m)),{data:a,error:p}=([n,i]=K(()=>Y("matters",{query:y})),n=await n,i(),n);if(p.value||!a.value)throw Q({statusCode:p.value?.statusCode??500});const{getItems:b,processParamsChange:h,filteredItems:w,view:_,setView:C,busy:$,tab:u,noResults:k,loading:x}=N({initialItems:a.value.matters,toggleFooter:!0});return U({script:[{type:"application/ld+json",innerHTML:a.value.schema_org}]}),W(()=>{localStorage.setItem("feedViewDate",new Date().toISOString())}),(o,re)=>{const B=j,I=P,S=A,T=H,D=O,F=R,M=E,V=q;return s(),d("div",{class:c(o.$style.feed)},[o.$device.isMobile?(s(),f(B,{key:0})):r("",!0),t(I,{onChange:e(h)},null,8,["onChange"]),l("div",{class:c(["container",o.$style.content,e(_)==="list"?o.$style.__pl:""])},[l("div",null,[t(S,{items:e(w),view:e(_),tab:e(u)},null,8,["items","view","tab"]),g(t(T,null,null,512),[[v,e(x)]]),g(t(D,null,null,512),[[v,e(k)]]),e(u)!=="popular"?(s(),f(F,{key:0,busy:e($),onLoad:e(b)},null,8,["busy","onLoad"])):r("",!0)]),o.$device.isDesktopOrTablet?(s(),d("div",Z,[l("div",{class:c([e(m).template,"top-sticky"])},[t(M,{value:e(_),onChange:e(C)},null,8,["value","onChange"]),t(V,{slug:"banner_6"})],2)])):r("",!0)],2)],2)}}}),te="_feed_14zjg_2",oe="_content_14zjg_14",ne="___pl_14zjg_18",se={feed:te,content:oe,__pl:ne},ae={$style:se},$e=X(ee,[["__cssModules",ae]]);export{$e 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.