1import A from"./MOgB9R2V.js";import{R as M,_ as P,c as R,r as E,x as S,a as s,o as a,d as C,b as n,f as l,V as L,C as i,t as d,F as y,g as x,n as v,h as b,i as f}from"#entry";import"./DkkuzaFX.js";const m=M({active:!1});function F(){m.active=!m.active,m.active?(document.body.classList.add("rec-active"),window.webglPlanes?.setEffectEnabled(!0,1)):(document.body.classList.remove("rec-active"),window.webglPlanes?.setEffectEnabled(!1,1))}const D=["onClick"],z={class:"filter-page"},I={key:0,class:"filters"},O={__name:"FilterBar",props:{listLabel:{type:String,default:""},filters:{type:Array}},emits:["select"],setup(r,{emit:V}){const $=r,k=R(()=>!!$.listLabel),c=E("all"),B=V,o=p=>{B("select",p),c.value=p},g=E(!1),N=()=>{g.value=!g.value};return S(()=>{m.active=!1,document.body.classList.remove("rec-active"),window.webglPlanes?.setEffectEnabled(!1,1)}),(p,e)=>{const u=A;return a(),s(y,null,[l(L).isDesktop?C("",!0):(a(),s("div",{key:0,class:i(["filters-mobile",{open:l(g)}])},[n("ul",null,[n("li",{class:i({active:o==="all"})},[n("button",{onClick:e[0]||(e[0]=t=>o("all"))},"All")],2),l(k)?(a(),s("li",{key:0,class:i({active:o==="list"})},[n("button",{onClick:e[1]||(e[1]=t=>o("list"))},d(r.listLabel),1)],2)):C("",!0),(a(!0),s(y,null,x(r.filters,(t,w)=>(a(),s("li",{class:i({active:o===t.value}),key:t},[n("button",{onClick:_=>o(t.value)},d(t.label),9,D)],2))),128))])],2)),n("div",z,[l(L).isMobile?(a(),s("button",{key:1,class:"filter-btn",onClick:N},"Filter")):(a(),s("ul",I,[n("li",{class:i(["filter-bar",{active:l(c)==="all"}])},[v(u,{tag:"button",onClick:e[2]||(e[2]=t=>o("all"))},{default:b(()=>[...e[5]||(e[5]=[f("All",-1)])]),_:1})],2),l(k)?(a(),s("li",{key:0,class:i(["filter-bar",{active:l(c)==="list"}])},[v(u,{tag:"button",onClick:e[3]||(e[3]=t=>o("list"))},{default:b(()=>[f(d(r.listLabel),1)]),_:1})],2)):C("",!0),(a(!0),s(y,null,x(r.filters,(t,w)=>(a(),s("li",{key:t,class:i({active:l(c)===t.value,"filter-bar":!l(k)&&t.value!=="all"&&w!==r.filters.length-1})},[v(u,{tag:"button",onClick:_=>o(t.value)},{default:b(()=>[f(d(t.label),1)]),_:2},1032,["onClick"])],2))),128))])),n("button",{class:"rec",onClick:e[4]||(e[4]=(...t)=>l(F)&&l(F)(...t))},[e[7]||(e[7]=n("div",{class:"rec-bg"},null,-1)),e[8]||(e[8]=n("span",{class:"rec-dot"},null,-1)),v(u,{tag:"span",class:"rec-container"},{default:b(()=>[...e[6]||(e[6]=[f("REC",-1)])]),_:1})])])],64)}}},q=P(O,[["__scopeId","data-v-3b5cd042"]]);export{q 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.