PageSourceSearch

https://www.tuev-seminare.de/theme/1aeb59d37af7e935c9a8896ebb37538…/maxia-tax-switch6.js?1790836376

js tuev-seminare.de collected 2026-10-07 02:53:51 UTC 27,717 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={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!==o},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?r(Array.isArray(e)?[]:{},e,t):e}function i(e,t,o){return e.concat(t).map(function(e){return n(e,o)})}function s(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,o,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c,d,u=Array.isArray(o);return u!==Array.isArray(e)?n(o,l):u?l.arrayMerge(e,o,l):(d={},(c=l).isMergeableObject(e)&&s(e).forEach(function(t){d[t]=n(e[t],c)}),s(o).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&c.isMergeableObject(o[t])?d[t]=(function(e,t){if(!t.customMerge)return r;var o=t.customMerge(e);return"function"==typeof o?o:r})(t,c)(e[t],o[t],c):d[t]=n(o[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,o){return r(e,o,t)},{})},e.exports=r}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,n)=>(o.f[n](e,t),t),[]))})(),(()=>{o.u=e=>"./js/maxia-tax-switch6/maxia-tax-switch6.account-type-preselection.plugin.6950f1.js"})(),(()=>{o.miniCssF=e=>{}})(),(()=>{o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}()})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={};o.l=(t,n,i,s)=>{if(e[t]){e[t].push(n);return}if(void 0!==i)for(var a,r,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==t){a=d;break}}a||(r=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.src=t),e[t]=[n];var u=(o,n)=>{a.onerror=a.onload=null,clearTimeout(h);var i=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(n)),o)return o(n)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),r&&document.head.appendChild(a)}})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.g.importScripts&&(e=o.g.location+"");var e,t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&!e;)e=n[i--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e+"../../"})(),(()=>{var e={42968:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i){if(i)n.push(i[2]);else{var s=new Promise((o,n)=>i=e[t]=[o,n]);n.push(i[2]=s);var a=o.p+o.u(t),r=Error();o.l(a,n=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var s=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;r.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,i[1](r)}},"chunk-"+t,t)}}};var t=(t,n)=>{var i,s,[a,r,l]=n,c=0;if(a.some(t=>0!==e[t])){for(i in r)o.o(r,i)&&(o.m[i]=r[i]);l&&l(o)}for(t&&t(n);c<a.length;c++)s=a[c],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{var e=o(857);class t{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,o){let n=t.toUpperCamelCase(e,o);return t.lcFirst(n)}static toUpperCamelCase(e,o){return o?e.split(o).map(e=>t.ucFirst(e.toLowerCase())).join(""):t.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}class n{static isNode(e){return"object"==typeof e&&null!==e&&(e===document||e===window||e instanceof Node)}static hasAttribute(e,t){if(!n.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 o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!1===n.hasAttribute(e,t))throw Error('The required property "'.concat(t,'" does not exist!'));if("function"!=typeof e.getAttribute){if(o)throw Error("This node doesn't support the getAttribute function!");return}return e.getAttribute(t)}static getDataAttribute(e,o){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=o.replace(/^data(|-)/,""),a=t.toLowerCamelCase(s,"-");if(!n.isNode(e)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===e.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let r=e.dataset[a];if(void 0===r){if(i)throw Error('The required data attribute "'.concat(o,'" does not exist on ').concat(e,"!"));return r}return t.parsePrimitive(r)}static querySelector(e,t){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelector(t)||!1;if(o&&!1===i)throw Error('The required element "'.concat(t,'" does not exist in parent node!'));return i}static querySelectorAll(e,t){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelectorAll(t);if(0===i.length&&(i=!1),o&&!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 i{publish(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new CustomEvent(e,{detail:t,cancelable:o});return this.el.dispatchEvent(n),n}subscribe(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this,i=e.split("."),s=o.scope?t.bind(o.scope):t;if(o.once&&!0===o.once){let t=s;s=function(o){n.unsubscribe(e),t(o)}}return this.el.addEventListener(i[0],s),this.listeners.push({splitEventName:i,opts:o,cb:s}),!0}unsubscribe(e){let t=e.split(".");return this.listeners=this.listeners.reduce((e,o)=>([...o.splitEventName].sort().toString()===t.sort().toString()?this.el.removeEventListener(o.splitEventName[0],o.cb):e.push(o),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=[]}}class s{static isSupported(){return"undefined"!==document.cookie}static setItem(e,t,o){if(null==e)throw Error("You must specify a key to set a cookie");let n=new Date;n.setTime(n.getTime()+864e5*o);let i="";"https:"===location.protocol&&(i="secure"),document.cookie="".concat(e,"=").concat(t,";expires=").concat(n.toUTCString(),";path=/;sameSite=lax;").concat(i)}static getItem(e){if(!e)return!1;let t=e+"=",o=document.cookie.split(";");for(let e=0;e<o.length;e++){let n=o[e];for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t))return n.substring(t.length,n.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(){}}class a{static iterate(e,t){if(e instanceof Map||Array.isArray(e))return e.forEach(t);if(e instanceof FormData){for(var o of e.entries())t(o[1],o[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(o=>{t(e[o],o)});throw Error("The element type ".concat(typeof e," is not iterable!"))}}let r="js-offcanvas-singleton";class l{open(e,t,o,n,i,s,a){this._removeExistingOffCanvas();let r=this._createOffCanvas(o,s,a,n);this.setContent(e,i),this._openOffcanvas(r,t)}setContent(e,t){let o=this.getOffCanvas();o[0]&&(o[0].innerHTML=e,this._registerEvents(t),this._setAriaAttrs())}setAdditionalClassName(e){this.getOffCanvas()[0].classList.add(e)}getOffCanvas(){return document.querySelectorAll(".".concat(r))}close(e){let t=this.getOffCanvas();a.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"),l.bsOffcanvas.show(),window.history.pushState("offcanvas-open",""),"function"==typeof t&&t()}_registerEvents(e){let t=this.getOffCanvas();a.iterate(t,o=>{let n=()=>{setTimeout(()=>{o.remove(),window.focusHandler.resumeFocusState("offcanvas"),this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:t})},e),o.removeEventListener("hide.bs.offcanvas",n)};o.addEventListener("hide.bs.offcanvas",n)}),window.addEventListener("popstate",this.close.bind(this,e),{once:!0});let o=document.querySelectorAll(".".concat("js-offcanvas-close"));a.iterate(o,t=>t.addEventListener("click",this.close.bind(this,e)))}_setAriaAttrs(){let e=this.getOffCanvas()[0],t="off-canvas-headline",o=e.querySelector('[data-id="'.concat(t,'"]'));o&&!e.hasAttribute("aria-labelledby")&&(o.setAttribute("id",t),e.setAttribute("aria-labelledby",t))}_removeExistingOffCanvas(){l.bsOffcanvas=null;let e=this.getOffCanvas();return a.iterate(e,e=>e.remove())}_getPositionClass(e){return"left"===e?"offcanvas-start":"right"===e?"offcanvas-end":"offcanvas-".concat(e)}_createOffCanvas(e,t,o,n){let i=document.createElement("div");if(i.classList.add("offcanvas",r),i.classList.add(this._getPositionClass(e)),i.setAttribute("tabindex","-1"),!0===t&&i.classList.add("is-fullwidth"),o){let e=typeof o;if("string"===e)i.classList.add(o);
1else if(Array.isArray(o))o.forEach(e=>{i.classList.add(e)});else throw Error('The type "'.concat(e,'" is not supported. Please pass an array or a string.'))}return document.body.appendChild(i),l.bsOffcanvas=new bootstrap.Offcanvas(i,{backdrop:!1!==n||"static"}),i}constructor(){this.$emitter=new i}}let c=Object.freeze(new l);class d{static open(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";c.open(e,t,o,n,i,s,a)}static setContent(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:350;c.setContent(e,t,o)}static setAdditionalClassName(e){c.setAdditionalClassName(e)}static close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;c.close(e)}static exists(){return c.exists()}static getOffCanvas(){return c.getOffCanvas()}static REMOVE_OFF_CANVAS_DELAY(){return 350}}class u{get(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",n=this._createPreparedRequest("GET",e,o);return this._sendRequest(n,null,t)}post(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";n=this._getContentType(t,n);let i=this._createPreparedRequest("POST",e,n);return this._sendRequest(i,t,o)}delete(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";n=this._getContentType(t,n);let i=this._createPreparedRequest("DELETE",e,n);return this._sendRequest(i,t,o)}patch(e,t,o){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";n=this._getContentType(t,n);let i=this._createPreparedRequest("PATCH",e,n);return this._sendRequest(i,t,o)}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,o){return this._registerOnLoaded(e,o),e.send(t),e}_getContentType(e,t){return e instanceof FormData&&(t=!1),t}_createPreparedRequest(e,t,o){return this._request=new XMLHttpRequest,this._request.open(e,t),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),o&&this._request.setRequestHeader("Content-type",o),this._request}constructor(){this._request=null,this._errorHandlingInternal=!1}}let h="loader",p={BEFORE:"before",INNER:"inner"};class g{create(){if(!this.exists()){if(this.position===p.INNER){this.parent.innerHTML=g.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),g.getTemplate())}}remove(){let e=this.parent.querySelectorAll(".".concat(h));a.iterate(e,e=>e.remove())}exists(){return this.parent.querySelectorAll(".".concat(h)).length>0}_getPosition(){return this.position===p.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return'<div class="'.concat(h,'" role="status">\n                    <span class="').concat("visually-hidden",'">Loading...</span>\n                </div>')}static SELECTOR_CLASS(){return h}constructor(e,t=p.BEFORE){this.parent=e instanceof Element?e:document.body.querySelector(e),this.position=t}}let m=null;class f 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],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:d.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!");c._removeExistingOffCanvas();let l=c._createOffCanvas(n,a,r,i);this.setContent(e,t,o,i,s),c._openOffcanvas(l)}static setContent(e,t,o,n,i){let s=new u;super.setContent('<div class="offcanvas-body">'.concat(g.getTemplate(),"</div>"),n,i),m&&m.abort();let a=e=>{super.setContent(e,n,i),"function"==typeof o&&o(e)};m=t?s.post(e,t,f.executeCallback.bind(this,a)):s.get(e,f.executeCallback.bind(this,a))}static executeCallback(e,t){"function"==typeof e&&e(t),window.PluginManager.initializePlugins()}}let v="element-loader-backdrop";class b extends g{static create(e){e.classList.add("has-element-loader"),b.exists(e)||(b.appendLoader(e),setTimeout(()=>{let t=e.querySelector(".".concat(v));t&&t.classList.add("element-loader-backdrop-open")},1))}static remove(e){e.classList.remove("has-element-loader");let t=e.querySelector(".".concat(v));t&&t.remove()}static exists(e){return e.querySelectorAll(".".concat(v)).length>0}static getTemplate(){return'\n        <div class="'.concat(v,'">\n            <div class="loader" role="status">
1\n                <span class="').concat("visually-hidden",'">Loading...</span>\n            </div>\n        </div>\n        ')}static appendLoader(e){e.insertAdjacentHTML("beforeend",b.getTemplate())}}window.router["frontend.cookie.offcanvas"];let w=window.maxiaTaxSwitch;class y{static init(e){document.$emitter.subscribe("CookieConfiguration_Update",y.onConfigChange)}static onConfigChange(e){let t=e.detail;void 0!==t[y.cookieName]&&(!0===t[y.cookieName]?s.setItem(y.cookieName,w.isNet?"1":"0",w.cookieExpirationDays):s.removeItem("maxia-is-net"))}}y.cookieName="maxia-is-net";let E=window.maxiaTaxSwitch;class C extends window.PluginBaseClass{init(){this.httpClient=new u,this.storage=window.sessionStorage,E.showPopup&&this._shouldShowModal()&&(this._hasCookieManagerModal()?window.addEventListener("load",()=>{setTimeout(()=>{this._isCookieManagerModalVisible()?this._registerCookieManagerModalEvents():this.showModal()},500)}):setTimeout(()=>{this.showModal()},500));let e=this._getUrlParameterByName(E.urlParameterName);null!==e&&!1!==e&&this.storage.removeItem("maxia-tax-switch-init"),this.storage.getItem("maxia-tax-switch-init")||setTimeout(()=>{let e=new FormData;e.append("net",E.isNet?"1":"0");let t=new XMLHttpRequest;t.open("POST",E.updateSettingUrl),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.send(e);let o=s.getItem(this.options.cookieName);(E.cookieRequired&&"string"!=typeof o||o in["1","0"])&&s.setItem(this.options.cookieName,E.isNet?"1":"0",E.cookieExpirationDays),this.storage.setItem("maxia-tax-switch-init","1")},500)}_shouldShowModal(){let e=!0;if(!E.popupTestMode){if("string"==typeof s.getItem(this.options.cookieName)&&(E.popupProductPagesOnly||null!==window.localStorage.getItem(this.options.hideModalStorageKey)||window.localStorage.setItem(this.options.hideModalStorageKey,"1"),"1"===window.localStorage.getItem(this.options.hideModalStorageKey))||E.urlParameterHideModal&&"string"==typeof this._getUrlParameterByName(E.urlParameterName)||E.popupProductPagesOnly&&!this._isProductDetailOrListing())return!1;let t=this.storage.getItem(this.options.lastCheckedStorageKey);if(e&&"string"==typeof t){let o=parseInt(t,10)+this.options.refreshInterval;Date.now()<1e3*o&&(e=!1)}this.storage.setItem(this.options.lastCheckedStorageKey,Math.floor(Date.now()/1e3))}return e}showModal(){this.httpClient.post(E.popupUrl,"",this._onModalLoaded.bind(this),"application/json")}_onModalLoaded(e){e=JSON.parse(e)||{},document.$emitter.publish("taxSwitchModalAjaxResult",{result:e}),e.sessionHideModalFlag||(window.localStorage.setItem(this.options.hideModalStorageKey,"1"),this._insertAndShowModal(e.template))}_insertAndShowModal(e){document.body.insertAdjacentHTML("beforeend",e);let t=document.querySelector("#maxiaTaxSwitchModal");void 0!==window.focusHandler&&this._handleModalFocus(t),this.modal=new bootstrap.Modal(t,this.options.modalOptions),this.modal.show(),document.$emitter.publish("taxSwitchModalOpened",{plugin:this,modal:this.modal})}_handleModalFocus(e){window.focusHandler.saveFocusState("maxia-tax-switch-modal"),e.addEventListener("shown.bs.modal",()=>{let t=e.querySelector(this.options.focusSelector);t&&t.focus()},{once:!0,passive:!0}),e.addEventListener("hidden.bs.modal",()=>{window.focusHandler.resumeFocusState("maxia-tax-switch-modal")},{once:!0,passive:!0}),e.addEventListener("hide.bs.modal",()=>{document.activeElement instanceof HTMLElement&&document.activeElement.blur()},{once:!0,passive:!0})}_hasCookieManagerModal(){return void 0===this.cookieManagerModal&&this.options.cookieManagerModalSelectors.forEach(e=>{this.cookieManagerModal||(this.cookieManagerModal=document.querySelector(e))}),null!==this.cookieManagerModal}_isCookieManagerModalVisible(){return this.cookieManagerModal&&this.cookieManagerModal.classList.contains("show")}_registerCookieManagerModalEvents(){this.cookieManagerModal&&void 0===this._onCloseCookieManagerModal&&(this._onCloseCookieManagerModal=this.showModal.bind(this),this.cookieManagerModal.addEventListener("hidden.bs.modal",this._onCloseCookieManagerModal,{once:!0}))}_isProductDetailOrListing(){return document.body.classList.contains("is-ctl-product")&&document.body.classList.contains("is-act-index")||document.body.classList.contains("is-ctl-navigation")&&document.body.classList.contains("is-act-index")&&null!==document.querySelector('[data-listing="true"]')}_getUrlParameterByName(e,t){t||(t=window.location.href);
1var o=RegExp("[?&]"+(e=e.replace(/[\[\]]/g,"\\$&"))+"(=([^&#]*)|&|#|$)").exec(t);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}}C.options={hideModalStorageKey:"maxia-tax-switch-modal-hide",lastCheckedStorageKey:"maxia-tax-switch-modal-last-check",refreshInterval:900,cookieName:"maxia-is-net",cookieManagerModalSelectors:["#eightworks-cookie-consent-plus.modal",".acris-cookie-consent.is--modal .modal"],modalOptions:{},focusSelector:"fieldset button"};class x{static isTouchDevice(){return"ontouchstart"in document.documentElement}static isIOSDevice(){return x.isIPhoneDevice()||x.isIPadDevice()}static isNativeWindowsBrowser(){return x.isIEBrowser()||x.isEdgeBrowser()}static isIPhoneDevice(){return!!navigator.userAgent.match(/iPhone/i)}static isIPadDevice(){return!!navigator.userAgent.match(/iPad/i)}static isIEBrowser(){return -1!==navigator.userAgent.toLowerCase().indexOf("msie")||!!navigator.userAgent.match(/Trident.*rv:\d+\./)}static isEdgeBrowser(){return!!navigator.userAgent.match(/Edge\/\d+/i)}static getList(){return{"is-touch":x.isTouchDevice(),"is-ios":x.isIOSDevice(),"is-native-windows":x.isNativeWindowsBrowser(),"is-iphone":x.isIPhoneDevice(),"is-ipad":x.isIPadDevice(),"is-ie":x.isIEBrowser(),"is-edge":x.isEdgeBrowser()}}}let S="modal-backdrop",_="modal-backdrop-open",M="no-scroll",L={ON_CLICK:"backdrop/onclick"};class A{create(e){this._removeExistingBackdrops(),document.body.insertAdjacentHTML("beforeend",this._getTemplate());let t=document.body.lastChild;document.documentElement.classList.add(M),setTimeout(function(){t.classList.add(_),"function"==typeof e&&e()},75),this._dispatchEvents()}remove(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350,t=this._getBackdrops();a.iterate(t,e=>e.classList.remove(_)),setTimeout(this._removeExistingBackdrops.bind(this),e),document.documentElement.classList.remove(M)}_dispatchEvents(){let e=x.isTouchDevice()?"touchstart":"click";document.addEventListener(e,function(e){e.target.classList.contains(S)&&document.dispatchEvent(new CustomEvent(L.ON_CLICK))})}_getBackdrops(){return document.querySelectorAll(".".concat(S))}_removeExistingBackdrops(){if(!1===this._exists())return;let e=this._getBackdrops();a.iterate(e,e=>e.remove())}_exists(){return document.querySelectorAll(".".concat(S)).length>0}_getTemplate(){return'<div class="'.concat(S,'"></div>')}constructor(){return A.instance||(A.instance=this),A.instance}}let k=Object.freeze(new A);class O{static create(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;k.create(e)}static remove(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;k.remove(e)}static SELECTOR_CLASS(){return S}}let T=Object.freeze(new class extends g{create(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];!this.exists()&&e&&(O.create(),document.querySelector(".".concat(O.SELECTOR_CLASS())).insertAdjacentHTML("beforeend",g.getTemplate()))}remove(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];super.remove(),e&&O.remove()}constructor(){super(document.body)}});class q{static create(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];T.create(e)}static remove(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];T.remove(e)}}let P=window.maxiaTaxSwitch;class N extends window.PluginBaseClass{init(){this.httpClient=new u,this.storage=window.sessionStorage,this._registerEvents()}_registerEvents(){document.addEventListener("mousedown",this._onBodyClick.bind(this)),document.addEventListener("touchstart",this._onBodyClick.bind(this))}_onBodyClick(e){if(0!==e.button)return;let t=e.target;(e.target.matches(this.options.taxSwitchButtonSelector)||(t=e.target.closest(this.options.taxSwitchButtonSelector)))&&t&&t.addEventListener("click",e=>this.onSwitchButtonClicked(e,t),{once:!0})}onSwitchButtonClicked(e,t){let o=null;if(!t.classList.contains("is-input-overlay")){let e=t.querySelector(".is-input-overlay");e&&(t=e)}if(t.parentElement&&"FORM"===t.parentElement.nodeName&&(o=t.parentElement),t.classList.contains("is-input-overlay")&&this._toggleAdjacentCheckbox(t),this._showPageLoadingIndicator(),null!==o){let n=o.querySelector('[name="net"]'),i=null;return i="submit"===t.getAttribute("type")&&"net"===t.getAttribute("name")?t.value:null!==n?n.value:t.hasAttribute("data-net")?t.getAttribute("data-net"):-1!==o.action.indexOf("net=1")?"1":"0",this._updateSettingAndRedirect(i),e.preventDefault(),!1}{let o=null,n=null;if(t.hasAttribute("data-net")?o=t.getAttribute("data-net"):t.hasAttribute("data-url")?n=t.getAttribute("data-url"):t.hasAttribute("href")&&(n=t.getAttribute("href")),n&&null===o&&(o=-1!==n.indexOf("net=1")?"1":"0"),null!==o&&(this._updateSettingAndRedirect(o),"A"===t.tagName))return e.preventDefault(),e.stopImmediatePropagation(),!1}}_updateSettingAndRedirect(e){let t=new FormData;t.append("return",this._getReturnPath()),t.append("net",e);let o=new XMLHttpRequest;o.open("POST",P.updateSettingUrl),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.addEventListener("loadend",()=>{let e=JSON.parse(o.responseText);if(e&&e.returnUrl){let t=!1;9998===parseInt(window.location.port)&&"localhost"===window.location.hostname&&(e.returnUrl=e.returnUrl.replace("localhost","localhost:9998")),window.addEventListener("beforeunload",()=>{t=!0},{once:!0}),window.location.replace(e.returnUrl),t||window.location.reload()}}),o.send(t)}_toggleAdjacentCheckbox(e){let t=e.closest(".maxia-tax-switch");if(t){let o=null;t.classList.contains(this.options.checkboxContainerClass)?o=t.querySelector("input"):t.classList.contains(this.options.radioContainerClass)&&(o=e.closest(".btn").previousElementSibling),o&&(o.checked?o.removeAttribute("checked"):o.setAttribute("checked","checked"))}}_showPageLoadingIndicator(){P.showOverlay&&null===document.querySelector(".modal.show")&&q.create()}_getReturnPath(){let e=window.location.pathname+window.location.search+window.location.hash;return"/"!==e.substr(0,1)&&(e="/"+e),e}}N.options={taxSwitchButtonSelector:".maxia-tax-switch-link, .maxia-tax-switch-checkbox, .maxia-tax-switch-radio-button",checkboxContainerClass:"maxia-tax-switch-checkbox",radioContainerClass:"maxia-tax-switch-radio"};let I=window.PluginManager,j=window.maxiaTaxSwitch;void 0!==j&&j.pluginEnabled&&(I.register("MaxiaTaxSwitchButton",N,"body"),I.register("MaxiaTaxSwitchModal",C,"body"),j.preselectAccountType&&I.register("MaxiaAccountTypePreselection",()=>o.e(81912).then(o.bind(o,912)),".register-form"),y.init())})()})();

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.