1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5306],{857:e=>{var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==s},s="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?r(Array.isArray(e)?[]:{},e,t):e}function n(e,t,s){return e.concat(t).map(function(e){return i(e,s)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function r(e,s,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=i;var c,d,h=Array.isArray(s);return h!==Array.isArray(e)?i(s,l):h?l.arrayMerge(e,s,l):(d={},(c=l).isMergeableObject(e)&&o(e).forEach(function(t){d[t]=i(e[t],c)}),o(s).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&c.isMergeableObject(s[t])?d[t]=(function(e,t){if(!t.customMerge)return r;var s=t.customMerge(e);return"function"==typeof s?s:r})(t,c)(e[t],s[t],c):d[t]=i(s[t],c))}),d)}r.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,s){return r(e,s,t)},{})},e.exports=r},306:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});class i{static isSupported(){return"undefined"!==document.cookie}static setItem(e,t,s){if(null==e)throw Error("You must specify a key to set a cookie");let i=new Date;i.setTime(i.getTime()+864e5*s);let n="";"https:"===location.protocol&&(n="secure"),document.cookie="".concat(e,"=").concat(t,";expires=").concat(i.toUTCString(),";path=/;sameSite=lax;").concat(n)}static getItem(e){if(!e)return!1;let t=e+"=",s=document.cookie.split(";");for(let e=0;e<s.length;e++){let i=s[e];for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return!1}static removeItem(e){document.cookie="".concat(e,"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/")}static key(){return""}static clear(){}}var n=s(857);class o{static ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}static lcFirst(e){return e.charAt(0).toLowerCase()+e.slice(1)}static toDashCase(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(e,t){let s=o.toUpperCamelCase(e,t);return o.lcFirst(s)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>o.ucFirst(e.toLowerCase())).join(""):o.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}class a{static isNode(e){return"object"==typeof e&&null!==e&&(e===document||e===window||e instanceof Node)}static hasAttribute(e,t){if(!a.isNode(e))throw Error("The element must be a valid HTML Node!");return"function"==typeof e.hasAttribute&&e.hasAttribute(t)}static getAttribute(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!1===a.hasAttribute(e,t))throw Error('The required property "'.concat(t,'" does not exist!'));if("function"!=typeof e.getAttribute){if(s)throw Error("This node doesn't support the getAttribute function!");return}return e.getAttribute(t)}static getDataAttribute(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=t.replace(/^data(|-)/,""),n=o.toLowerCamelCase(i,"-");if(!a.isNode(e)){if(s)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===e.dataset){if(s)throw Error("This node doesn't support the dataset attribute!");return}let r=e.dataset[n];if(void 0===r){if(s)throw Error('The required data attribute "'.concat(t,'" does not exist on ').concat(e,"!"));return r}return o.parsePrimitive(r)}static querySelector(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!a.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelector(t)||!1;if(s&&!1===i)throw Error('The required element "'.concat(t,'" does not exist in parent node!'));return i}static querySelectorAll(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!a.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelectorAll(t);if(0===i.length&&(i=!1),s&&!1===i)throw Error('At least one item of "'.concat(t,'" must exist in parent node!'));return i}static getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return e.querySelectorAll('\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not
1([tabindex^="-"]):not([disabled])\n ')}static getFirstFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(e)[0]}static getLastFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=this.getFocusableElements(e);return t[t.length-1]}}class r{publish(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new CustomEvent(e,{detail:t,cancelable:s});return this.el.dispatchEvent(i),i}subscribe(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this,n=e.split("."),o=s.scope?t.bind(s.scope):t;if(s.once&&!0===s.once){let t=o;o=function(s){i.unsubscribe(e),t(s)}}return this.el.addEventListener(n[0],o),this.listeners.push({splitEventName:n,opts:s,cb:o}),!0}unsubscribe(e){let t=e.split(".");return this.listeners=this.listeners.reduce((e,s)=>([...s.splitEventName].sort().toString()===t.sort().toString()?this.el.removeEventListener(s.splitEventName[0],s.cb):e.push(s),e),[]),!0}reset(){return this.listeners.forEach(e=>{this.el.removeEventListener(e.splitEventName[0],e.cb)}),this.listeners=[],!0}get el(){return this._el}set el(e){this._el=e}get listeners(){return this._listeners}set listeners(e){this._listeners=e}constructor(e=document){this._el=e,e.$emitter=this,this._listeners=[]}}var l=s(266);let c="js-offcanvas-singleton";class d{open(e,t,s,i,n,o,a){this._removeExistingOffCanvas();let r=this._createOffCanvas(s,o,a,i);this.setContent(e,n),this._openOffcanvas(r,t)}setContent(e,t){let s=this.getOffCanvas();s[0]&&(s[0].innerHTML=e,this._registerEvents(t))}setAdditionalClassName(e){this.getOffCanvas()[0].classList.add(e)}getOffCanvas(){return document.querySelectorAll(".".concat(c))}close(e){let t=this.getOffCanvas();l.Z.iterate(t,e=>{bootstrap.Offcanvas.getInstance(e).hide()}),setTimeout(()=>{this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:t})},e)}goBackInHistory(){window.history.back()}exists(){return this.getOffCanvas().length>0}_openOffcanvas(e,t){window.focusHandler.saveFocusState("offcanvas"),d.bsOffcanvas.show(),window.history.pushState("offcanvas-open",""),"function"==typeof t&&t()}_registerEvents(e){let t=this.getOffCanvas();l.Z.iterate(t,s=>{let i=()=>{setTimeout(()=>{s.remove(),window.focusHandler.resumeFocusState("offcanvas"),this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:t})},e),s.removeEventListener("hide.bs.offcanvas",i)};s.addEventListener("hide.bs.offcanvas",i)}),window.addEventListener("popstate",this.close.bind(this,e),{once:!0});let s=document.querySelectorAll(".".concat("js-offcanvas-close"));l.Z.iterate(s,t=>t.addEventListener("click",this.close.bind(this,e)))}_removeExistingOffCanvas(){d.bsOffcanvas=null;let e=this.getOffCanvas();return l.Z.iterate(e,e=>e.remove())}_getPositionClass(e){return"left"===e?"offcanvas-start":"right"===e?"offcanvas-end":"offcanvas-".concat(e)}_createOffCanvas(e,t,s,i){let n=document.createElement("div");if(n.classList.add("offcanvas",c),n.classList.add(this._getPositionClass(e)),n.setAttribute("tabindex","-1"),!0===t&&n.classList.add("is-fullwidth"),s){let e=typeof s;if("string"===e)n.classList.add(s);else if(Array.isArray(s))s.forEach(e=>{n.classList.add(e)});else throw Error('The type "'.concat(e,'" is not supported. Please pass an array or a string.'))}return document.body.appendChild(n),d.bsOffcanvas=new bootstrap.Offcanvas(n,{backdrop:!1!==i||"static"}),n}constructor(){this.$emitter=new r}}let h=Object.freeze(new d);class u{static open(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";h.open(e,t,s,i,n,o,a)}static setContent(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:350;h.setContent(e,t,s)}static setAdditionalClassName(e){h.setAdditionalClassName(e)}static close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;h.close(e)}static exists(){return h.exists()}static getOffCanvas(){return h.getOffCanvas()}static REMOVE_OFF_CANVAS_DELAY(){return 350}}class p{get(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",i=this._createPreparedRequest("GET",e,s);return this._sendRequest(i,null,t)}
1post(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let n=this._createPreparedRequest("POST",e,i);return this._sendRequest(n,t,s)}delete(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let n=this._createPreparedRequest("DELETE",e,i);return this._sendRequest(n,t,s)}patch(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let n=this._createPreparedRequest("PATCH",e,i);return this._sendRequest(n,t,s)}abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(e){this._errorHandlingInternal=e}_registerOnLoaded(e,t){t&&(!0===this._errorHandlingInternal?(e.addEventListener("load",()=>{t(e.responseText,e)}),e.addEventListener("abort",()=>{console.warn("the request to ".concat(e.responseURL," was aborted"))}),e.addEventListener("error",()=>{console.warn("the request to ".concat(e.responseURL," failed with status ").concat(e.status))}),e.addEventListener("timeout",()=>{console.warn("the request to ".concat(e.responseURL," timed out"))})):e.addEventListener("loadend",()=>{t(e.responseText,e)}))}_sendRequest(e,t,s){return this._registerOnLoaded(e,s),e.send(t),e}_getContentType(e,t){return e instanceof FormData&&(t=!1),t}_createPreparedRequest(e,t,s){return this._request=new XMLHttpRequest,this._request.open(e,t),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),s&&this._request.setRequestHeader("Content-type",s),this._request}constructor(){this._request=null,this._errorHandlingInternal=!1}}let f="loader",b={BEFORE:"before",INNER:"inner"};class v{create(){if(!this.exists()){if(this.position===b.INNER){this.parent.innerHTML=v.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),v.getTemplate())}}remove(){let e=this.parent.querySelectorAll(".".concat(f));l.Z.iterate(e,e=>e.remove())}exists(){return this.parent.querySelectorAll(".".concat(f)).length>0}_getPosition(){return this.position===b.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return'<div class="'.concat(f,'" role="status">\n <span class="').concat("visually-hidden",'">Loading...</span>\n </div>')}static SELECTOR_CLASS(){return f}constructor(e,t=b.BEFORE){this.parent=e instanceof Element?e:document.body.querySelector(e),this.position=t}}let g=null;class C extends u{static open(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u.REMOVE_OFF_CANVAS_DELAY(),a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],r=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"";if(!e)throw Error("A url must be given!");h._removeExistingOffCanvas();let l=h._createOffCanvas(i,a,r,n);this.setContent(e,t,s,n,o),h._openOffcanvas(l)}static setContent(e,t,s,i,n){let o=new p;super.setContent('<div class="offcanvas-body">'.concat(v.getTemplate(),"</div>"),i,n),g&&g.abort();let a=e=>{super.setContent(e,i,n),"function"==typeof s&&s(e)};g=t?o.post(e,t,C.executeCallback.bind(this,a)):o.get(e,C.executeCallback.bind(this,a))}static executeCallback(e,t){"function"==typeof e&&e(t),window.PluginManager.initializePlugins()}}let m="element-loader-backdrop";class _ extends v{static create(e){e.classList.add("has-element-loader"),_.exists(e)||(_.appendLoader(e),setTimeout(()=>{let t=e.querySelector(".".concat(m));t&&t.classList.add("element-loader-backdrop-open")},1))}static remove(e){e.classList.remove("has-element-loader");let t=e.querySelector(".".concat(m));t&&t.remove()}static exists(e){return e.querySelectorAll(".".concat(m)).length>0}static getTemplate(){return'\n <div class="'.concat(m,'">\n <div class="loader" role="status">\n <span class="').concat("visually-hidden",'">Loading...</span>\n </div>\n </div>\n ')}static appendLoader(e){e.insertAdjacentHTML("beforeend",_.getTemplate())}}window.router["frontend.cookie.offcanvas"];class y extends window.PluginBaseClass{init(){let e=this.options;this._collapseTarget=this.el.querySelector(e.collapseTarget),this._collapseControl=this.el.querySelector(e.collapseControl),this._collapseContent=this.el.querySelector(e.collapseContent),this._saleButton=this.el.querySelector(e.btnClass),this.cookieAllowed=!1==!i.getItem(e.cookieName),this._registerEvents(),this._handleOpenState()}_registerEvents(){this._handleCookieChangeEvent(),this._collapseTarget.addEventListener("hide.bs.collapse",()=>{this.cookieAllowed&&this._setHiddenCookie(),this._setControlsState("hidden")}),this._collapseTarget.addEventListener("show.bs.collapse",()=>{this.cookieAllowed&&this._setVisibleCookie(),this._setControlsState("visible")}),this._saleButton&&this._saleButton.addEventListener("click",this._onButtonClick.bind(this)),this.$emitter.publish("registerEvents")}_handleCookieChangeEvent(){document.$emitter.subscribe("CookieConfiguration_Update",this._onCookieChange.bind(this))}_onCookieChange(e){let t=this.options;this.cookieAllowed=!0===e.detail[t.cookieName],this.cookieAllowed?this._saveOpenState():i.removeItem(t.cookieName),this.$emitter.publish("onCookieChange")}_saveOpenState(){this._collapseContent.classList.contains(this.options.bsVisibleClass)?this._setVisibleCookie():this._setHiddenCookie()}_handleOpenState(){let e=this.options,t=i.getItem(e.cookieName);t!=="hidden-"+e.id&&t!=="visible-"+e.id?!e.collapsable&&(e.collapsable||e.expandable)?(this.cookieAllowed&&this._setHiddenCookie(),this._setInitialState("hidden")):(this.cookieAllowed&&this._setVisibleCookie(),this._setInitialState("visible")):t==="visible-"+e.id?this._setInitialState("visible"):t==="hidden-"+e.id&&this._setInitialState("hidden"),this.$emitter.publish("onHandleOpenState")}_onButtonClick(){this.options.btnCloseBanner&&!this._saleButton.classList.contains("is--disabled")&&this.cookieAllowed&&this._setHiddenCookie(),this.$emitter.publish("onButtonClick")}_setInitialState(e){"visible"===e?(this._collapseContent.classList.add(this.options.bsVisibleClass),this._setControlsState("visible"),this.$emitter.publish("onAddInitialVisibleClasses")):"hidden"===e&&(this._collapseContent.classList.remove(this.options.bsVisibleClass),this._setControlsState("hidden"),this.$emitter.publish("onAddInitialHiddenClasses"))}_setControlsState(e){let t=this.options;"visible"===e?(t.collapsable||t.expandable)&&(this._collapseControl.classList.add(t.visibleClass),this._collapseControl.setAttribute("aria-expanded","true")):"hidden"!==e||((t.collapsable||t.expandable)&&(this._collapseControl.classList.remove(t.visibleClass),this._collapseControl.setAttribute("aria-expanded","fal
1se")),t.expandable||(this._collapseControl.setAttribute("aria-hidden","true"),this._collapseControl.setAttribute("tabindex","-1")))}_setVisibleCookie(){"number"==typeof this.options.expiration?i.setItem("zen-notification-bar","visible-"+this.options.id,this.options.expiration):i.setItem("zen-notification-bar","visible-"+this.options.id)}_setHiddenCookie(){"number"==typeof this.options.expiration?i.setItem("zen-notification-bar","hidden-"+this.options.id,this.options.expiration):i.setItem("zen-notification-bar","hidden-"+this.options.id)}}y.options={id:null,collapseTarget:"#notification-bar-collapse",collapseControl:".notification-bar-collapse-control",collapseContent:".notification-bar-collapse-content",btnCloseBanner:!1,btnClass:".notification-btn",visibleClass:"is-visible",bsVisibleClass:"show",collapsable:!0,expandable:!0,cookieName:"zen-notification-bar",expiration:365}},266:(e,t,s)=>{s.d(t,{Z:()=>i});class i{static iterate(e,t){if(e instanceof Map||Array.isArray(e))return e.forEach(t);if(e instanceof FormData){for(var s of e.entries())t(s[1],s[0]);return}if(e instanceof NodeList)return e.forEach(t);if(e instanceof HTMLCollection)return Array.from(e).forEach(t);if(e instanceof Object)return Object.keys(e).forEach(s=>{t(e[s],s)});throw Error("The element type ".concat(typeof e," is not iterable!"))}}}}]);
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.