PageSourceSearch

https://www.nebelung.de/theme/fc6be77f01289e2dacedb59fa252fa79/js/iron-matomo/iron-matomo.js?1789049760

js nebelung.de collected 2026-10-02 10:55:35 UTC 22,395 bytes, 9 lines download raw bytes

1(()=>{"use strict";var e={156: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)?o(Array.isArray(e)?[]:{},e,t):e}function n(e,t,s){return e.concat(t).map(function(e){return i(e,s)})}function r(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 o(e,s,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=i;var c,h,u=Array.isArray(s);return u!==Array.isArray(e)?i(s,l):u?l.arrayMerge(e,s,l):(h={},(c=l).isMergeableObject(e)&&r(e).forEach(function(t){h[t]=i(e[t],c)}),r(s).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&c.isMergeableObject(s[t])?h[t]=(function(e,t){if(!t.customMerge)return o;var s=t.customMerge(e);return"function"==typeof s?s:o})(t,c)(e[t],s[t],c):h[t]=i(s[t],c))}),h)}o.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,s){return o(e,s,t)},{})},e.exports=o}},t={};function s(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i=s(156),n=s.n(i);class r{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=r.toUpperCamelCase(e,t);return r.lcFirst(s)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>r.ucFirst(e.toLowerCase())).join(""):r.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{constructor(e=document){this._el=e,e.$emitter=this,this._listeners=[]}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("."),r=s.scope?t.bind(s.scope):t;if(s.once&&!0===s.once){let t=r;r=function(s){i.unsubscribe(e),t(s)}}return this.el.addEventListener(n[0],r),this.listeners.push({splitEventName:n,opts:s,cb:r}),!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}}class o{constructor(e,t={},s=!1){if(!(e instanceof Node)){console.warn(`There is no valid element given while trying to create a plugin instance for "${s}".`);return}this.el=e,this.$emitter=new a(this.el),this._pluginName=this._getPluginName(s),this.options=this._mergeOptions(t),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(e){let t=[this.constructor.options,this.options,e];return t.push(this._getConfigFromDataAttribute()),t.push(this._getOptionsFromDataAttribute()),n().all(t.filter(e=>e instanceof Object&&!(e instanceof Array)).map(e=>e||{}))}_getConfigFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=r.toDashCase(this._pluginName),s=this.el.getAttribute(`data-${t}-config`);return s?window.PluginConfigManager.get(this._pluginName,s):e}_getOptionsFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=r.toDashCase(this._pluginName),s=this.el.getAttribute(`data-${t}-options`);if(s)try{return JSON.parse(s)}catch(e){console.error(`The data attribute "data-${t}-options" could not be parsed to json: ${e.message}`)}return e}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(e){return e||(e=this.constructor.name),e}}class l{static isSupported(){return"undefined"!==document.cookie}
1static 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=`${e}=${t};expires=${i.toUTCString()};path=/;sameSite=lax;${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=`${e}= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/`}static key(){return""}static clear(){}}let c="js-offcanvas-singleton";class h{constructor(){this.$emitter=new a}open(e,t,s,i,n,r,a){this._removeExistingOffCanvas();let o=this._createOffCanvas(s,r,a,i);this.setContent(e,n),this._openOffcanvas(o,t)}setContent(e,t){let s=this.getOffCanvas();s[0]&&(s[0].innerHTML=e,this._registerEvents(t),this._setAriaAttrs())}setAdditionalClassName(e){this.getOffCanvas()[0].classList.add(e)}getOffCanvas(){return document.querySelectorAll(`.${c}`)}close(e){let t=this.getOffCanvas();t.forEach(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"),h.bsOffcanvas.show(),window.history.pushState("offcanvas-open",""),"function"==typeof t&&t()}_registerEvents(e){let t=this.getOffCanvas();t.forEach(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}),document.querySelectorAll(".js-offcanvas-close").forEach(t=>t.addEventListener("click",this.close.bind(this,e)))}_setAriaAttrs(){let e=this.getOffCanvas()[0],t="off-canvas-headline",s=e.querySelector(`[data-id="${t}"]`);s&&!e.hasAttribute("aria-labelledby")&&(s.setAttribute("id",t),e.setAttribute("aria-labelledby",t))}_removeExistingOffCanvas(){return h.bsOffcanvas=null,this.getOffCanvas().forEach(e=>e.remove())}_getPositionClass(e){return"left"===e?"offcanvas-start":"right"===e?"offcanvas-end":`offcanvas-${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 "${e}" is not supported. Please pass an array or a string.`)}return document.body.appendChild(n),h.bsOffcanvas=new bootstrap.Offcanvas(n,{backdrop:!1!==i||"static"}),n}}let u=Object.freeze(new h);class d{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,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";u.open(e,t,s,i,n,r,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;u.setContent(e,t,s)}static setAdditionalClassName(e){u.setAdditionalClassName(e)}static close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;u.close(e)}static exists(){return u.exists()}static getOffCanvas(){return u.getOffCanvas()}static REMOVE_OFF_CANVAS_DELAY(){return 350}}let f="loader",p={BEFORE:"before",INNER:"inner"};class g{constructor(e,t=p.BEFORE){this.parent=e instanceof Element?e:document.body.querySelector(e),this.position=t}create(){if(!this.exists()){if(this.position===p.INNER){this._previousHTML=this.parent.innerHTML,this.parent.innerHTML=g.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),g.getTemplate())}}remove(){if(this.position===p.INNER){this.parent.innerHTML=this._previousHTML;return}this.parent.querySelectorAll(`.${f}
1`).forEach(e=>e.remove())}exists(){return this.parent.querySelectorAll(`.${f}`).length>0}_getPosition(){return this.position===p.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return`<div class="${f}" role="status">
2                    <span class="visually-hidden">Loading...</span>
3                </div>`}static SELECTOR_CLASS(){return f}}class v extends d{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],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:d.REMOVE_OFF_CANVAS_DELAY(),a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"";if(!e)throw Error("A url must be given!");u._removeExistingOffCanvas();let l=u._createOffCanvas(i,a,o,n);this.setContent(e,t,s,n,r),u._openOffcanvas(l)}static setContent(e,t,s,i,n){super.setContent(`<div class="offcanvas-body">${g.getTemplate()}</div>`,i,n);let r=e=>{super.setContent(e,i,n),"function"==typeof s&&s(e)};t?fetch(e,{method:"POST",body:t instanceof FormData?t:JSON.stringify(t),headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>v.executeCallback(r,e)):fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>v.executeCallback(r,e))}static executeCallback(e,t){"function"==typeof e&&e(t),window.PluginManager.initializePlugins()}}class _{constructor(){this._request=null,this._errorHandlingInternal=!1}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)}post(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 ${e.responseURL} was aborted`)}),e.addEventListener("error",()=>{console.warn(`the request to ${e.responseURL} failed with status ${e.status}`)}),e.addEventListener("timeout",()=>{console.warn(`the request to ${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}}let m="element-loader-backdrop";class C extends g{static create(e){e.classList.add("has-element-loader"),C.exists(e)||(C.appendLoader(e),setTimeout(()=>{let t=e.querySelector(`.${m}`);t&&t.classList.add("element-loader-backdrop-open")},1))}static remove(e){e.classList.remove("has-element-loader");let t=e.querySelector(`.${m}`);t&&t.remove()}static exists(e){return e.querySelectorAll(`.${m}`).length>0}static getTemplate(){return`
4        <div class="${m}">
5            <div class="loader" role="status">
6                <span class="visually-hidden">Loading...</span>
7            </div>
8        </div>
9        `}static appendLoader(e){e.insertAdjacentHTML("beforeend",C.getTemplate())}}let b="CookieConfiguration_Update";class y extends o{static #e=this.lastTriggerElement=null;static #t=this.options={offCanvasPosition:"left",submitEvent:"click",cookiePreference:"cookie-preference",cookieSelector:"[data-cookie]",buttonOpenSelector:".js-cookie-configuration-button button",buttonSubmitSelector:".js-offcanvas-cookie-submit",buttonAcceptAllSelector:".js-offcanvas-cookie-accept-all",globalButtonAcceptAllSelector:".js-cookie-accept-all-button",parentInputSelector:".offcanvas-cookie-parent-input",customLinkSelector:`[href="${window.router["frontend.cookie.offcanvas"]}"]`,entriesActiveClass:"offcanvas-cookie-entries--active",entriesClass:"offcanvas-cookie-entries",groupClass:"offcanvas-cookie-group",parentInputClass:"offcanvas-cookie-parent-input",consentAcceptButtonSelector:".js-wishlist-cookie-accept",consentLoginButtonSelector:".js-wishlist-login",consentCancelButtonSelector:".js-wishlist-cookie-offcanvas-cancel",consentPreferencesButtonSelector:".js-wishlist-cookie-preferences"};init(){this.lastState={active:[],inactive:[]},this._httpClient=new _,this._registerEvents(),document.$emitter.subscribe("CookieConfiguration/requestConsent",e=>{e instanceof CustomEvent&&(e=e.detail),this.openRequestConsentOffCanvas(e.route,e.cookieName)})}_registerEvents(){let{submitEvent:e,buttonOpenSelector:t,customLinkSelector:s,globalButtonAcceptAllSelector:i}=this.options;
9Array.from(document.querySelectorAll(t)).forEach(t=>{t.addEventListener(e,this.openOffCanvas.bind(this))}),Array.from(document.querySelectorAll(s)).forEach(t=>{t.addEventListener(e,this._handleCustomLink.bind(this))}),Array.from(document.querySelectorAll(i)).forEach(t=>{t.addEventListener(e,this._acceptAllCookiesFromCookieBar.bind(this))})}_registerOffCanvasEvents(){let{submitEvent:e,buttonSubmitSelector:t,buttonAcceptAllSelector:s}=this.options,i=this._getOffCanvas();if(i){let n=i.querySelector(t),r=i.querySelector(s),a=Array.from(i.querySelectorAll('input[type="checkbox"]'));n&&n.addEventListener(e,this._handleSubmit.bind(this,l)),r&&r.addEventListener(e,this._acceptAllCookiesFromOffCanvas.bind(this,l)),a.forEach(t=>{t.addEventListener(e,this._handleCheckbox.bind(this))})}}_handleCustomLink(e){e.preventDefault(),this.openOffCanvas()}_handleUpdateListener(e,t){let s=this._getUpdatedCookies(e,t);document.$emitter.publish(b,s)}_getUpdatedCookies(e,t){let{lastState:s}=this,i={};return e.forEach(e=>{s.inactive.includes(e)&&(i[e]=!0)}),t.forEach(e=>{s.active.includes(e)&&(i[e]=!1)}),i}openOffCanvas(e){let{offCanvasPosition:t}=this.options,s=window.router["frontend.cookie.offcanvas"];this._hideCookieBar(),v.open(s,!1,this._onOffCanvasOpened.bind(this,e),t)}closeOffCanvas(e){v.close(),"function"==typeof e&&e()}_onOffCanvasOpened(e){this._registerOffCanvasEvents(),this._setInitialState(),this._setInitialOffcanvasState(),PluginManager.initializePlugins(),"function"==typeof e&&e()}_hideCookieBar(){let e=PluginManager.getPluginInstances("CookiePermission");e&&e[0]&&(e[0]._hideCookieBar(),e[0]._removeBodyPadding())}openRequestConsentOffCanvas(e,t){e&&t&&(y.lastTriggerElement=document.activeElement,v.open(e,!1,()=>{window.PluginManager.initializePlugins();let e=document.querySelector(".offcanvas");e&&this._registerConsentOffcanvasEvents(e,t)},"left"))}_registerConsentOffcanvasEvents(e,t){let{consentAcceptButtonSelector:s,consentLoginButtonSelector:i,consentCancelButtonSelector:n,consentPreferencesButtonSelector:r}=this.options,a=e.querySelector(s);a&&a.addEventListener("click",this._onAccept.bind(this,t));let o=e.querySelector(i);o&&o.addEventListener("click",this._onLogin.bind(this));let l=e.querySelector(n);l&&l.addEventListener("click",this._onCancel.bind(this));let c=e.querySelector(r);c&&c.addEventListener("click",this._onPreferences.bind(this))}_setInitialState(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this._getCookies("all"),s=[],i=[];t.forEach(e=>{let{cookie:t,required:n}=e;l.getItem(t)||n?s.push(t):i.push(t)}),this.lastState={active:s,inactive:i}}_setInitialOffcanvasState(){let e=this.lastState.active,t=this._getOffCanvas();e.forEach(e=>{let s=t.querySelector(`[data-cookie="${e}"]`);s.checked=!0,this._childCheckboxEvent(s)})}_handleCheckbox(e){let{parentInputClass:t}=this.options,{target:s}=e;(s.classList.contains(t)?this._parentCheckboxEvent:this._childCheckboxEvent).call(this,s)}_findParentEl(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(;e&&!e.classList.contains(s);){if(e.classList.contains(t))return e;e=e.parentElement}return null}_isChecked(e){return!!e.checked}_parentCheckboxEvent(e){let{groupClass:t}=this.options,s=this._isChecked(e),i=this._findParentEl(e,t);this._toggleWholeGroup(s,i)}_childCheckboxEvent(e){let{groupClass:t}=this.options,s=this._isChecked(e),i=this._findParentEl(e,t);this._toggleParentCheckbox(s,i)}_toggleWholeGroup(e,t){Array.from(t.querySelectorAll("input")).forEach(t=>{t.checked=e})}_toggleParentCheckbox(e,t){let{parentInputSelector:s}=this.options,i=Array.from(t.querySelectorAll(`input:not(${s})`)),n=Array.from(t.querySelectorAll(`input:not(${s}):checked`));if(i.length>0){let e=t.querySelector(s);if(e){let t=n.length>0,s=t&&n.length!==i.length;e.checked=t,e.indeterminate=s}}}_handleSubmit(){let e=this._getCookies("active"),t=this._getCookies("inactive"),{cookiePreference:s}=this.options,i=[],n=[];t.forEach(e=>{let{cookie:t}=e;n.push(t),l.getItem(t)&&l.removeItem(t)}),e.forEach(e=>{let{cookie:t,value:s,expiration:n}=e;i.push(t),t&&s&&l.setItem(t,s,n)}),l.setItem(s,"1","30"),this._handleUpdateListener(i,n),this.closeOffCanvas(document.$emitter.publish("CookieConfiguration_CloseOffCanvas"))}acceptAllCookies(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e){this._handleAcceptAll(),this.closeOffCanvas();return}C.create(this.el),fetch(window.router["frontend.cookie.offcanvas"],{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>{let t=new DOMParser().parseFromString(e,"text/html");this._handleAcceptAll(t),C.remove(this.el),this._hideCookieBar()})}_acceptAllCookiesFromCookieBar(){return this.acceptAllCookies(!0)}_acceptAllCookiesFromOffCanvas(){return this.acceptAllCookies()}_handleAcceptAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._getCookies("all",e);this._setInitialState(t);let{cookiePreference:s}=this.options;
9t.forEach(e=>{let{cookie:t,value:s,expiration:i}=e;t&&s&&l.setItem(t,s,i)}),l.setItem(s,"1","30"),this._handleUpdateListener(t.map(e=>{let{cookie:t}=e;return t}),[])}_getCookies(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{cookieSelector:s}=this.options;return t||(t=this._getOffCanvas()),Array.from(t.querySelectorAll(s)).filter(t=>{switch(e){case"all":return!0;case"active":return this._isChecked(t);case"inactive":return!this._isChecked(t);default:return!1}}).map(e=>{let{cookie:t,cookieValue:s,cookieExpiration:i,cookieRequired:n}=e.dataset;return{cookie:t,value:s,expiration:i,required:n}})}_getOffCanvas(){let e=d?d.getOffCanvas():[];return!!e&&e.length>0&&e[0]}_onAccept(e){l.setItem(e,"1",30),v.close()}_onLogin(){v.close(),window.location.href=window.router["frontend.account.login.page"]}_onCancel(){v.close()}_onPreferences(e){e.preventDefault(),v.close(),this.openOffCanvas(()=>{let e=document.querySelector(".offcanvas");e&&e.addEventListener("hidden.bs.offcanvas",this._restoreFocus.bind(this),{once:!0})})}_restoreFocus(){let e=y.lastTriggerElement;e&&e.focus&&e.focus()}}window.PluginManager.register("IronMatomo",class extends o{init(){window.ironMatomoDataLayer&&(this.isInitAndTracked=!1,this._dataLayer=window.ironMatomoDataLayer||{},this.startMatomo(),this._registerEvents())}_registerEvents(){document.$emitter.subscribe(b||"CookieConfiguration_Update",e=>{void 0!==e.detail.ironMatomo&&e.detail.ironMatomo&&this.startMatomo()})}startMatomo(){this.ready()&&this._initAndTrack()}ready(){return this._dataLayer&&window._paq&&(this._isTrackAllowed()||"4"==this._dataLayer.startTracking)}_isTrackAllowed(){let e=!1;return"0"==this._dataLayer.startTracking&&(e="active"===l.getItem("ironMatomo")),"1"==this._dataLayer.startTracking&&(e=this._isEnabled()),"1"==this._dataLayer.requireCookieConsent&&window._paq.push(["setCookieConsentGiven"]),"3"==this._dataLayer.startTracking&&(e=!0),"1"==this._dataLayer.requireCookieConsent||e}_isEnabled(){if(""===this._dataLayer.cookieName.trim())return!1;let e=l.getItem(this._dataLayer.cookieName);if("1"==this._dataLayer.cookieValueAsRegex){let t=this._dataLayer.cookieValue.replace(/&quot;/gi,'"');if(e.match(t))return!0}return e===this._dataLayer.cookieValue}_initAndTrack(){this.isInitAndTracked||(this._loadMatomoScript(),this.isInitAndTracked=!0)}_loadMatomoScript(){var e,t,s,i;"4"!=this._dataLayer.startTracking&&(e=this._dataLayer.matomoUrl,s=(t=document).createElement("script"),i=t.getElementsByTagName("script")[0],s.type="text/javascript",s.async=!0,s.defer=!0,s.src=e+this._dataLayer.matomoScript,i.parentNode.insertBefore(s,i))}})})();

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.