PageSourceSearch

https://www.dsb.dk/traffic-information/_next/static/immutable/chunks/2_ws_gxk2zxl-.js

js dsb.dk collected 2026-09-24 08:41:04 UTC 40,025 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84747,e=>{"use strict";let t,n;var r,i,o,a=Object.create,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t,n)=>(n=null==e?{}:a(u(e)),((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var r,i=c(t),o=0,a=i.length;o<a;o++)r=i[o],d.call(e,r)||void 0===r||s(e,r,{get:(e=>t[e]).bind(null,r),enumerable:!(n=l(t,r))||n.enumerable});return e})(!t&&e&&e.__esModule?n:s(n,"default",{value:e,enumerable:!0}),e)),h=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),p={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},g={0:8203,1:8204,2:8205,3:65279},m={0:String.fromCodePoint(g[0]),1:String.fromCodePoint(g[1]),2:String.fromCodePoint(g[2]),3:String.fromCodePoint(g[3])},v=[,,,,].fill(String.fromCodePoint(g[0])).join(""),b=Object.fromEntries(Object.entries(m).map(e=>[e[1],+e[0]])),E=Object.fromEntries(Object.entries(p).map(e=>e.reverse())),y=`${Object.values(p).map(e=>`\\u{${e.toString(16)}}`).join("")}`,_=RegExp(`[${y}]{4,}`,"gu"),w=h((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}}),O=["nt_experiences","nt_name","nt_description","nt_audience_id","nt_rules","nt_metadata","nt_experience_id","nt_type","nt_config","nt_audience","nt_variants"],C=O.map(e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()));[...O,...C];var T="4.10.19",S=!1,I=e=>(...t)=>{S&&console[e](...t)},L={error:I("error"),warn:I("warn"),log:I("log")},M=new Set(["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"]);function A(e,t,n){let r={...t,method:e,source:"live-preview-sdk",location:window.location.href,version:T};L.log("Send message",r),n.forEach(e=>{window.top?.postMessage(r,e)})}function j(e,t=100){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}var D=(t=(t,n)=>{var r,i,o,a="__lodash_hash_undefined__",s="[object Arguments]",l="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",h="[object Map]",p="[object Number]",g="[object Object]",m="[object Promise]",v="[object RegExp]",b="[object Set]",E="[object String]",y="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",O=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[s]=T[l]=T[_]=T[c]=T[w]=T[u]=T[d]=T[f]=T[h]=T[p]=T[g]=T[v]=T[b]=T[E]=T[y]=!1;var S=e.g&&e.g.Object===Object&&e.g,I="object"==typeof self&&self&&self.Object===Object&&self,L=S||I||Function("return this")(),M="object"==typeof t&&t&&!t.nodeType&&t,A=M&&"object"==typeof n&&n&&!n.nodeType&&n,j=A&&A.exports===M,D=j&&S.process,R=function(){try{return D&&D.binding&&D.binding("util")}catch{}}(),N=R&&R.isTypedArray;function P(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function k(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var U=Array.prototype,x=Function.prototype,B=Object.prototype,z=L["__core-js_shared__"],F=x.toString,$=B.hasOwnProperty,G=(r=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",V=B.toString,Y=RegExp("^"+F.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=j?L.Buffer:void 0,q=L.Symbol,K=L.Uint8Array,W=B.propertyIsEnumerable,Z=U.splice,J=q?q.toStringTag:void 0,X=Object.getOwnPropertySymbols,Q=H?H.isBuffer:void 0,ee=(i=Object.keys,o=Object,function(e){return i(o(e))}),et=eT(L,"DataView"),en=eT(L,"Map"),er=eT(L,"Promise"),ei=eT(L,"Set"),eo=eT(L,"WeakMap"),ea=eT(Object,"create"),es=eL(et),el=eL(e
1n),ec=eL(er),eu=eL(ei),ed=eL(eo),ef=q?q.prototype:void 0,eh=ef?ef.valueOf:void 0;function ep(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function em(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ev(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new em;++t<n;)this.add(e[t])}function eb(e){var t=this.__data__=new eg(e);this.size=t.size}function eE(e,t){for(var n=e.length;n--;)if(eM(e[n][0],t))return n;return -1}function ey(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":J&&J in Object(e)?function(e){var t=$.call(e,J),n=e[J];try{e[J]=void 0;var r=!0}catch{}var i=V.call(e);return r&&(t?e[J]=n:delete e[J]),i}(e):V.call(e)}function e_(e){return ek(e)&&ey(e)==s}function ew(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,f=2&n?new ev:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var g=a?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!f.has(t)&&(h===e||i(h,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(!(h===p||i(h,p,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function eO(e){var t;return t=ex(e),ej(e)?t:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(t,eS(e))}function eC(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eT(e,t){var n=e?.[t];return!(!eP(n)||G&&G in n)&&(eR(n)?Y:O).test(eL(n))?n:void 0}ep.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},ep.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},ep.prototype.get=function(e){var t=this.__data__;if(ea){var n=t[e];return n===a?void 0:n}return $.call(t,e)?t[e]:void 0},ep.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:$.call(t,e)},ep.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ea&&void 0===t?a:t,this},eg.prototype.clear=function(){this.__data__=[],this.size=0},eg.prototype.delete=function(e){var t=this.__data__,n=eE(t,e);return!(n<0)&&(n==t.length-1?t.pop():Z.call(t,n,1),--this.size,!0)},eg.prototype.get=function(e){var t=this.__data__,n=eE(t,e);return n<0?void 0:t[n][1]},eg.prototype.has=function(e){return eE(this.__data__,e)>-1},eg.prototype.set=function(e,t){var n=this.__data__,r=eE(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},em.prototype.clear=function(){this.size=0,this.__data__={hash:new ep,map:new(en||eg),string:new ep}},em.prototype.delete=function(e){var t=eC(this,e).delete(e);return this.size-=!!t,t},em.prototype.get=function(e){return eC(this,e).get(e)},em.prototype.has=function(e){return eC(this,e).has(e)},em.prototype.set=function(e,t){var n=eC(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},ev.prototype.add=ev.prototype.push=function(e){return this.__data__.set(e,a),this},ev.prototype.has=function(e){return this.__data__.has(e)},eb.prototype.clear=function(){this.__data__=new eg,this.size=0},eb.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},eb.prototype.get=function(e){return this.__data__.get(e)},eb.prototype.has=function(e){return this.__data__.has(e)},eb.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eg){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new em(r)}return n.set(e,t),this.size=n.size,this};var eS=X?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(X(e=Object(e)),function(t){return W.call(e,t)})}:function(){return[]},eI=ey;function eL(e){if(null!=e){try{return F.call(e)}catch{}try{return e+""}catch{}}return""}function eM(e,t){return e===t||e!=e&&t!=t}(et&&eI(new et(new ArrayBuffer(1)))!=w||en&&eI(new en)!=h||er&&eI(er.resolve())!=m||ei&&eI(new ei)!=b||eo&&eI(new eo)!=y)&&(eI=function(e){var t=ey(e),n=t==g?e.constructor:void 0,r=n?eL(n):"";if(r)switch(r){case es:return w;case el:return h;case ec:return m;case eu:return b;case ed:return y}return t});var eA=e_(function(){return arguments}())?e_:function(e){return ek(e)&&$.call(e,"callee")&&!W.call(e,"callee")},ej=Array.isArray,eD=Q||function(){return!1};function eR(e){if(!eP(e))return!1;var t=ey(e);return t==f||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eN(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eP(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ek(e){return"object"==typeof e&&!!e}var eU=N?function(e){return N(e)}:function(e){return ek(e)&&eN(e.length)&&!!T[ey(e)]};function ex(e){return null!=e&&eN(e.length)&&!eR(e)?function(e){var t,n=ej(e),r=!n&&eA(e),i=!n&&!r&&eD(e),o=!n&&!r&&!i&&eU(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)$.call(e,c)&&!(a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||(t=l,(t??=0x1fffffffffffff)&&("number"==typeof c||C.test(c))&&c>-1&&c%1==0&&c<t)))&&s.push(c);return s}(e):function(e){if(t=e&&e.constructor,e!==("function"==typeof t&&t.prototype||B))return ee(e);var t,n=[];for(var r in Object(e))$.call(e,r)&&"constructor"!=r&&n.push(r);return n}(e)}n.exports=function(e,t){return function e(t,n,r,i,o){return t===n||(null!=t&&null!=n&&(ek(t)||ek(n))?function(e,t,n,r,i,o){var a=ej(e),f=ej(t),m=a?l:eI(e),y=f?l:eI(t);m=m==s?g:m,y=y==s?g:y;var O=m==g,C=y==g,T=m==y;if(T&&eD(e)){if(!eD(t))return!1;a=!0,O=!1}if(T&&!O)return o||=new eb,a||eU(e)?ew(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!o(new K(e),new K(t)));case c:case u:case p:return eM(+e,+t);case d:return e.name==t.name&&e.message==t.message;case v:case E:return e==t+"";case h:var s=P;
1case b:var l=1&r;if(s||=k,e.size!=t.size&&!l)break;var f=a.get(e);if(f)return f==t;r|=2,a.set(e,t);var g=ew(s(e),s(t),r,i,o,a);return a.delete(e),g;case"[object Symbol]":if(eh)return eh.call(e)==eh.call(t)}return!1}(e,t,m,n,r,i,o);if(!(1&n)){var S=O&&$.call(e,"__wrapped__"),I=C&&$.call(t,"__wrapped__");if(S||I)return i(S?e.value():e,I?t.value():t,n,r,o||=new eb)}return!!T&&function(e,t,n,r,i,o){var a=1&n,s=eO(e),l=s.length;if(l!=eO(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:$.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var f=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var p=e[u=s[c]],g=t[u];if(r)var m=a?r(g,p,u,t,e,o):r(p,g,u,e,t,o);if(!(void 0===m?p===g||i(p,g,n,r,o):m)){f=!1;break}h||="constructor"==u}if(f&&!h){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,o||=new eb)}(t,n,r,i,e,o):t!=t&&n!=n)}(e,t)}},()=>(n||(t((n={exports:{}}).exports,n),t=null),n.exports)),R=f(D(),1),N=((r={}).FIELD_ID="data-contentful-field-id",r.ENTRY_ID="data-contentful-entry-id",r.ASSET_ID="data-contentful-asset-id",r.LOCALE="data-contentful-locale",r.SPACE="data-contentful-space",r.ENVIRONMENT="data-contentful-environment",r),P=((i={}).MOUSE_MOVE="MOUSE_MOVE",i.SCROLL_START="SCROLL_START",i.SCROLL_END="SCROLL_END",i.RESIZE_START="RESIZE_START",i.RESIZE_END="RESIZE_END",i.TAGGED_ELEMENTS="TAGGED_ELEMENTS",i.INSPECTOR_MODE_CHANGED="INSPECTOR_MODE_CHANGED",i),k={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},U={0:8203,1:8204,2:8205,3:65279},x={0:String.fromCodePoint(U[0]),1:String.fromCodePoint(U[1]),2:String.fromCodePoint(U[2]),3:String.fromCodePoint(U[3])};[,,,,].fill(String.fromCodePoint(U[0])).join(""),Object.fromEntries(Object.entries(x).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(k).map(e=>e.reverse()));var B=`${Object.values(k).map(e=>`\\u{${e.toString(16)}}`).join("")}`,z=RegExp(`[${B}]{4,}`,"gu");function F(e,t){return e.href===t.href}function $({root:e=window.document,options:t}){var n,r;let i,o=[...t.ignoreManuallyTaggedElements?[]:e.querySelectorAll(`[${N.ASSET_ID}][${N.FIELD_ID}], [${N.ENTRY_ID}][${N.FIELD_ID}]`)].map(e=>({element:e,attributes:function(e,t){if(!(e&&e.nodeType===Node.ELEMENT_NODE&&!(!e.hasAttribute(N.FIELD_ID)||!e.hasAttribute(N.ENTRY_ID)&&!e.hasAttribute(N.ASSET_ID))))return null;let n={fieldId:e.getAttribute(N.FIELD_ID),locale:e.getAttribute(N.LOCALE)??t.locale,environment:e.getAttribute(N.ENVIRONMENT)??t.environment,space:e.getAttribute(N.SPACE)??t.space,manuallyTagged:!0};if(!n.fieldId)return L.warn("Element is missing field ID attribute and cannot be tagged",{id:e.getAttribute(N.ENTRY_ID)??e.getAttribute(N.ASSET_ID),sharedProps:n}),null;let r=e.getAttribute(N.ENTRY_ID);if(r)return{...n,entryId:r};let i=e.getAttribute(N.ASSET_ID);return i?{...n,assetId:i}:null}(e,t)})).filter(({attributes:e})=>null!==e),a=[];for(let{node:t,text:r}of(n="body"in e?e.body:e,i=[],"function"==typeof n.matches&&n.matches("*")&&(i=[n]),[...i,...Array.from(n.querySelectorAll("*:not(script,style,meta,title)"))].map(e=>{var t;return{node:e,text:(t=e).matches("input[type=submit], input[type=button], input[type=reset]")?t.value:t.matches("img, video")?t.alt:Array.from(t.childNodes).filter(e=>e.nodeType===Node.TEXT_NODE&&!!e.textContent).map(e=>e.textContent).join("")}}).filter(({text:e})=>!!(e&&e.match(z))))){let e=function(e){let t=e.match(_);return t?function(e,t=!1){let n=Array.from(e),r=1/0,i=-1;for(let e=0;e<n.length;++e)n[e]===v[0]&&n[e+1]===v[1]&&n[e+2]===v[2]&&n[e+3]===v[3]&&(r=Math.min(r,e),i=Math.max(i,e));if(-1===i)return function(e,t){let n=[];for(let t=.5*e.length;t--;){let r=`${E[e[2*t].codePointAt(0)]}${E[e[2*t+1].codePointAt(0)]}`;n.unshift(String.fromCharCode(parseInt(r,16)))}let r=[],i=[n.join("")],o=10;for(;i.length;){let e=i.shift();try{if(r.push(JSON.parse(e)),t)break}catch(n){if(!o--)throw n;let t=+n.message.match(/\sposition\s(\d+)$/)?.[1];if(!t)throw n;i.unshift(e.substring(0,t),e.substring(t))}}return r}(n,t);for(let e=r;e<=i;++e)if(!((n.length-e)%4))try{let r=n.slice(e+4),i=new Uint8Array(r.length/4);for(let e=0;e<i.length;e++)i[e]=b[r[4*e]]<<6|b[r[4*e+1]]<<4|b[r[4*e+2]]<<2|b[r[4*e+3]];let o=new TextDecoder().decode(i);if(t){let e=o.indexOf("\0");return -1===e&&(e=o.length),[JSON.parse(o.slice(0,e))]}
1return o.split("\0").filter(Boolean).map(e=>JSON.parse(e))}catch{}return[]}(t[0],!0)[0]:void 0}(r);if(!e||!e.origin.includes("contentful.com")){L.warn("Element has missing or invalid ContentSourceMap, please check if you have correctly enabled ContentSourceMaps and that the element's data originates from Contentful",{node:t,sourceMap:e});continue}if(!(function(e,t){for(let n of t)if(n.element===e||n.element.contains(e))return!0;return!1}(t,o)||a.some(n=>n.element.contains(t)&&F(n.sourceMap,e)))){if(t.matches("img")){let n=t.closest("figure")||t.closest("picture")||t;a.push({element:n,sourceMap:e});continue}a.push({element:t,sourceMap:e})}}let s=a.filter((e,t)=>a.findIndex(t=>!(!F(e.sourceMap,t.sourceMap)||e.element!==t.element))===t);for(let{element:e,sourceMap:t}of s){let n=null;if(t.href){let r=function(e){try{let t=new URL(e),n=t.searchParams.get("focusedField"),r=t.searchParams.get("focusedLocale"),i=t.pathname.split("/").filter(Boolean),o=i.indexOf("spaces"),a=i.indexOf("environments"),s=-1===o?void 0:i[o+1],l=-1===a?void 0:i[a+1],c,u,d=i.indexOf("entries"),f=i.indexOf("assets");return -1===d?-1!==f&&(c="Asset",u=i[f+1]):(c="Entry",u=i[d+1]),c&&u?n?r?s&&l?{entityId:u,entityType:c,fieldId:n,locale:r,space:s,environment:l}:(console.warn("Missing space or environment in href path",{href:e}),null):(console.warn("Missing focusedLocale query parameter in href",{href:e}),null):(console.warn("Missing focusedField query parameter in href",{href:e}),null):(console.warn("Unable to determine entityType or entityId from href",{href:e}),null)}catch(t){return console.warn("Invalid href URL",{href:e,error:t}),null}}(t.href);if(!r)continue;if("Asset"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,assetId:r.entityId};else if("Entry"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,entryId:r.entityId};else{L.warn("Unknown entityType",{element:e,sourceMap:t});continue}}else{if(t.contentful&&(r=t.contentful)&&"string"==typeof r.entity&&"string"==typeof r.field&&"string"==typeof r.locale&&"string"==typeof r.space&&"string"==typeof r.environment&&("Asset"===r.entityType||"Entry"===r.entityType)){let r=t.contentful;if(!r.entity||!r.field||!r.locale||!r.space||!r.environment){L.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameters in `contentful`)",{element:e,sourceMap:t});continue}let i={fieldId:r.field,locale:r.locale,space:r.space,environment:r.environment};if("Asset"===r.entityType)i.assetId=r.entity,n=i;else if("Entry"===r.entityType)i.entryId=r.entity,n=i;else{L.warn("Unknown entityType in contentful data",{element:e,sourceMap:t});continue}}else{L.warn("Element has neither href nor contentful data in their ContentSourceMap, unable to extract attributes.",{element:e,sourceMap:t});continue}}o.push({element:e,attributes:n})}let l=o.filter(({attributes:e})=>e?.manuallyTagged===!1||!e?.manuallyTagged).length;return{taggedElements:o,manuallyTaggedCount:o.length-l,automaticallyTaggedCount:l,autoTaggedElements:s}}function G({options:e}){return[...new Set($({options:e}).taggedElements.map(e=>e.attributes&&"entryId"in e.attributes?e.attributes.entryId:null).filter(Boolean))]}var V=class{options;delay=300;isScrolling=!1;scrollTimeout;isResizing=!1;resizeTimeout;hoveredElement;taggedElements=[];manuallyTaggedCount=0;automaticallyTaggedCount=0;releaseId;intersectionObserver;observersCB=[];cleanupCB=[];constructor(e){this.options=e,this.intersectionObserver=new IntersectionObserver(e=>{let t=this.taggedElements;for(let n of e)if(n.isIntersecting)for(let e of t)e.element===n.target&&(e.coordinates=n.intersectionRect,e.isVisible=n.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=t,this.sendTaggedElements()},{threshold:.15})}init=()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()};cleanup=()=>{this.observersCB.forEach(e=>
1e()),this.cleanupCB.forEach(e=>e())};receiveMessage=e=>{if(e.method===P.INSPECTOR_MODE_CHANGED){let{isInspectorActive:t,releaseId:n}=e;this.releaseId=n,t?this.init():this.cleanup()}};observe=e=>{this.intersectionObserver.observe(e);let t=this.addMutationListener(e);this.observersCB.push(t,()=>this.intersectionObserver.unobserve(e))};addScrollListener=()=>{let{targetOrigin:e}=this.options,t=()=>{this.isScrolling||(this.isScrolling=!0,A(P.SCROLL_START,{},e)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,A(P.SCROLL_END,{},e),this.updateElements()},this.delay)},n={capture:!0,passive:!0};return window.addEventListener("scroll",t,n),()=>window.removeEventListener("scroll",t,n)};addMutationListener=e=>{let t=new MutationObserver(()=>{this.updateElements()});return t.observe(e,{characterData:!0,attributes:!0,attributeFilter:[N.ENTRY_ID,N.FIELD_ID,N.LOCALE,N.SPACE,N.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>t.disconnect()};addResizeListener=()=>{let{targetOrigin:e}=this.options,t=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,A(P.RESIZE_START,{},e)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,A(P.RESIZE_END,{},e),this.updateElements()},this.delay)});return t.observe(document.body),()=>t.disconnect()};addHoverListener=()=>{let e=j(e=>{let t;for(let n of e){let e=n;if("BODY"===e.nodeName)break;let r=this.taggedElements.find(t=>t.element===e);if(r){t=r;break}}this.hoveredElement=t?.element,this.updateElements()},this.delay),t=t=>{e(t.composedPath())};return window.addEventListener("mouseover",t,{passive:!0}),()=>window.removeEventListener("mouseover",t)};sendTaggedElements=()=>{A(P.TAGGED_ELEMENTS,{elements:this.taggedElements.map(e=>({coordinates:e.coordinates,isVisible:!!e.isVisible,attributes:e.attributes,isHovered:this.hoveredElement===e.element,isCoveredByOtherElement:!!e.isCoveredByOtherElement,snapshot:M.has(e.element.tagName.toUpperCase())?{[e.element.tagName.toLowerCase()]:Array.from(e.element.attributes).map(e=>`${e.name}="${e.value}"`).join(" ")}:{[e.element.tagName.toLowerCase()]:e.element.innerHTML}})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount,...void 0!==this.releaseId&&{releaseId:this.releaseId}},this.options.targetOrigin)};updateElements=()=>{let{taggedElements:e,manuallyTaggedCount:t,automaticallyTaggedCount:n}=$({options:this.options}),r=((e,t=window.document)=>((e,t=window.document)=>e.map(e=>({...e,isVisible:e.element.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),isCoveredByOtherElement:((e,t,n=window.document)=>{let{top:r,right:i,bottom:o,left:a}=t,s=n.elementFromPoint(a+1,r+1),l=n.elementFromPoint(i-1,r+1),c=n.elementFromPoint(a+1,o-1),u=n.elementFromPoint(i-1,o-1),d=t=>!!t&&(e===t||e.contains(t));return[d(s),d(l),d(c),d(u)].filter(Boolean).length<2})(e.element,e.coordinates,t)})))(e.map(({element:e,attributes:t})=>({element:e,coordinates:e.getBoundingClientRect(),attributes:t})),t))(e);(0,R.default)(r,this.taggedElements)||(this.observersCB.forEach(e=>e()),this.observersCB=[],this.taggedElements=r,e.forEach(({element:e})=>this.observe(e)),this.manuallyTaggedCount=t,this.automaticallyTaggedCount=n)}},{parse:Y,stringify:H}=JSON,{keys:q}=Object,K=String,W=(e,t)=>t,Z=(e,t,n)=>{let r=K(t.push(n)-1);return e.set(n,r),r},J=((o=J||{}).CONNECTED="CONNECTED",o.DISCONNECTED="DISCONNECTED",o.ERROR="ERROR",o.TAGGED_FIELD_CLICKED="TAGGED_FIELD_CLICKED",o.URL_CHANGED="URL_CHANGED",o.SUBSCRIBED="SUBSCRIBED",o.UNSUBSCRIBED="UNSUBSCRIBED",o.ENTRY_UPDATED="ENTRY_UPDATED",o.ENTRY_SAVED="ENTRY_SAVED",o.DEBUG_MODE_ENABLED="DEBUG_MODE_ENABLED",o),X=class{subscriptions=new Map;defaultLocale;sendMessage;constructor({locale:e,targetOrigin:t}){this.defaultLocale=e,this.sendMessage=(e,n)=>A(e,n,t)}async receiveMessage(e){if(e.method===J.ENTRY_UPDATED){let{data:t,subscriptionId:n}=e,r=this.subscriptions.get(n);r?(r.callback(t),r.data=t,this.subscriptions.set(n,r)):L.error("Received an update for an unknown subscription",{subscriptionId:n,data:t,subscriptions:this.subscriptions})}}subscribe(e){let t=`${performance.now()}-${Math.random().toString(36).slice(2)}`,n=e.locale??this.defaultLocale;this.subscriptions.set(t,{...e});let r={locale:n,event:"edit",id:t,config:(e=>{let t=new Map,n=[],r=[],i=+Z(t,n,W.call({"":e},"",e)),o=!i;for(;i<n.length;)o=!0,r[i]=H(n[i++],a,void 0);return"["+r.join(",")+"]";function a(e,r){if(o)return o=!o,r;let i=W.call(this,e,r);switch(typeof i){case"object":if(null===i)break;case"string":return t.get(i)||Z(t,n,i)}return i}})(e)};return this.sendMessage(J.SUBSCRIBED,r),()=>{this.sendMessage(J.UNSUBSCRIBED,r),this.subscriptions.delete(t)}}},Q=class{locale;options;inspectorModeEnabled;subscription;constructor({locale:e,options:t,inspectorModeEnabled:n}){this.locale=e,this.options=t,this.inspectorModeEnabled=n}subscribe(e){return this.subscription&&L.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=e,()=>{this.subscription=void 0}}receiveMessage(e){if(e.method===J.ENTRY_SAVED&&this.subscription){let{entity:t}=e;this.inspectorModeEnabled?G({options:this.options}).includes(t.sys.id)&&this.subscription(t):this.subscription(t)}}},ee=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"],et=class e{static initialized=!1;static inspectorMode=null;static liveUpdates=null;static saveEvent=null;static inspectorModeEnabled=!0;static liveUpdatesEnabled=!0;static locale;static space;static environment;static sendMessage;static targetOrigin;static init(t){if("object"!=typeof t||!t?.locale)throw Error("Init function has to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");let{debugMode:n,enableInspectorMode:r,enableLiveUpdates:i,locale:o,environment:a,space:s,targetOrigin:l}=t;if("u">typeof window){if(!function(){try{return window.top?.location.href!==window.location.href}catch{return!0}}())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(n&&(S=n),"boolean"==typeof r&&(this.inspectorModeEnabled=r),"boolean"==typeof i&&(this.liveUpdatesEnabled=i),this.locale=o,this.space=s,this.environment=a,this.initTargetOrigin(l),this.initialized)return L.log("You have already initialized the Live Preview SDK."),Promise.resolve(e.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new V({locale:o,space:s,environment:a,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:t.experimental?.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new X({locale:o,targetOrigin:this.targetOrigin}
1),this.saveEvent=new Q({locale:o,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin},inspectorModeEnabled:this.inspectorModeEnabled})),window.addEventListener("message",e=>{if("object"==typeof e.data&&e.data&&"source"in e.data&&"live-preview-editor"===e.data.source){if(L.log("Received message",e.data),e.data.method===J.DEBUG_MODE_ENABLED)return void(S=!0);this.inspectorModeEnabled&&this.inspectorMode?.receiveMessage(e.data),this.liveUpdatesEnabled&&(this.liveUpdates?.receiveMessage(e.data),this.saveEvent?.receiveMessage(e.data))}}),function(e,t=500){let n=window.location.href,r=setInterval(()=>{let t=window.location.href;t!==n&&(n=t,e(t))},t)}(()=>{A(J.URL_CHANGED,{action:J.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${N.ENTRY_ID}]`).length},this.targetOrigin)});let{taggedElements:c,manuallyTaggedCount:u,automaticallyTaggedCount:d}=this.inspectorModeEnabled?$({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},f=c.length;return A(J.CONNECTED,{action:J.CONNECTED,connected:!0,tags:f,taggedElementCount:f,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:u,automaticallyTaggedElementCount:d,hideCoveredElementOutlines:t.experimental?.hideCoveredElementOutlines,version:T},this.targetOrigin),this.initialized=!0,Promise.resolve(e.inspectorMode)}}static initTargetOrigin(e){if(e)this.targetOrigin=Array.isArray(e)?e:[e];else{let e=window.location.ancestorOrigins,t=e?ee.find(t=>e.contains(t)):ee.find(e=>document.referrer.includes(e));if(!t)throw Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[t]}}static subscribe(e,t){if(!this.liveUpdatesEnabled)return()=>{};let n="string"==typeof e?e:"edit",r="object"==typeof e?e:t;if("save"===n){if(!this.saveEvent)throw Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(r.callback)}if(!this.liveUpdates)throw Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(r)}static getProps(e){let{fieldId:t,locale:n,environment:r,space:i}=e;if(!this.inspectorModeEnabled)return null;if(t){let o={...n?{[N.LOCALE]:n}:{},...r?{[N.ENVIRONMENT]:r}:{},...i?{[N.SPACE]:i}:{},[N.FIELD_ID]:t};if(n&&(o[N.LOCALE]=n),void 0!==e.assetId)return{...o,[N.ASSET_ID]:e.assetId};if(void 0!==e.entryId)return{...o,[N.ENTRY_ID]:e.entryId}}return L.warn("Missing property for inspector mode",{...e}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(e){let t={locale:this.locale,environment:this.environment,space:this.space};if(void 0!==e.assetId&&e.fieldId||void 0!==e.entryId&&e.fieldId){var n,r;return void(n={...t,...e},r=this.targetOrigin,A("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...n},r))}L.error("Please provide field id and entry/asset id to openEntryInEditor.",{...e})}static getEntryList(){return G({options:{locale:this.locale,space:this.space,environment:this.environment}})}},en=e.i(19875),er=e.i(28934),ei=f(D(),1),eo=(0,en.createContext)(null);e.s(["ContentfulLivePreviewProvider",0,function({children:e,locale:t,space:n,environment:r,debugMode:i=!1,enableInspectorMode:o=!0,enableLiveUpdates:a=!0,targetOrigin:s,experimental:l}){if(!t)throw Error('ContentfulLivePreviewProvider has to be called with a locale property (for example: `<ContentfulLivePreviewProvider locale="en-US">{children}</ContentfulLivePreviewProvider>`');et.init({locale:t,space:n,environment:r,debugMode:i,enableInspectorMode:o,enableLiveUpdates:a,targetOrigin:s,experimental:l});let c=(0,en.useMemo)(()=>({locale:t,space:n,environment:r,debugMode:i,enableInspectorMode:o,enableLiveUpdates:a,targetOrigin:s}),[t,n,r,i,o,a,s]);return(0,er.jsx)(eo.Provider,{value:c,children:e})},"useContentfulInspectorMode",0,function(e){let t=(0,en.useContext)(eo);return(0,en.useCallback)(n=>t?.enableInspectorMode?et.getProps({...e,...n}):null,[t?.enableInspectorMode,e])},"useContentfulLiveUpdates",0,function(e,t,n=!1){var r,i;let o,a,[s,l]=(0,en.useState)({data:e,version:1}),c=(0,en.useRef)(e),u=(0,en.useRef)(j(l)),d=(0,en.useContext)(eo),f="object"==typeof t?t:{locale:t,skip:n},h=(0,en.useMemo)(()=>(!d||!!d.enableLiveUpdates)&&!f.skip&&!!(Array.isArray(e)&&e.length||e&&"object"==typeof e&&Object.keys(e).length),[d,f.skip,e]);return r=()=>{if(c.current!==e&&(l({data:e,version:1}),c.current=e),h)return et.subscribe("edit",{data:e,locale:f.locale,query:f.query,callback:e=>{u.current(t=>({data:e,version:t.version+1}))}})},i=[e,h,f.locale,f.query],(0,en.useEffect)(r,(o=(0,en.useRef)(i),a=(0,en.useRef)(0),(0,ei.default)(i,o.current)||(o.current=i,a.current+=1),(0,en.useMemo)(()=>o.current,[a.current]))),s.data}],84747)},62229,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let o=e.r(51330),a=e.r(42916),s=e.r(38041)},91020,(e,t,n)=>{"use strict";e.i(76617),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(36437)._(e.r(19875)).default.createContext(null)},50292,(e,t,n)=>{"use strict";function r(e,t={}){if(t.onlyHashChange)return void e();let n=document.documentElement;if("smooth"!==n.dataset.scrollBehavior)return void e();let i=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=i}e.i(76617),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return r}})},40489,e=>{"use strict";var t=e.i(2644),n=e.i(96163),r=e.i(2800);let i=(0,n.defineRouting)({locales:r.LOCALES,localePrefix:r.LOCAL_PREFIX,defaultLocale:r.DEFAULT_LOCALE,localeDetection:!1,pathnames:{"/profile/my-page":{da:"/profil/minside",en:"/profile/my-page"},"/your-journeys":{da:"/profil/dine-rejser",en:"/profile/your-journeys"},"/auth/log-ind":"/auth/log-ind","/business":{da:"/erhverv",en:"/business"},"/business/overview":{da:"/erhverv/overblik",en:"/business/overview"},"/business/login":{da:"/erhverv/login",en:"/business/login"},"/business/order":{da:"/erhverv/bestil",en:"/business/order"},"/business/organization":{da:"/erhverv/organisation",en:"/business/organization"},"/business/agreements":{da:"/erhverv/aftaler",en:"/business/agreements"},"/business/finance":{da:"/erhverv/oekonomi",en:"/business/finance"},"/business/usage":{da:"/erhverv/forbrug",en:"/business/usage"},"/business/profile":{da:"/erhverv/profil",en:"/business/profile"},"/business/settings":{da:"/erhverv/indstillinger",en:"/business/settings"},"/":"/","/find-rejse":{da:"/find-rejse",en:"/find-journey"},"/login":"/login","/menu":"/menu","/cookies":"/cookies","/search":{da:"/soegning",en:"/search"},"/dsb-plus/my-page":{da:"/dsb-plus/minside",en:"/dsb-plus/my-page"},"/alerts/[id]":{da:"/advarsel/[id]",en:"/alerts/[id]"},"/traffic-information":{en:"/traffic-information",da:"/trafikinformation"},"/traffic-information/urgent-changes":{en:"/traffic-information/urgent-changes",da:"/trafikinformation/akutte-aendringer"},"/traffic-information/urgent-changes/[slug]":{en:"/traffic-information/urgent-changes/[slug]",da:"/trafikinformation/akutte-aendringer/[slug]"},"/traffic-information/scheduled-changes":{en:"/traffic-information/scheduled-changes",da:"/trafikinformation/planlagte-aendringer"},"/traffic-information/track-renewal":{en:"/traffic-information/track-renewal",da:"/trafikinformation/sporfornyelse"},"/traffic-information/track-renewal/[slug]":{en:"/traffic-information/track-renewal/[slug]",da:"/trafikinformation/sporfornyelse/[slug]"},"/traffic-information/scheduled-changes/[slug]":{en:"/traffic-information/scheduled-changes/[slug]",da:"/trafikinformation/planlagte-aendringer/[slug]"},"/traffic-information/scheduled-changes/s-train/[slug]":{en:"/traffic-information/scheduled-changes/s-train/[slug]",da:"/trafikinformation/planlagte-aendringer/s-tog/[slug]"},"/traffic-information/departure-boards":{en:"/traffic-information/departure-boards",da:"/trafikinformation/afgangstavler"},"/traffic-information/elevators":{en:"/traffic-information/elevators",da:"/trafikinformation/elevatorer"}
1,"/traffic-information/departure-boards/connection-details/[id]":{en:"/traffic-information/departure-boards/connection-details/[id]",da:"/trafikinformation/afgangstavler/forbindelsesdetaljer/[id]"},"/help-and-contact":{en:"/help-and-contact",da:"/hjaelp-og-kontakt"},"/om-dsb/job-og-karriere/alle-ledige-stillinger-i-dsb":{da:"/om-dsb/job-og-karriere/alle-ledige-stillinger-i-dsb",en:"/om-dsb/job-og-karriere/alle-ledige-stillinger-i-dsb"}}}),{Link:o,redirect:a,usePathname:s,useRouter:l,getPathname:c}=(0,t.createNavigation)(i);e.s(["Link",0,o,"getPathname",0,c,"redirect",0,a,"usePathname",0,s,"useRouter",0,l],40489)},87568,34999,e=>{"use strict";var t=e.i(28934),n=e.i(19875),r=e.i(53949),i=e.i(67245);let o=(0,n.createContext)(null),a=()=>{let e=(0,n.useContext)(o);if(!e)throw Error("Popover components must be used within a Popover");return e};e.s(["Popover",0,({children:e,defaultOpen:r=!1,open:i,onOpenChange:a,placement:s="bottom-start",offset:l=8})=>{let[c,u]=(0,n.useState)(r),d=void 0!==i,f=d?i:c,h=(0,n.useRef)(null),p=e=>{d||u(e),a?.(e)};return(0,t.jsx)(o.Provider,{value:{isOpen:f,open:()=>p(!0),close:()=>p(!1),toggle:()=>p(!f),triggerRef:h,placement:s,offset:l},children:e})},"PopoverContent",0,({children:e,className:o})=>{let{isOpen:s,close:l,triggerRef:c,placement:u,offset:d}=a(),f=(0,n.useRef)(null),[h,p]=(0,n.useState)({top:0,left:0,actualPlacement:u}),[g,m]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{m(!0)},[]),(0,n.useEffect)(()=>{if(!s)return;let e=document.activeElement;if(f.current){let e=f.current.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e&&setTimeout(()=>e.focus(),0)}return()=>{e&&e.focus()}},[s]),(0,n.useEffect)(()=>{let e;if(!s||!c.current||!f.current)return;let t=()=>{if(!c.current||!f.current)return;let e=c.current.getBoundingClientRect(),t=f.current.getBoundingClientRect(),n=window.innerWidth,r=window.innerHeight,i=0,o=0,a=u,s=n=>{let r=0,i=0;switch(n){case"top":r=e.top-t.height-d,i=e.left+(e.width-t.width)/2;break;case"top-start":r=e.top-t.height-d,i=e.left;break;case"top-end":r=e.top-t.height-d,i=e.right-t.width;break;case"bottom":r=e.bottom+d,i=e.left+(e.width-t.width)/2;break;case"bottom-start":r=e.bottom+d,i=e.left;break;case"bottom-end":r=e.bottom+d,i=e.right-t.width;break;case"left":r=e.top+(e.height-t.height)/2,i=e.left-t.width-d;break;case"right":r=e.top+(e.height-t.height)/2,i=e.right+d}return{calculatedTop:r,calculatedLeft:i}},l=s(u);i=l.calculatedTop,o=l.calculatedLeft;let h=i+t.height>r-16,g=i<16;if(h||g){let e=u.startsWith("top")?u.replace("top","bottom"):u.startsWith("bottom")?u.replace("bottom","top"):u,n=s(e),l=n.calculatedTop+t.height>r-16,c=n.calculatedTop<16;l||c||(i=n.calculatedTop,o=n.calculatedLeft,a=e)}o+t.width>n-16&&(o=n-t.width-16),o<16&&(o=16),i+t.height>r-16&&(i=r-t.height-16),i<16&&(i=16),p({top:i,left:o,actualPlacement:a})};t();let n=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(t)};return window.addEventListener("scroll",n,!0),window.addEventListener("resize",n),()=>{window.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n),cancelAnimationFrame(e)}},[s,u,d]),(0,n.useEffect)(()=>{if(!s)return;let e=e=>{f.current&&c.current&&!f.current.contains(e.target)&&!c.current.contains(e.target)&&l()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[s,l,c]),(0,n.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"===e.key&&l()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s,l]),g&&s)?(0,r.createPortal)((0,t.jsx)("div",{ref:f,className:(0,i.twMerge)("fixed z-50 rounded-8 border border-border-base bg-surface-base shadow-lg",o),style:{top:`${h.top}px`,left:`${h.left}px`},role:"dialog","aria-modal":"true",children:e}),document.body):null},"PopoverTrigger",0,({children:e,asChild:r,className:i})=>{let{toggle:o,triggerRef:s}=a();return r?n.default.cloneElement(e,{ref:s,onClick:t=>{e.props.onClick?.(t),o()}}):(0,t.jsx)("button",{ref:s,onClick:o,className:i,type:"button",children:e})}],34999),e.s([],87568)},81679,72758,e=>{"use strict";var t=e.i(31826);e.s(["Minus",()=>t.default],81679);var n=e.i(71771);e.s(["Plus",()=>n.default],72758)},87133,94237,e=>{"use strict";let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r};e.s(["cva",0,(e,r)=>i=>{var o;if((null==r?void 0:r.variants)==null)return n(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:s}=r,l=Object.keys(a).map(e=>{let n=null==i?void 0:i[e],r=null==s?void 0:s[e];if(null===n)return null;let o=t(n)||t(r);return a[e][o]}),c=i&&Object.entries(i).reduce((e,t)=>
1{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return n(e,l,null==r||null==(o=r.compoundVariants)?void 0:o.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...c}[t]):({...s,...c})[t]===n})?[...e,n,r]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)},"cx",0,n],94237);var r=e.i(67245);e.s(["cn",0,function(...e){return(0,r.twMerge)(n(e))}],87133)}]);

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.