1(window.webpackJsonp=window.webpackJsonp||[]).push([[91],{185:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t},n=i(66),r=l(i(131)),a=l(i(448)),o=i(451);function l(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.html=e,this.cssPrefix=this.html.dataset.cssPrefix||"listFilters",this.analyticsCategory=this.html.dataset.analyticsCat||"list-filters",this.form=(0,n.qs)(this.sel("--form"),this.html),this.filterWrapper=(0,n.qs)(this.sel("--wrapper"),this.html),this.backBtn=(0,n.qsa)(this.sel("--backBtn"),this.html),this.buttonName=(0,n.qsa)(this.sel("--name"),this.html),this.filterBoxItem=(0,n.qsa)(this.sel("--item"),this.html),this.checkboxItems=(0,n.qsa)(this.sel("--checkbox"),this.html),this.clearAllBtns=(0,n.qsa)(this.sel("--clearBtn"),this.html),this.applyBtns=(0,n.qsa)(this.sel("--submit"),this.html),this.htmlEl=(0,n.qs)("html"),this.bodyEl=(0,n.qs)("body"),this.classOpenItem="openFilter",this.classCloseItem="closeFilter",this.currentDropdown=null,this.Analytics=new r.default,this.Analytics.setData({event:"trackEvent",category:this.analyticsCategory}),this.dataAnalytics={event:void 0,module_name:"filter",link_text:void 0,filter_by:void 0},this.calcColumnsFilter(),(0,n.$on)(window,"resize",this.resizePosition.bind(this)),(0,n.forEach)(this.buttonName,(function(t){(0,n.$on)(t,"click",i.toggleListFilter.bind(i))})),(0,a.default)(this.html,this.closeAllFilters.bind(this)),this.initMobileFilter(),(0,n.forEach)(this.backBtn,(function(t){(0,n.$on)(t,"click",i.closeListFilter.bind(i))})),this.enableDisabledActionBtns(),(0,n.forEach)(this.checkboxItems,(function(t){(0,n.$on)(t,"change",(function(e){e.target.checked?(i.dataAnalytics.link_text=t.value,i.dataAnalytics.event="filter_add",i.Analytics.pushCustomData(s({},i.dataAnalytics),"Filter Add -- GA4")):(i.dataAnalytics.link_text=t.value,i.dataAnalytics.event="filter_remove",i.Analytics.pushCustomData(s({},i.dataAnalytics),"Filter Remove -- GA4")),i.enableDisabledActionBtns(),i.updateFilterCounts()}))})),(0,n.forEach)(this.clearAllBtns,(function(t){(0,n.$on)(t,"click",i.clearAllCheckboxes.bind(i))})),(0,n.forEach)(this.applyBtns,(function(t){(0,n.$on)(t,"click",i.applyFilters.bind(i))})),(0,n.$on)(this.html,"listFiltersReset",(function(){i.resetAllFilters()})),this.initDateRange(),this.initSortBy(),this.bindSecondaryDropdownClose(),this.initFlipDropdowns(),this.restoreFromUrl(),this.getInitialState=this.getFilterState(),this.currentFilterState=this.getInitialState}return t.prototype.initFlipDropdowns=function(){var t=this.dateRangeDropdown;if(t){var e=(0,n.qs)(this.sel("--bar"),this.html),i=(0,n.qs)(".dropdown--title",t);i&&(0,n.$on)(i,"click",(function(){(0,n.hasClass)(t,"open")||function(){var i=(0,n.qs)(".dropdown--content",t);if(i){var s=document.documentElement.clientWidth;if(!(s<768||s>=1024)){var r=(e?e.getBoundingClientRect().right:s)-t.getBoundingClientRect().left;i.style.maxWidth=r>0?r+"px":""}}}()}),{capture:!0}),new MutationObserver((function(){var e;(0,n.hasClass)(t,"open")||(e=(0,n.qs)(".dropdown--content",t))&&(e.style.maxWidth="")})).observe(t,{attributes:!0,attributeFilter:["class"]})}},t.prototype.bindSecondaryDropdownClose=function(){var t=this;this.dateRangeWrapper=(0,n.qs)(this.sel("--dateRange"),this.html),this.sortByWrapper=(0,n.qs)(this.sel("--sortBy"),this.html),(0,n.forEach)([this.dateRangeWrapper,this.sortByWrapper],(function(e){e&&(0,n.$on)(e,"click",t.closeOpenFilterPanels.bind(t))}))},t.prototype.hasOpenFilterPanels=function(){var t=this,e=!1;return(0,n.forEach)(this.filterBoxItem,(function(i){(0,n.hasClass)(i,t.classOpenItem)&&(e=!0)})),e},t.prototype.closeOpenFilterPanels=function(){this.hasOpenFilterPanels()&&this.closeAllFilters()},t.prototype.initMobileFilter=function(){var t=this;if(this.mobileFilterDropdown=(0,n.qs)("#"+this.cssPrefix,this.html),this.mobileFilterDropdown){var e=(0,n.qs)(".dropdown-select-selected",this.mobileFilterDropdown);this.mobileFilterPlaceholder=e?e.textContent.trim():"",(0,n.$on)(document,"changeSelect",(function(i){var s=i&&i.detail,r=s&&s.select;if(r&&r===t.mobileFilterDropdown){var a=s.value||"";if(a){e&&(e.textContent=t.mobileFilterPlaceholder,e.dataset.value="");var o=(0,n.qsa)(".dropdown--link",t.mobileFilterDropdown);
1(0,n.forEach)(o,(function(t){(0,n.removeClass)(t,"active"),""===t.dataset.value&&(0,n.addClass)(t,"active")})),t.openMobileFilterPanel(a)}}}))}},t.prototype.openMobileFilterPanel=function(t){var e=(0,n.qs)("."+this.cssPrefix+"-"+t,this.html);e&&((0,n.addClass)(this.bodyEl,"_prevent-scroll"),(0,n.addClass)(this.htmlEl,"_prevent-scroll"),(0,n.addClass)(e,this.classOpenItem),(0,n.removeClass)(e,this.classCloseItem))},t.prototype.initDateRange=function(){var t=this,e=(0,n.qs)(this.sel("--dateRange"),this.html);e&&(this.dateRangeDropdown=(0,n.qs)(".dropdown-select",e),(0,n.$on)(document,"changeSelect",(function(e){var i=e&&e.detail,s=i&&i.select;if(s&&s===t.dateRangeDropdown){var n=i.value||"";if(n){var r=t.getFilterParams(),a=[];Object.keys(r).forEach((function(t){r[t].forEach((function(t){return a.push(t)}))})),a.push(n),t.Analytics.pushCustomData({event:"filter_apply",module_name:"date_range",link_text:a.join(", "),filter_by:[t.getActiveFilterCategories(),t.getDateRangeLabel()].filter(Boolean).join(", ")},"Filter Apply Date Range -- GA4")}else{var l=(0,o.getDateRange)();t.Analytics.pushCustomData({event:"filter_remove",module_name:"date_range",link_text:l||"Clear",filter_by:t.getDateRangeLabel()},"Filter Remove Date Range -- GA4");var c=t.getFilterParams(),h=[];if(Object.keys(c).forEach((function(t){c[t].forEach((function(t){return h.push(t)}))})),h.length>0){var u=t.getFilterCategoryNames(c);t.Analytics.pushCustomData({event:"filter_apply",module_name:"filter",link_text:h.join(", "),filter_by:u.join(", ")},"Filter Apply -- GA4")}}(0,o.setDateRange)(n),window.location.reload()}})))},t.prototype.initSortBy=function(){var t=this,e=(0,n.qs)(this.sel("--sortBy"),this.html);e&&(this.sortByDropdown=(0,n.qs)(".dropdown-select",e),(0,n.$on)(document,"changeSelect",(function(e){var i=e&&e.detail,s=i&&i.select;if(s&&s===t.sortByDropdown){var n=i.value||"";t.Analytics.pushCustomData({event:"sort",module_name:"sort",link_text:n},"Sort -- GA4"),(0,o.setSortBy)(n),window.location.reload()}})))},t.prototype.sel=function(t){return"."+this.cssPrefix+t},t.prototype.toggleListFilter=function(t){var e=this,i=(0,n.closest)(t.target,this.sel("--item")),s=(0,n.qs)("span"+this.sel("--count"),t.target),r=s?s.innerText.length:0,a=(0,n.trim)(t.target.textContent).replace(/\s+/g," ");if(this.dataAnalytics.filter_by=a.substr(0,a.length-r).trim(),t.preventDefault(),this.submitOnDifferentState(),this.currentFilterState===this.getInitialState){if(this.filterPosition(i),(0,n.hasClass)(i,this.classOpenItem))return(0,n.removeClass)(i,this.classOpenItem),!1;(0,n.forEach)(this.filterBoxItem,(function(t){(0,n.removeClass)(t,e.classOpenItem),i===t&&((0,n.addClass)(t,e.classOpenItem),(0,n.removeClass)(t,e.classCloseItem))}))}return!1},t.prototype.openListFilterBySelect=function(t){var e=(0,n.qs)("."+this.cssPrefix+"-"+t.target.value,this.html);t.preventDefault(),t.stopPropagation(),(0,n.addClass)(this.bodyEl,"_prevent-scroll"),(0,n.addClass)(this.htmlEl,"_prevent-scroll"),(0,n.addClass)(e,this.classOpenItem),(0,n.removeClass)(e,this.classCloseItem)},t.prototype.closeListFilter=function(t){t.preventDefault(),this.closeAllFilters(),this.resetFilterDropdown()},t.prototype.closeAllFilters=function(){var t=this;(0,n.forEach)(this.filterBoxItem,(function(e){(0,n.removeClass)(e,t.classOpenItem),(0,n.addClass)(e,t.classCloseItem)})),this.resetPreventScroll(),this.submitOnDifferentState()},t.prototype.resetPreventScroll=function(){(0,n.removeClass)(this.bodyEl,"_prevent-scroll"),(0,n.removeClass)(this.htmlEl,"_prevent-scroll")},t.prototype.resetFilterDropdown=function(){},t.prototype.filterPosition=function(t){this.currentDropdown&&(0,n.qs)(this.sel("--filters"),this.currentDropdown).removeAttribute("style"),this.currentDropdown=t,(0,n.qs)("._two-columns",t)||((0,n.hasClass)(this.htmlEl,"i18n-rtl")?this.topicBoxPositionRtl(t):this.topicBoxPositionLtr(t))},t.prototype.topicBoxPositionLtr=function(t){var e=t.offsetLeft-this.filterWrapper.offsetLeft,i=(0,n.qs)(this.sel("--filters"),t);window.innerWidth>=768&&(i.style.left="-"+e+"px",this.resetPreventScroll())},t.prototype.topicBoxPositionRtl=function(t){var e=(0,n.qs)(this.sel("--filters"),t),i=window.innerWidth-this.filterWrapper.getBoundingClientRect().right,s=window.innerWidth-t.getBoundingClientRect().right-i;window.innerWidth>=768&&(e.style.right="-"+s+"px",this.resetPreventScroll())},t.prototype.resizePosition=function(){null!==this.currentDropdown&&"mobile"===(0,n.deviceDetection)()?(0,n.qs)(this.sel("--filters"),this.currentDropdown).removeAttribute("style"):null!==this.currentDropdown&&this.filterPosition(this.currentDropdown)},t.prototype.enableDisabledActionBtns=function(){var t=this;
1(0,n.forEach)(this.filterBoxItem,(function(e){var i=(0,n.qsa)(t.sel("--checkbox")+":checked:not(:disabled)",e),s=(0,n.qsa)(t.sel("--clearBtn"),e);t.showHideClearBtns(s,i)}))},t.prototype.showHideClearBtns=function(t,e){(0,n.forEach)(t,(function(t){e.length>0?(0,n.addClass)(t,"show"):(0,n.removeClass)(t,"show")}))},t.prototype.updateFilterCounts=function(){var t=this;(0,n.forEach)(this.filterBoxItem,(function(e){var i=(0,n.qsa)(t.sel("--checkbox")+":checked",e).length,s=(0,n.qsa)(t.sel("--count"),e);(0,n.forEach)(s,(function(t){t.textContent=i>0?"("+i+")":""}))}))},t.prototype.clearAllCheckboxes=function(t){var e=this;t&&t.preventDefault();var i=t?[(0,n.closest)(t.target,this.sel("--filters"))]:(0,n.qsa)(this.sel("--filters"),this.html),s=[];if((0,n.forEach)(i,(function(t){if(t){var i=(0,n.qsa)(e.sel("--checkbox"),t);(0,n.forEach)(i,(function(t){t.disabled||(t.checked&&s.push(t.value),t.checked=!1)}))}})),s.length>0){var r=[].concat(s);this.Analytics.pushCustomData({event:"filter_remove",module_name:"filter",link_text:r.join(", "),filter_by:this.dataAnalytics.filter_by||""},"Filter Remove Clear All -- GA4")}this.enableDisabledActionBtns(),this.updateFilterCounts(),t&&this.applyFilters()},t.prototype.resetAllFilters=function(t){t&&t.preventDefault();var e=this.getFilterParams(),i=[];Object.keys(e).forEach((function(t){e[t].forEach((function(t){return i.push(t)}))}));var s=(0,o.getDateRange)();s&&i.push(s);var r=this.getFilterCategoryNames(e);s&&r.push(this.getDateRangeLabel());var a=(0,n.qsa)(this.sel("--checkbox"),this.html);(0,n.forEach)(a,(function(t){t.disabled||(t.checked=!1)})),i.length>0&&this.Analytics.pushCustomData({event:"filter_remove",module_name:"reset",link_text:i.join(", "),filter_by:r.join(", ")},"Filter Remove Reset -- GA4"),this.enableDisabledActionBtns(),this.updateFilterCounts(),this.getInitialState=this.getFilterState(),(0,o.setFilterBy)([]),(0,o.setDateRange)(""),(0,o.setSortBy)(""),window.location.reload()},t.prototype.getFilterState=function(){var t=(0,n.qsa)(this.sel("--checkbox")+":checked",this.html);return Array.prototype.map.call(t,(function(t){return t.value})).join(",")},t.prototype.submitOnDifferentState=function(){this.currentFilterState=this.getFilterState(),this.currentFilterState!==this.getInitialState&&this.applyFilters()},t.prototype.calcColumnsFilter=function(){var e=(0,n.qsa)(this.sel("--filters"),this.html);(0,n.forEach)(e,(function(e){var i=(0,n.qsa)("label",e).length,s=t.columnsClass(i);(0,n.addClass)(e,s)}))},t.columnsClass=function(t){var e="";switch(Math.ceil(t/5)){case 1:case 2:e="_two-columns";break;case 3:e="_three-columns";break;case 4:e="_four-columns";break;case 5:default:e="_five-columns"}return e},t.prototype.getFilterParams=function(){var t=this,e={};return(0,n.forEach)(this.filterBoxItem,(function(i){var s=(0,n.qsa)(t.sel("--checkbox")+":checked:not(:disabled)",i);if(s.length>0){var r=s[0].dataset.filterType;e[r]=Array.prototype.map.call(s,(function(t){return t.value}))}})),e},t.prototype.getDateRangeLabel=function(){var t=(0,n.qs)(this.sel("--dateRange"),this.html);if(!t)return"Date Range";var e=(0,n.qs)(".dropdown--title > span:first-child",t);return e?e.textContent.replace(/:$/,"").trim():"Date Range"},t.prototype.getFilterCategoryNames=function(t){var e=this;return Object.keys(t).map((function(t){var i=(0,n.qs)(e.sel("--name")+'[data-filter="'+t+'"]',e.html);return i?(0,n.trim)(i.textContent).replace(/\s+/g," ").replace(/\s*\(\d+\)\s*$/,""):t}))},t.prototype.getActiveFilterCategories=function(){var t=this.getFilterParams();return this.getFilterCategoryNames(t).join(", ")},t.prototype.applyFilters=function(t){t&&t.preventDefault();var e=this.getFilterParams(),i=[];Object.keys(e).forEach((function(t){e[t].forEach((function(t){return i.push(t)}))}));var s=this.getFilterCategoryNames(e),n=(0,o.getDateRange)();n&&s.push(this.getDateRangeLabel());var r=[].concat(i);n&&r.push(n),(i.length>0||n)&&this.Analytics.pushCustomData({event:"filter_apply",module_name:"filter",link_text:r.join(", "),filter_by:s.join(", ")},"Filter Apply -- GA4"),(0,o.setFilterBy)(i),window.location.reload()},t.prototype.restoreFromUrl=function(){var t=this,e=(0,o.getFilterBy)();e&&(e.split("|").forEach((function(e){var i=(0,n.qs)(t.sel("--checkbox")+'[value="'+e+'"]',t.html);
1i&&(i.checked=!0)})),this.enableDisabledActionBtns(),this.updateFilterCounts());var i=(0,o.getDateRange)(),s=(0,n.qs)(this.sel("--dateRange"),this.html);if(i&&s){var r=(0,n.qsa)(".dropdown--link",s);(0,n.forEach)(r,(function(t){(0,n.removeClass)(t,"active"),t.dataset.value===i&&(0,n.addClass)(t,"active")}));var a=(0,n.qs)(".dropdown-select-selected",s),l=(0,n.qs)('.dropdown--link[data-value="'+i+'"]',s);a&&l&&(a.textContent=l.textContent.trim())}var c=(0,o.getSortBy)(),h=(0,n.qs)(this.sel("--sortBy"),this.html);if(c&&h){var u=(0,n.qsa)(".dropdown--link",h);(0,n.forEach)(u,(function(t){(0,n.removeClass)(t,"active"),t.dataset.value===c&&(0,n.addClass)(t,"active")}));var p=(0,n.qs)(".dropdown-select-selected",h),d=(0,n.qs)('.dropdown--link[data-value="'+c+'"]',h);p&&d&&(p.textContent=d.textContent.trim())}},t}();e.default=c},448:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=(0,s.qs)("main");n.addEventListener("click",(function(s){var n=t.contains(s.target),r=i&&(i===s.target||i.contains(s.target));n||r||(e(),s.stopPropagation())}))};var s=i(66)},451:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFilterBy=s,e.hasFilter=function(){return""!==s()},e.setFilterBy=function(t){var e=new URL(window.location.href);if(e.searchParams.delete("filterBy"),Array.isArray(t)&&t.length>0){var i="filterBy="+t.join("|"),s=e.search?e.search+"&"+i:"?"+i;window.history.replaceState({},"",""+e.origin+e.pathname+s+e.hash)}else window.history.replaceState({},"",e.toString())},e.appendFilterTo=function(t){var e=s();return e?t+"&filterBy="+encodeURIComponent(e):t},e.getDateRange=n,e.hasDateRange=function(){return""!==n()},e.setDateRange=function(t){var e=new URL(window.location.href);t?e.searchParams.set("dateRange",t):e.searchParams.delete("dateRange");window.history.replaceState({},"",e.toString())},e.appendDateRangeTo=function(t){var e=n();return e?t+"&dateRange="+encodeURIComponent(e):t},e.getSortBy=r,e.hasSortBy=function(){return""!==r()},e.setSortBy=function(t){var e=new URL(window.location.href);t?e.searchParams.set("sortBy",t):e.searchParams.delete("sortBy");window.history.replaceState({},"",e.toString())},e.appendSortByTo=function(t){var e=r();return e?t+"&sortBy="+encodeURIComponent(e):t};function s(){return new URLSearchParams(window.location.search||"").get("filterBy")||""}function n(){return new URLSearchParams(window.location.search||"").get("dateRange")||""}function r(){return new URLSearchParams(window.location.search||"").get("sortBy")||""}}}]);
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.