1var section;(()=>{"use strict";var e,t,n,r={3577(e,t,n){var r,o,i,a=function(){var e="[data-sticky-banner-relocation]",t=document.querySelector(e);if(!t)throw Error("No sticky banner replacement element found. Searched for ".concat(e));return t.getBoundingClientRect()},u=function(e,t){var n=document.querySelector("[data-grid-full]");if(n){var r=n.getBoundingClientRect(),o=e.getBoundingClientRect();return r.top-o.top}var i=document.querySelector("[data-grid]"),a=document.querySelector("[data-topbanner]");return Math.max(i.scrollHeight,i.offsetHeight)-Math.max(a.scrollHeight,a.offsetHeight)-t},l=function(e){var t=a(),n=e.getBoundingClientRect();return t.top-n.top};let c=function(){return null!==document.querySelector(".article-layout")};function s(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}let f=function(){var e;return(e=function(){var e,t;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){return(e=document.querySelector("[data-is-zephr-disabled-url]"))&&(t=e.dataset.isZephrDisabledUrl)?[2,fetch(t).then(function(e){return e.json()}).then(function(e){return e.isDisabled}).catch(function(){return!1})]:[2,!0]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,u,"next",e)}function u(e){s(i,r,o,a,u,"throw",e)}a(void 0)})})()};var d="jfm.zephrFailedLoading",_="tealium_loaded";let p=function(e){return new Promise(function(t){if(window.utag)return void t();var n,r=function(){n&&clearTimeout(n),document.removeEventListener(_,r),t()};document.addEventListener(_,r),"number"==typeof e&&(n=setTimeout(function(){document.removeEventListener(_,r),t()},1e3*e))})};var h="data-zephr-hide-parts";let v=function(){var e=document.querySelector("[".concat(h,"]"));e&&e.removeAttribute(h)},y=function(){document.querySelectorAll(".article__parts").forEach(function(e){e.classList.add("article__parts--paywalled")})},m=function(){document.querySelectorAll("[data-speechkit-project-id]").forEach(function(e){e.style.setProperty("display","none")})},b=function(e){e.onclick=null,e.addEventListener("click",function(e){return e.preventDefault(),e.stopPropagation(),null},!0)};var g=["quote","html","geographical-map-part"],w=function(e){var t=e.querySelector("[data-gallery]");t&&(b(t),t.querySelector("[data-gallery-counter]").remove(),t.querySelector("picture").style.cursor="initial")},k=function(e,t){t.forEach(function(t){var n=e.querySelector(".".concat(t));n&&n.remove()})};let S=function(){var e=document.querySelector("[data-article-part-primary]");e&&(w(e),k(e,g))};var A="kodus.layout.app";let P=function(){if(Object.keys(window.parent.pugpigBridgeService||{}).length>0)return!0;var e,t=new URLSearchParams(window.location.search).get("from_app"),n=localStorage.getItem(A);if("false"===t)return localStorage.removeItem(A),!1;var r=["true","on","1","yes"].includes(null!=(e=null!=t?t:n)?e:"");return null!==t&&r&&localStorage.setItem(A,"true"),r};var x="[data-zephr-ai-tracking-script]";let E=function(){return null!==document.querySelector(x)},O=function(){window.ZITFunctions=window.ZITFunctions||{brandId:"",retrieveOrigSession:function(){return""},retrieveUserStatus:function(){return""},sendData:function(e){console.warn("AI Paywall Mock: function sendData called with data:",e)},isAiTrackingEnabled:!1}},j=function(){return new Promise(function(e,t){window.Zephr?e():(document.addEventListener("zephr.browserDecisionsFinished",function(){return e()}),document.addEventListener(d,function(){return t()}))})},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return new Promise(function(t){var n,r=0,o=function(){return clearInterval(n)};n=setInterval(function(){r+=1,window.ZITFunctions?(o(),t()):r>=e&&(o(),j().then(function(){return t()}))},1e3)})};function T(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}let L=function(){var e;return(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:if(!E())return[3,2];return[4,I()];case 1:return e.sent(),window.ZITFunctions&&"function"==typeof window.ZITFunctions.sendData||(console.warn("AI Paywall: ZITFunctions is not defined after waiting.","Replacing ZITFunctions with fallback implementation."),O()),[2];case 2:return O(),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){T(i,r,o,a,u,"next",e)}function u(e){T(i,r,o,a,u,"throw",e)}a(void 0)})})()};function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=(U(tA={0:"Fallback"},21,"Page Load"),U(tA,44,"Paywall Impression"),U(tA,28,"Paywall Click"),tA);function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function N(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var q=function(e){var t,n,r,o=document.querySelector(x),i=null!=(t=null==o?void 0:o.dataset)?t:{articleId:"",section:"",articleType:""},a=i.articleId,u=i.section,l=i.articleType,c=null!=(n=null==(r=window.utag_data)?void 0:r.zephr_tracking_id)?n:"",s={brandId:window.ZITFunctions.brandId,action:0,wId_2:[""],dtId:window.ZITFunctions.retrieveOrigSession(),refer:document.referrer,requestUrl:window.location.href,content:{increaseRA:null!==a&&""!==a,articleId:a,section:u,articleType:l},user:{userState:window.ZITFunctions.retrieveUserStatus(),userId:c},product:{},context:{userAgent:window.navigator.userAgent}},f=M({},s.content,e.content);return N(M({},s,e),{content:f})};let F=function(e,t,n){return L().then(function(){var r=q(N(M({},t),{action:e}));E()&&(window.zephrEventTracking=window.zephrEventTracking||[],window.zephrEventTracking.push({actionText:D[r.action],action:r.action,data:M({},r)}),window.ZITFunctions.sendData(r)),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===window.utag)return console.warn("Tealium: utag is not defined");var n=C({tealium_event:e},t);window.tealiumEvents=window.tealiumEvents||[],window.tealiumEvents.push(C({},n)),window.utag.link(C({},n))}("zephr_tracking_event",{zephr_tracking_event:M({},r,n)})})},R=function(){if(!window.Zephr||!window.Zephr.outcomes)return"";var e,t=Object.values(window.Zephr.outcomes).find(function(e){var t;return null==(t=e.outcomeLabel)?void 0:t.toLowerCase().includes("paywall")});return null!=(e=null==t?void 0:t.outcomeLabel)?e:""};function W(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}let H=function(e,t){var n;return(n=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){return[2,new Promise(function(n){var r=function(){var o,i=document.querySelector(e),a=null==i||null==(o=i.shadowRoot)?void 0:o.querySelector(t);a?n(a):requestAnimationFrame(r)};r()})]})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){W(i,r,o,a,u,"next",e)}function u(e){W(i,r,o,a,u,"throw",e)}a(void 0)})})()};function z(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}function B(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){z(i,r,o,a,u,"next",e)}function u(e){z(i,r,o,a,u,"throw",e)}a(void 0)})}}function J(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var Z="jfm-zephr-block",$="article > div > div > a.c-btn, [data-paywall-button]",K="a.c-btn, [data-paywall-button]",G={getWebComponent:function(){return document.querySelector(Z)},getElement:function(e){return B(function(){return J(this,function(t){return[2,H(Z,e)]})})()},getAttribute:function(e){var t;return(null==(t=G.getWebComponent())?void 0:t.getAttribute(e))||void 0},getAttributes:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=G.getWebComponent();return t.map(function(e){return(null==r?void 0:r.getAttribute(e))||void 0})},getActiveProduct:function(e,t){return B(function(){var n,r;return J(this,function(o){switch(o.label){case 0:return[4,G.getElement(e)];case 1:return n=o.sent(),[4,G.getElement(t)];case 2:return[2,{offerKey:new URL(null==(r=o.sent())?void 0:r.href).pathname.split("/").filter(
1Boolean).at(-1),offerName:(null==n?void 0:n.innerText)||""}]}})})()},TwoProducts:{getCtaButton:function(){return B(function(){return J(this,function(e){return[2,G.getElement($)]})})()},getActiveProduct:function(){return B(function(){return J(this,function(e){return[2,G.getActiveProduct("article .products .product.active .title, [data-paywall-title]",$)]})})()}},OneProduct:{getCtaButton:function(){return B(function(){return J(this,function(e){return[2,G.getElement(K)]})})()},getActiveProduct:function(){return B(function(){return J(this,function(e){return[2,G.getActiveProduct(".b-text h1, [data-paywall-title]",K)]})})()}}};function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Y(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}function X(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Y(i,r,o,a,u,"next",e)}function u(e){Y(i,r,o,a,u,"throw",e)}a(void 0)})}}function Q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var et=function(){var e=Q(G.getAttributes("cid","tracking-id","ai-paywall"),3);F(21,{content:{increaseRA:!1}},{paywall_component_id:e[0],paywall_tracking_id:e[1],paywall_ai_paywall:e[2],paywall_component_name:R()})},en="10.73.0",er=globalThis;function eo(e){var t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||en,t[en]=t[en]||{}}function ei(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:er,r=n.__SENTRY__=n.__SENTRY__||{},o=r[en]=r[en]||{};return o[e]||(o[e]=t())}var ea="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function eu(e){if(void 0!==tP)return tP?tP(e):e();var t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in er&&"function"==typeof er[t]?(tP=er[t])(e):(tP=null,e())}function el(){return eu(function(){return Math.random()})}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:er.crypto||er.msCrypto;try{if(null==e?void 0:e.randomUUID)return eu(function(){return e.randomUUID()}).replace(/-/g,"")}catch(e){}return tx||(tx="10000000100040008000100000000000"),tx.replace(/[018]/g,function(e){return(e^(15&16*el())>>e/4).toString(16)})}function es(){return eu(function(){return Date.now()})/1e3}function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ed(e){return function(e){if(Array.isArray(e))return ef(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return ef(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ef(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var e_={};function ep(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];ea&&function(){return ea?ei("loggerSettings",function(){return{enabled:!1}}):{enabled:!1}}().enabled&&function(e){if(!("console"in er))return e();var t=er.console,n={},r=Object.keys(e_);r.forEach(function(e){var r=e_[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(function(e){t[e]=n[e]})}}(function(){var t;(t=er.console)[e].apply(t,["".concat("Sentry Logger ","[").concat(e,"]:")].concat(ed(n))
1)})}var eh=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];ep.apply(void 0,["log"].concat(ed(t)))},ev=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];ep.apply(void 0,["warn"].concat(ed(t)))},ey=Object.prototype.toString,em="_sentrySpan";function eb(e,t){if(t){var n=function(e){try{var t=er.WeakRef;if("function"==typeof t)return new t(e)}catch(e){}return e}(t);try{Object.defineProperty(e,em,{value:n,writable:!0,configurable:!0})}catch(t){ea&&eh('Failed to add non-enumerable property "'.concat(String(em),'" to object'),e)}}else delete e[em]}function eg(e){var t=e[em];if(t){if((void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch(e){return}return t}}function ew(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ek(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ek(e,t,n[t])})}return e}function eA(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function eP(e){return function(e){if(Array.isArray(e))return ew(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return ew(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ew(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ex=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:ec(),sampleRand:el()}}return e=[{key:"clone",value:function(){var e=new t;return e._breadcrumbs=eP(this._breadcrumbs),e._tags=eS({},this._tags),e._attributes=eS({},this._attributes),e._extra=eS({},this._extra),e._contexts=eS({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:eP(this._contexts.flags.values)}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=eP(this._eventProcessors),e._attachments=eP(this._attachments),e._sdkProcessingMetadata=eS({},this._sdkProcessingMetadata),e._propagationContext=eS({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,eb(e,eg(this)),e}},{key:"setClient",value:function(e){this._client=e}},{key:"setLastEventId",value:function(e){this._lastEventId=e}},{key:"getClient",value:function(){return this._client}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addScopeListener",value:function(e){this._scopeListeners.push(e)}},{key:"addEventProcessor",value:function(e){return this._eventProcessors.push(e),this}},{key:"setUser",value:function(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(null!=tE?tE:tE=function(){var e=er.performance;if(!(null==e?void 0:e.now)||!e.timeOrigin)return es;var t=e.timeOrigin;return function(){return(t+eu(function(){return e.now()}))/1e3}}())(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ec()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"setConversationId",value:function(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}},{key:"setTags",value:function(e){return this._tags=eS({},this._tags,e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this.setTags(ek({},e,t))}},{key:"setAttributes",value:function(e){return this._attributes=eS({},this._attributes,e),this._notifyScopeListeners(),this}},{key:"setAttribute",value:function(e,t){return this.setAttributes(ek({},e,t))}},{key:"removeAttribute",value:function(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}},{key:"setExtras",value:function(e){return this._extra=eS({},this._extra,e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=eA(eS({},this._extra),ek({},e,t)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(e){return this._fingerprint=e,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(e){return this._level=e,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(e){return this._transactionName=e,this._notifyScopeListeners(),this}},{key:"setContext",value:function(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}},{key:"setSession",value:function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(e){if(!e)return this;var n="function"==typeof e?e(this):e,r=((null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t)?n.getScopeData():ey.call(n)==="[object ".concat("Object","]")?e:void 0)||{},o=r.tags,i=r.attributes,a=r.extra,u=r.user,l=r.contexts,c=r.level,s=r.fingerprint,f=void 0===s?[]:s,d=r.propagationContext,_=r.conversationId;return this._tags=eS({},this._tags,o),this._attributes=eS({},this._attributes,i),this._extra=eS({},this._extra,a),this._contexts=eS({}
1,this._contexts,l),u&&Object.keys(u).length&&(this._user=u),c&&(this._level=c),f.length&&(this._fingerprint=f),d&&(this._propagationContext=d),_&&(this._conversationId=_),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,eb(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ec(),sampleRand:el()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(e,t){var n,r="number"==typeof t?t:100;if(r<=0)return this;var o=eA(eS({timestamp:es()},e),{message:e.message?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}(e.message,2048):e.message});return this._breadcrumbs.push(o),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),null==(n=this._client)||n.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}},{key:"getLastBreadcrumb",value:function(){return this._breadcrumbs[this._breadcrumbs.length-1]}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(e){return this._attachments.push(e),this}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"getScopeData",value:function(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:eg(this),conversationId:this._conversationId}}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!n||(void 0===n?"undefined":n&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)!="object"||r<=0)return n;if(t&&0===Object.keys(n).length)return t;var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t);for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[i]=e(o[i],n[i],r-1));return o}(this._sdkProcessingMetadata,e,2),this}},{key:"setPropagationContext",value:function(e){return this._propagationContext=e,this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"captureException",value:function(e,t){var n=(null==t?void 0:t.event_id)||ec();if(!this._client)return ea&&ev("No client configured on scope - will not capture exception!"),n;var r=Error("Sentry syntheticException");return this._client.captureException(e,eA(eS({originalException:e,syntheticException:r},t),{event_id:n}),this),n}},{key:"captureMessage",value:function(e,t,n){var r,o=(null==n?void 0:n.event_id)||ec();if(!this._client)return ea&&ev("No client configured on scope - will not capture message!"),o;var i=null!=(r=null==n?void 0:n.syntheticException)?r:Error(e);return this._client.captureMessage(e,t,eA(eS({originalException:e,syntheticException:i},n),{event_id:o}),this),o}},{key:"captureEvent",value:function(e,t){var n=e.event_id||(null==t?void 0:t.event_id)||ec();return this._client?this._client.captureEvent(e,eA(eS({},t),{event_id:n}),this):ea&&ev("No client configured on scope - will not capture event!"),n}},{key:"_notifyScopeListeners",value:function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(t){t(e)}),this._notifyingListeners=!1)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}(),eE=function(e){var t;return(null!=(t=Promise)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)&&!e[eO]},eO=Symbol("chained PromiseLike"),ej=function(e,t,n){var r=e.then(function(e){return t(e),e},function(e){throw n(e),e});return eE(r)&&eE(e)?r:eI(e,r)},eI=function(e,t){if(!t)return e;var n,r=!1;for(var o in e)!function(n){if(!(n in t)){r=!0;var o=e[n];"function"==typeof o?Object.defineProperty(t,n,{value:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return o.apply(e,n)},enumerable:!0,configurable:!0,writable:!0}):t[n]=o}}(o);return r&&Object.assign(t,(eO in(n={})?Object.defineProperty(n,eO,{value:!0,enumerable:!0,configurable:!0,writable:!0}):n[eO]=!0,n)),t},eT=function(){var e;function t(e,n){var r,o;
1if(!(this instanceof t))throw TypeError("Cannot call a class as a function");r=e||new ex,o=n||new ex,this._stack=[{scope:r}],this._isolationScope=o}return e=[{key:"withScope",value:function(e){var t,n,r=this,o=this._pushScope();try{n=e(o)}catch(e){throw this._popScope(),e}return(null==(t=n)?void 0:t.then)&&"function"==typeof t.then?ej(n,function(){return r._popScope()},function(){return r._popScope()}):(this._popScope(),n)}},{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getIsolationScope",value:function(){return this._isolationScope}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"_pushScope",value:function(){var e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}},{key:"_popScope",value:function(){return!(this._stack.length<=1)&&!!this._stack.pop()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function eL(){var e=(eo(er),er),t=eo(e);return t.stack=t.stack||new eT(ei("defaultCurrentScope",function(){return new ex}),ei("defaultIsolationScope",function(){return new ex}))}function eC(e){return eL().withScope(e)}function eU(e,t){var n=eL();return n.withScope(function(){return n.getStackTop().scope=e,t(e)})}function eD(e){return eL().withScope(function(){return e(eL().getIsolationScope())})}function eM(e){var t=eo(e);return t.acs?t.acs:{withIsolationScope:eD,withScope:eC,withSetScope:eU,withSetIsolationScope:function(e,t){return eD(t)},getCurrentScope:function(){return eL().getScope()},getIsolationScope:function(){return eL().getIsolationScope()}}}function eN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eq(){return eM((eo(er),er)).getCurrentScope()}function eF(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=eM((eo(er),er));if(2===t.length){var o=function(e){if(Array.isArray(e))return e}(t)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return eN(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eN(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return i?r.withSetScope(i,a):r.withScope(a)}return r.withScope(t[0])}var eR=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function eW(e,t){return eq().captureException(e,function(e){if(e)return function(e){return(null!=ex&&"u">typeof Symbol&&ex[Symbol.hasInstance]?!!ex[Symbol.hasInstance](e):e instanceof ex)||"function"==typeof e}(e)||Object.keys(e).some(function(e){return eR.includes(e)})?{captureContext:e}:e}(t))}var eH="jfm_aid_test";let ez={setCookie:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=new Date;r.setTime(r.getTime()+24*n*36e5),document.cookie="".concat(e,"=").concat(t,";expires=").concat(r.toUTCString(),";path=/;SameSite=Lax")},getCookie:function(e){var t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(t){return t.startsWith("".concat(e,"="))});return t?t.substring(e.length+1):null},deleteCookie:function(e){document.cookie="".concat(e,"=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/;")},isAidEnabled:function(){return!this.isTestModeEnabled()||"true"===this.getCookie(eH)},setAidTestMode:function(e){try{e?this.setCookie(eH,"true"):this.deleteCookie(eH)}catch(e){console.warn("Failed to set aID test mode in cookie",e)}},isTestModeEnabled:function(){return null!==document.querySelector('[data-aid="test"]')},initializeAidTestMode:function(){if(this.isTestModeEnabled()){var e=new URLSearchParams(window.location.search).get("aid");"true"===e?this.setAidTestMode(!0):"false"===e&&this.setAidTestMode(!1)}}};function eB(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}function eJ(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){eB(i,r,o,a,u,"next",e)}function u(e){eB(i,r,o,a,u,"throw",e)}a(void 0)})}}function eZ(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function e$(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var eK=function(){try{return P()}catch(e){return!1}},eG={uuid:"",name:null,access:[],loggedIn:!1,trackingKey:""},eV=null,eY=function(e,t){return{uuid:(null==t?void 0:t.uuid)||null,name:(null==t?void 0:t.name)||null,access:(null==t?void 0:t.access)||[],loggedIn:"boolean"==typeof(null==e?void 0:e.isLoggedIn)&&(null==e?void 0:e.isLoggedIn),trackingKey:(null==t?void 0:t.trackingKey)||null}},eX={getModule:function(){return eJ(function(){var e;return e$(this,function(t){switch(t.label){case 0:if(eV)return[2,eV];eV=new Promise(function(e,t){var r=setTimeout(function(){var e=Error("aID module load timed out");eF(function(t){t.setLevel("error"),t.setTag("feature","aid_module_load"),t.setExtra("url",window.location.href),eW(e)}),t(e)},6e3);n.e(532).then(n.bind(n,3631)).then(e).catch(t).finally(function(){return clearTimeout(r)})}),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,eV];case 2:return[2,t.sent()];case 3:throw e=t.sent(),eV=null,e;case 4:return[2]}})})()},initBfcacheReloadHandler:function(){window.addEventListener("pageshow",function(e){e.persisted&&window.location.reload()})},isEnabled:function(){return!!document.querySelector("[data-aid]")&&ez.isAidEnabled()},getLoggedInAidUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return eJ(function(){var t,n,r,o,i,a;return e$(this,function(u){switch(u.label){case 0:if(eK())return[2,eG];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,eX.getModule()];case 2:return t=u.sent(),[3,4];case 3:return u.sent(),[2,eG];case 4:n=t.UserDataRequest,r=t.FetchTimeoutError,o={},u.label=5;case 5:return u.trys.push([5,7,,8]),[4,new n().withAttributes(["uuid","name","access","trackingKey"]).fetch({timeout:1e3*e})];case 6:return o=u.sent(),[3,8];case 7:if(eZ(i=u.sent(),Error)&&i.message.includes("aID is not responding"))console.warn("aID: Not setup for this domain");else if(eZ(i,r))return console.warn("aID: User data request timed out. Partial data fetched"),[2,eY(null==(a=i.partialData)?void 0:a.state,null==a?void 0:a.attributes)];return[2,eG];case 8:return[2,eY(o.state,null==o?void 0:o.attributes)]}})})()},logout:function(){return eJ(function(){var e;return e$(this,function(t){switch(t.label){case 0:if(eK())return[2];return[4,eX.getModule()];case 1:e=t.sent().logout,t.label=2;case 2:return t.trys.push([2,4,,5]),[4,e()];case 3:return t.sent(),[3,5];case 4:return console.warn("aID: Logging out failed",t.sent()),[3,5];case 5:return[2]}})})()},goToLoginPage:function(e,t){return eJ(function(){return e$(this,function(n){switch(n.label){case 0:if(eK())return[2];return[4,eX.getModule()];case 1:return(0,n.sent().goToLoginPage)({requestedUrl:e,context:t}),[2]}})})()},contextLabels:{selfService:"jfm-self-service",plusFriSalesPage:"jfm-plus-fri",plusFriUpgradePage:"jfm-plus-fri-upgrade-page",plusFriPurchaseFlow:"jfm-plus-fri-purchase-flow"},goToProfilePage:function(){var e=new URL("https://www.aid.no/aid/profil");e.searchParams.append("requested_url",window.location.href),window.open(e.toString())}},eQ={entries:[],log:function(e){var t,n,r=e;(void 0===r?"undefined":(t=r)&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"&&(r=JSON.stringify(r,void 0,2)),eQ.entries.push(r);var o=document.createElement("li");o.classList.add("js-logger__item"),o.innerHTML=r,null==(n=document.querySelector("[data-log-list] ul"))||n.append(o)}},e0="blaize_jwt";let e1={parseJwt:function(e){var t,n=e.split(".");if(3!==n.length)throw Error("[AuthToken:parseJwt] Invalid JWT format: expected 3 parts (header.payload.signature)");var r=n[1];try{var o=atob(r);t=JSON.parse(o)}catch(e){var i,a=(null!=(i=Error)&&"u">typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i)?e.message:String(e);throw Error("[AuthToken:parseJwt] Failed to decode JWT payload: ".concat(a))}if(!t.sub||"string"!=typeof t.sub)throw Error('[AuthToken:parseJwt] Missing or invalid "sub" claim');if("string"!=typeof t.user_session)throw Error('[AuthToken:parseJwt] Missing or invalid "user_session" claim');if(!Array.isArray(t.entitlements))throw Error('[AuthToken:parseJwt] Missing or invalid "entitlements" claim (must be an array)');if("aid"!==t.user_type&&"zephr"!==t.user_type)throw Error('[AuthToken:parseJwt] Invalid "user_type" claim (must be "aid" or "zephr")');return{sub:t.sub,userSession:t.user_session,entitlements:t.entitlements,userType:t.user_type}},getJwtPayload:function(){var e=document.cookie.split("; ").find(function(e){return e.startsWith("".concat(e0,"="))});if(!e)return eQ.log("[AuthToken] No ".concat(e0," cookie found")),null;var t=e.split("=")[1];if(!t)return eQ.log("[AuthToken] No ".concat(e0," cookie value found")),null;try{return this.parseJwt(t)}catch(e){console.error("Failed to parse JWT:",e)}return null},isLoggedIn:function(){return null!==this.getJwtPayload()},getUserType:function(){var e,t=this.getJwtPayload(),n=null!=(e=null==t?void 0:t.userType)?e:null;return n||eQ.log("[AuthToken] Unable to determine user type: no JWT payload found"),n}};function e2(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}function e3(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){e2(i,r,o,a,u,"next",e)}function u(e){e2(i,r,o,a,u,"throw",e)}a(void 0)})}}function e4(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var e6="LOGIN_STATE",e8=function(e){sessionStorage.setItem(e6,JSON.stringify(e))},e5=function(){var e=sessionStorage.getItem(e6);return e?JSON.parse(e):null},e7=function(e){document.dispatchEvent(new CustomEvent("LOGIN_FINISHED",{detail:e})),window.loginFinished=!0;var t=e.loggedIn,n=e.aidId,r=e.epaperAccess,o=e1.isLoggedIn();if(t||n||o){var i=document.documentElement.classList;i.add("is-logged-in"),r&&i.add("has-epaper-access")}},e9=function(e,t,n,r,o){var i=sessionStorage.getItem(e6);if(i&&(!0===window.loginFinished||!0===o)){var a=JSON.parse(i);e({id:a.id||"",loggedIn:a.loggedIn||!1,hashedEmail:a.hashedEmail||"",epaperAccess:a.epaperAccess||!1,aidTrackingKey:a.aidTrackingKey||"",aidId:a.aidId||"",isUserMigrated:a.isUserMigrated||!1})}else Date.now()-n>=2e4?(eF(function(e){e.setLevel("warning"),e.setTag("feature","get_logged_in_user"),e.setExtra("timeoutMs",2e4),e.setExtra("hasLoginState",!!i),e.setExtra("loginFinished",!0===window.loginFinished),e.setExtra("url",window.location.href),eW(Error("getL
1oggedInUser: Timeout".concat(r?": ".concat(r):"")))}),t(Error("getLoggedInUser: Timeout"))):setTimeout(function(){return e9(e,t,n,r,o)},100)};let te=function(){var e;return(null==(e=window.jfmShadowUser)?void 0:e.aidZephrBridgePromise)||(window.jfmShadowUser.aidZephrBridgePromise=new Promise(function(e,t){var n,r=window.jfmShadowUser;(null==r?void 0:r.status)==="error"?t(Error(null!=(n=r.error)?n:"Unknown error")):(null==r?void 0:r.status)!=="complete"&&r?(window.addEventListener("jfmShadowUser:complete",function(){return e()},{once:!0}),window.addEventListener("jfmShadowUser:error",function(e){return t(Error(e.detail))},{once:!0})):e()}).then(function(){return e3(function(){var e,t,n,r;return e4(this,function(o){switch(o.label){case 0:return e=36e5,[4,eX.getLoggedInAidUser()];case 1:return n=(t=o.sent()).trackingKey||"",r=t.uuid||"",[2,new Promise(function(t){fetch("".concat(window.isUserLoggedInEndpoint,"?aidId=").concat(r),{credentials:"same-origin",headers:new Headers({Accept:"application/json"})}).then(function(e){return e.json()}).then(function(o){return e3(function(){var i,a,u,l,c;return e4(this,function(s){return i=o.id||"",a=o.is_logged_in||!1,u=o.hashed_email||"",l=o.epaper_access||!1,c=o.is_user_migrated||!1,e8({id:i,loggedIn:a,expires:new Date().getTime()+e,hashedEmail:u,epaperAccess:l,aidTrackingKey:n,aidId:r,isUserMigrated:c}),t({id:i,loggedIn:a,hashedEmail:u,epaperAccess:l,aidTrackingKey:n,aidId:r,isUserMigrated:c}),[2]})})()}).catch(function(e){eF(function(t){t.setLevel("warning"),t.setTag("feature","set_login_state"),t.setExtra("error",e),t.setExtra("url",window.location.href),eq().captureMessage("setLoginState failed",void 0,{captureContext:void 0})});var n=e5();t({id:(null==n?void 0:n.id)||"",loggedIn:(null==n?void 0:n.loggedIn)||!1,hashedEmail:(null==n?void 0:n.hashedEmail)||"",epaperAccess:(null==n?void 0:n.epaperAccess)||!1,aidTrackingKey:(null==n?void 0:n.aidTrackingKey)||"",aidId:(null==n?void 0:n.aidId)||"",isUserMigrated:(null==n?void 0:n.isUserMigrated)||!1})})})]}})})().then(function(e){e7(e)})})),window.jfmShadowUser.aidZephrBridgePromise};function tt(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){n(e);return}u.done?t(l):Promise.resolve(l).then(r,o)}function tn(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tt(i,r,o,a,u,"next",e)}function u(e){tt(i,r,o,a,u,"throw",e)}a(void 0)})}}function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function to(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(a,"next",{value:l(0)}),u(a,"throw",{value:l(1)}),u(a,"return",{value:l(2)}),"function"==typeof Symbol&&u(a,Symbol.iterator,{value:function(){return this}}),a;function l(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var ti=function(e){var t,n;return null!=(t=null==(n=document.querySelector("[".concat(e,"]")))?void 0:n.getAttribute(e))?t:""};function ta(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tu="data-lazy-image",tl=1/(window.devicePixelRatio||1),tc=[],ts=function(){tc.forEac
1h(function(e){return e.update()})};document.addEventListener("load",ts),window.addEventListener("resize",ts),document.addEventListener("scroll",ts);var tf=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");ta(this,"priority",void 0),ta(this,"target",void 0),ta(this,"img",void 0),ta(this,"width",void 0),ta(this,"sources",void 0),this.target=e,this.target.style.display="block",this.target.style.backgroundPosition="center",this.target.style.backgroundRepeat="no-repeat",this.target.style.backgroundSize="cover",this.setURL("data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="),this.width=0,this.priority=parseInt(e.getAttribute("data-lazy-image-priority"),10)||0,this.sources=e.getAttribute(tu).split(",").map(function(e){var t=e.trim().split(" ",2);return{url:t[0].trim(),width:t[1].trim()*tl}}).sort(function(e,t){return e.width-t.width})}return e=[{key:"getBestImage",value:function(e){var t=this.sources[this.sources.length-1];return this.sources.sort(function(e,t){return e.width<t.width?-1:1}).find(function(t){return t.width>e})||t}},{key:"update",value:function(){var e=this;if(this.isVisible()){var t=.98*Math.max(this.target.getBoundingClientRect().width,this.width),n=this.getBestImage(t);if(this.width!==n.width){this.width=n.width;var r=document.createElement("img");r.src=n.url,r.onload=function(){r===e.img&&(e.setURL(n.url),e.img=null)},this.img=r}}}},{key:"setURL",value:function(e){this.target.style.backgroundImage='url("'.concat(e,'")')}},{key:"isVisible",value:function(){var e=this.target.getBoundingClientRect();return 0!==e.width&&e.top<window.innerHeight+200}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function td(){document.querySelectorAll("[".concat(tu,"]")).forEach(function(e){return tc.push(new tf(e))}),tc.sort(function(e,t){return e.priority-t.priority}),ts()}let t_=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}};var tp=((tS=tp||{})[tS.mobile=0]="mobile",tS[tS.tablet=768]="tablet",tS[tS.widescreen=2048]="widescreen",tS[tS.ultraWide=3200]="ultraWide",tS);let th=function(){return window.innerWidth<tp.tablet};function tv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ty="[data-carousel-container]",tm=function(e,t,n){var r=e[0],o=getComputedStyle(t),i=r.getBoundingClientRect(),a=parseInt(o.rowGap,10),u=i.width+a;return{gapSpace:a,itemWidth:u,containerVisibleWidth:n.offsetWidth}},tb=function(e){var t=e.querySelector(ty),n=e.querySelector("[data-carousel-prev]"),r=e.querySelector("[data-carousel-next]"),o=function(e){if(Array.isArray(e))return tv(e)}(y=e.querySelectorAll("[data-carousel-item]"))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(y)||function(e){if(e){if("string"==typeof e)return tv(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tv(e,void 0)}}(y)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=tm(o,t,e),a=i.itemWidth,u=i.containerVisibleWidth,l=i.gapSpace,c=o.length*a-2*l,s=0,f=function(e){return!(e<0)&&!(e>o.length-1)&&(e<s||s*a+u<c)},d=function(){n.style.display=f(s-1)?"flex":"none",r.style.display=f(s+1)?"flex":"none"},_=function(e){d(),t.style.transform="translateX(".concat(e,"px)")},p=function(e){if(!(e<0)&&!(e>=o.length-1)){s=e;var t=o[e].offsetLeft;if(t>=c-u)return void _(-c+u);_(-t)}},h=function(){f(s)&&p(s+1)},v=function(){f(s-1)&&p(s-1)};if(t.style.transform){var y,m,b=c-u,g=Math.ceil(b/a),w=-parseInt((null==(m=t.style.transform.match(/\((.*)\)/))?void 0:m.pop())||"0",10),k=Math.ceil(w/a);p(w>b?g:k)}else t.style.transform="translateX(0px)";return n.addEventListener("click",v),r.addEventListener("click",h),d(),{clean:function(){n.removeEventListener("click",v),r.removeEventListener("click",h),n.style.display="",r.style.display=""}}},tg=function(e){var t=e.querySelector(ty),n=e.querySelector("[data-carousel-fade-start]"),r=e.querySelector("[data-carousel-fade-end]"),o=function(e){var t=e.target,o=t.scrollLeft>0,i=t.scrollWidth>t.scrollLeft+t.offsetWidth;n.style.opacity=o?"1":"0",r.style.opacity=i?"1":"0"};return t.style.transform="",n.style.opacity="0",r.style.opacity="1",t.addEventListener("scroll",o),{clean:function(){n.style.opacity="0",r.style.opacity="0",t.removeEventListener("scroll",o)}}};let tw=function(){document.querySelectorAll("[data-carousel]").forEach(function(e){var t,n,r=function(){return th()?(t="mobile",tg):(t="desktop",tb)};window.addEventListener("resize",t_(function(){var o=th()?"mobile":"desktop";("mobile"!==o||o!==t)&&(n.clean(),n=r()(e))},16)),n=r()(e)})};function tk(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var tS,tA,tP,tx,tE,tO,tj,tI,tT,tL,tC,tU,tD,tM,tN,tq,tF,tR,tW,tH={},tz=[],tB=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tJ=Array.isArray;function tZ(e,t){for(var n in t)e[n]=t[n];return e}function t$(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function tK(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?tO.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return tG(e,a,r,o,null)}function tG(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++tI:o,__i:-1,__u:0};return null==o&&null!=tj.vnode&&tj.vnode(i),i}function tV(e){return e.children}function tY(e,t){this.props=e,this.context=t}function tX(e,t){if(null==t)return e.__?tX(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?tX(e):null}function tQ(e){(!e.__d&&(e.__d=!0)&&tT.push(e)&&!t0.__r++||tL!=tj.debounceRendering)&&((tL=tj.debounceRendering)||tC)(t0)}function t0(){try{for(var e,t=1;tT.length;)tT.length>t&&tT.sort(tU),e=tT.shift(),t=tT.length,function(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],i=tZ({},t);i.__v=t.__v+1,tj.vnode&&tj.vnode(i),t8(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,null==n?tX(t):n,!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,t5(r,i,o),t.__e=t.__=null,i.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),e(t)}(i)}}(e)}finally{tT.length=t0.__r=0}}function t1(e,t,n,r,o,i,a,u,l,c,s){var f,d,_,p,h,v,y=r&&r.__k||tz,m=t.length;for(l=function(e,t,n,r,o){var i,a,u,l,c,s=n.length,f=s,d=0;for(e.__k=Array(o),i=0;i<o;i++)null!=(a=t[i])&&"boolean"!=typeof a&&"function"!=typeof a?("string"==typeof a||"number"==typeof a||"bigint"==(void 0===a?"undefined":tk(a))||a.constructor==String?a=e.__k[i]=tG(null,a,null,null,null):tJ(a)?a=e.__k[i]=tG(tV,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?a=e.__k[i]=tG(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,l=i+d,a.__=e,a.__b=e.__b+1,u=null,-1!=(c=a.__i=function(e,t,n,r){var o,i,a,u=e.key,l=e.type,c=t[n],s=null!=c&&0==(2&c.__u);if(null===c&&null==u||s&&u==c.key&&l==c.type)return n;if(r>+!!s){for(o=n-1,i=n+1;o>
vendor: 4,929 bytes, line 1
1=0||i<t.length;)if(null!=(c=t[a=o>=0?o--:i++])&&0==(2&c.__u)&&u==c.key&&l==c.type)return a}return -1}(a,n,l,f))&&(f--,(u=n[c])&&(u.__u|=2)),null==u||null==u.__v?(-1==c&&(o>s?d--:o<s&&d++),"function"!=typeof a.type&&(a.__u|=4)):c!=l&&(c==l-1?d--:c==l+1?d++:(c>l?d--:d++,a.__u|=4))):e.__k[i]=null;if(f)for(i=0;i<s;i++)null!=(u=n[i])&&0==(2&u.__u)&&(u.__e==r&&(r=tX(u)),function e(t,n,r){var o,i;if(tj.unmount&&tj.unmount(t),(o=t.ref)&&(o.current&&o.current!=t.__e||t7(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){tj.__e(e,n)}o.base=o.__P=o.__n=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&e(o[i],n,r||"function"!=typeof t.type);r||t$(t.__e),t.__c=t.__=t.__e=void 0}(u,u));return r}(n,t,y,l,m),f=0;f<m;f++)null!=(_=n.__k[f])&&(d=-1!=_.__i&&y[_.__i]||tH,_.__i=f,v=t8(e,_,d,o,i,a,u,l,c,s),p=_.__e,_.ref&&d.ref!=_.ref&&(d.ref&&t7(d.ref,null,_),s.push(_.ref,_.__c||p,_)),null==h&&null!=p&&(h=p),4&_.__u?(l=function e(t,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,n=e(o[i],n,r));return n}t.__e!=n&&(n&&t.type&&!n.parentNode&&(n=tX(t)),n=r.insertBefore(t.__e,n||null));do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(_,l,e),d.__e&&(d.__e=null)):"function"==typeof _.type&&void 0!==v?l=v:p&&(l=p.nextSibling),_.__u&=-7);return n.__e=h,l}function t2(e,t){return t=t||[],null==e||"boolean"==typeof e||(tJ(e)?e.some(function(e){t2(e,t)}):t.push(e)),t}function t3(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||tB.test(t)?n:n+"px"}function t4(e,t,n,r,o){var i,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||t3(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||t3(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(tq,"$1")),t=(a=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n[tN]=r[tN]:(n[tN]=tF,e.addEventListener(t,i?tW:tR,i)):e.removeEventListener(t,i?tW:tR,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function t6(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t[tM])t[tM]=tF++;else if(t[tM]<n[tN])return;return n(tj.event?tj.event(t):t)}}}function t8(e,t,n,r,o,i,a,u,l,c){var s,f,d,_,p,h,v,y,m,b,g,w,k,S,A,P,x=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),i=[u=t.__e=n.__e]),(s=tj.__b)&&s(t);e:if("function"==typeof x){f=a.length;try{if(m=t.props,b=x.prototype&&x.prototype.render,g=(s=x.contextType)&&r[s.__c],w=s?g?g.props.value:s.__:r,n.__c?y=(d=t.__c=n.__c).__=d.__E:(b?t.__c=d=new x(m,w):(t.__c=d=new tY(m,w),d.constructor=x,d.render=t9),g&&g.sub(d),d.state||(d.state={}),d.__n=r,_=d.__d=!0,d.__h=[],d._sb=[]),b&&null==d.__s&&(d.__s=d.state),b&&null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=tZ({},d.__s)),tZ(d.__s,x.getDerivedStateFromProps(m,d.__s))),p=d.props,h=d.state,d.__v=t,_)b&&null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),b&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(b&&null==x.getDerivedStateFromProps&&m!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,w),t.__v==n.__v||!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,w)){t.__v!=n.__v&&(d.props=m,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),tz.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&a.push(d),u=tX(n);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,w),b&&null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(p,h,v)})}if(d.context=w,d.props=m,d.__P=e,d.__e=!1,k=tj.__r,S=0,b)d.state=d.__s,d.__d=!1,k&&k(t),s=d.render(d.props,d.state,d.context),tz.push.apply(d.__h,d._sb),d._sb=[];else do d.__d=!1,k&&k(t),s=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(r=tZ(tZ({},r),d.getChildContext())),b&&!_&&null!=d.getSnapshotBeforeUpdate&&(v=d.getSnapshotBeforeUpdate(p,h)),A=null!=s&&s.type===tV&&null==s.key?function e(t){return"object"!=(void 0===t?"undefined":tk(t))||null==t||t.__b>0?t:tJ(t)?t.map(e):void 0!==t.constructor?null:tZ({},t)}(s.props.children):s,u=t1(e,tJ(A)?A:[A],t,n,r,o,i,a,u,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),y&&(d.__E=d.__=null)}catch(e){if(a.length=f,t.__v=null,l||null!=i){if(e.then){for(t.__u|=l?160:128;u&&8==u.nodeType&&u.nextSibling;)u=u.nextSibling;null!=i&&(i[i.indexOf(u)]=null),t.__e=u}else if(null!=i)for(P=i.length;P--;)t$(i[P])}else t.__e=n.__e;
vendor: 3,179 bytes, line 1
1null==t.__k&&(t.__k=n.__k||[]),e.then||function e(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(e))}(t),tj.__e(e,t,n)}}else null==i&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):u=t.__e=function(e,t,n,r,o,i,a,u,l){var c,s,f,d,_,p,h,v=n.props||tH,y=t.props,m=t.type;if("svg"==m?o="http://www.w3.org/2000/svg":"math"==m?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i){for(c=0;c<i.length;c++)if((_=i[c])&&"setAttribute"in _==!!m&&(m?_.localName==m:3==_.nodeType)){e=_,i[c]=null;break}}if(null==e){if(null==m)return document.createTextNode(y);e=document.createElementNS(o,m,y.is&&y),u&&(tj.__m&&tj.__m(t,i),u=!1),i=null}if(null==m)v===y||u&&e.data==y||(e.data=y);else{if(i="textarea"==m&&null!=y.defaultValue?null:i&&tO.call(e.childNodes),!u&&null!=i)for(v={},c=0;c<e.attributes.length;c++)v[(_=e.attributes[c]).name]=_.value;for(c in v)_=v[c],"dangerouslySetInnerHTML"==c?f=_:"children"==c||c in y||"value"==c&&"defaultValue"in y||"checked"==c&&"defaultChecked"in y||t4(e,c,null,_,o);for(c in y)_=y[c],"children"==c?d=_:"dangerouslySetInnerHTML"==c?s=_:"value"==c?p=_:"checked"==c?h=_:u&&"function"!=typeof _||v[c]===_||t4(e,c,_,v[c],o);if(s)u||f&&(s.__html==f.__html||s.__html==e.innerHTML)||(e.innerHTML=s.__html),t.__k=[];else if(f&&(e.innerHTML=""),t1("template"==t.type?e.content:e,tJ(d)?d:[d],t,n,r,"foreignObject"==m?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&tX(n,0),u,l),null!=i)for(c=i.length;c--;)t$(i[c]);u&&"textarea"!=m||(c="value","progress"==m&&null==p?e.removeAttribute("value"):null==p||p===e[c]&&("progress"!=m||p)&&("option"!=m||p==v[c])||t4(e,c,p,v[c],o),c="checked",null!=h&&h!=e[c]&&t4(e,c,h,v[c],o))}return e}(n.__e,t,n,r,o,i,a,l,c);return(s=tj.diffed)&&s(t),128&t.__u?void 0:u}function t5(e,t,n){for(var r=0;r<n.length;r++)t7(n[r],n[++r],n[++r]);tj.__c&&tj.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){tj.__e(e,t.__v)}})}function t7(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){tj.__e(e,n)}}function t9(e,t,n){return this.constructor(e,n)}function ne(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),tj.__&&tj.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],a=[],t8(t,e=(!r&&n||t).__k=tK(tV,null,[e]),o||tH,tH,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?tO.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),t5(i,e,a),e.props.children=null}tO=tz.slice,tj={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},tI=0,tY.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=tZ({},this.state),"function"==typeof e&&(e=e(tZ({},n),this.props)),e&&tZ(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),tQ(this))},tY.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),tQ(this))},tY.prototype.render=tV,tT=[],tC="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 7,509 bytes, line 1
1ise.resolve()):setTimeout,tU=function(e,t){return e.__v.__b-t.__v.__b},t0.__r=0,tM="__d"+(tD=Math.random().toString(8)),tN="__a"+tD,tq=/(PointerCapture)$|Capture$/i,tF=0,tR=t6(!1),tW=t6(!0);var nt,nn,nr,no,ni=0,na=[],nu=tj,nl=nu.__b,nc=nu.__r,ns=nu.diffed,nf=nu.__c,nd=nu.unmount,n_=nu.__;function np(e,t){nu.__h&&nu.__h(nn,e,ni||t),ni=0;var n=nn.__H||(nn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function nh(e,t,n){var r=np(nt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):nw(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=nn,!nn.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=!1,a=r.__c.props!==e;if(r.__c.__H.__.some(function(e){if(e.__N){o=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),i){var u=i.call(this,e,t,n);return o?u||a:u}return!o||a};nn.__f=!0;var i=nn.shouldComponentUpdate,a=nn.componentWillUpdate;nn.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},nn.shouldComponentUpdate=o}return r.__N||r.__}function nv(e,t){var n,r,o=np(nt++,3);!nu.__s&&(n=o.__H,r=t,!n||n.length!==r.length||r.some(function(e,t){return e!==n[t]}))&&(o.__=e,o.u=t,nn.__H.__h.push(o))}function ny(){for(var e;e=na.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(nb),t.__h.some(ng),t.__h=[]}catch(n){t.__h=[],nu.__e(n,e.__v)}}}nu.__b=function(e){nn=null,nl&&nl(e)},nu.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),n_&&n_(e,t)},nu.__r=function(e){nc&&nc(e),nt=0;var t=(nn=e.__c).__H;t&&(nr===nn?(t.__h=[],nn.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(nb),t.__h.some(ng),t.__h=[],nt=0)),nr=nn},nu.diffed=function(e){ns&&ns(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==na.push(t)&&no===nu.requestAnimationFrame||((no=nu.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),nm&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);nm&&(t=requestAnimationFrame(n))})(ny)),t.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),nr=nn=null},nu.__c=function(e,t){t.some(function(e){try{e.__h.some(nb),e.__h=e.__h.filter(function(e){return!e.__||ng(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],nu.__e(n,e.__v)}}),nf&&nf(e,t)},nu.unmount=function(e){nd&&nd(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{nb(e)}catch(e){t=e}}),n.__H=void 0,t&&nu.__e(t,n.__v))};var nm="function"==typeof requestAnimationFrame;function nb(e){var t=nn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),nn=t}function ng(e){var t=nn;e.__c=e.__(),nn=t}function nw(e,t){return"function"==typeof t?t(e):t}function nk(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function nS(e,t){this.props=e,this.context=t}(nS.prototype=new tY).isPureReactComponent=!0,nS.prototype.shouldComponentUpdate=function(e,t){return nk(this.props,e)||nk(this.state,t)};var nA=tj.__b;tj.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),nA&&nA(e)},"u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var nP=tj.__e;tj.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k||[]),o.__c(e,t)}nP(e,t,n,r)};var nx=tj.unmount;function nE(){this.__u=0,this.o=null,this.__b=null}function nO(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function nj(){this.i=null,this.l=null}tj.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),nx&&nx(e)},(nE.prototype=new tY).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=nO(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var u=n.__P;n.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.o.pop();)e.__P=u,e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},nE.prototype.componentWillUnmount=function(){this.o=[]},nE.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&tK(tV,null,e.fallback);return o&&(o.__u&=-33),[tK(tV,null,t.__a?null:e.children),o]};var nI=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};(nj.prototype=new tY).__a=function(e){var t=this,n=nO(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),nI(t,e,r)):o()};n?n(i):i()}},nj.prototype.render=function(e){this.i=null,this.l=new Map;var t=t2(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},nj.prototype.componentDidUpdate=nj.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){nI(e,n,t)})};var nT="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,nL=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nC=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,nU=/[A-Z0-9]/g,nD="u">typeof document,nM=function(e){var t;return("u">typeof Symbol&&"symbol"==((t=Symbol())&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?/fil|che|rad/:/fil|che|ra/).test(e)};tY.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(tY.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var nN=tj.event;tj.event=function(e){return nN&&(e=nN(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var nq={configurable:!0,get:function(){return this.class}},nF=tj.vnode;tj.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1==n.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||nD&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var u=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===u&&"no"===a?a=!1:"o"===u[0]&&"n"===u[1]?"ondoubleclick"===u?i="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||nM(t.type)?"onfocus"===u?i="onfocusin":"onblur"===u?i="onfocusout":nC.test(i)&&(i=u):u=i="oninput":o&&nL.test(i)?i=i.replace(nU,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===u&&r[i=u]&&(i="oninputCapture"),r[i]=a}}"select"==n&&(r.multiple&&Array.isArray(r.value)&&(r.value=t2(t.children).forEac
1h(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),null!=r.defaultValue&&(r.value=t2(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",nq)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=nT,nF&&nF(e)};var nR=tj.__r;tj.__r=function(e){nR&&nR(e),e.__c};var nW=tj.diffed;tj.diffed=function(e){nW&&nW(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var nH=0;function nz(e,t,n,r,o,i){t||(t={});var a,u,l=t;if("ref"in l)for(u in l={},t)"ref"==u?a=t[u]:l[u]=t[u];var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--nH,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(u in a)void 0===l[u]&&(l[u]=a[u]);return tj.vnode&&tj.vnode(c),c}var nB={slider:{arrows:!1,pagination:!1,drag:"free",fixedWidth:th()?290:350},carousel:{arrows:!0,pagination:!0,type:"loop",autoplay:!1,keyboard:!0,snap:!0,focus:"center",gap:"12px",speed:600,fixedWidth:th()?window.innerWidth:window.innerWidth>=tp.ultraWide?1250:window.innerWidth>=tp.widescreen?1071:788,classes:{pagination:"splide__pagination video-teaser-list__pagination",arrows:"splide__arrows video-teaser-list__arrows",arrow:"splide__arrow video-teaser-list__arrow"}},"left-aligned":{arrows:!0,pagination:!0,type:"loop",autoplay:!1,keyboard:!0,snap:!0,focus:0,gap:"12px",speed:600,fixedWidth:th()?"97vw":"85%",classes:{pagination:"splide__pagination video-teaser-list__pagination",arrows:"splide__arrows video-teaser-list__arrows",arrow:"splide__arrow video-teaser-list__arrow"}}};function nJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nZ=((r={}).xxl="xxlarge",r.xl="xlarge",r.lg="large",r.md="medium",r.sm="small",r.xs="xsmall",r.xxs="xxsmall",r),n$=(nJ(i={},"xxsmall",10),nJ(i,"xsmall",16),nJ(i,"small",20),nJ(i,"medium",24),nJ(i,"large",28),nJ(i,"xlarge",32),nJ(i,"xxlarge",36),i);let nK=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.className,o=e.children,i=e.viewport,a=e.fill,u=e.onClick;return nz("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:i,height:n$[n],width:n$[n],style:"min-width: ".concat(n$[n],"px"),className:"icon--".concat(n).concat(r?" ".concat(r):""),fill:a||"currentColor",onClick:u,children:o})},nG=function(e){return nz(nK,{size:e.size,className:e.className,fill:"none",viewport:"0 0 24 24",children:nz("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",fill:"currentColor"})})},nV=function(e){return nz(nK,{size:e.size,className:e.className,fill:"none",viewport:"0 0 24 24",children:nz("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",fill:"currentColor"})})},nY=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nB.slider;if(e){var o=e.querySelector(".splide");o&&n.e(11).then(n.bind(n,5734)).then(function(e){var n=new e.Splide(o,r);n.on("arrows:mounted",function(e,t){e.innerHTML="",t.innerHTML="",ne(nz(nG,{size:nZ.xl}),e),ne(nz(nV,{size:nZ.xl}),t)}),t&&t(n),n.mount()})}};var nX={slider:{arrows:!1,pagination:!1,drag:"free",autoWidth:!0,focus:0},carousel:{arrows:!1,pagination:!1,drag:!1,autoWidth:!0,focus:0,autoplay:!0,type:"loop",speed:500}};let nQ=function(){document.querySelectorAll("[data-icon-links-slider]").forEach(function(e){var t=e.querySelector(".icon-links__fader");nY(e,function(e){if(t){var n=function(){var n=e.Components.Controller.getEnd(),r=e.index>=n;t.classList.toggle("is-hidden",r)};e.on("mounted",function(){n(),e.on("moved dragged resized updated",n)})}},"carousel"===e.dataset.iconLinksTemplate?nX.carousel:nX.slider)})};var n0=function(e){if(e.ok)return e.json();throw Error("HTTP ".concat(e.status,": ").concat(e.statusText))};let n1=function(e,t){return fetch(e,{signal:t,credentials:"same-origin",headers:new Headers({Accept:"application/json"}),method:"GET"}).then(function(e){return n0(e)})};function n2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var n3=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],n4="https://avisendanmark.dk";function n6(e){var t,n=e.url,r=e.currentSite,o=function(e){if(Array.isArray(e))return e}((ni=1,t=nh(nw,{isFrontPage:!0,slug:"",articles:[],author:{imageUrl:"",jobPosition:"",name:""},date:"",introductionLead:"",introductionParagraph:""})))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return n2(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n2(e,2)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];nv(function(){n1(n).then(function(e){a(e)}).catch(function(e){console.error("Could not fetch the latest ADK front page",e)})},[n]);var u="";if(i&&!i.isFrontPage&&i.slug&&(u="/".concat(i.slug)),!i)return nz("div",{style:{display:"none"}});var l="?utm_source=".concat(r,"&utm_medium=block_avisen_danmark");return nz("div",{class:"avisendanmark-block",children:[nz("header",{class:"avisendanmark-block__header",children:[nz("h3",{class:"avisendanmark-block__headline",children:["Dagens",nz("br",{}),"Danmark"]}),nz("div",{class:"avisendanmark-block__date",children:[nz("span",{class:"avisendanmark-block__day",children:i&&i.date?i.date.split("-")[2]:""}),nz("span",{class:"avisendanmark-block__month",children:i&&i.date&&n3[parseFloat(i.date.split("-")[1])-1]||""})]})]}),nz("div",{className:"avisendanmark-block__lead",children:"Dagens Danmark er din nye daglige nyhedsbriefing. Vi sk\xe6rer igennem nyhedsstr\xf8mmen, og hver dag udkommer vi med d\xf8gnets vigtigste historier."}),nz("a",{className:"btn avisendanmark-block__btn",href:"".concat(n4,"/nyhedsbrev").concat(l),target:"_blank",title:"Tilmeld nyhedsbrev",rel:"noreferrer",children:"Tilmeld nyhedsbrev"}),nz("div",{class:"avisendanmark-block__author",children:[nz("img",{class:"avisendanmark-block__image",src:i.author.imageUrl,alt:i.author.name}),nz("div",{class:"avisendanmark-block__name",children:i.author.name}),nz("div",{class:"avisendanmark-block__job-position",children:i.author.jobPosition})]}),nz("p",{class:"avisendanmark-block__paragraph",children:i.introductionParagraph}),nz("a",{class:"avisendanmark-block__btn btn",href:"".concat(n4).concat(u).concat(l),target:"_blank",title:"Se nyhedsbrev",rel:"noreferrer",children:"Se nyhedsbrev"})]})}function n8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var n5=function(e){return"?utm_source=".concat(e,"&utm_medium=block_editor_section")},n7=function(e,t){return"//".concat(e,"/").concat(t)},n9=function(e,t){var n=e.url,r=e.headline;return nz("li",{class:"editor-section-block__item",children:nz("a",{class:"editor-section-block__link",href:"".concat(n).concat(n5(t)),target:"_blank",title:r,rel:"noreferrer",children:r})})};function re(e){var t,n=e.baseUrl,r=e.amount,o=e.contentUrl,i=e.aboutSlug,a=e.aboutText,u=e.title,l=e.lead,c=e.target,s=e.currentSite,f=function(e){if(Array.isArray(e))return e}((ni=1,t=nh(nw,{articles:[],author:{name:"",jobPosition:"",imageUrl:""},date:"",introductionLead:"",slug:"",isFrontPage:!0})))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return n8(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n8(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=f[0],_=f[1];nv(function(){n1(o).then(function(e){return _(e)}).catch(function(e){throw Error("Could not fetch content; ".concat(e.toString()))})},[o]);var p=d.isFrontPage,h=d.slug,v=d.articles,y=d.author,m=y.imageUrl,b=y.name,g=y.jobPosition,w="avisendanmark.dk"===n;return nz("div",{class:"editor-section-block ".concat(w?"editor-section-block--avisendanmark":null),children:[nz("header",{class:"editor-section-block__header",children:[nz("h3",{class:"editor-section-block__headline",children:u}),nz("div",{class:"editor-section-block__date",children:[nz("span",{class:"editor-section-block__day",children:d.date.split("-")[2]}),nz("span",{class:"editor-section-block__month",children:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"][parseFloat(d.date.split("-")[1])-1]||""})]})]}),nz("div",{class:"editor-section-block__author",children:[nz("img",{class:"editor-section-block__image",src:m,alt:b}),nz("div",{class:"editor-section-block__name",children:b}),nz("div",{class:"editor-section-block__job-position",children:g})]}),nz("div",{class:"editor-section-block__lead",children:l}),nz("ol",{class:"editor-section-block__list",children:v.map(function(e,t){return t+1>r?null:n9(e,s)})}),nz("a",{class:"editor-section-block__read-more",href:n7(n,p?""
1:h)+n5(s),target:c,title:"L\xe6s seneste udgave",rel:"noreferrer",children:["L\xe6s seneste udgave ",nz("span",{class:"icon icon-arrow-right"})]}),nz("a",{class:"btn editor-section-block__btn",href:n7(n,i)+n5(s),target:c,title:a,rel:"noreferrer",children:a})]})}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rn(e){return function(e){if(Array.isArray(e))return rt(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return rt(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rt(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}let rr=function(){var e=document.querySelector("header.header");rn(document.querySelectorAll("[data-publication-list-block]")).forEach(function(t){t.reset();var n,r=rn(t.querySelectorAll("[data-publication-list-block-item]")),o=t.querySelector("[data-publication-list-block-submit]");0!==r.length&&null!==o&&(r.forEach(function(r){r.addEventListener("click",function(){n&&clearTimeout(n),n=setTimeout(function(){(o.removeAttribute("disabled"),t.offsetHeight<window.innerHeight-2*((null==e?void 0:e.offsetHeight)||0))?t.scrollIntoView({behavior:"smooth",block:"center"}):o.scrollIntoView({behavior:"smooth",block:"center"})},1e3)})}),t.addEventListener("submit",function(e){e.preventDefault();var n=new FormData(t).get("publication");n&&(window.location.href=n.toString())}))})};var ro=function(e){var t=e.querySelector("[data-hero-block-description]"),n=e.querySelector("[data-hero-block-description-wrapper]"),r=e.querySelector("[data-hero-block-expand-button]"),o=e.querySelector("[data-hero-block-expand-button-label]");t&&r&&o&&n&&r.addEventListener("click",function(){e.hasAttribute("data-expanded")?(e.removeAttribute("data-expanded"),o.innerHTML="L\xe6s mere",n.addEventListener("transitionend",function(){t.setAttribute("data-clamped","true")},{once:!0})):(e.setAttribute("data-expanded","true"),t.removeAttribute("data-clamped"),o.innerHTML="Vis mindre")})},ri=function(e){var t=e.parentElement;null==t||t.classList.add("grid__sticky-block")};Array.from(document.querySelectorAll("[data-sticky-banner-location] > .location > .block:last-child .adblock")).map(ri);try{var ra=document.querySelector("[data-sticky-banners]");new Promise(function(e){var t=0,n=setInterval(function(){var r=document.documentElement.getAttribute("class");if(r&&(r.includes("adform-wallpaper-")||r.includes("adsm-skin"))){clearInterval(n),e(!0);return}10===(t+=1)&&(clearInterval(n),e(!1))},500)}).then(function(e){if(e){var t=a(),n=ra.getBoundingClientRect(),r=t.top-n.top;ra.classList.add("section-sticky-banners--wide"),ra.style.top="".concat(r,"px");var o=u(ra,r);ra.style.height="".concat(o,"px"),ra.style.marginBottom="-".concat(o,"px")}else{var i=l(ra);ra.style.height="".concat(i,"px"),ra.style.marginBottom="-".concat(i,"px")}})}catch(e){(null!=(o=Error)&&"u">typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](e):e instanceof o)?console.warn(e,e.stack):console.warn(e)}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tn(function(){var r,o,i,a,u,l,s;return to(this,function(_){var h,b;switch(_.label){case 0:return o=(null==e?void 0:e.cdnApi)||ti("data-zephr-cdn-url"),i=JSON.parse(ti("data-zephr-custom-data")||"{}"),a=""!==o&&"{}"!==JSON.stringify(i),[4,eX.getLoggedInAidUser()];case 1:if(u=_.sent().access.join(",")||"",!a)return document.dispatchEvent(new Event("jfm.zephrDisabled")),v(),[2];return[4,p(4)];case 2:return _.sent(),[4,te()];case 3:return _.sent(),X(function(){return ee(this,function(e){switch(e.label){case 0:if(E()||console.warn("Paywall event tracking is disabled"),window.zephrPaywallTrackingInitialized)return[2];return window.zephrPaywallTrackingInitialized=!0,[4,new Promise(function(e){window.redirectAttempted?e():document.addEventListener("sso_redirect_attempted",function(){e()})})];case 1:return e.sent(),[4,p()];case 2:return e.sent(),[4,j()];case 3:return e.sent(),et(),X(function(){var e,t,n,r,o,i;return ee(this,function(a){switch(a.label){case 0:if(!G.getWebComponent())return[2];return[4,Promise.race([G.TwoProducts.getActiveProduct(),G.OneProduct.getActiveProduct()])];case 1:return e=a.sent(),n=(t=Q(G.getAttributes("cid","tracking-id","ai-paywall"),3))[0],r=t[1],o=t[2],i=R(),F(44,{wId_2:(null==e?void 0:e.offerKey)?[null==e?void 0:e.offerKey]:[""],product:e},{paywall_component_id:n,paywall_tracking_id:r,paywall_ai_paywall:o,paywall_component_name:i}),[2]}})})(),X(function(){var e;return ee(this,function(t){switch(t.label){case 0:if(!G.getWebComponent())return[2];return[4,Promise.race([G.TwoProducts.getCtaButton(),G.OneProduct.getCtaButton()])];case 1:return(e=t.sent()).addEventListener("click",function(t){return X(function(){var n,r,o,i,a,u;return ee(this,function(l){switch(l.label){case 0:return t.preventDefault(),[4,Promise.race([G.TwoProducts.getActiveProduct(),G.OneProduct.getActiveProduct()])];case 1:return n=l.sent(),o=(r=Q(G.getAttributes("cid","tracking-id","ai-paywall"),3))[0],i=r[1],a=r[2],u=R(),[4,F(28,{wId_2:(null==n?void 0:n.offerKey)?[null==n?void 0:n.offerKey]:[""],product:n},{paywall_component_id:o,paywall_tracking_id:i,paywall_ai_paywall:a,paywall_component_name:u})];case 2:return l.sent(),window.location.href=e.href,[2]}})})()}),[2]}})})(),[2]}})})(),[4,new Promise(function(e,t){e9(e,t,Date.now(),"runZephrHtmlFeatureRules",void 0)})];case 4:return l=_.sent().isUserMigrated,s=tr((h=tr({},i),b=b={referer:document.referrer,consent:(null==(r=window.utag)?void 0:r.data["cp.step_consent"])||"",url_path:window.location.pathname,hostName:window.location.hostname,userAgent:window.navigator.userAgent,app:"".concat(P()),isUserMigrated:l,aid:u},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(b)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(b)).forEach(function(e){Object.defineProperty(h,e,Object.getOwnPropertyDescriptor(b,e))}),h),t),n.e(382).then(n.bind(n,1821)).then(function(e){(0,e.run)({customData:s,cdnApi:o}).then(function(){v(),null===document.getElementById("zephr-article-end")&&c()&&(m(),S(),y())}).catch(function(e){return tn(function(){var t;return to(this,function(n){switch(n.label){case 0:if(!(t=null!==document.querySelector("[data-requires-payment]")&&c()))return[3,2];return[4,f()];case 1:t=!n.sent(),n.label=2;case 2:throw t?(m(),S(),y()):v(),document.dispatchEvent(new Event(d)),Error("Zephr failed: ".concat(e))}})})()})}),[2]}})})()})(),td(),tw(),nQ(),document.querySelectorAll("[data-avisendanmark-latest]").forEach(function(e){var t=e.dataset,n=t.url,r=t.currentSiteUrl;e&&n&&ne(nz(n6,{url:n,currentSite:null!=r?r:""}),e)}),document.querySelectorAll("[data-editor-section-block]").forEach(function(e){var t=e.dataset,n=t.amount,r=t.baseUrl,o=t.contentUrl,i=t.aboutSlug,a=t.aboutText,u=t.title,l=t.lead,c=t.target,s=t.currentSiteUrl;n&&r&&o&&i&&a&&u&&l&&c&&ne(nz(re,{amount:parseFloat(n),baseUrl:r,contentUrl:o,aboutSlug:i,aboutText:a,title:u,lead:l,target:c,currentSite:null!=s?s:""}),e)}),rr(),document.querySelectorAll("[data-hero-block]").forEach(ro),document.addEventListener("personalised_content_loaded",td)}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.d=(e,t,n)=>{var r=(t,n)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[n]:t[r]})};r(t,"get"),r(n,"value")},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>""+e+".js",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},i.l=function(e,t,n,r){if(a[e])return void a[e].push(t);if(void 0!==n)for(var o,u,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var s=l[c];if(s.getAttribute("src")==e||s.getAttribute("data-rspack")=="jfm-site:"+n){o=s;break}}o||(u=!0,(o=document.createElement("script")).timeout=120,i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-rspack","jfm-site:"+n),o.src=e),a[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(d);var r=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),u&&document.head.appendChild(o)},i.g.importScripts&&(u=i.g.location+"");var a,u,l=i.g.document;if(!u&&l&&(l.currentScript&&"SCRIPT"===l.currentScript.tagName.toUpperCase()&&(u=l.currentScript.src),!u)){var c=l.getElementsByTagName("script");if(c.length)for(var s=c.length-1;s>-1&&(!u||!/^http(s?):/.test(u));)u=c[s--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");i.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={829:0},i.f.j=function(t,n){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),u=Error();i.l(a,function(n){if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",u.name="ChunkLoadError",u.type=o,u.request=a,r[1](u)}},"chunk-"+t,t)}},t=(t,n)=>{var r,o,[a,u,l]=n,c=0;if(a.some(t=>0!==e[t])){for(r in u)i.o(u,r)&&(i.m[r]=u[r]);l&&l(i)}for(t&&t(n);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(n=self.rspackChunkjfm_site=self.rspackChunkjfm_site||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),section=i(3577)})();
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.