PageSourceSearch

https://ebank.danskebank.dk/4489.fc057ae88b1ebb135e60.js

js danskebank.dk collected 2026-09-24 08:55:52 UTC 5,624 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_web_channels_ebank_domain_application=self.webpackChunk_web_channels_ebank_domain_application||[]).push([[4489,6870],{3845:(e,n,t)=>{t.d(n,{Mh:()=>o,Br:()=>E,us:()=>u});var r=t(1121),s=t(1556);const o=t.n(s)().createContext([]);function i({id:e,getError:n}){const t=(0,s.useContext)(o).find(n=>n.id===e);if(void 0===t&&n)throw n();return null!=t?t:null}function E({id:e,getError:n}){const t=i({id:e,getError:n});return function(e){const[n,t]=(0,s.useState)((null==e?void 0:e.value)||null);return(0,s.useEffect)(()=>{if(null!==e){const n=e.subscribe(t);return()=>{n.unsubscribe()}}},[e]),n}(t?t.value:null)}var a=t(8500);function c(){return(({id:e,getError:n=()=>new Error(`Feature ${e} is required, but not provided to the micro app.`)})=>function(e){const n=(0,s.useRef)(e.value);return(0,s.useEffect)(()=>{const t=e.subscribe(e=>{n.current=e});return()=>{t.unsubscribe()}},[e]),n}(i({id:e,getError:n}).value))({id:r.EVENTS_FEATURE_ID,getError:()=>new Error('"events" feature is required but not provided to the micro app. The channel needs to provide this feature in the MicroAppOutlet.')})}const u=()=>{const e=(()=>{const e=c();return(...n)=>e.current.emit(...n)})(),n=(0,s.useRef)({});return((e,n)=>{const t=function(e){const n=(0,s.useRef)(e);return n.current=e,n}(n),r=c();(0,s.useEffect)(()=>{var n;const s=null===(n=r.current)||void 0===n?void 0:n.listen(e,(...e)=>{t.current(...e)});return()=>null==s?void 0:s()},[e,t,r])})(r.INTENT_RESULT_EVENT_NAME,e=>{const t=n.current[e.sentIntent.senderId];t&&(t.resolve(e.result),delete n.current[e.sentIntent.senderId])}),(0,s.useEffect)(()=>()=>{Object.values(n.current).forEach(({intent:e})=>{console.warn("Didn't receive any result for intent: ",e)})},[]),(t,s)=>{const o=(0,a.A)(),i={name:t,payload:s};return e(r.INTENT_SEND_EVENT_NAME,{intent:i,senderId:o}),new Promise(e=>{n.current[o]={resolve:e,intent:i}})}}},4489:(e,n,t)=>{t.r(n),t.d(n,{IntentNames:()=>o,MicroAppToggles:()=>E,MicroAppsNames:()=>i,deleteSessionCookie:()=>_,getSessionCookieId:()=>l,injectSessionCookie:()=>A,retailHomepagesCookieStrategy:()=>a,useOpenMicroAppModal:()=>s});var r=t(3845),s=()=>{let e=(0,r.us)();return(n,t)=>e(n,t)},o=function(e){return e.TransferLimits="OPEN_EBANK_TRANSFER_LIMITS",e.PayeeManagement="OPEN_EBANK_PAYEE_MANAGEMENT",e}({}),i=function(e){return e.ACCOUNT_SETTINGS="@web-channels/ebank-account-settings",e.USER="@web-channels/ebank-user",e.TRANSFER="@web-channels/ebank-transfer",e.TRANSFER_LIMITS="@web-channels/ebank-transfer-limits",e.SIGNING="@web-channels/ebank-signing",e.CONSENT_OVERVIEW="@web-channels/ebank-consent-overview",e.PAYMENT_DRAFT="@web-channels/ebank-payment-draft",e.PAYEE_MANAGEMENT="@web-channels/ebank-payee-management",e.RETAIL_DOCUMENTS="@web-channels/retail-documents",e.CONSUMER_LOAN="@web-channels/ebank-consumer-loan",e.INVESTMENT_ESA="@web-channels/ebank-investment-esa",e.INVESTMENT_NEWS="@web-channels/investment-news",e.AML_CUSTOMER_INTERACTION="aml-customer-interaction",e}({}),E=function(e){return e.EBANK_ACCOUNT_SETTINGS="EBANK_ACCOUNT_SETTINGS",e.EBANK_USER="EBANK_USER",e.EBANK_TRANSFER="EBANK_TRANSFER",e.EBANK_TRANSFER_LIMITS="EBANK_TRANSFER_LIMITS",e.EBANK_SIGNING="EBANK_SIGNING",e.EBANK_CONSENT_OVERVIEW="EBANK_CONSENT_OVERVIEW",e.EBANK_PAYMENT_DRAFT="EBANK_PAYMENT_DRAFT",e.EBANK_PAYEE_MANAGEMENT="EBANK_PAYEE_MANAGEMENT",e.EBANK_RETAIL_DOCUMENTS="EBANK_RETAIL_DOCUMENTS",e.EBANK_STANDING_ORDER="EBANK_STANDING_ORDER",e.EBANK_CONSUMER_LOAN="EBANK_CONSUMER_LOAN",e.EBANK_INVESTMENT_ESA="EBANK_INVESTMENT_ESA",e.EBANK_INVESTMENT_NEWS="EBANK_INVESTMENT_NEWS",e.EBANK_AML_CUSTOMER_INTERACTION="EBANK_AML_CUSTOMER_INTERACTION",e}({}),a=()=>{try{let[,e]=document.cookie.split("; ").find(e=>e.startsWith("dbconsent"))?.split("=")||[],[n,t]=e.split("."),r=n.split("|");return{isNecessaryOn:r.includes("0"),isFunctionalOn:r.includes("1"),isStatisticalOn:r.includes("2"),isMarketingOn:r.includes("3")}}catch{return{isNecessaryOn:!1,isFunctionalOn:!1,isStatisticalOn:!1,isMarketingOn:!1}}},c="x-client-session-id",u="=",N=e=>{switch(e){case"DK":return".danskebank.dk";case"SE":return".danskebank.se";case"FI":return".danskebank.fi";case"UK":return".danskebank.co.uk";default:return}},l=()=>document.cookie.split("; ").find(e=>e.startsWith(`${c}${u}`))?.split(u).slice(1).join(u),A=e=>{let n=l();if(n)return n;let t=((e=21)=>{let n="",t=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)n+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[e]];return n})(),r=N(e);return document.cookie=`${c}${u}${t}; path=/${r?`; domain=${r}`:""}`,t},_=e=>{let n=N(e);document.cookie=`${c}${u}; path=/; Max-Age=0${n?`; domain=${n}`:""}`,document.cookie=`${c}${u}; path=/; Max-Age=0`}},8500:(e,n,t)=>{t.d(n,{A:()=>a});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let s;const o=new Uint8Array(16);function i(){if(!s&&(s="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(o)}const E=[];for(let e=0;e<256;++e)E.push((e+256).toString(16).slice(1));const a=function(e,n,t){if(r.randomUUID&&!n&&!e)return r.randomUUID();const s=(e=e||{}).random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=s[e];return n}return function(e,n=0){return E[e[n+0]]+E[e[n+1]]+E[e[n+2]]+E[e[n+3]]+"-"+E[e[n+4]]+E[e[n+5]]+"-"+E[e[n+6]]+E[e[n+7]]+"-"+E[e[n+8]]+E[e[n+9]]+"-"+E[e[n+10]]+E[e[n+11]]+E[e[n+12]]+E[e[n+13]]+E[e[n+14]]+E[e[n+15]]}(s)}}}]);

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.