1var tealium;(()=>{"use strict";var e,t,n,r={3471(e,t,n){var r,i,o,a="10.73.0",s=globalThis;function u(e){var t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||a,t[a]=t[a]||{}}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=n.__SENTRY__=n.__SENTRY__||{},i=r[a]=r[a]||{};return i[e]||(i[e]=t())}var l="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function f(e){if(void 0!==r)return r?r(e):e();var t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in s&&"function"==typeof s[t]?(r=s[t])(e):(r=null,e())}function d(){return f(function(){return Math.random()})}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.crypto||s.msCrypto;try{if(null==e?void 0:e.randomUUID)return f(function(){return e.randomUUID()}).replace(/-/g,"")}catch(e){}return i||(i="10000000100040008000100000000000"),i.replace(/[018]/g,function(e){return(e^(15&16*d())>>e/4).toString(16)})}function h(){return f(function(){return Date.now()})/1e3}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 g(e){return function(e){if(Array.isArray(e))return v(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 v(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 v(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 y={};function m(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];l&&function(){return l?c("loggerSettings",function(){return{enabled:!1}}):{enabled:!1}}().enabled&&function(e){if(!("console"in s))return e();var t=s.console,n={},r=Object.keys(y);r.forEach(function(e){var r=y[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(function(e){t[e]=n[e]})}}(function(){var t;(t=s.console)[e].apply(t,["".concat("Sentry Logger ","[").concat(e,"]:")].concat(g(n)))})}var b=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];m.apply(void 0,["log"].concat(g(t)))},_=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];m.apply(void 0,["warn"].concat(g(t)))},w=Object.prototype.toString,S="_sentrySpan";function k(e,t){if(t){var n=function(e){try{var t=s.WeakRef;if("function"==typeof t)return new t(e)}catch(e){}return e}(t);try{Object.defineProperty(e,S,{value:n,writable:!0,configurable:!0})}catch(t){l&&b('Failed to add non-enumerable property "'.concat(String(S),'" to object'),e)}}else delete e[S]}function E(e){var t=e[S];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 I(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 j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(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){j(e,t,n[t])})}return e}function P(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 x(e){return function(e){if(Array.isArray(e))return I(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 I(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 I(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 A=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:p(),sampleRand:d()}}return e=[{key:"clone",value:function(){var e=new t;return e._breadcrumbs=x(this._breadcrumbs),e._tags=O({},this._tags),e._attributes=O({},this._attributes),e._extra=O({},this._extra),e._contexts=O({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:x(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=x(this._eventProcessors),e._attachments=x(this._attachments),e._sdkProcessingMetadata=O({},this._sdkProcessingMetadata),e._propagationContext=O({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,k(e,E(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!=o?o:o=function(){var e=s.performance;if(!(null==e?void 0:e.now)||!e.timeOrigin)return h;var t=e.timeOrigin;return function(){return(t+f(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:p()),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=O({},this._tags,e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this.setTags(j({},e,t))}},{key:"setAttributes",value:function(e){return this._attributes=O({},this._attributes,e),this._notifyScopeListeners(),this}},{key:"setAttribute",value:function(e,t){return this.setAttributes(j({},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=O({},this._extra,e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=P(O({},this._extra),j({},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():w.call(n)==="[object ".concat("Object","]")?e:void 0)||{},i=r.tags,o=r.attributes,a=r.extra,s=r.user,u=r.contexts,c=r.level,l=r.fingerprint,f=void 0===l?[]:l,d=r.propagationContext,p=r.conversationId;return this._tags=O({},this._tags,i),this._attributes=O({},this._attributes,o),this._extra=O({},this._extra,a),this._contexts=O({},this._contexts,u),s&&Object.keys(s).length&&(this._user=s),c&&(this._level=c),f.length&&(this._fingerprint=f),d&&(this._propagationContext=d),p&&(this._conversationId=p),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,k(this,void 0),this._attachments=[],this.setPropagationContext({traceId:p(),sampleRand:d()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(e,t){var n,r="number"==typeof t?t:100;if(r<=0)return this;var i=P(O({timestamp:h()},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(i),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:E(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 i=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 o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=e(i[o],n[o],r-1));return i}(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)||p();if(!this._client)return l&&_("No client configured on scope - will not capture exception!"),n;var r=Error("Sentry syntheticException");return this._client.captureException(e,P(O({originalException:e,syntheticException:r},t),{event_id:n}),this),n}},{key:"captureMessage",value:function(e,t,n){var r,i=(null==n?void 0:n.event_id)||p();if(!this._client)return l&&_("No client configured on scope - will not capture message!"),i;var o=null!=(r=null==n?void 0:n.syntheticException)?r:Error(e);return this._client.captureMessage(e,t,P(O({originalException:e,syntheticException:o},n),{event_id:i}),this),i}}
1,{key:"captureEvent",value:function(e,t){var n=e.event_id||(null==t?void 0:t.event_id)||p();return this._client?this._client.captureEvent(e,P(O({},t),{event_id:n}),this):l&&_("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}(),T=function(e){var t;return(null!=(t=Promise)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)&&!e[L]},L=Symbol("chained PromiseLike"),U=function(e,t,n){var r=e.then(function(e){return t(e),e},function(e){throw n(e),e});return T(r)&&T(e)?r:C(e,r)},C=function(e,t){if(!t)return e;var n,r=!1;for(var i in e)!function(n){if(!(n in t)){r=!0;var i=e[n];"function"==typeof i?Object.defineProperty(t,n,{value:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return i.apply(e,n)},enumerable:!0,configurable:!0,writable:!0}):t[n]=i}}(i);return r&&Object.assign(t,(L in(n={})?Object.defineProperty(n,L,{value:!0,enumerable:!0,configurable:!0,writable:!0}):n[L]=!0,n)),t},M=function(){var e;function t(e,n){var r,i;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");r=e||new A,i=n||new A,this._stack=[{scope:r}],this._isolationScope=i}return e=[{key:"withScope",value:function(e){var t,n,r=this,i=this._pushScope();try{n=e(i)}catch(e){throw this._popScope(),e}return(null==(t=n)?void 0:t.then)&&"function"==typeof t.then?U(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 D(){var e=(u(s),s),t=u(e);return t.stack=t.stack||new M(c("defaultCurrentScope",function(){return new A}),c("defaultIsolationScope",function(){return new A}))}function N(e){return D().withScope(e)}function J(e,t){var n=D();return n.withScope(function(){return n.getStackTop().scope=e,t(e)})}function R(e){return D().withScope(function(){return e(D().getIsolationScope())})}function B(e){var t=u(e);return t.acs?t.acs:{withIsolationScope:R,withScope:N,withSetScope:J,withSetIsolationScope:function(e,t){return R(t)},getCurrentScope:function(){return D().getScope()},getIsolationScope:function(){return D().getIsolationScope()}}}function F(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 K(){return B((u(s),s)).getCurrentScope()}function q(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=B((u(s),s));if(2===t.length){var i=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 i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(t)||function(e){if(e){if("string"==typeof e)return F(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 F(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.")}(),o=i[0],a=i[1];return o?r.withSetScope(o,a):r.withScope(a)}return r.withScope(t[0])}var W=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function G(e,t){return K().captureException(e,function(e){if(e)return function(e){return(null!=A&&"u">typeof Symbol&&A[Symbol.hasInstance]?!!A[Symbol.hasInstance](e):e instanceof A)||"function"==typeof e}(e)||Object.keys(e).some(function(e){return W.includes(e)})?{captureContext:e}:e}(t))}var Y="jfm_aid_test";let $={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(Y)},setAidTestMode:function(e){try{e?this.setCookie(Y,"true"):this.deleteCookie(Y)}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)}}};var z="kodus.layout.app";let H=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(z);if("false"===t)return localStorage.removeItem(z),!1;var r=["true","on","1","yes"].includes(null!=(e=null!=t?t:n)?e:"");return null!==t&&r&&localStorage.setItem(z,"true"),r};function Z(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function Q(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Z(o,r,i,a,s,"next",e)}function s(e){Z(o,r,i,a,s,"throw",e)}a(void 0)})}}function V(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function X(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:u(0)}),s(a,"throw",{value:u(1)}),s(a,"return",{value:u(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function u(s){return function(u){var c=[s,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var ee=function(){try{return H()}catch(e){return!1}},et={uuid:"",name:null,access:[],loggedIn:!1,trackingKey:""},en=null,er=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}},ei={getModule:function(){return Q(function(){var e;return X(this,function(t){switch(t.label){case 0:if(en)return[2,en];en=new Promise(function(e,t){var r=setTimeout(function(){var e=Error("aID module load timed out");q(function(t){t.setLevel("error"),t.setTag("feature","aid_module_load"),t.setExtra("url",window.location.href),G(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,en];case 2:return[2,t.sent()];case 3:throw e=t.sent(),en=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]")&&$.isAidEnabled()},getLoggedInAidUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return Q(function(){var t,n,r,i,o,a;return X(this,function(s){switch(s.label){case 0:if(ee())return[2,et];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,ei.getModule()];case 2:return t=s.sent(),[3,4];case 3:return s.sent(),[2,et];case 4:n=t.UserDataRequest,r=t.FetchTimeoutError,i={},s.label=5;case 5:return s.trys.push([5,7,,8]),[4,new n().withAttributes(["uuid","name","access","trackingKey"]).fetch({timeout:1e3*e})];case 6:return i=s.sent(),[3,8];case 7:if(V(o=s.sent(),Error)&&o.message.includes("aID is not responding"))console.warn("aID: Not setup for this domain");else if(V(o,r))return console.warn("aID: User data request timed out. Partial data fetched"),[2,er(null==(a=o.partialData)?void 0:a.state,null==a?void 0:a.attributes)];return[2,et];case 8:return[2,er(i.state,null==i?void 0:i.attributes)]}})})()},logout:function(){return Q(function(){var e;return X(this,function(t){switch(t.label){case 0:if(ee())return[2];return[4,ei.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 Q(function(){return X(this,function(n){switch(n.label){case 0:if(ee())return[2];return[4,ei.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())}},eo={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)),eo.entries.push(r);var i=document.createElement("li");i.classList.add("js-logger__item"),i.innerHTML=r,null==(n=document.querySelector("[data-log-list] ul"))||n.append(i)}},ea="blaize_jwt";let es={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 i=atob(r);t=JSON.parse(i)}catch(e){var o,a=(null!=(o=Error)&&"u">typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](e):e instanceof o)?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(ea,"="))});if(!e)return eo.log("[AuthToken] No ".concat(ea," cookie found")),null;var t=e.split("=")[1];if(!t)return eo.log("[AuthToken] No ".concat(ea," 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||eo.log("[AuthToken] Unable to determine user type: no JWT payload found"),n}};function eu(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function ec(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){eu(o,r,i,a,s,"next",e)}function s(e){eu(o,r,i,a,s,"throw",e)}a(void 0)})}}function el(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:u(0)}),s(a,"throw",{value:u(1)}),s(a,"return",{value:u(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function u(s){return function(u){var c=[s,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var ef="LOGIN_STATE",ed=function(e){sessionStorage.setItem(ef,JSON.stringify(e))},ep=function(){var e=sessionStorage.getItem(ef);return e?JSON.parse(e):null},eh=function(e){document.dispatchEvent(new CustomEvent("LOGIN_FINISHED",{detail:e})),window.loginFinished=!0;var t=e.loggedIn,n=e.aidId,r=e.epaperAccess,i=es.isLoggedIn();if(t||n||i){var o=document.documentElement.classList;o.add("is-logged-in"),r&&o.add("has-epaper-access")}},ev=function(e,t,n,r,i){var o=sessionStorage.getItem(ef);if(o&&(!0===window.loginFinished||!0===i)){var a=JSON.parse(o);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?(q(function(e){e.setLevel("warning"),e.setTag("feature","get_logged_in_user"),e.setExtra("timeoutMs",2e4),e.setExtra("hasLoginState",!!o),e.setExtra("loginFinished",!0===window.loginFinished),e.setExtra("url",window.location.href),G(Error("getL
1oggedInUser: Timeout".concat(r?": ".concat(r):"")))}),t(Error("getLoggedInUser: Timeout"))):setTimeout(function(){return ev(e,t,n,r,i)},100)};let eg=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 ec(function(){var e,t,n,r;return el(this,function(i){switch(i.label){case 0:return e=36e5,[4,ei.getLoggedInAidUser()];case 1:return n=(t=i.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(i){return ec(function(){var o,a,s,u,c;return el(this,function(l){return o=i.id||"",a=i.is_logged_in||!1,s=i.hashed_email||"",u=i.epaper_access||!1,c=i.is_user_migrated||!1,ed({id:o,loggedIn:a,expires:new Date().getTime()+e,hashedEmail:s,epaperAccess:u,aidTrackingKey:n,aidId:r,isUserMigrated:c}),t({id:o,loggedIn:a,hashedEmail:s,epaperAccess:u,aidTrackingKey:n,aidId:r,isUserMigrated:c}),[2]})})()}).catch(function(e){q(function(t){t.setLevel("warning"),t.setTag("feature","set_login_state"),t.setExtra("error",e),t.setExtra("url",window.location.href),K().captureMessage("setLoginState failed",void 0,{captureContext:void 0})});var n=ep();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){eh(e)})})),window.jfmShadowUser.aidZephrBridgePromise};function ey(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 em(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){n(e);return}s.done?t(u):Promise.resolve(u).then(r,i)}function eb(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){em(o,r,i,a,s,"next",e)}function s(e){em(o,r,i,a,s,"throw",e)}a(void 0)})}}function e_(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:u(0)}),s(a,"throw",{value:u(1)}),s(a,"return",{value:u(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function u(s){return function(u){var c=[s,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var ew=function(e){var t=document.getElementsByTagName("body")[0],n=document.createElement("script");return n.type="text/javascript",n.async=!0,n.src=e,t.prepend(n),new Promise(function(e){n.onload=function(){return e()}})},eS=function(){return eb(function(){var e,t,n,r,i,o,a,s;return e_(this,function(u){var c;switch(u.label){case 0:if(e=window.utagUrl,t=window.cachedUtagData,n=window.tealiumUserDataUrl,(void 0===t?"undefined":(c=t)&&"u">typeof Symbol&&c.constructor===Symbol?"symbol":typeof c)!="object")throw Error("Cached tealium data layer not found!");if("string"!=typeof e)throw Error("utag_url not found");if("string"!=typeof n)throw Error("tealium user data url not found!");if(t.jfm_referrer=window.jfmReferrer||"",r=n,i="",o="anonymous",a=!1,!H())return[3,5];u.label=1;case 1:if(u.trys.push([1,4,,5]),!window.parent.pugpigBridgeService)return[3,3];return[4,window.parent.pugpigBridgeService.pushUserIdentifier()];case 2:o=u.sent(),u.label=3;case 3:return[3,5];case 4:return console.warn(u.sent()),[3,5];case 5:return s=ei.getLoggedInAidUser().catch(function(){return null}),[4,eg()];case 6:return u.sent(),[2,new Promise(function(e,t){ev(e,t,Date.now(),"initTealium",void 0)}).then(function(e){r="".concat(n,"?ev=").concat(e.hashedEmail||""),i=e.aidTrackingKey,a=e.isUserMigrated}
1).catch(function(){r=n}).finally(function(){return Promise.all([fetch(r).then(function(e){return e.json()}),s]).then(function(n){var r,s,u,c=function(e){if(Array.isArray(e))return e}(n)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(n)||function(e){if(e){if("string"==typeof e)return ey(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 ey(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=c[0],f=c[1];return window.utag_data=(r=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,l),s=s={user_migrated:a,aid_tracking_key:i,aid_access:null!=(u=null==f?void 0:f.access)?u:[]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(s)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(s,e))}),r),H()&&(window.utag_data.pugpig_device_id=o),ew(e)}).catch(function(){throw Error("Failed to get user data for tealium data layer")})})]}})})()};eb(function(){return e_(this,function(e){switch(e.label){case 0:if(!H())return[3,2];return[4,new Promise(function(e,t){window.parent.pugpigBridgeService&&e(!0);var n=!1,r=setInterval(function(){window.parent.pugpigBridgeService&&(n=!0,e(!0))},250);setTimeout(function(){n||(clearInterval(r),t(Error("Bridge service could not be loaded in time")))},5e3)}).catch(console.warn)];case 1:e.sent(),e.label=2;case 2:return new Promise(function(e){window.redirectAttempted?e():document.addEventListener("sso_redirect_attempted",function(){e()})}).then(eS).then(function(){var e=new Event("tealium_loaded");document.dispatchEvent(e)}),[2]}})})()}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,o),n.exports}o.m=r,o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,n)=>(o.f[n](e,t),t),[])),o.u=e=>""+e+".js",o.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o.l=function(e,t,n,r){if(a[e])return void a[e].push(t);if(void 0!==n)for(var i,s,u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var l=u[c];if(l.getAttribute("src")==e||l.getAttribute("data-rspack")=="jfm-site:"+n){i=l;break}}i||(s=!0,(i=document.createElement("script")).timeout=120,o.nc&&i.setAttribute("nonce",o.nc),i.setAttribute("data-rspack","jfm-site:"+n),i.src=e),a[e]=[t];var f=function(t,n){i.onerror=i.onload=null,clearTimeout(d);var r=a[e];if(delete a[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)},o.g.importScripts&&(s=o.g.location+"");var a,s,u=o.g.document;if(!s&&u&&(u.currentScript&&"SCRIPT"===u.currentScript.tagName.toUpperCase()&&(s=u.currentScript.src),!s)){var c=u.getElementsByTagName("script");if(c.length)for(var l=c.length-1;l>-1&&(!s||!/^http(s?):/.test(s));)s=c[l--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");o.p=s=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={249:0},o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((n,i)=>r=e[t]=[n,i]);n.push(r[2]=i);var a=o.p+o.u(t),s=Error();o.l(a,function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}},"chunk-"+t,t)}},t=(t,n)=>{var r,i,[a,s,u]=n,c=0;if(a.some(t=>0!==e[t])){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);u&&u(o)}for(t&&t(n);c<a.length;c++)i=a[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(n=self.rspackChunkjfm_site=self.rspackChunkjfm_site||[]).forEac
1h(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),tealium=o(3471)})();
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.