PageSourceSearch

https://www.cisilion.com/_nuxt/Filters.07bab78e.js

js cisilion.com collected 2026-10-03 19:55:51 UTC 1,995 bytes, 2 lines download raw bytes

1import $ from"./icon-chevron-down.5872ac64.js";import{p as k,o as s,c as r,y as i,h as _,z as p,F as c,r as g,f as C,t as d,b as F,j as y}from"./entry.41e83958.js";const N={class:"c-filters js-filters"},q={class:"c-filters__filters"},j={key:0,class:"c-filters__filter-list js-filters__filter-list"},I={class:"c-filters__options js-filters__options"},T=["onClick"],h={class:"c-filters__drawer-actions"},w={__name:"Filters",props:{taxonomies:{type:Array,required:!1},terms:{type:Array,required:!1},activeFilters:{type:Array,required:!1},postType:{type:String,required:!1},results:{type:Number,required:!1},resultsShowing:{type:Number,required:!1}},setup(n){const a=k(!1),b=l=>{l.target.parentNode.classList.toggle("is-active")};return(l,e)=>{const u=$;return s(),r("div",N,[i("button",{class:"c-filters__toggle-filters",type:"button",onClick:e[0]||(e[0]=t=>a.value=!_(a))}," Filter "),n.taxonomies?(s(),r("div",{key:0,class:p(["c-filters__wrapper",{"is-active":_(a)==!0}])},[i("div",q,[(s(!0),r(c,null,g(n.taxonomies,(t,m)=>(s(),r(c,{key:m},[t.subcategories.length?(s(),r("div",j,[i("button",{class:"c-filters__filter-title js-filters__filter-title",type:"button",onClick:e[1]||(e[1]=o=>b(o))},[C(d(t.parentCategories.categoryTitle)+" ",1),F(u)]),i("div",I,[(s(!0),r(c,null,g(t.subcategories,(o,v)=>(s(),r("button",{key:v,onClick:f=>l.$emit("toggleTerm",`${t.parentCategories.categoryIdentifier}_${o.subcategoryIdentifier}`),class:p([{"is-active":n.activeFilters.filter(f=>f==`${t.parentCategories.categoryIdentifier}_${o.subcategoryIdentifier}`).length},"c-filters__filter"]),type:"button"},d(o.subcategoryTitle)+" ",11,T))),128))])])):y("",!0)],64))),128))]),i("div",h,[i("button",{onClick:e[2]||(e[2]=t=>l.$emit("applyFilters")),class:"c-filters__action",type:"button"}," Apply "),i("button",{onClick:e[3]||(e[3]=t=>l.$emit("clearFilters")),class:"c-filters__action is-reset",type:"button"}," Reset ")])],2)):y("",!0)])}}},V=w;export{V as default};
2//# sourceMappingURL=Filters.07bab78e.js.map

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.