1(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){function t(t,e,r,i){var c=e&&e.prototype instanceof o?e:o,s=Object.create(c.prototype);return n(s,"_invoke",function(t,e,n){function o(t,e){for(i=t,c=e,l=0;!f&&s&&!n&&l<u.length;l++){var n,o=u[l],r=d.p,y=o[2];t>3?(n=y===e)&&(c=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=a):o[0]<=r&&((n=t<2&&r<o[1])?(i=0,d.v=e,d.n=o[1]):r<y&&(n=t<3||o[0]>e||e>y)&&(o[4]=t,o[5]=e,d.n=y,i=0))}if(n||t>1)return p;throw f=!0,e}var r,i,c,s=0,u=n||[],f=!1,d={p:0,n:0,v:a,a:o,f:o.bind(a,4),d:function(t,e){return r=t,i=0,c=a,d.n=e,p}};return function(n,u,y){if(s>1)throw TypeError("Generator is already running");for(f&&1===u&&o(u,y),i=u,c=y;(l=i<2?a:c)||!f;){r||(i?i<3?(i>1&&(d.n=-1),o(i,c)):d.n=c:d.v=c);try{if(s=2,r){if(i||(n="next"),l=r[n]){if(!(l=l.call(r,c)))throw TypeError("iterator result is not an object");if(!l.done)return l;c=l.value,i<2&&(i=0)}else 1===i&&(l=r.return)&&l.call(r),i<2&&(c=TypeError("The iterator does not provide a '"+n+"' method"),i=1);r=a}else if((l=(f=d.n<0)?c:t.call(e,d))!==p)break}catch(l){r=a,i=1,c=l}finally{s=1}}return{value:l,done:f}}}(t,r,i),!0),s}function o(){}function r(){}function i(){}function c(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,n(t,f,"GeneratorFunction")),t.prototype=Object.create(y),t}var a,l,s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",f=s.toStringTag||"@@toStringTag",p={};l=Object.getPrototypeOf;var d=[][u]?l(l([][u]())):(n(l={},u,function(){return this}),l),y=i.prototype=o.prototype=Object.create(d);return r.prototype=i,n(y,"constructor",i),n(i,"constructor",r),r.displayName="GeneratorFunction",n(i,f,"GeneratorFunction"),n(y),n(y,f,"Generator"),n(y,u,function(){return this}),n(y,"toString",function(){return"[object Generator]"}),(e=function(){return{w:t,m:c}})()}function n(t,e,o,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}n=function(t,e,o,r){function c(e,o){n(t,e,function(t){return this._invoke(e,o,t)})}e?i?i(t,e,{value:o,enumerable:!r,configurable:!r,writable:!r}):t[e]=o:(c("next",0),c("throw",1),c("return",2))},n(t,e,o,r)}function o(t,e,n,o,r,i,c){try{var a=t[i](c),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(o,r)}function r(e){var n=function(e){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(n)?n:n+""}var i=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sectionContainer=null,this.sectionId=null},n=[{key:"initialize",value:function(){var t=document.querySelector(".s-collection-filters__filters-popup .s-collection-filters__form");return t?(this.sectionId=t.dataset.sectionId,this.sectionContainer=document.querySelector("#s-collection-grid-".concat(this.sectionId)),this.sectionContainer?(this.sectionContainer.classList.add("js-initialized"),this.attachDelegatedEvents(),!0):(void 0,!1)):(void 0,!1)}},{key:"getFilterForm",value:function(){return this.sectionContainer.querySelector(".s-collection-filters__filters-popup .s-collection-filters__form")}},{key:"getPopup",value:function(){return this.sectionContainer.querySelector(".s-collection-filters__filters-popup")}},{key:"attachDelegatedEvents",value:function(){var t,e,n=this;this.sectionContainer.addEventListener("change",function(t){window.innerWidth<768||t.target.closest(".s-collection-filters__form")&&n.updateSection()}),this.sectionContainer.addEventListener("click",function(t){var e=t.target.closest(".accordion__title");return e?(n.toggleAccordion(e),void 0):t.target.closest(".s-collection-filters__filters-label")?(n.setPopupOpen(!0),void 0):(t.target.closest(".s-collection-filters__filters-popup--close")&&n.setPopupOpen(!1),void 0)}),window.addEventListener("resize",(t=function(){return n.closeAllAccordions()},e=null,function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];e||(e=requestAnimationFrame(function(){t.apply(void 0,o),e=null}))}))}},{key:"toggleAccordion",value:function(t){var e=t.closest(".accordion"),n=e?e.querySelector(".accordion__content"):null;if(n){var o=e.classList.contains("accordion--open")?0:n.scrollHeight;e.classList.toggle("accordion--open"),n.style.maxHeight="".concat(o,"px")}}},{key:"closeAllAccordions",value:function(){this.sectionContainer.querySelectorAll(".accordion--open").forEach(function(t){var e=t.querySelector(".accordion__content");t.classList.remove("accordion--open"),e&&(e.style.maxHeight="0")})}}
1,{key:"setPopupOpen",value:function(t){var e=this.getPopup();e&&(e.style.transform=t?"translateX(0)":"translateX(-100%)",document.documentElement.style.overflow=t?"hidden":"")}},{key:"updateSection",value:(i=e().m(function t(){var n,o,r,i,c,a,l,s,u,f,p;return e().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,n=this.getFilterForm()){t.n=1;break}return t.a(2);case 1:return o=new FormData(n),r=new URLSearchParams(o).toString(),i="".concat(window.location.pathname,"?").concat(r),window.history.replaceState(null,null,i),t.n=2,fetch("".concat(i,"§ion_id=").concat(this.sectionId),{headers:{"X-Requested-With":"XMLHttpRequest"}});case 2:if((c=t.v).ok){t.n=3;break}throw new Error("Failed to fetch section: ".concat(c.status));case 3:return t.n=4,c.text();case 4:if(a=t.v,l=new DOMParser,s=l.parseFromString(a,"text/html"),u=s.querySelector("#s-collection-grid-".concat(this.sectionId))){t.n=5;break}throw new Error("Updated section not found in the response HTML");case 5:f=this.sectionContainer.querySelector("[data-collection-bundles]"),p=document.querySelector("[data-collection-bundles-home]"),f&&p&&p.appendChild(f),this.sectionContainer.innerHTML=u.innerHTML,t.n=7;break;case 6:t.p=6,t.v;case 7:return t.a(2)}},t,this,[[0,6]])}),c=function(){var t=this,e=arguments;return new Promise(function(n,r){function c(t){o(l,n,r,c,a,"next",t)}function a(t){o(l,n,r,c,a,"throw",t)}var l=i.apply(t,e);c(void 0)})},function(){return c.apply(this,arguments)})}],n&&function(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}(t.prototype,n),undefined,Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i,c}();document.addEventListener("DOMContentLoaded",function(){(new i).initialize()})})();
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.