1(()=>{"use strict";var t={857:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==o},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m(Array.isArray(t)?[]:{},t,e):t}function n(t,e,o){return t.concat(e).map(function(t){return i(t,o)})}function s(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function a(t,e){try{return e in t}catch(t){return!1}}function m(t,o,d){(d=d||{}).arrayMerge=d.arrayMerge||n,d.isMergeableObject=d.isMergeableObject||e,d.cloneUnlessOtherwiseSpecified=i;var r,u,l=Array.isArray(o);return l!==Array.isArray(t)?i(o,d):l?d.arrayMerge(t,o,d):(u={},(r=d).isMergeableObject(t)&&s(t).forEach(function(e){u[e]=i(t[e],r)}),s(o).forEach(function(e){(!a(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(a(t,e)&&r.isMergeableObject(o[e])?u[e]=(function(t,e){if(!e.customMerge)return m;var o=e.customMerge(t);return"function"==typeof o?o:m})(e,r)(t[e],o[e],r):u[e]=i(o[e],r))}),u)}m.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,o){return m(t,o,e)},{})},t.exports=m}},e={};function o(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,o),s.exports}(()=>{o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e}})(),(()=>{o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),(()=>{o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{var t=o(857),e=o.n(t);class i{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let o=i.toUpperCamelCase(t,e);return i.lcFirst(o)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>i.ucFirst(t.toLowerCase())).join(""):i.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}class n{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!n.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!1===n.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(o)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],s=e.replace(/^data(|-)/,""),a=i.toLowerCamelCase(s,"-");if(!n.isNode(t)){if(o)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(o)throw Error("This node doesn't support the dataset attribute!");return}let m=t.dataset[a];if(void 0===m){if(o)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return m}return i.parsePrimitive(m)}static querySelector(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelector(e)||!1;if(o&&!1===i)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return i}static querySelectorAll(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelectorAll(e);if(0===i.length&&(i=!1),o&&!1===i)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return i}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.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 t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}class s{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new CustomEvent(t,{detail:e,cancelable:o});return this.el.dispatchEvent(i),i}subscribe(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this,n=t.split("."),s=o.scope?e.bind(o.scope):e;if(o.once&&!0===o.once){let e=s;s=function(o){i.unsubscribe(t),e(o)}}return this.el.addEventListener(n[0],s),this.listeners.push({splitEventName:n,opts:o,cb:s}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,o)=>([...o.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(o.splitEventName[0],o.cb):t.push(o),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}class a{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let o=i.toDashCase(this._pluginName),s=n.getDataAttribute(this.el,"data-".concat(o,"-config"),!1),a=n.getAttribute(this.el,"data-".concat(o,"-options"),!1),m=[this.constructor.options,this.options,t];s&&m.push(window.PluginConfigManager.get(this._pluginName,s));try{a&&m.push(JSON.parse(a))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(o,'-options" could not be parsed to json: ').concat(t.message))}return e().all(m.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},o=!1){if(!n.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new s(this.el),this._pluginName=this._getPluginName(o),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}class m{static isSupported(){return"undefined"!==document.cookie}static setItem(t,e,o){if(null==t)throw Error("You must specify a key to set a cookie");let i=new Date;i.setTime(i.getTime()+864e5*o);let n="";"https:"===location.protocol&&(n="secure"),document.cookie="".concat(t,"=").concat(e,";expires=").concat(i.toUTCString(),";path=/;sameSite=lax;").concat(n)}static getItem(t){if(!t)return!1;let e=t+"=",o=document.cookie.split(";");for(let t=0;t<o.length;t++){let i=o[t];for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))return i.substring(e.length,i.length)}return!1}static removeItem(t){document.cookie="".concat(t,"= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/")}static key(){return""}static clear(){}}let d=window.location.hostname;class r extends a{init(){this.cookieBar=n.querySelector(this.el,".mnd-cookie-bar"),this.btnAcceptAll=n.querySelector(this.el,".mnd-btn-accept-all"),this.btnSettings=n.querySelector(this.el,".mnd-btn-open-settings",!1),this.btnDecline=n.querySelector(this.el,".mnd-btn-decline",!1),this.btnSaveSettings=n.querySelector(this.el,".mnd-btn-save-settings"),this.btnSettingsDoc=n.querySelector(document,".mnd-btn-open-settings",!1),this.btnOptInGA=n.querySelector(document,".mnd-btn-opt-in-ga",!1),this.btnOptOutGA=n.querySelector(document,".mnd-btn-opt-out-ga",!1),this.btnOptInAll=n.querySelector(document,".mnd-btn-opt-in-all",!1),this.btnOptOutAll=n.querySelector(document,".mnd-btn-opt-out-all",!1),this.btnOptInCustom=n.querySelector(document,".mnd-btn-opt-in-custom",!1),this.btnOptOutCustom=n.querySelector(document,".mnd-btn-opt-out-custom",!1),this.registerEvents(),this.checkCookieStatus(),this.showNotice()}registerEvents(){this.btnAcceptAll.addEventListener("click",this.optInAll.bind(this)),this.btnSaveSettings.addEventListener("click",this.saveSettings.bind(this)),this.btnSettings&&this.btnSettings.addEventListener("click",this.openSettings.bind(this)),this.btnSettingsDoc&&this.btnSettingsDoc.addEventListener("click",this.openSettings.bind(this)),this.btnDecline&&this.btnDecline.addEventListener("click",this.decline.bind(this));let t=document.getElementById("mndModalSettings"),e=document.getElementById("mndModalAcceptAll"),o=document.getElementById("mndSettingsModalAcceptAll"),i=document.getElementById("mndModalDecline"),n=document.getElementById("mndSettingsModalDecline");if(t&&t.addEventListener("click",()=>{this.openSettings()}),e.addEventListener("click",()=>{this.optInAll()}),o.addEventListener("click",()=>{this.optInAll()}),i&&i.addEventListener("click",()=>{this.decline()}),n&&n.addEventListener("click",()=>{this.decline()}),this.btnOptInGA&&this.btnOptInGA.addEventListener("click",this.optInGA.bind(this)),this.btnOptOutGA&&this.btnOptOutGA.addEventListener("click",this.optOutGA.bind(this)),this.btnOptInAll&&this.btnOptInAll.addEventListener("click",this.optInAll.bind(this)),this.btnOptOutAll&&this.btnOptOutAll.addEventListener("click",this.optOutAll.bind(this)),this.btnOptInCustom){let t=this.btnOptInCustom.dataset.mndCookieName;this.btnOptInCustom.addEventListener("click",()=>{this.optInCustom(t)})}if(this.btnOptOutCustom){let t=this.btnOptOutCustom.dataset.mndCookieName;this.btnOptOutCustom.addEventListener("click",()=>{this.optOutCustom(t)})}Array.from(document.querySelectorAll('[href="/mnd/openCookieSettings"]')).forEac
1h(t=>{t.addEventListener("click",this.openSettings.bind(this))})}showNotice(){let t="mnd-accepted-"+this.options.mndCookieSuffix,e=this.options.mndCookieExpire;if(!m.getItem(t,1,e)&&1==this.options.mndCookieActive){let t=this.options.mndCookieType;this.options.mndShowSettingsNotNotice?this.openSettings():"banner"==t?this.openBanner():this.openModal()}}openBanner(){this.cookieBar.classList.add("is--active")}closeBanner(){this.cookieBar.classList.remove("is--active")}openModal(){let t=document.getElementById("mndCookieModal");setTimeout(this.open.bind(this,t),350)}open(t){this.modalInstance=new bootstrap.Modal(t),this.modalInstance.show()}closeModal(){let t=document.getElementById("mndCookieModal"),e=bootstrap.Modal.getInstance(t);e&&e.hide()}closeSettingsModal(){let t=document.getElementById("mndSettingsModal"),e=bootstrap.Modal.getInstance(t);e&&e.hide()}checkCookieStatus(){let t=this.options.mndCookieActive,e=this.options.mndCookieGAActive;if(1==t){if(e){let t=this.options.mndCookieGAIds.split(","),e=!1;t.forEach(function(t){document.cookie.indexOf("ga-disable-"+t+"=")>=0&&(e=!0)}),"optOut"==this.options.mndCookieGABehaviour&&!1==e&&this.optInGA()}let t=this.options.mndCookieCustom1Label,o=this.options.mndCookieCustom1Name;if(""!=t&&""!=o&&"optOut"==this.options.mndCookieCustom1Behaviour&&!m.getItem(o)&&(this.optInCustom(o),""!=this.options.mndCookieCustom1IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom1IntegrationCode);document.body.append(t)}let i=this.options.mndCookieCustom2Label,n=this.options.mndCookieCustom2Name;if(""!=i&&""!=n&&"optOut"==this.options.mndCookieCustom2Behaviour&&!m.getItem(n)&&(this.optInCustom(n),""!=this.options.mndCookieCustom2IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom2IntegrationCode);document.body.append(t)}let s=this.options.mndCookieCustom3Label,a=this.options.mndCookieCustom3Name;if(""!=s&&""!=a&&"optOut"==this.options.mndCookieCustom3Behaviour&&!m.getItem(a)&&(this.optInCustom(a),""!=this.options.mndCookieCustom3IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom3IntegrationCode);document.body.append(t)}let d=this.options.mndCookieCustom4Label,r=this.options.mndCookieCustom4Name;if(""!=d&&""!=r&&"optOut"==this.options.mndCookieCustom4Behaviour&&!m.getItem(r)&&(this.optInCustom(r),""!=this.options.mndCookieCustom4IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom4IntegrationCode);document.body.append(t)}let u=this.options.mndCookieCustom5Label,l=this.options.mndCookieCustom5Name;if(""!=u&&""!=l&&"optOut"==this.options.mndCookieCustom5Behaviour&&!m.getItem(l)&&(this.optInCustom(l),""!=this.options.mndCookieCustom5IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom5IntegrationCode);document.body.append(t)}let c=this.options.mndCookieCustom6Label,h=this.options.mndCookieCustom6Name;if(""!=c&&""!=h&&"optOut"==this.options.mndCookieCustom6Behaviour&&!m.getItem(h)&&(this.optInCustom(h),""!=this.options.mndCookieCustom6IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom6IntegrationCode);document.body.append(t)}let p=this.options.mndCookieCustom7Label,C=this.options.mndCookieCustom7Name;if(""!=p&&""!=C&&"optOut"==this.options.mndCookieCustom7Behaviour&&!m.getItem(C)&&(this.optInCustom(C),""!=this.options.mndCookieCustom7IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom7IntegrationCode);document.body.append(t)}let g=this.options.mndCookieCustom8Label,k=this.options.mndCookieCustom8Name;if(""!=g&&""!=k&&"optOut"==this.options.mndCookieCustom8Behaviour&&!m.getItem(k)&&(this.optInCustom(k),""!=this.options.mndCookieCustom8IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom8IntegrationCode);document.body.append(t)}let b=this.options.mndCookieCustom9Label,I=this.options.mndCookieCustom9Name;if(""!=b&&""!=I&&"optOut"==this.options.mndCookieCustom9Behaviour&&!m.getItem(I)&&(this.optInCustom(I),""!=this.options.mndCookieCustom9IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom9IntegrationCode);document.body.append(t)}let f=this.options.mndCookieCustom10Label,y=this.options.mndCookieCustom10Name;if(""!=f&&""!=y&&"optOut"==this.options.mndCookieCustom10Behaviour&&!m.getItem(y)&&(this.optInCustom(y),""!=this.options.mndCookieCustom10IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom10IntegrationCode);document.body.append(t)}}}openSettings(t){void 0!==t&&t.preventDefault();let e=this.options.mndCookieExpire,o=this.options.mndCookieGAActive,i=this.options.mndCookieGABehaviour,n=!1;o&&("optIn"==i&&m.getItem("mnd-ga-opted-in")&&(n=!0),"optOut"==i&&(n=!0,this.options.mndCookieGAIds.split(",").forEach(function(t){document.cookie.indexOf("ga-disable-"+t+"=")>=0&&(n=!1)})),this.toggleCheckbox("ga",n));let s=this.options.mndFbPixelActive,a=this.options.mndFbPixelSetting,d=!1;"true"==s&&("1"==a&&"optin"==m.getItem(this.options.mndCookieSuffix+"-mnd-fb-pixel")&&(d=!0),"2"==a&&"optout"!=m.getItem(this.options.mndCookieSuffix+"-mnd-fb-pixel")&&(d=!0),this.toggleCheckbox("fb",d));let r=this.options.mndCookieCustom1Label,u=this.options.mndCookieCustom1Name;if(""!=r&&""!=u){let t=!1;m.getItem(u)&&(t=m.getItem(u)),this.toggleCheckbox(u,t)}let l=this.options.mndCookieCustom2Label,c=this.options.mndCookieCustom2Name;if(""!=l&&""!=c){let t=!1;m.getItem(c,1,e)&&(t=m.getItem(c,1,e)),this.toggleCheckbox(c,t)}let h=this.options.mndCookieCustom3Label,p=this.options.mndCookieCustom3Name;if(""!=h&&""!=p){let t=!1;m.getItem(p,1,e)&&(t=m.getItem(p,1,e)),this.toggleCheckbox(p,t)}let C=this.options.mndCookieCustom4Label,g=this.options.mndCookieCustom4Name;if(""!=C&&""!=g){let t=!1;m.getItem(g,1,e)&&(t=m.getItem(g,1,e)),this.toggleCheckbox(g,t)}let k=this.options.mndCookieCustom5Label,b=this.options.mndCookieCustom5Name;if(""!=k&&""!=b){let t=!1;m.getItem(b,1,e)&&(t=m.getItem(b,1,e)),this.toggleCheckbox(b,t)}let I=this.options.mndCookieCustom6Label,f=this.options.mndCookieCustom6Name;if(""!=I&&""!=f){let t=!1;m.getItem(f,1,e)&&(t=m.getItem(f,1,e)),this.toggleCheckbox(f,t)}let y=this.options.mndCookieCustom7Label,S=this.options.mndCookieCustom7Name;if(""!=y&&""!=S){let t=!1;m.getItem(S,1,e)&&(t=m.getItem(S,1,e)),this.toggleCheckbox(S,t)}let x=this.options.mndCookieCustom8Label,O=this.options.mndCookieCustom8Name;if(""!=x&&""!=O){let t=!1;m.getItem(O,1,e)&&(t=m.getItem(O,1,e)),this.toggleCheckbox(O,t)}let v=this.options.mndCookieCustom9Label,A=this.options.mndCookieCustom9Name;if(""!=v&&""!=A){let t=!1;m.getItem(A,1,e)&&(t=m.getItem(A,1,e)),this.toggleCheckbox(A,t)}let L=this.options.mndCookieCustom10Label,E=this.options.mndCookieCustom10Name;if(""!=L&&""!=E){let t=!1;m.getItem(E,1,e)&&(t=m.getItem(E,1,e)),this.toggleCheckbox(E,t)}this.closeBanner();let N=document.querySelector("#mndSettingsModal");bootstrap.Modal.getOrCreateInstance(N).show()}toggleCheckbox(t,e){let o=n.querySelector(document,'*[data-mnd-cookie-type="'+t+'"]'),i=n.querySelector(o,".mnd-settings-status"),s=n.querySelector(o,".mnd-settings-status-inactive"),a=n.querySelector(o,".mnd-settings-status-active"),m=n.querySelector(o,".form-check-input");i.style.display="none",!0==e||"true"==e?(s.style.display="none",a.style.display="block",m.setAttribute("checked",!0)):(a.style.display="none",s.style.display="block",m.removeAttribute("checked"))}saveSettings(){let t=this.options.mndCookieExpire,e=this.options.mndCookieGAActive,o=this.options.mndCookieGAIds;if(e&&""!=o){let t=n.querySelector(document,'*[data-mnd-cookie-type="ga"]'),e=n.querySelector(t,".form-check-input");this.toggleCheckbox("ga",e.checked),e.checked?this.optInGA():this.optOutGA()}if("true"==this.options.mndFbPixelActive){let t=n.querySelector(document,'*[data-mnd-cookie-type="fb"]',!1),e=n.querySelector(t,".form-check-input",!1);t&&(this.toggleCheckbox("fb",e.checked),e.checked?this.optInFB():this.optOutFB())}let i=this.options.mndCookieCustom1Label,s=this.options.mndCookieCustom1Name;if(""!=i&&""!=s){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+s+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(s)&&(o=m.getItem(s)),this.toggleCheckbox(s,o),e.checked){if(this.optInCustom(s),""!=this.options.mndCookieCustom1IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom1IntegrationCode);document.body.append(t)}}else this.optOutCustom(s)}let a=this.options.mndCookieCustom2Label,d=this.options.mndCookieCustom2Name;if(""!=a&&""!=d){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+d+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(d)&&(o=m.getItem(d)),this.toggleCheckbox(d,o),e.checked){if(this.optInCustom(d),""!=this.options.mndCookieCustom2IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom2IntegrationCode);document.body.append(t)}}else this.optOutCustom(d)}let r=this.options.mndCookieCustom3Label,u=this.options.mndCookieCustom3Name;if(""!=r&&""!=u){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+u+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(u)&&(o=m.getItem(u)),this.toggleCheckbox(u,o),e.checked){if(this.optInCustom(u),""!=this.options.mndCookieCustom3IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom3IntegrationCode);document.body.append(t)}}else this.optOutCustom(u)}let l=this.options.mndCookieCustom4Label,c=this.options.mndCookieCustom4Name;if(""!=l&&""!=c){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+c+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(c)&&(o=m.getItem(c)),this.toggleCheckbox(c,o),e.checked){if(this.optInCustom(c),""!=this.options.mndCookieCustom4IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom4IntegrationCode);document.body.append(t)}}else this.optOutCustom(c)}let h=this.options.mndCookieCustom5Label,p=this.options.mndCookieCustom5Name;if(""!=h&&""!=p){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+p+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(p)&&(o=m.getItem(p)),this.toggleCheckbox(p,o),e.checked){if(this.optInCustom(p),""!=this.options.mndCookieCustom5IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom5IntegrationCode);document.body.append(t)}}else this.optOutCustom(p)}let C=this.options.mndCookieCustom6Label,g=this.options.mndCookieCustom6Name;if(""!=C&&""!=g){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+g+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(g)&&(o=m.getItem(g)),this.toggleCheckbox(g,o),e.checked){if(this.optInCustom(g),""!=this.options.mndCookieCustom6IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom6IntegrationCode);document.body.append(t)}}else this.optOutCustom(g)}
1let k=this.options.mndCookieCustom7Label,b=this.options.mndCookieCustom7Name;if(""!=k&&""!=b){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+b+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(b)&&(o=m.getItem(b)),this.toggleCheckbox(b,o),e.checked){if(this.optInCustom(b),""!=this.options.mndCookieCustom7IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom7IntegrationCode);document.body.append(t)}}else this.optOutCustom(b)}let I=this.options.mndCookieCustom8Label,f=this.options.mndCookieCustom8Name;if(""!=I&&""!=f){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+f+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(f)&&(o=m.getItem(f)),this.toggleCheckbox(f,o),e.checked){if(this.optInCustom(f),""!=this.options.mndCookieCustom8IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom8IntegrationCode);document.body.append(t)}}else this.optOutCustom(f)}let y=this.options.mndCookieCustom9Label,S=this.options.mndCookieCustom9Name;if(""!=y&&""!=S){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+S+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(S)&&(o=m.getItem(S)),this.toggleCheckbox(S,o),e.checked){if(this.optInCustom(S),""!=this.options.mndCookieCustom9IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom9IntegrationCode);document.body.append(t)}}else this.optOutCustom(S)}let x=this.options.mndCookieCustom10Label,O=this.options.mndCookieCustom10Name;if(""!=x&&""!=O){let t=n.querySelector(document,'*[data-mnd-cookie-type="'+O+'"]'),e=n.querySelector(t,".form-check-input"),o=!1;if(m.getItem(O)&&(o=m.getItem(O)),this.toggleCheckbox(O,o),e.checked){if(this.optInCustom(O),""!=this.options.mndCookieCustom10IntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom10IntegrationCode);document.body.append(t)}}else this.optOutCustom(O)}let v="mnd-accepted-"+this.options.mndCookieSuffix;m.setItem(v,1,t),m.setItem("cookie-preference",1,t),this.closeSettingsModal(),"banner"==this.options.mndCookieType?this.closeBanner():this.closeModal(),this.reloadAfter()}optInAll(){let t=this.options.mndCookieExpire,e="mnd-accepted-"+this.options.mndCookieSuffix,o=this.options.mndCookieGAActive,i=this.options.mndFbPixelActive,n=this.options.mndCookieType;m.setItem("cookie-preference",1,t),m.setItem("google-ads-enabled",1,t),this.setLocalStorage("mnd-accept-all-"+this.options.mndCookieSuffix,1),o&&this.optInGA(),"true"==i&&this.optInFB(),this.optInSw(),this.optInConsentMode();let s=this.options.mndCookieCustom1Label,a=this.options.mndCookieCustom1Name;if(""!=s&&""!=a&&(this.optInCustom(a),""!=this.options.mndCookieCustom1IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom1IntegrationCode);document.body.append(t)}let d=this.options.mndCookieCustom2Label,r=this.options.mndCookieCustom2Name;if(""!=d&&""!=r&&(this.optInCustom(r),""!=this.options.mndCookieCustom2IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom2IntegrationCode);document.body.append(t)}let u=this.options.mndCookieCustom3Label,l=this.options.mndCookieCustom3Name;if(""!=u&&""!=l&&(this.optInCustom(l),""!=this.options.mndCookieCustom3IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom3IntegrationCode);document.body.append(t)}let c=this.options.mndCookieCustom4Label,h=this.options.mndCookieCustom4Name;if(""!=c&&""!=h&&(this.optInCustom(h),""!=this.options.mndCookieCustom4IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom4IntegrationCode);document.body.append(t)}let p=this.options.mndCookieCustom5Label,C=this.options.mndCookieCustom5Name;if(""!=p&&""!=C&&(this.optInCustom(C),""!=this.options.mndCookieCustom5IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom5IntegrationCode);document.body.append(t)}let g=this.options.mndCookieCustom6Label,k=this.options.mndCookieCustom6Name;if(""!=g&&""!=k&&(this.optInCustom(k),""!=this.options.mndCookieCustom6IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom6IntegrationCode);document.body.append(t)}let b=this.options.mndCookieCustom7Label,I=this.options.mndCookieCustom7Name;if(""!=b&&""!=I&&(this.optInCustom(I),""!=this.options.mndCookieCustom7IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom7IntegrationCode);document.body.append(t)}let f=this.options.mndCookieCustom8Label,y=this.options.mndCookieCustom8Name;if(""!=f&&""!=y&&(this.optInCustom(y),""!=this.options.mndCookieCustom8IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom8IntegrationCode);document.body.append(t)}let S=this.options.mndCookieCustom9Label,x=this.options.mndCookieCustom9Name;if(""!=S&&""!=x&&(this.optInCustom(x),""!=this.options.mndCookieCustom9IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom9IntegrationCode);document.body.append(t)}let O=this.options.mndCookieCustom10Label,v=this.options.mndCookieCustom10Name;if(""!=O&&""!=v&&(this.optInCustom(v),""!=this.options.mndCookieCustom10IntegrationCode)){let t=document.createRange().createContextualFragment(this.options.mndCookieCustom10IntegrationCode);document.body.append(t)}m.setItem(e,1,t),"banner"==n?this.closeBanner():this.closeModal(),this.closeSettingsModal(),this.reloadAfter()}optOutAll(){this.optOutGA(),this.optOutFB(),this.optOutSw(),this.deleteLocalStorage("mnd-accept-all-"+this.options.mndCookieSuffix),this.optOutConsentMode(),m.removeItem("google-ads-enabled");let t=this.options.mndCookieCustom1Label,e=this.options.mndCookieCustom1Name;""!=t&&""!=e&&this.optOutCustom(e);let o=this.options.mndCookieCustom2Label,i=this.options.mndCookieCustom2Name;""!=o&&""!=i&&this.optOutCustom(i);let n=this.options.mndCookieCustom3Label,s=this.options.mndCookieCustom3Name;""!=n&&""!=s&&this.optOutCustom(s);let a=this.options.mndCookieCustom4Label,d=this.options.mndCookieCustom4Name;""!=a&&""!=d&&this.optOutCustom(d);let r=this.options.mndCookieCustom5Label,u=this.options.mndCookieCustom5Name;""!=r&&""!=u&&this.optOutCustom(u);let l=this.options.mndCookieCustom6Label,c=this.options.mndCookieCustom6Name;""!=l&&""!=c&&this.optOutCustom(c);let h=this.options.mndCookieCustom7Label,p=this.options.mndCookieCustom7Name;""!=h&&""!=p&&this.optOutCustom(p);let C=this.options.mndCookieCustom8Label,g=this.options.mndCookieCustom8Name;""!=C&&""!=g&&this.optOutCustom(g);let k=this.options.mndCookieCustom9Label,b=this.options.mndCookieCustom9Name;""!=k&&""!=b&&this.optOutCustom(b);
1let I=this.options.mndCookieCustom10Label,f=this.options.mndCookieCustom10Name;""!=I&&""!=f&&this.optOutCustom(f)}decline(){this.optOutAll();let t=this.options.mndCookieExpire,e="mnd-accepted-"+this.options.mndCookieSuffix,o=this.options.mndCookieType;m.setItem(e,1,t),m.setItem("cookie-preference",1,t),"banner"==o?this.closeBanner():this.closeModal(),this.closeSettingsModal(),this.reloadAfter()}optInGA(){let t=this.options.mndCookieGAIds.split(","),e=this.options.mndCookieExpire;t.forEach(function(t){let e="ga-disable-"+t;document.cookie.indexOf(e+"=")>=0&&m.removeItem(e)}),m.setItem("mnd-ga-opted-in",!0,e),m.setItem("google-analytics-enabled",1,e);try{let t=PluginManager.getPluginInstances("GoogleAnalytics");t&&t[0]&&t[0].startGoogleAnalytics()}catch(t){}if(""!=this.options.mndCookieGAIntegrationCode){let t=document.createRange().createContextualFragment(this.options.mndCookieGAIntegrationCode);document.body.append(t)}}optOutGA(){let t=this.options.mndCookieGAIds.split(","),e=this.options.mndCookieExpire,o=document.cookie.split(";"),i=/^(_swag_ga|_gat_gtag|_ga|_gid|_gat)/;t.forEach(function(t){let o="ga-disable-"+t;0>=document.cookie.indexOf(o+"=")&&(m.setItem(o,!0,e),window[o]=!0)}),m.removeItem("mnd-ga-opted-in"),m.removeItem("google-analytics-enabled"),o.forEach(t=>{let e=t.split("=")[0].trim();if(!e.match(i))return;let o=this.getDomain(window.location.host);document.cookie=e+"=; Path=/; Domain=."+o+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;",m.removeItem(e)})}optInFB(){"true"==this.options.mndFbPixelActive&&mndCookie.mndSetPixelOptIn()}optOutFB(){"true"==this.options.mndFbPixelActive&&mndCookie.mndSetPixelOptOut()}optInSw(){let t=this.options.mndCookieExpire;m.setItem("wishlist-enabled",1,t)}optOutSw(){m.removeItem("wishlist-enabled")}optInCustom(t){let e=this.options.mndCookieExpire;m.setItem(t,!0,e)}optOutCustom(t){let e=this.options.mndCookieExpire;m.setItem(t,!1,e)}optInConsentMode(){if(this.options.mndConsentModeActive){gtag("consent","update",{ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",analytics_storage:"granted",wait_for_update:500});let t=[];t.ad_storage="granted",t.ad_user_data="granted",t.ad_personalization="granted",t.analytics_storage="granted",window.dataLayer.push(t)}}optOutConsentMode(){if(this.options.mndConsentModeActive){gtag("consent","update",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied",wait_for_update:500});let t=[];t.ad_storage="denied",t.ad_user_data="denied",t.ad_personalization="denied",t.analytics_storage="denied",window.dataLayer.push(t)}}setLocalStorage(t,e){localStorage.setItem(t,e)}deleteLocalStorage(t){localStorage.removeItem(t)}updateQueryString(t,e,o){var i=RegExp("([?&])"+e+"=.*?(&|$)","i"),n=-1!==t.indexOf("?")?"&":"?";return t.match(i)?t.replace(i,"$1"+e+"="+o+"$2"):t+n+e+"="+o}reloadAfter(){let t=this.options.mndCookieReloadAfter,e=this.options.mndCookieReloadAddUtm;if(t){let t=this.updateQueryString(window.location.href,"utm_referrer",encodeURIComponent(document.referrer));e?window.location.href=t:window.location.reload()}}getDomain(t){var e=t.split(".").reverse();return e.length>=3&&e[1].match(/^(com|edu|gov|net|mil|org|nom|co|name|info|biz)$/i)?e[2]+"."+e[1]+"."+e[0]:e[1]+"."+e[0]}static getCookieStatus(t){return m.getItem(t)}}r.options={mndCookieSuffix:d.replace(/[^a-zA-Z]/g,""),mndCookieExpire:31,mndCookieType:"banner"},window.MndCookie=r,window.PluginManager.register("MndCookie",r,'[data-mnd-cookie-plugin="true"]')})()})();
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.