1"use strict";(self.webpackChunklogin=self.webpackChunklogin||[]).push([[8381],{762(f,o,i){i.r(o),i.d(o,{nwcc_basic_link:()=>A,nwcc_date_formatter:()=>O,nwcc_payment_card_thumbnail:()=>D});var e=i(9842),s=i(8381),u=i(4911),c=(i(5250),i(348)),d=i(2232),h=i(7754),E=i(6863),r=i(2096),t=i(7296),a=i(3673);i(1837);const A=class{constructor(n){(0,e.A)(this,"locale",void 0),(0,e.A)(this,"external",!1),(0,e.A)(this,"href",void 0),(0,e.A)(this,"download",void 0),(0,e.A)(this,"hostTitle",""),(0,e.A)(this,"isButtonRole",!1),(0,e.A)(this,"hostAriaLabel",void 0),(0,e.A)(this,"hostAriaHaspopup",void 0),(0,e.A)(this,"hostTabIndex",void 0),(0,e.A)(this,"disabled",!1),(0,e.A)(this,"nwccBasicLinkClick",void 0),(0,e.A)(this,"uniqueID",(0,h.g)()),(0,e.A)(this,"emitClickEvent",(0,u.d)(v=>{this.disabled||this.nwccBasicLinkClick.emit(v)},100)),(0,s.r)(this,n),this.nwccBasicLinkClick=(0,s.c)(this,"nwccBasicLinkClick",7)}hasRoleButton(){return!(!(0,d.i)()&&!this.isButtonRole||this.external)}render(){return(0,s.h)("a",{key:"879a8999cc89c637f6da4e6c4da99ea5ea8d075d",href:this.href,target:this.external?"_blank":void 0,rel:this.external?"noreferrer noopener external":void 0,role:this.hasRoleButton()?"button":void 0,download:this.download,title:this.hostTitle,"aria-label":this.hostAriaLabel,onClick:n=>{this.emitClickEvent(n)},onKeyDown:n=>{"Enter"===n.key&&this.emitClickEvent(n)},"aria-haspopup":this.hostAriaHaspopup,tabIndex:this.hostTabIndex,"aria-describedby":this.external?this.uniqueID:void 0},(0,s.h)("slot",{key:"e1c88a3ed6a413065c0c4be425ed1533abfe81f8"}),this.external&&(0,s.h)("span",{key:"8722f0015fe055e7c4dc2eb0c3b7c0d5df032b04",class:"ncc-assistive-text",id:this.uniqueID,role:"presentation",tabIndex:-1},(0,c.t)(c.K.ndw_ui_assistiveText_opensNewWindow,this.locale)))}},O=class{constructor(n){(0,e.A)(this,"locale",void 0),(0,e.A)(this,"value",void 0),(0,e.A)(this,"format",t.N.DEFAULT),(0,e.A)(this,"fullFormatDate",void 0),(0,e.A)(this,"assistiveFullFormatDate",void 0),(0,s.r)(this,n)}get el(){return(0,s.a)(this)}watchLocale(n){(0,E.v)({value:n,name:"locale",elementRef:this.el}),this.fullFormatDate=(0,r.g)(this.value,n),this.assistiveFullFormatDate=(0,r.a)(this.value,n)}watchValue(n){this.fullFormatDate=(0,r.g)(n,this.locale),this.assistiveFullFormatDate=(0,r.a)(n,this.locale)}componentWillRender(){this.fullFormatDate=(0,r.g)(this.value,this.locale),this.assistiveFullFormatDate=(0,r.a)(this.value,this.locale)}render(){const n=(0,r.b)(this.value,this.locale,this.format,this.fullFormatDate);return(0,s.h)(s.H,{key:"4c25af8fd3e4e03a761686d2c826bd444de0ff2f"},(0,s.h)("span",{key:"ae897d92ed293878b6f38c5130049527c5168aaf",class:"ncc-assistive-text",role:"text"},this.assistiveFullFormatDate),(0,s.h)("span",{key:"8b5cf8a2b6b27606e9dff48e3cf987db87a743ba","aria-hidden":"true"},(0,s.h)("span",{key:"6daba6418d157d22f77b4ef8bcd42834596ec602"},n)))}static get watchers(){return{locale:[{watchLocale:0}],value:[{watchValue:0}]}}},R=l=>{switch(l){case t.a.NORDEA_BUSINESS_DEBIT:return a._.data;case t.a.FIRST_CARD:return a.Z.data;case t.a.NORDEA_BANKAXEPT:return a.Y.data;case t.a.NORDEA_BANKAXEPT_PLATINUM:return a.X.data;case t.a.NORDEA_BANKAXEPT_PREMIUM:return a.W.data;case t.a.NORDEA_BLACK:return a.V.data;case t.a.NORDEA_CREDIT:return a.U.data;case t.a.NORDEA_DEBIT:return a.T.data;case t.a.NORDEA_GOLD:return a.S.data;case t.a.NORDEA_LIGHT_BLUE:return a.R.data;case t.a.NORDEA_MASTERCARD_PLATINUM:return a.Q.data;case t.a.NORDEA_VISA_PLATINUM:return a.P.data;case t.a.NORDEA_MASTERCARD_PREMIUM:return a.O.data;case t.a.NORDEA_VISA_PREMIUM:return a.N.data;case t.a.STOCKMANN:return a.M.data;case t.a.TUOHI:return a.L.data;case t.a.WHITECARD:return a.K.data;case t.a.NORDEA_MASTERCARD_BUSINESS_DEBIT:return a.J.data;case t.a.NORDEA_VISA_BUSINESS_DEBIT:return a.I.data;case t.a.NORDEA_VISA_BUSINESS:return a.H.data;default:return a.G.data}},D=class{constructor(n){(0,e.A)(this,"background",t.a.NORDEA_BLANK),(0,s.r)(this,n)}render(){return(0,s.h)(s.H,{key:"fd1485bbdb63c94c44efb1204361d2ee91bfdd46",class:"ncc-payment-card-thumbnail","aria-hidden":"true"},(0,s.h)("div",{key:"cd515ede4e54678a529e1cec683b318e1edf7d49",innerHTML:R(this.background)}))}};D.style="nwcc-payment-card-thumbnail.ncc-payment-card-thumbnail{display:flex;height:1.5rem;width:2.5rem;overflow:hidden}"},1837(f,o,i){i.d(o,{E:()=>e,a:()=>c,b:()=>s,h:()=>_,i:()=>d});const e={DEV:"DEV",LOCAL:"LOCAL",MOCK:"MOCK",PREPROD:"PREPROD",PROD:"PROD",RTEST:"RTEST",TEST:"TEST"};function s(){return[e.MOCK,e.DEV,e.TEST,e.LOCAL].includes(function u(){if(!1===_())return function h(){return d()?(console.warn("getEnvironment is callend in server context where window is undefined thus defaulting to PROD "),e.PROD):function E(r){return r.includes("localhost")||r.includes("127.0.0.1")?e.LOCAL:r.includes("dev")||r.includes("test")?e.TEST:e.PROD}(window.location.hostname)}();if(d())return console.warn("ENV not set, defaulting to prod"),e.PROD;switch(window.ENV){case e.MOCK:return e.MOCK;case e.LOCAL:return e.LOCAL;case e.DEV:return e.DEV;case e.TEST:return e.TEST;
1case e.RTEST:return e.RTEST;case e.PREPROD:return e.PREPROD;case e.PROD:return e.PROD;default:return console.warn("ENV not set, defaulting to prod"),e.PROD}}())}function _(){return c()&&(void 0!==window.SEGMENT||void 0!==window.COUNTRY)}function c(){return typeof window<"u"}function d(){return typeof window>"u"}}}]);
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.