PageSourceSearch

https://lamprechter.com/theme/f4764ce8764a277ab598c9b98986669c/js/…ris-filter-dummy-offcanvas.plugin.ddcfbc.js

js lamprechter.com collected 2026-10-05 06:35:27 UTC 35,610 bytes, 8 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[87015],{15(t,e,i){i.r(e),i.d(e,{default:()=>o});var n=i(220),r=i(795),s=i(872),a=i(326);class o extends n.A{static #t=this.options={sliderSelector:".range-slider",sliderBarClass:".range-slider-bar",sliderBarClassSingle:".range-slider-single-bar",sliderSelectorSingle:".range-slider-single",sliderButtonSingleClass:".range-slider-single-button",hasFloat:"",sliderButtonLeftClass:".range-slider-button-left",sliderButtonRightClass:".range-slider-button-right",inputTimeout:500,sliderStepCount:100,activeClass:"is-active",inputMinSelector:".min-input",inputMaxSelector:".max-input",inputInvalidClass:"is-invalid",minKey:"",maxKey:"",minValue:0,maxValue:0,currentMinValue:0,currentMaxValue:0,filterType:"",propertyId:"",displayName:"",filterId:"",termCountSelector:".acris-filter-count-select-list",hiddenClass:"acris-filter-d-none",termCountLabelBefore:"(",termCountLabelAfter:")",propId:"",parentFilterPanelSelector:".cms-element-product-listing-wrapper",dropdownSelector:".filter-panel-item-dropdown",numberFormat:"auto",checkboxSelector:".filter-multi-select-checkbox",listItemSelector:".filter-multi-select-list-item",mainFilterButtonSelector:".filter-panel-item-toggle",showItemsButtonId:"btnShowItems",snippets:{disabledFilterText:""}};init(){this.openOffcanvas=r.A.querySelector(document,".offcanvas",!1),this._preventDropdownAutoClose(),"min-max"===this.options.filterType&&(this.minMaxInputMinSelector=this.options.inputMinSelector,this.minMaxInputMaxSelector=this.options.inputMaxSelector,this._initMinMax()),(this.openOffcanvas&&"rangeSlider"===this.options.filterType||this.openOffcanvas&&"rangeMinMaxSlider"===this.options.filterType)&&setTimeout(()=>{this._initRangeSlider()&&"rangeMinMaxSlider"===this.options.filterType&&(this.minMaxInputMinSelector=".min-max-input-min",this.minMaxInputMaxSelector=".min-max-input-max",this._initMinMax())},100),this.openOffcanvas&&"rangeSliderSingle"===this.options.filterType&&setTimeout(()=>{this._initRangeSlider()},100),this.openOffcanvas&&"category"===this.options.filterType&&setTimeout(()=>{this._initCategory()},100),"multiSelect"===this.options.filterType&&setTimeout(()=>{this._initMultiSelect()},100)}_preventDropdownAutoClose(){let t=this.el.querySelector(".filter-panel-item-dropdown");t&&t.addEventListener("click",t=>{t.stopPropagation()})}_initMultiSelect(){this._multiSelectCheckboxes=this.el.querySelectorAll(".filter-multi-select-checkbox"),this._multiSelectCheckboxes.length&&(Array.from(this._multiSelectCheckboxes).some(t=>!!this._findOriginalCheckbox(t))||this._registerAsMultiSelectFilter(),this._multiSelectCheckboxes.forEach(t=>{t.addEventListener("change",this._onChangeMultiSelect.bind(this))}))}_registerAsMultiSelectFilter(){this.listing=this._getListingPlugin(),this.listing&&(this._isSelfRegisteredMultiSelect=!0,this.listing.registerFilter(this))}_findOriginalCheckbox(t){return t.id&&Array.from(document.querySelectorAll(`[id="${(0,a.mM)(t.id)}"]`)).find(e=>e!==t&&!e.closest('[data-acris-filter-dummy-offcanvas="true"]'))||null}_onChangeMultiSelect(t){let e=t.target,i=this._findOriginalCheckbox(e);if(i){i.checked=e.checked,i.dispatchEvent(new Event("change"));return}this._isSelfRegisteredMultiSelect&&this.listing.changeListing(!0,{p:1})}_initCategory(){this.listing=this._getListingPlugin(),this.listing&&this.listing.registerFilter(this)}_getListingPlugin(){let t=document.querySelector(this.options.parentFilterPanelSelector);return t?window.PluginManager.getPluginInstanceFromElement(t,"Listing"):null}getValues(){if(this._isSelfRegisteredMultiSelect){let t={};return t[this.options.name]=Array.from(this._multiSelectCheckboxes).filter(t=>t.checked).map(t=>t.id),t}if(this._isSelfRegisteredMinMax){let t={};return t[this.options.minKey]=this._minMaxInputMin.value,t[this.options.maxKey]=this._minMaxInputMax.value,t}return{}}getLabels(){if(this._isSelfRegisteredMultiSelect)return Array.from(this._multiSelectCheckboxes).filter(t=>t.checked).map(t=>({label:t.dataset.label,id:t.id,previewHex:t.dataset.previewHex,previewImageUrl:t.dataset.previewImageUrl}));if(!this._isSelfRegisteredMinMax)return[];let t=[];return this._minMaxInputMin.value.length&&t.push({label:`${(0,a.ZD)(this.options.snippets.filterRangeActiveMinLabel)} ${(0,a.ZD)(this._minMaxInputMin.value)} ${(0,a.ZD)(this.options.currencySymbol)}`,id:this.options.minKey}
1),this._minMaxInputMax.value.length&&t.push({label:`${(0,a.ZD)(this.options.snippets.filterRangeActiveMaxLabel)} ${(0,a.ZD)(this._minMaxInputMax.value)} ${(0,a.ZD)(this.options.currencySymbol)}`,id:this.options.maxKey}),t}reset(t){if(this._isSelfRegisteredMultiSelect){let e=this.el.querySelector(`[id="${(0,a.mM)(t)}"]`);e&&(e.checked=!1);return}this._isSelfRegisteredMinMax&&(t===this.options.minKey&&(this._minMaxInputMin.value=""),t===this.options.maxKey&&(this._minMaxInputMax.value=""))}resetAll(){if(this._isSelfRegisteredMultiSelect){this._multiSelectCheckboxes.forEach(t=>{t.checked=!1});return}this._isSelfRegisteredMinMax&&(this._minMaxInputMin.value="",this._minMaxInputMax.value="")}setValuesFromUrl(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._isSelfRegisteredMultiSelect){let e=!1,i=t[this.options.name]?t[this.options.name].split("|"):[];return this._multiSelectCheckboxes.forEach(t=>{let n=i.includes(t.id);t.checked!==n&&(t.checked=n,e=!0)}),e}if(!this._isSelfRegisteredMinMax)return!1;let e=!1;return Object.keys(t).forEach(i=>{i===this.options.minKey&&(this._minMaxInputMin.value=(0,a.Wz)(t[i]),e=!0),i===this.options.maxKey&&(this._minMaxInputMax.value=(0,a.Wz)(t[i]),e=!0)}),e}refreshDisabledState(t){if("category"===this.options.filterType){let e=t?t[this.options.name]:void 0;if(!e||!e.entities||e.entities.length<1)return;this._updateTermCount(e.entities,e.entities.map(t=>t.id));return}if(!this._isSelfRegisteredMultiSelect)return;let e=this._getActiveFilterItems(t);if(void 0===e)return;let i=this.getValues()[this.options.name]||[];if(null===e||e.length<1&&0===i.length){this._disableWholeFilter();return}if(this._enableWholeFilter(),i.length>0)return;let n=e.map(t=>t.id);this._disableInactiveFilterOptions(n),this._updateTermCount(e,n)}_getActiveFilterItems(t){if(!t||!Object.prototype.hasOwnProperty.call(t,this.options.name))return;let e=t[this.options.name];if(!e||!e.entities||e.entities.length<1)return null;if("properties"!==this.options.name)return e.entities;if(!this.options.propertyName)return;let i=e.entities.find(t=>t.translated&&t.translated.name===this.options.propertyName);return i?i.options:null}_disableInactiveFilterOptions(t){this.el.querySelectorAll(this.options.checkboxSelector).forEach(e=>{!0!==e.checked&&(t.includes(e.id)?this._enableFilterOption(e):this._disableFilterOption(e))})}_disableFilterOption(t){let e=t.closest(this.options.listItemSelector);e&&(e.classList.add("disabled"),e.setAttribute("title",this.options.snippets.disabledFilterText)),t.disabled=!0}_enableFilterOption(t){let e=t.closest(this.options.listItemSelector);e&&(e.removeAttribute("title"),e.classList.remove("disabled")),t.disabled=!1}_disableWholeFilter(){let t=this.el.querySelector(this.options.mainFilterButtonSelector);t&&t.getAttribute("id")!==this.options.showItemsButtonId&&(t.classList.add("disabled"),t.setAttribute("disabled","disabled"),t.setAttribute("title",this.options.snippets.disabledFilterText))}_enableWholeFilter(){let t=this.el.querySelector(this.options.mainFilterButtonSelector);t&&t.getAttribute("id")!==this.options.showItemsButtonId&&(t.classList.remove("disabled"),t.removeAttribute("disabled"),t.removeAttribute("title"))}_updateTermCount(t,e){let i=r.A.querySelectorAll(this.el,this.options.termCountSelector,!1);i.length&&i.forEach(i=>{let n=i.dataset.termCountId;n&&(e.includes(n)?this.refreshTermCount(t,n,i):this.hideTermCount(i))})}refreshTermCount(t,e,i){t.forEach(t=>{t.id===e&&t.extensions&&t.extensions.aggregationDocCount&&(i.innerText=this.options.termCountLabelBefore+t.extensions.aggregationDocCount.docCount+this.options.termCountLabelAfter)}),i.classList.remove(this.options.hiddenClass)}hideTermCount(t){t.classList.add(this.options.hiddenClass)}_initMinMax(){this.originalMinMax=r.A.querySelector(document,'[data-property-id="'+this.options.propertyId+'"]',!1),this._minMaxInputMin=r.A.querySelector(this.el,this.minMaxInputMinSelector),this._minMaxInputMax=r.A.querySelector(this.el,this.minMaxInputMaxSelector),this.originalMinMax?(this.originalMinMaxInputMin=r.A.querySelector(this.originalMinMax,this.minMaxInputMinSelector),this.originalMinMaxInputMa
1x=r.A.querySelector(this.originalMinMax,this.minMaxInputMaxSelector),this._minMaxInputMin.value=this.originalMinMaxInputMin.value,this._minMaxInputMax.value=this.originalMinMaxInputMax.value):"min-max"===this.options.filterType&&this._registerAsMinMaxFilter(),this._registerMinMaxEvents()}_registerAsMinMaxFilter(){this.listing=this._getListingPlugin(),this.listing&&(this._isSelfRegisteredMinMax=!0,this.listing.registerFilter(this))}_registerMinMaxEvents(){this._minMaxInputMin.addEventListener("input",this._onChangeMinMaxInput.bind(this)),this._minMaxInputMax.addEventListener("input",this._onChangeMinMaxInput.bind(this))}_onChangeMinMaxInput(t){if("rangeMinMaxSlider"===this.options.filterType){let e=t.target.dataset.type;clearTimeout(this._timeout),this._timeout=setTimeout(()=>{"min"===e?(this.currentMin=this._parseNumber(this._minMaxInputMin.value)>=this.min?this._parseNumber(this._minMaxInputMin.value):this.min,this.currentMin=this.currentMin>this.max?this.max:this.currentMin,setTimeout(()=>{this._updateMinInput(this.currentMin)},100)):"max"===e&&(this.currentMax=this._parseNumber(this._minMaxInputMax.value)<=this.max?this._parseNumber(this._minMaxInputMax.value):this.max,this.currentMax=this.currentMax<this.min?this.min:this.currentMax,setTimeout(()=>{this._updateMaxInput(this.currentMax)},100)),this._updateTemplate(),this._setRangeBarPosition(this.currentMin,this.currentMax)},this.options.inputTimeout);return}if(this._isSelfRegisteredMinMax){clearTimeout(this._timeout),this._timeout=setTimeout(()=>{this.listing.changeListing()},this.options.inputTimeout);return}this.setInputForAllMinMaxDuplicates(t.target)}setInputForAllMinMaxDuplicates(t){Array.from(r.A.querySelectorAll(document,'[name="'+t.name+'"]',!1)).filter(e=>e!==t).forEach(e=>{e.value!==t.value&&(e.value=t.value,e.closest('[data-acris-filter-dummy-offcanvas="true"]')||e.dispatchEvent(new Event("input")))})}_initRangeSlider(){return this.originalSlider=r.A.querySelector(document,'[data-filter-id="'+this.options.filterId+'"]',!1),!!this.originalSlider&&(this.resetButton=r.A.querySelector(this.openOffcanvas,".acris-filter-panel-btn-reset",!1),"rangeSliderSingle"===this.options.filterType?(this.sliderNoSelectionLabel=r.A.querySelector(this.el,"#acris-range-info-no-val-wrapper"),this.sliderSelectionLabel=r.A.querySelector(this.el,"#acris-range-info-val-wrapper"),this._rangeSlider=r.A.querySelector(this.el,this.options.sliderSelectorSingle)):this._rangeSlider=r.A.querySelector(this.el,this.options.sliderSelector),this._inputMin=r.A.querySelector(this.el,this.options.inputMinSelector),this._inputMax=r.A.querySelector(this.el,this.options.inputMaxSelector),this._hasError=!1,this.resetFilters=!1,this._urlFilterParams=Object.fromEntries(new URLSearchParams(s.A.getSearch())),this.min=parseFloat(this.options.minValue),this.max=parseFloat(this.options.maxValue),"rangeSliderSingle"===this.options.filterType?(this.filterMinWrapper=this.originalSlider.querySelector(".filter-range-slider-single-container"),this.filterMin=this._parseNumber(this.filterMinWrapper.querySelector(".min-input").value)):(this.filterMin=this._parseNumber(this.originalSlider.querySelector("#acris-range-info-min").innerText),this.filterMax=this._parseNumber(this.originalSlider.querySelector("#acris-range-info-max").innerText)),this.isCurrentFilter=!1,this.resetFilters=!1,this.range=this.max-this.min,this.stepWidth=100/parseInt(this.options.sliderStepCount,10),this.currentMinValue=this.filterMin,isNaN(this.currentMinValue)&&(this.currentMinValue=this._parseNumber(this.options.minValue)),this.currentMin=this.currentMinValue?this.currentMinValue:this.min,this.currentMin=this.filterMin>this.currentMin?this.filterMin:this.currentMin,"rangeSliderSingle"===this.options.filterType?this.currentMaxValue=null:this.currentMaxValue=this._parseNumber(this.originalSlider.querySelector("#acris-range-info-max").innerText),isNaN(this.currentMaxValue)&&(this.currentMaxValue=this._parseNumber(this.options.maxValue)),this.currentMax=this.currentMaxValue?this.currentMaxValue:this.max,this.dragState=!1,this.dragType="",this.updateMinLabel(),"rangeSliderSingle"!==this.options.filterType&&this.updateMaxLabel(),this._buildTemplate(),this._setRangeBarPosition(this.currentMin,this.currentMax),(this.min!==this.max||"rangeSliderSingle"===this.options.filterType)&&this._registerSliderEvents(),!0)}_registerSliderEvents(){this.resetButton&&this.resetButton.addEventListener("click",this.resetDummyFilter.b
1ind(this)),"rangeSliderSingle"===this.options.filterType?(this.sliderButton.addEventListener("mousedown",this._onDragStart.bind(this,"min",this.sliderButton)),this.sliderButton.addEventListener("touchstart",this._onDragStart.bind(this,"min",this.sliderButton))):(this.buttonLeft.addEventListener("mousedown",this._onDragStart.bind(this,"min",this.buttonLeft)),this.buttonLeft.addEventListener("touchstart",this._onDragStart.bind(this,"min",this.buttonLeft)),this.buttonRight.addEventListener("mousedown",this._onDragStart.bind(this,"max",this.buttonRight)),this.buttonRight.addEventListener("touchstart",this._onDragStart.bind(this,"max",this.buttonRight))),document.addEventListener("mouseup",this._onDragEnd.bind(this)),document.addEventListener("touchend",this._onDragEnd.bind(this)),document.addEventListener("mousemove",t=>this._onSlide(t),!1),document.addEventListener("touchmove",t=>this._onSlide(t),!1)}_buildTemplate(){"rangeSliderSingle"===this.options.filterType?(this.bar=r.A.querySelector(this.el,this.options.sliderBarClassSingle),this.bar.style.left="0%",this.bar.style.width="100%",this.min!==this.currentMin&&(this.sliderNoSelectionLabel.classList.add("acris-filter-d-none"),this.sliderSelectionLabel.classList.remove("acris-filter-d-none"))):(this.bar=r.A.querySelector(this.el,this.options.sliderBarClass),this.currentMin===this.min?this.bar.style.left="0%":this.bar.style.left=this._getRangeBarPositionLeft(this.currentMin)+"%",this.currentMax===this.max?this.bar.style.width="100%":this.bar.style.width=this._getRangeBarPositionWidth(this.currentMin,this.currentMax)+"%"),"rangeSliderSingle"===this.options.filterType?this.sliderButton=r.A.querySelector(this.el,this.options.sliderButtonSingleClass):(this.buttonLeft=r.A.querySelector(this.el,this.options.sliderButtonLeftClass),this.buttonRight=r.A.querySelector(this.el,this.options.sliderButtonRightClass))}_onDragStart(t,e){"rangeSliderSingle"===this.options.filterType&&(this.sliderNoSelectionLabel.classList.add("acris-filter-d-none"),this.sliderSelectionLabel.classList.remove("acris-filter-d-none")),e.classList.add(this.options.activeClass),this.dragState=!0,this.dragType=t,this.isCurrentFilter=!0}_onDragEnd(){this.dragState&&(this.dragState=!1,this._updateTemplate(),"rangeSliderSingle"===this.options.filterType?this._updateMinInput(this.currentMin,"range_slider_single"):(this.buttonLeft.classList.remove(this.options.activeClass),this.buttonRight.classList.remove(this.options.activeClass),"max"===this.dragType?this._updateMaxInput(this.currentMax):this._updateMinInput(this.currentMin)))}_onSlide(t){if(!this.dragState)return;let e=t.touches?t.touches[0].pageX:t.pageX,i=this._rangeSlider.getBoundingClientRect().left,n=this._rangeSlider.getBoundingClientRect().width,r=this._clamp(this._round(100/n*(e-i),this.stepWidth,"round"),0,100),s=this._getValueByPosition(r);if(t.preventDefault(),"rangeSliderSingle"===this.options.filterType){let t=this._getValueByPosition(this._getPositionByValue(this.max));this._setMin(this._clamp(s,this.min,t+this.stepWidth))}else if("max"===this.dragType){let t=this._getValueByPosition(this._getPositionByValue(this.min)+this.stepWidth);this._setMax(this._clamp(s,t,this.max))}else{let t=this._getValueByPosition(this._getPositionByValue(this.max)-this.stepWidth);this._setMin(this._clamp(s,this.min,t))}}_setMax(t,e){t=t===parseFloat(this.options.maxValue)||t>=this.max?this.max:this._parseNumber(t),this.currentMax=t<=this.currentMin+this.stepWidth?this.currentMin+this.stepWidth:t,e&&this._updateMaxInput(t),this._setRangeBarPosition(),this._updateTemplate()}_setMin(t,e){if("rangeSliderSingle"===this.options.filterType){let e=this._parseNumber(t);this.options.hasFloat&&(e=Math.round(2*t)/2),t=t===parseFloat(this.options.minValue)||t<=this.min?this.min:e,this.currentMin=t>=this.currentMax?this.currentMax:t}else t=t===parseFloat(this.options.minValue)||t<=this.min?this.min:this._parseNumber(t),this.currentMin=t>=this.currentMax-this.stepWidth?this.currentMax-this.stepWidth:t;e&&("rangeSliderSingle"===this.options.filterType?this._updateMinInput(t,"range_slider_single"):this._updateMinInput(t)),this._setRangeBarPosition(),this._updateTemplate()}_setRangeBarPosition(t,e){if("rangeSliderSingle"===this.options.filterType){let e=t||this.currentMin,i=this._getPositionByValue(e);this.sliderButton.style.left=i+"%"}else{let i=t||this.currentMin,n=e||this.currentMax,r=this._getPositionByValue(i),s=this._getPositionByValue(n);this.bar.style.left=r+"%",this.bar.style.width=s-r+"%"}}_updateMaxInput(t){if(this._inputMax.value=this._formatNumber(this.currentMax),"rangeMinMaxSlider"===this.options.filterType)this._minMaxInputMa
1x.value!==this._inputMax.value&&(this._minMaxInputMax.value=this._inputMax.value),this.originalMinMaxInputMax.value=this.currentMax,this.originalMinMaxInputMax.dispatchEvent(new Event("input"));else{let t=this.originalSlider.querySelector(this.options.inputMaxSelector),e=this.originalSlider.querySelector(this.options.sliderBarClass),i=this.originalSlider.querySelector(".acris-range-info-value-to");t.value=this._formatNumber(this.currentMax),e.style.width=this.bar.style.width,i.innerText=this._formatNumber(this.currentMax),t.dispatchEvent(new Event("input"))}}_updateMinInput(t){this._inputMin.value=this._formatNumber(this.currentMin);let e=null;if("rangeMinMaxSlider"===this.options.filterType)this._minMaxInputMin.value!==this._inputMin.value&&(this._minMaxInputMin.value=this._inputMin.value),this.originalMinMaxInputMin.value=this.currentMin,this.originalMinMaxInputMin.dispatchEvent(new Event("input"));else{e="rangeSliderSingle"===this.options.filterType?this.originalSlider.querySelector(this.options.sliderBarClassSingle):this.originalSlider.querySelector(this.options.sliderBarClass);let t=this.originalSlider.querySelector(this.options.inputMinSelector),i=this.originalSlider.querySelector(".acris-range-info-value-from");t.value=this._formatNumber(this.currentMin),e.style.left=this.bar.style.left,e.style.width=this.bar.style.width,i.innerText=this._formatNumber(this.currentMin),t.dispatchEvent(new Event("input"))}}_updateTemplate(t,e){let i=t||this.currentMinValue;if(this.updateMinLabel(i),"rangeSliderSingle"!==this.options.filterType){let t=e||this.maxValue;this.updateMaxLabel(t)}}updateMinLabel(t){r.A.querySelector(this.el,"#acris-range-info-min").innerText=this._formatNumber(this.currentMin)}updateMaxLabel(t){r.A.querySelector(this.el,"#acris-range-info-max").innerText=this._formatNumber(this.currentMax)}_getRangeBarPositionLeft(t){return this._getPositionByValue(t)}_getRangeBarPositionWidth(t,e){let i=this._getPositionByValue(t);return this._getPositionByValue(e)-i}_getPositionByValue(t){return 100/this.range*(t-this.min)}_getValueByPosition(t){return this.range/100*t+this.min}_clamp(t,e,i){return Math.max(e,Math.min(i,t))}_round(t,e,i){var n=1/(e||1);return Math[i||"round"](t*n)/n}_getAllPropertyValues(){let t=[];return void 0!==this.options.minValue&&t.push(this.options.minValue),void 0!==this.options.maxValue&&t.push(this.options.maxValue),void 0!==this.options.currentMinValue&&t.push(this.options.currentMinValue),void 0!==this.options.currentMaxValue&&t.push(this.options.currentMaxValue),t}_parseNumber(t){let e=this.options.numberFormat||"auto";if("integer"===e)return parseInt(t,10);if("decimal_1"===e)return parseFloat(parseFloat(t).toFixed(1));if("decimal_2"===e)return parseFloat(parseFloat(t).toFixed(2));let i=this._getAllPropertyValues();if(!i.some(t=>{let e=String(t);return e.includes(".")&&parseInt(e,10)!==parseFloat(e)}))return parseInt(t,10);let n=i.reduce((t,e)=>{let i=String(e).split(".");return i.length>1?Math.max(t,i[1].length):t},0);return parseFloat(parseFloat(t).toFixed(n))}_formatNumber(t){let e=this.options.numberFormat||"auto";if("integer"===e)return parseInt(t,10);if("decimal_1"===e)return parseFloat(t.toFixed(1));if("decimal_2"===e)return parseFloat(t.toFixed(2));let i=this._getAllPropertyValues();if(!i.some(t=>{let e=String(t);return e.includes(".")&&parseInt(e,10)!==parseFloat(e)}))return parseInt(t,10);let n=i.reduce((t,e)=>{let i=String(e).split(".");return i.length>1?Math.max(t,i[1].length):t},0);return parseFloat(t.toFixed(n))}resetDummyFilter(){this._inputMin.value="",this._inputMax.value="","rangeMinMaxSlider"===this.options.filterType&&(this._minMaxInputMin.value="",this._minMaxInputMax.value=""),this.currentMin=this.min,this.currentMax=this.max,this._setRangeBarPosition(),this._updateTemplate()}}},156(t){var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(t,e){return!1!==e.clone&&e.isMergeableObject(t)?o(Array.isArray(t)?[]:{},t,e):t}function r(t,e,i){return t.concat(e).map(function(t){return n(t,i)})}function s(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function a(t,e){try{return e in t}catch(t){return!1}}function o(t,i,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=n;var h,u,c=Array.isArray(i);return c!==Array.isArray(t)?n(i,l):c?l.arrayMerge(t,i,l):(u={},(h=l).isMergeableObject(t)&&s(t).forEach(function(e){u[e]=n(t[e],h)}
1),s(i).forEach(function(e){(!a(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(a(t,e)&&h.isMergeableObject(i[e])?u[e]=(function(t,e){if(!e.customMerge)return o;var i=e.customMerge(t);return"function"==typeof i?i:o})(e,h)(t[e],i[e],h):u[e]=n(i[e],h))}),u)}o.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return o(t,i,e)},{})},t.exports=o},220(t,e,i){i.d(e,{A:()=>o});var n=i(156),r=i.n(n),s=i(707),a=i(308);class o{constructor(t,e={},i=!1){if(!(t instanceof Node)){console.warn(`There is no valid element given while trying to create a plugin instance for "${i}".`);return}this.el=t,this.$emitter=new a.A(this.el),this._pluginName=this._getPluginName(i),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}init(){console.warn(`The "init" method for the plugin "${this._pluginName}" is not defined. The plugin will not be initialized.`)}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let e=[this.constructor.options,this.options,t];return e.push(this._getConfigFromDataAttribute()),e.push(this._getOptionsFromDataAttribute()),r().all(e.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_getConfigFromDataAttribute(){let t={};if("function"!=typeof this.el.getAttribute)return t;let e=s.A.toDashCase(this._pluginName),i=this.el.getAttribute(`data-${e}-config`);return i?window.PluginConfigManager.get(this._pluginName,i):t}_getOptionsFromDataAttribute(){let t={};if("function"!=typeof this.el.getAttribute)return t;let e=s.A.toDashCase(this._pluginName),i=this.el.getAttribute(`data-${e}-options`);if(i)try{return JSON.parse(i)}catch(t){console.error(`The data attribute "data-${e}-options" could not be parsed to json: ${t.message}`)}return t}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}}},308(t,e,i){i.d(e,{A:()=>n});class n{constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new CustomEvent(t,{detail:e,cancelable:i});return this.el.dispatchEvent(n),n}subscribe(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this,r=t.split("."),s=i.scope?e.bind(i.scope):e;if(i.once&&!0===i.once){let e=s;s=function(i){n.unsubscribe(t),e(i)}}return this.el.addEventListener(r[0],s),this.listeners.push({splitEventName:r,opts:i,cb:s}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,i)=>([...i.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(i.splitEventName[0],i.cb):t.push(i),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}}},326(t,e,i){function n(t){if(null==t)return"";let e=String(t).trim();return""!==e&&Number.isFinite(Number(e))?e:""}function r(t){if(null==t)return"";let e=String(t);return"undefined"!=typeof CSS&&"function"==typeof CSS.escape?CSS.escape(e):e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\a ").replace(/\r/g,"\\d ").replace(/\f/g,"\\c ")}function s(t){let e=t?t.getAttribute("id"):null;if(!e)return[];let i=r(e);return Array.from(document.querySelectorAll(`input[value="${i}"], input[id="${i}"]`))}function a(t){return null==t?"":String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}i.d(e,{Wz:()=>n,ZD:()=>a,iy:()=>s,mM:()=>r})},707(t,e,i){i.d(e,{A:()=>n});class n{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let i=n.toUpperCamelCase(t,e);return n.lcFirst(i)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>n.ucFirst(t.toLowerCase())).join(""):n.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}}
1,795(t,e,i){i.d(e,{A:()=>r});var n=i(707);class r{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!r.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!1===r.hasAttribute(t,e))throw Error(`The required property "${e}" does not exist!`);if("function"!=typeof t.getAttribute){if(i)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=e.replace(/^data(|-)/,""),a=n.A.toLowerCamelCase(s,"-");if(!r.isNode(t)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let o=t.dataset[a];if(void 0===o){if(i)throw Error(`The required data attribute "${e}" does not exist on ${t}!`);return o}return n.A.parsePrimitive(o)}static querySelector(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let n=t.querySelector(e)||!1;if(i&&!1===n)throw Error(`The required element "${e}" does not exist in parent node!`);return n}static querySelectorAll(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let n=t.querySelectorAll(e);if(0===n.length&&(n=!1),i&&!1===n)throw Error(`At least one item of "${e}" must exist in parent node!`);return n}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,e=`
2            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),
3            select:not([tabindex^="-"]):not([disabled]),
4            textarea:not([tabindex^="-"]):not([disabled]),
5            button:not([tabindex^="-"]):not([disabled]),
6            a[href]:not([tabindex^="-"]):not([disabled]),
7            [tabindex]:not([tabindex^="-"]):not([disabled])
8        `;return t.querySelectorAll(e)}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},872(t,e,i){function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(null,arguments)}function r(t){return"/"===t.charAt(0)}function s(t,e){for(var i=e,n=i+1,r=t.length;n<r;i+=1,n+=1)t[i]=t[n];t.pop()}i.d(e,{A:()=>f});let a=function(t,e){void 0===e&&(e="");var i,n=t&&t.split("/")||[],a=e&&e.split("/")||[],o=t&&r(t),l=e&&r(e),h=o||l;if(t&&r(t)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var u=a[a.length-1];i="."===u||".."===u||""===u}else i=!1;for(var c=0,p=a.length;p>=0;p--){var d=a[p];"."===d?s(a,p):".."===d?(s(a,p),c++):c&&(s(a,p),c--)}if(!h)for(;c--;c)a.unshift("..");!h||""===a[0]||a[0]&&r(a[0])||a.unshift("");var g=a.join("/");return i&&"/"!==g.substr(-1)&&(g+="/"),g};function o(t,e,i,r){var s,o,l,h,u,c;"string"==typeof t?(l="",h="",-1!==(u=(o=t||"/").indexOf("#"))&&(h=o.substr(u),o=o.substr(0,u)),-1!==(c=o.indexOf("?"))&&(l=o.substr(c),o=o.substr(0,c)),(s={pathname:o,search:"?"===l?"":l,hash:"#"===h?"":h}).state=e):(void 0===(s=n({},t)).pathname&&(s.pathname=""),s.search?"?"!==s.search.charAt(0)&&(s.search="?"+s.search):s.search="",s.hash?"#"!==s.hash.charAt(0)&&(s.hash="#"+s.hash):s.hash="",void 0!==e&&void 0===s.state&&(s.state=e));try{s.pathname=decodeURI(s.pathname)}catch(t){if(t instanceof URIError)throw URIError('Pathname "'+s.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw t}return i&&(s.key=i),r?s.pathname?"/"!==s.pathname.charAt(0)&&(s.pathname=a(s.pathname,r.pathname)):s.pathname=r.pathname:s.pathname||(s.pathname="/"),s}var l=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function h(t,e){e(window.confirm(t))}var u="popstate",c="hashchange";function p(){try{return window.history.state||{}}catch(t){return{}}}var d=i(156),g=i.n(d);let m=Object.freeze(new class{constructor(){this._history=function(t){void 0===t&&(t={}),l||function(t,e){if(!t)throw Error("Invariant failed")}(!1);var e,i,r,s,a,d=window.history,g=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,m=-1!==window.navigator.userAgent.indexOf("Trident"),f=t,M=f.forceRefresh,S=void 0!==M&&M,x=f.getUserConfirmation,_=void 0===x?h:x,b=f.keyLength,y=void 0===b?6:b,v=t.basename?"/"===(r="/"===(i=t.basename).charAt(0)?i:"/"+i).charAt(r.length-1)?r.slice(0,-1):r:"";function w(t){var e,i=t||{},n=i.key,r=i.state,s=window.location,a=s.pathname+s.search+s.hash;return v&&(a=0===(e=a).toLowerCase().indexOf(v.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(v.length))?e.substr(v.length):e),o(a,r,n)}function A(){return Math.random().toString(36).substr(2,y)}var L=(s=null,a=[],{setPrompt:function(t){return s=t,function(){s===t&&(s=null)}}
8,confirmTransitionTo:function(t,e,i,n){if(null!=s){var r="function"==typeof s?s(t,e):s;"string"==typeof r?"function"==typeof i?i(r,n):n(!0):n(!1!==r)}else n(!0)},appendListener:function(t){var e=!0;function i(){e&&t.apply(void 0,arguments)}return a.push(i),function(){e=!1,a=a.filter(function(t){return t!==i})}},notifyListeners:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];a.forEach(function(t){return t.apply(void 0,e)})}});function T(t){n(k,t),k.length=d.length,L.notifyListeners(k.location,k.action)}function I(t){(void 0!==t.state||-1!==navigator.userAgent.indexOf("CriOS"))&&F(w(t.state))}function C(){F(w(p()))}var E=!1;function F(t){E?(E=!1,T()):L.confirmTransitionTo(t,"POP",_,function(e){var i,n,r,s;e?T({action:"POP",location:t}):(i=k.location,-1===(n=O.indexOf(i.key))&&(n=0),-1===(r=O.indexOf(t.key))&&(r=0),(s=n-r)&&(E=!0,B(s)))})}var P=w(p()),O=[P.key];function N(t){var e,i,n,r;return v+(e=t.pathname,i=t.search,n=t.hash,r=e||"/",i&&"?"!==i&&(r+="?"===i.charAt(0)?i:"?"+i),n&&"#"!==n&&(r+="#"===n.charAt(0)?n:"#"+n),r)}function B(t){d.go(t)}var q=0;function V(t){1===(q+=t)&&1===t?(window.addEventListener(u,I),m&&window.addEventListener(c,C)):0===q&&(window.removeEventListener(u,I),m&&window.removeEventListener(c,C))}var R=!1,k={length:d.length,action:"POP",location:P,createHref:N,push:function(t,e){var i="PUSH",n=o(t,e,A(),k.location);L.confirmTransitionTo(n,i,_,function(t){if(t){var e=N(n),r=n.key,s=n.state;if(g){if(d.pushState({key:r,state:s},null,e),S)window.location.href=e;else{var a=O.indexOf(k.location.key),o=O.slice(0,a+1);o.push(n.key),O=o,T({action:i,location:n})}}else window.location.href=e}})},replace:function(t,e){var i="REPLACE",n=o(t,e,A(),k.location);L.confirmTransitionTo(n,i,_,function(t){if(t){var e=N(n),r=n.key,s=n.state;if(g){if(d.replaceState({key:r,state:s},null,e),S)window.location.replace(e);else{var a=O.indexOf(k.location.key);-1!==a&&(O[a]=n.key),T({action:i,location:n})}}else window.location.replace(e)}})},go:B,goBack:function(){B(-1)},goForward:function(){B(1)},block:function(t){void 0===t&&(t=!1);var e=L.setPrompt(t);return R||(V(1),R=!0),function(){return R&&(R=!1,V(-1)),e()}},listen:function(t){var e=L.appendListener(t);return V(1),function(){V(-1),e()}}};return k}()}getLocation(){return this._history.location}listen(t){return this._history.listen(t)}unlisten(t){t()}push(t,e,i){this._history.push({pathname:t,search:e,state:i})}replace(t,e,i){this._history.replace({pathname:t,search:e,state:i})}pushParams(t,e){let i=this.getLocation().pathname,n=Object.fromEntries(new URLSearchParams(location.search).entries()),r=new URLSearchParams(g()(n,t)).toString();this.push(i,r,e)}replaceParams(t,e){let i=this.getLocation().pathname,n=Object.fromEntries(new URLSearchParams(location.search).entries()),r=new URLSearchParams(g()(n,t)).toString();this.replace(i,r,e)}getSearch(){return this._history.location.search}});class f{static getLocation(){return m.getLocation()}static listen(t){m.listen(t)}static unlisten(t){m.unlisten(t)}static push(t,e,i){m.push(t,e,i)}static replace(t,e){m.replace(t,e)}static pushParams(t,e){m.pushParams(t,e)}static replaceParams(t,e){m.replaceParams(t,e)}static getSearch(){return m.getSearch()}}}}]);

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.