PageSourceSearch

https://faa.dk/assets/1790839510/kodus/jfm-site/js/app/kilkaya.js

js faa.dk collected 2026-10-02 04:38:38 UTC 19,521 bytes, 1 lines download raw bytes

1var kilkaya;(()=>{"use strict";var t,e,n,r,i="10.73.0",o=globalThis;function s(t){var e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||i,e[i]=e[i]||{}}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,r=n.__SENTRY__=n.__SENTRY__||{},s=r[i]=r[i]||{};return s[t]||(s[t]=e())}var u="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function c(t){if(void 0!==e)return e?e(t):t();var n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in o&&"function"==typeof o[n]?(e=o[n])(t):(e=null,t())}function l(){return c(function(){return Math.random()})}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.crypto||o.msCrypto;try{if(null==t?void 0:t.randomUUID)return c(function(){return t.randomUUID()}).replace(/-/g,"")}catch(t){}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,function(t){return(t^(15&16*l())>>t/4).toString(16)})}function h(){return c(function(){return Date.now()})/1e3}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function d(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return p(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return p(t,void 0)}}(t)||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 v={};function y(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];u&&function(){return u?a("loggerSettings",function(){return{enabled:!1}}):{enabled:!1}}().enabled&&function(t){if(!("console"in o))return t();var e=o.console,n={},r=Object.keys(v);r.forEach(function(t){var r=v[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(function(t){e[t]=n[t]})}}(function(){var e;(e=o.console)[t].apply(e,["".concat("Sentry Logger ","[").concat(t,"]:")].concat(d(n)))})}var _=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];y.apply(void 0,["log"].concat(d(e)))},g=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];y.apply(void 0,["warn"].concat(d(e)))},b=Object.prototype.toString,m="_sentrySpan";function S(t,e){if(e){var n=function(t){try{var e=o.WeakRef;if("function"==typeof e)return new e(t)}catch(t){}return t}(e);try{Object.defineProperty(t,m,{value:n,writable:!0,configurable:!0})}catch(e){u&&_('Failed to add non-enumerable property "'.concat(String(m),'" to object'),t)}}else delete t[m]}function k(t){var e=t[m];if(e){if((void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch(t){return}return e}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){x(t,e,n[e])})}return t}function O(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e.push.apply(e,n)}return e}
1)(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function I(t){return function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return w(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return w(t,void 0)}}(t)||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 j=function(){var t;function e(){if(!(this instanceof e))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:f(),sampleRand:l()}}return t=[{key:"clone",value:function(){var t=new e;return t._breadcrumbs=I(this._breadcrumbs),t._tags=E({},this._tags),t._attributes=E({},this._attributes),t._extra=E({},this._extra),t._contexts=E({},this._contexts),this._contexts.flags&&(t._contexts.flags={values:I(this._contexts.flags.values)}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=I(this._eventProcessors),t._attachments=I(this._attachments),t._sdkProcessingMetadata=E({},this._sdkProcessingMetadata),t._propagationContext=E({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,S(t,k(this)),t}},{key:"setClient",value:function(t){this._client=t}},{key:"setLastEventId",value:function(t){this._lastEventId=t}},{key:"getClient",value:function(){return this._client}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addScopeListener",value:function(t){this._scopeListeners.push(t)}},{key:"addEventProcessor",value:function(t){return this._eventProcessors.push(t),this}},{key:"setUser",value:function(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(null!=r?r:r=function(){var t=o.performance;if(!(null==t?void 0:t.now)||!t.timeOrigin)return h;var e=t.timeOrigin;return function(){return(e+c(function(){return t.now()}))/1e3}}())(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:f()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{var n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}(this._session,{user:t}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"setConversationId",value:function(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}},{key:"setTags",value:function(t){return this._tags=E({},this._tags,t),this._notifyScopeListeners(),this}},{key:"setTag",value:function(t,e){return this.setTags(x({},t,e))}},{key:"setAttributes",value:function(t){return this._attributes=E({},this._attributes,t),this._notifyScopeListeners(),this}},{key:"setAttribute",value:function(t,e){return this.setAttributes(x({},t,e))}},{key:"removeAttribute",value:function(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}},{key:"setExtras",value:function(t){return this._extra=E({},this._extra,t),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(t,e){return this._extra=O(E({},this._extra),x({},t,e)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(t){return this._fingerprint=t,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(t){return this._level=t,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(t){return this._transactionName=t,this._notifyScopeListeners(),this}},{key:"setContext",value:function(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}},{key:"setSession",value:function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(t){if(!t)return this;var n="function"==typeof t?t(this):t,r=((null!=e&&"u">typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e)?n.getScopeData():b.call(n)==="[object ".concat("Object","]")?t:void 0)||{},i=r.tags,o=r.attributes,s=r.extra,a=r.user,u=r.contexts,c=r.level,l=r.fingerprint,f=void 0===l?[]:l,h=r.propagationContext,p=r.conversationId;return this._tags=E({},this._tags,i),this._attributes=E({},this._attributes,o),this._extra=E({},this._extra,s),this._contexts=E({},this._contexts,u),a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),f.length&&(this._fingerprint=f),h&&(this._propagationContext=h),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,S(this,void 0),this._attachments=[],this.setPropagationContext({traceId:f(),sampleRand:l()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(t,e){var n,r="number"==typeof e?e:100;if(r<=0)return this;var i=O(E({timestamp:h()},t),{message:t.message?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}(t.message,2048):t.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(t){return this._attachments.push(t),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:k(this),conversationId:this._conversationId}}},{key:"setSDKProcessingMetadata",value:function(t){return this._sdkProcessingMetadata=function t(e,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(e&&0===Object.keys(n).length)return e;var i=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({},e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=t(i[o],n[o],r-1));return i}(this._sdkProcessingMetadata,t,2),this}},{key:"setPropagationContext",value:function(t){return this._propagationContext=t,this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"captureException",value:function(t,e){var n=(null==e?void 0:e.event_id)||f();if(!this._client)return u&&g("No client configured on scope - will not capture exception!"),n;var r=Error("Sentry syntheticException");return this._client.captureException(t,O(E({originalException:t,syntheticException:r},e),{event_id:n}),this),n}},{key:"captureMessage",value:function(t,e,n){var r,i=(null==n?void 0:n.event_id)||f();if(!this._client)return u&&g("No client configured on scope - will not capture message!"),i;var o=null!=(r=null==n?void 0:n.syntheticException)?r:Error(t);return this._client.captureMessage(t,e,O(E({originalException:t,syntheticException:o},n),{event_id:i}),this),i}}
1,{key:"captureEvent",value:function(t,e){var n=t.event_id||(null==e?void 0:e.event_id)||f();return this._client?this._client.captureEvent(t,O(E({},e),{event_id:n}),this):u&&g("No client configured on scope - will not capture event!"),n}},{key:"_notifyScopeListeners",value:function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}(),A=function(t){var e;return(null!=(e=Promise)&&"u">typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e)&&!t[P]},P=Symbol("chained PromiseLike"),L=function(t,e,n){var r=t.then(function(t){return e(t),t},function(t){throw n(t),t});return A(r)&&A(t)?r:C(t,r)},C=function(t,e){if(!e)return t;var n,r=!1;for(var i in t)!function(n){if(!(n in e)){r=!0;var i=t[n];"function"==typeof i?Object.defineProperty(e,n,{value:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[n]=i}}(i);return r&&Object.assign(e,(P in(n={})?Object.defineProperty(n,P,{value:!0,enumerable:!0,configurable:!0,writable:!0}):n[P]=!0,n)),e},T=function(){var t;function e(t,n){var r,i;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");r=t||new j,i=n||new j,this._stack=[{scope:r}],this._isolationScope=i}return t=[{key:"withScope",value:function(t){var e,n,r=this,i=this._pushScope();try{n=t(i)}catch(t){throw this._popScope(),t}return(null==(e=n)?void 0:e.then)&&"function"==typeof e.then?L(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 t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}},{key:"_popScope",value:function(){return!(this._stack.length<=1)&&!!this._stack.pop()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}();function D(){var t=(s(o),o),e=s(t);return e.stack=e.stack||new T(a("defaultCurrentScope",function(){return new j}),a("defaultIsolationScope",function(){return new j}))}function N(t){return D().withScope(t)}function M(t,e){var n=D();return n.withScope(function(){return n.getStackTop().scope=t,e(t)})}function U(t){return D().withScope(function(){return t(D().getIsolationScope())})}function R(t){var e=s(t);return e.acs?e.acs:{withIsolationScope:U,withScope:N,withSetScope:M,withSetIsolationScope:function(t,e){return U(e)},getCurrentScope:function(){return D().getScope()},getIsolationScope:function(){return D().getIsolationScope()}}}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var F=["user","level","extra","contexts","tags","fingerprint","propagationContext"],Y=function(t,e,n,r,i){var a=sessionStorage.getItem("LOGIN_STATE");if(a&&(!0===window.loginFinished||!0===i)){var u=JSON.parse(a);t({id:u.id||"",loggedIn:u.loggedIn||!1,hashedEmail:u.hashedEmail||"",epaperAccess:u.epaperAccess||!1,aidTrackingKey:u.aidTrackingKey||"",aidId:u.aidId||"",isUserMigrated:u.isUserMigrated||!1})}else Date.now()-n>=2e4?(!function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=R((s(o),o));if(2===e.length){var i=function(t){if(Array.isArray(t))return t}(e)||function(t){var e,n,r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(e=r.next()).done)&&(i.push(e.value),2!==i.length);o=!0);}catch(t){s=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return i}}(e)||function(t){if(t){if("string"==typeof t)return B(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return B(t,2)}}
1(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],u=i[1];return a?r.withSetScope(a,u):r.withScope(u)}r.withScope(e[0])}(function(t){var e;t.setLevel("warning"),t.setTag("feature","get_logged_in_user"),t.setExtra("timeoutMs",2e4),t.setExtra("hasLoginState",!!a),t.setExtra("loginFinished",!0===window.loginFinished),t.setExtra("url",window.location.href),e=Error("getLoggedInUser: Timeout".concat(r?": ".concat(r):"")),R((s(o),o)).getCurrentScope().captureException(e,function(t){if(t)return function(t){return(null!=j&&"u">typeof Symbol&&j[Symbol.hasInstance]?!!j[Symbol.hasInstance](t):t instanceof j)||"function"==typeof t}(t)||Object.keys(t).some(function(t){return F.includes(t)})?{captureContext:t}:t}(void 0))}),e(Error("getLoggedInUser: Timeout"))):setTimeout(function(){return Y(t,e,n,r,i)},100)};let K=function(t,e){var n=document.getElementsByTagName("head")[0],r=document.createElement("meta");r.content=t,r.setAttribute("property",e),n.appendChild(r)},z=function(){return null!==document.querySelector(".article-layout")};var G=document.getElementsByTagName("head")[0];K("1","k5a:paid"),Promise.all([(t="0",new Promise(function(t,e){Y(t,e,Date.now(),"initKilkaya",void 0)}).then(function(e){t="".concat(+!!e.loggedIn)}).finally(function(){K(t,"k5a:login"),K(t,"k5a:subscriber")})),new Promise(function(t,e){window.Zephr?t():(document.addEventListener("zephr.browserDecisionsFinished",function(){return t()}),document.addEventListener("jfm.zephrFailedLoading",function(){return e()}))}).then(function(){z()&&K(null===document.getElementById("zephr-article-end")&&z()?"hard":"open","k5a:paywall")})]).finally(function(){var t=document.createElement("script");t.type="text/javascript",t.src="https://cl-eu4.k5a.io/62b1bd3470420854c01e59b2.js",t.async=!0,G.appendChild(t)}),kilkaya={}})();

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.