1var c=i=>{throw TypeError(i)};var u=(i,s,e)=>s.has(i)||c("Cannot "+e);var t=(i,s,e)=>(u(i,s,"read from private field"),e?e.call(i):s.get(i)),r=(i,s,e)=>s.has(i)?c("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,e);import{B as C}from"./chunk-BaseElement-CopzcQ-j.js";import"./chunk-lit-element-B04JoW0t.js";var l,o,d,a,n,h;class g extends C{constructor(){super();r(this,l,"md:grid-cols-[minmax(0,25%),1fr,1fr,1fr]");r(this,o,"md:grid-cols-[auto,1fr,1fr,1fr]");r(this,d,"md:col-span-4");r(this,a,"md:col-span-3");r(this,n,"md:col-start-2");r(this,h,"md:block");this.filtersHeadingDesktop=this.querySelector("[data-filters-heading-desktop]"),this.filterShowToggle=this.querySelector("[data-filter-show-toggle]"),this.filtersResetBtnContainers=this.querySelectorAll("[data-filter-reset-btn-container]"),this.filtersAside=this.querySelector("[data-filters-aside]"),this.productsGridContainer=this.querySelector("[data-products-grid]"),this.viewFilters=!1,this._boundOnClickHandler=this.onClickHandler.bind(this)}connectedCallback(){super.connectedCallback(),this.filterShowToggle&&this.filterShowToggle.addEventListener("click",this._boundOnClickHandler)}disconnectedCallback(){this.filterShowToggle&&this._boundOnClickHandler&&this.filterShowToggle.removeEventListener("click",this._boundOnClickHandler),typeof super.disconnectedCallback=="function"&&super.disconnectedCallback()}clearFiltersHeadingClasses(){this.filtersHeadingDesktop.classList.remove(t(this,l),t(this,o))}onClickHandler(e){e.preventDefault(),this.viewFilters=!this.viewFilters,this.clearFiltersHeadingClasses(),this.filtersHeadingDesktop&&this.filtersHeadingDesktop.classList.add(this.viewFilters?t(this,l):t(this,o)),this.filterShowToggle&&this.filterShowToggle.setAttribute("aria-expanded",this.viewFilters?"true":"false"),this.filtersResetBtnContainers.forEach(f=>{f.classList.toggle("hidden",!this.viewFilters)}),this.filtersAside&&this.productsGridContainer&&(this.viewFilters?(this.filtersAside.classList.add(t(this,h)),this.productsGridContainer.classList.remove(t(this,d)),this.productsGridContainer.classList.add(t(this,a),t(this,n))):(this.filtersAside.classList.remove(t(this,h)),this.productsGridContainer.classList.remove(t(this,a),t(this,n)),this.productsGridContainer.classList.add(t(this,d))))}}l=new WeakMap,o=new WeakMap,d=new WeakMap,a=new WeakMap,n=new WeakMap,h=new WeakMap;window.customElements.define("products-collection",g);
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.