PageSourceSearch

https://www.nssfactory.com/_nuxt/BAilHfuG.js

js nssfactory.com collected 2026-10-05 03:01:34 UTC 1,760 bytes, 1 lines download raw bytes

1import{k as L}from"./B-9EREnp.js";import{k as y,a as w,d as z,F as B,R as a,E as c,a9 as n,u as o,ag as m,M as C,W as j,a3 as q,a2 as h,a7 as D,aj as E,a1 as f,z as M,L as b,ab as R,a6 as S}from"./DfQjHCDY.js";const O=["id","disabled"],T=["for"],U={key:2},W={class:"catalogue-filter-list-elem"},H={__name:"Category",props:{category:{type:Object,required:!0}},emits:["change"],setup(e,{emit:k}){const l=e,v=k,x=y(()=>bCatalogue().activeFilters),g=y(()=>bCatalogue().loadingCatalogue),i=bCatalogue().categories;i[l.category.id]=l.category.selected,w(i,()=>{t.value=i[l.category.id]});const t=z(l.category.selected),F=()=>{const s=bCatalogue().updateCategory(l.category,t.value);d(s)},d=s=>{v("change",s)};return(s,u)=>{const N=L,V=B("CatalogueFiltersCategory");return a(),c(b,null,[e.category.isNavigation?(a(),c("div",{key:0,class:n({selected:o(t)}),style:m({"margin-left":"calc(1rem * "+e.category.cardinality+")"})},[C(N,{to:{path:e.category.slug,query:o(x)},class:n(["btn btn-link",{disabled:!e.category.active||o(g)}])},{default:j(()=>[q(h(e.category.title),1)]),_:1},8,["to","class"])],6)):(a(),c("div",{key:1,class:n(["form-check",{selected:o(t)}]),style:m({"margin-left":"calc(1rem * "+e.category.cardinality+")"})},[D(f("input",{id:"catalogue-filter-categories-"+e.category.id,class:"form-check-input",type:"checkbox","onUpdate:modelValue":u[0]||(u[0]=r=>M(t)?t.value=r:null),disabled:!e.category.active||o(g),onChange:F},null,40,O),[[E,o(t)]]),f("label",{for:"catalogue-filter-categories-"+e.category.id,class:"form-check-label"},h(e.category.title),9,T)],6)),e.category.children?(a(),c("ul",U,[(a(!0),c(b,null,R(e.category.children,r=>(a(),c("li",W,[C(V,{category:r,onChange:d},null,8,["category"])]))),256))])):S("",!0)],64)}}};export{H 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.