1import{F as e,B as t,c as n,i,A as s,f as a,a as r,g as o,b as c,d as l,e as d,x as u,n as p,h as m,s as g,j as h,k as f,l as b,m as y,o as v,p as w,q as C,L as x,r as k,S as I,t as $,I as T,u as j,v as _,w as S,y as E,z as A,C as L,D as P,E as D,G as R,H as O,J as F,K as M,M as N,N as B,O as V,P as U,Q as z,R as q,T as H,U as G,V as K,W,X as Y,Y as Q,Z as X,_ as Z,$ as J,a0 as ee,a1 as te,a2 as ne,a3 as ie,a4 as se,a5 as ae,a6 as re,a7 as oe,a8 as ce,a9 as le,aa as de,ab as ue,ac as pe,ad as me,ae as ge,af as he,ag as fe,ah as be,ai as ye,aj as ve,ak as we,al as Ce,am as xe,an as ke,ao as Ie,ap as $e,aq as Te,ar as je,as as _e,at as Se,au as Ee,av as Ae,aw as Le,ax as Pe,ay as De,az as Re,aA as Oe,aB as Fe,aC as Me,aD as Ne,aE as Be,aF as Ve,aG as Ue,aH as ze,aI as qe,aJ as He,aK as Ge,aL as Ke,aM as We,aN as Ye,aO as Qe,aP as Xe,aQ as Ze,aR as Je,aS as et,aT as tt,aU as nt,aV as it,aW as st,aX as at,aY as rt,aZ as ot,a_ as ct,a$ as lt,b0 as dt,b1 as ut,b2 as pt,b3 as mt,b4 as gt,b5 as ht,b6 as ft,b7 as bt,b8 as yt,b9 as vt,ba as wt,bb as Ct,bc as xt,bd as kt,be as It,bf as $t,bg as Tt,bh as jt,bi as _t,bj as St,bk as Et,bl as At,bm as Lt,bn as Pt,bo as Dt,bp as Rt,bq as Ot,br as Ft,bs as Mt,bt as Nt,bu as Bt,bv as Vt,bw as Ut,bx as zt,by as qt,bz as Ht}from"./ing-tr-web-3a2390ed.js";const Gt=e=>-402===e?.header?.message?.code,Kt=e=>9007===e?.header?.message?.code,Wt=e=>9008===e?.header?.message?.code,Yt=e=>Kt(e)||Wt(e),Qt=()=>{const e=new Uint8Array(1);return window.crypto.getRandomValues(e),(e[0]%16).toString(16)},Xt={...t.APP_FORM_MODEL,sessionList:["sessionList","threeDotMenus","userInfo","isMalware","isLoggedIn"],localList:["localList","sessionList","locale"],hideMessageOnErrorCodes:[-402,9007,9008,9009,218001,308004,308007]};const Zt=(n,i)=>{let s;return s=i?e.getFormData(t.APP_STATE_MODEL_ID):e.getFormData(t.FLOW_STATE_MODEL_ID),s[n]},Jt=(i,s,a)=>{const r="object"==typeof s?n(s):s;a?(((e,t)=>{const n=Zt("sessionList",!0);n?.includes(e)&&sessionStorage.setItem(e,JSON.stringify(t));const i=Zt("localList",!0);i?.includes(e)&&localStorage.setItem(e,JSON.stringify(t))})(i,s),e.updateItem({[i]:r},t.APP_STATE_MODEL_ID)):e.updateItem({[i]:r},t.FLOW_STATE_MODEL_ID)},en=()=>{Jt("rateMeEnabled",!0,!0)},tn=(n,i,s=!1)=>{const a=s?t.FLOW_STATE_MODEL_ID:t.APP_STATE_MODEL_ID;e.onStateChange(t=>
1{Object.keys(i).forEach(t=>{const s=i[t],r=e.getFormData(a)[s];n[t]=r})},a)},nn=e=>{Jt("sideActions",e)},sn=(e,t)=>{if(i(t))return e;return((e,t)=>e.replace(/{{(.+?)}}/g,(e,n)=>t[n]||n))(e,t)},an=e=>{const{namespace:t,params:n}=e,i=Zt("threeDotMenus",!0),s=Zt("routeInfo",!0)?.flowName;let a;const r=i.filter(e=>{const{compFlowName:n,compNamespace:i}=(e=>{const t=e?.split(".");if(!Array.isArray(t))return;const[n,i]=t;return{compFlowName:n,compNamespace:i}})(e.component);return a=Array.isArray(t)?t.includes(i):i==t,s===n&&a});return r.map(t=>{const i=e?e[t.description]:null,s=!i||void 0===i?.willRoute||i?.willRoute?t?.transaction:null;return{title:t?.threeDotMenuResource?.text,url:sn(s,n),customCallback:i?.onAction,actionType:"action-menu"}})},rn=n=>{const s=e=>({local:localStorage.getItem(e),session:sessionStorage.getItem(e)}),a=JSON.parse(s(`${n}List`)[n]);i(a)||a.forEach(i=>{const a=s(i)[n];if(!a||"undefined"===a)return;const r=JSON.parse(a);e.updateItem({[i]:r},t.APP_STATE_MODEL_ID)})},on=()=>{const e=Zt("abortController",!0),t=Zt("outOfFlowAbortController",!0);"function"==typeof e?.abort&&(e?.abort(),t?.abort(),Jt("abortController",new AbortController,!0),Jt("outOfFlowAbortController",new AbortController,!0))},cn=({logout:n=!1})=>{n?(on(),Jt("isLoggedIn",!1,!0),sessionStorage.clear(),(()=>{const e=Zt("localList",!0);localStorage.clear(),e.forEach(e=>{const t=Zt(e,!0);t&&localStorage.setItem(e,JSON.stringify(t))})})()):rn("local"),e.resetState(t.APP_STATE_MODEL_ID);const i=new AbortController,s=new AbortController;e.updateItem({...Xt,abortController:i,outOfFlowAbortController:s},t.APP_STATE_MODEL_ID),rn("local")};const ln="ing-tr:creditcard:defaultCard",dn="SucceedImages/CardImage/assets/naKiTKartBusinessTemassizVisa.png",un="SucceedImages/CardImage/assets/bonusBusinessTemassizKartMc.png",pn="SucceedImages/CardImage/assets/bonusBusinessTemassizKartVisa.png",mn="SucceedImages/CardImage/assets/pegasusBolbolPremiumTemassizMc.png",gn="SucceedImages/CardImage/assets/pegasusBolbolStandartTemassizMc.png",hn="SucceedImages/CardImage/assets/pegasusBolbolClassicDc.png",fn="SucceedImages/CardImage/assets/pegasusBolbolPremiumDc.png",bn="SucceedImages/CardImage/assets/bonusStandartTemasliKartMcMc.png",yn="SucceedImages/CardImage/assets/bonusStandartTemassizKartMc.png",vn="SucceedImages/CardImage/assets/bonusStandartTemassizKartVisa.png",wn="SucceedImages/CardImage/assets/bonusGoldTemassizKartMc.png",Cn="SucceedImages/CardImage/assets/bonusGoldTemassizKartVisa.png",xn="SucceedImages/CardImage/assets/bonusPlatinumTemassizKartMc.png",kn="SucceedImages/CardImage/assets/bonusPlatinumTemassizKartVisa.png",In="SucceedImages/CardImage/assets/bonusKartVisaDc.png",$n="SucceedImages/CardImage/assets/troyTuruncuEkstraTemassizKart.png",Tn="SucceedImages/CardImage/assets/troyTuruncuEkstraKart.png",jn="SucceedImages/CardImage/assets/troyLightTemassizKart.png",_n="SucceedImages/CardImage/assets/troyPegasusPremiumTemassizKart.png",Sn="SucceedImages/CardImage/assets/troyPegasusStandartTemassizKart.png",En="SucceedImages/CardImage/assets/troyBonusPlusTemassizKart.png",An="SucceedImages/CardImage/assets/troyBonusPlatinumTemassizKart.png",Ln="SucceedImages/CardImage/assets/troyPrivateTemassizKart.png",Pn="SucceedImages/CardImage/assets/troyBonusStandartTemassizKart.png",Dn="SucceedImages/CardImage/assets/troyPegasusClassicDc.png",Rn="SucceedImages/CardImage/assets/troyBonusDc.png",On="SucceedImages/CardImage/assets/digitalTroyDeb
1itCard.png",Fn="SucceedImages/CardImage/assets/turuncuEkstraPlatinumTemasliKartMc.png",Mn="SucceedImages/CardImage/assets/turuncuEkstraPlatinumTemassizKartMc.png",Nn="SucceedImages/CardImage/assets/turuncuEkstraPlatinumTemasliKartVisa.png",Bn="SucceedImages/CardImage/assets/turuncuEkstraPlatinumTemassizKartVisa.png",Vn="SucceedImages/CardImage/assets/turuncuEkstraTemassizKartVisa.png",Un="SucceedImages/CardImage/assets/digerLightTemassizKartMc.png",zn="SucceedImages/CardImage/assets/digerPrivateTemassizKartMc.png",qn={getEnvironmentPath(){let e="https://internetsubesi.ing.com.tr";return e},getEnvironmentName:()=>"production"},Hn={digital:"Digital",physical:"Physical",none:"None"},Gn=["V1","E","E1","V4","E4"],Kn=e=>{const{cardType:t,principle:n,cardNumber:i,maskedCardNumber:s,cardClass:a}=e;return"VirtualCard"===t||"VIRTUAL"===n||a===Hn.digital?r(i):s},Wn=e=>{let t;const n="icon,",s="image,",a=e?.productCode;if(i(a))t=ln;else if("MK"===a)t=((e,t,n)=>{switch(e){case"MB":return n+gn;case"MP":return n+un;default:return t+ln}})(e?.subProductCode,n,s);else if(e?.digitalCard)t=((e,t,n)=>{switch(e){case"BC":return n+hn;case"BR":return n+fn;case"TN":return n+In;case"YM":return n+Dn;case"ZM":return n+Rn;default:return t+ln}})(a,n,s);else switch(e?.cardProductType){case"MASTERCARD":t=((e,t,n)=>{switch(e){case"B0":case"BA":return n+zn;case"B5":case"BM":return n+yn;case"B6":case"B7":case"BI":case"BL":return n+wn;case"B8":case"BS":return n+un;case"B9":case"BT":return n+xn;case"BC":case"BP":case"PV":return n+gn;case"BR":return n+mn;case"LC":case"UC":return n+Un;case"M4":return n+bn;default:return t+ln}})(a,n,s);break;case"VISA":t=((e,t,n)=>{switch(e){case"B1":case"B2":case"T1":return n+Cn;case"B3":case"T3":case"LT":return n+pn;case"B4":case"T2":return n+kn;case"BN":case"BV":case"TN":return n+vn;default:return t+ln}})(a,n,s);break;case"TROY":t=((e,t,n)=>{switch(e){case"XR":return n+jn;case"YP":return n+_n;case"YC":case"YS":return n+Sn;case"Z1":return n+En;case"Z2":return n+An;case"Z0":return n+Ln;case"ZC":case"ZS":return n+Pn;default:return t+ln}})(a,n,s);break;default:t=ln}return t},Yn=e=>{let t;const n="icon,",s="image,",a=e?.productCode;if(i(a))t=ln;else switch(e?.cardProductType){case"MASTERCARD":t=((e,t,n)=>{switch(e){case"DM":return n+Mn;case"VM":return n+Fn;case"DB":return n+dn;default:return t+ln}})(a,n,s);break;case"VISA":t=((e,t,n)=>{switch(e){case"D1":return n+Vn;case"D2":case"DY":return n+Bn;case"VV":return n+Nn;case"DT":return n+dn;default:return t+ln}})(a,n,s);break;case"TROY":t=((e,t,n)=>{switch(e){case"TR":return n+Tn;case"Q1":case"S1":case"R1":return n+$n;case"Q2":return n+On;default:return t+ln}})(a,n,s);break;default:t=ln}return t},Qn=(e,t)=>{let n="";return e&&t&&("MT"===e&&"TL"===t&&(n="orange"),"VT"===e&&"TL"===t&&(n="sky"),"USD"===t&&(n="leaf"),"EUR"===t&&(n="sky"),"XAU"===t&&(n="lime"),"RUB"!==t&&"AUD"!==t||(n="indigo")),n},Xn=e=>{const t={category:"",customerNumber:0,order:0,branch:{code:0,name:""},type:"",amount:0,usableAmount:0,currency:"",currencyCode:null,iban:"",icon:"",iconColor:"",isPassive:!1,accountProperty:null,alias:null,accountId:null,isClosed:!1,depositAccount:!1,accountProductName:""},n=e.accounting?.balance?.currency?.symbol;t.accountId=e.detail?.accountId,t.currencyCode=e.account.currency?.code,t.icon=o(e),t.iconId=o(e),t.customerNumber=e.account.customerNumber,t.order=e.account.order,t.type=e.account.type;if("VT"===e.account.type||"VY"===e.account.type?t.longType="Term":"ORANGE_ACCOUNT"===e.detail?.accountProduct?t.longType="Orange":t.longType="Deposit",t.usableAmount=e.accounting?.availableBalance.value,t.accountProperty=e.detail?.accountProductProperty,t.accountProductName=e.detail?.accountProductName,t.alias=e?.detail?.alias?`${e.detail?.alias}`:`${t.customerNumber} ${t.type}-${t.order}`,!i(e.account.branch.name)){const n=e.account.branch.name;t.branch.name=n.charAt(0).toLocaleUpperCase("TR-tr")+n.slice(1).toLocaleLowerCase("TR-tr")}if(e.account.branch?.code&&(t.branch.code=e.account.branch.code),i(e.account.category)||(t.category=e.account.category),e.accounting.balance?.value&&(t.amount=e.accounting.balance.value),i(e?.account?.iban)||(t.iban=e.account.iban),n){const e=n;t.currency="TL"===e?"TRY":e}return"BLOCKED_TRANSFERS_FOR_PASSIVE"===e.detail?.statusReason&&"ON_HOLD_ACCOUNT"===e.detail?.status&&(t.isPassive=!0),"CLOSE_ACCOUNT"===e.detail?.status&&(t.isClosed=!0),e.detail?.accountProductProperty?.depositAccount&&(t.depositAccount=!0),t.detail=e.detail,t},Zn={cards:{key:"cards",dto:e=>{const t={accountNo:"",relatedAccountNumbers:[],amount:0,cardId:0,cardNumber:"",unmaskedCardNumber:"",cardTypeName:"",chipped:!1,currency:"",iban:"",icon:"",owner:"",status:"",stuckInAtm:!1,subType:"",type:"",usableAmount:0,partnerName:"",valid:!0,limit:{},availableLimit:{},contactless:!1,principle:"",cardViewType:"",imageUrl:"",imageSize:"",digitalCard:!1,restricted:!1,cardProductType:""};switch(t.cardId=e.cardId,t.cardNumber=Kn(e),t.unmaskedCardNumber=e.cardNumber,t.cardTypeName=e.productDescription,t.owner=`${e.identification.name} ${e.identification.secondName} ${e.identification.surname}`,t.status=e.status,t.type=e.cardType,t.partnerName=e.partnerName,t.valid=e.valid,t.limit=e.limit,t.availableLimit=e.availableLimit,t.contactless=e.contactless,t.principle=e.principle,t.cardViewType="icon",t.cardViewInfo="",t.cardViewInfoSplit="",t.imageSize="small",t.digitalCard=e.cardClass===Hn.digital,t.restricted=e.restricted,t.cardProductType=e.cardProductType,e.principle){case"MAIN":t.subType="Asıl Kart";break;case"SUPP":t.subType="Ek Kart";break;case"VIRTUAL":t.subType="Sanal Kart"}const n=(()=>{const e=qn.getEnvironmentName();return["development","test","preprod"].includes(e)?"https://imagetest.ing.com.tr/":"https://image.ing.com.tr/"})();if("string"!=typeof t.type||"creditcard"!==t.type.toLowerCase()&&!t.type.toLowerCase().includes("virtualcard")||(e.limit&&(t.amount=e.limit.value,t.currency="TL"===e.limit.currency.symbol?"TRY":e.limit.currency.symbol),t.cardViewInfo=Wn(e),t.cardViewInfoSplit=t.cardViewInfo.split(","),t.cardViewType=t.cardViewInfoSplit[0],t.icon="icon"===t.cardViewType?t.cardViewInfoSplit[1]:"",t.imageUrl="image"===t.cardViewType?n+t.cardViewInfoSplit[1]:""),t.usableAmount=e.availableLimit.value,"string"==typeof t.type&&"debitcard"===t.type.toLowerCase()){if(t.cardViewInfo=Yn(e),t.cardViewInfoSplit=t.cardViewInfo.split(","),t.cardViewType=t.cardViewInfoSplit[0],t.icon="icon"===t.cardViewType?t.cardViewInfoSplit[1]:"",t.imageUrl="image"===t.cardViewType?n+t.cardViewInfoSplit[1]:"",Array.isArray(e.cardAccounts)&&e.cardAccounts.length){const n=e.cardAccounts[0];t.iban=a(n.iban),t.accountNo=`${n.branch.code}-${n.customerNumber}-${n.type}-${n.order}`,t.currency="TL"===n.currency.symbol?"TRY":n.currency.symbol,e.cardAccounts.forEac
1h(e=>{t.relatedAccountNumbers.push(`${e.branch.code}-${e.customerNumber}-${e.type}-${e.order}`)})}if("string"==typeof e.productCode&&e.productCode.length){const n=e.productCode.toLowerCase();t.chipped="d2"===n||"d4"===n||"dm"===n||"dy"===n}}return t.currency||(t.currency="TRY"),t.valid||"string"==typeof t.status&&"at"===t.status.toLowerCase()&&(t.stuckInAtm=!0),t}},accounts:{key:"accountSpaceList",dto:Xn},currentAccounts:{key:"accountSpaceList",dto:Xn},accountDetail:{dto:e=>{const t=c(e?.detail?.accountProductProperty),n=t,s="timedeposit"===t,a={shortType:e.account.type,nativeType:l(e?.detail?.accountProductProperty,e?.accounting?.overdraft?.overdraftAccount),type:n,account:i(e?.account?.iban)?"":e.account.iban,category:i(e.account.category)?"":e.account.category,customerNumber:0,order:0,branch:{code:e.account.branch.code,name:i(e.account.branch.name)?"":e.account.branch.name.charAt(0).toLocaleUpperCase("TR-tr")+e.account.branch.name.slice(1).toLocaleLowerCase("TR-tr")},amount:e.accounting.balance?.value?e.accounting.balance.value:0,usableAmount:0,currency:"",iban:i(e?.account?.iban)?"":e.account.iban.replace(/[^\dA-Z]/g,"").replace(/(.{4})/g,"$1 ").trim(),icon:"",iconId:"",iconColor:"",isPassive:!1,accountProperty:null,alias:null,aliasRoot:null,hasOverdraft:e?.accounting?.overdraft?.overdraftAccount,overdraft:{usableAmount:e?.accounting?.overdraft?.availableLimit?.value,overdraftLimit:e?.accounting?.overdraft?.limit?.value},termCurrency:s?"TL"===e?.term?.endOfTerm?.netInterestAmount?.currency?.symbol?"TRY":e?.term?.endOfTerm?.netInterestAmount?.currency?.symbol:"",netInterestIncome:s&&e?.term?.endOfTerm?.netInterestAmount?e?.term?.endOfTerm?.netInterestAmount?.value:0,interestRate:s?`% ${e?.term?.accountInterestRate}`:"%0",periodEndBalance:s&&e?.term?.endOfTerm?.balance?e?.term?.endOfTerm?.balance?.value:0,termDay:s&&e?.term?.day?e?.term?.day:"0",orangeInterest:null,accumulatingOrderExist:!1,accumulatingOrderList:null,orderNumber:0};(e?.rate||e?.previousMonthNetInterestEarnings)&&(a.orangeInterest={rate:e?.rate,previousMonthNetInterestEarnings:{value:e?.previousMonthNetInterestEarnings?.value,currency:e?.previousMonthNetInterestEarnings?.currency?.swiftSymbol}});const r=e.accounting?.balance?.currency?.symbol;if(a.accountId=e.detail?.accountId,a.icon=o(e),a.iconId=o(e),a.customerNumber=e.account.customerNumber,a.order=e.account.order,a.usableAmount=e.accounting.availableBalance.value,a.accountProperty=e.detail.accountProductProperty,a.aliasRoot=e?.detail?.alias,a.alias=e?.detail?.alias?`${e.detail.alias}`:`${e.account.customerNumber} ${e.account.type}-${e.account.order}`,a.accumulatingOrderExist=e?.accumulatingOrderExist,a.accumulatingOrderList=e?.accumulatingOrderList,i(a.accumulatingOrderList)||(a.orderNumber=e?.accumulatingOrderList[0].orderNo),r){const e=r;a.currency="TL"===e?"TRY":e}return"BLOCKED_TRANSFERS_FOR_PASSIVE"===e.detail.statusReason&&"ON_HOLD_ACCOUNT"===e.detail.status&&(a.isPassive=!0),s&&(a.termStartDate=d(new Date(e?.term?.valorDate)),a.termEndDate=d(new Date(e?.term?.maturityDate)),e?.term?.accountBalance&&(a.termCurrency="TL"===e.term.accountBalance.currency.symbol?"TRY":e.term.accountBalance.currency.symbol)),e.account.branch.code&&e.account.customerNumber&&e.account.type&&e.account.order&&(a.accountNumber=`${e.account.branch.code} ${e.account.customerNumber} ${e.account.type}-${e.account.order}`),a.detail=e.detail,a.tryBalanceAmount=e.tryBalanceAmount,a.tryAvailableBalanceAmount=e.tryAvailableBalanceAmount,a.exchangeRate=e.exchangeRate,a}},closedAccounts:{key:"accountSpaceList",dto:Xn},accountsWithClosed:{key:"accountSpaceList",dto:Xn}},Jn=(e,t,n,s)=>{const{key:a,dto:r}=Zn[e];"accountsWithClosed"===e&&(Jt("hasStockAccountError",n.hasStockError,!0),Jt("hasSavingAccountError",n.hasSavingError,!0));const o=void 0!==a?n[a]:n;return i(o)?null:Array.isArray(o)?o.filter(e=>{const n=r(e);if("function"==typeof t){const e=t(n,s);return!0===e||void 0===e}return!0}).map(e=>r(e)):r(o)},ei=e=>{const t=e?.header?.message?.parameter;return t?.some(e=>(e=>"IVN_PENDING_STATUS"===e.key&&"true"===e.value)(e))&&t?.some(e=>(e=>"STEP"===e.key&&"CONFIRM"===e.value)(e))},ti=async e=>{if(!e?.hasFlowId)return;Zt("flowId",!0)||await(async()=>{const e=await $i({uri:"flow-activity/start/v1",request:{},showNoMessage:!0,isProcessFetch:!0});e?.header?.success&&Jt("flowId",e.body?.flowId,!0)})()};(()=>{const n=new AbortController,i=new AbortController;e.createStoreModel(t.APP_STATE_MODEL_ID,{...Xt,abortController:n,outOfFlowAbortController:i}),e.createStoreModel(t.FLOW_STATE_MODEL_ID,{}),e.createStoreModel(t.TIMEOUT_STATE_MODEL_ID,t.TIMEOUT_STATE_MODEL),localStorage.setItem("localList",JSON.stringify(Xt.localList)),localStorage.setItem("sessionList",JSON.stringify(Xt.sessionList));let s=sessionStorage.getItem("deviceId");s&&"null"!==s||(s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,Qt),sessionStorage.setItem("deviceId",s))})();const ni=new class extends s{constructor(e){if(void 0!==e)return void super(e);let t=`https://${window.location.host.replace(window.location.pathname,"")}`;const n={headers:{}};(-1!==t.indexOf("localhost")||-1!==t.indexOf("127.0.0.1"))&&(t="https://internetsubesitest.ing.com.tr"),n.baseURI=`${t}/api/`,super(n)}initTokens(){this.refreshTokenURL="authentication/refreshtoken",this.gatewayToken=sessionStorage.getItem("gatewayToken"),this.mobileToken=Zt("mobileToken")||sessionStorage.getItem("mobileToken"),this.refreshToken=sessionStorage.getItem("refreshToken")}triggerToLoginRoute(){window.location.href=null!=document.getElementsByTagName("base")?document.getElementsByTagName("base")[0].href:window.location.origin}onAfterCall(e,t){if(e){401===e.status&&this.isInternalCall(t)&&(sessionStorage.clear(),this.triggerToLoginRoute());const n=e.headers.get("X-ING-ACCESS-TOKEN"),i=e.headers.get("X-ING-REFRESH-TOKEN");null!==n&&""!==n&&sessionStorage.setItem("gatewayToken",n),null!==i&&""!==i&&sessionStorage.setItem("refreshToken",
1i),this.setSecureSigningIdsToState(e.headers)}}setSecureSigningIdsToState(e){const t=e?.get("secureSigningFlag");if(t){Jt("isSecureSigningEnabled","1"===t,!0)}const n=e?.get("ssTransactionId");n&&Jt("ssTransactionId",n,!0);const i=e?.get("ssAuthId");i&&(Jt("ssAuthId",i,!0),window.dispatchEvent(new Event("fetch-execute-completed")))}addSecureSigningIdsToHeader(e){if(e?.hasFlowId){const t=Zt("flowId",!0);t&&(e.authHeader.flowId=t)}const t=Zt("ssTransactionId",!0);t&&(e.authHeader.ssTransactionId=t)}isInternalCall(e){return!(e.uri.includes("authentication")||e.uri.includes("anonymous"))}validateTokens(e){return this.isInternalCall(e)?this.gatewayToken?this.mobileToken?this.refreshToken?null:Promise.reject(new Error("Invalid refresh token!")):Promise.reject(new Error("Invalid mobile access token!")):Promise.reject(new Error("Invalid gateway access token!")):null}validateRequest(e){if(this.initTokens(),!e)return Promise.reject(new Error("Parameters are not specified!"));const t={...e};if(!t.uri)return Promise.reject(new Error("Uri must be specified!"));const n=this.validateTokens(t);return null!==n?n:this.addHeaders(t)}addHeaders(e){return e.authHeader||(e.authHeader={}),this.gatewayToken&&this.mobileToken&&e.uri!==this.refreshTokenURL&&(e.authHeader.AccessToken=this.mobileToken,e.authHeader["X-ING-ACCESS-TOKEN"]=this.gatewayToken),this.refreshToken&&e.uri===this.refreshTokenURL&&(e.authHeader.AccessToken=this.mobileToken,e.authHeader["X-ING-REFRESH-TOKEN"]=this.refreshToken,e.authHeader["X-ING-ACCESS-TOKEN"]=this.gatewayToken),this.addSecureSigningIdsToHeader(e),e}createBody(e){let t="";return t=e.type&&"anonymous"===e.type?JSON.stringify(e.request):JSON.stringify({message:JSON.stringify(e.request)}),t}fetch(e={}){if(e.mockUri&&1===Object.keys(e).length)return super.callMockApi(e.mockUri);const t=this.validateRequest(e);if("function"!=typeof t?.then){const e=this.createBody(t);return super.call(t,e,this.onAfterCall.bind(this))}return t}},ii="isInitialFetchLoading",si="isProcessFetchLoading",ai="loadingCounter",ri={ANOTHER_USER_LOGGED_IN:"ANOTHER_USER_LOGGED_IN"},oi={HOLD_ON_TXNOTP:308014,SESSION_AND_ACTIVATION_NOT_MATCHED:21e3,SESSION_AND_DEVICE_NOT_MATCHED:21001,SESSION_AND_USER_NOT_MATCHED:21002,SESSION_BLOCKED_BY_FRAUD_ACTIVITY:21003,SESSION_EXPIRED:21005,SESSION_EXTENDING_TIMEOUT:21006,SESSION_NOT_VALID:21009,SESSION_MAX_EXTENDING_COUNT_REACHED:21011},ci=e=>e===ri.ANOTHER_USER_LOGGED_IN?"logout/another-user-logged-in":e===oi.HOLD_ON_TXNOTP?"logout/user-holded-txnotp":Object.values(oi).some(t=>t===e)?"logout":"",li=Zt("hideMessageOnErrorCodes",!0)??[],di={cards:{request:{statusCodeGroup:"TPALISTCARDS"},uri:"card/list/v1"},accounts:{request:{keyword:"AccountList"},uri:"account/list"},currentAccounts:{request:{keyword:"CurrentAccountList"},uri:"account/list"},closedAccounts:{request:{keyword:"ClosedAccountList"},uri:"account/list"},accountsWithClosed:{request:{keyword:"AccountListWithClosed"},uri:"account/list"}},ui=({uri:e,type:t,testMock:n,...s})=>{if(i(s)||n)return(e=>ni.fetch({mockUri:`https://succeed.testadc.smartui/mock/api/${e}`}))(e);const a=Zt("abortController",!0),r=Zt("outOfFlowAbortController",!0);return ni.fetch({type:t,uri:e,abortController:a,outOfFlowAbortController:r,...s})},pi=e=>Object.values(ri).includes(e)||Object.values(oi).includes(e),mi=({hasHashControl:e,returnedError:t})=>{i(e)&&!e||(Object.keys(e).length>0&&e.hasOwnProperty("excludeErrors")?e.excludeErrors.includes(t)||Jt("hashCallError",!0,!0):e&&Jt("hashCallError",!0,!0))},gi=({header:n,showNoMessage:i,uri:s,hasHashControl:a,showNoMessageErrorCodes:r})=>{if(window.dataroid&&n?.message?.code>0&&window.dataroid.track("BankingError",{ErrorDescription:n?.message?.text,ErrorCode:n?.message?.code.toString(),Uri:s}),n&&0!==n?.message?.code&&"Undefined"!==n?.message?.type&&!i&&!hi(n?.message?.code,r)){if(-1===n?.message?.code||pi(n?.message?.text)||pi(n?.message?.code)||e.updateItem({apiMessage:n?.message},t.APP_STATE_MODEL_ID),pi(n?.message?.text)){cn({logout:!0});const e=ci(n?.message?.text);return void p.navigate(e)}if(pi(n?.message?.code)){cn({logout:!0});const e=ci(n?.message?.code);return void p.navigate(e)}mi({hasHashControl:a,returnedError:n?.message?.code})}},hi=(e,t)=>[...t,...li].find(t=>t===e),fi=n=>{const i=e.getFormData(t.APP_STATE_MODEL_ID),s=i[n]?i[n]:0;e.updateItem({[n]:s+1},t.APP_STATE_MODEL_ID)},bi=n=>{const i=e.getFormData(t.APP_STATE_MODEL_ID);i[n]&&e.updateItem({[n]:i[n]-1},t.APP_STATE_MODEL_ID)},yi=({featureId:n,isInitialFetch:i,isProcessFetch:s,processMessage:a,showIconSpinner:r,disableSessionCounter:o})=>{const{loadingCounter:c,isLoggedIn:l}=e.getFormData(t.APP_STATE_MODEL_ID),{timeoutProcess:d}=e.getFormData(t.TIMEOUT_STATE_MODEL_ID);if(n){const e=Zt("apiResults",!0);let t="pending";"error"===e[n]&&(t="pending-after-error"),i&&(t="pending-initial"),Jt("apiResults",{...e,[n]:t},!0)}c<=0&&l&&!o&&e.updateItem({timeoutProcess:d+1},t.TIMEOUT_STATE_MODEL_ID),fi(ai),i&&(fi(ii),e.updateItem({fetchInitialProcessing:!0},t.APP_STATE_MODEL_ID)),s&&(a&&e.updateItem({processMessage:a},t.APP_STATE_MODEL_ID),fi(si)),e.updateItem({fetchProcessing:!0},t.APP_STATE_MODEL_ID),e.updateItem({showIconSpinner:r},t.APP_STATE_MODEL_ID)},vi=({isInitialFetch:n,isProcessFetch:i})=>{if(bi(ai),n){bi(ii);0===Zt(ii,!0)&&e.updateItem({fetchInitialProcessing:!1},t.APP_STATE_MODEL_ID)}i&&bi(si);const{loadingCounter:s}=e.getFormData(t.APP_STATE_MODEL_ID);0===s&&(e.updateItem({processMessage:null},t.APP_STATE_MODEL_ID),e.updateItem({fetchProcessing:!1},t.APP_STATE_MODEL_ID),e.updateItem({showIconSpinner:!1},t.APP_STATE_MODEL_ID))},wi=({type:e,filter:t,scope:n,success:i,fail:s,testMock:a,showNoMessage:r,hasHashControl:o,showNoMessageErrorCodes:c,...l})=>{const{uri:d,request:u}=di[e]||{};
1return ui({uri:l.uri||d,type:e,testMock:a,request:{...l.request,...u},scope:n}).then(a=>{if(a?.body){const s=Jn(e,t,a.body,n);if("function"!=typeof i)return s;i.call(n,s)}else"function"==typeof s?s.call(n,a):Promise.reject(a);gi({header:a.header,showNoMessage:r,uri:l.uri||d,hasHashControl:o,showNoMessageErrorCodes:c})}).catch(e=>{gi({header:e.header,showNoMessage:r,uri:l.uri||d,hasHashControl:o,showNoMessageErrorCodes:c}),"function"==typeof s?s.call(n,e):Promise.reject(e)}).finally(()=>{l.finally&&"function"==typeof l.finally&&l.finally.call(n)})};const Ci=e=>{const t=e.parameter;let n=e.text;return i(t)||t.forEach(({key:e,value:t})=>{n=n?.replace(e,t)}),n},xi=(e,t,n)=>{const i={response:e,uri:t.uri};if(Jt("apiCallContext",i,!0),n){const t=Zt("apiResults",!0)||{},i=e?.header?.success?"success":"error";Jt("apiResults",{...t,[n]:i},!0)}return ki(e)},ki=e=>{const t=!1===e?.header?.success?{...e?.header?.message,text:Ci(e?.header?.message)}:e?.header?.message;return{...e,header:{...e?.header,success:!!Gt(e)||e?.header?.success,message:t}}},Ii=(e,t)=>{ei(e)&&(Jt("ivnConfig",{scope:t.scope,success:t.success,response:e}),Jt("ivnPendingStatus",!0,!0))};async function $i({isInitialFetch:e,isProcessFetch:t,hasHashControl:n=!1,processMessage:i,showIconSpinner:s=!1,showNoMessage:a=!1,testMock:r=!1,featureId:o,disableSessionCounter:c=!1,showNoMessageErrorCodes:l=[],...d}){return await ti(d),yi({featureId:o,isInitialFetch:e,isProcessFetch:t,processMessage:i,showIconSpinner:s,disableSessionCounter:c}),d.type&&"anonymous"!==d.type?wi({testMock:r,hasHashControl:n,showNoMessageErrorCodes:l,...d}).finally(()=>{vi({isInitialFetch:e,isProcessFetch:t})}):ui({testMock:r,...d}).then(e=>{if("audio/wave"===e.type)return e;Ii(e,d),function(e,t,n,i,s){if(Wt(e)){const a=e?.body?.responseHeader?.message?.parameter?.find(e=>"refCode"==e.key)?.value;Jt("txnOtpConfig",{coreExecuteUrl:s.uri,coreRequest:{request:s.request,success:s.success,fail:s.fail},scope:s.scope,hasFlowId:s.hasFlowId,hasHashControl:t,showNoMessage:n,referenceNumber:a,showNoMessageErrorCodes:i}),Jt("otpRequired",!0,!0)}}(e,n,a,l,d);const t=xi(e,d,o);return gi({header:t?.header,showNoMessage:a,uri:d.uri,hasHashControl:n,showNoMessageErrorCodes:l}),t}).catch(e=>{const t=xi(e,d,o);return gi({header:t?.header,showNoMessage:a,uri:d.uri,hasHashControl:n,showNoMessageErrorCodes:l}),t}).finally(()=>{vi({isInitialFetch:e,isProcessFetch:t})})}const Ti=(e,t,n,i)=>{switch(e){case"en-GB":case"en-US":case"en":return i?import("./en-b3173394.js"):n?function(e){switch(e){case"../../../packages/containers/common/translations/en.js":return import("./en-77a249f0.js");case"../../../packages/containers/question/translations/en.js":return import("./en-6010c7cd.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../../../packages/containers/${t}/translations/en.js`):function(e){switch(e){case"../../../packages/features/access-datetime-restriction/translations/en.js":return import("./en-9d61341d.js");case"../../../packages/features/account-activities-view/translations/en.js":return import("./en-5a69c7ce.js");case"../../../packages/features/account-closed-list/translations/en.js":return import("./en-2db0f6d5.js");case"../../../packages/features/account-detail/translations/en.js":return import("./en-4c908364.js");case"../../../packages/features/account-investment-activities/translations/en.js":return import("./en-149dd79f.js");case"../../../packages/features/account-kolas-dashboard/translations/en.js":return import("./en-0f7f83f3.js");case"../../../packages/features/account-kolas-define/translations/en.js":return import("./en-decb233d.js");case"../../../packages/features/account-list/translations/en.js":return import("./en-b47d876c.js");case"../../../packages/features/account-openings-view/translations/en.js":return import("./en-ae37aec5.js");case"../../../packages/features/account-settings/translations/en.js":return import("./en-dc7a3154.js");case"../../../packages/features/accumulating-account-payment-plan/translations/en.js":return import("./en-e4a3ab1f.js");case"../../../packages/features/additional-action-fast-money-transfer/translations/en.js":return import("./en-f2951cfd.js");case"../../../packages/features/all-activities/translations/en.js":return import("./en-1334eb94.js");case"../../../packages/features/assets/translations/en.js":return import("./en-f6beb1b5.js");case"../../../packages/features/auth-settings/translations/en.js":return import("./en-6a886846.js");case"../../../packages/features/bill-payment/translations/en.js":return import("./en-22366e1e.js");case"../../../packages/features/breadcrumbs/translations/en.js":return import("./en-07d1a3ec.js");case"../../../packages/features/card-payments/translations/en.js":return import("./en-024faee1.js");case"../../../packages/features/chart/translations/en.js":return import("./en-e9ff3511.js");case"../../../packages/features/common-error/translations/en.js":return import("./en-fe8a3f9b.js");case"../../../packages/features/communication-preference/translations/en.js":return import("./en-c72c86ac.js");case"../../../packages/features/contract-box/translations/en.js":return import("./en-300be500.js");case"../../../packages/features/contracts/translations/en.js":return import("./en-f01c7abf.js");case"../../../packages/features/corporate-payments/translations/en.js":return import("./en-e633d1c6.js");case"../../../packages/features/dashboard/translations/en.js":return import("./en-f7ffb7bd.js");case"../../../packages/features/datetime-range-restriction/translations/en.js":return import("./en-c3385263.js");case"../../../packages/features/day-restriction/translations/en.js":return import("./en-f317bbde.js");case"../../../packages/features/deposit-rates/translations/en.js":return import("./en-7ace5c39.js");case"../../../packages/features/document/translations/en.js":return import("./en-590bd6ce.js");case"../../../packages/features/document-popup/translations/en.js":return import("./en-dc165895.js");case"../../../packages/features/donation-payment/translations/en.js":return import("./en-38cee208.js");case"../../../packages/features/e-government/translations/en.js":return import("./en-b90f9c61.js");case"../../../packages/features/exchange/translations/en.js":return import("./en-de64bd0d.js");case"../../../packages/features/exchange-account-control/translations/en.js":return import("./en-02b60d2f.js");case"../../../packages/features/filter-list/translations/en.js":return import("./en-a3bc2bda.js");case"../../../packages/features/games-of-chance/translations/en.js":return import("./en-ac3f179e.js");case"../../../packages/features/help-menu/translations/en.js":return import("./en-33ea16a2.js");case"../../../packages/features/hybrid-form/translations/en.js":return import("./en-fcac30c1.js");case"../../../packages/features/individual-retirement-detail/translations/en.js":return import("./en-4d5528ff.js");case"../../../packages/features/individual-retirement-list/translations/en.js":return import("./en-92272e61.js");case"../../../packages/features/ing-tr-loans/translations/en.js":return import("./en-f3a49290.js");case"../../../packages/features/installment-overdraft-view/translations/en.js":return import("./en-780356fe.js");case"../../../packages/features/instant-pin/translations/en.js":return import("./en-6f837ecc.js");case"../../../packages/features/insurances/translations/en.js":return import("./en-5490f74e.js");case"../../../packages/features/insurances-detail/translations/en.js":return import("./en-56a51051.js");case"../../../packages/features/investment-account-opening/translations/en.js":return import("./en-7ffd7612.js");case"../../../packages/features/investment-activities/translations/en.js":return import("./en-bbef5c98.js");case"../../../packages/features/investment-activities-process/translations/en.js":return import("./en-c04bdcf3.js");case"../../../packages/features/investment-assets/translations/en.js":return import("./en-4c2631f4.js");case"../../../packages/features/investment-contracts/translations/en.js":return import("./en-59b79cfb.js");case"../../../packages/features/investment-dashboard/translations/en.js":return import("./en-ee40c9fc.js");case"../../../packages/features/investment-extract-list/translations/en.js":return import("./en-be1ef61a.js");case"../../../packages/features/investment-link-repo/translations/en.js":return import("./en-03d5525e.js");case"../../../packages/features/investment-process-order/translations/en.js":return import("./en-936b8183.js");case"../../../packages/features/investment-settings/translations/en.js":return import("./en-192599cd.js");case"../../../packages/features/investment-transaction-document/translations/en.js":return import("./en-fdeb85b2.js");case"../../../packages/features/investment-transaction-instruction/translations/en.js":return import("./en-2ada53b3.js");case"../../../packages/features/investment-transaction-result/translations/en.js":return import("./en-7f4f7e98.js");case"../../../packages/features/investments-bill-bond-buy-sell/translations/en.js":return import("./en-70078fca.js");case"../../../packages/features/investments-eurobond-buy-sell/translations/en.js":return import("./en-4800e783.js");case"../../../packages/features/investments-fund/translations/en.js":return import("./en-a5d2656f.js");case"../../../packages/features/investments-fund-buy-sell/translations/en.js":return import("./en-eed3652a.js");case"../../../packages/features/investments-fund-cancel/translations/en.js":return import("./en-8c5f6e50.js");case"../../../packages/features/investments-fund-compare/translations/en.js":return import("./en-0f9a06e3.js");case"../../../packages/features/investments-fund-orders/translations/en.js":return import("./en-d4b2297d.js");case"../../../packages/features/investments-fund-search-and-analyze/translations/en.js":return import("./en-50b8d5c3.js");case"../../../packages/features/investments-public-offering-buy/translations/en.js":return import("./en-b64a1bce.js");case"../../../packages/features/investments-public-offering-cancel/translations/en.js":return import("./en-cf569e53.js");case"../../../packages/features/investments-public-offering-order/translations/en.js":return import("./en-12df3a2c.js");case"../../../packages/features/investments-stock/translations/en.js":return import("./en-621accb2.js");case"../../../packages/features/investments-stock-buy-sell/translations/en.js":return import("./en-a6b956bf.js");case"../../../packages/features/investments-stock-cancel/translations/en.js":return import("./en-94280593.js");case"../../../packages/features/investments-stock-chain-order/translations/en.js":return import("./en-6269b310.js");case"../../../packages/features/investments-stock-edit/translations/en.js":return import("./en-45398cb8.js");case"../../../packages/features/investments-stock-multiple-order/translations/en.js":return import("./en-1304ef5c.js");case"../../../packages/features/investments-stock-orders/translations/en.js":return import("./en-32896f86.js");case"../../../packages/features/investments-viop/translations/en.js":return import("./en-9df4ade8.js");case"../../../packages/features/know-you/translations/en.js":return import("./en-2d2b8c7a.js");case"../../../packages/features/kvkk/translations/en.js":return import("./en-2d40b3ff.js");case"../../../packages/features/limit-settings/translations/en.js":return import("./en-4ccea9b5.js");case"../../../packages/features/loan-detail/translations/en.js":return import("./en-53bd74d7.js");case"../../../packages/features/loan-payment/translations/en.js":return import("./en-e8268f79.js");case"../../../packages/features/loans/translations/en.js":return import("./en-a88d4d29.js");case"../../../packages/features/login/translations/en.js":return import("./en-e63443f4.js");case"../../../packages/features/login-change-password/translations/en.js":return import("./en-744a7df1.js");case"../../../packages/features/login-mobile-confirm/translations/en.js":return import("./en-84804337.js");case"../../../packages/features/login-otp-select/translations/en.js":return import("./en-e51fc6e8.js");case"../../../packages/features/login-security-image/translations/en.js":return import("./en-1fcb794d.js");case"../../../packages/features/login-security-warning/translations/en.js":return import("./en-3714b138.js");case"../../../packages/features/login-sms-otp/translations/en.js":return import("./en-365d783e.js");case"../../../packages/features/login-soft-otp/translations/en.js":return import("./en-8a9d755d.js");case"../../../packages/features/logout/translations/en.js":return import("./en-afadb31f.js");case"../../../packages/features/main-nav/translations/en.js":return import("./en-238a86f7.js");case"../../../packages/features/main-navbar/translations/en.js":return import("./en-ab08d807.js");case"../../../packages/features/mobile-nav-card/translations/en.js":return import("./en-eea6fb43.js");case"../../../packages/features/mobile-password-success/translations/en.js":return import("./en-d480d6f6.js");case"../../../packages/features/mobile-top-up-payment/translations/en.js":return import("./en-460a14e8.js");case"../../../packages/features/nav-bar/translations/en.js":return import("./en-c6e0302d.js");case"../../../packages/features/not-found-view/translations/en.js":return import("./en-568a7685.js");case"../../../packages/features/notifications/translations/en.js":return import("./en-0f4605ad.js");case"../../../packages/features/oft-list/translations/en.js":return import("./en-ff737b14.js");case"../../../packages/features/osym-payment/translations/en.js":return import("./en-cc38181c.js");case"../../../packages/features/payment-history/translations/en.js":return import("./en-7121eee3.js");case"../../../packages/features/payment-plan/translations/en.js":return import("./en-5e64dfda.js");case"../../../packages/features/payments-recorded/translations/en.js":return import("./en-0cf4a66f.js");case"../../../packages/features/profile-active-devices/translations/en.js":return import("./en-f0a2600a.js");case"../../../packages/features/profile-addresses/translations/en.js":return import("./en-bc6a91ea.js");case"../../../packages/features/profile-contact-infos/translations/en.js":return import("./en-074c8b1c.js");case"../../../packages/features/profile-info/translations/en.js":return import("./en-48f0ab11.js");case"../../../packages/features/profile-ip-address-add/translations/en.js":return import("./en-a2fe7c93.js");case"../../../packages/features/profile-ip-addresses/translations/en.js":return import("./en-f451db3f.js");case"../../../packages/features/profile-open-banking/translations/en.js":return import("./en-bbe7f8d2.js");case"../../../packages/features/profile-password/translations/en.js":return import("./en-12b8792e.js");case"../../../packages/features/profile-settings/translations/en.js":return import("./en-3847b1f6.js");case"../../../packages/features/rate-me/translations/en.js":return import("./en-487c9fbd.js");case"../../../packages/features/register-mkk/translations/en.js":return import("./en-2e4d9e8c.js");case"../../../packages/features/sgk-payment/translations/en.js":return import("./en-bf1c5e73.js");case"../../../packages/features/side-action-list/translations/en.js":return import("./en-5656e701.js");case"../../../packages/features/sms-emails/translations/en.js":return import("./en-f109b7a3.js");case"../../../packages/features/sms-emails-settings/translations/en.js":return import("./en-6a1ab096.js");case"../../../packages/features/support-account-activities/translations/en.js":return import("./en-34a0dc6b.js");case"../../../packages/features/support-account-detail/translations/en.js":return import("./en-cd378752.js");case"../../../packages/features/support-account-extract/translations/en.js":return import("./en-c96ffd50.js");case"../../../packages/features/support-account-payment-plan/translations/en.js":return import("./en-fac3b922.js");case"../../../packages/features/survey-questions/translations/en.js":return import("./en-ebd20901.js");case"../../../packages/features/tax-payment/translations/en.js":return import("./en-4d99a78c.js");case"../../../packages/features/time-deposit-account-draw-deposit/translations/en.js":return import("./en-236ad603.js");case"../../../packages/features/timeout-dia
1log/translations/en.js":return import("./en-c25cc77c.js");case"../../../packages/features/transactions/translations/en.js":return import("./en-bdef3f49.js");case"../../../packages/features/txn-otp-input/translations/en.js":return import("./en-192324b3.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../../../packages/features/${t}/translations/en.js`);default:return i?import("./tr-25ffdb65.js"):n?function(e){switch(e){case"../../../packages/containers/common/translations/tr.js":return import("./tr-632098a9.js");case"../../../packages/containers/question/translations/tr.js":return import("./tr-9cf1a998.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../../../packages/containers/${t}/translations/tr.js`):function(e){switch(e){case"../../../packages/features/access-datetime-restriction/translations/tr.js":return import("./tr-9e207e77.js");case"../../../packages/features/account-activities-view/translations/tr.js":return import("./tr-57104c83.js");case"../../../packages/features/account-closed-list/translations/tr.js":return import("./tr-ce41583a.js");case"../../../packages/features/account-detail/translations/tr.js":return import("./tr-bccb082f.js");case"../../../packages/features/account-investment-activities/translations/tr.js":return import("./tr-8b5243a7.js");case"../../../packages/features/account-kolas-dashboard/translations/tr.js":return import("./tr-69eaa18f.js");case"../../../packages/features/account-kolas-define/translations/tr.js":return import("./tr-de1c25c5.js");case"../../../packages/features/account-list/translations/tr.js":return import("./tr-b0fac9ba.js");case"../../../packages/features/account-openings-view/translations/tr.js":return import("./tr-cdae2a2c.js");case"../../../packages/features/account-settings/translations/tr.js":return import("./tr-e91393de.js");case"../../../packages/features/accumulating-account-payment-plan/translations/tr.js":return import("./tr-ec955a9a.js");case"../../../packages/features/additional-action-fast-money-transfer/translations/tr.js":return import("./tr-813f6014.js");case"../../../packages/features/all-activities/translations/tr.js":return import("./tr-3cc6e8d6.js");case"../../../packages/features/assets/translations/tr.js":return import("./tr-09189a2d.js");case"../../../packages/features/auth-settings/translations/tr.js":return import("./tr-c1f5d7a4.js");case"../../../packages/features/bill-payment/translations/tr.js":return import("./tr-8ca92ab2.js");case"../../../packages/features/breadcrumbs/translations/tr.js":return import("./tr-cc953da7.js");case"../../../packages/features/card-payments/translations/tr.js":return import("./tr-78b0c3bd.js");case"../../../packages/features/chart/translations/tr.js":return import("./tr-31b02969.js");case"../../../packages/features/common-error/translations/tr.js":return import("./tr-381cd31f.js");case"../../../packages/features/communication-preference/translations/tr.js":return import("./tr-3c4afde3.js");case"../../../packages/features/contract-box/translations/tr.js":return import("./tr-c5444fc8.js");case"../../../packages/features/contracts/translations/tr.js":return import("./tr-9278fc15.js");case"../../../packages/features/corporate-payments/translations/tr.js":return import("./tr-f5cc9df3.js");case"../../../packages/features/dashboard/translations/tr.js":return import("./tr-c5c9f41a.js");case"../../../packages/features/datetime-range-restriction/translations/tr.js":return import("./tr-c18fb304.js");case"../../../packages/features/day-restriction/translations/tr.js":return import("./tr-141db15d.js");case"../../../packages/features/deposit-rates/translations/tr.js":return import("./tr-b798a70a.js");case"../../../packages/features/document/translations/tr.js":return import("./tr-0337c4d8.js");case"../../../packages/features/document-popup/translations/tr.js":return import("./tr-0418c426.js");case"../../../packages/features/donation-payment/translations/tr.js":return import("./tr-d3ba5a87.js");case"../../../packages/features/e-government/translations/tr.js":return import("./tr-a54cd7a5.js");case"../../../packages/features/exchange/translations/tr.js":return import("./tr-e5532414.js");case"../../../packages/features/exchange-account-control/translations/tr.js":return import("./tr-c49488fa.js");case"../../../packages/features/filter-list/translations/tr.js":return import("./tr-f993434a.js");case"../../../packages/features/games-of-chance/translations/tr.js":return import("./tr-195f2166.js");case"../../../packages/features/help-menu/translations/tr.js":return import("./tr-78edad20.js");case"../../../packages/features/hybrid-form/translations/tr.js":return import("./tr-7ceef678.js");case"../../../packages/features/individual-retirement-detail/translations/tr.js":return import("./tr-89b04568.js");case"../../../packages/features/individual-retirement-list/translations/tr.js":return import("./tr-db87bf86.js");case"../../../packages/features/ing-tr-loans/translations/tr.js":return import("./tr-5e8c2188.js");case"../../../packages/features/installment-overdraft-view/translations/tr.js":return import("./tr-b1061ee0.js");case"../../../packages/features/instant-pin/translations/tr.js":return import("./tr-3d7f1011.js");case"../../../packages/features/insurances/translations/tr.js":return import("./tr-df531413.js");case"../../../packages/features/insurances-detail/translations/tr.js":return import("./tr-a0e6f5ad.js");case"../../../packages/features/investment-account-opening/translations/tr.js":return import("./tr-1051e621.js");case"../../../packages/features/investment-activities/translations/tr.js":return import("./tr-0495f162.js");case"../../../packages/features/investment-activities-process/translations/tr.js":return import("./tr-42cb0603.js");case"../../../packages/features/investment-assets/translations/tr.js":return import("./tr-ca20275b.js");case"../../../packages/features/investment-contracts/translations/tr.js":return import("./tr-da17b2fa.js");case"../../../packages/features/investment-dashboard/translations/tr.js":return import("./tr-d3048ad5.js");case"../../../packages/features/investment-extract-list/translations/tr.js":return import("./tr-7ddf91bf.js");case"../../../packages/features/investment-link-repo/translations/tr.js":return import("./tr-3bd1796a.js");case"../../../packages/features/investment-process-order/translations/tr.js":return import("./tr-0df6977e.js");case"../../../packages/features/investment-settings/translations/tr.js":return import("./tr-ee984c1b.js");case"../../../packages/features/investment-transaction-document/translations/tr.js":return import("./tr-ca05fb69.js");case"../../../packages/features/investment-transaction-instruction/translations/tr.js":return import("./tr-15be617e.js");case"../../../packages/features/investment-transaction-result/translations/tr.js":return import("./tr-7b964a3a.js");case"../../../packages/features/investments-bill-bond-buy-sell/translations/tr.js":return import("./tr-2dd9a41e.js");case"../../../packages/features/investments-eurobond-buy-sell/translations/tr.js":return import("./tr-e6c9f5c9.js");case"../../../packages/features/investments-fund/translations/tr.js":return import("./tr-71bf5d7f.js");case"../../../packages/features/investments-fund-buy-sell/translations/tr.js":return import("./tr-d37ff2dc.js");case"../../../packages/features/investments-fund-cancel/translations/tr.js":return import("./tr-818e43fa.js");case"../../../packages/features/investments-fund-compare/translations/tr.js":return import("./tr-2f1398ba.js");case"../../../packages/features/investments-fund-orders/translations/tr.js":return import("./tr-dfbada27.js");case"../../../packages/features/investments-fund-search-and-analyze/translations/tr.js":return import("./tr-dc48115d.js");case"../../../packages/features/investments-public-offering-buy/translations/tr.js":return import("./tr-5d6df8ca.js");case"../../../packages/features/investments-public-offering-cancel/translations/tr.js":return import("./tr-76f71048.js");case"../../../packages/features/investments-public-offering-order/translations/tr.js":return import("./tr-361b6054.js");case"../../../packages/features/investments-stock/translations/tr.js":return import("./tr-c1f3c6e9.js");case"../../../packages/features/investments-stock-buy-sell/translations/tr.js":return import("./tr-7bceea6c.js");case"../../../packages/features/investments-stock-cancel/translations/tr.js":return import("./tr-91ec57f7.js");case"../../../packages/features/investments-stock-chain-order/translations/tr.js":return import("./tr-665cfb4e.js");case"../../../packages/features/investments-stock-edit/translations/tr.js":return import("./tr-6b6c7198.js");case"../../../packages/features/investments-stock-multiple-order/translations/tr.js":return import("./tr-74a7ecbb.js");case"../../../packages/features/investments-stock-orders/translations/tr.js":return import("./tr-e7abf060.js");case"../../../packages/features/investments-viop/translations/tr.js":return import("./tr-89b76bfc.js");case"../../../packages/features/know-you/translations/tr.js":return import("./tr-daefda64.js");case"../../../packages/features/kvkk/translations/tr.js":return import("./tr-32350dea.js");case"../../../packages/features/limit-settings/translations/tr.js":return import("./tr-4c3a7a94.js");case"../../../packages/features/loan-detail/translations/tr.js":return import("./tr-992577dd.js");case"../../../packages/features/loan-payment/translations/tr.js":return import("./tr-2558cc70.js");case"../../../packages/features/loans/translations/tr.js":return import("./tr-db9ff642.js");case"../../../packages/features/login/translations/tr.js":return import("./tr-351cae0d.js");case"../../../packages/features/login-change-password/translations/tr.js":return import("./tr-ddfd37e2.js");case"../../../packages/features/login-mobile-confirm/translations/tr.js":return import("./tr-4faa7c40.js");case"../../../packages/features/login-otp-select/translations/tr.js":return import("./tr-a1493c89.js");case"../../../packages/features/login-security-image/translations/tr.js":return import("./tr-f6e5ca49.js");case"../../../packages/features/login-security-warning/translations/tr.js":return import("./tr-292a3d5f.js");case"../../../packages/features/login-sms-otp/translations/tr.js":return import("./tr-a2b0227e.js");case"../../../packages/features/login-soft-otp/translations/tr.js":return import("./tr-c84c0c0c.js");case"../../../packages/features/logout/translations/tr.js":return import("./tr-39c84c35.js");case"../../../packages/features/main-nav/translations/tr.js":return import("./tr-cdeb0d14.js");case"../../../packages/features/main-navbar/translations/tr.js":return import("./tr-53ce6ca5.js");case"../../../packages/features/mobile-nav-card/translations/tr.js":return import("./tr-80c6148b.js");case"../../../packages/features/mobile-password-success/translations/tr.js":return import("./tr-0251765f.js");case"../../../packages/features/mobile-top-up-payment/translations/tr.js":return import("./tr-51356e14.js");case"../../../packages/features/nav-bar/translations/tr.js":return import("./tr-67c6bf5f.js");case"../../../packages/features/not-found-view/translations/tr.js":return import("./tr-66671560.js");case"../../../packages/features/notifications/translations/tr.js":return import("./tr-5ad8234a.js");case"../../../packages/features/oft-list/translations/tr.js":return import("./tr-f54f3dca.js");case"../../../packages/features/osym-payment/translations/tr.js":return import("./tr-0ccab514.js");case"../../../packages/features/payment-history/translations/tr.js":return import("./tr-713d8bc3.js");case"../../../packages/features/payment-plan/translations/tr.js":return import("./tr-3bceb054.js");case"../../../packages/features/payments-recorded/translations/tr.js":return import("./tr-f3fab043.js");case"../../../packages/features/profile-active-devices/translations/tr.js":return import("./tr-a16bc808.js");case"../../../packages/features/profile-addresses/translations/tr.js":return import("./tr-eca0a205.js");case"../../../packages/features/profile-contact-infos/translations/tr.js":return import("./tr-d24ecced.js");case"../../../packages/features/profile-info/translations/tr.js":return import("./tr-96003625.js");case"../../../packages/features/profile-ip-address-add/translations/tr.js":return import("./tr-8c05566e.js");case"../../../packages/features/profile-ip-addresses/translations/tr.js":return import("./tr-e7d7caf8.js");case"../../../packages/features/profile-open-banking/translations/tr.js":return import("./tr-df892f7e.js");case"../../../packages/features/profile-password/translations/tr.js":return import("./tr-f932d6f9.js");case"../../../packages/features/profile-settings/translations/tr.js":return import("./tr-1a614bf4.js");case"../../../packages/features/rate-me/translations/tr.js":return import("./tr-82f2f087.js");case"../../../packages/features/register-mkk/translations/tr.js":return import("./tr-22335272.js");case"../../../packages/features/sgk-payment/translations/tr.js":return import("./tr-fefbaa27.js");case"../../../packages/features/side-action-list/translations/tr.js":return import("./tr-c39b6ddd.js");case"../../../packages/features/sms-emails/translations/tr.js":return import("./tr-c59d8b6a.js");case"../../../packages/features/sms-emails-settings/translations/tr.js":return import("./tr-685d6789.js");case"../../../packages/features/support-account-activities/translations/tr.js":return import("./tr-a6f202c0.js");case"../../../packages/features/support-account-detail/translations/tr.js":return import("./tr-a688ba59.js");case"../../../packages/features/support-account-extract/translations/tr.js":return import("./tr-b1c409a4.js");case"../../../packages/features/support-account-payment-plan/translations/tr.js":return import("./tr-b4f20dc7.js");case"../../../packages/features/survey-questions/translations/tr.js":return import("./tr-31dda3fc.js");case"../../../packages/features/tax-payment/translations/tr.js":return import("./tr-e998fa25.js");case"../../../packages/features/time-deposit-account-draw-deposit/translations/tr.js":return import("./tr-0bce01f3.js");case"../../../packages/features/timeout-dialog/translations/tr.js":return import("./tr-637ddd94.js");case"../../../packages/features/transactions/translations/tr.js":return import("./tr-89da4ff2.js");case"../../../packages/features/txn-otp-input/translations/tr.js":return import("./tr-463eb50c.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../../../packages/features/${t}/translations/tr.js`)}},ji=async(e,t,n,i,s=!1,a=!1)=>
1{if(!n)return Ti(e,i,s,a);const r={requestHeader:{channelInfo:"Internet",info:{correlationPair:[{key:"string",value:"string"}]}},value:{locale:e,namespace:t,channelId:2,customerType:2}},o=await $i({type:"anonymous",request:r,uri:"anonymous/localization/list",isInitialFetch:!0});return o?.body?.localization?o?.body?.localization:Ti(e,t,i)},_i=async(e,t=!0,n=!0)=>{let i=Zt("UTCTimeData",!0);return i||(await(e=>$i({type:"anonymous",request:{requestHeader:{channelInfo:"Internet"},value:{locale:"tr",namespace:"succeed-utc-time",channelId:2,customerType:1}},uri:"anonymous/localization/list",isInitialFetch:e,showNoMessage:!0}).then(e=>{e.header?.success&&e?.body?.localization&&Jt("UTCTimeData",e.body.localization,!0)}))(n),i=Zt("UTCTimeData",!0)),i&&i[e]?t?(e=>{const t=e?.split(":");return t&&2===t?.length?d(new Date((new Date).setUTCHours(t[0],t[1])),{hour:"numeric",minute:"numeric",locale:"tr-TR"})?.split(" ")[1]:""})(i[e]):i[e]:""},Si=(e,{minor:t=!1,medium:n=!1,major:s=!1})=>{const a=e.split(".");return t&&!i(a[2])?Number(a[2]):n&&!i(a[1])?Number(a[1]):s&&!i(a[0])?Number(a[0]):void 0},Ei=m` 2 .f-row { 3 display: flex; 4 flex-flow: row wrap; 5 justify-content: center; 6 } 7 8 .f-row.nowrap { 9 flex-wrap: nowrap; 10 } 11 12 .f-column { 13 display: flex; 14 flex-flow: column wrap; 15 align-items: center; 16 align-content: center; 17 } 18 19 .f-column.nowrap { 20 flex-wrap: nowrap; 21 } 22 23 .full-width { 24 width: 100%; 25 } 26 27 .jc-s { 28 justify-content: start; 29 } 30 31 .jc-c { 32 justify-content: center; 33 } 34 35 .jc-e { 36 justify-content: right; 37 } 38 39 .jc-fe { 40 justify-content: flex-end; 41 } 42 43 .jc-spb { 44 justify-content: space-between; 45 } 46 47 .jc-spe { 48 justify-content: space-evenly; 49 } 50 51 .jc-spa { 52 justify-content: space-around; 53 } 54 55 .jc-st { 56 justify-content: stretch; 57 } 58 59 .ai-s { 60 align-items: start; 61 } 62 63 .ai-c { 64 align-items: center; 65 } 66 67 .ai-e { 68 align-items: end; 69 } 70 71 .ac-s { 72 align-content: start; 73 } 74 75 .ac-c { 76 align-content: center; 77 } 78 79 .ac-e { 80 align-content: end; 81 } 82 83 .w-288 { 84 width: ${g} !important; 85 } 86 87 .wrap-reverse { 88 flex-wrap: wrap-reverse !important; 89 } 90 91 .f-row.g-2, 92 .f-column.g-2 { 93 gap: ${h}; 94 } 95 96 .f-row.g-5, 97 .f-column.g-5 { 98 gap: ${f}; 99 } 100 101 .f-row.g-10, 102 .f-column.g-10 { 103 gap: ${b}; 104 } 105 .f-row.g-20, 106 .f-column.g-20 { 107 gap: ${y}; 108 } 109 .f-row.g-30, 110 .f-column.g-30 { 111 gap: ${v}; 112 } 113 .f-row.g-50, 114 .f-column.g-50 { 115 gap: ${w}; 116 } 117`;const Ai=C(e=>class extends(x(e)){static get properties(){return{localeReady:{type:Boolean},__namespace:{type:String},__isCall:{type:Boolean},__isContainer:{type:Boolean},__isBankingHelper:{type:Boolean}}}constructor(){super();const e=Object.getPrototypeOf(this).constructor.localeConfig;this.initLocalizeProps(e)}static get waitForLocalizeNamespaces(){return!0}initLocalizeProps(e){"string"==typeof e?(this.__namespace=e,this.__isCall=!0):(this.__namespace=e.namespace,this.__dir=e.dir,this.__isCall=e.isCall||!this.__dir,this.__isContainer=e.isContainer,this.__isBankingHelper=e.isBankingHelper)}static get __namespace(){return"string"==typeof this.localeConfig?this.localeConfig:this.localeConfig?.namespace}static get __isCall(){return"string"==typeof this.localeConfig?this.localeConfig:this.localeConfig?.isCall}static get __dir(){return this.localeConfig.dir}static get __isContainer(){return this.localeConfig?.isContainer}static get __isBankingHelper(){return this.localeConfig?.isBankingHelper}static getLocale(e){return"tr"!==e&&"tr-TR"!==e?"en":"tr"}static get localizeNamespaces(){if(!this.__validateLocaleConfig())throw Error('Provide a valid static get "localeConfig" in component for loading IngTrLocalizeBaseMixin');return[{[`${this.__namespace}`]:(e,t)=>{if(!i(this.__dir)&&!i(this.__namespace))return ji(e,this.__namespace,this.__isCall,this.__dir,this.__isContainer,this.__isBankingHelper);const n=Zt("routeInfo",!0)?.flowName;if(n&&"login"!==n)switch(e){case"en-GB":case"en-US":case"en":return function(e){switch(e){case"./../../../packages/features/cards/ing-tr-card-benefits/translations/en.js":return import("./en-8116dfbd.js");case"./../../../packages/features/cards/ing-tr-card-detail/translations/en.js":return import("./en-377679a
1177.js");case"./../../../packages/features/cards/ing-tr-card-info/translations/en.js":return import("./en-2659d9f9.js");case"./../../../packages/features/cards/ing-tr-card-limit-increase/translations/en.js":return import("./en-d983634c.js");case"./../../../packages/features/cards/ing-tr-card-spending-list/translations/en.js":return import("./en-fdd1114a.js");case"./../../../packages/features/cards/ing-tr-card-statement-date/translations/en.js":return import("./en-667ab944.js");case"./../../../packages/features/cards/ing-tr-card-usage-settings/translations/en.js":return import("./en-58678a4d.js");case"./../../../packages/features/cards/ing-tr-feat-account-add-remove/translations/en.js":return import("./en-77619d2d.js");case"./../../../packages/features/cards/ing-tr-feat-bulk-statements/translations/en.js":return import("./en-83b8537e.js");case"./../../../packages/features/cards/ing-tr-feat-card-activities-view/translations/en.js":return import("./en-dad90ec7.js");case"./../../../packages/features/cards/ing-tr-feat-card-automatic-payment/translations/en.js":return import("./en-08ccf085.js");case"./../../../packages/features/cards/ing-tr-feat-card-daily-operation-limit/translations/en.js":return import("./en-a3b03636.js");case"./../../../packages/features/cards/ing-tr-feat-card-detail/translations/en.js":return import("./en-f422624e.js");case"./../../../packages/features/cards/ing-tr-feat-card-limit-decrease/translations/en.js":return import("./en-86e91b83.js");case"./../../../packages/features/cards/ing-tr-feat-card-limit-operation/translations/en.js":return import("./en-0bd90bc9.js");case"./../../../packages/features/cards/ing-tr-feat-card-list/translations/en.js":return import("./en-a96d95fb.js");case"./../../../packages/features/cards/ing-tr-feat-card-settings/translations/en.js":return import("./en-fbe6b74d.js");case"./../../../packages/features/cards/ing-tr-feat-card-slip-preferences/translations/en.js":return import("./en-e2b78a40.js");case"./../../../packages/features/cards/ing-tr-feat-card-transaction-detail-information/translations/en.js":return import("./en-4d4c28b4.js");case"./../../../packages/features/cards/ing-tr-feat-change-card-password/translations/en.js":return import("./en-ff8e26ab.js");case"./../../../packages/features/cards/ing-tr-feat-lost-stolen/translations/en.js":return import("./en-18e1e563.js");case"./../../../packages/features/cards/ing-tr-feat-temporary-cancellation/translations/en.js":return import("./en-1ab81205.js");case"./../../../packages/features/cards/ing-tr-feat-virtual-card/translations/en.js":return import("./en-04b8ab54.js");case"./../../../packages/features/money-transfer/money-transfer-account/translations/en.js":return import("./en-d7b37762.js");case"./../../../packages/features/money-transfer/money-transfer-cardno/translations/en.js":return import("./en-294d7c21.js");case"./../../../packages/features/money-transfer/money-transfer-cepno/translations/en.js":return import("./en-19364ce2.js");case"./../../../packages/features/money-transfer/money-transfer-iban/translations/en.js":return import("./en-3ddc87f9.js");case"./../../../packages/features/money-transfer/money-transfer-kolas/translations/en.js":return import("./en-b10d9371.js");case"./../../../packages/features/money-transfer/money-transfer-registered/translations/en.js":return import("./en-ea566c78.js");case"./../../../packages/features/money-transfer/money-transfer-repeat/translations/en.js":return import("./en-d221af0a.js");case"./../../../packages/features/money-transfer/money-transfer-transaction-orders/translations/en.js":return import("./en-d5a90651.js");case"./../../../packages/features/money-transfer/money-transfer-virement/translations/en.js":return import("./en-1dd51c29.js");case"./../../../packages/features/money-transfer/swift-transaction/translations/en.js":return import("./en-6a6e8704.js");case"./../../../packages/features/orange-extra/orange-extra-activities/translations/en.js":return import("./en-172e2abb.js");case"./../../../packages/features/orange-extra/orange-extra-all-activities/translations/en.js":return import("./en-54cbe4ef.js");case"./../../../packages/features/orange-extra/orange-extra-dashboard/translations/en.js":return import("./en-1302e591.js");case"./../../../packages/features/orange-extra/orange-extra-earned/translations/en.js":return import("./en-0ab2222c.js");case"./../../../packages/features/orange-extra/orange-extra-grade-comparison/translations/en.js":return import("./en-7d41eebb.js");case"./../../../packages/features/orange-extra/orange-extra-membership/translations/en.js":return import("./en-73582da0.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`./../../../packages/features/${n}/${t}/translations/en.js`);case"tr-TR":case"tr":return function(e){switch(e){case"./../../../packages/features/cards/ing-tr-card-benefits/translations/tr.js":return import("./tr-5533e033.js");case"./../../../packages/features/cards/ing-tr-card-detail/translations/tr.js":return import("./tr-e93f721b.js");case"./../../../packages/features/cards/ing-tr-card-info/translations/tr.js":return import("./tr-f664371d.js");case"./../../../packages/features/cards/ing-tr-card-limit-increase/translations/tr.js":return import("./tr-c6a23fc6.js");case"./../../../packages/features/cards/ing-tr-card-spending-list/translations/tr.js":return import("./tr-e53da580.js");case"./../../../packages/features/cards/ing-tr-card-statement-date/translations/tr.js":return import("./tr-119d5c79.js");case"./../../../packages/features/cards/ing-tr-card-usage-settings/translations/tr.js":return import("./tr-0a674e53.js");case"./../../../packages/features/cards/ing-tr-feat-account-add-remove/translations/tr.js":return import("./tr-a0fa3146.js");case"./../../../packages/features/cards/ing-tr-feat-bulk-statements/translations/tr.js":return import("./tr-ff063413.js");case"./../../../packages/features/cards/ing-tr-feat-card-activities-view/translations/tr.js":return import("./tr-22a8e346.js");case"./../../../packages/features/cards/ing-tr-feat-card-automatic-payment/translations/tr.js":return import("./tr-cf6f224e.js");case"./../../../packages/features/cards/ing-tr-feat-card-daily-operation-limit/translations/tr.js":return import("./tr-1675d1a4.js");case"./../../../packages/features/cards/ing-tr-feat-card-detail/translations/tr.js":return import("./tr-e5b1f324.js");case"./../../../packages/features/cards/ing-tr-feat-card-limit-decrease/translations/tr.js":return import("./tr-f216f67f.js");case"./../../../packages/features/cards/ing-tr-feat-card-limit-operation/translations/tr.js":return import("./tr-5ee3eb18.js");case"./../../../packages/features/cards/ing-tr-feat-card-list/translations/tr.js":return import("./tr-2
1171466dbd.js");case"./../../../packages/features/cards/ing-tr-feat-card-settings/translations/tr.js":return import("./tr-a0713b8a.js");case"./../../../packages/features/cards/ing-tr-feat-card-slip-preferences/translations/tr.js":return import("./tr-d85e8c82.js");case"./../../../packages/features/cards/ing-tr-feat-card-transaction-detail-information/translations/tr.js":return import("./tr-4deb0b08.js");case"./../../../packages/features/cards/ing-tr-feat-change-card-password/translations/tr.js":return import("./tr-8990bd29.js");case"./../../../packages/features/cards/ing-tr-feat-lost-stolen/translations/tr.js":return import("./tr-56710318.js");case"./../../../packages/features/cards/ing-tr-feat-temporary-cancellation/translations/tr.js":return import("./tr-7f4fdda4.js");case"./../../../packages/features/cards/ing-tr-feat-virtual-card/translations/tr.js":return import("./tr-3681882c.js");case"./../../../packages/features/money-transfer/money-transfer-account/translations/tr.js":return import("./tr-15f92982.js");case"./../../../packages/features/money-transfer/money-transfer-cardno/translations/tr.js":return import("./tr-03beabd0.js");case"./../../../packages/features/money-transfer/money-transfer-cepno/translations/tr.js":return import("./tr-611ae0ac.js");case"./../../../packages/features/money-transfer/money-transfer-iban/translations/tr.js":return import("./tr-cdd4c436.js");case"./../../../packages/features/money-transfer/money-transfer-kolas/translations/tr.js":return import("./tr-ee6afaf6.js");case"./../../../packages/features/money-transfer/money-transfer-registered/translations/tr.js":return import("./tr-09aeb531.js");case"./../../../packages/features/money-transfer/money-transfer-repeat/translations/tr.js":return import("./tr-a33e3c27.js");case"./../../../packages/features/money-transfer/money-transfer-transaction-orders/translations/tr.js":return import("./tr-5500682c.js");case"./../../../packages/features/money-transfer/money-transfer-virement/translations/tr.js":return import("./tr-d1825939.js");case"./../../../packages/features/money-transfer/swift-transaction/translations/tr.js":return import("./tr-4b61d66f.js");case"./../../../packages/features/orange-extra/orange-extra-activities/translations/tr.js":return import("./tr-51f53aa0.js");case"./../../../packages/features/orange-extra/orange-extra-all-activities/translations/tr.js":return import("./tr-2d6138d5.js");case"./../../../packages/features/orange-extra/orange-extra-dashboard/translations/tr.js":return import("./tr-922b4fc7.js");case"./../../../packages/features/orange-extra/orange-extra-earned/translations/tr.js":return import("./tr-41555230.js");case"./../../../packages/features/orange-extra/orange-extra-grade-comparison/translations/tr.js":return import("./tr-fc7ca667.js");case"./../../../packages/features/orange-extra/orange-extra-membership/translations/tr.js":return import("./tr-c6131f35.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`./../../../packages/features/${n}/${t}/translations/tr.js`)}return import("./tr-25ffdb65.js")}},...super.localizeNamespaces]}changeLocale(){k.locale="tr-TR"===k.locale?"en-GB":"tr-TR",Jt("locale",k.locale,!0)}msgLit(e,t){return k.msg(e,t)}static __validateLocaleConfig(){return"string"==typeof this.localeConfig||!i(this.localeConfig)}get resourceInfo(){return{AdditionalActions:{title:"",description:"",buttonText:""},FaqActions:{headerText:"",contentText:""},CampaignActions:{header:"",description:"",campaignLinkText:""}}}mapResourceByObject(e,t,n){return Object.keys(e).forEach(i=>{e[i]=k.msg(`${this.__namespace}:${t}.${i}`,n)}),e}getResourceValue(e,t,n){return i(n?.moduleName)?k.msg(`${this.__namespace}:${e}`,t):this.mapResourceByObject(this.resourceInfo[n.moduleName],`${n.moduleName}.${e}`,t)}}),Li={};function Pi(e){return $i({scope:e,uri:"contact/email/retrieve",showIconSpinner:!0,showNoMessage:!0}).then(e=>{if(!e.header.success)throw new Error;if(Li.mailList=e?.body?.customerMails,!Li.mailList?.length>0)throw new Error("mailNotExist")})}function Di(e){return $i({scope:e,uri:"contact/phone/retrieve",showIconSpinner:!0}).then(e=>{if(!e.header.success)throw new Error;if(Li.phoneList=e?.body?.customerPhoneNumbers,!Li.phoneList?.length>0)throw new Error("phoneNotExist")})}function Ri(e){return $i({scope:e,uri:"account/list",request:{keyword:"InvestmentAccountOpeningAccountList"},showIconSpinner:!0}).then(e=>{if(!e.header.success)throw new Error;if(Li.accountList=e.body?.accountSpaceList?.filter(e=>e.account.branch.code===Li.customerSummary.mainBranch),!Li.accountList?.length>0)throw new Error("mtAccountNotExist")})}function Oi(e){return $i({scope:e,uri:"risk-profile-survey/control",request:{productC
117odeList:[50]},showIconSpinner:!0,showNoMessage:!0}).then(e=>{if(!e.header.success)throw new Error;if(Li.riskStatus=e.body?.riskStatus,"EXIST"!==e.body?.surveyStatus)throw new Error("riskProfileSurveyNotExist")})}var Fi={async control(e,t=!0){try{if(Zt("investmentComponents",!0))return p.navigate("open-account/securities"),null;if(!k.locale.startsWith("tr"))return{message:e.getResourceValue("directToBranch"),primaryButtonTitle:e.getResourceValue("okay")};if(Zt("hasMobileApproval",!0))return{message:e.getResourceValue("directToMobile"),primaryButtonTitle:e.getResourceValue("okay")};await async function(e){return $i({scope:e,uri:"info/customer-summary/retrieve/v2",request:{},showIconSpinner:!0}).then(e=>{if(!e.header.success)throw new Error;Li.customerSummary=e.body})}(e);const n=[Oi(e),Ri(e),Pi(e),Di(e)];return t&&n.push(function(e){return $i({scope:e,uri:"stock-account/opening/control/v1",showIconSpinner:!0}).then(e=>{if(!e.header.success)throw new Error})}(e)),await Promise.all(n),Jt("investmentComponents",Li,!0),p.navigate("open-account/securities"),null}catch(t){let n;switch(t.message){case"mtAccountNotExist":n={message:e.getResourceValue(t.message),primaryButtonTitle:e.getResourceValue("openAccount"),onClickedPrimaryButton:()=>p.navigate("open-account/deposit"),secondaryButtonTitle:e.getResourceValue("cancel")};break;case"phoneNotExist":case"mailNotExist":n={message:e.getResourceValue(t.message),primaryButtonTitle:e.getResourceValue("updateContactInfo"),onClickedPrimaryButton:()=>p.navigate("profile-info/contact-informations"),secondaryButtonTitle:e.getResourceValue("cancel")};break;case"riskProfileSurveyNotExist":n={message:e.getResourceValue(t.message),primaryButtonTitle:e.getResourceValue("fillRiskProfileSurvey"),onClickedPrimaryButton:()=>p.navigate("risk-profile-survey"),secondaryButtonTitle:e.getResourceValue("cancel")};break;default:return null}return n}}};const Mi="https://ing.com.tr/ingmobil",Ni="https://www.ing.com.tr/tr/bilgi-destek/urun-ve-hizmet-ucretleri/#bddk1417",Bi="https://www.ing.com.tr/tr/ing/kisisel-verilerin-korunmasi/yatirim-aydinlatma-metni",Vi=()=>k.locale.startsWith("en")?"https://www.ing.com.tr/en/knowledge-base/ing-online-banking":"https://www.ing.com.tr/tr/bilgi-destek/ing-internet-subesi",Ui=()=>k.locale.startsWith("en")?"https://www.ing.com.tr/en/ing/terms-of-use":"https://www.ing.com.tr/tr/ingbank/kullanim-sartlari",zi="https://www.ing.com.tr/tr/ing/kisisel-verilerin-korunmasi/kisisel-verilerin-islenmesi-hakkinda-aydinlatma-metni",qi="https://www.ing.com.tr/tr/sizin-icin/ing-turuncu-hesap",Hi={APPLYCREDITCARD:"ApplyCreditCard",SWITCH:"Switch",CANCEL:"Cancel",CREATE:"Create"},Gi={APPLYDEBITCARD:"ApplyDebitCard",CANCEL:"CancelDebit",APPLICATION:"ApplicationDebitCard"},Ki={MyRules:"MyRules",VirtualCard:"VirtualCard",DebitVirtualCard:"DebitVirtualCard",Payment:"Payment",INGAssistant:"INGAssistant",MyAutomaticPayments:"MyAutomaticPayments",SellGold:"SellGold",PaymentHistory:"PaymentHistory",Orders:"Orders",INGMobil:"INGMobil",EDevlet:"EDevlet",AdvantageousLoan:"AdvantageousLoan",PaymentPlan:"PaymentPlan",AdvantageousHousingLoan:"AdvantageousHousingLoan",SupportAccountLimitIncrease:"SupportAccountLimitIncrease",MobileConsultant:"MobileConsultant",IndividualMyRules:"IndividualMyRules",IndividualApplications:"IndividualApplications",InvestmentSettings:"InvestmentSettings",InsurancesPension:"InsurancesPension",DepositRates:"DepositRates",INGInvestmentAccountOpening:"INGInvestmentAccountOpening",ExchangeCalculator:"ExchangeCalculator",OrderDocuments:"OrderDocuments",EBroker:"EBroker",InvestmentExtract:"InvestmentExtract",AssetStatusReport:"AssetStatusReport",AccumulatingPaymentPlan:"AccumulatingPaymentPlan",StockTransactions:"StockTransactions",VIOPTransactions:"VIOPTransactions",VirementTransfer:"VirementTransfer",AnnualAgreement:"AnnualAgreement"},Wi={MyRules:{iconId:"ing:filledin-social:shareIos",iconColor:"sky",onActionClicked:()=>{p.navigate("dashboard")}},VirtualCard:{iconId:"ing:cards:cardBlackMastercardFilled",iconColor:"indigo",onActionClicked:()=>{$i({request:{},isProcessFetch:!0,uri:"card/virtual/application/info/v1"}).then(e=>{e?.header?.success&&Jt("dialogInitType",e.body?.applicationState)})}},DebitVirtualCard:{iconId:"ing:cards:cardOrangeMastercardFilled",iconColor:"indigo",onActionClicked:()=>{Jt("dialogInitType",Gi.APPLICATION)}},Payment:{iconId:"ing:outline-transactions:paymentRequestEuro",iconColor:"leaf",onActionClicked:()=>{p.navigate("dashboard")}},INGAssistant:{iconId:"ing:outline-contact:serviceCallcentre",iconColor:"sky",onActionClicked:()=>{p.navigate("dashboard")}},MyAutomaticPayments:{iconId:"ing:outline-transactions:recurringPayment",iconColor:"indigo",onActionClicked:()=>{p.navigate("oft-list")}},SellGold:{iconId:"ing:filledin-transactions:paymentRequestDollar",iconColor:"indigo",onActionClicked:()=>{p.navigate("dashboard")}},PaymentHistory:{iconId:"ing:outline-functionalities:calendar",iconColor:"sky",onActionClicked:()=>{p.navigate("payment-history")}},Orders:{iconId:"ing:outline-functionalities:calendar",iconColor:"lime",onActionClicked:()=>{p.navigate("money-transfer/transaction-orders")}},INGMobil:{iconId:"ing:outline-devices:mobile",iconColor:"indigo",onActionClicked:()=>{p.navigate("dashboard")}},EDevlet:{iconId:"ing-tr:solid:egovernmentColored",onActionClicked:()=>{p.navigate("e-government")}},AdvantageousLoan:{iconId:"ing-tr:product:advantageousLoan",onActionClicked:()=>{p.navigate("loan/detail/payment-plan")}},PaymentPlan:{iconId:"ing-tr:product:advantageousLoan",onActionClicked:()=>{p.navigate("loan/detail/payment-plan")}},AdvantageousHousingLoan:{iconId:"ing-tr:product:advantageousLoan",onActionClicked:()=>{p.navigate("loan/detail/payment-plan")}},SupportAccountLimitIncrease:{iconId:"ing:filledin-other:dot",iconColor:"lime",onActionClicked:()=>
117{let e=Zt("supportAccountId");e&&p.navigate(`my-accounts/${e}/settings/support-account-limit`)}},MobileConsultant:{iconId:"ing:outline-savings_goals:beach",iconColor:"fuchsia",onActionClicked:()=>{p.navigateToExternal(k.locale.startsWith("en")?"https://www.ing.com.tr/en/ing/digital-banking/remote-advice":"https://www.ing.com.tr/tr/ing/7-24-bankacilik/cebimdeki-danisman","_blank")}},IndividualMyRules:{iconId:"ing:outline-functionalities:compose",iconColor:"leaf",onActionClicked:()=>{}},IndividualApplications:{iconId:"ing:outline-devices:mobile",iconColor:"indigo",onActionClicked:()=>{}},InvestmentSettings:{iconId:"ing:outline-functionalities:setting",iconColor:"sky",onActionClicked:()=>{p.navigate("investment-settings")}},InsurancesPension:{iconId:"ing:outline-functionalities:compose",iconColor:"fuchsia",onActionClicked:()=>{p.navigate("individual-retirement-list")}},DepositRates:{iconId:"ing:outline-interest:percentage",iconColor:"lime",onActionClicked:()=>{p.navigate("deposit-rates")}},INGInvestmentAccountOpening:{iconId:"ing:outline-products:wallet",iconColor:"sky",onActionClicked:e=>{e.onInvestmentAccountOpeningClick()}},ExchangeCalculator:{iconId:"ing:outline-devices:calculator",iconColor:"lime",onActionClicked:()=>{p.navigate("investments/exchange/calculator")}},OrderDocuments:{iconId:"ing:outline-documents:folder",iconColor:"indigo",onActionClicked:()=>{Jt("routeDocument","investmentDocuments",!0),p.navigate("investments/transaction-document")}},EBroker:{iconId:"ing:outline-devices:ebankingDollar",iconColor:"leaf",onActionClicked:()=>{p.navigate("dashboard")}},InvestmentExtract:{iconId:"ing-tr:product:invoiceTl",iconColor:"sky",onActionClicked:()=>{p.navigate("investment-extract-list")}},AssetStatusReport:{iconId:"ing:outline-documents:document",iconColor:"lime",onActionClicked:()=>{p.navigate("asset-status-report")}},AccumulatingPaymentPlan:{iconId:"ing-tr:loans:document",onActionClicked:()=>{let e=Zt("accountId"),t=Zt("orderNumber");e&&p.navigate(`my-accounts/${e}/payment-plan/${t}`)}},StockTransactions:{iconId:"ing:outline-interest:percentage",iconColor:"lime",onActionClicked:()=>{p.navigate("investments/stock")}},VIOPTransactions:{iconId:"ing:outline-interest:percentage",iconColor:"lime",onActionClicked:()=>{p.navigate("investments/viop")}},VirementTransfer:{iconId:"ing:outline-interest:percentage",iconColor:"lime",onActionClicked:()=>{p.navigate("transfers/virement")}},AnnualAgreement:{iconId:"ing:outline-documents:document",iconColor:"lime",onActionClicked:e=>{e.onAnnualAgreementClick()}}},Yi={CardCampaign:{imageUrl:"../banking/assets/images/defaultimage.png",campaignLink:"campaign"},InvestmentDahsboardCampaign:{imageUrl:"../banking/assets/images/defaultimage.png",campaignLink:"campaign"}};class Qi extends(Ai(I($))){static get styles(){return m` 118 :host { 119 display: block; 120 } 121 `}static get localeConfig(){return{namespace:"ing-tr-exchange-account-control",dir:"exchange-account-control"}}static get properties(){return{showWarning:{type:Boolean},selectedCurrency:{type:Object},selectedOperation:{type:String}}}static get scopedElements(){return{"ing-tr-warning-dialog":T}}updated(e){super.updated(e),e.has("selectedCurrency")&&this.selectedCurrency?.fromCurrency&&this.selectedCurrency?.toCurrency&&this.checkExchangeAccount()}checkExchangeAccount(){const e=e=>{const t=e.find(e=>e.account.currency.code===this.selectedCurrency?.fromCurrency.code),n=e.find(e=>e.account.currency.code===this.selectedCurrency?.toCurrency.code);if(!t||!n)return this.selectedCurrencyCode=this.selectedCurrency?.currency?.code,this.showWarning=!0,this.selectedCurrency=null,void(this.selectedOperation=null);"buy"===this.selectedOperation?(Jt("exchangeBuyCurrency",n,!0),Jt("exchangeSellCurrency",t,!0)):(Jt("exchangeBuyCurrency",t,!0),Jt("exchangeSellCurrency",n,!0)),p.navigate("investments/exchange/buysell")};$i({scope:this,uri:"account/list",isProcessFetch:!0,request:{keyword:"AccountList"}}).then(t=>{if(this.dispatchEvent(new CustomEvent("checkOver")),t.body?.accountSpaceList){const n=t.body?.accountSpaceList?.filter(e=>"MT"===e.account.type||"MY"===e.account.type);e(n)}})}render(){return u` 122 <ing-tr-warning-dialog 123 ?opened=${this.showWarning} 124 .header=${this.getResourceValue("warning")} 125 .message=${this.getResourceValue("warningText")} 126 .primaryButtonTitle=${this.getResourceValue("openNewAccount")} 127 @onClickedPrimaryButton="${()=>{Jt("selectedCurrencyCode",this.selectedCurrencyCode,!0),p.navigate("open-account/deposit")}}" 128 .secondaryButtonTitle=${this.getResourceValue("cancel")} 129 @onClickedSecondaryButton="${()=>{this.showWarning=!1}}" 130 ></ng-tr-warning-dialog> 131 `}}class Xi extends(Ai(I($))){static get localeConfig(){return{dir:"side-action-list",namespace:"ing-tr-exchange-rate-template"}}static get styles(){return m` 132 :host { 133 display: block; 134 } 135 `}static get properties(){return{exchangeRates:{type:Array},selectedCurrency:{type:Object},selectedCurrencyOperation:{type:String}}}static get scopedElements(){return{"ing-tr-exchange-rates":j,"ing-tr-exchange-account-control":Qi,"ing-tr-common-error":_}}constructor(){super(),S.init(this,"asyncTemplate",{featureId:"exchange-rate",fetch:()=>{this.fetchExchangeRates(!0)}})}fetchExchangeRates(e=!1){$i({featureId:"exchange-rate",scope:this,uri:"fxtrader/ratelist/retrieve/v1",showNo
135Message:!0,isInitialFetch:e,request:{transactionDate:new Date,count:3,fxTraderCustomerType:"Retail"},disableSessionCounter:!0}).then(e=>{if(this.isConnected)if(e.header.success){const t=e.body?.fxTraderRateItemList.map(({fromCurrency:e,toCurrency:t,operationBuyRate:n,operationSellRate:i,currencyPair:s})=>({currency:e,fromCurrency:e,toCurrency:t,currencyPair:s,operationBuyRate:n,operationSellRate:i}));this.exchangeRates=t,this.exchangeRateCallTimeoutId=setTimeout(()=>this.fetchExchangeRates(),5e3)}else this.exchangeRates=[]}).catch(()=>{this.exchangeRates=[]})}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.exchangeRateCallTimeoutId)}onClickExchangeItem({detail:e}){const{operationType:t,item:n}=e;this.selectedCurrencyOperation=t,this.selectedCurrency=n}onOperationCheckOver(){this.selectedCurrencyOperation=null,this.selectedCurrency=null}onClickFooterAction(){p.navigate("investments/exchange/list")}renderExchangeAccountControl(){return u` <ing-tr-exchange-account-control 136 .selectedCurrency=${this.selectedCurrency} 137 .selectedOperation=${this.selectedCurrencyOperation} 138 @checkOver=${this.onOperationCheckOver} 139 ></ing-tr-exchange-account-control>`}renderExchangeRate(){return u` ${this.renderExchangeAccountControl()} 140 <ing-tr-exchange-rates 141 headerText=${this.getResourceValue("exchangeRate")} 142 buyingActionTitle=${this.getResourceValue("buy")} 143 sellingActionTitle=${this.getResourceValue("sell")} 144 footerActionTitle=${this.getResourceValue("seeAllExchangeRates")} 145 @onClickFooterAction=${this.onClickFooterAction} 146 @onClickOperationItem=${this.onClickExchangeItem} 147 .rateList="${this.exchangeRates}" 148 ></ing-tr-exchange-rates>`}render(){return u`${this.asyncTemplate(this.renderExchangeRate())}`}}class Zi extends(x(I($))){static get localizeNamespaces(){return[{"ing-tr-additional-action-fast-money-transfer":e=>{switch(e){case"tr":case"tr-TR":return import("./tr-813f6014.js");case"en-GB":case"en-US":case"en":return import("./en-f2951cfd.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get styles(){return m` 149 :host { 150 display: block; 151 } 152 153 .navigation-header { 154 ${E()} 155 margin: ${A} 0; 156 } 157 158 .menu-container { 159 margin-bottom: ${A}; 160 } 161 162 .chipper-link-cont { 163 display: flex; 164 list-style-type: none; 165 flex-wrap: wrap; 166 margin-bottom: ${A}; 167 } 168 169 .chip-link { 170 margin: ${L}; 171 cursor: pointer; 172 } 173 `}static get properties(){return{header:{type:String},items:{type:Object},buttonList:{type:Object}}}static get scopedElements(){return{"ing-icon":P,"ing-button":D,"ing-tr-card":R,"ing-tr-separator":O,"ing-tr-circle-button-list":F,"ing-tr-chip-button":M}}render(){return u` 174 <ing-tr-circle-button-list 175 header="${this.msgLit("ing-tr-additional-action-fast-money-transfer:header")}" 176 .buttonList=${this.buttonList} 177 > 178 <div slot="menu-container"> 179 <ing-tr-separator></ing-tr-separator> 180 <div class="navigation-header"> 181 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:quickTransactions")} 182 </div> 183 <div class="chipper-link-cont"> 184 <ing-tr-chip-button 185 class="chip-link" 186 .customToggleChipButton="${()=>p.navigate("bill-payment")}" 187 > 188 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:billPayment")} 189 </ing-tr-chip-button> 190 <ing-tr-chip-button 191 class="chip-link" 192 .customToggleChipButton="${()=>p.navigate("profile-settings")}" 193 > 194 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:profileSettings")} 195 </ing-tr-chip-button> 196 <ing-tr-chip-button 197 class="chip-link" 198 .customToggleChipButton="${()=>p.navigate("transfers")}" 199 > 200 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:moneyTrasnfers")} 201 </ing-tr-chip-button>
201 202 <ing-tr-chip-button 203 class="chip-link" 204 .customToggleChipButton="${()=>p.navigate("payments/tax-payment")}" 205 > 206 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:taxPayments")} 207 </ing-tr-chip-button> 208 <ing-tr-chip-button 209 class="chip-link" 210 .customToggleChipButton="${()=>p.navigate("investment-settings")}" 211 > 212 ${this.msgLit("ing-tr-additional-action-fast-money-transfer:investmentSettings")} 213 </ing-tr-chip-button> 214 </div> 215 </div> 216 </ing-tr-circle-button-list> 217 `}}class Ji extends(I($)){static get styles(){return m` 218 :host { 219 display: block; 220 } 221 .main-container { 222 padding: ${N}; 223 padding-top: 0; 224 } 225 .campaign-img { 226 width: 100%; 227 height: 234px; 228 margin-bottom: ${N}; 229 } 230 .info-container { 231 margin-bottom: ${N}; 232 } 233 .info-header { 234 ${B()}; 235 margin-bottom: ${L}; 236 } 237 .info-description { 238 ${V()}; 239 color: ${U}; 240 } 241 .campaign-link { 242 ${B()} 243 color: ${z}; 244 text-decoration: none; 245 } 246 `}static get properties(){return{imageUrl:{type:String,attribute:"image-url"},header:{type:String},description:{type:String},campaignLink:{type:String,attribute:"campaign-link"},campaignLinkText:{type:String,attribute:"campaign-link-text"}}}static get scopedElements(){return{"ing-button":D,"ing-tr-card":R}}render(){return u` 247 <ing-tr-card removeContentPaddings> 248 <img src="${this.imageUrl}" class="campaign-img" /> 249 <div class="main-container"> 250 <div class="info-container"> 251 <div class="info-header">${this.header}</div> 252 <div class="info-description">${this.description}</div> 253 </div> 254 <a href="${this.campaignLink}" class="campaign-link" target="_blank" 255 >${this.campaignLinkText}</a 256 > 257 </div> 258 </ing-tr-card> 259 `}}const es=m` 260 .document-popup-header { 261 max-width: 336px; 262 display: flex; 263 justify-content: center; 264 margin: auto; 265 } 266 267 .header-title { 268 text-overflow: ellipsis; 269 white-space: nowrap; 270 overflow: hidden; 271 } 272 273 .header-counter { 274 white-space: pre; 275 } 276 277 .slot-content { 278 position: relative; 279 padding: ${A} ${q} ${N} ${A}; 280 } 281 282 .content { 283 height: 342px; 284 width: 448px; 285 padding-right: ${H}; 286 overflow: scroll; 287 overflow-x: hidden; 288 } 289 290 .ov-show { 291 overflow-x: unset !important; 292 } 293 294 .content-wide { 295 height: 397px; 296 width: 696px; 297 padding-right: ${H}; 298 overflow: scroll; 299 overflow-x: hidden; 300 } 301 302 .content::-webkit-scrollbar, 303 .content-wide::-webkit-scrollbar {
304 width: 10px; 305 } 306 307 .content::-webkit-scrollbar-track, 308 .content-wide::-webkit-scrollbar-track { 309 border-radius: 5px; 310 background-color: ${G}; 311 } 312 313 .content::-webkit-scrollbar-thumb, 314 .content-wide::-webkit-scrollbar-thumb { 315 border-radius: ${L}; 316 background-color: ${K}; 317 width: ${q}; 318 } 319 320 .contract-pdf { 321 width: 100%; 322 height: calc(100% - ${H}); 323 border: none; 324 } 325 326 .contract-image { 327 width: 100%; 328 } 329 330 .contract-image-zoomed { 331 width: 800px; 332 } 333 334 .overlay { 335 position: absolute; 336 top: 0; 337 left: 0; 338 z-index: 2; 339 height: 100%; 340 width: 100%; 341 opacity: 0.4; 342 background-color: ${W}; 343 } 344 345 .spinner { 346 z-index: 3; 347 position: absolute; 348 left: 0; 349 right: 0; 350 top: 0; 351 bottom: 0; 352 margin: auto; 353 } 354 355 @media (max-width: 600px) { 356 .slot-content { 357 padding: 10px ${q} ${N} 10px; 358 display: flex; 359 flex-direction: column; 360 height: 100%; 361 box-sizing: border-box; 362 } 363 364 .header { 365 max-width: calc(100vw - 88px); 366 } 367 368 .content, 369 .content-wide { 370 flex-grow: 1; 371 width: calc(100% - ${H}); 372 } 373 } 374`,ts=m` 375 .footer-container { 376 display: flex; 377 flex-direction: column; 378 padding-right: ${N}; 379 } 380 381 .separator { 382 margin: ${N} 0 ${q} 0; 383 } 384 385 .download-spinner { 386 margin-right: ${N}; 387 } 388 389 .download-icon { 390 fill: ${z}; 391 margin-right: ${N}; 392 font-size: ${y}; 393 } 394 395 .zoom-btn-container { 396 align-items: center; 397 display: flex; 398 } 399 400 .zoom-in-icon-container { 401 border: solid ${Y} ${K}; 402 border-left: none; 403 border-top-right-radius: ${q}; 404 border-bottom-right-radius: ${q}; 405 align-items: center; 406 display: flex; 407 padding: ${b}; 408 } 409 410 .zoom-out-icon-container { 411 border: solid ${Y} ${K}; 412 border-top-left-radius: ${q}; 413 border-bottom-left-radius: ${q}; 414 align-items: center; 415 display: flex; 416 padding: ${b}; 417 } 418 419 .zoom-container-active:hover { 420 cursor: pointer; 421 background-color: ${K}; 422 } 423 424 .zoom-container-active:active { 425 cursor: pointer; 426 background-color: ${K}; 427 } 428 429 .zoom-icon { 430 fill: ${z}; 431 font-size: ${A}; 432 } 433 434 .zoom-icon-disabled { 435 fill: ${K}; 436 font-size: ${A}; 437 } 438 439 .first-row-jc-fe { 440 display: flex; 441 justify-content: flex-end; 442 } 443 444 .first-row-jc-sb { 445 display: flex; 446 justify-content: space-between; 447 } 448 449 .second-row { 450 display: flex; 451 justify-content: flex-end; 452 margin-top: ${y}; 453 } 454 455 .second-row > .deny-btn { 456 margin-right: ${q}; 457 } 458 459 @media (max-width: 600px) { 460 .second-row { 461 flex-direction: column; 462 flex-flow: column-reverse; 463 } 464 465 .accept-btn, 466 .next-btn { 467 width: 100%; 468 margin-bottom: ${N}; 469 } 470 471 .deny-btn { 472 width: 100%; 473 margin: 0; 474 } 475 } 476`,ns=C(e=>class extends(x(e)){static get localizeNamespaces(){return[{"ing-tr-feat-document-popup":e=>{switch(e){case"tr":case"tr-TR":return import("./tr-0418c426.js");case"en-GB":case"en-US":case"en":return import("./en-dc165895.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}getResourceValue(e,t){return this.msgLit(`ing-tr-feat-document-popup:${e}`,t)}});class is extends(ns(I($))){static get properties(){return{buttonTexts:{type:Object},showNoButtons:{type:Boolean},showDownloadButton:{type:Boolean},showZoomButtons:{type:Boolean},showDenyButton:{type:Boolean},onClickAccept:{type:Function},onClickDeny:{type:Function},onClickDownload:{type:Function},onClickZoomIn:{type:Function},onClickZoomOut:{type:Function},downloadButtonLoading:{type:Boolean},isDocZoomed:{type:Boolean},showNextButton:{type:Boolean}}}static get scopedElements(){return{"ing-button":D,"ing-tr-separator":O,"ing-icon":P,"ing-spinner":Q}}static get styles(){return m` 477 ${ts} 478 `}constructor(){super()}getFirstRowClass(){return this.showDownloadButton&&this.showZoomButtons?"first-row-jc-sb":this.showZoomButtons?"first-row-jc-fe":""}renderDownloadButton(){return u` <ing-button font16 text indigo @click=${this.onClickDownload} 479 >${this.downloadButtonLoading?u`<ing-spinner slot="icon-before" class="download-spinner"></ing-spinner>`:u`<ing-icon 480 icon-id="ing:filledin-functionalities:download" 481 class="download-icon" 482 ></ing-icon>`}${this.getResourceValue("downloadButtonText")}</ing-button 483 >`}renderNextButton(){return this.showNextButton&&this.buttonTexts.nextButtonText?u`<div class="second-row"> 484 <ing-button class="next-btn" @click=${this.onClickNext} 485 >${this.buttonTexts.nextButtonText}</ing-button 486 > 487 </div>`:""}render(){return u` 488 <div class="footer-container"> 489 <ing-tr-separator class="separator"></ing-tr-separator> 490 <div class=${this.getFirstRowClass()}> 491 ${this.showDownloadButton?this.renderDownloadButton():""} 492 ${this.showZoomButtons?u` <div class="zoom-btn-container"> 493 <div 494 class="zoom-out-icon-container ${this.isDocZoomed?"zoom-container-active":""}" 495 @click=${this.onClickZoomOut} 496 > 497 <ing-icon 498 class=${this.isDocZoomed?"zoom-icon":"zoom-icon-disabled"} 499 icon-id="ing:filledin-functionalities:zoomOut" 500 ></ing-icon> 501 </div> 502 <div 503 class="zoom-in-icon-container ${this.isDocZoomed?"":"zoom-container-active"}" 504 @click=${this.onClickZoomIn} 505 > 506 <ing-icon 507 class=${this.isDocZoomed?"zoom-icon-disabled":"zoom-icon"} 508 icon-id="ing:filledin-functionalities:zoomIn" 509 ></ing-icon> 510 </div> 511 </div>`:""} 512 </div> 513 ${this.showNoButtons?this.renderNextButton():u`<div class="second-row"> 514 ${this.showDenyButton&&this.buttonTexts.denyButtonText?u`<ing-button outline class="deny-btn" @click=${this.onClickDeny} 515 >${this.buttonTexts.denyButtonText}</ing-button 516 >`:""} 517 ${this.buttonTexts.acceptButtonText?u`<ing-button class="accept-btn" @click=${this.onClickAccept} 518 >${this.buttonTexts.acceptButtonText}</ing-button 519 >`:""} 520 </div>`} 521 </div> 522 `}}const ss=(e,t,n,i)=>{"function"==typeof e&&e.call(n,t,i)};var as={fetchDocument(e,t){$i({scope:e.scope,uri:t.fieldList?"wrapper/create-content-from-attribute/execute/v1":"create-content-from-attribute/execute/v1",request:t,timeout:12e4,isInitialFetch:e.isInitialFetch}).then(t=>{t.header?.success?ss(e.success,t.body,e.scope,e.attributeValue):ss(e.fail,t,e.scope,e.attributeValue)})},fetchApproveContent(e){$i(e).then(t=>{Wt(t)||ss(t?.header?.success?e.success:e.fail,t,e.scope)})},b64DecodeToUnicode:e=>decodeURIComponent(window.atob(e).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))};class rs extends(ns(I($))){static get properties(){return{showPopup:{type:Boolean},fetchDocInstantly:{type:Boolean},__popupHeader:{type:String},__currentButtonTexts:{type:Object},scenarioProp:{type:Object},__scenario:{type:Array},__currentDoc:{type:Object},__documentContent:{type:Array},__userConsents:{type:Array},__downloadBtnLoadState:{type:Boolean},__allDocsRead:{type:Boolean},__docLoading:{type:Boolean},useWide:{type:Boolean},isDocZoomed:{type:Boolean},__showNextButton:{type:Boolean}}}static get scopedElements(){return{"ing-tr-dialog":X,"ing-tr-feat-document-footer":is,"ing-spinner":Q}}static get styles(){return m` 523 ${es} 524 `}constructor(){super(),this.scenarioStates=[],this.currentIndex=0,this.__currentDoc="",this.__userConsents=[],this.__initialDocFetch=!0,this.resetButtons()}shouldUpdate(e){return!(e.has("showPopup")&&this.showPopup&&(!this.scenarioProp||this.scenarioProp.scenario?.length<1||!this.scenarioProp?.scenario[0]?.documentRequest?.attributeValue&&!this.scenarioProp?.scenario[0]?.content)&&(this.showPopup=!1,this.dispatchEvent(new CustomEvent("document-missing-info",{bubbles:!0,composed:!0})),1))}updated(e){if(e.has("scenarioProp")&&(this.scenarioPropChanged=!0),e.has("showPopup")&&this.showPopup||this.fetchDocInstantly&&(this.__initialDocFetch||
524!this.fetchDocInstantly))if(this.scenarioPropChanged&&this.scenarioProp){this.scenarioPropChanged=!1,this.resetPopup();const e=this.getScenarioState();if(e?this.setScenarioFromState(e):(this.addScenarioToState(),this.__scenario=this.scenarioProp?.scenario,[this.__currentDoc]=this.__scenario),this.scenarioType=this.scenarioProp?.scenarioType,this.customTitle=this.scenarioProp?.title,this.setTitleFromApi=this.scenarioProp?.setTitleFromApi,this.buttonTexts=this.scenarioProp?.buttonTexts,this.setButtonTextsDefault=this.scenarioProp?.setButtonTextsDefault,this.setTitle(),this.__currentDoc.content)return this.__noFetchDoc=!0,this.setButtons(),this.__docLoading=!1,void(this.__documentContent=this.__currentDoc.content);this.__noFetchDoc=!1,this.fetchDocument()}else this.__docFetchFailed&&(this.__docFetchFailed=!1,this.fetchDocument())}addScenarioToState(){this.scenarioStates.push({scenario:this.scenarioProp?.scenario,currentIndex:0,userConsents:[]})}setScenarioFromState(e){this.__scenario=e.scenario,this.currentIndex=e.currentIndex,this.__currentDoc=this.__scenario[this.currentIndex],this.__userConsents=e.userConsents}getExportInfo(){return"png"===this.__currentDoc.type?{mediaExtension:"png",dpi:"190",imageColor:"Monochrome",quality:30}:"jpg"===this.__currentDoc.type?{mediaExtension:"jpg",dpi:"190",imageColor:"Monochrome",quality:30}:{mediaExtension:this.__currentDoc.type.toLowerCase()}}fetchDocument(){const e=this.__currentDoc.documentRequest;e.exportInfo=this.getExportInfo(),this.__docLoading=!0,as.fetchDocument({scope:this,success:this.fetchDocumentSuccess,fail:this.fetchDocumentFail,attributeValue:e?.attributeValue,isInitialFetch:this.__initialDocFetch&&this.fetchDocInstantly},e)}fetchDocumentSuccess(e,t){t===this.__currentDoc.documentRequest?.attributeValue&&(this.__currentDoc={...this.__currentDoc,isMandatory:e.consentInfoList?.[0]?.mandatory,neoBoxId:e.neoboxId,title:e.title,userConsentOptions:e.consentInfoList?.[0]?.consentOptionList??[],consentTypeId:e.consentInfoList?.[0]?.consentTypeId},this.setTitle(),this.setButtons(),this.__docLoading=!1,this.__documentContent=e.contentList,this.__initialDocFetch&&this.fetchDocInstantly&&(this.dispatchEvent(new CustomEvent("initial-fetch-success",{bubbles:!0,composed:!0,detail:{isApproved:e.consentInfoList[0]?.approved,checkPreviousApprovement:e.consentInfoList[0]?.checkPreviousApprovement}})),this.fetchDocInstantly=!1),this.__initialDocFetch=!1)}fetchDocumentFail(e,t){t===this.__currentDoc.documentRequest?.attributeValue&&(this.__docFetchFailed=!0,this.__docLoading=!1,this.showPopup=!1,this.__initialDocFetch&&this.fetchDocInstantly&&(this.dispatchEvent(new CustomEvent("initial-fetch-fail",{bubbles:!0,composed:!0})),this.fetchDocInstantly=!1),this.__initialDocFetch=!1)}renderDocumentContent(e){switch(this.__currentDoc?.type){case"txt":default:return this.getTextBasedContractHtml(e);case"pdf":return this.getPdfBasedContractHtml(e);case"jpg":case"png":return this.getImgBasedContractHtml(e)}}getTextBasedContractHtml(e){let t=e;return this.__noFetchDoc||(t=as.b64DecodeToUnicode(e)),u` <div class="contract-text">${Z(t)}</div> `}getPdfBasedContractHtml(e){return u` 525 <iframe 526 class="contract-pdf" 527 src="data:application/pdf;base64,${e}" 528 title="${this.getResourceValue("contractPdfTitle")}" 529 aria-label="${this.getResourceValue("contractPdfAriaLabel")}" 530 role="document" 531 ></iframe> 532 `}getImgBasedContractHtml(e){if(Array.isArray(e)&&e.length>0)return e?.map(e=>u`<img 533 class=${this.isDocZoomed?"contract-image-zoomed":"contract-image"} 534 src="data:image/png;base64,${e}" 535 alt=${this.getResourceValue("contractImageAlt")} 536 />`)}onDocumentPopupBeforeClose(e){this.__downloadBtnLoadState=!1,this.showPopup=!1,this.dispatchEvent(new CustomEvent("document-popup-close",{bubbles:!0,composed:!0,detail:{userConsents:[...this.__userConsents],isAllApproved:this.isAllApproved()}}))}onClickAccept(){if(this.setCurrentDocumentApproval(!0),this.isLastDocument())return this.__noFetchDoc||"contract"!==this.scenarioType?void this.allDocumentsRead():void this.setDocumentConsents();this.getNextDocument()}onClickNext(){this.isLastDocument()||this.getNextDocument()}onClickDeny(){if(this.__currentDoc.isMandatory)this.showPopup=!1;else{if(this.setCurrentDocumentApproval(!1),this.isLastDocument())return this.__noFetchDoc||"contract"!==this.scenarioType?void this.allDocumentsRead():void this.setDocumentConsents();this.getNextDocument()}}async onClickDownload(){this.__currentDoc?.isDownloadable&&"function"==typeof this.__currentDoc?.downloadOnClicked?(this.__downloadBtnLoadState=!0,await(this.__currentDoc?.downloadOnClicked()),this.__downloadBtnLoadState=!1):"pdf"===this.__currentDoc.type&&this.__documentContent?.[0]?this.downloadDocument(this.__documentContent[0]):this.fetchDocumentToDownload()}fetchDocumentToDownload(){const e=this.__currentDoc.documentRequest;e.exportInfo={mediaExtension:"pdf"},this.__downloadBtnLoadState=!0,as.fetchDocument({scope:this,success:this.fetchDocumentToDownloadSuccess,fail:this.fetchDocumentToDownloadFail,attributeValue:e?.attributeValue},e)}fetchDocumentToDownloadSuccess(e){e?.contentList?.[0]&&(this.downloadDocument(e.contentList[0]),this.__downloadBtnLoadState=!1)}fetchDocumentToDownloadFail(){this.__downloadBtnLoadState=!1}downloadDocument(e){const t=new Date;J({fileName:this.__currentDoc?.title??`PDF_${t.toLocaleDateString("tr").replaceAll(".","")}_${t.toLocaleTimeString("tr").replaceAll(":","")}`,fileData:e,fileExtension:"pdf"})}setDocumentConsents(){this.__docLoading=!0,as.fetchApproveContent(this.approveContentOptions)}get approveContentOptions(){const e={scope:this,timeout:12e4,success:this.fetchApproveContentSuccess,fail:this.fetchApproveContentFail};return this.__userConsents.length>1?(e.uri="wrapper/approve-content/execute/v1",e.request={approveContentList:this.__userConsents.map(e=>e.consentRequest)}
536):(e.uri="approve-content/execute/v1",e.request=this.__userConsents[0].consentRequest),e}fetchApproveContentFail(){this.__docLoading=!1,this.showPopup=!1}fetchApproveContentSuccess(){this.__docLoading=!1,this.allDocumentsRead(!0)}allDocumentsRead(e=!1){this.__allDocsRead=!0,this.showPopup=!1,this.dispatchEvent(new CustomEvent("all-documents-read",{bubbles:!0,composed:!0,detail:{userConsents:[...this.__userConsents],isAllApproved:this.isAllApproved(),consentsSetSuccessfully:e}}))}getNextDocument(){if(this.incrementCurrentIndex(),this.__currentDoc=this.__scenario[this.currentIndex],this.__downloadBtnLoadState=!1,this.isDocZoomed=!1,this.__currentDoc.content)return this.__documentContent=this.__currentDoc.content,void this.setButtons();this.fetchDocument()}getPrevDocument(){if(this.removeUserConsents(),this.decrementCurrentIndex(),this.__currentDoc=this.__scenario[this.currentIndex],this.__downloadBtnLoadState=!1,this.isDocZoomed=!1,this.__docLoading=!1,this.__currentDoc.content)return this.__documentContent=this.__currentDoc.content,void this.setButtons();this.fetchDocument()}setCurrentDocumentApproval(e){const t=this.__userConsents.find((e,t)=>e.attributeValue===this.__currentDoc.documentRequest?.attributeValue&&t===this.currentIndex);t?(t.approved=e,this.__noFetchDoc||(t.consentRequest=this.setCurrentDocConsentRequest(e))):this.__noFetchDoc?this.__userConsents.push({attributeValue:this.__currentDoc.documentRequest?.attributeValue,approved:e}):this.__userConsents.push({attributeValue:this.__currentDoc.documentRequest?.attributeValue,approved:e,consentRequest:this.setCurrentDocConsentRequest(e)}),this.updateUserConsentsOnState()}removeUserConsents(){this.isLastDocument()&&this.__userConsents.length===this.__scenario.length?(this.__userConsents.pop(),this.__userConsents.pop()):this.__userConsents.pop(),this.updateUserConsentsOnState()}setTitle(){this.customTitle?this.__popupHeader=this.customTitle:this.setTitleFromApi?this.__popupHeader=this.__currentDoc.title??("contract"===this.scenarioType?this.getResourceValue("defaultContractHeader"):this.getResourceValue("defaultDeclarationHeader")):this.__popupHeader="contract"===this.scenarioType?this.getResourceValue("defaultContractHeader"):this.getResourceValue("defaultDeclarationHeader")}setButtons(){this.buttonTexts||!this.__currentDoc.userConsentOptions||this.__noFetchDoc||this.setButtonTextsDefault?this.isLastDocument()&&this.isMultipleDocuments()?this.__currentButtonTexts={denyButtonText:this.buttonTexts?.lastDenyButtonText??this.getResourceValue("defaultLastDenyButtonText"),acceptButtonText:this.buttonTexts?.lastAcceptButtonText??this.getResourceValue("defaultLastAcceptButtonText")}:this.isMultipleDocuments()?this.__currentButtonTexts={denyButtonText:this.buttonTexts?.denyButtonText??this.getResourceValue("defaultMultipleContractDenyButtonText"),acceptButtonText:this.buttonTexts?.acceptButtonText??this.getResourceValue("defaultMultipleContractAcceptButtonText"),nextButtonText:this.getResourceValue("nextButtonText")}:this.isMultipleDocuments()||(this.__currentButtonTexts={denyButtonText:this.buttonTexts?.denyButtonText??this.getResourceValue("defaultSingleContractDenyButtonText"),acceptButtonText:this.buttonTexts?.acceptButtonText??this.getResourceValue("defaultSingleContractAcceptButtonText")}):this.__currentButtonTexts={acceptButtonText:this.getPositiveConsentOptionFromCurrentDoc()?.name??"",denyButtonText:this.getNegativeConsentOptionFromCurrentDoc()?.name??""},!this.__noFetchDoc&&this.__currentDoc.userConsentOptions&&(0===this.__currentDoc.userConsentOptions.length?this.__currentDoc.showNoButtons=!0:this.getNegativeConsentOptionFromCurrentDoc()?this.__currentDoc.showDenyButton=!0:this.__currentDoc.showDenyButton=!1)}resetButtons(){this.__currentButtonTexts={acceptButtonText:void 0,denyButtonText:void 0,lastAcceptButtonText:void 0,lastDenyButtonText:void 0}}resetPopup(){this.__scenario=void 0,this.__currentDoc=void 0,this.currentIndex=0,this.scenarioType=void 0,this.__userConsents=[],this.__documentContent=void 0,this.resetButtons()}getScenarioState(){return this.scenarioStates?.find(e=>e.scenario===this.scenarioProp?.scenario)}setCurrentDocConsentRequest(e){return{neoBoxId:this.__currentDoc.neoBoxId,consentResponseInfo:{consentResponseList:[{name:this.__currentDoc.consentTypeId,value:e?this.getPositiveConsentOptionFromCurrentDoc()?.value:this.getNegativeConsentOptionFromCurrentDoc()?.value}]}}}getPositiveConsentOptionFromCurrentDoc(){return this.__currentDoc?.userConsentOptions?.find(e=>"Positive"===e.valueType)}getNegativeConsentOptionFromCurrentDoc(){return this.__currentDoc?.userConsentOptions?.find(e=>"Negative"===e.valueType)}
536updateUserConsentsOnState(){this.getScenarioState().userConsents=this.__userConsents}incrementCurrentIndex(){this.currentIndex++,this.getScenarioState().currentIndex++}decrementCurrentIndex(){this.currentIndex--,this.getScenarioState().currentIndex--}isLastDocument(){return this.currentIndex===(this.__scenario?.length||0)-1}isMultipleDocuments(){return this.__scenario?.length>1}isAllApproved(){return this.__userConsents.length>0&&!this.__userConsents.find(e=>!1===e.approved)}zoomIn(){this.isDocZoomed=!0}zoomOut(){this.isDocZoomed=!1}getContentClass(){let e="content";return this.useWide&&(e="content-wide"),this.isDocZoomed&&(e+=" ov-show"),e}get __showNextButton(){return this.__currentDoc?.showNoButtons&&this.isMultipleDocuments()&&!this.isLastDocument()}render(){return u` 537 <ing-tr-dialog 538 variation="indigo" 539 ?opened=${this.showPopup} 540 @before-closed=${this.onDocumentPopupBeforeClose} 541 @back=${this.getPrevDocument} 542 maxWidth="100%" 543 .hasBackButton=${0!==this.currentIndex} 544 has-close-button 545 no-padding 546 > 547 <style> 548 ${es} 549 </style> 550 <div slot="header" class="header document-popup-header"> 551 <div class="header-title">${this.__popupHeader}</div> 552 ${this.isMultipleDocuments()?u`<span class="header-counter" 553 >${` (${this.currentIndex+1}/${this.__scenario?.length})`}</span 554 >`:""} 555 </div> 556 <div slot="content" class="slot-content"> 557 ${this.__docLoading?u`<div class="overlay"></div> 558 <ing-spinner class="spinner"></ing-spinner>`:""} 559 <div class=${this.getContentClass()}> 560 ${this.__documentContent&&!this.__docLoading?this.renderDocumentContent(this.__documentContent):""} 561 </div> 562 <ing-tr-feat-document-footer 563 ?showNoButtons=${this.__currentDoc?.showNoButtons} 564 ?showNextButton=${this.__showNextButton} 565 ?showDownloadButton=${this.__currentDoc?.isDownloadable} 566 ?showZoomButtons=${"jpg"===this.__currentDoc?.type||"png"===this.__currentDoc?.type} 567 ?isDocZoomed=${this.isDocZoomed} 568 ?showDenyButton=${this.__currentDoc?.showDenyButton} 569 .buttonTexts=${this.__currentButtonTexts} 570 .downloadButtonLoading=${this.__downloadBtnLoadState} 571 .onClickAccept=${this.onClickAccept.bind(this)} 572 .onClickDeny=${this.onClickDeny.bind(this)} 573 .onClickNext=${this.onClickNext.bind(this)} 574 .onClickDownload=${this.onClickDownload.bind(this)} 575 .onClickZoomIn=${this.zoomIn.bind(this)} 576 .onClickZoomOut=${this.zoomOut.bind(this)} 577 ></ing-tr-feat-document-footer> 578 </div> 579 </ing-tr-dialog> 580 `}}const os={ADDITIONAL:"additional",CAMPAIGN:"campaign",FAQ:"faq",EXCHANGE:"exchange",CALCULATIONTOOLS:"calculationTools",FASTMONEYTRANSFER:"fastMoneyTransfer"};class cs extends(Ai(I($))){static get localeConfig(){return{dir:"side-action-list",namespace:"ing-tr-feat-side-action-list"}}static get styles(){return m` 581 :host { 582 display: block; 583 } 584 585 .side-action-item { 586 margin-bottom: ${A}; 587 } 588 `}static get scopedElements(){return{"ing-tr-exchange-rate-template":Xi,"ing-tr-additional-action":ee,"ing-tr-navigation-self-faq":te,"ing-tr-additional-action-calculation-tools":ne,"ing-tr-additional-action-fast-money-transfer":Zi,"ing-tr-campaign-action":Ji,"ing-tr-warning-dialog":T,"ing-tr-feat-document-popup":rs}}static get properties(){return{sideActions:{type:Object},_sideActions:{type:Object},showPopupWarning:{type:Boolean},showDocumentPopup:{type:Boolean}}}disconnectedCallback(){super.disconnectedCallback(),nn(null)}renderExchange(){return this.sideActions?.exchange?u`<ing-tr-exchange-rate-template></ing-tr-exchange-rate-template>`:""}renderAdditionalAction(e){const t={...this.getResourceValue(e,null,{moduleName:"AdditionalActions"}),...Wi[e]};return ie(this.controlAdditionalAction(e).then(e=>e?u`<div class="side-action-item"> 589 <ing-tr-additional-action 590 title=${t.title} 591 description=${t.description} 592 buttonText=${t.buttonText} 593 iconId=${t.iconId} 594 .iconColor=${t.iconColor} 595 .customCallback=${()=>t.onActionClicked(this)} 596 > 597 </ing-tr-additional-action> 598 </div>`:"",""))}async controlAdditionalAction(e){return"INGInvestmentAccountOpening"!==e||this.handleInvestmentAccountOpening()}async handleInvestmentAccountOpening(){if(!k.locale.startsWith("tr")||Zt("hasInvestmentAccount",!0))return!1;const e=await $i({scope:this,uri:"stock-account/opening/control/v2",showNoMessage:!0});return Jt("hasInvestmentAccount",990012===e?.body?.errorCode,!0),!e?.body?.errorCode}async onInvestmentAccountOpeningClick(){this.warningComponents=await Fi.control(this,!1),this.warningComponents&&(this.showPopupWarning=!0)}onAnnualAgreementClick(){$i({scope:this,uri:"form/agreement/check/v1",showIconSpinner:!0}).then(e=>{if(this.annualAgreement=e.body?.stockExchangeAccountDocumentList?.[0],this.annualAgreement)if(Zt("hasMobileApproval",!0)){const e={documentList:[{text:this.annualAgreement.documentName,scenarioProp:this.scenarioProp}],extraParameters:this.annualAgreement.parameters,getUri:"ss-doc/proxy-get/stockexchange-document/sdk/retrieve/v1",updateUri:"ss-doc/proxy-update/stockexchange-document/sdk/approve/v1"};Jt("documentData",e,!0),p.navigate("document/confirm")}else this.showDocumentPopup=!0})}get scenarioProp(){return{scenarioType:"contract",scenario:[{documentRequest:{attributeValue:this.annualAgreement?.documentName,fieldList:this.annualAgreement?.parameterListToFill?.map(e=>({name:e}))},type:"png",showNoButtons:!this.showDocumentPopup}]}}renderCampaignAction(e){const t={...this.getResourceValue(e,null,{moduleName:"CampaignActions"}),...Yi[e]};return u` 599 <ing-tr-campaign-action 600 .imageUrl=${t.imageUrl} 601 .header=${t.header} 602 .description=${t.description} 603 .campaignLink=${t.campaignLink} 604 .campaignLinkText=${t.campaignLinkText} 605 ></ing-tr-campaign-action> 606 `}renderFaq(){const e=this.sideActions[os.FAQ].map(e=>this.getResourceValue(e,null,{moduleName:"FaqActions"}));return u` <ing-tr-navigation-self-faq .data=${e}></ing-tr-navigation-self-faq>`}renderCalculationTools(){return u` <div class="side-action-item"> 607 <ing-tr-additional-action-calculation-tools 608 .header=${this.getResourceValue("calculationTools")} 609 .items=${[{title:"İhtiyac Kredisi Hesaplama",iconId:"ing:filledin-products:moneybagEuro",url:"dashboard"},{title:"TaÅıt Kredisi Hesaplama",iconId:"ing:filledin-savings_goals:car",url:"dashboard"},{title:"Konut Kredisi Hesaplama",iconId:"ing:filledin-savings_goals:home",url:"dashboard"}]} 610 ></ing-tr-additional-action-calculation-tools> 611 </div>`}renderFastMoneyTransfer(){const e=[{text:"Anne Kredi Kart",onClick:()=>p.navigateToExternal("www.example.com","_blank")},{text:"İsu Ev"},{text:"Annem DoÄalgaz"},{iconButton:!0,iconId:"ing:outline-arrows:arrowCircleRight",text:"Kayıtlıları Gör"}];return u` 612 <ing-tr-additional-action-fast-money-transfer 613 .header=${this.getResourceValue("calculationTools")} 614 .buttonList=${e} 615 ></ing-tr-additional-action-fast-money-transfer> 616 `}renderSideActionItem(e,t){const n={additional:this.renderAdditionalAction,campaign:this.renderCampaignAction,faq:this.renderFaq,exchange:this.renderExchange,calculationTools:this.renderCalculationTools,fastMoneyTransfer:this.renderFastMoneyTransfer};return Array.isArray(t)&&e!==os.FAQ?t.map(t=>u`<div class="side-action-item"> 617 ${n[e].call(this,t)} 618 </div>`):u`<div class="side-action-item"> 619 ${n[e].call(this,t)} 620 </div>`}addAgreement(){$i({scope:this,uri:"form/agreement/add/v1",showIconSpinner:!0}).then(e=>{e?.header?.success&&(this.warningComponents={header:"",message:this.getResourceValue("agreementReceived"),primaryButtonTitle:this.getResourceValue("okay")},this.showPopupWarning=!0)})}renderDocumentPopup(){return u`<ing-tr-feat-document-popup 621 ?showPopup=${this.showDocumentPopup} 622 ?useWide=${!0} 623 .scenarioProp=${this.scenarioProp} 624 @all-documents-read=${e=>{e.detail.isAllApproved&&this.addAgreement(),this.showDocumentPopup=!1}} 625 @document-popup-close=${()=>{this.showDocumentPopup=!1}} 626 ></ing-tr-feat-document-popup>`}renderInvestmentWarning(){return u` 627 <ing-tr-warning-dialog 628 ?opened=${this.showPopupWarning} 629 .header="${this.warningComponents?.header??this.getResourceValue("warning")}" 630 .message="${this.warningComponents?.message}" 631 .primaryButtonTitle="${this.warningComponents?.primaryButtonTitle}" 632 @onClickedPrimaryButton="${()=>{this.showPopupWarning=!1,"function"==typeof this.warningComponents?.onClickedPrimaryButton&&this.warningComponents.onClickedPrimaryButton()}}" 633 .secondaryButtonTitle="${this.warningComponents?.secondaryButtonTitle}" 634 @onClickedSecondaryButton="${()=>{this.showPopupWarning=!1,"function"==typeof this.warningComponents?.onClickedSecondaryButton&&this.warningComponents.onClickedSecondaryButton()}}" 635 > 636 </ing-tr-warning-dialog> 637 `}render(){return i(this.sideActions)?"":u` 638 ${this.renderDocumentPopup()} ${this.renderInvestmentWarning()} 639 ${Array.isArray(this.sideActions)?this.sideActions?.map(e=>{const t=Object.keys(e)[0],n=e[t];return this.renderSideActionItem(t,n)}):Object.keys(this.sideActions)?.map(e=>this.renderSideActionItem(e,this.sideActions[e]))} 640 `}}function ls(e,t){let n=t.split("-").join("");n=n.length<17?n.padStart(16,"0"):n.substring(0,16);const i=CryptoJS.enc.Utf8.parse(n),s=CryptoJS.enc.Utf8.parse(n);
640return CryptoJS.AES.encrypt(e,i,{keySize:16,iv:s,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}var ds={PIE_CHART_COLORS:{DEPOSIT_TRY:`${se}`,DEPOSIT_FOREIGN_CURRENCY:`${z}`,DEPOSIT_XAU:`${ae}`,FUND:`${re}`,REPO:`${oe}`,STOCK:`${K}`,BOND:`${ce}`,EUROBOND:`${le}`,OTHER:`${K}`},INVESTMENT_DATA:{totalAmount:{value:125e3,currency:"TRY"},assets:[{label:"Mevduat",type:"DEPOSIT_TRY",amount:11243,rate:35},{label:"Fon",type:"FUND",amount:1e3,rate:10},{label:"Hisse Senedi",type:"STOCK",amount:400,rate:6},{label:"Altın",type:"DEPOSIT_XAU",amount:620,rate:8},{label:"Döviz",type:"DEPOSIT_FOREIGN_CURRENCY",amount:4843,rate:20},{label:"Bono/Tahvil",type:"BOND",amount:3223,rate:16},{label:"Eurobond",type:"EUROBOND",amount:3223,rate:16},{label:"Repo",type:"REPO",amount:3223,rate:16}]}};const us=e=>{$i({scope:e.scope,uri:"rateme-web/save/v1",isProcessFetch:!0,request:{options:e.request}}).then(t=>{t.header.success?e.success.call(e.scope,t.body):e.fail.call(e.scope,t)}).catch(t=>{e.fail.call(e.scope,t)})},ps=de` 641 .otp-dialog { 642 max-height: 602px; 643 max-width: 480px; 644 } 645 .icon-x { 646 float: right; 647 position: relative; 648 top: -${ue}; 649 } 650`;class ms extends(x(I($))){static get styles(){return[ps]}static get properties(){return{show:{type:Boolean},isSuccess:{type:Boolean},remindMeLater:{type:Boolean},txnName:{type:String},rated:{type:Boolean},configName:{type:String}}}static get localizeNamespaces(){return[{"ing-tr-feat-rate-me":e=>{switch(e){case"en":case"en-EN":case"en-GB":case"en-US":return import("./en-487c9fbd.js");default:return import("./tr-82f2f087.js")}}},...super.localizeNamespaces]}static get scopedElements(){return{"ing-tr-dialog":X,"ing-tr-profile-rateme":pe}}constructor(){super(),this.isSuccess=!1,this.remindMeLater=!0,this.navigationHelper=p,this.firstState=0}firstUpdated(){super.firstUpdated(),this.show=void 0!==this.show&&this.show,this.isSuccess=!1,this.remindMeLater=!0,this.configName=null}fetchCheck(){(e=>{$i({scope:e.scope,uri:"rateme-web/check/v1",request:{applicationKey:e.applicationKey,transactionName:e.transactionName}}).then(t=>{t.header.success?e.success.call(e.scope,t.body):e.fail.call(e.scope,t)}).catch(t=>{e.fail.call(e.scope,t)})})({scope:this,applicationKey:this.configName,transactionName:this.txnName,success:this.fetchSuccess,fail:this.fetchFail})}fetchSuccess(e){this.rated=e.rated,this.rated&&Jt("rateMeEnabled",!1,!0)}fetchFail(e){Jt("rateMeEnabled",!1,!0)}update(e){super.update(e),this.show=void 0!==this.show&&this.show,e.has("txnName")&&this.fetchCheck()}callBack(e){us({scope:this,success:this.fetchSaveSuccess,request:{rateValue:e.star,userNote:e.note,remindMeLater:!1,transactionName:this.txnName,applicationKey:this.configName,tckn:null,email:null,phoneNumber:{isDefault:!1,phoneType:0,number:null,areaCode:null,countryCode:null}}}),Jt("rateMeEnabled",!1,!0)}fetchSaveSuccess(e){this.isSuccess=!0,this.rated=!1}
650onHomePage(e){this.showDetails("cancel"),Jt("rateMeEnabled",!1,!0)}fetchProperties(e){us({scope:this,success:this.fetchSaveSuccess,request:{rateValue:e,userNote:null,remindMeLater:this.remindMeLater,transactionName:this.txnName,applicationKey:this.configName,tckn:null,email:null,phoneNumber:{isDefault:!1,phoneType:0,number:null,areaCode:null,countryCode:null}}})}showDetails(e){"remindMeLater"===e?(this.remindMeLater=!0,this.isSuccess=!0,this.fetchProperties(0)):"dontShowAgain"===e?(this.remindMeLater=!1,this.isSuccess=!0,this.fetchProperties(-1)):"cancel"===e&&(this.show=!1,this.isSuccess=!1),Jt("rateMeEnabled",!1,!0)}render(){const e=[{icon:"ing:filledin-characters:cross",color:"black59",position:"left",actionItems:[{title:this.msgLit("ing-tr-feat-rate-me:remindMeLater"),url:"",actionType:"action-menu",customCallback:e=>this.showDetails("remindMeLater")},{title:this.msgLit("ing-tr-feat-rate-me:dontShowAgain"),url:"",actionType:"action-menu",customCallback:e=>this.showDetails("dontShowAgain")},{title:this.msgLit("ing-tr-feat-rate-me:cancel"),url:"",actionType:"action-menu",customCallback:e=>
650this.showDetails("cancel")}]}];return u` 651 <ing-tr-dialog 652 ?opened=${this.isSuccess?this.isSuccess:this.show&&!this.rated&&void 0!==this.rated} 653 id="show-dialog-rate-me" 654 > 655 <div slot="content" id="virtual-card-error-dialog" noPadding> 656 <div class="otp-dialog" id="otp-dialog"> 657 <ing-tr-profile-rateme 658 id="rate-me" 659 .success=${this.isSuccess} 660 .onCallBack="${this.callBack.bind(this)}" 661 .contextMenu=${e} 662 .onHomePage="${this.onHomePage.bind(this)}" 663 ></ing-tr-profile-rateme> 664 </div> 665 </div> 666 </ing-tr-dialog> 667 `}}const gs=u` 668 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 389 158.85" width="100%" height="100%"> 669 <path 670 fill="#FFF" 671 d="M311.21 105.85a7.3 7.3 0 0 0 3.8-1.14h2.27c4.7 0 8.34-1.34 11.77-4.76 4.57-4.36 7.23-11.6 7.23-18.54a32.1 32.1 0 0 0-9.52-22.64c-2.64-2.66-5.54-3.94-7.83-6.57a13.89 13.89 0 0 1-2.77-3.8 9.28 9.28 0 0 0-2.67-2.08l-1.52-.2c-.2-.36-.76-.36-1.15-.36-3.04-.51-5.82 1.12-8.78 1.7v.38c1.9.57 2.25 2.85 3.3 3.99l.92 1.3a10.48 10.48 0 0 0 4.56 2.97c2.48.39 4.57-.75 6.97-.19 8.59 4.2 14.69 14 14.69 23.79 0 13.98-8 19.5-12.97 19.5-.96 0-2.41-.58-2.97-1.1.56-1.95.9-4.22.9-7.65 0-8.09-3.19-16.84-7.57-21.3-2.09-2.1-4.34-3.81-6.68-3.81-1.15 0-2.3 0-3.05.95-.95.75-1.53 2.28-1.33 3.23-1.53 1.14-4 1.7-5.9 1.7-2.1 0-4.75-.75-7.1-2.65V65.7l-.35-1.51c-.2-1.24-.2-2.76-1.15-3.91l-.57-1.52c-.94-2.28-.57-3.23-2.28-6.57-.38-1.7-2.1-2.65-3.23-3.8-.57-.37-1.08-2.09-1.08-2.09-1.13-2.58-1.9-5.41-4.36-6.94l-.58.38-1.33-.95c-.57-.57-.95-.77-2.08-.77l-1.22-.94c-1.1-.2-2.06-.2-3.4 0l-1.32.38c-.77.18-1.72.76-2.1.76-1.52-.76-3.42-1.52-4.19-1.52l-1.32.38c-1.14 0-1.9.37-2.86.94 0 0-1.9.58-2.08.58-.5.19-1.03.76-1.38 1.14-1.33 1.14-2.28 2.09-2.85 3.79l-.76 1.52v2.77c-.57.57-1.33 1.14-1.71 2.28-.95 3.02-1.15 6.38-1.15 10.18-.18.76-.56.95-.94 1.14v2.95s.38 1.9.38 2.47c0 .76.19 1.52.19 2.29 0 .37 0 .37.19.76 0-.39.18 1.7.18 1.9.77 3.9 1.9 7.32 3.43 11.05-1.52 2.45-3.23 7.21-4.37 11.77-.95-.94-2.29-1.13-3.43-1.13-1.07.19-2.2.57-2.97 1.7-1.14-.57-2.66-.38-3.4.4-1.57 1.35-1.57 2.1-1.57 3.21a3.9 3.9 0 0 0-1.15 2.67c0 1.71.19 2.85 1.15 4.37h81.06z" 672 /> 673 <path 674 fill="#006" 675 d="M210.7 87.98v13.5c-7.59 3.8-14.72 5.7-21.86 5.7-19.78 0-31.68-11.59-31.68-26.34 0-15.89 13.61-29 30.92-29 4.28 0 7.52.76 10.91 1.88 2.43.76 3.93 1.63 5.45 1.63 1.34 0 1.71-2.22 1.9-3.52h1.89l1.71 18.26h-2.28c-.94-3.61-2.65-6.57-4.93-8.65-3.56-3.62-8.47-5.52-14.08-5.52-11.89 0-18.83 9.42-18.83 23.6 0 13.98 8.47 23.48 19.78 23.48 3.33 0 6.38-.76 10.1-2.48V86.64c0-4.46-.71-6.18-7.15-6.18v-2.09h23.9v2.09c-5.94 0-5.75 1.9-5.75 7.52zm-65.8-22.26v40.52h-3.13l-40.53-41.86c.2 1.15.2 2.1.2 3.24v25.5c0 7.78 0 10.64 7.13 10.64v2.09H89.55v-2.1c7.2 0 7.2-3.42 7.2-10.63V64.05c0-4.32 0-9.06-7.58-9.06v-2h17.94l33.33 34.22c-.2-.95-.2-1.52-.2-2.85V65.72c0-7.52.2-10.73-6.96-10.73v-2h19.02v2c-7.02 0-7.4 3.03-7.4 10.73zm-92.09 40.13v-2.1c4.57 0 7.81-.37 7.81-6.99V62.01c0-6.85-2.48-7.02-7.8-7.02v-2H79.6v2c-5.5 0-7.77.17-7.77 7.02v34.75c0 6.62 2.86 7 7.77 7v2.09H52.8z" 676 /> 677 <path 678 fill="#FF6200" 679 d="M263.24 105.85c-.96-1.7-1.15-4.38-1.15-4.94 0-.95 0-2.3.57-3.2l-2.09.39c-.57.71-.76 1.1-.76 1.47l.95-.37c.2 0 .38.37.57.76-.19.95-1.33.95-1.71 1.33-.57 1.9 1.14 3.04 1.33 4.56h2.29zm73.04-24.43c0-8.28-3.42-16.65-9.52-22.65-2.64-2.66-5.54-3.94-7.83-6.56a13.87 13.87 0 0 1-2.77-3.8 9.32 9.32 0 0 0-2.67-2.1l.58 1.72h-.2c-.95 0-1.9-.57-2.65-1.14l.75-.77c-.2-.35-.75-.35-1.15-.35-3.04-.52-5.82 1.12-8.78 1.69v.38c1.9.57 2.25 2.85 3.3 4h1.1c.39 0 .96.37 1.34.37 0-.38-.38-1.14-.38-1.14.38-.38.76-.38 1.14 0 .95.58 2.28-.38 3.23 1.14-1.13 0-2.28 0-3.23.58 0 .2.58.54.38.93-.94-.4-2.1 0-2.47-.73l-.2.14a10.5 10.5 0 0 0 4.57 2.98c2.48.38 4.57-.76 6.97-.2 8.6 4.2 14.69 14 14.69 23.79 0 13.98-8 19.5-12.97 19.5a5.5 5.5 0 0 1-2.97-1.1c.56-1.95.9-4.22.9-7.65 0-8.08-3.18-16.84-7.56-21.3-2.1-2.1-4.35-3.81-6.7-3.81-1.14 0-2.28 0-3.04.95-.95.76-1.53 2.28-1.33 3.23-1.52 1.15-4 1.71-5.9 1.71-2.1 0-4.75-.76-7.1-2.66v-2.85c-.54-.2-2.44-1.34-1.5-2.2.58.2.96.53 1.15.68-.2-1.24-.2-2.76-1.14-3.9-.39 0-.95 0-1.52-.39-.57-.56-1.15-1.32-1.15-2.28.58.96 1.52.57 2.1 1.14-.95-2.28-.58-3.23-2.29-6.56-.38-1.7-2.1-2.66-3.23-3.8-.57-.38-.76-.95-1.45-.95-.76-.19-.76-1.14-.76-1.69.19 0 .76.35 1.13.55-1.13-2.59-1.9-5.42-4.36-6.95l-.58.38h-3.04c.37-.38 1.14-.57 1.71-.95-.57-.57-.95-.76-2.08-.76-.52.2-1.22.76-1.94.76h-.19c0-.57-.2-1.33.91-1.7-1.1-.2-2.06-.2-3.4 0-.18.94-.75 1.51-.75 2.27-.56.38-.76.95-1.33 1.53 0-1.15.57-2.29.77-3.43-.77.19-1.72.76-2.1.76-1.52-.76-3.43-1.51-4.2-1.51 1.15.75.59 2.08.77 3.03l-.76-.38c-.18-.76-1.14-1.33-1.32-2.28a5.1 5.1 0 0 0-2.86.95v.2c.56 0 1.33.57 1.7 1.14-1.32 0-2.27-.57-3.6-.57 0 0 0-.2-.18-.2-.52.2-1.04.77-1.38 1.14-1.34 1.15-2.29 2.1-2.86 3.8.38 0 .95 0 1.15.18-.77.2
679-1.15 1.14-1.9 1.34v2.77c-.58.57-1.34 1.14-1.72 2.28-.95 3.01-1.14 6.37-1.14 10.17-.2.77-.57.96-.95 1.15v2.94s1.14-1.06 1.71-1.42v2.38c-.76 0-1.33.95-1.33 1.52 0 .76.2 1.52.2 2.28 0 .38 0 .38.18.76 0-.38.38-.76.95-.95 0 0 .38-.38 1.14-.38-.56.57-.76 1.33-1.14 2.1l-.57.56s-.2.38-.2.58c.77 3.9 1.91 7.32 3.44 11.05-1.53 2.45-3.24 7.2-4.38 11.77-.95-.95-2.28-1.14-3.43-1.14-1.07.2-2.2.57-2.97 1.72-1.14-.58-2.65-.39-3.4.38-1.57 1.36-1.57 2.11-1.57 3.22a3.9 3.9 0 0 0-1.15 2.66c0 1.72.2 2.86 1.15 4.38h28.53a5.1 5.1 0 0 0-.96-1.7c-.56-1.15-.18-2.68-.18-3.82a18.17 18.17 0 0 1 1.9-3.2c.18-.57 0-.57.18-.76l1.34-.22c.76 0 1.33-.56 2.28-.56.57.78.57-.58 1.53-.96 2.09-.38 4.03 0 5.16 1.52 0 .22.2.22.2.4h-.96c-1.06-.4-2.31-.96-3.65-.4 0 .4-.18.4-.18.98v.96c.75 0 1.33.72 2.07 1.1.35-.58 1.4-1.1 2.14-1.1.95 0 2.28.53 2.28 2.05v2.1c.77.76 1.71.95 2.67 1.32-.38.77-.96.77-1.53.77h-1.51c-.2-.19-.58-.19-.58-.77-.57.77-.94 1.53-1.33 2.29h22.02c-.37-.76-.75-1.33-.94-1.71-.38-1.14-.38-2.67-.38-3.81l2.1-2.82c1.13 0 2.09-.38 4.18-.56.38-.58 0-.8 1.71-.8 1.33 0 2.28.22 2.66.4.2.4.2.4 0 .77-.38.38-1.14-.37-1.7-.19-.39.38.19.57.19.96.37.33-1.72-.4-1.72-.4s-.38 1.12-.57 1.5l1.14 1.14c.38.57-.57 1.14-.57 1.71-.38-.18-1.14-.76-1.14-.57-.39 1.53 0 2.86-.19 4.38h2.09l.19-3.23c.19-1.9 2.47-5.3 3.8-5.3.77 0 1.34.38 1.88.77.34.72 1.23 1.1 1.23 1.47 0 .4-.53.58-1.41.58-.36 0-.36-.58-.93-.94l-1.14 1.13s1.32 1.14 1.32 1.9c0 .96-.18 1.33-.76 1.9l-1.14-2.27c-.57 0-1.52 1.14-1.52 1.7 0 .77-.38 1.15-.38 2.29h11.65c1.32 0 2.46-.38 3.8-1.14h2.26c4.7 0 8.34-1.34 11.77-4.76 4.57-4.36 7.23-11.59 7.23-18.53zm-40.9 17.2l-1.9.19c.76.4.76 1.34.76 1.52 0 .57-.38 1.14-.77 1.53-.37-.39-.37-.96-.75-1.53-.38 0-.57.95-.57 1.33 0 1.72.76 3.05 1.32 4.19h1.72c-.19-1.52-.58-2.85-.58-4.56 0-.96.58-2.09.77-2.67zm-24.89 2.28c0-.75-.56-.94-1.32-.94-.37 0-1.24.56-1.24.95 0 .76-.35 4.94-.35 4.94h1.22c.55-1.7 1.7-4 1.7-4.94zm-4.02-.19c-.2 0 .2.39-1.7-1.5-.4 0-.96 1.12-.96 1.5 0 1.53.37 3.62.96 5.14h1.5c0-1.7.2-3.61.2-5.14zM316.16 53a2.02 2.02 0 0 0-1.72-1.16c-.57-.76-1.33-1.7-2.1-1.7.58 0 1.34-.58 2.28-.58.39.95 1.15 1.52 1.34 2.28l.2 1.16zm-5.72-4.01h-2.09c-.37-.57-.95 0-1.33 0-.39 0-.58 0-1.31-.57 1.11 0 1.69-.57 2.64-.95.77.57 1.52.76 2.09 1.52zm-4.56 21.69c-1.24-.38-1.94-.95-3.08-.95-.38 0-2.1.57-2.28.95-.57-.77.37-2.29 1.14-2.67.76-.38 1.14-.2 1.52 0 0 1.14 1.29.57 1.99.95.35.57.54.95.7 1.72zm-.17 2.75c-1.07 0-1.24-.15-1.96-.15-.95 0-2.09.34-2.66 1.29-.39-.76-.2-1.14 0-1.61.57-.57 1.52-1.33 2.28-1.33 1.27 0 2.34.95 2.34 1.8zm4.35 4.2a11.35 11.35 0 0 0-5.06-1.54c-.7 0-2.96.96-3.72 1.71l-.39-1.7c1.15-.2 1.15-1.16 1.9-1.16.58 0 1.32-.19 1.85-.19s.89-.36 1.07-.36c.92 0 .54.95 1.11.95.58 0 .96-.4 1.34-.4.96 0 1.71 1.54 1.9 2.68zm.57 4.17c-1.33 0-2.65-.38-2.85-.95-.38-.38 0-1.14-.96-1.14-.38 0-.94.57-.94.57-.36.19-1.41-.57-1.41 0 0 .95-.72 1.33-1.67 1.33-.38 0-.76 0-1.14-.19v-1.9c2.45 0 2.28-.76 3.34-.76.7 0 1.26.38 1.82.38.96 0 .4-.38 1.34-.38.96 0 1.33.76 1.9.95 0 .57.57 1.34.57 2.1zm-1.7 4.09c-.58-.19-1.91-.38-1.91-.95 0-.76-.39-.95-1.31-.95-.71 0-1.24.2-2.34.57 0 0-.57-.76-.76-1.5a9.1 9.1 0 0 1 2.56-.56c1.27 0 2.6 0 2.6.55 0 .75 1.15.94 1.15 2.84zM276.01 56.3c0 .2-.39 1.9-.39 1.9l-1.52.39.95-4.11c.39.68.96 1.44.96 1.82zm36.52 36.24c0 1.14 0 1.52-.58 2.47l-1.14-1.71c.4-.56.4-1.33.95-2.28.2 0 .77 1.33.77 1.52zm-4.56-2.47c-1.35 0-.58-2.67-3.34-2.67-.53 0-.89.96-1.65 1.15 0-.19.2-1.34.2-1.34 0-.38.18-1.14.92-1.52 1.42 0 1.06.57 2.15.95.56.2.95.57 1.72.57v2.86zm-11.84-10.75c-1.7-.95-2.67-2.65-4.19-4.38 1.52 0 1.9 1.53 3.05 1.72.38.38.76.57 1.14 1.13v1.53zm-16.2-13.98c-1.14 0-1.71-.57-2.28-1.63 0-.57-.19-1.32 0-2.27.37.76.37 1.14.76 1.52.76-.38.76.56.95.75.2.5.57 1.06.57 1.63zm31.27 32.17c-.39.59-.39.59-.58 1.1 0-.9-1.14-1.47-1.9-3.02l.76-1.34c.57.38 1.33.96 1.33 1.9 0 0-.19.4 0 .8 0 .19.4.19.4.56zm-3.81-5.35c0 .76-.19.96-.38 1.9-1.31-.18-1.31-1.71-1.5-1.9-.88-1.14-2.15-.18-3.1-.18-.38-1.15.19-1.15.19-1.91.58 0 1.14-.39 1.68 0 .88-.39 1.42.57 2.34.57.2.38.58 1.33.77 1.52zm-9.55-7.8c0 .77-.38 1.33-.18 2.1-.39-1.15-1.15-2.29-1.53-3.41 0-.2-.2-.2.2-.38.18 0 .94 0 .94.19.2.36.57.93.57 1.5zm-16.58-14.84c-.2.77-.95 0-1.13 0h-1.72c-.2-.38-.39-.56-.39-.95.77-.19 1.33-.57 1.9-.19.39.58.77 1.14 1.34 1.14zm4.19 4.28c-.57.58-2.1.76-3.23-.19l1.51-.66c.57.47 1.34.66 1.72.85zm9.73 10.75c0 1.14-.19 2.48-.19 3.81-.57 0-.57-.38-.57-1.15-.18-1.14-.57-2.09-.95-3.23-.38-1.49-1.33-2.76-2.09-4.47-.19-.76-1.14-1.14-1.9-1.72.94 0 1.9 0 2.66.77 0 .38.19.57.76 1.14 1.34 0 .95 1.72 2.1 2.48-.58.49-.76.86-1.15 1.23.57.38 1.14.57 1.33 1.14zm-7.43-5.61c0 .57-.36.76-.72 1.14 0 0-.7-.95-.7-1.33 0-.77 0-1.14.18-1.71.52.57 1.24
6791.33 1.24 1.9zm17.76 17.21c0 .07-.35.41-.35.41a5.1 5.1 0 0 0-2.56-.6c0-.75-.57-1.71-.95-1.71-1.14 0-.96.76-1.9.76l1.7-1.71c.2-.38.2-.38.58-.38.57.38.76.58 1.33.58 0 .38 0 .56-.18 1.13.56.38.92-.19 1.28.38.53.2 1.05.38 1.05 1.14zm-15.28-13.1c0 .36-.57.74-.76.74 0 0-.95-.94-1.13-1.8-.2-.77.56-2.1.56-2.1.19 0 .39.38.57.38.2.19 0 .77.2 1.33.56.39.94 1.07.56 1.44zm-14.6-18.28a18.1 18.1 0 0 0-7.54-2.38c0 .57 0 1.13-.17 1.32 2.19 1.06 4.28 2 6.18 3.72v1.71c-1.9-1.9-4-3.8-6.36-4.37-.17.38-.9.76-1.08 1.52-1.34-.95-2.86-1.9-4.39-2.09-.57 0-.95-2-.95-2a3.12 3.12 0 0 0 1.9-1.9h.76c.58 0 .58-.38.58-.95 0-1.14-2.48-1.14-3.62-1.14-1.33 0-2.28 0-3.05.57-.37 0-.18.57-.18.95 0 .19.56.57.56.57.4 0 .77-.39 1.15-.39-.19 1.15.19 1.72 1.33 2.3l-.19 1.84c-2.29 0-3.8.9-5.51 1.67-.58-.38-.96-.95-1.34-1.52-2.29.75-6.12 3.8-6.12 3.8v-1.33c1.68-1.52 3.83-2.29 5.55-3.15V62.2c-.76-.38-1.52 0-2.28 0a9.3 9.3 0 0 0-4.41 1.85c0-.53-.2-1.28-.2-1.28 2.1-1.14 4.61-2.1 7.08-1.71v-.77c-.2-.38-.2-.94-.57-.94-1.14-1.15-2.28-2.86-2.28-4l.76-.36c-.38-1.08-.76-3.92 0-4.87a6 6 0 0 1-2.5-2.28c-.38-.95-.77-1.52-.96-2.59.58-1.14.96-1.52 1.49-2.64.35 0 .87-.2 1.03-.57.94-.2 1.51-1.14 2.65-.57.76 0 1.52.37 2.1.57 0 .38 0 .57.37.95 1.14 0 1.14 1.12 1.72 2.08.57.18 1.14.18 1.52.18 1.14.36 2.1.36 2.48.87a7.45 7.45 0 0 1 4.75-.87c.19-.57.57-1.33.77-2.26.18.55.18 0 .56 0 .7-.57 1.57-1.52 2.89-1.15.76.58 2.09.2 2.85 1.15.57.74.95 1.88 1.52 2.78-.57 1.12 0 2.64-1.14 3.2l-1.14 1.15c-.38 0-.38.38-.95.38.57 1.33.2 3.22-.38 4.49.38-.16.95-.16.95-.7.2.19 0 .54 0 .7v.55c0 .95-.57 1.9-1.33 2.66-.38 1.15-1.33 2.67-2.57 2.86v.38c2.76 0 5.04.76 7.7 2.07v1.26zm7.73 11.9l-.96.37a5.5 5.5 0 0 1-4-1.33c.77 0 1.73-.96 1.73-.96a7.17 7.17 0 0 0 3.23 1.92zm-5.34-4.29c-1.07 0-2.4.57-2.97-.57.39-.2.77-.76 1.15-1.15l1.82 1.72zm15.44 17.69c0 .95-1.13 2.1-1.52 2.85.39-.94.39-2.85 0-2.85-.38-.19-1.14 0-1.14-.39 0-.57.2-1.32.2-1.7 0-.77-.58-1.15-.58-1.53 0-1.14 1.34-1.33 1.72-2.09.19.76.19 1.52.19 2.47 0 .38.57 1.53 0 2.48 0 .57 1.13.19 1.13.76zm-4.37-2.1c0 1.14-.75 2.1-.94 3.24 0-1.14-.2-2.1-.94-2.85 0-.38.54-.38.18-.96 0 0-1.05-.57-1.05-1.33 0-.76.7-1.33 1.05-1.9 0-.2.76.38.76 1.52 0 .19 0 .76-.2 1.14-.2.57 1.14.57 1.14 1.15zm-15.56-13.41c-.95.19-1.71-.76-2.66-1.14-.39-1.04-.39-2.19-.76-2.76.76.57 2.47.57 2.09 2.29 0 .47.76.85 1.33 1.6zm5.26 5.33c-.77 0-2.03 0-2.78-.57a6.46 6.46 0 0 1-2.1-1.52c.76-.57 1.71-.57 2.1-.76.75.75 1.45 2.09 2.78 2.85zm-31.77-29.2l-1.32.38.18-.95c.38-.57.57-1.14 1.14-1.71v2.29zm24.23 26.35c-.77.19-2.1.57-2.46-.38-1.05-1.72-.52-3.24 0-4.47.36 1.08.55 2.2.74 3.14.2.75 1.34 1.14 1.72 1.7zm-5.36-10.37c-.2 1.14-.56 2.85-1.72 3.62 0-.77-.37-1.15-.75-1.72-.2 0 0 .57-.2.57 0 .38-.37 1.15-.37 1.9-.39.2-1.15.57-1.9.2v-.57c-.2-.38-.2-1.15-.2-1.53l-.19-.18c-.57.18-.57.56-.57.95-.19.38-.56.76-.56 1.32-.77 0-1.15-.18-1.72-.56v-1.71c0-.39 0-.39-.19-.39l-.95.95c-.77-.56-.96-2.1-.96-3.04 3.05-1.7 6.86-1.14 9.15-.19.37.19.75.19 1.13.38zm9.73 15.31h-.57c-2.1.69-3.8-.56-5.52-1.7a9.9 9.9 0 0 1 3.43-.58l.57 1.15c.57.19 1.52.75 2.1 1.14zM247.4 53.33l-.95 1.15c.19 1.82-.57 3.15-.57 4.87l-.95-3.05a7.5 7.5 0 0 1 .95-2.39l1.52-.58zm19.44 24.47c-.95-.57-2.67-.76-2.28-1.91.38-.95.95-1.14 1.33-1.5a9.6 9.6 0 0 0 .95 3.4zm17.46 19.34h-.18c-.39-.58-.58-.99-.96-.99.57-2.09-.57-3.8-.94-5.51v-.57c.57.95 2.08 1.9 1.9 2.85.18 1.71.18 3.23.18 4.22zm-4.37-7.07c-.95 0-1.71 0-2.28-.96-.19 0-.51-.56-.7-.18-.94.75-1.9-.57-3.04-.39-.57.57-1.13.96-2.1 1.14v-.18c0-.57.39-1.14 1.15-1.52 1.14.38 2.1-2.1 3.24-.77.56.2 1.1.2 1.45.2 1.32.57 1.7 1.7 2.28 2.66zm-17.28-15.32c0 1.33-.19 3.04-1.52 3.62l-.38-1.9c.57-.39 1.14-.77 1.9-1.72zm6.32 8.3a3.7 3.7 0 0 1-2.13.74c-1.15-.94-1.9-2-3.04-3.52l3.04.57c.56.38 1.6 1.66 2.13 2.2zm11.34 10.83c-.76-.58-1.9-.58-2.29-1.53-.72-.19-1.26-.19-2.2-.19-.77.19-1.71.19-2.48.19-.2 0 0-.19-.38-.38-1.14.38-2.29.38-3.43 1.52l.95-2.28c.77 0 1.34-.38 1.72-.38.76-.19 1.33-.19 1.9-.19v.2c2.1 0 4.5-.2 6.02 1.5l.19 1.54zM258.67 77.8c-1.14-1.13-2.1-2.1-2.1-3.24.58 0 1.15 0 1.71.37 0 .96.4 1.73.4 2.86zm-3.61-5.42l-.58 2.37c-.57-1.14-1.14-2.18-1.33-3.52l1.9 1.15zm27.17 25.32c-.2.4-.59 1.5-.77 2.26-.38-1.15-.76-2.82-2.1-2.82-.19-.76-.38-.99-1.13-1.55l-1.46-.2c.2.76 1.26.76.53 1.75.73.56 1.3.56 1.68 1.48.38.58 0 1.34.2 1.71l-1.15.58c0-.95.2-2.81-1.07-3.2-1.14.39-1.33-1.15-2.1-1.56-.37 0-.37-.94-.94-.56-.95.56-2.1 0-3.04.56l.95-1.52c.76-.56 1.52-.38 2.28-.56l1.52-.19c1.52 0 2.79.75 4.3 1.33.77.38 1.15.94 1.15 1.74.38.19 1.15.19 1.15.75zm-15-8.77h-.38c-.18 0-1.52-.57-1.9-.95-.18-.58-.18-1.15-.18-1.15h1.5l.96 2.1zm-14.65-13.6a6.49 6.49 0 0 1-2.95-2.38 6.16 6.16 0 0 1-.53-2.28c.7 0 1.21.56 1.39.95v.19c.94 1.14 1.9 2 2.1 3.52zm9.13 6.66c-.18 1.06-.76 1.42-1.71 2.75-.56.38-1.72.57-2.85 1.14.19-.57.75-.76 1.13-1.33.4-.57 1.15-1.5 1.34-2.06.95-.5 1.33-.5 2.09-.5zm13.92
67918.34l-.57.58c-.57-.58-.19-2.1-1.14-2.3-.95 0-1.71-.9-2.1-1.1l.77-.37s.38-.19.76 0c.38.37.76.56.76.96.38.52.95 0 1.34.52.18.58.38 1.34.18 1.71zM258.3 80.46c-.57 1.14-1.14 2.2-2.28 2.58-.58 0-1.53.37-2.67 0 .57-.37 1.14-.55 1.91-1.06l1.52-1.52h1.52zm3.8 8.65c-.76.57-1.33.57-2.28.39l-1.14-1.52h2.86l.56 1.13zm-13.72-14.36c-.96.95-1.91 1.33-2.3 2.48 0-.57-.18-1.15-.36-1.53.18-.77.75-1.14.94-1.32.57.18.95.18 1.72.37zm2.12 2.86a4.05 4.05 0 0 1-1.93 3.23c0-1.14.54-2.09.54-3.05.53-.18 1.05-.56 1.39-.18zm2.66 2.28l-.76 2.78c-.95.74-2.24.37-3.29.37 1.39-.37 2.53-2 3.29-3.15.2-.19.38 0 .76 0zm.95 9.6c0 .58-.19 2.86-.19 2.86-.38-1.33-1.32-2.67-2.47-2.67a4.83 4.83 0 0 1-1.3-1.7c-.51-.58-1.04 0-1.77-.58-.77 0-1.72 0-2.48.58v-.58l1.33-1.52c1.34.2 2.93 0 3.27.95.95.58 1.9 1.15 2.1 1.53v.57c.37.18 1.13.38 1.51.57zm-.95 5.9l-1.33 1.17c-.39-.4 0-1.35-.57-1.93 0-.38.38-.56.19-.75-.19-.39-2.34-1.15-2.34-1.15-.73-.57-1.69-1.15-2.45-1.9-.76-.19-1.33.19-2.28.38v-.38c.38-.76.38-1.72 1.52-1.72.57 0 1.34 0 1.7.57.78 0 1.16.77 1.69.96.87.94 1.6 1.33 2.16 1.7 0 .58.19.96.57 1.15 1.14 0 .76 1.14 1.14 1.9zm-2.84 2.7l-.51 1.86-1.24-3.4c-1.53-1.34-3.24-1.54-4.2-2.3-.75-.19-.75.38-1.13 0 0-.37 0-.95.57-1.52h1.14l1.14.57c.57.58 1.9.58 1.9 1.71 0 .2-.2.38.39 1.14l1.78.4.16 1.55zm-5.18 1.87c0 1.51-2.47 3.6-2.47 3.6 0-.94.57-2.09.57-3.23 0 0-.77-.76-1.53-.76-.57.39-.57.76-.76 1.33-.57 1.15-1.71 2.29-1.9 3.43-.19 0-.19-.19-.19-.19 0-1.9.2-5.14 1.33-6.44.95-1.14 1.72-1.14 2.85-1.32l.96.18-.76 1.14c.76.4 1.9 1.11 1.9 2.26zm-6.67-1.15c0 .76-.19 1.52-.56 2.1-.2-.76-.73-1.7-1.65-1.7-.75 1.5-.94 2.08-.19 4.36-.56.57-.95.76-1.7 1.14-.39-.76-.39-2.1-.39-2.85 0-1.34.2-2.66.58-3.76.56-.59.95-1.54 1.51-1.95h2.03c-.92 0-.92.8-.92 1.36.54.2 1.3.39 1.3 1.3zm-4.86 2.1c-.2 0-.77-.58-1.34-.58-.54 1.14 0 1.9 0 3.24 0 .57-.19 1.14-.19 1.14-.35 0-1.03-.76-1.2-1.52v-3.04l1.59-2.05c1.14.71 1.51 1.86 1.14 2.8zm39-52.5c.37-.95.37-2.64-.4-3.54-.37-.76-1.32-1.14-2.27-1.88l-1.3.74c-.7.38-1.05 1.14-1.05 2.04a7.73 7.73 0 0 1 3.1 3.2h.58c.57-.56.95 0 1.33-.56zm-6.33 1.14c0-.57-.18-.57-.37-.57-.95 0-.95-1.52-1.72-1.14-.37 0-.75-.38-1.32 0 0 .19 0 .19.38.19.94 0 .57 1.33 1.33 1.52h1.7zm2.9 2.28s.37 0 0-.18l-4.03-.58c-.37.58-1.33.58-1.33 1.14h-.38c.38 1.5.38 3.14.38 4.85.76.2 1.52.57 1.52 1.71.75.39 1.52.58 2.25 1.14.35-.18.52-.75.7-1.32-.7-.96-2.38-.39-2.38-2.1l-1.13-.38c0-1.12 0-2.2-.2-2.98l.2-.14c0 .14.18.33.56.73.75 0 1.52.19 2.25-.4.35-.2.35-1.12.7-1.12.34 0 .7 0 .89-.37zm-9.36-3.99c-.38-.38-1.52.19-2.1.38-.75.19-1.32.76-1.32 1.33h2.09a5.9 5.9 0 0 1 1.33-1.7zm-4.19-2.07c-.19-1.85-2.28-2.04-3.23-2.78h-.76c-1.48.55-1.83 2.08-2 3.33.52 1.7 1.62.57 2.38 1.7a22.1 22.1 0 0 1 3.61-2.25zm11.23 17.37v-.94h-1.9l-.18.2 2.08.74zM258.3 52.2c0-.38-.4-.76-.95-1.14h-4.57c0 .76.56 1.14 1.14 1.14 0 .78.56.92.76 1.12.57.39.75.39 1.33 0 .57.39.76-.34.95 0 0 1.15 0 1.66-.2 2.59-.18 1.33-1.33 1.14-2.28 1.71 0 .57-.56 1.53 0 2.1.58-.38.95-.57 1.91-.95 0-.58.57-1.15 1.33-1.53 0-1.7.56-3.34.56-5.04zm-1.53 10c-.37-.77-1.33 0-2.28-.39 0 .38 0 .76.58 1.14a3.08 3.08 0 0 1 1.7-.76z" 680 /> 681 </svg> 682`;k.loadNamespace({"ing-tr-banking-helper":e=>{switch(e){case"en":case"en-EN":case"en-GB":case"en-US":return import("./en-b3173394.js");default:return import("./tr-25ffdb65.js")}}});const hs=async e=>{const t=e?.target;t?.setAttribute("disabled","disabled"),$i({scope:void 0,uri:"activation/logout/v1",isProcessFetch:!0,processMessage:k.msg("ing-tr-banking-helper:logout"),showNoMessage:!0}).catch(e=>{throw new Error(e)}).finally(()=>{cn({logout:!0}),window.dispatchEvent(new CustomEvent("_loginEvent",{bubbles:!0,composed:!1,detail:{loginResult:"logout"}})),t?.removeAttribute("disabled")})},fs=async e=>{$i({scope:void 0,uri:"activation/logout/v1",isProcessFetch:!0,processMessage:k.msg("ing-tr-banking-helper:logout"),showNoMessage:!0}).catch(e=>{throw new Error(e)}).finally(()=>{cn({logout:!0}),p.navigateToExternal(e)})},bs=async e=>{$i({scope:void 0,uri:"activation/logout/v1",isProcessFetch:!0,processMessage:k.msg("ing-tr-banking-helper:logout"),showNoMessage:!0}).catch(e=>{throw new Error(e)}).finally(()=>{cn({logout:!0}),"function"==typeof e&&e()})};class ys extends(I(x($))){static get styles(){return m` 683 :host { 684 width: 100%; 685 display: block; 686 position: fixed; 687 z-index: 50; 688 } 689 690 .header { 691 background-color: ${W}; 692 height: ${me}; 693 min-height: ${me}; 694 box-sizing: border-box; 695 ${ge()}; 696 } 697 698 .header__content { 699 max-width: ${he(fe)}px; 700 margin: 0 auto; 701 padding: 0 ${N}; 702 display: flex; 703 align-items: center; 704 } 705 706 .ing-logo { 707 display: inline-block; 708 width: 180px; 709 height: ${me}; 710 } 711 712 .profile-menu { 713 margin-left: auto; 714 display: flex; 715 } 716 717 .icn-fill { 718 block-size: auto; 719 fill: ${se}; 720 } 721 722 .profile-icon { 723 margin-left: auto; 724 display: flex; 725 font-size: ${A}; 726 padding-left: ${be}; 727 background: none; 728 border: none; 729 cursor: pointer; 730 } 731 732 .profile-icon:hover { 733 box-shadow: none; 734 } 735 736 .logout-button { 737 margin-left: ${be}; 738 background-color: ${W}; 739 color: ${z}; 740 border-color: ${z}; 741 } 742 743 .logout-button-navbar { 744 margin-right: ${b}; 745 background-color: ${W}; 746 color: ${z}; 747 border-color: ${z}; 748 } 749 750 .hidden { 751 display: none !important; 752 } 753 754 .welcome-text { 755 margin-left: auto; 756 margin-right: 2%; 757 } 758 759 .welcome-text span { 760 color: ${ye}; 761 font-size: ${ve}; 762 } 763 764 @media screen and (max-width: 600px) { 765 .header { 766 box-shadow: none; 767 } 768 .ing-logo { 769 margin-left: -8%; 770 } 771 .welcome-text { 772 margin-right: 0px; 773 } 774 .welcome-text span { 775 font-size: ${we}; 776 } 777 .logout-button-navbar { 778 margin-right: 0; 779 } 780 781 .logout-button { 782 margin-left: ${be}; 783 } 784 } 785 786 @media (max-width: 960px) { 787 .profile-icon { 788 padding-left: ${q}; 789 } 790 } 791 `}static get localizeNamespaces(){return[{"ing-tr-feat-navbar":e=>{switch(e){case"tr":case"tr-TR":return import("./tr-67c6bf5f.js");case"en-GB":case"en-US":case"en":return import("./en-c6e0302d.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get scopedElements(){return{"ing-tr-profile-menu":Ce,"ing-button":D,"ing-icon":P}}static get properties(){return{showOptions:{type:Boolean},showLogoutButton:{type:Boolean},headerText:{type:String},fullName:{type:String,reflect:!0},profilePicture:{type:String,reflect:!0},changePicture:{type:Boolean}}}constructor(){super(),this.showOptions=!0,this.showLogoutButton=!1,window.addEventListener("vaadin-router-location-changed",e=>{this.headerText=e?.detail?.location?.route?.header?this.msgLit(`ing-tr-feat-navbar:${e?.detail?.location?.route?.header}`):""})}firstUpdated(){super.firstUpdated(),this.fullName="";const e=Zt("userInfo",!0);e&&(e.firstName&&e?.lastName&&(this.fullName=`${e.firstName} ${e.lastName}`),e.profilePicture?this.profilePicture=e.profilePicture:this.profilePicture="/banking/assets/profile.png")}connectedCallback(){super.connectedCallback(),window.addEventListener("profile-picture-loaded",e=>this.profilePictureLoaded(e)),window.addEventListener("user-info-loaded",e=>this.userInfoLoaded(e))}profilePictureLoaded(e){const{profilePicture:t}=e.detail;this.profilePicture=t||"/banking/assets/profile.png"}userInfoLoaded(e){this.fullName="";const{userInfo:t}=e.detail;t?.firstName&&t?.lastName&&(this.fullName=`${t.firstName} ${t.lastName}`)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("profile-picture-loaded",this.profilePictureLoaded),window.removeEventListener("user-info-loaded",this.userInfoLoaded)}route(e){p.navigate("profile-settings/sms-and-emails")}_onClickIngLogo(){Zt("isLoggedIn",!0)?p.navigate("dashboard"):p.navigate("login")}render(){return u` 792 <header class="header"> 793 <div class="header__content"> 794 <div class="ing-logo" @click=${this._onClickIngLogo} role="img" aria-label="ING"> 795 ${gs} 796 </div>
797 ${this.showOptions?"":u` 798 <div class="welcome-text"> 799 ${this.showLogoutButton?u` 800 <ing-button class="logout-button-navbar" font14 @click=${hs}> 801 ${this.msgLit("ing-tr-feat-navbar:LOGOUT_LABEL")} 802 </ing-button> 803 `:u` <span 804 >${this.headerText?this.headerText:this.msgLit("ing-tr-feat-navbar:WELCOME")}</span 805 >`} 806 </div> 807 `} 808 ${this.showOptions?u` 809 <div class="profile-menu"> 810 <ing-tr-profile-menu 811 .profilePicture=${this.profilePicture} 812 .profileName=${this.fullName} 813 ></ing-tr-profile-menu> 814 <ing-button 815 class="profile-icon" 816 role="button" 817 tabIndex="0" 818 aria-label="${this.msgLit("ing-tr-feat-navbar:notifications")}" 819 @click="${this.route}" 820 > 821 <ing-icon icon-id="ing:filledin-feedback:bell" class="icn-fill"></ing-icon> 822 </ing-button> 823 <ing-button class="logout-button" font14 @click=${hs}> 824 ${this.msgLit("ing-tr-feat-navbar:LOGOUT_LABEL")} 825 </ing-button> 826 </div> 827 `:""} 828 </div> 829 </header> 830 `}}const vs=m` 831 .list-unstyled { 832 margin: 0; 833 padding: 0; 834 list-style: none; 835 } 836`,ws=m` 837 a:not(.link-unstyled) { 838 text-decoration: none; 839 border-bottom: 1px solid; 840 color: ${z}; 841 border-bottom-color: ${z}; 842 } 843 844 a:not(.link-unstyled):visited { 845 color: ${re}; 846 border-bottom-color: ${re}; 847 } 848 849 a:not(.link-unstyled):hover { 850 color: ${z}; 851 border-bottom-color: ${z}; 852 background-color: ${xe}; 853 } 854 855 a:not(.link-unstyled):visited:hover { 856 color: ${re}; 857 border-bottom-color: ${re}; 858 background-color: ${ke}; 859 } 860 861 a:not(.link-unstyled):active { 862 color: ${le}; 863 border-bottom-color: transparent; 864 background-color: transparent; 865 } 866 867 a:not(.link-unstyled):visited:active { 868 color: ${re}; 869 border-bottom-color: transparent; 870 background-color: transparent; 871 } 872 873 a:not(.link-unstyled):focus { 874 outline: none; 875 border-bottom-color: transparent; 876 } 877 878 a:not(.link-unstyled):visited:focus { 879 outline: none; 880 border-bottom-color: transparent; 881 } 882 883 a.link-unstyled, 884 a.link-unstyled:visited, 885 a.link-unstyled:hover, 886 a.link-unstyled:visited:hover, 887 a.link-unstyled:active, 888 a.link-unstyled:visited:active { 889 border: 0; 890 color: inherit; 891 outline: none; 892 box-shadow: none; 893 background-color: inherit; 894 text-decoration: none; 895 } 896 897 a.focus-visible:focus, 898 a.focus-visible:visited:focus, 899 a.link-unstyled.focus-visible:focus, 900 a.link-unstyled.focus-visible:visited:focus { 901 border-radius: 4px; 902 box-shadow: 0 0 16px ${Ie}, 0 0 0 1px ${Ie}; 903 } 904`,Cs=m` 905 li a.link-unstyled { 906 display: flex; 907 } 908 909 li .nav-icon { 910 flex-shrink: 0; 911 fill: ${se}; 912 } 913 914 li a[aria-current='true'] { 915 font-weight: bold; 916 } 917 918 nav[mode='tabs'] a[aria-current='true'] > .nav-icon { 919 fill: ${se}; 920 } 921 922 /* 923 * Apply mode to nav and not :host([mode=""]) because that does not work in 924 * Safari 10 925 */ 926 927 /* List styles */ 928 nav[mode='list'] > ul { 929 margin: 0 0 0 -${N}; 930 } 931 932 nav[mode='list'] li a.link-unstyled { 933 position: relative; 934 border-radius: ${L}; 935 align-items: center; 936 padding: ${be} ${N} ${be} 0; 937 } 938 939 nav[mode='list'] li a.link-unstyled:hover { 940 background-color: ${W}; 941 } 942 943 nav[mode='list'] li a.link-unstyled .nav-icon { 944 height: ${A}; 945 width: ${A}; 946 margin: 0 ${q}; 947 } 948 949 nav[mode='list'] li .nav-button .nav-icon { 950 height: ${A}; 951 width: ${A}; 952 display: flex; 953 margin: 0 ${q}; 954 flex-shrink: 0; 955 } 956 957 nav[mode='list'] li > :first-child { 958 position: relative; 959 align-items: center; 960 padding: ${be} ${N} ${be} 0; 961 border-radius: ${L}; 962 } 963 964 nav[mode='list'] > ul > li > ul > li > :first-child { 965 height: ${y}; 966 padding: 10px ${N}; 967 } 968 969 nav[mode='list'] li > :first-child:hover { 970 background-color: ${W}; 971 } 972 973 nav[mode='list'] li a[aria-current='true']::before { 974 position: absolute; 975 top: 0; 976 left: 0; 977 content: ''; 978 width: ${L}; 979 height: 100%; 980 background-color: ${se}; 981 } 982 983 nav[mode='list'] ul li ul.list-unstyled { 984 margin-left: ${$e}; 985 } 986 987 nav[mode='list'] ul li a[bullet] { 988 display: list-item; 989 list-style-type: disc; 990 list-style-position: inside; 991 } 992 993 nav[mode='list'] > ul > li > ul { 994 ${V()} 995 } 996 997 /* Tabs styles */ 998 nav[mode='tabs'] { 999 position: fixed; 1000 bottom: 0; 1001 left: 0; 1002 right: 0; 1003 height: ${Te}; 1004 background-color: ${W}; 1005 border-top: 1px solid ${K}; 1006 z-index: 20; 1007 } 1008 1009 nav[mode='tabs'] > ul { 1010 height: 100%; 1011 } 1012 1013 nav[mode='tabs'] > ul { 1014 display: flex; 1015 justify-content: space-around; 1016 height: 100%; 1017 } 1018 1019 nav[mode='tabs'] > ul li { 1020 width: 100%; 1021 } 1022 1023 nav[mode='tabs'] li a { 1024 flex-direction: column; 1025 justify-content: center;
1026 align-items: center; 1027 height: 100%; 1028 ${je()} 1029 } 1030 1031 nav[mode='tabs'] li > .action-menu > button > span { 1032 flex-direction: column; 1033 justify-content: center; 1034 align-items: center; 1035 ${je()} 1036 } 1037 1038 nav[mode='tabs'] li a[aria-current='true'] { 1039 ${_e()} 1040 } 1041 1042 nav[mode='tabs'] li > button > span { 1043 ${je()} 1044 } 1045 1046 nav[mode='tabs'] .nav-icon { 1047 width: ${y}; 1048 height: ${y}; 1049 margin-bottom: 6px; 1050 fill: ${U}; 1051 } 1052 1053 nav[mode='tabs'] li > * { 1054 flex-direction: column; 1055 justify-content: center; 1056 align-items: center; 1057 height: 100%; 1058 font-size: ${N}; 1059 line-height: 1; 1060 width: 100%; 1061 } 1062 1063 nav[mode='tabs'] li > .action-menu > * { 1064 flex-direction: column; 1065 justify-content: center; 1066 align-items: center; 1067 height: 100%; 1068 font-size: ${N}; 1069 line-height: 1; 1070 width: 100%; 1071 display: flex; 1072 } 1073 1074 nav[mode='tabs'] li ing-icon.nav-icon { 1075 width: ${y}; 1076 height: ${y}; 1077 margin-bottom: 6px; 1078 fill: ${U}; 1079 } 1080 1081 .ing-ow-menu-button > * { 1082 position: relative; 1083 } 1084 1085 .sr-only { 1086 ${Se()} 1087 } 1088 1089 [hidden], 1090 .hidden { 1091 height: 0; 1092 overflow: hidden; 1093 } 1094 1095 .nav-button { 1096 color: inherit; 1097 background-color: transparent; 1098 text-align: left; 1099 white-space: normal; 1100 user-select: none; 1101 -webkit-tap-highlight-color: transparent; 1102 margin: 0px; 1103 border-width: 0px; 1104 outline: 0px; 1105 padding: 0px; 1106 overflow: visible; 1107 border-radius: ${L}; 1108 width: 100%; 1109 ${Ee()} 1110 } 1111 1112 .nav-button > * { 1113 position: relative; 1114 } 1115 1116 li > :first-child { 1117 display: flex; 1118 } 1119 1120 .nav-button[aria-expanded='true'] .nav-button-chevron { 1121 transform: rotate(180deg); 1122 } 1123 1124 .nav-button .nav-button-chevron { 1125 width: ${N}; 1126 height: ${N}; 1127 fill: ${U}; 1128 margin-left: ${q}; 1129 flex-shrink: 0; 1130 transition: transform 0.2s ease 0s; 1131 align-self: center; 1132 margin-left: ${q}; 1133 } 1134 1135 .sub-items-list { 1136 height: var(--sub-item-list-height); 1137 transition: height 300ms ease-out; 1138 overflow: hidden; 1139 } 1140`,xs=960;const ks=m` 1141 :host { 1142 position: relative; 1143 display: block; 1144 box-sizing: border-box; 1145 user-select: none; 1146 z-index: 9; 1147 -webkit-tap-highlight-color: transparent; 1148 } 1149 1150 :host([mode='tabs']) { 1151 bottom: 0px; 1152 left: 0px; 1153 right: 0px; 1154 } 1155 1156 ${vs} 1157 ${ws} 1158 ${Cs} /* Generic styles */ 1159`;class Is extends(I(Ai($))){static get scopedElements(){return{"ing-icon":P,"ing-tr-action-menu":Ae}}static get localeConfig(){return{dir:"main-nav",namespace:"ing-tr-feat-main-nav"}}static get properties(){return{items:{reflect:!1},currentPage:{reflect:!1},mode:{type:"String",attribute:"mode",reflect:!0},showOthers:{reflect:!1},maxMobileItemCount:{reflect:!1},mobileOthersItem:{},expandedItems:{type:Object}}}static get styles(){return ks}constructor(){super(),this.expandedItems={},this.items=[],this.currentPage=void 0,this.mode="list",this.mobileOthersItem={id:"mobileothers",icon:"ing:outline-navigation:menu",href:"mobileothers"},function(e,t){function n(e){t(e.matches)}const i=window.matchMedia(e);i.addListener(n),n(i)}(`(max-width: ${xs}px)`,e=>{this.mode=e?"tabs":"list"})}shouldShowItem(e){const t="individualRetirementList"===e.id,n=k.locale.startsWith("tr");return!(t&&!n)}getSubItemsForResponsive=e=>{const t=[];for(const n of e){if(!this.shouldShowItem(n))continue;const e=this.getResourceValue(`menuLabel.${n.id}`);t.push({title:e,url:n.href,actionType:"action-menu"})}return t};render(){return u` 1160 <nav mode="${this.mode}" role="navigation" aria-labelledby="mainNavHeading"> 1161 <h2 id="mainNavHeading" class="sr-only"> 1162 ${this.msgLit("ing-tr-feat-main-nav:NAVIGATION_HEADING")} 1163 </h2> 1164 1165 <ul class="list-unstyled" aria-labelledby="mainNavHeading"> 1166 ${this.items&&this.getItems().map(e=>(void 0!==this.expandedItems[e.id]&&null!==this.expandedItems[e.id]||(this.expandedItems[e.id]=!0),u` 1167 <li> 1168 ${this.itemTemplate(e,e.id===this.currentPage)} 1169 ${e.subItems&&"list"===this.mode?u` ${this.renderSubItems(e.subItems,e.id)} `:""} 1170 </li> 1171 `))} 1172 ${"tabs"===this.mode?u` 1173 <li> 1174 ${this.itemTemplate(this.mobileOthersItem,this.mobileOthersItem.id===this.currentPage)} 1175 </li> 1176 `:""} 1177 </ul> 1178 </nav> 1179 `}getItems(){return"tabs"===this.mode?this.items.filter(e=>
1179e.order<=this.maxMobileItemCount):this.items}itemTemplate(e,t,n){if(!this.shouldShowItem(e))return u``;if(e.mobileonly&&"list"===this.mode)return u``;const i=this.expandedItems[e.id],s=this.getResourceValue(`menuLabel.${e.id}`);return u` 1180 ${e.subItems?"":u` 1181 <a 1182 class="link-unstyled font-md" 1183 aria-current="${t}" 1184 href="${e.href}" 1185 ?bullet="${e.actionItem}" 1186 > 1187 ${n?"":u` 1188 <ing-icon 1189 icon-id="${e.icon}" 1190 ?hidden="${!e.icon}" 1191 class="nav-icon" 1192 ></ing-icon> 1193 `} 1194 <span>${s}</span> 1195 <span class="sr-only" ?hidden="${!t}" 1196 >${this.msgLit("ing-tr-feat-main-nav:CURRENT_PAGE")}</span 1197 > 1198 </a> 1199 `} 1200 ${e.subItems&&"list"===this.mode?u` 1201 <button 1202 class="nav-button" 1203 @click="${t=>this.toggleSubItems(e.id)}" 1204 .ariaExpanded="${i}" 1205 > 1206 <ing-icon icon-id="${e.icon}" ?hidden="${!e.icon}" class="nav-icon"></ing-icon> 1207 <span>${s}</span> 1208 <ing-icon 1209 icon-id="ing:filledin-arrows:chevronUp" 1210 class="nav-button-chevron" 1211 ></ing-icon> 1212 </button> 1213 `:""} 1214 ${e.subItems&&"tabs"===this.mode?u` 1215 <ing-tr-action-menu 1216 class="action-menu" 1217 .actionMenuData=${this.getSubItemsForResponsive(e.subItems)} 1218 > 1219 <button class="nav-button" .ariaExpanded="${i}" slot="invoker"> 1220 <ing-icon 1221 icon-id="${e.icon}" 1222 ?hidden="${!e.icon}" 1223 class="nav-icon" 1224 ></ing-icon> 1225 <span>${s}</span> 1226 </button></ing-tr-action-menu 1227 > 1228 `:""} 1229 `}renderSubItems(e,t){const n=this.expandedItems[t],i=n?"":Le({height:"0px"});return u` 1230 <ul 1231 class="list-unstyled sub-items-list" 1232 style=${i} 1233 expand-collapse-state=${n?"expanded":"closed"} 1234 > 1235 ${e.map(e=>u` <li>${this.itemTemplate(e,e.id===this.currentPage,!0)}</li> `)} 1236 </ul> 1237 `}toggleSubItems(e){this.expandedItems[e]=!this.expandedItems[e],this.requestUpdate()}}class $s extends(x(I($))){static get styles(){return m` 1238 .breadcrumb-container { 1239 width: 100%; 1240 padding: ${N}; 1241 display: flex; 1242 align-items: center; 1243 gap: ${L}; 1244 overflow: hidden; 1245 white-space: nowrap; 1246 box-sizing: border-box; 1247 } 1248 1249 .breadcrumb-item:first-child { 1250 display: inline-flex; 1251 width: ${Pe}; 1252 height: ${Pe}; 1253 flex-shrink: 0; 1254 } 1255 1256 .breadcrumb-item:first-child > ing-icon { 1257 width: 100%; 1258 height: 100%; 1259 object-fit: cover; 1260 fill: ${De}; 1261 } 1262 1263 .breadcrumb-separator { 1264 fill: ${De}; 1265 } 1266 1267 .breadcrumb-item { 1268 display: inline-block; 1269 min-width: 0; 1270 flex-shrink: 2; 1271 text-decoration: none; 1272 text-overflow: ellipsis; 1273 overflow: hidden; 1274 white-space: nowrap; 1275 color: ${De}; 1276 ${V()} 1277 cursor: pointer; 1278 } 1279 1280 .breadcrumb-item:last-child { 1281 color: ${U}; 1282 pointer-events: none; 1283 cursor: default; 1284 } 1285 `}static get properties(){return{breadcrumbList:{type:Array}}}static get localizeNamespaces(){return[{"ing-tr-feat-breadcrumb":e=>{switch(e){case"en-GB":case"en-EN":case"en":case"en-US":return import("./en-07d1a3ec.js");default:return import("./tr-cc953da7.js")}}},...super.localizeNamespaces]}static get scopedElements(){return{"ing-icon":P}}getPathWithParams(e){return e.routeParams?Object.entries(e.routeParams).reduce((e,[t,n])=>e.replace(`:${t}?`,n).replace(`:${t}`,n),`./${e.routePath}`):`./${e.routePath}`}renderBreadcrumbItem(e,t){return t===this.breadcrumbList.length-1?u`<div class="breadcrumb-item" aria-current="page"> 1286 <span>${this.msgLit(`ing-tr-feat-breadcrumb:${e.routeName}`)}</span> 1287 </div>`:u`<div 1288 class="breadcrumb-item" 1289 @click="${()=>p.navigate(this.getPathWithParams(e))}" 1290 >
1291 <span>${this.msgLit(`ing-tr-feat-breadcrumb:${e.routeName}`)}</span> 1292 </div>`}render(){return u`<div class="breadcrumb-container" aria-label="breadcrumb"> 1293 <div class="breadcrumb-item" @click="${()=>p.navigate("dashboard")}"> 1294 <ing-icon 1295 icon-id="ing:filledin-savings_goals:home" 1296 role="img" 1297 aria-label="${this.msgLit("ing-tr-feat-breadcrumb:homepage")}" 1298 ></ing-icon> 1299 </div> 1300 ${this.breadcrumbList?.map((e,t)=>u` 1301 <ing-icon 1302 class="breadcrumb-separator" 1303 icon-id="ing:outline-arrows:chevronRight" 1304 aria-hidden="true" 1305 ></ing-icon> 1306 ${this.renderBreadcrumbItem(e,t)} 1307 `)} 1308 </div>`}}const Ts=m` 1309 :host { 1310 display: block; 1311 } 1312 .timeout-dialog-header { 1313 ${Re()}; 1314 } 1315 .timeout-dialog-content-container { 1316 max-width: 448px; 1317 } 1318 1319 .timeout-dialog-content { 1320 ${Ee()}; 1321 } 1322 .timeout-dialog-button-container { 1323 display: flex; 1324 flex-flow: row nowrap; 1325 justify-content: flex-end; 1326 margin: 0px ${q}; 1327 ${q}; 1328 } 1329 1330 .timeout-dialog-button-container-item { 1331 display: flex; 1332 min-height: 44px; 1333 margin: 0px ${L}; 1334 } 1335 #timeout-dialog-button-primary { 1336 flex-grow: 1; 1337 } 1338 1339 #timeout-dialog-button-secondary { 1340 flex-grow: 1; 1341 } 1342 1343 @media only screen and (max-width: 614px) { 1344 .timeout-dialog-content-container { 1345 min-width: auto; 1346 } 1347 1348 .timeout-dialog-button-container { 1349 display: flex; 1350 flex-flow: column-reverse nowrap; 1351 justify-content: flex-end; 1352 margin: 0px; 1353 } 1354 1355 .timeout-dialog-button-container-item:last-child { 1356 display: flex; 1357 min-height: 44px; 1358 margin-bottom: ${N}; 1359 } 1360 } 1361 ${Ei} 1362`;class js extends(Ai(I($))){static get styles(){return[Ts]}static get localeConfig(){return{namespace:"ing-tr-timeout-dialog",dir:"timeout-dialog"}}constructor(){super(),this.extendCounter=0,e.onStateChange(this.onAppStateChanged.bind(this),t.TIMEOUT_STATE_MODEL_ID),this.initTimeout()}initTimeout(){const n=e.getFormData(t.TIMEOUT_STATE_MODEL_ID)?.timeoutProcess;e.updateItem({timeoutProcess:n+1},t.TIMEOUT_STATE_MODEL_ID)}onAppStateChanged(){const n=e.getFormData(t.TIMEOUT_STATE_MODEL_ID),i=n?.timeoutProcess;i>=0&&(this.extendCounter<t.EXTEND_LOGIN_REPEAT_MAX_NUMBER?this.__startTimeoutCounter():this.__triggerCountDown(t.LOGIN_HOLD_DURATION,this.logout.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.logoutTimeoutId)}static get properties(){return{counterTriggered:{type:Boolean},extendCounter:{type:Number}}}static get scopedElements(){return{"ing-button":D,"ing-tr-counter":Oe,"ing-tr-dialog":X}}__startTimeoutCounter(){const e=t.LOGIN_HOLD_DURATION-t.EXTEND_LOGIN_DIALOG_DURATION;this.__triggerCountDown(e,this.__startLogoutCounter.bind(this))}__startLogoutCounter(){Zt("isLoggedIn",!0)&&(this.counterTriggered=!0,this.__triggerCountDown(t.EXTEND_LOGIN_DIALOG_DURATION,this.logout.bind(this)))}__triggerCountDown(e,t){const n=6e4*e;clearTimeout(this.logoutTimeoutId),this.logoutTimeoutId=setTimeout(()=>{"function"==typeof t&&t()},n)}extendSuccess(){this.counterTriggered=!1}logout(){hs(),clearTimeout(this.logoutTimeoutId)}onLogoutClicked(){this.counterTriggered=!1,this.logout()}extendDuration(){clearTimeout(this.logoutTimeoutId),this.extendCounter++,$i({scope:this,uri:"activation/session/refresh/v1",isProcessFetch:!0,processMessage:this.getResourceValue("sessionRefreshing")}).then(e=>{e.header.success?this.extendSuccess():this.logout()}).catch(e=>{this.logout()})}onBeforeClose(){this.counterTriggered=!1}render(){const e=` ${this.getResourceValue("content")}`,n=this.counterTriggered?u` <div class="f-row g-10"> 1363 ${this.getResourceValue("remainingTime")}<ing-tr-counter 1364 duration="${t.EXTEND_LOGIN_DIALOG_DURATION}" 1365 ></ing-tr-counter> 1366 </div>`:"",i=u` 1367 <div class="timeout-dialog-button-container"> 1368 <div class="timeout-dialog-button-container-item"> 1369 <ing-button 1370 id="timeout-dialog-button-primary" 1371 outline 1372 orange 1373 @click="${this.onLogoutClicked}" 1374 >${this.getResourceValue("logout")}</ing-button 1375 > 1376 </div> 1377 1378 <div class="timeout-dialog-button-container-item"> 1379 <ing-button id="timeout-dialog-button-secondary" @click="${this.extendDuration}" 1380 >${this.getResourceValue("extendDuration")}</ing-button 1381 > 1382 </div> 1383 </div> 1384 `;return u` 1385 <ing-tr-dialog 1386 ?opened="${this.counterTriggered}" 1387 @before-closed=${this.onBeforeClose} 1388 variation="simple" 1389 noPadding 1390 .hidesOnEsc=${!1} 1391 > 1392 <div slot="header" class="timeout-dialog-header">${this.getResourceValue("title")}</div> 1393 <div slot="content" id="timeout-dialog" noPadding> 1394 <div class="timeout-dialog-content-container"> 1395 <div class="timeout-dialog-content f-column ai-s g-10"> 1396 ${e}${n} 1397 </div> 1398 </div> 1399 </div> 1400 <div slot="footer">${i}</div> 1401 </ing-tr-dialog> 1402 `}}class _s extends(Ai(I($))){static get styles(){return m` 1403 :host { 1404 display: block; 1405 } 1406 ${Ei} 1407 `}static get localeConfig(){return{namespace:"ing-tr-question",dir:"question",isContainer:!0}}firstUpdated(e){super.firstUpdated(e),this.initAnswers()}initAnswers(){i(this.answer)||this.setAnswers(this.answer)}static get properties(){return{questionText:{type:String},answer:{type:String},answerInfo:{type:Object},readonly:{type:Boolean}}}get questionId(){return`${this.answerInfo.questionNo}${this.answerInfo.subQuestionNo}`}get currentAnswers(){return Zt("answers")?.filter(e=>e.questionNo!==this.answerInfo?.questionNo||e.subQuestionNo!==this.answerInfo?.subQuestionNo)||[]}get currentAnswersOfStep(){return Zt("displayAnswers")?.filter(e=>e.questionNo!==this.answerInfo?.questionNo||e.subQuestionNo!==this.answerInfo?.subQuestionNo)||[]}setAnswers(e){Jt("answers",[...this.currentAnswers,{...this.answerInfo,answer:e}]),Jt("displayAnswers",[...this.currentAnswersOfStep,{...this.answerInfo,answer:e}])}onAnswerChanged(e){e.detail.isTriggeredByUser&&!this.readonly&&this.setAnswers(e.target.modelValue)}}const Ss="INTEGER";class Es extends _s{static get styles(){return m` 1408 :host { 1409 display: block; 1410 } 1411 .text-question { 1412 min-width: ${g}; 1413 } 1414 `}static get scopedElements(){return{"ing-tr-input":Fe}}preventSpace(e){i(e.currentTarget.modelValue)&&" "===e.key&&e.preventDefault()}render(){const e=this.textRules?.inputType,t=this.textRules?.maxTextCount;return u`<ing-tr-input 1415 id=${this.questionId} 1416 class="text-question" 1417 label="${this.questionText}" 1418 ?disabled=${this.readonly} 1419 .modelValue=${this.answer} 1420 .maxLength=${e===Ss?t:""} 1421 type=${e===Ss?"number":""} 1422 @keypress=${this.preventSpace} 1423 @model-value-changed=${this.onAnswerChanged} 1424 .validators=${[new Me]} 1425 ></ing-tr-input>`}}class As extends _s{static get styles(){return m` 1426 :host { 1427 display: block; 1428 } 1429 `}static get properties(){return{answers:{type:Array},disabled:{type:Boolean}}}static get scopedElements(){return{"ing-radio-group":Ne,"ing-radio":Be}}render(){const e=this.answers.map(({value:e,text:t})=>u`<ing-radio 1430 label="${t}" 1431 ?disabled=${this.disabled||this.readonly} 1432 .choiceValue=${e} 1433 ></ing-radio>`);return u`<ing-radio-group 1434 id=${this.questionId} 1435 .modelValue=${this.answer} 1436 @model-value-changed=${e=>this.onAnswerChanged(e)} 1437 label="${this.questionText}" 1438 > 1439 ${e} 1440 </ing-radio-group>`}}class Ls extends Ve{static get properties(){return{autocomplete:{type:String}}}constructor(){super(),this.autocomplete=void 0}get _inputNode(){return Array.from(this.children).find(e=>"input"===e.slot)}}class Ps extends Ls{get operationMode(){return"select"}connectedCallback(){super.connectedCallback(),this._inputNode.addEventListener("change",this._proxyChangeEvent),this.__selectObserver=new MutationObserver(()=>{this._syncValueUpwards(),this._calculateValues({source:"model"})}),this.__selectObserver.observe(this._inputNode,{attributes:!0,childList:!0,subtree:!0})}updated(e){super.updated(e),e.has("disabled")&&(this._inputNode.disabled=this.disabled,this.validate()),e.has("name")&&(this._inputNode.name=this.name),e.has("autocomplete")&&(this._inputNode.autocomplete=this.autocomplete)}disconnectedCallback(){super.disconnectedCallback(),this._inputNode.removeEventListener("change",this._proxyChangeEvent),this.__selectObserver?.disconnect()}formatter(e){const t=Array.from(this._inputNode.options).find(t=>t.value===e);return t?t.text:""}_reflectBackFormattedValueToUser(){this._reflectBackOn()&&(this.value=void 0!==this.modelValue?this.modelValue:"")}_proxyChangeEvent(){this.dispatchEvent(new CustomEvent("user-input-changed",{bubbles:!0,composed:!0}))}}class Ds extends(Ue(Ps)){static get styles(){return[super.styles,m` 1441 /************************ 1442 {block} .form-field 1443 ********************/ 1444 .input-group__container > .input-group__input ::slotted(.form-control) { 1445 -webkit-appearance: none; 1446 -moz-appearance: none; 1447 appearance: none; 1448 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath style='fill: %23333333;' d='M0 4l7.292 7.69c.195.207.452.31.708.31a.972.972 0 0 0 .708-.31L16 4H0z'/%3E%3C/svg%3E"); 1449 background-repeat: no-repeat; 1450 background-color: white; 1451 background-position: right 12px top 8px; 1452 background-size: 16px 22px; 1453 padding: ${q} 44px ${q} ${be}; 1454 } 1455 1456 :host([disabled]) .input-group__container > .input-group__input ::slotted(.form-control) { 1457 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath style='fill: %23adadad;' d='M0 4l7.292 7.69c.195.207.452.31.708.31a.972.972 0 0 0 .708-.31L16 4H0z'/%3E%3C/svg%3E"); 1458 } 1459 `]}}class Rs extends _s{static get styles(){return m` 1460 :host { 1461 display: block; 1462 } 1463 .select-question { 1464 max-width: ${g}; 1465 } 1466 `}static get properties(){return{answers:{type:Array}}}static get scopedElements(){return{"ing-select":Ds}}render(){const e=this.answers.map(({value:e,text:t})=>u`<option value="${e}">${t}</option>`);return u` 1467 <div>${this.questionText}</div> 1468 <ing-select 1469 label-sr-only 1470 id=${this.questionId} 1471 class="select-question" 1472 .modelValue=${this.answer} 1473 @model-value-changed=${e=>this.onAnswerChanged(e)} 1474 ?disabled=${this.readonly} 1475 > 1476 <select slot="input"> 1477 <option value="">${this.getResourceValue("select")}</option> 1478 ${e} 1479 </select> 1480 </ing-select> 1481 `}}class Os extends(I($)){static get styles(){return m` 1482 :host { 1483 display: block; 1484 } 1485 .header { 1486 display: flex; 1487 flex-flow: column; 1488 gap: ${H}; 1489 margin-bottom: ${N}; 1490 } 1491 .questions-title { 1492 ${B()} 1493 } 1494 1495 .questions-information { 1496 color: ${U}; 1497 ${V()}; 1498 } 1499 ${Ei} 1500 `}static get properties(){return{_displayQuestions:{type:Map},disabledQuestionInfos:{type:Array},questionTitle:{type:String},information:{type:String},questions:{type:Array},answers:{type:Array},currentStep:{type:Number},readonly:{type:Boolean}}}static get scopedElements(){return{"ing-tr-question-radio":As,"ing-tr-question-text":Es,"ing-tr-question-select":Rs}}constructor(){super(),this.readonly=!1,this._displayQuestions=new Map,tn(this,{answers:"answers"},!0)}shouldUpdate(e){if(i(this.currentStep)||i(this.questions)||this._displayQuestions.set(this.currentStep,{list:this.questions,title:this.questionTitle,information:this.information,display:!0}),e.has("currentStep")){const t=e.get("currentStep");if(!i(t)){const e=this._displayQuestions.get(t);this._displayQuestions.set(t,{...e,display:!1})}this._displayQuestions.set(this.currentStep,{list:this.questions,title:this.questionTitle,information:this.information,display:!0})}return!i(this.currentStep)&&this._displayQuestions.size>0}questionTextTemplate({answer:e,answerInfo:t,questionText:n,textRules:i}){return u`<ing-tr-question-text 1501 ?readonly=${this.readonly} 1502 .answer=${e} 1503 .answerInfo=${t} 1504 .questionText=${n} 1505 .textRules=${i} 1506 ></ing-tr-question-text>`}questionRadioTemplate({answer:e,answerInfo:t,questionText:n,answers:i}){let s=!1;return this.disabledQuestionInfos?.includes(t)&&(s=!0),u`<ing-tr-question-radio 1507 ?disabled=${s} 1508 ?readonly=${this.readonly} 1509 .answer=${e} 1510 .answerInfo=${t} 1511 .questionText=${n} 1512 .answers=${i} 1513 ></ing-tr-question-radio>`}questionSelectTemplate({answer:e,answerInfo:t,questionText:n,answers:i}){return u`<ing-tr-question-select 1514 ?readonly=${this.readonly} 1515 .answer=${e} 1516 .answerInfo=${t} 1517 .questionText=${n} 1518 .answers=${i} 1519 ></ing-tr-question-select>`}getLatestAnswer(e,t){const n=this.answers?.find(t=>t?.questionNo===e?.questionNo&&t?.subQuestionNo===e?.subQuestionNo);return n?.answer??t}allQuestionsTemplate(e){const t={TEXT:this.questionTextTemplate,RADIOBUTTON:this.questionRadioTemplate,COMBOBOX:this.questionSelectTemplate},n=({questionText:e,subQuestions:t})=>u`${e} 1520 <div class="f-row jc-s ai-s g-10">${this.allQuestionsTemplate(t)}
1520</div>`;return e.map(({answerType:e,questionText:s,answer:a,answers:r,subQuestions:o,answerInfo:c,disabled:l,textRules:d})=>{if(!i(o))return n({answerType:e,questionText:s,subQuestions:o});const p={answerInfo:c,questionText:s,answer:this.getLatestAnswer(c,a),answers:r,disabled:l,textRules:d};return u`<div> 1521 ${t[e].call(this,p)} 1522 <slot name="${c.questionNo}.${c.subQuestionNo}"></slot> 1523 </div>`})}renderHeader({title:e,information:t}){return i(e)&&i(t)?"":u` <div class="header"> 1524 ${this.renderTitle(e)}${this.renderInformation(t)} 1525 </div>`}renderTitle(e){return i(e)?"":u`<div class="questions-title">${e}</div>`}renderInformation(e){return i(e)?"":u`<div class="questions-information">${e}</div>`}renderQuestions({display:e,list:t,title:n,information:s}){if(i(t))return"";return u`<div style=${Le(e?{}:{display:"none"})}> 1526 ${this.renderHeader({title:n,information:s})} ${this.allQuestionsTemplate(t)} 1527 </div>`}render(){return u`<div class="f-column jc-s ai-s g-5"> 1528 ${Array.from(this._displayQuestions,([e,t])=>this.renderQuestions(t))} 1529 </div>`}}class Fs extends(Ai(I($))){static ERROR_CODES={MULTIPLE_LOGIN:23500,DAILY_KMH_LIMIT_EXCEEDS:230062,DAILY_BANK_LIMIT_EXCEEDS:300503,DAILY_LIMIT_EXCEEDS:300521,HOURLY_LIMIT_EXCEEDS:300599};static get styles(){return m` 1530 :host { 1531 display: block; 1532 } 1533 `}static get localeConfig(){return{namespace:"ing-tr-banking-common",dir:"common",isContainer:!0}}static get properties(){return{apiMessage:{type:String},hashCallError:{type:Boolean}}}static get scopedElements(){return{"ing-tr-warning-dialog":T}}constructor(){super(),tn(this,{apiMessage:"apiMessage",hashCallError:"hashCallError"})}get defaultDialogConfig(){return{primaryButtonTitle:this.getResourceValue("okay"),onClickedPrimaryButton:this.onMessageDialogClose}}get routeInfo(){return Zt("routeInfo",!0)}get dialogConfigForHashControl(){return{primaryButtonTitle:this.getResourceValue("tryAgain"),onClickedPrimaryButton:()=>{this.onMessageDialogClose(),p.navigate(this.routeInfo?.flowInitialPath),Jt("hashCallError",!1,!0)},secondaryButtonTitle:this.getResourceValue("returnToHome"),onClickedSecondaryButton:()=>{this.onMessageDialogClose(),p.navigate(this.routeInfo?.flowMainPath),Jt("hashCallError",!1,!0)}}}get dialogConfigForLimitExceeds(){return{header:this.getResourceValue("warning"),primaryButtonTitle:this.getResourceValue("limitSettings"),onClickedPrimaryButton:()=>{this.onMessageDialogClose(),p.navigate("profile-settings/limit-settings/list")},secondaryButtonTitle:this.getResourceValue("cancel"),onClickedSecondaryButton:()=>{this.onMessageDialogClose()}}}get dialogConfigForMultipleLogin(){return{primaryButtonTitle:this.getResourceValue("okay"),onClickedPrimaryButton:()=>{this.onMessageDialogClose(),hs()}}}get dialogConfig(){return this.hashCallError?this.dialogConfigForHashControl:this.getDialogConfigByCode()}getDialogConfigByCode(){const e=this.apiMessage?.code;return this.dialogConfigMap[e]||this.defaultDialogConfig}get dialogConfigMap(){const e=Fs.ERROR_CODES;return{[e.MULTIPLE_LOGIN]:this.dialogConfigForMultipleLogin,[e.DAILY_KMH_LIMIT_EXCEEDS]:this.dialogConfigForLimitExceeds,[e.DAILY_BANK_LIMIT_EXCEEDS]:this.dialogConfigForLimitExceeds,[e.DAILY_LIMIT_EXCEEDS]:this.dialogConfigForLimitExceeds,[e.HOURLY_LIMIT_EXCEEDS]:this.dialogConfigForLimitExceeds}}get isApiMessageActive(){return!!this.apiMessage?.code}get header(){return this.dialogConfig?.header||this.getResourceValue("error")}get message(){return this.apiMessage?.text||this.apiMessage?.additionalInfo||this.getResourceValue("defaultApiErrorMessage")}onMessageDialogClose(){Jt("apiMessage",{},!0)}render(){return u`<ing-tr-warning-dialog 1534 ?opened="${this.isApiMessageActive}" 1535 .header="${this.header}" 1536 .message=${this.message} 1537 .primaryButtonTitle=${this.dialogConfig?.primaryButtonTitle} 1538 @onClickedPrimaryButton="${this.dialogConfig?.onClickedPrimaryButton}" 1539 .secondaryButtonTitle=${this.dialogConfig?.secondaryButtonTitle} 1540 @onClickedSecondaryButton="${this.dialogConfig?.onClickedSecondaryButton}" 1541 > 1542 </ing-tr-warning-dialog>`}}class Ms extends(Ai(I($))){static get styles(){return m` 1543 :host { 1544 display: block; 1545 } 1546 `}static get localeConfig(){return{namespace:"ing-tr-banking-common",dir:"common",isContainer:!0}}static get properties(){return{processMessage:{type:String},isProcessFetchLoading:{type:Number}}}static get scopedElements(){return{"ing-tr-spinner-dialog":ze}}constructor(){super(),tn(this,{processMessage:"processMessage",isProcessFetchLoading:"isProcessFetchLoading"})}get isProcessLoading(){return this.isProcessFetchLoading>0}get defaultMessage(){return this.getResourceValue("processPending")}get _processMessage(){return i(this.processMessage)?this.defaultMessage:this.processMessage}render(){return u` <ing-tr-spinner-dialog 1547 ?dialogOpened="${this.isProcessLoading}" 1548 message=${this._processMessage} 1549 > 1550 </ing-tr-spinner-dialog>`}}class Ns extends(Ai(I($))){static get styles(){return m` 1551 :host { 1552 display: block; 1553 } 1554 `}static get localeConfig(){return{namespace:"ing-tr-banking-common",dir:"common",isContainer:!0}}static get properties(){return{forceUpdate:{type:Boolean}}}static get scopedElements(){return{"ing-tr-warning-dialog":T}}constructor(){super(),this.forceUpdate=!1,tn(this,{forceUpdate:"forceUpdate"})}get header(){return this.getResourceValue("warning")}get message(){return this.getResourceValue("forceUpdateText")}forceRefresh(){Jt("forceUpdate",!1,!0),window.location.reload()}render(){return u`<ing-tr-warning-dialog 1555 ?opened="${this.forceUpdate}" 1556 .header="${this.header}" 1557 .message=${this.message} 1558 .primaryButtonTitle=${this.getResourceValue("okay")} 1559 @onClickedPrimaryButton="${this.forceRefresh}"
1560 ></ing-tr-warning-dialog>`}}const Bs=m` 1561 :host { 1562 display: block; 1563 } 1564`;class Vs extends(x(I($))){static get styles(){return[Bs]}get popupStyles(){return m` 1565 .otp-dialog { 1566 min-width: ${qe}; 1567 } 1568 1569 @media (max-width: 600px) { 1570 .otp-dialog { 1571 min-width: auto; 1572 } 1573 } 1574 `}static get localizeNamespaces(){return[{"ing-tr-txn-otp-banking-input":e=>{switch(e){case"en":case"en-EN":case"en-GB":case"en-US":return import("./en-192324b3.js");default:return import("./tr-463eb50c.js")}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}getResourceValue(e){return this.msgLit(`ing-tr-txn-otp-banking-input:${e}`)}static get scopedElements(){return{"ing-tr-otp-input":He,"ing-tr-dialog":X}}static get properties(){return{txnOtpConfig:{type:Object},isOtpLoading:{type:Boolean},isOtpRequired:{type:Boolean},isOtpInputDisabled:{type:Boolean},isOtpLinkActionEnabled:{type:Boolean},isSubmitButtonEnabled:{type:Boolean}}}constructor(){super(),this.txnOtpConfig=Zt("txnOtpConfig"),this.isOtpRequired=Zt("otpRequired",!0),this.isOtpLinkActionEnabled=!0}
1574dispatchClosePopup(e){e?.target?.dispatchEvent(new Event("close-dialog",{bubbles:!0}))}removeOtpFromState(){Jt("otpRequired",!1,!0),Jt("txnOtpConfig",null)}otpDialogBeforeClosed(e){this.removeOtpFromState(),this.dispatchClosePopup(e)}setPopupHeaderText(e,t){t?.detail?.component&&(t.detail.component.headerText=e)}otpModelValueChanged(e){this.otp=e?.detail?.modelValue}onTimerIsUp(e){this.isSubmitButtonEnabled=!1,this.isOtpInputDisabled=!0,this.isOtpLinkActionEnabled=!1,this.setPopupHeaderText(this.getResourceValue("timerIsUpMessage"),e)}fetchExecute(e){$i({scope:e.scope,uri:e.uri,request:e.request,isProcessFetch:!0,hasFlowId:e.hasFlowId,hasHashControl:e.hasHashControl,showNoMessage:e.showNoMessage,showNoMessageErrorCodes:e.showNoMessageErrorCodes}).then(t=>{t.header.success?e?.success?.call(e.scope,t):e?.fail?.call(e.scope,t)}).catch(t=>{e?.fail?.call(e.scope,t)}).finally(()=>{this.removeOtpFromState()})}otpConfirmButtonClicked(e){this.isSubmitButtonEnabled=!1;const{request:t,success:n,fail:i}=this.txnOtpConfig.coreRequest;this.isOtpLoading=!0,$i({scope:this,uri:"txn-otp/verify/v2",request:{url:this.txnOtpConfig.coreExecuteUrl,requestBody:JSON.stringify(t),otp:this.otp,referenceNumber:this.txnOtpConfig.referenceNumber}}).then(s=>{this.checkAndHandleErrorCode(s,e),s?.header?.success&&(t.trxotpreference=this.txnOtpConfig.referenceNumber,this.fetchExecute({scope:this.txnOtpConfig.scope,uri:this.txnOtpConfig.coreExecuteUrl,hasHashControl:this.txnOtpConfig.hasHashControl,hasFlowId:this.txnOtpConfig.hasFlowId,showNoMessage:this.txnOtpConfig.showNoMessage,showNoMessageErrorCodes:this.txnOtpConfig.showNoMessageErrorCodes,request:t,success:n,fail:i}))}).finally(()=>{this.isOtpLoading=!1})}checkAndHandleErrorCode(e,t){const n=e?.header?.message;308007===n?.code?this.setPopupHeaderText(n?.text,t):308004!==n?.code&&(this.isOtpRequired=!1)}codeNotReceived(e){this.setPopupHeaderText(this.getResourceValue("sentMessage"),e),this.isOtpLoading=!0,e?.detail?.component?.reset(!0),this.callResendOtp(e)}callResendOtp(e){const{request:t}=this.txnOtpConfig.coreRequest;$i({scope:this,uri:"txn-otp/resend-txn-otp/v2",request:{url:this.txnOtpConfig.coreExecuteUrl,requestBody:JSON.stringify(t),referenceNumber:this.txnOtpConfig.referenceNumber}}).then(t=>{this.checkAndHandleErrorCode(t,e)}).finally(()=>{this.isOtpLoading=!1})}render(){return u`<ing-tr-dialog 1575 ?opened="${!!this.isOtpRequired}" 1576 has-close-button 1577 @before-closed="${this.otpDialogBeforeClosed}" 1578 > 1579 <style> 1580 ${this.popupStyles} 1581 </style> 1582 <div slot="header">${this.getResourceValue("pinGenerator")}</div> 1583 <div slot="content" class="otp-dialog"> 1584 <ing-tr-otp-input 1585 .headerText="${this.getResourceValue("sentMessage")}" 1586 maxlength="6" 1587 duration="4" 1588 ?otpLoading=${this.isOtpLoading} 1589 ?resetButtonEnabled=${!1} 1590 ?otpLinkActionEnabled=${this.isOtpLinkActionEnabled} 1591 ?isOtpInputDisabled=${this.isOtpInputDisabled} 1592 ?submitButtonEnabled=${this.isSubmitButtonEnabled} 1593 .submitButtonText="${this.getResourceValue("confirm")}" 1594 @model-value-changed="${this.otpModelValueChanged}" 1595 @otp-link-clicked="${e=>{this.codeNotReceived(e)}}" 1596 @submit="${this.otpConfirmButtonClicked}" 1597 @timer-is-up="${e=>{this.onTimerIsUp(e)}}" 1598 ></ing-tr-otp-input> 1599 </div> 1600 </ing-tr-dialog>`}}var Us=m` 1601 :host { 1602 display: block; 1603 } 1604 1605 .app-main { 1606 position: relative; 1607 top: ${be}; 1608 } 1609 1610 .app-grid { 1611 max-width: 1280px; 1612 min-width: 320px; 1613 } 1614 1615 .app-grid-spacing { 1616 padding-top: ${me}; 1617 padding-bottom: ${Ge}; 1618 } 1619 1620 .hidden { 1621 display: none !important; 1622 } 1623 1624 .grid-row { 1625 box-sizing: border-box; 1626 display: flex; 1627 flex: 0 1 auto; 1628 flex-flow: row nowrap; 1629 } 1630 1631 .center-column, 1632 .nav-menu, 1633 .main-container, 1634 .right-column, 1635 .right-column-small { 1636 box-sizing: border-box; 1637 } 1638 1639 .main-container, 1640 .nav-menu { 1641 padding-left: ${be}; 1642 } 1643 1644 .nav-menu { 1645 flex: 0 0 auto; 1646 width: auto; 1647 } 1648 1649 .center-column { 1650 min-width: 320px; 1651 flex: 1 0 59%; 1652 } 1653 1654 .right-column { 1655 min-width: 320px; 1656 flex: 1 0 39%; 1657 margin-top: var(--right-column-mt, 50px); 1658 } 1659 1660 .right-column.mt-0 { 1661 margin-top: 0; 1662 } 1663 1664 .main-container { 1665 display: flex; 1666 flex-flow: row wrap; 1667 flex: 1 1 auto; 1668 gap: ${N}; 1669 } 1670 1671 .side-action-item { 1672 margin-bottom: ${A}; 1673 } 1674 1675 @media (max-width: 600px) { 1676 .grid-container { 1677 padding-left: 0px; 1678 padding-right: 0px; 1679 } 1680 1681 .center-column { 1682 padding-left: 0px; 1683 padding-right: 0px; 1684 min-width: 320px; 1685 } 1686 1687 .main-container, 1688 .nav-menu { 1689 padding-left: 0px; 1690 } 1691 1692 .main-container { 1693 min-width: 320px; 1694 } 1695 1696 .right-column { 1697 min-width: 320px; 1698 } 1699 } 1700 1701 @media (min-width: 1024px) and (max-width: 1280px) { 1702 .right-column-small { 1703 min-width: 180px; 1704 flex: 1 0 7%; 1705 } 1706 } 1707 1708 @media (min-width: 1280px) { 1709 .right-column-small { 1710 min-width: 228px; 1711 flex: 1 0 3%; 1712 } 1713 } 1714 1715 @media (max-width: 1024px) { 1716 .right-column-small { 1717 min-width: 100%; 1718 } 1719 } 1720 1721 @media (max-width: 960px) { 1722 .nav-menu { 1723 display: contents; 1724 } 1725 .main-container, 1726 .nav-menu { 1727 padding-left: 0; 1728 } 1729 } 1730 1731 @media (max-width: 720px) { 1732 .center-column { 1733 flex-basis: 100%; 1734 } 1735 .right-column { 1736 margin-top: ${L}; 1737 } 1738 } 1739 1740 @media (min-width: 600px) { 1741 .grid-container { 1742 box-sizing: border-box; 1743 margin-right: auto; 1744 margin-left: auto; 1745 padding-left: ${q}; 1746 padding-right: ${q}; 1747 width: auto; 1748 } 1749 1750 .app-grid-spacing { 1751 padding-top: ${Ke}; 1752 padding-bottom: ${Ke}; 1753 } 1754 } 1755 1756 @media (min-width: 720px) { 1757 .grid-container { 1758 padding-left: ${be}; 1759 padding-right: ${be}; 1760 } 1761 } 1762
1763 @media (max-width: 961px) { 1764 .app-grid-spacing { 1765 padding-bottom: 180px; 1766 } 1767 } 1768`;const zs={DASHBOARD:{id:"dashboard",icon:"ing:filledin-savings_goals:home",href:"dashboard",order:1},PRODUCTS:{id:"products",icon:"ing:filledin-products:wallet",order:2,subItems:[{id:"myAccounts",href:"my-accounts",order:1},{id:"myCards",href:"my-cards",order:2}]},TRANSACTIONS:{id:"transactions",icon:"ing:filledin-functionalities:swap",href:"transactions",order:3,subItems:[{id:"transfers",href:"transfers",order:1},{id:"payments",href:"payments",order:2}]},LOANS:{id:"loans",icon:"ing-tr:product:moneyBag",href:"loans",order:4},INVESTMENTS:{id:"investments",icon:"ing:filledin-products:chart",href:"investment-dashboard",order:5},INSURANCE:{id:"insurance",icon:"ing:filledin-products:umbrella",order:6,subItems:[{id:"insurances",href:"insurances",order:1},{id:"individualRetirementList",href:"individual-retirement-list",order:2}]},ORANGEEXTRA:{id:"orangeExtra",icon:"ing:filledin-feedback:star",href:"orange-extra",order:7}},qs=[zs.DASHBOARD,zs.PRODUCTS,zs.TRANSACTIONS,zs.LOANS,zs.INVESTMENTS,zs.INSURANCE,zs.ORANGEEXTRA],Hs=[{name:"sample",component:"ing-transaction-sample"}];var Gs={__initTimeoutCounter(n){n||e.updateItem({timeoutProcessOn:!0},t.APP_STATE_MODEL_ID)},initialize(e){const{timeoutProcessOn:t}=e.appState;this.__initTimeoutCounter(t)},__loggedInTemplates:()=>u` <ing-tr-timeout-dialog></ing-tr-timeout-dialog>`,renderRateMe(){const{rateMeEnabled:e}=this.appState,t=this.appState?.routeInfo?.flowName;return e?u` <ing-tr-feat-rate-me 1769 .txnName=${t} 1770 .show=${e} 1771 ></ing-tr-feat-rate-me>`:""},render(e){return u` 1772 ${this.renderRateMe.call(e)} 1773 <ing-tr-api-message></ing-tr-api-message> 1774 <ing-tr-api-loading></ing-tr-api-loading> 1775 <ing-tr-force-update></ing-tr-force-update> 1776 ${e.isLoggedIn||e.appState.timeoutEnable?this.__loggedInTemplates():""} 1777 `}};const Ks={StateGroup:Gs},Ws=m` 1778 :host { 1779 display: block; 1780 } 1781 .bottom-bar { 1782 max-width: ${he(fe)}px; 1783 margin: ${We} auto; 1784 } 1785 .wrapper { 1786 display: flex; 1787 gap: ${be}; 1788 flex-wrap: wrap; 1789 padding: ${We} ${A}; 1790 position: absolute; 1791 bottom: ${y}; 1792 } 1793 .bottom-bar .item { 1794 border-right: 1px solid ${U}; 1795 padding-right: ${be}; 1796 line-height: 1.33; 1797 font-size: ${Ye}; 1798 height: ${N}; 1799 color: ${U}; 1800 } 1801 .bottom-bar .item:last-of-type { 1802 border: none; 1803 } 1804 .bottom-bar .item a { 1805 text-decoration: none; 1806 color: ${z}; 1807 } 1808 .bold { 1809 font-weight: bold; 1810 } 1811 .color-black { 1812 color: ${ye}!important; 1813 } 1814 .position-relative { 1815 position: relative; 1816 } 1817 .position-initial { 1818 position: initial; 1819 } 1820 @media (max-width: 961px) { 1821 .wrapper { 1822 gap: ${q}; 1823 bottom: ${Ge}; 1824 padding: ${We} ${A}; 1825 } 1826 .bottom-bar .item:nth-child(3), 1827 .bottom-bar .item:nth-child(4), 1828 .bottom-bar .item:nth-child(5) { 1829 border: none; 1830 } 1831 } 1832 @media (max-width: 720px) { 1833 .wrapper { 1834 margin-left: ${We}; 1835 } 1836 } 1837 @media (max-width: 600px) { 1838 .wrapper { 1839 max-width: 55%; 1840 padding: ${We} ${N}; 1841 } 1842 } 1843 @media (max-width: 425px) { 1844 .wrapper { 1845 max-width: 80%; 1846 padding: ${We} ${N}; 1847 } 1848 .bottom-bar .item { 1849 font-size: ${we}; 1850 } 1851 } 1852`;class Ys extends(I(x($))){constructor(){super(),this.userInfo=Zt("userInfo",!0)}static get localizeNamespaces(){return[{"ing-tr-feat-footer":e=>{switch(e){case"tr":case"tr-TR":return import("./tr-25ffdb65.js");case"en-GB":case"en-US":case"en":return import("./en-b3173394.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get styles(){return Ws}static get properties(){return{userInfo:{type:Object}}}formatDateWithHours(e){return e?d(new Date(e),{hour:"numeric",minute:"numeric"}):""}render(){return u` 1853 <footer class="bottom-bar"> 1854 <div class="wrapper"> 1855 <div class="item color-black">© ${this.msgLit("ing-tr-feat-footer:ing")}</div> 1856 <div class="item bold"> 1857 <a href="${Vi()}" target="_blank" 1858 >${this.msgLit("ing-tr-feat-footer:security")}</a 1859 > 1860 </div> 1861 <div class="item bold"> 1862 <a href="${Ui()}" target="_blank" 1863 >${this.msgLit("ing-tr-feat-footer:termsOfUse")}</a 1864 > 1865 </div> 1866 <div class="item">
1867 <span class="bold">${this.msgLit("ing-tr-feat-footer:lastLoginDate")}: </span> 1868 ${this.formatDateWithHours(this.userInfo?.lastSuccessfulLogon)} 1869 </div> 1870 <div class="item"> 1871 <span class="bold">${this.msgLit("ing-tr-feat-footer:lastLoginIP")}: </span>${this.userInfo?.lastSuccessfulLogonIp} 1872 </div> 1873 <div class="item"> 1874 <span class="bold">${this.msgLit("ing-tr-feat-footer:lastFailLogin")}: </span 1875 >${this.formatDateWithHours(this.userInfo?.lastFailedLogin)} 1876 </div> 1877 </div> 1878 </footer> 1879 `}}const Qs=()=>"https://internetsubesi.ing.com.tr/eum/",Xs=()=>"7t6__fg-TPSDBAIt0BTeDQ";function Zs(e){return e=e||[],Array.isArray(e)?e:[e]}function Js(e){return`[Vaadin.Router] ${e}`}const ea="module",ta="nomodule",na=[ea,ta];function ia(e){if(!e.match(/.+\.[m]?js$/))throw new Error(Js(`Unsupported type for bundle "${e}": .js or .mjs expected.`))}function sa(e){if(!e||!da(e.path))throw new Error(Js('Expected route config to be an object with a "path" string property, or an array of such objects'));const t=e.bundle,n=["component","redirect","bundle"];if(!(la(e.action)||Array.isArray(e.children)||la(e.children)||ca(t)||n.some(t=>da(e[t]))))throw new Error(Js(`Expected route config "${e.path}" to include either "${n.join('", "')}" or "action" function but none found.`));if(t)if(da(t))ia(t);else{if(!na.some(e=>e in t))throw new Error(Js('Expected route bundle to include either "'+ta+'" or "'+ea+'" keys, or both'));na.forEach(e=>e in t&&ia(t[e]))}e.redirect&&["bundle","component"].forEach(t=>{t in e&&console.warn(Js(`Route config "${e.path}" has both "redirect" and "${t}" properties, and "redirect" will always override the latter. Did you mean to only use "${t}"?`))})}function aa(e){Zs(e).forEach(e=>sa(e))}function ra(e,t){let n=document.head.querySelector('script[src="'+e+'"][async]');return n||(n=document.createElement("script"),n.setAttribute("src",e),t===ea?n.setAttribute("type",ea):t===ta&&n.setAttribute(ta,""),n.async=!0),new Promise((e,t)=>{n.onreadystatechange=n.onload=t=>{n.__dynamicImportLoaded=!0,e(t)},n.onerror=e=>{n.parentNode&&n.parentNode.removeChild(n),t(e)},null===n.parentNode?document.head.appendChild(n):n.__dynamicImportLoaded&&e()})}function oa(e,t){return!window.dispatchEvent(new CustomEvent(`vaadin-router-${e}`,{cancelable:"go"===e,detail:t}))}function ca(e){return"object"==typeof e&&!!e}function la(e){return"function"==typeof e}function da(e){return"string"==typeof e}function ua(e){const t=new Error(Js(`Page not found (${e.pathname})`));return t.context=e,t.code=404,t}const pa=new class{};function ma(e){if(e.defaultPrevented)return;if(0!==e.button)return;if(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)return;let t=e.target;const n=e.composedPath?e.composedPath():e.path||[];for(let e=0;e<n.length;e++){const i=n[e];if(i.nodeName&&"a"===i.nodeName.toLowerCase()){t=i;break}}for(;t&&"a"!==t.nodeName.toLowerCase();)t=t.parentNode;if(!t||"a"!==t.nodeName.toLowerCase())return;if(t.target&&"_self"!==t.target.toLowerCase())return;if(t.hasAttribute("download"))return;if(t.hasAttribute("router-ignore"))return;if(t.pathname===window.location.pathname&&""!==t.hash)return;const i=t.origin||function(e){const t=e.port,n=e.protocol;return`${n}//${"http:"===n&&"80"===t||"https:"===n&&"443"===t?e.hostname:e.host}`}(t);if(i!==window.location.origin)return;const{pathname:s,search:a,hash:r}=t;oa("go",{pathname:s,search:a,hash:r})&&(e.preventDefault(),e&&"click"===e.type&&window.scrollTo(0,0))}const ga={activate(){window.document.addEventListener("click",ma)},inactivate(){window.document.removeEventListener("click",ma)}};function ha(e){if("vaadin-router-ignore"===e.state)return;const{pathname:t,search:n,hash:i}=window.location;oa("go",{pathname:t,search:n,hash:i})}/Trident/.test(navigator.userAgent)&&!la(window.PopStateEvent)&&(window.PopStateEvent=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n.state=t.state||null,n},window.PopStateEvent.prototype=window.Event.prototype);const fa={activate(){window.addEventListener("popstate",ha)},inactivate(){window.removeEventListener("popstate",ha)}};var ba=Aa,ya=$a,va=function(e,t){return Ta($a(e,t))},wa=Ta,Ca=Ea,xa="/",ka="./",Ia=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function $a(e,t){for(var n,i=[],s=0,a=0,r="",o=t&&t.delimiter||xa,c=t&&t.delimiters||k
1879a,l=!1;null!==(n=Ia.exec(e));){var d=n[0],u=n[1],p=n.index;if(r+=e.slice(a,p),a=p+d.length,u)r+=u[1],l=!0;else{var m="",g=e[a],h=n[2],f=n[3],b=n[4],y=n[5];if(!l&&r.length){var v=r.length-1;c.indexOf(r[v])>-1&&(m=r[v],r=r.slice(0,v))}r&&(i.push(r),r="",l=!1);var w=""!==m&&void 0!==g&&g!==m,C="+"===y||"*"===y,x="?"===y||"*"===y,k=m||o,I=f||b;i.push({name:h||s++,prefix:m,delimiter:k,optional:x,repeat:C,partial:w,pattern:I?_a(I):"[^"+ja(k)+"]+?"})}}return(r||a<e.length)&&i.push(r+e.substr(a)),i}function Ta(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var s="",a=i&&i.encode||encodeURIComponent,r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o){var c,l=n?n[o.name]:void 0;if(Array.isArray(l)){if(!o.repeat)throw new TypeError('Expected "'+o.name+'" to not repeat, but got array');if(0===l.length){if(o.optional)continue;throw new TypeError('Expected "'+o.name+'" to not be empty')}for(var d=0;d<l.length;d++){if(c=a(l[d],o),!t[r].test(c))throw new TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'"');s+=(0===d?o.prefix:o.delimiter)+c}}else if("string"!=typeof l&&"number"!=typeof l&&"boolean"!=typeof l){if(!o.optional)throw new TypeError('Expected "'+o.name+'" to be '+(o.repeat?"an array":"a string"));o.partial&&(s+=o.prefix)}else{if(c=a(String(l),o),!t[r].test(c))throw new TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but got "'+c+'"');s+=o.prefix+c}}else s+=o}return s}}function ja(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function _a(e){return e.replace(/([=!:$/()])/g,"\\$1")}function Sa(e){return e&&e.sensitive?"":"i"}function Ea(e,t,n){for(var i=(n=n||{}).strict,s=!1!==n.start,a=!1!==n.end,r=ja(n.delimiter||xa),o=n.delimiters||ka,c=[].concat(n.endsWith||[]).map(ja).concat("$").join("|"),l=s?"^":"",d=0===e.length,u=0;u<e.length;u++){var p=e[u];if("string"==typeof p)l+=ja(p),d=u===e.length-1&&o.indexOf(p[p.length-1])>-1;else{var m=p.repeat?"(?:"+p.pattern+")(?:"+ja(p.delimiter)+"(?:"+p.pattern+"))*":p.pattern;t&&t.push(p),p.optional?p.partial?l+=ja(p.prefix)+"("+m+")?":l+="(?:"+ja(p.prefix)+"("+m+"))?":l+=ja(p.prefix)+"("+m+")"}}return a?(i||(l+="(?:"+r+")?"),l+="$"===c?"$":"(?="+c+")"):(i||(l+="(?:"+r+"(?="+c+"))?"),d||(l+="(?="+r+"|"+c+")")),new RegExp(l,Sa(n))}function Aa(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,t):Array.isArray(e)?function(e,t,n){for(var i=[],s=0;s<e.length;s++)i.push(Aa(e[s],t,n).source);return new RegExp("(?:"+i.join("|")+")",Sa(n))}(e,t,n):function(e,t,n){return Ea($a(e,n),t,n)}(e,t,n)}ba.parse=ya,ba.compile=va,ba.tokensToFunction=wa,ba.tokensToRegExp=Ca;const{hasOwnProperty:La}=Object.prototype,Pa=new Map;function Da(e){try{return decodeURIComponent(e)}catch(t){return e}}function Ra(e,t,n,i,s){let a,r,o=0,c=e.path||"";return"/"===c.charAt(0)&&(n&&(c=c.substr(1)),n=!0),{next(l){if(e===l)return{done:!0};const d=e.__children=e.__children||e.children;if(!a&&(a=function(e,t,n,i,s){const a=`${e}|${n=!!n}`;let r=Pa.get(a);if(!r){const t=[];r={keys:t,pattern:ba(e,t,{end:n,strict:""===e})},Pa.set(a,r)}const o=r.pattern.exec(t);if(!o)return null;const c=Object.assign({},s);for(let e=1;e<o.length;e++){const t=r.keys[e-1],n=t.name,i=o[e];void 0===i&&La.call(c,n)||(t.repeat?c[n]=i?i.split(t.delimiter).map(Da):[]:c[n]=i?Da(i):i)}return{path:o[0],keys:(i||[]).concat(r.keys),params:c}}(c,t,!d,i,s),a))return{done:!1,value:{route:e,keys:a.keys,params:a.params,path:a.path}};if(a&&d)for(;o<d.length;){if(!r){const i=d[o];i.parent=e;let s=a.path.length;s>0&&"/"===t.charAt(s)&&(s+=1),r=Ra(i,t.substr(s),n,a.keys,a.params)}const i=r.next(l);if(!i.done)return{done:!1,value:i.value};r=null,o++}return{done:!0}}}}function Oa(e){if(la(e.route.action))return e.route.action(e)}Pa.set("|false",{keys:[],pattern:/(?:)/});class Fa{constructor(e,t={}){if(Object(e)!==e)throw new TypeError("Invalid routes");this.baseUrl=t.baseUrl||"",this.errorHandler=t.errorHandler,this.resolveRoute=t.resolveRoute||Oa,this.context=Object.assign({resolver:this},t.context),this.root=Array.isArray(e)?{path:"",__children:e,parent:null,__synthetic:!0}:e,this.root.parent=null}getRoutes(){return[...this.root.__children]}setRoutes(e){aa(e);const t=[...Zs(e)];this.root.__children=t}addRoutes(e){return aa(e),this.root.__children.push(...Zs(e)),this.getRoutes()}removeRoutes(){this.setRoutes([])}resolve(e){const t=Object.assign({},this.context,da(e)?{pathname:e}:e),n=Ra(this.root,this.__normalizePathname(t.pathname),this.baseUrl),i=this.resolveRoute;let s=null,a=null,r=t;function o(e,c=s.value.route,l){const d=null===l&&s.value.route;return s=a||n.next(d),a=null,e||!s.done&&function(e,t){let n=t;for(;n;)if(n=n.parent,n===e)return!0;return!1}(c,s.value.route)?s.done?Promise.reject(ua(t)):(r=Object.assign(r?{chain:r.chain?r.chain.slice(0):[]}:{},t,s.value),function(e,t){const{route:n,path:i}=t;if(n&&!n.__synthetic){const t={path:i,route:n};if(e.chain){if(n.parent){let t=e.chain.length;for(;t--&&e.chain[t].route&&e.chain[t].route!==n.parent;)e.chain.pop()}}else e.chain=[];e.chain.push(t)}}(r,s.value),Promise.resolve(i(r)).then(t=>null!=t&&t!==pa?(r.result=t.result||t,r):o(e,c,t))):(a=s,Promise.resolve(pa))}return t.next=o,Promise.resolve().then(()=>o(!0,this.root)).catch(e=>{const t=function(e){let t=`Path '${e.pathname}' is not properly resolved due to an error.`;const n=(e.route||{}).path;return n&&(t+=` Resolution had failed on route: '${n}'`),t}(r);if(e?console.warn(t):e=new Error(t),e.context=e.context||r,e instanceof DOMException||(e.code=e.code||500),this.errorHandler)return r.result=this.errorHandler(e),r;throw e})}static __createUrl(e,t){return new URL(e,t)}get __effectiveBaseUrl(){return this.baseUrl?this.constructor.__createUrl(this.baseUrl,document.baseURI||document.URL).href.replace(/[^\/]*$/,""):""}__normalizePathname(e){if(!this.baseUrl)return e;const t=this.__effectiveBaseUrl,n=this.constructor.__createUrl(e,t).href;return n.slice(0,t.length)===t?n.slice(t.length):void 0}}Fa.pathToRegexp=ba;const{pathToRegexp:Ma}=Fa,Na=new Map;
1879function Ba(e,t,n){const i=t.name||t.component;if(i&&(e.has(i)?e.get(i).push(t):e.set(i,[t])),Array.isArray(n))for(let i=0;i<n.length;i++){const s=n[i];s.parent=t,Ba(e,s,s.__children||s.children)}}function Va(e,t){const n=e.get(t);if(n&&n.length>1)throw new Error(`Duplicate route with name "${t}". Try seting unique 'name' route properties.`);return n&&n[0]}function Ua(e){let t=e.path;return t=Array.isArray(t)?t[0]:t,void 0!==t?t:""}function za(e,t={}){if(!(e instanceof Fa))throw new TypeError("An instance of Resolver is expected");const n=new Map;return(i,s)=>{let a=Va(n,i);if(!a&&(n.clear(),Ba(n,e.root,e.root.__children),a=Va(n,i),!a))throw new Error(`Route "${i}" not found`);let r=Na.get(a.fullPath);if(!r){let e=Ua(a),t=a.parent;for(;t;){const n=Ua(t);n&&(e=n.replace(/\/$/,"")+"/"+e.replace(/^\//,"")),t=t.parent}const n=Ma.parse(e),i=Ma.tokensToFunction(n),s=Object.create(null);for(let e=0;e<n.length;e++)da(n[e])||(s[n[e].name]=!0);r={toPath:i,keys:s},Na.set(e,r),a.fullPath=e}let o=r.toPath(s,t)||"/";if(t.stringifyQueryParams&&s){const e={},n=Object.keys(s);for(let t=0;t<n.length;t++){const i=n[t];r.keys[i]||(e[i]=s[i])}const i=t.stringifyQueryParams(e);i&&(o+="?"===i.charAt(0)?i:`?${i}`)}return o}}let qa=[];function Ha(e,t){return e.classList.add(t),new Promise(n=>
1879{if((e=>{const t=getComputedStyle(e).getPropertyValue("animation-name");return t&&"none"!==t})(e)){const i=e.getBoundingClientRect(),s=`height: ${i.bottom-i.top}px; width: ${i.right-i.left}px`;e.setAttribute("style",`position: absolute; ${s}`),((e,t)=>{const n=()=>{e.removeEventListener("animationend",n),t()};e.addEventListener("animationend",n)})(e,()=>{e.classList.remove(t),e.removeAttribute("style"),n()})}else e.classList.remove(t),n()})}function Ga(e){return null!=e}function Ka({pathname:e="",search:t="",hash:n="",chain:i=[],params:s={},redirectFrom:a,resolver:r},o){const c=i.map(e=>e.route);return{baseUrl:r&&r.baseUrl||"",pathname:e,search:t,hash:n,routes:c,route:o||c.length&&c[c.length-1]||null,params:s,redirectFrom:a,getUrl:(e={})=>Za(er.pathToRegexp.compile(Ja(c))(Object.assign({},s,e)),r)}}function Wa(e,t){const n=Object.assign({},e.params);return{redirect:{pathname:t,from:e.pathname,params:n}}}function Ya(e,t,n){if(la(e))return e.apply(n,t)}function Qa(e,t,n){return i=>i&&(i.cancel||i.redirect)?i:n?Ya(n[e],t,n):void 0}function Xa(e){if(e&&e.length){const t=e[0].parentNode;for(let n=0;n<e.length;n++)t.removeChild(e[n])}}function Za(e,t){const n=t.__effectiveBaseUrl;return n?t.constructor.__createUrl(e.replace(/^\//,""),n).pathname:e}function Ja(e){return e.map(e=>e.path).reduce((e,t)=>t.length?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):e,"")}class er extends Fa{constructor(e,t){const n=document.head.querySelector("base"),i=n&&n.getAttribute("href");super([],Object.assign({baseUrl:i&&Fa.__createUrl(i,document.URL).pathname.replace(/[^\/]*$/,"")},t)),this.resolveRoute=e=>this.__resolveRoute(e);const s=er.NavigationTrigger;er.setTriggers.apply(er,Object.keys(s).map(e=>s[e])),this.baseUrl,this.ready,this.ready=Promise.resolve(e),this.location,this.location=Ka({resolver:this}),this.__lastStartedRenderId=0,this.__navigationEventHandler=this.__onNavigationEvent.bind(this),this.setOutlet(e),this.subscribe(),this.__createdByRouter=new WeakMap,this.__addedByRouter=new WeakMap}__resolveRoute(e){const t=e.route;let n=Promise.resolve();la(t.children)&&(n=n.then(()=>t.children(function(e){const t=Object.assign({},e);return delete t.next,t}(e))).then(e=>{Ga(e)||la(t.children)||(e=t.children),function(e,t){if(!Array.isArray(e)&&!ca(e))throw new Error(Js(`Incorrect "children" value for the route ${t.path}: expected array or object, but got ${e}`));t.__children=[];const n=Zs(e);for(let e=0;e<n.length;e++)sa(n[e]),t.__children.push(n[e])}(e,t)}));const i={redirect:t=>Wa(e,t),component:e=>{const t=document.createElement(e);return this.__createdByRouter.set(t,!0),t}};return n.then(()=>{if(this.__isLatestRender(e))return Ya(t.action,[e,i],t)}).then(e=>Ga(e)&&(e instanceof HTMLElement||e.redirect||e===pa)?e:da(t.redirect)?i.redirect(t.redirect):t.bundle?function(e){return da(e)?ra(e):Promise.race(na.filter(t=>t in e).map(t=>ra(e[t],t)))}(t.bundle).then(()=>{},()=>{throw new Error(Js(`Bundle not found: ${t.bundle}. Check if the file name is correct`))}):void 0).then(e=>Ga(e)?e:da(t.component)?i.component(t.component):void 0)}setOutlet(e){e&&this.__ensureOutlet(e),this.__outlet=e}getOutlet(){return this.__outlet}setRoutes(e,t=!1){return this.__previousContext=void 0,this.__urlForName=void 0,super.setRoutes(e),t||this.__onNavigationEvent(),this.ready}render(e,t){const n=++this.__lastStartedRenderId,i=Object.assign({search:"",hash:""},da(e)?{pathname:e}:e,{__renderId:n});return this.ready=this.resolve(i).then(e=>this.__fullyResolveChain(e)).then(e=>{if(this.__isLatestRender(e)){const i=this.__previousContext;if(e===i)return this.__updateBrowserHistory(i,!0),this.location;if(this.location=Ka(e),t&&this.__updateBrowserHistory(e,1===n),oa("location-changed",{router:this,location:this.location}),e.__skipAttach)return this.__copyUnchangedElements(e,i),this.__previousContext=e,this.location;this.__addAppearingContent(e,i);const s=this.__animateIfNeeded(e);return this.__runOnAfterEnterCallbacks(e),this.__runOnAfterLeaveCallbacks(e,i),s.then(()=>{if(this.__isLatestRender(e))return this.__removeDisappearingContent(),this.__previousContext=e,this.location})}}).catch(e=>{if(n===this.__lastStartedRenderId)throw t&&this.__updateBrowserHistory(i),Xa(this.__outlet&&this.__outlet.children),this.location=Ka(Object.assign(i,{resolver:this})),oa("error",Object.assign({router:this,error:e},i)),e}),this.ready}__fullyResolveChain(e,t=e){return this.__findComponentContextAfterAllRedirects(t).then(n=>{const i=n!==t?n:e,s=Za(Ja(n.chain),n.resolver)===n.pathname,a=(e,t=e.route,n)=>e.next(void 0,t,n).then(n=>null===n||n===pa?s?e:null!==t.parent?a(e,t.parent,n):n:n);return a(n).then(e=>{if(null===e||e===pa)throw ua(i);return e&&e!==pa&&e!==n?this.__fullyResolveChain(i,e):this.__amendWithOnBeforeCallbacks(n)})})}__findComponentContextAfterAllRedirects(e){const t=e.result;return t instanceof HTMLElement?(function(e,t){t.location=Ka(e);const n=e.chain.map(e=>e.route).indexOf(e.route);e.chain[n].element=t}(e,t),Promise.resolve(e)):t.redirect?this.__redirect(t.redirect,e.__redirectCount,e.__renderId).then(e=>this.__findComponentContextAfterAllRedirects(e)):t instanceof Error?Promise.reject(t):Prom
1879ise.reject(new Error(Js(`Invalid route resolution result for path "${e.pathname}". Expected redirect object or HTML element, but got: "${function(e){if("object"!=typeof e)return String(e);const t=Object.prototype.toString.call(e).match(/ (.*)\]$/)[1];return"Object"===t||"Array"===t?`${t} ${JSON.stringify(e)}`:t}(t)}". Double check the action return value for the route.`)))}__amendWithOnBeforeCallbacks(e){return this.__runOnBeforeCallbacks(e).then(t=>t===this.__previousContext||t===e?t:this.__fullyResolveChain(t))}__runOnBeforeCallbacks(e){const t=this.__previousContext||{},n=t.chain||[],i=e.chain;let s=Promise.resolve();const a=()=>({cancel:!0}),r=t=>Wa(e,t);if(e.__divergedChainIndex=0,e.__skipAttach=!1,n.length){for(let t=0;t<Math.min(n.length,i.length)&&n[t].route===i[t].route&&(n[t].path===i[t].path||n[t].element===i[t].element)&&this.__isReusableElement(n[t].element,i[t].element);t=++e.__divergedChainIndex);if(e.__skipAttach=i.length===n.length&&e.__divergedChainIndex==i.length&&this.__isReusableElement(e.result,t.result),e.__skipAttach){for(let t=i.length-1;t>=0;t--)s=this.__runOnBeforeLeaveCallbacks(s,e,{prevent:a},n[t]);for(let t=0;t<i.length;t++)s=this.__runOnBeforeEnterCallbacks(s,e,{prevent:a,redirect:r},i[t]),n[t].element.location=Ka(e,n[t].route)}else for(let t=n.length-1;t>=e.__divergedChainIndex;t--)s=this.__runOnBeforeLeaveCallbacks(s,e,{prevent:a},n[t])}if(!e.__skipAttach)for(let t=0;t<i.length;t++)t<e.__divergedChainIndex?t<n.length&&n[t].element&&(n[t].element.location=Ka(e,n[t].route)):(s=this.__runOnBeforeEnterCallbacks(s,e,{prevent:a,redirect:r},i[t]),i[t].element&&(i[t].element.location=Ka(e,i[t].route)));return s.then(t=>{if(t){if(t.cancel)return this.__previousContext.__renderId=e.__renderId,this.__previousContext;if(t.redirect)return this.__redirect(t.redirect,e.__redirectCount,e.__renderId)}return e})}__runOnBeforeLeaveCallbacks(e,t,n,i){const s=Ka(t);return e.then(e=>{if(this.__isLatestRender(t)){return Qa("onBeforeLeave",[s,n,this],i.element)(e)}}).then(e=>{if(!(e||{}).redirect)return e})}__runOnBeforeEnterCallbacks(e,t,n,i){const s=Ka(t,i.route);return e.then(e=>{if(this.__isLatestRender(t)){return Qa("onBeforeEnter",[s,n,this],i.element)(e)}})}__isReusableElement(e,t){return!(!e||!t)&&(this.__createdByRouter.get(e)&&this.__createdByRouter.get(t)?e.localName===t.localName:e===t)}__isLatestRender(e){return e.__renderId===this.__lastStartedRenderId}__redirect(e,t,n){if(t>256)throw new Error(Js(`Too many redirects when rendering ${e.from}`));return this.resolve({pathname:this.urlForPath(e.pathname,e.params),redirectFrom:e.from,__redirectCount:(t||0)+1,__renderId:n})}__ensureOutlet(e=this.__outlet){if(!(e instanceof Node))throw new TypeError(Js(`Expected router outlet to be a valid DOM Node (but got ${e})`))}__updateBrowserHistory({pathname:e,search:t="",hash:n=""},i){if(window.location.pathname!==e||window.location.search!==t||window.location.hash!==n){const s=i?"replaceState":"pushState";window.history[s](null,document.title,e+t+n),window.dispatchEvent(new PopStateEvent("popstate",{state:"vaadin-router-ignore"}))}}__copyUnchangedElements(e,t){let n=this.__outlet;for(let i=0;i<e.__divergedChainIndex;i++){const s=t&&t.chain[i].element;if(s){if(s.parentNode!==n)break;e.chain[i].element=s,n=s}}return n}__addAppearingContent(e,t){this.__ensureOutlet(),this.__removeAppearingContent();const n=this.__copyUnchangedElements(e,t);this.__appearingContent=[],this.__disappearingContent=Array.from(n.children).filter(t=>this.__addedByRouter.get(t)&&t!==e.result);let i=n;for(let t=e.__divergedChainIndex;t<e.chain.length;t++){const s=e.chain[t].element;s&&(i.appendChild(s),this.__addedByRouter.set(s,!0),i===n&&this.__appearingContent.push(s),i=s)}}__removeDisappearingContent(){this.__disappearingContent&&Xa(this.__disappearingContent),this.__disappearingContent=null,this.__appearingContent=null}__removeAppearingContent(){this.__disappearingContent&&this.__appearingContent&&(Xa(this.__appearingContent),this.__disappearingContent=null,this.__appearingContent=null)}__runOnAfterLeaveCallbacks(e,t){if(t)for(let n=t.chain.length-1;n>
1879=e.__divergedChainIndex&&this.__isLatestRender(e);n--){const i=t.chain[n].element;if(i)try{const n=Ka(e);Ya(i.onAfterLeave,[n,{},t.resolver],i)}finally{this.__disappearingContent.indexOf(i)>-1&&Xa(i.children)}}}__runOnAfterEnterCallbacks(e){for(let t=e.__divergedChainIndex;t<e.chain.length&&this.__isLatestRender(e);t++){const n=e.chain[t].element||{},i=Ka(e,e.chain[t].route);Ya(n.onAfterEnter,[i,{},e.resolver],n)}}__animateIfNeeded(e){const t=(this.__disappearingContent||[])[0],n=(this.__appearingContent||[])[0],i=[],s=e.chain;let a;for(let e=s.length;e>0;e--)if(s[e-1].route.animate){a=s[e-1].route.animate;break}if(t&&n&&a){const e=ca(a)&&a.leave||"leaving",s=ca(a)&&a.enter||"entering";i.push(Ha(t,e)),i.push(Ha(n,s))}return Promise.all(i).then(()=>e)}subscribe(){window.addEventListener("vaadin-router-go",this.__navigationEventHandler)}unsubscribe(){window.removeEventListener("vaadin-router-go",this.__navigationEventHandler)}__onNavigationEvent(e){const{pathname:t,search:n,hash:i}=e?e.detail:window.location;da(this.__normalizePathname(t))&&(e&&e.preventDefault&&e.preventDefault(),this.render({pathname:t,search:n,hash:i},!0))}static setTriggers(...e){!function(e){qa.forEach(e=>e.inactivate()),e.forEach(e=>e.activate()),qa=e}(e)}urlForName(e,t){return this.__urlForName||(this.__urlForName=za(this)),Za(this.__urlForName(e,t),this)}urlForPath(e,t){return Za(er.pathToRegexp.compile(e)(t),this)}static go(e){const{pathname:t,search:n,hash:i}=da(e)?this.__createUrl(e,"http://a"):e;return oa("go",{pathname:t,search:n,hash:i})}}const tr=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,nr=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function ir(e,t){if("function"!=typeof e)return;const n=tr.exec(e.toString());if(n)try{e=new Function(n[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}window.Vaadin=window.Vaadin||{};function sr(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return!!localStorage.getItem("vaadin.developmentmode.force")||!!(["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0)&&(nr?!function(){if(nr){if(Object.keys(nr).map(e=>nr[e]).filter(e=>e.productionMode).length>0)return!0}return!1}():!ir(function(){return!0}))}catch(e){return!1}}());window.Vaadin=window.Vaadin||{},window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.registrations.push({is:"@vaadin/router",version:"1.7.4"}),function(e,t){if(window.Vaadin.developmentMode)ir(e,t)}(sr),er.NavigationTrigger={POPSTATE:fa,CLICK:ga};var ar={routes:[{path:"/my-accounts",name:"myAccounts",mainFlow:!0,component:"ing-tr-feat-account-list",singleColumn:!1,action:(e,t)=>import("./IngTrFeatAccountList-c1448569.js")},{path:"/my-closed-accounts",name:"myClosedAccounts",component:"ing-tr-feat-account-closed-list",action:(e,t)=>import("./IngTrFeatAccountClosedList-441e0385.js")},{path:"/my-accounts/:uniqueID?/settings/:status?",name:"accountSettings",component:"ing-tr-feat-account-settings",singleColumn:!1,action:(e,t)=>import("./IngTrFeatAccountSettings-3228f0b2.js")},{path:"/my-accounts/:uniqueID",name:"accountDetail",flowName:"accountDetail",component:"ing-tr-feat-account-detail",singleColumn:!1,action:(e,t)=>import("./IngTrFeatAccountDetail-5db3ea94.js")},{path:"/my-accounts/settings/close/detail",name:"accountSettingsClose",component:"ing-tr-feat-account-close-detail",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountCloseDetail-ff20147c.js")},{path:"/my-accounts/settings/close/confirm",name:"accountSettingsClose",component:"ing-tr-feat-account-close-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountCloseConfirm-68cb893c.js")},{path:"/my-accounts/settings/close/execute",name:"accountSettingsClose",component:"ing-tr-feat-account-close-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountCloseExecute-d5c91eb6.js")},{path:"/account-activities/:uniqueID",name:"accountActivities",flowName:"accountActivities",component:"ing-tr-feat-account-activities-base-view",action:(e,t)=>import("./IngTrFeatAccountActivitiesBaseView-4bdd9aaa.js")},{path:"/open-account/deposit",name:"openAccountDeposit",component:"ing-tr-feat-open-deposit-account-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOpenDepositAccountView-84b28093.js")},{path:"/open-account/deposit/confirm",name:"openAccountDeposit",component:"ing-tr-feat-open-deposit-account-confirm-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOpenDepositAccountConfirmView-6ba93b91.js")},{path:"/open-account/deposit/execute",name:"openAccountDeposit",component:"ing-tr-feat-open-deposit-account-execute-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOpenDepositAccountExecuteView-b4420fdb.js")},{path:"/open-account/securities",name:"openAccountSecurities",component:"ing-tr-feat-investment-account-opening",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentAccountOpening-5b650b94.js")},{path:"/open-account/securities/confirm",name:"openAccountSecurities",component:"ing-tr-feat-investment-account-opening-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentAccountOpeningConfirm-7c70dc54.js")},{path:"/open-account/securities/execute",name:"openAccountSecurities",component:"ing-tr-feat-investment-account-opening-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentAccountOpeningExecute-1ea47bcb.js")},{path:"/my-accounts/:uniqueID/installment-support-accounts",name:"installementSupportAccount",component:"ing-tr-installment-support-accounts",action:(e,t)=>import("./IngTrInstallmentSupportAccountsView-ce7e80f9.js")},{path:"/my-accounts/:uniqueID/payment-plan",name:"installementSupportAccount.paymentPlan",component:"ing-tr-installment-support-account-payment-plan",singleColumn:!0,action:(e,t)=>import("./IngTrSupportAccountPaymentPlan-0640919b.js")},{path:"/my-accounts/:uniqueID/payment-plan/:orderNumber",name:"accumulatingAccount.paymentPlan",component:"ing-tr-accumulating-account-payment-plan",singleColumn:!0,action:(e,t)=>import("./IngTrAccumulatingAccountPaymentPlan-755e5653.js")},{path:"/my-accounts/:uniqueID/support-account",name:"supportAccount",component:"ing-tr-feat-support-account-detail",action:(e,t)=>import("./IngTrFeatSupportAccountDetail-9b21ca80.js"),sideActions:{[os.ADDITIONAL]:[Ki.SupportAccountLimitIncrease]}},{path:"/my-accounts/:uniqueID/support-account/:year/:month",name:"supportAccount",component:"ing-tr-feat-support-account-extract",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSupportAccountExtract-e02bb792.js")},{path:"/my-accounts/:uniqueID/support-account/activities",name:"supportAccountActivities",component:"ing-tr-feat-support-account-activities",action:(e,t)=>import("./IngTrFeatSupportAccountActivities-6600676e.js"),sideActions:{[os.ADDITIONAL]:[Ki.SupportAccountLimitIncrease]}},{path:"/my-accounts/kolas/dashboard/:uniqueID",name:"kolas.accountKolasDashboard",component:"ing-tr-kolas-dashboard",action:(e,t)=>import("./IngTrKolasDashboard-0d4f6a90.js")},{path:"/my-accounts/kolas/define/:kolasType/:uniqueID",name:"kolas.accountKolasDefine",component:"ing-tr-kolas-define-view",singleColumn:!0,action:(e,t)=>import("./IngTrAccountKolasDefineView-f2c39874.js")},{path:"/my-accounts/kolas/define/execute/:kolasType/:uniqueID",name:"kolas.accountKolasDefine",component:"ing-tr-kolas-define-execute",singleColumn:!0,action:(e,t)=>
1879import("./IngTrAccountKolasDefineExecute-cc3763a7.js")},{path:"/my-accounts/kolas/delete/execute/:uniqueID",name:"accountKolasDelete",component:"ing-tr-kolas-delete-execute",singleColumn:!0,action:(e,t)=>import("./IngTrAccountKolasDeleteExecute-4cc7fc9b.js")},{path:"/all-activities",name:"allActivities",component:"ing-tr-feat-all-activities",action:(e,t)=>import("./IngTrFeatAllActivities-b3860899.js")},{path:"/bank-statement",name:"bankStatement",component:"ing-tr-feat-account-investment-activities-base-view",action:(e,t)=>import("./IngTrFeatAccountInvestmentActivitiesBaseView-1b449f96.js")},{path:"/account-stock-activities",name:"accountStockActivities",component:"ing-tr-feat-account-investment-activities-base-view",action:(e,t)=>import("./IngTrFeatAccountInvestmentActivitiesBaseView-1b449f96.js")},{path:"/my-accounts/:uniqueID?/time-deposit-account-draw",name:"drawMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDeposit-198088e4.js")},{path:"/my-accounts/:uniqueID?/time-deposit-account-deposit",name:"depositMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDeposit-198088e4.js")},{path:"/my-accounts/time-deposit-account-draw/confirm",name:"drawMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDepositConfirm-e410036e.js")},{path:"/my-accounts/time-deposit-account-deposit/confirm",name:"depositMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDepositConfirm-e410036e.js")},{path:"/my-accounts/time-deposit-account-draw/execute",name:"drawMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDepositExecute-69861d13.js")},{path:"/my-accounts/time-deposit-account-deposit/execute",name:"depositMoney",component:"ing-tr-feat-time-deposit-account-draw-deposit-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTimeDepositAccountDrawDepositExecute-69861d13.js")}]};var rr={routes:[{path:"/payments",name:"payments",mainFlow:!0,component:"ing-tr-feat-payments",sideActions:{[os.ADDITIONAL]:[Ki.MyAutomaticPayments,Ki.PaymentHistory]},action:(e,t)=>import("./IngTrFeatPayments-6b3dd8f3.js")},{path:"/bill-payment",name:"billPayments",component:"ing-tr-feat-bill-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillPayment-ed187047.js")},{path:"/bill-payment/details",name:"billPayments",component:"ing-tr-feat-bill-payment-details",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillPaymentDetails-cd0f983f.js")},{path:"/bill-payment/execute",name:"billPayments",component:"ing-tr-feat-bill-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillPaymentExecute-5624b281.js")},{path:"/bill-payment/confirm",name:"billPayments",component:"ing-tr-feat-bill-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillPaymentConfirm-18f5cbb7.js")},{path:"/payments/loan-payment/choice",name:"loanPayments",component:"ing-tr-feat-loan-payment-choice",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLoanPaymentChoice-01ffdd47.js")},{path:"/payments/loan-payment/confirm",name:"loanPayments",component:"ing-tr-feat-loan-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLoanPaymentConfirm-3ddd96d7.js")},{path:"/payments/loan-payment/execute",name:"loanPayments",component:"ing-tr-feat-loan-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLoanPaymentExecute-c37c76a2.js")},{path:"/games-of-chance",name:"gamesOfChance",component:"ing-tr-feat-games-of-chance",singleColumn:!0,action:(e,t)=>import("./IngTrFeatGamesOfChance-b8bf83da.js")},{path:"/games-of-chance/confirm",name:"gamesOfChance",component:"ing-tr-feat-games-of-chance-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatGamesOfChanceConfirm-1987e442.js")},{path:"/games-of-chance/execute",name:"gamesOfChance",component:"ing-tr-feat-games-of-chance-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatGamesOfChanceExecute-15a03f74.js")},{path:"/corporate-payments/osym",name:"osymPayments",component:"ing-tr-feat-osym-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOsymPayment-e57993b8.js")},{path:"/corporate-payments/osym/account-selection",name:"osymPayments",component:"ing-tr-osym-payment-account-selection",singleColumn:!0,action:(e,t)=>
1879import("./IngTrFeatOsymPaymentAccountSelection-b58a2d29.js")},{path:"/corporate-payments/osym/confirm",name:"osymPayments",component:"ing-tr-osym-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOsymPaymentConfirm-6f78c7e7.js")},{path:"/corporate-payments/osym/execute",name:"osymPayments",component:"ing-tr-osym-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOsymPaymentExecute-7fbadb2b.js")},{path:"/corporate-payments/sgk",name:"sgkPayments",component:"ing-tr-feat-sgk-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSgkPayment-90e899df.js")},{path:"/corporate-payments/sgk/choice",name:"sgkPayments",component:"ing-tr-feat-sgk-payment-choice",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSgkPaymentChoice-f7f6562b.js")},{path:"/corporate-payments/sgk/confirm",name:"sgkPayments",component:"ing-tr-feat-sgk-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSgkPaymentConfirm-44066a14.js")},{path:"/corporate-payments/sgk/execute",name:"sgkPayments",component:"ing-tr-feat-sgk-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSgkPaymentExecute-fc3004c4.js")},{path:"/corporate-payments",name:"corporatePayments",component:"ing-tr-feat-corporate-payments",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCorporatePayments-b2c4e516.js")},{path:"/card-payments",name:"cardPayments",component:"ing-tr-card-payments-start",singleColumn:!0,action:(e,t)=>import("./IngTrCardPaymentsStart-d8d762cf.js")},{path:"/card-payments/own-card-payments/selection/:id?",name:"cardPayments.ownCardPayments",component:"ing-tr-own-cards-payment-selection",singleColumn:!0,action:(e,t)=>import("./IngTrOwnCardsPaymentSelection-406bf6eb.js")},{path:"/card-payments/other-card-payments/selection",name:"cardPayments.otherCardPayments",component:"ing-tr-other-cards-payment-selection",singleColumn:!0,action:(e,t)=>import("./IngTrOtherCardsPaymentSelection-af91b0bf.js")},{path:"/card-payments/other-card-payments/confirm",name:"cardPayments.otherCardPayments",component:"ing-tr-other-cards-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrOtherCardsPaymentConfirm-3bd9c12d.js")},{path:"/card-payments/other-card-payments/execute",name:"cardPayments.otherCardPayments",component:"ing-tr-other-cards-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrOtherCardsPaymentExecute-973426a4.js")},{path:"/card-payments/own-card-payments/confirm/:id?",name:"cardPayments.ownCardPayments",component:"ing-tr-cards-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrCardPaymentsConfirm-2ef3415c.js")},{path:"/card-payments/own-card-payments/execute",name:"cardPayments.ownCardPayments",component:"ing-tr-cards-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrCardPaymentsExecute-ca0df8fb.js")},{path:"/mobile-top-up-payment",name:"mobileTopupPayment",component:"ing-tr-feat-mobile-topup-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMobileTopupPayment-ba999f22.js")},{path:"/mobile-top-up-payment/confirm",name:"mobileTopupPayment",component:"ing-tr-feat-mobile-topup-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMobileTopupPaymentConfirm-299699c4.js")},{path:"/mobile-top-up-payment/execute",name:"mobileTopupPayment",component:"ing-tr-feat-mobile-topup-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMobileTopupPaymentExecute-2427f298.js")},{path:"/oft-list",name:"oftList",component:"ing-tr-feat-oft-list",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOftListView-9de908e4.js")},{path:"/oft-list/detail",name:"oftList.oftDetail",component:"ing-tr-feat-oft-detail",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOftDetailView-bf0e0a81.js")},{path:"/payment-history",name:"paymentHistory",component:"ing-tr-feat-payment-history",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPaymentHistory-850742ba.js")},{path:"/payments-recorded",name:"paymentsRecorded",component:"ing-tr-feat-payments-recorded",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPaymentsRecorded-e055706c.js")},{path:"/corporate-payments/donation",name:"corporatePayments.donationPayments",component:"ing-tr-donation-payment",singleColumn:!0,action:(e,t)=>import("./IngTrDonationPayment-be31240d.js")},{path:"/corporate-payments/donation/choice",name:"corporatePayments.donationPayments",component:"ing-tr-donation-payment-choice",singleColumn:!0,action:(e,t)=>
1879import("./IngTrDonationPaymentChoice-bfe19d53.js")},{path:"/corporate-payments/donation/confirm",name:"corporatePayments.donationPayments",component:"ing-tr-donation-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrDonationPaymentConfirm-6a4b5b3c.js")},{path:"/corporate-payments/donation/execute",name:"corporatePayments.donationPayments",component:"ing-tr-donation-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrDonationPaymentExecute-ca21b8bc.js")},{path:"/payments/tax-payment",name:"taxPayments",component:"ing-tr-feat-tax-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTaxPayment-e839a7ad.js")},{path:"/payments/tax-payment/choice",name:"taxPayments",component:"ing-tr-feat-tax-payment-choice",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTaxPaymentChoice-e727cb6d.js")},{path:"/payments/tax-payment/confirm",name:"taxPayments",component:"ing-tr-feat-tax-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTaxPaymentConfirm-0a1a8a80.js")},{path:"/payments/tax-payment/execute",name:"taxPayments",component:"ing-tr-feat-tax-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTaxPaymentExecute-3bac2d39.js")}]};var or={routes:[{path:"/transfers",name:"transfers",component:"ing-tr-feat-transfers",mainFlow:!0,sideActions:{[os.ADDITIONAL]:[Ki.Orders]},action:(e,t)=>import("./IngTrFeatTransfers-6b50d477.js")},{path:"/money-transfer-registered",name:"moneyTransferRegistered",component:"ing-tr-feat-money-transfer-registered",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferRegistered-22a0e31f.js")},{path:"/money-transfer-registered/add",name:"moneyTransferRegistered",component:"ing-tr-feat-money-transfer-registered-add",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferRegisteredAdd-e0b813d5.js")},{path:"/money-transfer-registered/update",name:"moneyTransferRegistered",component:"ing-tr-feat-money-transfer-registered-update",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferRegisteredUpdate-6abd14a9.js")},{path:"/transfers/virement/:transferType?/:beneficiaryId?",name:"moneyTransferVirement",component:"ing-tr-feat-money-transfer-virement",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferVirement-8f9db0e6.js")},{path:"/transfers/virement-confirm",name:"moneyTransferVirement",component:"ing-tr-feat-money-transfer-virement-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferVirementConfirm-04828144.js")},{path:"/transfers/virement-execute",name:"moneyTransferVirement",component:"ing-tr-feat-money-transfer-virement-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferVirementExecute-5e0e2191.js")},{path:"/transfers/iban/:transferType?/:beneficiaryId?",name:"moneyTransferToIban",component:"ing-tr-feat-money-transfer-to-iban",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferToIBAN-e8f4e7d8.js")},{path:"/transfers/iban-confirm",name:"moneyTransferToIban",component:"ing-tr-feat-money-transfer-to-iban-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferToIBANConfirm-c693449f.js")},{path:"/transfers/iban-execute",name:"moneyTransferToIban",component:"ing-tr-feat-money-transfer-to-iban-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferToIBANExecute-a22b2ddb.js")},{path:"/transfers/account/:transferType?/:beneficiaryId?",name:"moneyTransferToAccount",component:"ing-tr-feat-account-transaction",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountTransaction-bf1ba4d2.js")},{path:"/transfers/account-confirm",name:"moneyTransferToAccount",component:"ing-tr-feat-account-transaction-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountTransactionConfirm-759c4c01.js")},{path:"/transfers/account-execute",name:"moneyTransferToAccount",component:"ing-tr-feat-account-transaction-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountTransactionExecute-2ca72761.js")},{path:"/transfers/kolas",name:"kolasTransfer",component:"ing-tr-feat-money-transfer-kolas",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferKolas-452c3af6.js")},{path:"/transfers/kolas/confirm",name:"kolasTransfer",component:"ing-tr-feat-money-transfer-kolas-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferKolasConfirm-f0cd3f14.js")},{path:"/transfers/kolas/execute",name:"kolasTransfer",component:"ing-tr-feat-money-transfer-kolas-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferKolasExecute-134727fe.js")},{path:"/transfers/swift/:transferSubType?/:beneficiaryId?",name:"swiftTransfer",component:"ing-tr-feat-swift-transaction",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSwiftTransaction-0362e61c.js")},{path:"/transfers/swift-confirm",name:"swiftTransfer",component:"ing-tr-feat-swift-transaction-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSwiftTransactionConfirm-fcac566e.js")},{path:"/transfers/swift-execute",name:"swiftTransfer",component:"ing-tr-feat-swift-transaction-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSwiftTransactionExecute-d523b987.js")},{path:"/money-transfer/transaction-orders",name:"moneyTransferTransactionOrders",component:"ing-tr-feat-money-transfer-transaction-orders",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferTransactionOrders-db2cff19.js")},{path:"/money-transfer/regular-orders/detail",name:"moneyTransferTransactionOrders.transactionOrdersDetail",component:"ing-tr-feat-money-transfer-regular-orders-detail",singleColumn:!0,action:(e,t)=>import("./RegularOrdersDetail-8f416a3e.js")},{path:"/transfers/cardno/:transferType?/:beneficiaryId?",name:"moneyTransferCardNo",component:"ing-tr-feat-money-transfer-cardno",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferCardNo-182b806d.js")},{path:"/transfers/cardno-confirm",name:"moneyTransferCardNo",component:"ing-tr-feat-money-transfer-cardno-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferCardNoConfirm-ea0aabe2.js")},{path:"/transfers/cardno-execute",name:"moneyTransferCardNo",component:"ing-tr-feat-money-transfer-cardno-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferCardNoExecute-a55b08da.js")},{path:"transfers/repeatTransfer",name:"moneyTransferRepeat",component:"ing-tr-feat-money-transfer-repeat",singleColumn:!0,action:(e,t)=>import("./IngTrFeatMoneyTransferRepeat-d353a73f.js")}]};var cr={routes:[{path:"/profile-settings",name:"profileSettings",component:"ing-tr-profile-settings",mainFlow:!0,sideActions:{[os.ADDITIONAL]:[Ki.EDevlet]},action:(e,t)=>import("./IngTrFeatProfileView-69b6f478.js")},{path:"/profile-settings/auth-settings",name:"profileAuthSettings",component:"ing-tr-auth-settings",singleColumn:!0,action:(e,t)=>import("./IngTrAuthSettings-64810c6d.js")},{path:"/profile-settings/auth-settings/confirm",name:"profileAuthSettings",component:"ing-tr-auth-settings-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrAuthSettingsConfirm-b7bb118b.js")},{path:"/profile-settings/auth-settings/execute",name:"profileAuthSettings",component:"ing-tr-auth-settings-execute",singleColumn:!0,action:(e,t)=>import("./IngTrAuthSettingsExecute-26a97867.js")},{path:"/profile-settings/open-banking",name:"profileOpenBankingSettings",component:"ing-tr-feat-open-banking-permissions",singleColumn:!0,action:(e,t)=>import("./IngTrFeatOpenBankingPermissions-40d63ece.js")},{path:"profile-settings/password-operations",name:"profilePassword",component:"ing-tr-feat-profile-password",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProfilePassword-ed2963cf.js")},{path:"profile-settings/internet-mobile-password",name:"internetmobilebankingpassword.passwordOperations.internetmobilebanking",component:"ing-tr-feat-internet-mobile-banking-password",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInternetMobileBankingPassword-f39325fd.js")},{path:"profile-settings/telephone-password",name:"telephonebankingpassword.passwordOperations.telephonebanking",component:"ing-tr-feat-telephone-banking-password",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTelephoneBankingPassword-6c783df5.js")},{path:"profile-info",name:"profileInfo",component:"ing-tr-feat-profile-info",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProfileInfo-f0b04fc9.js")},{path:"/profile-info/person",name:"profileInfoPerson",component:"ing-tr-feat-person-info",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPersonInfo-1a2a6a71.js")},{path:"/profile-info/person/confirm",name:"profileInfoPerson",component:"ing-tr-feat-person-info-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPersonInfoConfirm-7dde4af5.js")},{path:"/profile-info/person/execute",name:"profileInfoPerson",component:"ing-tr-feat-person-info-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPersonInfoExecute-83fa7b44.js")},{path:"/profile-info/address/add",name:"profileInfoAddress",component:"ing-tr-feat-add-address",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAddAddress-7e33eb79.js")},{path:"/profile-info/address/add/confirm",name:"profileInfoAddress",component:"ing-tr-feat-add-address-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAddAddressConfirm-fd69173b.js")},{path:"/profile-info/address/add/execute",name:"profileInfoAddress",component:"ing-tr-feat-add-address-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAddAddressExecute-3d79b8da.js")},{path:"/profile-info/address",name:"profileInfoAddress",component:"ing-tr-profile-addresses",singleColumn:!0,action:(e,t)=>import("./ProfileAddresses-f60674b3.js")},{path:"/profile-info/contact-informations",name:"profileInfoContact",component:"ing-tr-profile-contact-infos",singleColumn:!0,action:(e,t)=>import("./IngTrProfileContactInfos-641315da.js")},{path:"/profile-info/contact-informations/add",name:"profileInfoContact",component:"ing-tr-profile-add-contact-info",singleColumn:!0,action:(e,t)=>import("./IngTrProfileAddContactInfo-cb3ebb35.js")},{path:"/profile-info/contact-informations/edit",name:"profileInfoContact",component:"ing-tr-profile-edit-contact-info",singleColumn:!0,action:(e,t)=>import("./IngTrProfileEditContactInfo-e1e7b20a.js")},{path:"/profile-info/contact-informations/confirm",name:"profileInfoContact",component:"ing-tr-profile-contact-info-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrProfileContactConfirm-e1b14cdf.js")},{path:"/profile-info/contact-informations/execute",name:"profileInfoContact",component:"ing-tr-profile-contact-info-execute",singleColumn:!0,action:(e,t)=>import("./IngTrProfileContactExecute-68398608.js")},{path:"/profile-settings/communication-preference",name:"profileCommunicationPreference",component:"ing-tr-communication-preference",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCommunicationPreference-96ae24e2.js")},{path:"/profile-settings/communication-preference/investment/:statement",name:"profileCommunicationPreference",component:"ing-tr-communication-preference",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCommunicationPreference-96ae24e2.js")},{path:"/profile-settings/communication-preference/card-settings/:statement",name:"profileCommunicationPreference",component:"ing-tr-communication-preference",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCommunicationPreference-96ae24e2.js")},{path:"/profile-settings/communication-preference/confirm",name:"profileCommunicationPreference",component:"ing-tr-communication-preference-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCommunicationPreferenceConfirm-2c82dcad.js")},{path:"/profile-settings/communication-preference/execute",name:"profileCommunicationPreference",component:"ing-tr-communication-preference-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCommunicationPreferenceExecute-b7d73355.js")},{path:"/profile-settings/ip-addresses",name:"profileIpSetting",component:"ing-tr-profile-ip-addresses",singleColumn:!0,action:(e,t)=>import("./IngTrProfileIpAddresses-357a954d.js")},{path:"profile-settings/active-devices",name:"profileActiveDevices",component:"ing-tr-profile-active-devices",singleColumn:!0,action:(e,t)=>import("./IngTrProfileActiveDevices-36234e6a.js")},{path:"/profile-settings/profile-ip-address/add",name:"profileIpSetting",component:"ing-tr-profile-ip-address-add",singleColumn:!0,action:(e,t)=>import("./IngTrProfileIpAddressAdd-c2c65b42.js")},{path:"/profile-settings/profile-ip-address/add/execute",name:"profileIpSetting",component:"ing-tr-profile-ip-address-add-execute",singleColumn:!0,action:(e,t)=>
1879import("./IngTrProfileIpAddressAddExecute-bd9e0682.js")},{path:"/profile-settings/datetime-restrictions",name:"profileDateTimeRestriction",component:"ing-tr-feat-access-datetime-restriction",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccessDateTimeRestriction-c63b094c.js")},{path:"/profile-settings/day-restriction/add",name:"profileDayRestrictionAdd",component:"ing-tr-feat-day-restriction-add",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDayRestrictionAdd-d7713e12.js")},{path:"/profile-settings/day-restriction/add/confirm",name:"profileDayRestrictionAdd",component:"ing-tr-feat-day-restriction-add-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDayRestrictionAddConfirm-0ef35cd7.js")},{path:"/profile-settings/day-restriction/add/execute",name:"profileDayRestrictionAdd",component:"ing-tr-feat-day-restriction-add-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDayRestrictionAddExecute-79c041ce.js")},{path:"/profile-settings/date-restriction/add",name:"profileDateRestrictionAdd",component:"ing-tr-feat-date-restriction-add",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDateRangeRestrictionAdd-807d6ac3.js")},{path:"/profile-settings/date-restriction/add/confirm",name:"profileDateRestrictionAdd",component:"ing-tr-feat-date-restriction-add-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDateRangeRestrictionAddConfirm-d42e0f1c.js")},{path:"/profile-settings/date-restriction/add/execute",name:"profileDateRestrictionAdd",component:"ing-tr-feat-date-restriction-add-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDateRangeRestrictionAddExecute-ab6ba0d7.js")},{path:"/profile-settings/sms-and-emails",name:"smsAndEmails",component:"ing-tr-feat-sms-and-emails",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSmsAndEmails-66599651.js")},{path:"/profile-settings/sms-and-emails/settings",name:"smsAndEmailsSettings",component:"ing-tr-feat-sms-and-emails-settings",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSmsAndEmailsSettings-21b0bb12.js")},{path:"/profile-settings/sms-and-emails/settings/confirm",name:"smsAndEmailsSettings",component:"ing-tr-feat-sms-and-emails-settings-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSmsAndEmailsSettingsConfirm-4a56df85.js")},{path:"/profile-settings/sms-and-emails/settings/execute",name:"smsAndEmailsSettings",component:"ing-tr-feat-sms-and-emails-settings-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSmsAndEmailsSettingsExecute-9a34c0dd.js")},{path:"/profile-settings/limit-settings/list",name:"profileLimit.limitList",component:"ing-tr-feat-limit-list",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitList-8e1f93e6.js")},{path:"/profile-settings/limit-settings/detail/:transactionName",name:"profileLimit.limitDetail",component:"ing-tr-feat-limit-detail",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitDetail-2bd1be12.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/update",name:"profileLimit.limitUpdate",component:"ing-tr-feat-limit-update",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitUpdate-0b07a993.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/update/confirm",name:"profileLimit.limitUpdate",component:"ing-tr-feat-limit-update-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitUpdateConfirm-c9c10856.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/update/execute",name:"profileLimit.limitUpdate",component:"ing-tr-feat-limit-update-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitUpdateExecute-9c8ba65d.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/:process",name:"profileLimit.limitRestriction",component:"ing-tr-feat-limit-restriction-process-start",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitRestrictionProcessStart-6a6b56db.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/:process/confirm",name:"profileLimit.limitRestriction",component:"ing-tr-feat-limit-restriction-process-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitRestrictionProcessConfirm-ee78204e.js")},{path:"/profile-settings/limit-settings/detail/:transactionName/:process/execute",name:"profileLimit.limitRestriction",component:"ing-tr-feat-limit-restr
1879iction-process-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLimitRestrictionProcessExecute-97e57876.js")},{path:"/profile-settings/notifications",name:"profileNotifications",component:"ing-tr-feat-profile-notifications",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProfileNotificationsView-a7fc9156.js")},{path:"/profile-settings/notification/detail",name:"profileNotificationDetail",component:"ing-tr-feat-profile-notification-detail",singleColumn:!0,action:(e,t)=>import("./IngTrFeatNotificationDetail-e29fa3c7.js")},{path:"/profile-info/meet",name:"profileInfoMeet",component:"ing-tr-feat-know-you",singleColumn:!0,action:(e,t)=>import("./IngTrFeatKnowYou-824e612a.js")},{path:"/profile-info/meet/confirm",name:"profileInfoMeet",component:"ing-tr-feat-know-you-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatKnowYouConfirm-491d9e54.js")},{path:"/profile-info/meet/execute",name:"profileInfoMeet",component:"ing-tr-feat-know-you-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatKnowYouExecute-5366157f.js")},{path:"/contracts",name:"contracts",component:"ing-tr-feat-contracts",singleColumn:!0,action:(e,t)=>import("./IngTrFeatContracts-64e882dc.js")},{path:"/kvkk",name:"kvkk",component:"ing-tr-feat-kvkk",action:(e,t)=>import("./IngTrFeatKVKK-17b1e429.js")},{path:"/kvkk/execute",name:"kvkk",component:"ing-tr-feat-kvkk-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatKVKKExecute-ddbed2cc.js")}]};var lr={routes:[{path:"/loans",name:"loans",component:"ing-tr-feat-loans",mainFlow:!0,action:(e,t)=>import("./IngTrFeatLoans-95cc26eb.js")},{path:"/loans/payments/:statement",name:"loans",component:"ing-tr-feat-loans",mainFlow:!0,action:(e,t)=>import("./IngTrFeatLoans-95cc26eb.js")},{path:"/loan/detail",name:"loans.loanDetail",component:"ing-tr-feat-loan-detail",action:(e,t)=>import("./IngTrFeatLoanDetail-0f19bcf8.js")},{path:"/loan/detail/payment-plan",name:"loans.loanDetail.loanPaymentPlan",component:"ing-tr-feat-payment-plan",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPaymentPlan-50264292.js")}]};var dr={routes:[{path:"/insurances",name:"insurances",component:"ing-tr-feat-insurances",mainFlow:!0,action:(e,t)=>import("./index-3f07e452.js")},{path:"/insurances/:uniqueID",name:"insurances.insurancesDetail",component:"ing-tr-feat-insurances-detail",sideActions:{},action:(e,t)=>import("./index-7094b631.js")}]};var ur={routes:[{path:"/individual-retirement-list",name:"individualRetirementList",component:"ing-tr-feat-individual-retirement-list",mainFlow:!0,action:(e,t)=>import("./index-4193fdb2.js")},{path:"/individual-retirement-list/:uniqueID",name:"individualRetirementList.individualRetirementListDetail",component:"ing-tr-feat-individual-retirement-detail",action:(e,t)=>import("./index-13ec6b4b.js")}]};var pr={routes:[{path:"/investment-dashboard",name:"investments",component:"ing-tr-feat-investment-dashboard",sideActions:{[os.EXCHANGE]:!0,[os.ADDITIONAL]:[Ki.OrderDocuments,Ki.InvestmentSettings,Ki.DepositRates,Ki.INGInvestmentAccountOpening]},mainFlow:!0,action:(e,t)=>import("./IngTrFeatInvestmentDashboard-73da022a.js")},{path:"/investments/fund",name:"funds",component:"ing-tr-feat-investments-fund",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFund-a072bfe9.js")},{path:"/investments/fund/buy/confirm",name:"funds",component:"ing-tr-feat-investments-fund-buy-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundBuyConfirm-9448135f.js")},{path:"/investments/fund/sell/confirm",name:"funds",component:"ing-tr-feat-investments-fund-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundSellConfirm-612b646e.js")},{path:"/investments/fund/buy/execute",name:"funds",component:"ing-tr-feat-investments-fund-buy-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundBuyExecute-ad8c7d0e.js")},{path:"/investments/fund/sell/execute",name:"funds",component:"ing-tr-feat-investments-fund-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundSellExecute-39bcf827.js")},{path:"/investments/fund/search-and-analyze",name:"fundSearchAndAnalyze",component:"ing-tr-investments-fund-search-and-analyze-base-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundSearchAndAnalyzeBaseView-09b07441.js")},{path:"/investments/fund/compare",name:"fundCompare",component:"ing-tr-feat-investments-fund-compare-base-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundsCompareBaseView-f8677986.js")},{path:"/investments/fund/orders",name:"funds.fundOrders",component:"ing-tr-feat-investments-fund-orders",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundOrders-6e9046ea.js")},{path:"/investments/fund/cancel",name:"funds.fundOrders",component:"ing-tr-feat-investments-fund-cancel-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundCancelConfirm-54bcd5d3.js")},{path:"/investments/fund/cancel/execute",name:"funds.fundOrders",component:"ing-tr-feat-investments-fund-cancel-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFundCancelExecute-80c2c0ef.js")},{path:"/investments/fund/:processType",name:"funds",component:"ing-tr-feat-investments-fund",singleColumn:!0,action:(e,t)=>import("./IngTrFeatFund-a072bfe9.js")},{path:"/investment-settings",name:"investmentSettings",component:"ing-tr-feat-investment-settings",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentSettings-77a04d34.js")},{path:"/investment-extract-list",name:"investmentExtractList",flowName:"investmentExtractList",component:"ing-tr-feat-investment-extract-list",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentExtractList-47633b5b.js")},{path:"/asset-status-report",name:"assetStatusReport",flowName:"assetStatusReport",component:"ing-tr-feat-asset-status-report",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAssetStatusReport-a6c11344.js")},{path:"/investments/transaction-document",name:"investmentTransactionDocument",component:"ing-tr-feat-investment-transaction-document",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTransactionDocument-d5061ec6.js")},{path:"/investments/contracts",name:"investmentContracts",component:"ing-tr-feat-investment-contracts",singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentContracts-4ff34899.js")},{path:"/investments/transaction-instruction/execute",name:"investmentTransactionDocument",component:"ing-tr-feat-investment-transaction-instruction-execute-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTransactionInstructionExecuteView-1a0739b4.js")},{path:"/investments/exchange/list",name:"exchange",component:"ing-tr-feat-exchange",singleColumn:!0,action:(e,t)=>
1879import("./IngTrFeatExchange-c3009a79.js")},{path:"/investments/exchange/buysell",name:"exchangeBuySell",component:"ing-tr-feat-exchange-buy-sell",singleColumn:!0,action:(e,t)=>import("./IngTrFeatExchangeBuySell-c56ddeff.js")},{path:"/investments/exchange/buysell/chart",name:"exchangeBuySell",component:"ing-tr-feat-exchange-buy-sell-chart",singleColumn:!0,action:(e,t)=>import("./IngTrFeatExchangeBuySellChart-56a4022f.js")},{path:"/investments/exchange/buysell/confirm",name:"exchangeBuySell",component:"ing-tr-feat-exchange-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatExchangeBuySellConfirm-bb25061d.js")},{path:"/investments/exchange/buysell/execute",name:"exchangeBuySell",component:"ing-tr-feat-exchange-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatExchangeBuySellExecute-305e4a78.js")},{path:"/investments/exchange/calculator",name:"exchangeCalculator",component:"ing-tr-feat-exchange-calculator",singleColumn:!0,action:(e,t)=>import("./IngTrFeatExchangeCalculator-3b0a1967.js")},{path:"/investments/stock",name:"stock",component:"ing-tr-feat-investments-stock",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStock-a6400a11.js")},{path:"/investments/stock/buy",name:"stockBuy",component:"ing-tr-feat-investments-stock-buy-sell",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySell-434c80ec.js")},{path:"/investments/stock/sell",name:"stockSell",component:"ing-tr-feat-investments-stock-buy-sell",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySell-434c80ec.js")},{path:"/investments/stock/buy/confirm",name:"stockBuy",component:"ing-tr-feat-investments-stock-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySellConfirm-a874a918.js")},{path:"/investments/stock/sell/confirm",name:"stockSell",component:"ing-tr-feat-investments-stock-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySellConfirm-a874a918.js")},{path:"/investments/stock/buy/execute",name:"stockBuy",component:"ing-tr-feat-investments-stock-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySellExecute-c549de49.js")},{path:"/investments/stock/sell/execute",name:"stockSell",component:"ing-tr-feat-investments-stock-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockBuySellExecute-c549de49.js")},{path:"/investments/stock/chain-order",name:"chainOrder",component:"ing-tr-feat-investments-stock-chain-order",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockChainOrder-4fabbccc.js")},{path:"/investments/stock/chain-order/confirm",name:"chainOrder",component:"ing-tr-feat-investments-stock-chain-order-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockChainOrderConfirm-8afa1fb5.js")},{path:"/investments/stock/chain-order/execute",name:"chainOrder",component:"ing-tr-feat-investments-stock-chain-order-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockChainOrderExecute-6a1bd62d.js")},{path:"/investments/stock/multiple-order",name:"multipleOrder",component:"ing-tr-feat-investments-stock-multiple-order",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockMultipleOrder-c39d7185.js")},{path:"/investments/stock/multiple-order/details",name:"multipleOrder",component:"ing-tr-feat-investments-stock-multiple-order-details",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockMultipleOrderDetails-556a2967.js")},{path:"/investments/stock/multiple-order/confirm",name:"multipleOrder",component:"ing-tr-feat-investments-stock-multiple-order-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockMultipleOrderConfirm-33d198da.js")},{path:"/investments/stock/multiple-order/execute",name:"multipleOrder",component:"ing-tr-feat-investments-stock-multiple-order-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockMultipleOrderExecute-09943002.js")},{path:"/investments/stock/cancel",name:"stockOrders",component:"ing-tr-feat-investments-stock-cancel-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockCancelConfirm-d90f44c9.js")},{path:"/investments/stock/cancel/execute",name:"stockOrders",component:"ing-tr-feat-investments-stock-cancel-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockCancelExecute-eb82703b.js")},{path:"/investments/stock/edit",name:"stockOrders.stockEdit",component:"ing-tr-feat-investments-stock-edit",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockEdit-84c04e89.js")},{path:"/investments/stock/edit/confirm",name:"stockOrders.stockEdit",component:"ing-tr-feat-investments-stock-edit-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockEditConfirm-6a08eb14.js")},{path:"/investments/stock/edit/execute",name:"stockOrders.stockEdit",component:"ing-tr-feat-investments-stock-edit-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockEditExecute-f5d5746a.js")},{path:"/investments/stock/orders",name:"stockOrders",component:"ing-tr-feat-investments-stock-orders",singleColumn:!0,action:(e,t)=>import("./IngTrFeatStockOrders-f92eaed7.js")},{path:"/investments/eurobond",name:"eurobond",component:"ing-tr-feat-investments-eurobond",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEurobondBuySell-f4fbbd91.js")},{path:"/investments/eurobond/buy/confirm",name:"eurobond",component:"ing-tr-feat-investments-eurobond-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEurobondBuySellConfirm-13949ae7.js")},{path:"/investments/eurobond/sell/confirm",name:"eurobond",component:"ing-tr-feat-investments-eurobond-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEurobondBuySellConfirm-13949ae7.js")},{path:"/investments/eurobond/buy/execute",name:"eurobond",component:"ing-tr-feat-investments-eurobond-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEurobondBuySellExecute-c0bf71ae.js")},{path:"/investments/eurobond/sell/execute",name:"eurobond",component:"ing-tr-feat-investments-eurobond-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEurobondBuySellExecute-c0bf71ae.js")},{path:"/register-mkk/execute",name:"registerMKK",component:"ing-tr-feat-register-mkk-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRegisterMKKExecute-10513ecd.js")},{path:"/investments/bill-bond",name:"billBond",component:"ing-tr-feat-investments-bill-bond",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillAndBondBuySell-ea1acab3.js")},{path:"/investments/bill-bond/buy/confirm",name:"billBond",component:"ing-tr-feat-investments-bill-bond-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillAndBondBuySellConfirm-575b41b8.js")},{path:"/investments/bill-bond/sell/confirm",name:"billBond",component:"ing-tr-feat-investments-bill-bond-buy-sell-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillAndBondBuySellConfirm-575b41b8.js")},{path:"/investments/bill-bond/buy/execute",name:"billBond",component:"ing-tr-feat-investments-bill-bond-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillAndBondBuySellExecute-ed8c1a3b.js")},{path:"/investments/bill-bond/sell/execute",name:"billBond",component:"ing-tr-feat-investments-bill-bond-buy-sell-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBillAndBondBuySellExecute-ed8c1a3b.js")},{path:"/investments/public-offering/buy",name:"publicOffering",component:"ing-tr-feat-investments-public-offering-buy",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPublicOffering-8fb30884.js")},{path:"/investments/public-offering/buy/confirm",name:"publicOffering",component:"ing-tr-feat-investments-public-offering-buy-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPublicOfferingConfirm-9eca3c22.js")},{path:"/investments/public-offering/buy/execute",name:"publicOffering",component:"ing-tr-feat-investments-public-offering-buy-execute",singleColumn:!0,action:(e,t)=>
1879import("./IngTrFeatPublicOfferingExecute-2aad8e89.js")},{path:"/investments/public-offering/orders",name:"publicOffering.publicOfferingOrder",component:"ing-tr-feat-investments-public-offering-orders",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPublicOfferingOrders-107cf684.js")},{path:"/investments/public-offering/cancel/confirm",name:"publicOffering.publicOfferingOrder.publicOfferingCancel",component:"ing-tr-feat-investments-public-offering-cancel-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPublicOfferingCancelConfirm-378f8fb8.js")},{path:"/investments/public-offering/cancel/execute",name:"publicOffering.publicOfferingOrder.publicOfferingCancel",component:"ing-tr-feat-investments-public-offering-cancel-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatPublicOfferingCancelExecute-e1c21530.js")},{path:"/investments/repo",name:"repolink",component:"ing-tr-feat-investment-repo",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRepo-3cea445e.js")},{path:"/investments/repo/confirm",name:"repolink",component:"ing-tr-feat-investment-repo-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRepoConfirm-47b8afca.js")},{path:"/investments/repo/execute",name:"repolink",component:"ing-tr-feat-investment-repo-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRepoExecute-cf0693c7.js")},{path:"/investments/viop",name:"viop",component:"ing-tr-feat-investments-viop-start",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopStart-253803a9.js")},{path:"/investments/viop/deposit",name:"viop.deposit",component:"ing-tr-feat-investments-viop-deposit",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopDeposit-455eb98c.js")},{path:"/investments/viop/deposit/confirm",name:"viop.deposit",component:"ing-tr-feat-investments-viop-deposit-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopDepositConfirm-5477bf04.js")},{path:"/investments/viop/deposit/execute",name:"viop.deposit",component:"ing-tr-feat-investments-viop-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopExecute-d950495e.js")},{path:"/investments/viop/withdraw",name:"viop.withdraw",component:"ing-tr-feat-investments-viop-withdraw",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopWithdraw-6738257d.js")},{path:"/investments/viop/withdraw/confirm",name:"viop.withdraw",component:"ing-tr-feat-investments-viop-withdraw-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopWithdrawConfirm-7c2f166e.js")},{path:"/investments/viop/withdraw/execute",name:"viop.withdraw",component:"ing-tr-feat-investments-viop-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatViopExecute-d950495e.js")},{path:"/investments/activities-process-order",name:"investmentActivitiesProcess",component:"ing-tr-feat-investment-activities-process",
1879singleColumn:!0,action:(e,t)=>import("./IngTrFeatInvestmentActivitiesProcess-086836ee.js")},{path:"/investments/process/stock/cancel",name:"investmentActivitiesProcess.orderCancel",component:"ing-tr-feat-process-stock-cancel-confirm-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProcessStockCancelConfirmView-567fc203.js")},{path:"/investments/process/fund/cancel",name:"investmentActivitiesProcess.orderCancel",component:"ing-tr-feat-process-fund-cancel-confirm-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProcessFundCancelConfirmView-92f17b0d.js")},{path:"/investments/process-order/execute",name:"investmentProcessOrderCancel",component:"ing-tr-feat-process-order-execute-view",singleColumn:!0,action:(e,t)=>import("./IngTrFeatProcessOrderExecuteView-f8fa6a49.js")},{path:"/investments/my-assets",name:"investmentAssets",flowName:"investmentAssets",component:"ing-tr-feat-investment-assets",action:(e,t)=>import("./IngTrFeatInvestmentAssets-90689107.js")},{path:"/deposit-rates",name:"depositRates",component:"ing-tr-feat-deposit-rates",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDepositRates-f255b666.js")},{path:"/suitability-questions",name:"suitabilityQuestions",component:"ing-tr-feat-suitability-questions",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSuitabilityQuestions-451a4c76.js")},{path:"/suitability-questions/execute",name:"suitabilityQuestions",component:"ing-tr-feat-suitability-questions-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSuitabilityQuestionsExecute-2cee6dee.js")},{path:"/risk-profile-survey/result",name:"investment.riskProfileSurveyResult",component:"ing-tr-feat-survey-result",singleColumn:!0,action:(e,t)=>import("./IngTrFeatSurveyResult-db7d958d.js")},{path:"/risk-profile-survey/execute",name:"investment.riskProfileSurvey",component:"ing-tr-feat-risk-profile-survey-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRiskProfileSurveyExecute-17c70c3d.js")},{path:"/risk-profile-survey/:transactionType?",name:"investment.riskProfileSurvey",component:"ing-tr-feat-risk-profile-survey",singleColumn:!0,action:(e,t)=>import("./IngTrFeatRiskProfileSurvey-c49c4bd5.js")},{path:"/document/confirm",name:"document",component:"ing-tr-feat-document-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDocumentConfirm-93a40afd.js")},{path:"/document/execute",name:"document",component:"ing-tr-feat-document-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatDocumentExecute-c7511258.js")}]};var mr={routes:[{path:"/e-government",name:"profileSettings",component:"ing-tr-feat-e-government",singleColumn:!0,action:(e,t)=>import("./IngTrFeatEGovernment-8a235138.js")},{path:"/e-government/redirection",name:"profileSettings",component:"ing-tr-feat-e-government-redirection",action:(e,t)=>import("./IngTrFeatEGovernmentRedirection-bb87b635.js")}]};var gr={routes:[{path:"/orange-extra",name:"orangeExtra",component:"ing-tr-feat-orange-extra-dashboard",flexibleColumn:!0,mainFlow:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraDashboard-ec874f0b.js")},{path:"/orange-extra/membership",name:"orangeExtra.membership",component:"ing-tr-feat-orange-extra-membership",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraMembership-59207712.js")},{path:"/orange-extra/earned",name:"orangeExtra.earned",component:"ing-tr-feat-orange-extra-earned",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraEarned-57b2e5cf.js")},{path:"/orange-extra/grade-comparison",name:"orangeExtra.gradeComparison",component:"ing-tr-feat-orange-extra-grade-comparison",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraGradeComparison-81dbea68.js")},{path:"/orange-extra/activities",name:"orangeExtra.activities",component:"ing-tr-feat-orange-extra-activities",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraActivities-0e2d1aaa.js")},{path:"/orange-extra/all-activities",name:"orangeExtra.allActivities",component:"ing-tr-feat-orange-extra-all-activities",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatOrangeExtraAllActivities-e1186a06.js")}]};var hr={routes:[{path:"/my-cards",name:"myCards",flowName:"myCards",component:"ing-tr-feat-card-list",mainFlow:!0,action:(e,t)=>import("./IngTrFeatCardList-7b087ceb.js")},{path:"/my-cards/:cardId/statement-date",name:"cardStatementDate",component:"ing-tr-card-statement-date",singleColumn:!0,action:(e,t)=>import("./IngTrCardStatementDate-760800f3.js")},{path:"/my-cards/statement-date/execute",name:"cardStatementDate",component:"ing-tr-card-statement-date-execute",singleColumn:!0,action:(e,t)=>import("./IngTrCardStatementDateExecute-a11c6f2c.js")},{path:"/my-cards/settings/cardspendingobjection",name:"spendingObjection",component:"ing-tr-card-spending-objection",singleColumn:!0,action:(e,t)=>import("./IngTrCardSpendingObjection-24fec0b0.js")},{path:"/my-cards/:id/card-limit-increase",name:"cardLimitIncrease",component:"ing-tr-card-limit-increase",singleColumn:!0,action:(e,t)=>import("./IngTrCardLimitIncrease-7a42369c.js")},{path:"/my-cards/card-limit-increase/confirm",name:"cardLimitIncrease",component:"ing-tr-card-limit-increase-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrCardLimitIncreaseConfirm-6826f5f1.js")},{path:"/my-cards/card-limit-increase/execute",name:"cardLimitIncrease",component:"ing-tr-card-limit-increase-execute",singleColumn:!0,action:(e,t)=>import("./IngTrCardLimitIncreaseExecute-4549539e.js")},{path:"/my-cards/:id/card-limit-decrease",name:"cardLimitDecrease",component:"ing-tr-card-limit-decrease",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitDecrease-7aae1c61.js")},{path:"/my-cards/:id/card-limit-decrease/confirm",name:"cardLimitDecrease",component:"ing-tr-card-limit-decrease-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitDecreaseConfirm-1a73c2e5.js")},{path:"/my-cards/:id/card-limit-decrease/execute",name:"cardLimitDecrease",component:"ing-tr-card-limit-decrease-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitDecreaseExecute-8b8a2b5f.js")}
1879,{path:"/my-cards/:id/settings/account-add-remove",name:"cardAccountAddRemove",component:"ing-tr-feat-account-add-remove",singleColumn:!0,action:(e,t)=>import("./IngTrFeatAccountAddRemove-9e6091ae.js")},{path:"/my-cards/:usageType/:id/settings",name:"cardUsageSettings.expenseSettings",component:"ing-tr-card-usage-settings",singleColumn:!0,action:(e,t)=>import("./IngTrCardUsageSettings-cee37e27.js")},{path:"/my-cards/:usageType/:id/settings/confirm",name:"cardUsageSettings.expenseSettings",component:"ing-tr-card-usage-settings-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrCardUsageSettingsConfirm-bc8781bf.js")},{path:"/my-cards/:usageType/:id/settings/execute",name:"cardUsageSettings.expenseSettings",component:"ing-tr-card-usage-settings-execute",singleColumn:!0,action:(e,t)=>import("./IngTrCardUsageSettingsExecute-a7662253.js")},{path:"/my-cards/activities/:id",name:"cardActivities",component:"ing-tr-feat-card-activities-view",action:(e,t)=>import("./IngTrFeatCardActivitiesView-4dfbb011.js")},{path:"/my-cards/activities/debit/:id",name:"debitCardActivities",component:"ing-tr-feat-debit-card-activities-view",action:(e,t)=>import("./IngTrFeatDebitCardActivitiesView-d4748bab.js")},{path:"/my-cards/bulk-statements",name:"bulkStatement",component:"ing-tr-feat-bulk-statements",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBulkStatements-35da573c.js")},{path:"/my-cards/bulk-statements/new-request",name:"bulkStatement",component:"ing-tr-feat-bulk-statements-new-request",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBulkStatementsStart-2bc2de31.js")},{path:"/my-cards/bulk-statements/confirm",name:"bulkStatement",component:"ing-tr-feat-bulk-statements-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBulkStatementsConfirm-020f4e72.js")},{path:"/my-cards/bulk-statements/execute",name:"bulkStatement",component:"ing-tr-feat-bulk-statements-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatBulkStatementsExecute-927b43f4.js")},{path:"/my-cards/virtual/:process/execute",name:"virtualCard",component:"ing-tr-feat-virtual-card-process-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatVirtualCardProcessExecute-983f90cc.js")},{path:"/my-cards/virtual/:cardId?/:process/confirm",name:"virtualCard",component:"ing-tr-feat-virtual-card-process-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatVirtualCardProcessConfirm-6e83a85b.js")},{path:"/my-cards/virtual/:cardId?/:process",name:"virtualCard",component:"ing-tr-feat-virtual-card-process-start",singleColumn:!0,action:(e,t)=>import("./IngTrFeatVirtualCardProcessStart-c5e4cfa8.js")},{path:"/my-cards/change-password/:cardId?",name:"passwordOperations",component:"ing-tr-feat-change-card-password",singleColumn:!0,action:(e,t)=>import("./IngTrFeatChangeCardPassword-fabc7f4e.js")},{path:"/my-cards/change-password/confirm/:cardId",name:"passwordOperations",component:"ing-tr-feat-change-card-password-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatChangeCardPasswordConfirm-a1fae8c1.js")},{path:"/my-cards/change-password/execute/:cardId",name:"passwordOperations",component:"ing-tr-feat-change-card-password-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatChangeCardPasswordExecute-47ac4579.js")},{path:"/my-cards/:id/card-automatic-payment",name:"cardAutomaticPayment",component:"ing-tr-feat-card-automatic-payment",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardAutomaticPayment-03f64542.js")},{path:"/my-cards/card-automatic-payment/confirm",name:"cardAutomaticPayment",component:"ing-tr-feat-card-automatic-payment-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardAutomaticPaymentConfirm-22f23bf1.js")},{path:"/my-cards/card-automatic-payment/execute",name:"cardAutomaticPayment",component:"ing-tr-feat-card-automatic-payment-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardAutomaticPaymentExecute-7502cf5f.js")},{path:"/my-cards/:id/card-limit-operation",name:"cardLimitOperation",component:"ing-tr-feat-card-limit-operation",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitOperation-21edc0c2.js")},{path:"/my-cards/card-limit-operation/confirm",name:"cardLimitOperation",component:"ing-tr-feat-card-limit-operation-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitOperationConfirm-b7626b06.js")},{path:"/my-cards/card-limit-operation/execute",name:"cardLimitOperation",component:"ing-tr-feat-card-limit-operation-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardLimitOperationExecute-346b71b6.js")},{path:"/my-cards/:id?/settings",name:"cardSettings",component:"ing-tr-feat-card-settings",action:(e,t)=>import("./IngTrFeatCardSettings-7d1f1606.js")},{path:"/my-cards/:id",name:"cardDetail",flowName:"cardDetail",component:"ing-tr-feat-card-detail",action:(e,t)=>import("./IngTrFeatCardDetail-2b3ef880.js")}
1879,{path:"/my-cards/:id/settings/slip-references",name:"slipPreferences",component:"ing-tr-feat-card-slip-preferences",flexibleColumn:!0,action:(e,t)=>import("./IngTrFeatCardSlipPreferences-684e1a90.js")},{path:"/my-cards/:id/transaction-detail-information",name:"transactionDetailInformation",component:"ing-tr-feat-card-transaction-detail-information",action:(e,t)=>import("./IngTrFeatCardTransactionDetailInformation-4b877309.js")},{path:"/my-cards/lost-stolen/:id?",name:"reportLostStolen",component:"ing-tr-feat-lost-stolen",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLostStolen-7fde0156.js")},{path:"/my-cards/lost-stolen/:id?/card-preferences",name:"reportLostStolen",component:"ing-tr-feat-lost-stolen-card-preferences",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLostStolenCardPreferences-53e42187.js")},{path:"/my-cards/lost-stolen/:id?/address-selection",name:"reportLostStolen",component:"ing-tr-feat-lost-stolen-address-selection",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLostStolenAddressSelection-51c503d2.js")},{path:"/my-cards/lost-stolen/:id?/confirm",name:"reportLostStolen",component:"ing-tr-feat-lost-stolen-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLostStolenConfirm-2fe360c0.js")},{path:"/my-cards/lost-stolen/:id?/execute",name:"reportLostStolen",component:"ing-tr-feat-lost-stolen-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatLostStolenExecute-2d42ec27.js")},{path:"/my-cards/temporary-cancellation/:id?",name:"temporaryCancellation",component:"ing-tr-feat-temporary-cancellation",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTemporaryCancellation-43906f5d.js")},{path:"/my-cards/temporary-cancellation/:id?/confirm",name:"temporaryCancellation",component:"ing-tr-feat-temporary-cancellation-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTemporaryCancellationConfirm-8bc203de.js")},{path:"/my-cards/temporary-cancellation/:id?/execute",name:"temporaryCancellation",component:"ing-tr-feat-temporary-cancellation-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatTemporaryCancellationExecute-3d1f51e6.js")},{path:"/my-cards/:id/card-daily-operation-limit-list",name:"cardDailyOperationLimitList",component:"ing-tr-feat-card-daily-operation-limit-list",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardDailyOperationLimitList-8a4cded5.js")},{path:"/my-cards/:id/card-daily-operation-limit-list/:operationCode",name:"cardDailyOperationLimit",component:"ing-tr-feat-card-daily-operation-limit",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardDailyOperationLimit-4c693512.js")},{path:"/my-cards/card-daily-operation-limit-list/:operationCode/confirm",name:"cardDailyOperationLimit",component:"ing-tr-feat-card-daily-operation-limit-confirm",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardDailyOperationLimitConfirm-86d3f603.js")},{path:"/my-cards/card-daily-operation-limit-list/:operationCode/execute",name:"cardDailyOperationLimit",component:"ing-tr-feat-card-daily-operation-limit-execute",singleColumn:!0,action:(e,t)=>import("./IngTrFeatCardDailyOperationLimitExecute-159c3fdf.js")}]},fr=m` 1880 :host { 1881 display: block; 1882 } 1883 1884 .app-main { 1885 position: relative; 1886 top: ${be}; 1887 } 1888 1889 .app-grid { 1890 max-width: 1280px; 1891 min-width: 320px; 1892 } 1893 1894 @media screen and (min-width: 960px) { 1895 .app-grid-spacing { 1896 padding-top: ${be}; 1897 } 1898 1899 .center-column { 1900 padding-left: ${be}; 1901 padding-right: ${be}; 1902 } 1903 } 1904 1905 .grid-row { 1906 box-sizing: border-box; 1907 display: flex; 1908 flex: 0 1 auto; 1909 flex-flow: row wrap; 1910 } 1911 1912 .center-column, 1913 .left-column, 1914 .right-column { 1915 box-sizing: border-box; 1916 } 1917 1918 .right-column { 1919 margin-top: var(--right-column-mt, 50px); 1920 } 1921 1922 .right-column, 1923 .left-column { 1924 padding-left: ${be}; 1925 padding-right: ${be}; 1926 } 1927 1928 @media (max-width: 960px) { 1929 .right-column { 1930 display: none; 1931 } 1932 } 1933 1934 @media (min-width: 720px) { 1935 .grid-container { 1936 padding-left: ${be}; 1937 padding-right: ${be}; 1938 } 1939 } 1940 1941 @media (max-width: 600px) { 1942 .grid-container, 1943 .login-grid-container { 1944 padding-left: 0px; 1945 padding-right: 0px; 1946 } 1947 } 1948 1949 @media (min-width: 600px) { 1950 .grid-container { 1951 box-sizing: border-box; 1952 margin-right: auto; 1953 margin-left: auto; 1954 padding-left: ${q}; 1955 padding-right: ${q}; 1956 width: auto; 1957 } 1958 } 1959`;class br extends(I(x($))){static get styles(){return m` 1960 ${Qe} :host { 1961 display: block; 1962 } 1963 1964 .header { 1965 margin-top: 0px; 1966 display: flex; 1967 align-items: center; 1968 } 1969 1970 .errorText { 1971 ${E()} 1972 } 1973 1974 .errorIcon { 1975 width: ${$e}; 1976 height: ${$e}; 1977 } 1978 1979 .infoText { 1980 ${Ee()} 1981 } 1982 1983 .information { 1984 margin-left: ${N}; 1985 } 1986 `}static get scopedElements(){return{"ing-tr-card":R,"ing-icon":P}}static get localizeNamespaces(){return[{"ing-tr-feat-not-found-view":e=>{switch(e){case"en-GB":case"en-US":case"en":return import("./en-568a7685.js");default:return import("./tr-66671560.js")}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}render(){return u` 1987 <ing-tr-card> 1988 <div slot="header" class="header"> 1989 <ing-icon 1990 class="errorIcon" 1991 icon-id="ing:filledin-notification:notificationError" 1992 ></ing-icon> 1993 <div class="information"> 1994 <div class="errorText">${this.msgLit("ing-tr-feat-not-found-view:errorText")}</div> 1995 <div class="infoText">${this.msgLit("ing-tr-feat-not-found-view:infoText")}</div> 1996 </div> 1997 </div> 1998 </ing-tr-card> 1999 `}}const yr=m` 2000 * { 2001 -webkit-user-select: text; 2002 -khtml-user-select: text; 2003 -moz-user-select: -moz-none; 2004 -o-user-select: text; 2005 user-select: text; 2006 } 2007 :host { 2008 display: block; 2009 } 2010 2011 .help-container { 2012 margin-top: ${N}; 2013 } 2014 2015 .soft-help-container { 2016 margin-bottom: ${N}; 2017 } 2018 2019 .mb-20: not(: last-child) { 2020 margin-bottom: ${y}; 2021 } 2022 2023 .link-btn { 2024 cursor: pointer; 2025 padding: 0; 2026 margin: ${N} 0; 2027 } 2028 2029 .sim-card-block-btn { 2030 margin-bottom: 0; 2031 margin-top: ${A}; 2032 } 2033 2034 .link-btn:hover, 2035 .link-btn:active, 2036 .link-btn:hover:focus, 2037 .link-btn:active:focus, 2038 .link-btn:hover:focus-within, 2039 .link-btn:active:focus-within { 2040 background-color: transparent; 2041 border-color: transparent; 2042 box-shadow: none; 2043 } 2044 2045 .wfull { 2046 width: 100%; 2047 } 2048 .orText { 2049 margin-left: ${L}; 2050 margin-right: ${L}; 2051 width: 150px; 2052 text-align: center; 2053 font-size: ${we}; 2054 color: ${U}; 2055 } 2056 .orDiv { 2057 margin-top: ${N}; 2058 margin-bottom: ${N}; 2059 display: flex; 2060 align-items: center; 2061 } 2062 .header { 2063 background-color: ${W}; 2064 height: ${me}; 2065 min-height: ${me}; 2066 box-sizing: border-box; 2067 ${ge()} 2068 } 2069 .header__content { 2070 max-width: ${he(fe)}px; 2071 margin: 0 auto; 2072 padding: 0 ${N}; 2073 } 2074 .ing-logo { 2075 display: inline-block; 2076 height: ${me}; 2077 width: auto; 2078 } 2079 .welcome-message { 2080 font-size: ${ve}; 2081 text-align: right; 2082 color: ${ye}; 2083 line-height: ${me}; 2084 } 2085 .show-mobile { 2086 display: none; 2087 } 2088 .space { 2089 margin-top: ${A}; 2090 } 2091 .space-12 { 2092 margin-top: ${be}; 2093 } 2094 #user-code { 2095 margin-bottom: ${A}; 2096 } 2097 .channeltype { 2098 color: ${ye}; 2099 cursor: pointer; 2100 height: 53px; 2101 width: 160px; 2102 display: flex; 2103 align-items: center; 2104 justify-content: center; 2105 padding-left: ${N}; 2106 padding-right: ${N}; 2107 } 2108 .channeltype.active { 2109 ${B()} 2110 border-bottom: 4px solid ${se}; 2111 } 2112 .channeltype:first-of-type { 2113 margin-left: ${N}; 2114 } 2115 .input-label { 2116 text-align: right; 2117 line-height: 1.5; 2118 color: ${ye}; 2119 font-size: ${Xe}; 2120 margin-top: ${q}; 2121 margin-bottom: 0; 2122 } 2123 .line { 2124 width: 100%; 2125 height: 1px; 2126 background-color: ${K}; 2127 } 2128 .footer-text { 2129 text-align: center; 2130 ${E()} 2131 } 2132 .icon-line { 2133 width: ${N}; 2134 height: ${N}; 2135 fill: ${se}; 2136 margin-bottom: -2px; 2137 margin-left: ${be}; 2138 } 2139 .icon-playstore { 2140 height: ${ue}; 2141 width: 136px; 2142 margin-right: ${N}; 2143 } 2144 .icon-appstore { 2145 height: ${ue}; 2146 width: 136px; 2147 margin-right: ${N}; 2148 } 2149 .icon-huaweistore { 2150 height: ${ue}; 2151 width: 136px; 2152 } 2153 .icon-phone { 2154 height: 104px; 2155 width: 105px; 2156 } 2157 2158 .brand { 2159 margin-left: ${be}; 2160 } 2161 .icon-container { 2162 display: inline-block; 2163 float: left; 2164 margin-right: 28px; 2165 } 2166 .w-center-container {
2167 align-items: center; 2168 display: flex; 2169 justify-content: center; 2170 height: 100%; 2171 } 2172 .w-center { 2173 display: flex; 2174 align-items: center; 2175 } 2176 .links-cont { 2177 height: 100%; 2178 } 2179 .img { 2180 width: 100%; 2181 } 2182 .p-logo { 2183 width: 60%; 2184 margin-top: ${N}; 2185 } 2186 .loginForm { 2187 width: 100%; 2188 } 2189 .txt-right { 2190 float: right; 2191 } 2192 2193 .cardContent-pd { 2194 padding: 0 12px 24px 12px !important; 2195 } 2196 2197 .mobile-footer-cont { 2198 display: none; 2199 } 2200 2201 .icon-name { 2202 color: ${ye}; 2203 text-decoration: underline; 2204 } 2205 2206 .icon-name.brand { 2207 text-decoration: none; 2208 } 2209 2210 .pl-0 { 2211 padding-left: 0px !important; 2212 } 2213 2214 .pr-0 { 2215 padding-right: 0px !important; 2216 } 2217 2218 .login-row { 2219 margin-left: -${q} !important; 2220 margin-right: -${q} !important; 2221 } 2222 2223 .footer-pd { 2224 padding: ${N} !important; 2225 } 2226 2227 .corporateHref { 2228 text-decoration: none; 2229 color: ${ye}; 2230 cursor: pointer; 2231 height: ${Ze}; 2232 width: ${Je}; 2233 display: flex; 2234 align-items: center; 2235 justify-content: center; 2236 } 2237 2238 .appGallery-area { 2239 margin-bottom: ${N}; 2240 } 2241 2242 #lang-link.clicked { 2243 color: ${z} !important; 2244 } 2245 2246 #captchaInput input { 2247 text-transform: uppercase; 2248 } 2249 2250 @media only screen and (min-width: 1024px) and (orientation: landscape) { 2251 .channeltype { 2252 max-width: 30% !important; 2253 } 2254 2255 .app-main { 2256 padding-left: 0 !important; 2257 padding-right: 0 !important; 2258 } 2259 } 2260 2261 @media screen and (max-width: 1024px) { 2262 .icon-playstore { 2263 height: ${$e}; 2264 width: 112px; 2265 } 2266 .icon-appstore { 2267 height: ${$e}; 2268 width: 112px; 2269 } 2270 .icon-huaweistore { 2271 height: ${$e}; 2272 width: 112px; 2273 } 2274 .icon-phone { 2275 margin-left: ${et}; 2276 } 2277 } 2278 2279 @media screen and (max-width: 840px) { 2280 .ing-logo { 2281 margin-left: 0; 2282 } 2283 .app-main { 2284 padding: 0 !important; 2285 } 2286 .center-mobile { 2287 text-align: center; 2288 } 2289 .hide-mobile { 2290 display: none; 2291 } 2292 .show-mobile { 2293 display: block; 2294 } 2295 .question-mark { 2296 text-align: center; 2297 line-height: ${me}; 2298 color: ${se}; 2299 font-size: ${ve}; 2300 font-weight: bold; 2301 position: absolute; 2302 right: 0px; 2303 width: ${tt}; 2304 cursor: pointer; 2305 } 2306 .card { 2307 box-shadow: none !important; 2308 } 2309 .container { 2310 width: 100% !important; 2311 max-width: 100% !important; 2312 } 2313 .login-card { 2314 margin: 0 !important; 2315 } 2316 .login-container, 2317 .mobile-collapse-cont { 2318 padding: 0px !important; 2319 } 2320 .login-container .card { 2321 border-radius: 0; 2322 } 2323 .card__content { 2324 padding: 0px !important; 2325 padding-top: 16px; 2326 } 2327 .space { 2328 margin-top: ${be}; 2329 } 2330 #user-code { 2331 margin-bottom: ${be}; 2332 } 2333 .channeltype:first-of-type { 2334 margin-left: 0px; 2335 } 2336 .channeltype-cont { 2337 margin: 0px !important; 2338 } 2339 .input-label { 2340 text-align: left; 2341 margin-bottom: ${L}; 2342 margin-top: 0px; 2343 } 2344 .login-card { 2345 margin-bottom: 0px; 2346 } 2347 .footer-cont { 2348 margin-right: 0px !important; 2349 margin-left: 0px !important; 2350 width: 100%; 2351 padding: ${N}; 2352 padding-top: ${A}; 2353 } 2354 .w-center > .img { 2355 width: 64px; 2356 height: 64px; 2357 } 2358 2359 .footer-cont { 2360 display: none; 2361 } 2362 .mobile-footer-cont { 2363 margin-top: ${q}; 2364 padding-top: 0; 2365 display: block; 2366 } 2367 .footer-text { 2368 font-size: ${we}; 2369 font-weight: normal; 2370 line-height: 20px; 2371 } 2372 .mobile-text { 2373 font-size: ${Xe}; 2374 font-weight: bold; 2375 color: ${z} !important; 2376 text-decoration: none; 2377 } 2378 .mobile-download-link { 2379 font-size: ${Xe}; 2380 font-weight: bold; 2381 color: ${z} !important; 2382 text-decoration: none; 2383 } 2384 .center-container { 2385 align-items: center; 2386 display: flex; 2387 justify-content: center; 2388 } 2389 .center { 2390 display: flex; 2391 align-items: center; 2392 } 2393 .icon-container { 2394 width: 100%; 2395 margin-bottom: 24px; 2396 } 2397 .lgnMbl { 2398 margin-bottom: ${y}; 2399 } 2400 .channeltype { 2401 width: 128px; 2402 } 2403 } 2404 ${Qe} 2405 ${nt} 2406 ${it} 2407 ${st} 2408 2409 .col-captcha { 2410 display: flex; 2411 padding: 0; 2412 } 2413 .col-captcha ing-tr-input { 2414 margin-right: ${q}; 2415 width: 100%; 2416 } 2417 .col-captcha ing-tr-input[shows-feedback-for='error'] { 2418 margin-bottom: ${ue}; 2419 } 2420 .col-captcha ing-validation-feedback { 2421 position: absolute; 2422 } 2423 2424 @media screen and (min-width: 840px) and (max-width: 1280px) { 2425 .col-captcha { 2426 flex-direction: column-reverse; 2427 } 2428 .col-captcha ing-tr-input[shows-feedback-for='error'] { 2429 margin-bottom: ${me}; 2430 } 2431 .container { 2432 width: 100% !important; 2433 max-width: 100% !important; 2434 } 2435 } 2436 2437 .AaaBbbCcc .form-control { 2438 font-family: Dots; 2439 text-security: disc; 2440 -webkit-text-security: disc; 2441 -moz-text-security: disc; 2442 } 2443 2444 .notification-inline { 2445 display: block; 2446 align-items: flex-start; 2447 border-radius: 4px; 2448 border: 2px solid; 2449 background-color: ${W}; 2450 color: ${ye}; 2451 font-family: INGMe, arial, helvetica, sans-serif; 2452 -webkit-font-smoothing: antialiased; 2453 font-size: 16px; 2454 line-height: 24px; 2455 font-weight: normal; 2456 padding: 8px; 2457 } 2458 .notification-inline--error { 2459 border-color: ${at}; 2460 } 2461 2462 @media (max-width: 425px) { 2463 .icon-phone { 2464 height: 64px; 2465 width: 65px; 2466 } 2467 } 2468 2469 @media (max-width: 600px) { 2470 .footer-cont { 2471 padding: ${L}; 2472 padding-top: ${be}; 2473 } 2474 } 2475`;var vr=(e,t)=>u` 2476 <div class="footer-cont ${t?"mobile-footer-cont":""}"> 2477 <div class="icon-container">
2478 <span class="icon-name brand">© ING</span> 2479 </div> 2480 <div class="icon-container"> 2481 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2482 <a href="${Vi()}" target="_blank" 2483 >${e.msgLit("ing-tr-feat-login:Security")}</a 2484 > 2485 </div> 2486 <div class="icon-container"> 2487 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2488 2489 <a href="${Ui()}" target="_blank" 2490 >${e.msgLit("ing-tr-feat-login:TermsOfConditions")}</a 2491 > 2492 </div> 2493 <div class="icon-container"> 2494 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2495 <a id="lang-link" href="#" @click=${e.changeLocaleClicked}> 2496 ${e.msgLit("ing-tr-feat-login:LangBtn")} 2497 </a> 2498 </div> 2499 </div> 2500 `;const wr="popup";class Cr extends(Ai(I($))){static get styles(){return m` 2501 :host { 2502 display: block; 2503 } 2504 .link-btn { 2505 cursor: pointer; 2506 padding: 0; 2507 margin: ${N} 0; 2508 } 2509 .link-btn:hover, 2510 .link-btn:active, 2511 .link-btn:hover:focus, 2512 .link-btn:active:focus, 2513 .link-btn:hover:focus-within, 2514 .link-btn:active:focus-within { 2515 background-color: transparent; 2516 border-color: transparent; 2517 box-shadow: none; 2518 } 2519 .help-container { 2520 margin-top: ${N}; 2521 } 2522 .video-help-container { 2523 margin-bottom: ${N}; 2524 } 2525 `}static get localeConfig(){return{dir:"help-menu",namespace:"ing-tr-feat-help-menu"}}static get properties(){return{helpItems:{type:Array},infoHeader:{type:String},infoContent:{type:Array},showMobilePopup:{type:Boolean}}}constructor(){super(),this.showMobilePopup=!1}static get scopedElements(){return{"ing-tr-item-container":rt,"ing-tr-collapsible":ot,"ing-tr-video-collapsible":ct,"ing-tr-image-collapsible":lt,"ing-tr-collapsible-container":dt,"ing-tr-mobile-qr-code-dialog":ut,"ing-button":D}}mobilePopup(){return this.showMobilePopup?u` 2526 <ing-tr-mobile-qr-code-dialog 2527 id="mobile-qr-code" 2528 ?opened=${this.showMobilePopup} 2529 mobileHref="${Mi}" 2530 @close-overlay=${()=>{this.showMobilePopup=!1}} 2531 ></ing-tr-mobile-qr-code-dialog> 2532 `:u``}isURIOrPopup(e){return void 0!==e.uri&&""!==e.uri?"uri":void 0!==e.navigateMobile&&!0===e.navigateMobile?wr:"undefined"}showPopup(){this.showMobilePopup=!0}renderStandartContent(e,t,n){const i=e?u` <div>${e}</div>`:"",s=n?u` <div> 2533 <ing-button 2534 class="link-btn" 2535 text 2536 font14 2537 type="button" 2538 @click=${()=>{"uri"===this.isURIOrPopup(n)?p.navigate(n.uri):this.isURIOrPopup(n)===wr&&this.showPopup()}} 2539 >${n.text} 2540 </ing-button> 2541 </div>`:"",a=t?u` <div class="help-container">${t}</div>`:"";return u`${i}${s}${a}`}renderVideoContent(e){return e?u` <div class="video-help-container" slot="content-before">${e}</div>`:""}renderContentItem(e,t){if(i(t))return"";const{description:n,subDescription:s,linkInfo:a}=t;return{video:()=>this.renderVideoContent(n),standart:()=>this.renderStandartContent(n,s,a)}[e]()}renderHelpItem({type:e,header:t,videoUrl:n,content:i,onClick:s,isContentVisible:a}){let r=u` <ing-tr-collapsible 2542 black59 2543 header-text="${t}" 2544 grayBorder 2545 ?notCollapsible=${"notCollapsible"===e} 2546 .isContentVisible="${a}" 2547 ?indigo=${"notCollapsible"===e} 2548 .customClickEvent=${s} 2549 > 2550 ${this.renderContentItem(e,i)} 2551 </ing-tr-collapsible>`;return"video"===e&&(r=u` <ing-tr-video-collapsible 2552 video-type="youtube" 2553 header-text="${t}" 2554 grayBorder 2555 video-url=${n} 2556 >${this.renderContentItem(e,i)} 2557 </ing-tr-video-collapsible>`),r}render(){return u` <ing-tr-item-container class="loginCardContainer" whiteBg> 2558 <ing-tr-collapsible-container 2559 header-text="${this.getResourceValue("HelpHeader")}" 2560 noBorder 2561 grayBorder 2562 info-header=${this.infoHeader?this.infoHeader:""} 2563 .infoContent="${this.infoContent?this.infoContent:""}" 2564 > 2565 ${this.helpItems?.map(e=>this.renderHelpItem(e))} 2566 </ing-tr-collapsible-container> 2567 </ing-tr-item-container> 2568 ${this.mobilePopup()}`}}var xr={CustomerTypes:{bireysel:1,kurumsal:2},fetchLastAnnouncement:({request:e,success:t,fail:n})=>{$i({request:e,type:"anonymous",uri:"anonymous/announcements/last/v1"}).then(e=>{if(e.header.success){if(e.body.uiAppDetail){const{forceUpdate:t,triggerRange:n,version:i}=e.body.uiAppDetail;(({version:e,forceUpdate:t,triggerRange:n})=>{if("3.0.0"===e)return!1;if("3.0.0"!==e&&t)return!0;const i=Si(e,{major:!0}),s=Si("3.0.0",{major:!0});if(i>s)return!0;
2568if(s>i)return!1;const a=Si(e,{medium:!0}),r=Si("3.0.0",{medium:!0});return a>r||!(r>a)&&(Si(e,{minor:!0})-n>=Si("3.0.0",{minor:!0})||void 0)})({version:i,forceUpdate:t,triggerRange:n})&&Jt("forceUpdate",!0,!0)}t(e.body)}}).catch(e=>{throw n(),new Error(e.description)})},fetchThreeDotMenu:()=>{$i({request:{},uri:"threedotmenu/retrieve/v1"}).then(e=>{e.header.success&&Jt("threeDotMenus",e.body.threeDotMenu,!0)}).catch(e=>{throw new Error(e.description)})}};class kr extends(I($)){static get styles(){return m` 2569 :host { 2570 display: block; 2571 } 2572 `}static get scopedElements(){return{"ing-tr-captcha":pt}}static get properties(){return{captchaInfo:{type:Object},modelValue:{type:String,reflect:!0},audio:{type:Object},refresh:{type:Number}}}connectedCallback(){super.connectedCallback(),this.callCaptchaGenerator(!0)}updated(e){super.updated(e);e.has("refresh")&&void 0!==this.refresh&&this.callCaptchaGenerator()}callCaptchaGenerator(e=!1){this.dispatchEvent(new CustomEvent("before-refresh",{detail:{scope:this}})),this.audio=null,$i({scope:this,type:"anonymous",uri:"anonymous/captcha/generate",request:{},isInitialFetch:e}).then(e=>{e?.body?.captcha&&(this.captchaInfo=e.body.captcha,this.modelValue=this.captchaInfo?.token,this.dispatchEvent(new CustomEvent("model-value-changed",{detail:{modelValue:this.modelValue}})))})}callCaptchaAudio(){null!==this.captchaInfo&&(this.audio?this.audio.play():$i({scope:this,type:"anonymous",uri:"anonymous/captcha/getAudio/v1",request:{token:this.captchaInfo.token,lang:document.documentElement.lang?.split("-")[0]}}).then(e=>{const t=window.URL.createObjectURL(e);this.audio=new Audio(t),this.audio.play()}))}render(){return this.captchaInfo?u` 2573 <ing-tr-captcha 2574 .imageInBase64="${this.captchaInfo.image}" 2575 @refresh="${()=>this.callCaptchaGenerator()}" 2576 .hasAudio=${!0} 2577 @audio="${()=>this.callCaptchaAudio()}" 2578 > 2579 </ing-tr-captcha> 2580 `:""}}class Ir extends(Ai(I($))){static get scopedElements(){return{"ing-icon":P,"ing-button":D,"ing-fieldset":mt,"ing-form":gt,"ing-tr-inline-notification":ht,"ing-tr-input-usercode-or-tckn":ft,"ing-tr-input-pass":bt,"ing-tr-captcha-input":kr,"ing-tr-input":Fe,"ing-tr-warning-dialog":T,"ing-tr-virtual-keyboard":yt,"ing-tr-feat-help-menu":Cr}}static get localeConfig(){return{namespace:"ing-tr-feat-login",dir:"login",isCall:!1}}static get styles(){return yr}static get properties(){return{userType:{type:String},userCode:{type:String,reflect:!0},userPass:{type:String,reflect:!0},showMessage:{type:Boolean},errMsg:{type:String,reflect:!0},disabled:{type:Boolean},responseMessage:{type:String},captchaVisible:{type:Boolean},captchaModelValue:{type:String},captchaToken:{type:String},captchaImage:{type:String},announcement:{type:Array},isResponsive:{type:Boolean},showLastAnnouncementDialog:{type:Boolean},authCode:{type:String},isAuthCodeVisible:{type:String},captchaRefresh:{type:Number}}}constructor(){super(),this.captchaVisible=!0;const e=Zt("logoutReason");e&&(this.showMessage=e.showMessage,this.responseMessage=e.message),this.authCode=localStorage.getItem("authCode"),this.isAuthCodeVisible=null!=this.authCode&&""!=this.authCode,this.userType="bireysel",this.userCode="",this.userPass="",this.disabled=!1;let t=sessionStorage.getItem("deviceId");cn({logout:!1}),t&&"null"!==t||(t=this.createGuid()),sessionStorage.setItem("deviceId",t);const n=window.matchMedia("(max-width: 840px)");this.isResponsive=n.matches,n.addEventListener("change",e=>{this.widthChange(e)}),this.setLastAnnouncement()}getRandomSymbol(){const e=new Uint8Array(1);return window.crypto.getRandomValues(e),(e[0]%16).toString(16)}createGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,this.getRandomSymbol)}widthChange(e){this.isResponsive=e.matches}changeCustomerType(e){this.shadowRoot.querySelectorAll(".channeltype").forEach(e=>{e.classList.remove("active")}),e.currentTarget.classList.add("active"),this.userType=e.currentTarget.dataset.type,this.setLastAnnouncement()}async setLastAnnouncement(){const e={requestHeader:{channelInfo:"Internet"},customerType:xr.CustomerTypes[this.userType]};xr.fetchLastAnnouncement({request:e,success:e=>{this.announcement=e?.lastAnnouncement;const t=this.announcement?.[0]?.id;this.showLastAnnouncementDialog=void 0!==t&&"false"!==localStorage.getItem("showLastAnnouncementDialog"+t)},fail:()=>{this.announcement=null}})}get ingForm(){return this.shadowRoot.querySelector("#ingForm")}setError(e){switch(this.showMessage=!0,this.errorCode=e?.header?.message?.code,this.responseMessage=e?.header?.message?.text,this.errorCode){case 310136:this.clearUserInput(),this.disabled=!1,this.errMsg=e?.header?.message?.loginResult;break;case 310137:this.disabled=!1,this.errMsg=e?.header?.message?.loginResult;break;case 310138:this.showMessage=!0,this.disabled=!0,this.errMsg=e?.header?.message?.loginResult;break;default:this.clearUserInput(),this.errMsg=e?.header?.message?.loginResult??"ErrorMessage",this.disabled=!1}-1===this.errorCode&&(this.responseMessage=this.msgLit(`ing-tr-feat-login:${this.errMsg}`)),this.captchaRefresh=Date.now()}getForm(){return this.shadowRoot.querySelector(this.constructor.getScopedTagName("ing-form"))}clearUserInput(){this.ingForm.clearGroup(),this.isAuthCodeVisible&&this.authCode&&(this.ingForm.querySelector("#auth-code").modelValue=this.authCode)}firstUpdated(){super.firstUpdated(),this.addEvent(this.shadowRoot.querySelector("#user-pass"),"input",this.onInput.bind(this)),this.addEvent(this.shadowRoot.querySelector("#user-pass"),"blur",this.onBlur.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEvent(this.shadowRoot.querySelector("#user-pass"),"input",this.onInput),this.removeEvent(this.shadowRoot.querySelector("#user-pass"),"blur",this.onBlur)}addEvent(e,t,n){e.attachEvent?(e["e"+t+n]=n,e[t+n]=function(){e["e"+t+n](window.event)},e.attachEvent("on"+t,e[t+n])):e.addEventListener(t,n,!1)}removeEvent(e,t,n){e?.detachEvent?(e.detachEvent("on"+t,e[t+n]),e[t+n]=null):e?.removeEventListener(t,n,!1)}onInput(e){"0123456789".indexOf(e.data)>=0||e.preventDefault(),this.onBlur(e)}onBlur(e){const t=this.shadowRoot.getElementById("user-pass").modelValue;if(t.length<=6){let e=sessionStorage.getItem("deviceId");e&&"null"!==e||(e=this.createGuid(),sessionStorage.setItem("deviceId",e));const n=ls(t,e);this.shadowRoot.getElementById("user-pass-hdn").value=n}}showError(e){this.clearUserInput(),this.disabled=!1,this.errMsg=e,this.showMessage=!0}isValidToken(e){const t=sessionStorage.getItem("gatewayToken");return null!==e&&null!==e.header&&null!==e.body&&null!==e.accessToken&&null!==t&&""!==t}
2580_onSubmitForm(){if(this.isFormSubmitting)return;const e=this.getForm();if(!1===e?.hasFeedbackFor?.includes("error")){this.isFormSubmitting=!0,this.ingForm.submitGroup();const e=this.shadowRoot.getElementById("user-code").modelValue,t=this.shadowRoot.getElementById("check-btn"),n=ls(this.shadowRoot.getElementById("user-pass").value,sessionStorage.getItem("deviceId")),i={userCode:e,loginType:11===e.length?"Tckn":"UserCode",password:n,captchaToken:this.captchaToken?this.captchaToken:"",captchaValue:this.captchaModelValue?this.captchaModelValue:"",authCode:this.authCode};this.disabled=!0,t.setAttribute("disabled","disabled"),this.showMessage=!1,this.errMsg="ErrorMessage",$i({scope:this,uri:"authentication/auth/login/first-level/v1",request:i,showNoMessage:!0}).then(e=>{if(e?.header?.success)try{if(e&&this.isValidToken(e)){const t=e.body.loginResult;if(t&&e.body.accessToken){sessionStorage.setItem("mobileToken",e.body.accessToken),sessionStorage.setItem("loginResult",t),sessionStorage.setItem("authorizationId",e.body.authorizationId),Jt("hasMobileApproval",!!e.body.authorizationId,!0);Jt("userInfo",{lastSuccessfulLogon:e?.body?.lastSuccessfulLogon,lastSuccessfulLogonIp:e?.body?.lastSuccessfulLogonIp,lastFailedLogin:e?.body?.lastFailedLogin,userCode:e?.body?.userCode,profilePicture:"/banking/assets/profile.png"},!0),window.dataroid&&window.dataroid.pageView("FirstStepLogin"),xr.fetchThreeDotMenu(),window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:t}}))}else this.showError("ErrorMessage")}else this.showError("ErrorMessage")}catch(e){throw this.showError("ErrorMessage"),e}else e?.header?.message?.text?.includes("is not valid JSON")&&ineum("reportEvent","login/first-level/v1 html error"),this.setError(e)}).catch(e=>{throw this.setError(e),e}).finally(()=>{this.isFormSubmitting=!1,void 0===this.responseMessage&&(this.responseMessage=this.msgLit(`ing-tr-feat-login:${this.errMsg}`)),t.removeAttribute("disabled")})}}captchaModelValueChanged(e){this.captchaModelValue=e?.currentTarget?.modelValue?.toUpperCase()}getAnnouncementByLang(){const e=document.documentElement.lang?.split("-")[0];return this.announcement?.filter(t=>t?.cultureCode?.startsWith(e))}renderLastAnnouncementPopup(){const e=this.getAnnouncementByLang(),t=e?.map(e=>e.detail).join("<br><br>");return this.isResponsive&&0!==this.announcement?.length?u` <ing-tr-warning-dialog 2581 ?opened=${this.showLastAnnouncementDialog} 2582 .header=${this.msgLit("ing-tr-feat-login:AnnouncementTitle")} 2583 .message=${t} 2584 .primaryButtonTitle=${this.msgLit("ing-tr-feat-login:Okay")} 2585 @onClickedPrimaryButton=${()=>{this.showLastAnnouncementDialog=!1;const e=this.announcement[0]?.id;e&&localStorage.setItem("showLastAnnouncementDialog"+e,!1)}} 2586 > 2587 </ing-tr-warning-dialog>`:""}getHelpTemplate(){const e=e=>({description:this.msgLit("ing-tr-feat-login:instantPinDescription"),subDescription:this.msgLit("ing-tr-feat-login:instantPinSubDescription"),linkInfo:{text:this.msgLit("ing-tr-feat-login:instantPinLink"),uri:`login/instant-pin/${e}`}}),t={description:this.msgLit("ing-tr-feat-login:simCardBlockDescription"),linkInfo:{text:this.msgLit("ing-tr-feat-login:simCardBlockLink"),navigateMobile:!0}},n=[{header:this.msgLit("ing-tr-feat-login:passwordFirstUseHeader"),type:"standart",content:e("first-password")},{header:this.msgLit("ing-tr-feat-login:forgetUserCodeHeader"),type:"standart",content:e("learn-usercode")},{header:this.msgLit("ing-tr-feat-login:forgetPasswordHeader"),type:"standart",content:e("learn-password")},{header:this.msgLit("ing-tr-feat-login:simCardBlockHeader"),type:"standart",content:t},{header:this.msgLit("ing-tr-feat-login:softOtpHeader"),type:"video",videoUrl:"https://www.youtube.com/embed/0NDMHxObKMo/?controls=0",content:{description:this.msgLit("ing-tr-feat-login:softOtpDescription")}},{header:this.msgLit("ing-tr-feat-login:seeAllFaq"),type:"notCollapsible",onClick:()=>{p.navigateToExternal(Vi(),"_blank")}}],i=this.getAnnouncementByLang();return u`<ing-tr-feat-help-menu 2588 .helpItems=${n} 2589 .infoHeader=${0===this.announcement?.length||this.isResponsive&&this.showLastAnnouncementDialog?"":this.msgLit("ing-tr-feat-login:AnnouncementTitle")} 2590 .infoContent=${0===this.announcement?.length||this.isResponsive&&this.showLastAnnouncementDialog?"":i} 2591 ></ing-tr-feat-help-menu>`}getInstantPinTemplate(e){return u` 2592 <div>${this.msgLit("ing-tr-feat-login:instantPinDescription")}</div> 2593 <div> 2594 <ing-button 2595 class="link-btn" 2596 text 2597 font14 2598 type="button" 2599 @click=${()=>p.navigate(`login/instant-pin/${e}`)} 2600 >${this.msgLit("ing-tr-feat-login:instantPinLink")} 2601 </ing-button> 2602 </div> 2603 <div class="help-container">${this.msgLit("ing-tr-feat-login:instantPinSubDescription")}</div> 2604 `}getSimCardBlockTemplate(){return u` 2605 <div>${this.msgLit("ing-tr-feat-login:simCardBlockDescription")}</div> 2606 <div> 2607 <ing-button 2608 class="link-btn sim-card-block-btn" 2609 text 2610 font14 2611 type="button" 2612 @click=${()=>p.navigate("login/sim-card-block-cancelled")} 2613 >${this.msgLit("ing-tr-feat-login:simCardBlockLink")} 2614 </ing-button> 2615 </div> 2616 `}getSoftOtpTemplate(){return u` 2617 <div class="soft-help-container" slot="content-before"> 2618 ${this.msgLit("ing-tr-feat-login:softOtpDescription")} 2619 </div> 2620 `}resetForm(){this.showMessage&&(this.clearUserInput(),this.showMessage=!1),this.disabled=!1}onDefaultButtonClicked(){this.dispatchEvent(new CustomEvent("defaultButtonClicked"))}changeLocaleClicked(e){this.shadowRoot.getElementById("lang-link").classList.add("clicked"),e.preventDefault(),this.changeLocale()}render(){return u` 2621 <div> 2622 <div class="container app-main"> 2623 <div class="row login-card login-row"> 2624 <div class="col-12 col-@840-8 login-container pl-0"> 2625 <div class="card login-card"> 2626 <div class="card__content cardContent-pd"> 2627 <div class="row channeltype-cont"> 2628 <div 2629 class="channeltype active" 2630 data-type="bireysel" 2631 @click=${this.changeCustomerType} 2632 > 2633 ${this.msgLit("ing-tr-feat-login:Retail")} 2634 </div> 2635 <div 2636 class="channeltype" 2637 data-type="kurumsal" 2638 @click="${this.onDefaultButtonClicked()}" 2639 > 2640 <a class="corporateHref" href="${"https://kurumsalinternetsubesi.ing.com.tr/banking/login"}"> 2641 ${this.msgLit("ing-tr-feat-login:Corporate")} 2642 </a> 2643 </div> 2644 <div class="line"></div> 2645 <div class="space"></div> 2646 <ing-form class="loginForm" id="ingForm" @submit=${this._onSubmitForm}> 2647 <form autocomplete="off"> 2648 <div class="container"> 2649 <div class="row"> 2650 <div class="col-12"> 2651 ${this.showMessage?u` 2652 <ing-tr-inline-notification 2653 icon="error" 2654 class="notification-inline notification-inline--error" 2655 role="alert" 2656 > 2657 ${this.responseMessage} 2658 </ing-tr-inline-notification> 2659 `:""} 2660 </div> 2661 </div> 2662 <div class="space"></div> 2663 <div class="row"> 2664 <div class="col-12 col-@840-5"> 2665 <p class="input-label"> 2666 ${this.msgLit("ing-tr-feat-login:UserTCOrCode")} 2667 </p> 2668 </div> 2669 <div class="col-12 col-@840-5"> 2670 <ing-fieldset name="user-codef"> 2671 <ing-tr-input-usercode-or-tckn 2672 id="user-code" 2673 name="userCode" 2674 .modelValue="userCode" 2675 .disabled=${this.disabled} 2676 @click=${this.resetForm} 2677 ></ing-tr-input-usercode-or-tckn> 2678 </ing-fieldset> 2679 </div> 2680 </div> 2681 <div class="row"> 2682 <div class="col-12 col-@840-5"> 2683 <p class="input-label">${this.msgLit("ing-tr-feat-login:UserPin")}</p> 2684 </div> 2685 <div class="col-12 col-@840-5"> 2686 <input 2687 id="my_password" 2688 type="password" 2689 style="z-index: -1000; border: none!important; position: absolute" 2690 tabindex="-2" 2691 aria-hidden="true" 2692 /> 2693 <ing-fieldset name="user-pass" .disabled=${this.disabled}> 2694 <ing-tr-virtual-keyboard 2695 .hoverSecond=${"1"} 2696 maxLength="6" 2697 @click=${this.resetForm} 2698 > 2699 <ing-tr-input-pass 2700 type="number" 2701 id="user-pass" 2702 name="userPass" 2703 .modelValue="userPass" 2704 slot="invoker" 2705 keyboardEnabled 2706 class="AaaBbbCcc" 2707 @click=${this.resetForm} 2708 > 2709 </ing-tr-input-pass> 2710 </ing-tr-virtual-keyboard> 2711 </ing-fieldset> 2712 <input 2713 type="hidden" 2714 name="user-pass-hdn" 2715 id="user-pass-hdn" 2716 value="" 2717 aria-hidden="true" 2718 /> 2719 <input 2720 type="password" 2721 id="pin" 2722 style="z-index: -1000; border: none!important; position: absolute" 2723 tabindex="-3" 2724 aria-hidden="true" 2725 /> 2726 </div> 2727 </div> 2728 ${this.isAuthCodeVisible?u` 2729 <div class="row"> 2730 <div class="col-12 col-@840-5"> 2731 <p class="input-label"> 2732 ${this.msgLit("ing-tr-feat-login:authCode")} 2733 </p> 2734 </div> 2735 <div class="col-12 col-@840-5"> 2736 <ing-fieldset name="user-codef"> 2737 <ing-tr-input 2738 id="auth-code" 2739 name="authCode" 2740 .modelValue=${this.authCode} 2741 .disabled=${!0} 2742 ></ing-tr-input> 2743 </ing-fieldset> 2744 </div> 2745 </div> 2746 `:""} 2747 2748 <!-- captcha --> 2749 ${this.captchaVisible?u` 2750 <div class="row"> 2751 <div class="col-12 col-@840-5"> 2752 <p class="input-label"> 2753 ${this.msgLit("ing-tr-feat-login:CaptchaLabel")} 2754 </p> 2755 </div> 2756 <div class="col-12 col-@840-5"> 2757 <div class="col-captcha"> 2758 <ing-tr-input 2759 autocomplete="off" 2760 id="captchaInput" 2761 maxLength="4" 2762 name="captchaInput" 2763 .validators="${[new vt(null,{getMessage:()=>this.msgLit("ing-tr-feat-login:CaptchaRequiredValidationMessage")}),new wt(4,{getMessage:()=>this.msgLit("ing-tr-feat-login:CaptchaMinLengthValidationMessage")})]}" 2764 @model-value-changed="${this.captchaModelValueChanged}" 2765 > 2766 </ing-tr-input> 2767 2768 <ing-tr-captcha-input 2769 .refresh=${this.captchaRefresh} 2770 @model-value-changed=${e=>this.captchaToken=e.detail.modelValue} 2771 @before-refresh=${()=>{this.captchaModelValue=""}} 2772 > 2773 </ing-tr-captcha-input> 2774 </div> 2775 </div> 2776 </div> 2777 `:""} 2778 <!-- captcha --> 2779 2780 <div class="row"> 2781 <div class="col-12 col-@840-5"></div> 2782 <div class="col-12 col-@840-5"> 2783 <ing-button 2784 text 2785 font14 2786 type="button" 2787 @click=${()=>p.navigate("login/instant-pin")} 2788 >${this.msgLit("ing-tr-feat-login:ForgotPassword")} 2789 </ing-button> 2790 </div> 2791 </div> 2792 2793 <div class="space-12"></div> 2794 2795 <div class="row"> 2796 <div class="col-12 col-@840-5"></div> 2797 <div class="col-12 col-@840-5"> 2798 <ing-button 2799 indigo 2800 font19 2801 class="wfull" 2802 id="check-btn" 2803 @click="${this._onSubmitForm}" 2804 >${this.msgLit("ing-tr-feat-login:LoginBtn")} 2805 </ing-button> 2806 </div> 2807 </div> 2808 <div class="show-mobile lgnMbl"></div> 2809 </div> 2810 </form> 2811 </ing-form> 2812 </div> 2813 </div> 2814 </div> 2815 <div class="line show-mobile"></div> 2816 <div class="card"> 2817 <div class="card__content footer-pd"> 2818 <div class="row footer-cont"> 2819 <div class="col-3 col-@840-3"> 2820 <div class="w-center-container"> 2821 <div class="w-center"> 2822 <ing-icon icon-id="ing-tr:solid:phone" class="icon-phone"></ing-icon> 2823 </div> 2824 </div> 2825 </div> 2826 <div class="col-9 col-@840-9 center-container"> 2827 <p class="footer-text center"> 2828
2828 ${this.msgLit("ing-tr-feat-login:FooterText")} 2829 </p> 2830 <div class="col-12 hide-mobile appGallery-area"> 2831 <div class="row links-cont"> 2832 <div class="col-12"> 2833 <div class="w-center-container"> 2834 <div class="w-center"> 2835 <ing-icon 2836 icon-id="ing-tr:cardnotfound:playStore" 2837 class="icon-playstore" 2838 role="img" 2839 aria-label=${this.msgLit("ing-tr-feat-login:playStore")} 2840 ></ing-icon> 2841 <ing-icon 2842 icon-id="ing-tr:cardnotfound:appStore" 2843 class="icon-appstore" 2844 role="img" 2845 aria-label=${this.msgLit("ing-tr-feat-login:appStore")} 2846 ></ing-icon> 2847 <ing-icon 2848 icon-id="ing-tr:cardnotfound:huaweiStore" 2849 class="icon-appstore" 2850 role="img" 2851 aria-label=${this.msgLit("ing-tr-feat-login:huaweiStore")} 2852 ></ing-icon> 2853 </div> 2854 </div> 2855 </div> 2856 </div> 2857 </div> 2858 </div> 2859 <div class="col-12 show-mobile mobile-text"> 2860 <a 2861 class="center txt-right mobile-download-link" 2862 href="${Mi}" 2863 target="_blank" 2864 >${this.msgLit("ing-tr-feat-login:DownloadBtn")}</a 2865 > 2866 </div> 2867 </div> 2868 </div> 2869 </div> 2870 <div class="footer-cont"> 2871 <div class="icon-container"> 2872 <span class="icon-name brand">© ING</span> 2873 </div> 2874 <div class="icon-container"> 2875 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2876 <a href="${Vi()}" target="_blank" 2877 >${this.msgLit("ing-tr-feat-login:Security")}</a 2878 > 2879 </div> 2880 <div class="icon-container"> 2881 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2882 2883 <a href="${Ui()}" target="_blank" 2884 >${this.msgLit("ing-tr-feat-login:TermsOfConditions")}</a 2885 > 2886 </div> 2887 <div class="icon-container"> 2888 <ing-icon icon-id="ing:filledin-arrows:chevronRight" class="icon-line"></ing-icon> 2889 <a id="lang-link" href="#" @click=${this.changeLocaleClicked}> 2890 ${this.msgLit("ing-tr-feat-login:LangBtn")} 2891 </a> 2892 </div> 2893 </div> 2894 </div> 2895 <div class="col-12 col-@840-4 mobile-collapse-cont pr-0"> 2896 <div class="card">${this.getHelpTemplate()}</div> 2897 </div> 2898 ${vr(this,!0)} 2899 </div> 2900 </div> 2901 </div> 2902 ${this.renderLastAnnouncementPopup()} 2903 `}}function $r(){return Ct({localize:xt()})}const Tr=m` 2904 .notification-inline { 2905 display: inline-flex; 2906 align-items: flex-start; 2907 width: 100%; 2908 max-width: 600px; 2909 border-radius: ${L}; 2910 border: 2px solid; 2911 background-color: ${W}; 2912 color: ${ye}; 2913 ${Ee()} 2914 padding: ${q}; 2915 } 2916 2917 .notification-inline__icon { 2918 display: block; 2919 flex-shrink: 0; 2920 width: ${A}; 2921 height: ${A}; 2922 margin-right: ${q}; 2923 } 2924 2925 .notification-inline__content { 2926 flex: auto; 2927 } 2928 2929 .notification-inline--error { 2930 border-color: ${at}; 2931 } 2932 2933 .notification-inline--warning { 2934 border-color: ${se}; 2935 } 2936 2937 .notification-inline--information { 2938 border-color: ${ae}; 2939 } 2940 2941 .notification-inline--success { 2942 border-color: ${kt}; 2943 } 2944 2945 .notification-inline__heading { 2946 font-weight: bold; 2947 } 2948 2949 .notification-inline--inverted { 2950 border-color: transparent; 2951 } 2952 2953 .notification-inline--light { 2954 border: none; 2955 background-color: transparent; 2956 padding: 0; 2957 } 2958 2959 :host([hidden]) { 2960 display: none; 2961 } 2962`;class jr extends(I(x($))){static get scopedElements(){return{...super.scopedElements,"ing-icon":P}}static get properties(){return{light:{type:Boolean},inverted:{type:Boolean},type:{type:String},_iconAltText:{type:String}}}static get styles(){return[Tr,m` 2963 :host { 2964 display: inline-flex; 2965 width: 100%; 2966 } 2967 2968 .notification-inline__icon { 2969 width: 24px; 2970 height: 24px; 2971 } 2972 `]}constructor(){super(),this.type="",this.light=!1,this.inverted=!1,this.__allowedTypes=["information","warning","error","success"]}static get localizeNamespaces(){return[{"ing-notification-inline":e=>{switch(e){case"bg-BG":return import("./bg-BG-e74fc0c3.js");case"bg":return import("./bg-3a49758c.js");case"cs-CZ":return import("./cs-CZ-34740294.js");case"cs":return import("./cs-c7602908.js");case"de-DE":return import("./de-DE-7b5d1b07.js");case"de":return import("./de-a24da42e.js");case"en-AU":return import("./en-AU-162d2a48.js");case"en-GB":return import("./en-GB-fbbb5c8a.js");case"en-US":return import("./en-US-43e730d5.js");case"en-PH":case"en":return import("./en-3ec55c2c.js");case"es-ES":return import("./es-ES-4ea4c54e.js");case"es":return import("./es-137f4018.js");case"fr-BE":return import("./fr-BE-4af2a7c9.js");case"fr-FR":return import("./fr-FR-dbfbdb59.js");case"fr":return import("./fr-1781fe57.js");
2972case"hu-HU":return import("./hu-HU-b3b22547.js");case"hu":return import("./hu-55539135.js");case"it-IT":return import("./it-IT-61fff7fd.js");case"it":return import("./it-a6d15be9.js");case"nl-BE":return import("./nl-BE-d91c8e82.js");case"nl-NL":return import("./nl-NL-5fd2ebb6.js");case"nl":return import("./nl-fd9e826c.js");case"pl-PL":return import("./pl-PL-582b013b.js");case"pl":return import("./pl-92802d9a.js");case"ro-RO":return import("./ro-RO-4156f6a4.js");case"ro":return import("./ro-fa44239f.js");case"ru-RU":return import("./ru-RU-2491dbef.js");case"ru":return import("./ru-db0688e2.js");case"sk-SK":return import("./sk-SK-4e9dcd36.js");case"sk":return import("./sk-c6034bae.js");case"uk-UA":return import("./uk-UA-74ed4fe3.js");case"uk":return import("./uk-b6824a0b.js");case"zh-CN":case"zh":return import("./zh-8d2c0cb5.js");default:return import(`./translations/${e}.js`)}}},...super.localizeNamespaces]}updated(e){e.has("type")&&this.__validateType(this.type)}__capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}render(){const e=this.msgLit(`ing-notification-inline:${this.type}AltText`);return u` 2973 <div 2974 class="notification-inline notification-inline--${this.type} ${this.light?"notification-inline--light":""} ${this.inverted?"notification-inline--inverted":""}" 2975 > 2976 <ing-icon 2977 icon-id="ing:notification:notification${this.__capitalize(this.type)}Filled" 2978 aria-label="${e}" 2979 class="notification-inline__icon" 2980 > 2981 </ing-icon> 2982 2983 <div class="notification-inline__content"> 2984 <slot></slot> 2985 </div> 2986 </div> 2987 `}__validateType(e){if(-1===this.__allowedTypes.indexOf(e))throw new Error("Please provide a valid notification type")}}const _r=m` 2988 :host { 2989 display: block; 2990 } 2991 .app-main { 2992 padding-top: ${$e}; 2993 } 2994 .button-container { 2995 display: -webkit-flex; 2996 display: flex; 2997 -webkit-flex-direction: row; 2998 flex-direction: row; 2999 margin-bottom: ${A}; 3000 } 3001 #cancel-btn { 3002 flex: 1 0 0; 3003 } 3004 #check-btn { 3005 flex: 3 0 0; 3006 } 3007 .off-show { 3008 display: none !important; 3009 } 3010 .btn { 3011 margin-left: ${q}; 3012 } 3013 .header { 3014 font-size: ${ve}; 3015 } 3016 .message-txt { 3017 font-size: ${Xe}; 3018 } 3019 .center { 3020 text-align: center !important; 3021 } 3022 .card_container { 3023 padding: 0px !important; 3024 } 3025 .security-img { 3026 margin: ${ue} auto; 3027 } 3028 .input-label { 3029 text-align: right; 3030 line-height: 1.5; 3031 color: ${ye}; 3032 ${Xe} 3033 } 3034 #sms-code { 3035 margin-top: ${q}; 3036 } 3037 .remaining-cont { 3038 justify-content: center; 3039 margin-bottom: 10px; 3040 } 3041 .count-down { 3042 ${B()} 3043 } 3044 .custom-button { 3045 ${V()} 3046 text-decoration:none; 3047 cursor: pointer; 3048 } 3049 .pt-16 { 3050 padding-top: ${N}; 3051 } 3052 #security-image { 3053 width: ${It}; 3054 height: ${It}; 3055 } 3056 .w-100 { 3057 width: 100px; 3058 height: 100px; 3059 } 3060 @media screen and (max-width: 840px) { 3061 .card-container .card { 3062 border-radius: 0; 3063 } 3064 .app-main { 3065 padding: 0 !important; 3066 } 3067 .center-mobile { 3068 text-align: center; 3069 } 3070 .hide-mobile { 3071 display: none; 3072 } 3073 .show-mobile { 3074 display: block; 3075 } 3076 .space { 3077 display: none; 3078 } 3079 .card { 3080 box-shadow: none !important; 3081 } 3082 .container { 3083 width: 100% !important; 3084 max-width: 100% !important; 3085 } 3086 .card__content { 3087 padding: 0px !important; 3088 padding-top: ${N}; 3089 } 3090 .mobile-text { 3091 font-size: ${we}; 3092 font-weight: bold; 3093 } 3094 .center-container { 3095 align-items: center; 3096 display: flex; 3097 justify-content: center; 3098 } 3099 .center { 3100 display: flex; 3101 align-items: center; 3102 } 3103 .icon-container { 3104 width: 100%; 3105 } 3106 .button-container { 3107 width: 100%; 3108 display: -webkit-flex; 3109 display: flex; 3110 -webkit-flex-direction: row; 3111 flex-direction: row; 3112 -webkit-align-items: center; 3113 align-items: center; 3114 -webkit-justify-content: center; 3115 justify-content: center; 3116 } 3117 } 3118 ${Qe} 3119 ${nt} 3120 ${it} 3121 ${st} 3122`;function Sr(e){return $i({scope:e,uri:"securityimage/get",request:{},showNoMessage:!0,isInitialFetch:!0}).then(t=>{const n=t?.body?.securityImageItem;t?.header?.success?(e.img=n?.value,e.isSecurityImage=!i(n),e.canSubmit=!0):(e.showMessage=!0,e.errMsg="ErrorMessage",e.stopTimer())}).catch(()=>{e.showMessage=!0,e.errMsg="ErrorMessage",e.stopTimer()})}const Er=m` 3123 ${_r} 3124`;class Ar extends(x(I($))){static get scopedElements(){return{"ing-tr-otp-input":He,"ing-spinner":Q,"ing-notification":jr,"ing-tr-stx-skeleton":$t,"ing-icon":P,"ing-tr-warning-dialog":T}}static get localizeNamespaces(){return[{"ing-tr-feat-login-sms-otp":e=>{switch(e){case"tr-TR":case"tr":return import("./tr-a2b0227e.js");case"en-GB":case"en-US":case"en":return import("./en-365d783e.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get styles(){return Er}constructor(){super(),this.otpLength=4,this.otpDuration=4,this.loading=!1,this.canSubmit=!1,this.passwordText=this.msgLit("ing-tr-feat-login-sms-otp:passwordText"),$r(),Sr(this),this.setProfilePicture("")}static get properties(){return{otpLength:{type:Number,reflect:!0},otpDuration:{type:Number,reflect:!0},otp:{type:String},showMessage:{type:Boolean},canSubmit:{type:Boolean},loading:{type:Boolean,reflect:!0},errMsg:{type:String,reflect:!0},passwordText:{type:String,reflect:!0},img:{type:Array},isSecurityImage:{type:Boolean},showPopupWarning:{type:Boolean},warningMessage:{type:String}}}modelValueChanged(e){if(this.otp=e.detail.modelValue,this.otp.length<=this.otpLength){const e=sessionStorage.getItem("deviceId"),t=ls(this.otp,e);this.shadowRoot.getElementById("sms-otp-hdn").value=t,this.showMessage=!1,this.errMsg=""}}
3124submit(){this.loading=!0;const e=this.shadowRoot.getElementById("sms-otp-hdn").value;let t=0;$i({scope:this,uri:"auth/validate-otp/v1",request:{otp:e},showNoMessage:!0}).then(e=>{const n=sessionStorage.getItem("gatewayToken");if(null!==e&&null!==e.header&&e.header.success&&null!==e.body&&null!==n&&""!==n){const t=e.body.loginResult;sessionStorage.setItem("loginResult",t),Jt("applicationInfo",e.body.applicationInfo,!0),this.getProfilePictureImageId(),this.successful(e=>{e?.header?.success&&window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:t}}))})}else{switch(t=e?.header?.message?.code,this.showMessage=!0,t){case 310084:this.errMsg="OtpIsCurrentlyNotActiveInSystem";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:this.showHoldUserWarning("HoldUser");break;case 310044:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}this.loading=!1}}).catch(()=>{this.errMsg="ErrorMessage",this.showMessage=!0,this.loading=!1})}getProfilePictureImageId(){$i({scope:this,uri:"userexperience/image/retrieve/v1",showNoMessage:!0,signalDisabled:!0,request:{}}).then(e=>{if(e?.header?.success){const t=e?.body?.image?.imageID;t&&this.getProfilePicture(t)}})}getProfilePicture(e){$i({scope:this,uri:"user/profile/picture/get/v1",showNoMessage:!0,signalDisabled:!0,request:{imageId:e}}).then(e=>{if(e?.header?.success){const t=e?.body?.imageByte;if(t){const e=`data:image/png;base64,${t}`;this.setProfilePicture(e)}}})}setProfilePicture(e){const t=Zt("userInfo",!0);t.profilePicture=e,Jt("userInfo",t,!0),window.dispatchEvent(new CustomEvent("profile-picture-loaded",{bubbles:!0,composed:!1,detail:{profilePicture:e}}))}codeNotReceived(e){let t=0;$i({isProcessFetch:!0,scope:this,uri:"auth/resend-otp/v1",request:{},showNoMessage:!0}).then(e=>{if(e?.header?.success);else switch(this.showMessage=!0,e?.header?.message?.code&&(t=e.header.message.code),t){case 310084:this.errMsg="OtpIsCurrentlyNotActiveInSystem";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:this.showHoldUserWarning("HoldUser");break;case 310027:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}}).catch(e=>{switch(this.showMessage=!0,e?.header?.message?.code&&(t=e.header.message.code),t){case 310084:this.errMsg="OtpIsCurrentlyNotActiveInSystem";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:this.showHoldUserWarning("HoldUser");break;case 310027:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}}).finally(()=>{this.reset()})}showHoldUserWarning(e){this.showMessage=!1,this.showPopupWarning=!0,this.warningMessage=e}renderPopupWarning(){return u`<ing-tr-warning-dialog 3125 ?opened=${this.showPopupWarning} 3126 .header="${this.msgLit("ing-tr-feat-login-sms-otp:warning")}" 3127 .message="${this.msgLit(`ing-tr-feat-login-sms-otp:${this.warningMessage}`)}" 3128 .primaryButtonTitle="${this.msgLit("ing-tr-feat-login-sms-otp:okay")}" 3129 @onClickedPrimaryButton="${()=>{this.showPopupWarning=!1,this.logout()}}" 3130 > 3131 </ing-tr-warning-dialog>`}logout(){hs()}reset(){this.passwordText=this.msgLit("ing-tr-feat-login-sms-otp:passwordText"),this.loading=!1}onResetClicked(){let e=0;$i({isProcessFetch:!0,scope:this,uri:"auth/regenerate-otp/v1",request:{},showNoMessage:!0}).then(t=>{if(t?.header?.success);else switch(this.showMessage=!0,t?.header?.message?.code&&(e=t.header.message.code),e){case 310084:this.errMsg="OtpIsCurrentlyNotActiveInSystem";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:this.showHoldUserWarning("HoldUser");break;case 310027:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}}).catch(t=>{switch(this.showMessage=!0,t?.header?.message?.code&&(e=t.header.message.code),e){case 310084:this.errMsg="OtpIsCurrentlyNotActiveInSystem";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:this.showHoldUserWarning("HoldUser");break;case 310027:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}}).finally(e=>{this.reset()})}successful(e){$i({scope:this,uri:"auth/successful/v1",request:{},showNoMessage:!0}).then(t=>{if(e(t),window.dataroid){const e={cid:t.body.xid};window.dataroid.setUserProfile(e),window.dataroid.pageView("SecondStepLogin")}}).finally(e=>{this.loading=!1})}timerIsUp(){hs()}render(){return u` <div class="container app-main"> 3132 <div class="col-12 card_container"> 3133 <div class="card"> 3134 <div class="card__content"> 3135 <div class="container"> 3136 <div class="row"> 3137 <div class="col-12 center"> 3138 <h2 class="header"> 3139 ${this.msgLit("ing-tr-feat-login-sms-otp:headerMessage")} 3140 </h2> 3141 </div> 3142 </div> 3143 <div class="row pt-16"> 3144 <div class="col-12 mx-auto otp-container"> 3145 <ing-tr-otp-input 3146 firstInputAriaLabel=${this.msgLit("ing-tr-feat-login-sms-otp:firstInputAccesibilityLabel")} 3147 maxlength="${this.otpLength}" 3148 duration="${this.otpDuration}" 3149 headerText="${this.msgLit("ing-tr-feat-login-sms-otp:headerText")}" 3150 submitButtonText="${this.msgLit("ing-tr-feat-login-sms-otp:confirm")}" 3151 passwordText="${this.passwordText}" 3152 .canSubmit="${this.canSubmit}" 3153 @model-value-changed="${this.modelValueChanged}" 3154 @submit="${this.submit}" 3155 ?otpLoading="${this.loading}" 3156 @otp-link-clicked="${this.codeNotReceived}" 3157 @timer-is-up="${this.timerIsUp}" 3158 .resetButtonVisible="${!1}" 3159 .resetButtonEnabled="${!1}" 3160 > 3161 <div slot="image"> 3162 <ing-tr-stx-skeleton> 3163 ${this.isSecurityImage?u`<img 3164 id="security-image" 3165 class="w-100" 3166 src="${`data:image/png;base64,${this.img}`}" 3167 alt="${this.msgLit("ing-tr-feat-login-sms-otp:securityImageAlt")}" 3168 />
3168`:u`<ing-icon 3169 id="security-image" 3170 class="w-100" 3171 icon-id="ing-tr:solid:placeholder" 3172 > 3173 </ing-icon>`} 3174 </ing-tr-stx-skeleton> 3175 </div> 3176 </ing-tr-otp-input> 3177 <input type="hidden" name="sms-otp-hdn" id="sms-otp-hdn" value="" /> 3178 </div> 3179 </div> 3180 <div class="row"> 3181 <div class="col-12 col-@840-6 offset-@840-3 center"> 3182 ${this.showMessage?u` 3183 <ing-notification type="error" 3184 >${this.msgLit(`ing-tr-feat-login-sms-otp:${this.errMsg}`)}</ing-notification 3185 > 3186 `:""} 3187 </div> 3188 </div> 3189 </div> 3190 </div> 3191 </div> 3192 </div> 3193 </div> 3194 ${this.renderPopupWarning()}`}}const Lr=m` 3195 .off-show { 3196 display: none !important; 3197 } 3198 center { 3199 display: none !important; 3200 } 3201 :host { 3202 display: block; 3203 } 3204 .app-main { 3205 padding-top: ${$e}; 3206 } 3207 .button-container { 3208 display: -webkit-flex; 3209 display: flex; 3210 -webkit-flex-direction: row; 3211 flex-direction: row; 3212 margin-bottom: ${A}; 3213 } 3214 #cancel-btn { 3215 flex: 1 0 0; 3216 } 3217 #check-btn { 3218 flex: 3 0 0; 3219 } 3220 .btn { 3221 margin-left: ${q}; 3222 } 3223 .header { 3224 font-size: ${ve}; 3225 } 3226 .message-txt { 3227 font-size: ${Xe}; 3228 } 3229 .center { 3230 text-align: center !important; 3231 } 3232 .card_container { 3233 padding: 0px !important; 3234 } 3235 .security-img { 3236 margin: ${ue} auto; 3237 } 3238 .input-label { 3239 text-align: right; 3240 line-height: 1.5; 3241 color: ${ye}; 3242 ${Xe} 3243 } 3244 #sms-code { 3245 margin-top: ${q}; 3246 } 3247 .remaining-cont { 3248 justify-content: center; 3249 margin-bottom: 10px; 3250 } 3251 .count-down { 3252 ${B()} 3253 } 3254 .custom-button { 3255 ${V()} 3256 text-decoration:none; 3257 cursor: pointer; 3258 } 3259 .w-100 { 3260 width: 100px; 3261 height: 100px; 3262 } 3263 @media screen and (max-width: 840px) { 3264 .card-container .card { 3265 border-radius: 0; 3266 } 3267 .app-main { 3268 padding: 0 !important; 3269 } 3270 .center-mobile { 3271 text-align: center; 3272 } 3273 .hide-mobile { 3274 display: none; 3275 } 3276 .show-mobile { 3277 display: block; 3278 } 3279 .space { 3280 display: none; 3281 } 3282 .card { 3283 box-shadow: none !important; 3284 } 3285 .container { 3286 width: 100% !important; 3287 max-width: 100% !important; 3288 } 3289 .card__content { 3290 padding: 0px !important; 3291 padding-top: ${N}; 3292 } 3293 .mobile-text { 3294 font-size: ${we}; 3295 font-weight: bold; 3296 } 3297 .center-container { 3298 align-items: center; 3299 display: flex; 3300 justify-content: center; 3301 } 3302 .center { 3303 display: flex; 3304 align-items: center; 3305 } 3306 .icon-container { 3307 width: 100%; 3308 } 3309 .button-container { 3310 width: 100%; 3311 display: -webkit-flex; 3312 display: flex; 3313 -webkit-flex-direction: row; 3314 flex-direction: row; 3315 -webkit-align-items: center; 3316 align-items: center; 3317 -webkit-justify-content: center; 3318 justify-content: center; 3319 } 3320 } 3321 ${Qe} 3322 ${nt} 3323 ${it} 3324 ${st} 3325`,Pr=m` 3326 .help-context { 3327 width: 35%; 3328 height: fit-content; 3329 } 3330 @media screen and (max-width: 840px) { 3331 .container-context { 3332 flex-wrap: wrap !important; 3333 } 3334 .item-context { 3335 width: 100% !important; 3336 } 3337 .help-context { 3338 width: 100% !important; 3339 } 3340 } 3341 ${Lr} 3342 ${Ei} 3343`;class Dr extends(Ai(I($))){static get scopedElements(){return{"ing-tr-otp-input":He,"ing-spinner":Q,"ing-form":gt,"ing-notification":jr,"ing-tr-feat-help-menu":Cr,"ing-tr-stx-skeleton":$t,"ing-icon":P}}static get localeConfig(){return{dir:"login-soft-otp",namespace:"ing-tr-feat-login-soft-otp"}}static get styles(){return Pr}static get properties(){return{otpLength:{type:Number,reflect:!0},otpDuration:{type:Number,reflect:!0},otp:{type:String},showMessage:{type:Boolean},canSubmit:{type:Boolean},loading:{type:Boolean,reflect:!0},errMsg:{type:String,reflect:!0},img:{type:Array},handle:{type:Object},otpLinkActionEnabled:{type:Boolean},resetButtonEnabled:{type:Boolean},counter:{type:Number,reflect:!0},isSecurityImage:{type:Boolean}}}get ingForm(){return this.shadowRoot.querySelector("#ingForm")}constructor(){super(),this.otpLength=6,this.otpDuration=4,this.handle=null,this.loading=!1,this.errMsg="",this.showMessage=!1,this.otpLinkActionEnabled=!1,this.resetButtonEnabled=!1,this.canSubmit=!1,this.setProfilePicture(""),$r()}firstUpdated(){super.firstUpdated(),this.counter=60*this.otpDuration/5,Sr(this),this.softOtpAutomaticConfirmation()}disconnectedCallback(){super.disconnectedCallback(),clearInterval(this.handle)}modelValueChanged(e){if(this.otp=e.detail.modelValue,this.otp.length<=this.otpLength){const e=sessionStorage.getItem("deviceId"),t=ls(this.otp,e);this.shadowRoot.getElementById("soft-otp-hdn").value=t,this.showMessage=!1,this.errMsg=""}}
3343getForm(){return this.shadowRoot.querySelector(this.constructor.getScopedTagName("ing-form"))}softOtpAutomaticConfirmation(){this.handle=setInterval(()=>{this.counter--,this.canSubmit&&this.getSoftOtpConfirmed(),0===this.counter&&clearInterval(this.handle)},5e3)}handleApiResponse(e){if(e?.header?.success){const t=e.body.loginResult;sessionStorage.setItem("loginResult",t),Jt("applicationInfo",e.body.applicationInfo,!0),this.getProfilePictureImageId(),this.successful(e=>{e?.header?.success&&window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:t}}))})}else{const t=e?.header?.message?.code;switch(this.showMessage=!0,t){case 310090:case 310091:this.errMsg="InvalidSoftOtp";break;case 310043:this.errMsg="OTPSmsPasswordExpired";break;case 310001:sessionStorage.setItem("loginResult","HoldUser"),Jt("logoutReason",{showMessage:!0,message:e?.header?.message?.text}),window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:"FirstLevel"}}));break;case 310044:case 310045:this.errMsg="OTPSecurityFail";break;default:this.errMsg="ErrorMessage"}this.loading=!1,310001!==t&&this.softOtpAutomaticConfirmation()}}processSoftOtpConfirmation(e){clearInterval(this.handle),this.ingForm.submitGroup(),this.loading=!0,$i({scope:this,uri:"auth/validate-otp/v1",request:e,showNoMessage:!0}).then(e=>this.handleApiResponse(e)).catch(e=>{this.errMsg="ErrorMessage",this.showMessage=!0,this.loading=!1})}getSoftOtpConfirmed(){$i({scope:this,uri:"activation/softotp/check/v1",showNoMessage:!0}).then(e=>{if(e?.header?.success&&e?.body?.hasSoftOtp){const e=this.getForm();if(!1===e?.hasFeedbackFor?.includes("error")){const e={otp:""};this.loading||this.processSoftOtpConfirmation(e)}}}).catch(e=>{this.errMsg="ErrorMessage",this.showMessage=!0,this.loading=!1})}submit(){const e=this.getForm();if(!1===e?.hasFeedbackFor?.includes("error")){const e={otp:this.shadowRoot.getElementById("soft-otp-hdn").value};this.processSoftOtpConfirmation(e)}}getProfilePictureImageId(){$i({scope:this,uri:"userexperience/image/retrieve/v1",showNoMessage:!0,signalDisabled:!0,request:{}}).then(e=>{if(e?.header?.success){const t=e?.body?.image?.imageID;t&&this.getProfilePicture(t)}})}getProfilePicture(e){$i({scope:this,uri:"user/profile/picture/get/v1",showNoMessage:!0,signalDisabled:!0,request:{imageId:e}}).then(e=>{if(e?.header?.success){const t=e?.body?.imageByte;if(t){const e=`data:image/png;base64,${t}`;this.setProfilePicture(e)}}})}setProfilePicture(e){const t=Zt("userInfo",!0);t.profilePicture=e,Jt("userInfo",t,!0),window.dispatchEvent(new CustomEvent("profile-picture-loaded",{bubbles:!0,composed:!1,detail:{profilePicture:e}}))}renderHelpTemplate(){const e=[{header:this.getResourceValue("helpItems.item1.header"),type:"standart",content:{description:this.getResourceValue("helpItems.item1.desc")}},{header:this.getResourceValue("helpItems.item2.header"),type:"standart",content:{description:this.getResourceValue("helpItems.item2.desc")}},{header:this.getResourceValue("helpItems.item3.header"),type:"standart",content:{description:this.getResourceValue("helpItems.item3.desc")}},{header:this.getResourceValue("helpItems.item4.header"),type:"video",videoUrl:this.getResourceValue("helpItems.item4.videoUrl"),content:{description:this.getResourceValue("helpItems.item4.desc")}}];return u`<ing-tr-feat-help-menu .helpItems=${e}></ing-tr-feat-help-menu>`}successful(e){$i({scope:this,uri:"auth/successful/v1",request:{},showNoMessage:!0}).then(t=>{if(e(t),window.dataroid){const e={cid:t.body.xid};window.dataroid.setUserProfile(e),window.dataroid.pageView("SecondStepLogin")}}).finally(e=>{this.loading=!1})}timerIsUp(){hs()}renderOtpHeader(){return u`<div>${this.msgLit("ing-tr-feat-login-soft-otp:headerText")}</div>`}render(){return u` 3344 <div class="row"> 3345 <div class="col-12 col-@840-8 pl-0"> 3346 <div class="card card__content"> 3347 <ing-form id="ingForm"> 3348 <form autocomplete="off"> 3349 <div class="container"> 3350 <div class="row"> 3351 <div class="col-12 center"> 3352 <h2 class="header"> 3353 ${this.msgLit("ing-tr-feat-login-soft-otp:headerMessage")} 3354 </h2> 3355 </div> 3356 </div> 3357 <div class="row pt-16"> 3358 <div class="col-12 mx-auto otp-container"> 3359 <ing-tr-otp-input 3360 firstInputAriaLabel=${this.msgLit("ing-tr-feat-login-soft-otp:firstInputAccesibilityLabel")} 3361 maxlength="${this.otpLength}" 3362 duration="${this.otpDuration}" 3363 passwordText="${this.msgLit("ing-tr-feat-login-soft-otp:passwordText")}" 3364 headerText="${this.msgLit("ing-tr-feat-login-soft-otp:headerText")}" 3365 submitButtonText="${this.msgLit("ing-tr-feat-login-soft-otp:submitButtonText")}" 3366 .otpLinkActionEnabled="${this.otpLinkActionEnabled}" 3367 .resetButtonEnabled="${this.resetButtonEnabled}" 3368 .canSubmit="${this.canSubmit}" 3369 @model-value-changed="${this.modelValueChanged}" 3370 @submit="${this.submit}" 3371 ?otpLoading="${this.loading}" 3372 iconid="ing:filledin-multimedia:image" 3373 @timer-is-up="${()=>this.timerIsUp()}"
3374 > 3375 <div slot="image"> 3376 <ing-tr-stx-skeleton> 3377 ${this.isSecurityImage?u`<img 3378 id="security-image" 3379 class="w-100" 3380 src="${`data:image/png;base64,${this.img}`}" 3381 alt="${this.msgLit("ing-tr-feat-login-soft-otp:securityImageAlt")}" 3382 />`:u`<ing-icon 3383 id="security-image" 3384 class="w-100" 3385 icon-id="ing-tr:solid:placeholder" 3386 > 3387 </ing-icon>`} 3388 </ing-tr-stx-skeleton> 3389 </div> 3390 </ing-tr-otp-input> 3391 <input type="hidden" name="soft-otp-hdn" id="soft-otp-hdn" value="" /> 3392 </div> 3393 </div> 3394 <div class="row"> 3395 <div class="col-12 col-@840-6 offset-@840-3 center"> 3396 ${this.showMessage?u` <ing-notification type="error" 3397 >${this.msgLit(`ing-tr-feat-login-soft-otp:${this.errMsg}`)}</ing-notification 3398 >`:""} 3399 </div> 3400 </div> 3401 </form> 3402 </ing-form> 3403 </div> 3404 </div> 3405 </div> 3406 <div class="col-12 col-@840-4 pr-0"><div class="card">${this.renderHelpTemplate()}</div></div> 3407 </div> 3408 `}}const Rr=m` 3409 .header { 3410 padding: ${N}; 3411 } 3412 .header div.title { 3413 ${E()}; 3414 margin-bottom: ${N}; 3415 } 3416 .header div.detail { 3417 font-size: ${Xe}; 3418 } 3419 .content { 3420 display: flex; 3421 justify-content: space-between; 3422 flex-flow: row; 3423 padding: ${N}; 3424 } 3425 .content .column-half { 3426 flex: 1 1 49%; 3427 text-align: center; 3428 } 3429 .vertical-separator { 3430 border-left: 1px solid ${K}; 3431 height: 100%; 3432 } 3433 3434 .img-container { 3435 display: flex; 3436 justify-content: center; 3437 } 3438 3439 :host { 3440 display: block; 3441 } 3442 .security-img { 3443 margin: ${ue} auto; 3444 } 3445 .w-100 { 3446 width: 100px; 3447 height: 100px; 3448 } 3449 .separator { 3450 display: none; 3451 } 3452 3453 .notification-inline { 3454 margin-bottom: ${N}; 3455 width: ${Tt}; 3456 } 3457 3458 .centered { 3459 text-align: center; 3460 } 3461 3462 @media screen and (max-width: 840px) { 3463 .header { 3464 padding-top: 0px; 3465 } 3466 .card { 3467 box-shadow: none; 3468 } 3469 .container { 3470 width: 100%; 3471 max-width: 100%; 3472 } 3473 .container-context { 3474 flex-wrap: wrap !important; 3475 } 3476 .item-context { 3477 width: 100%; 3478 padding: 0; 3479 } 3480 .content { 3481 display: block; 3482 } 3483 .separator { 3484 display: block; 3485 margin: ${N} 0 ${N} 0; 3486 border-bottom: 1px solid ${K}; 3487 width: 100%; 3488 } 3489 .content { 3490 flex-basis: 100%; 3491 position: relative; 3492 } 3493 .column-half { 3494 display: flex; 3495 text-align: left !important; 3496 } 3497 .vertical-separator { 3498 display: none; 3499 } 3500 } 3501 ${Qe} 3502 ${Ei} 3503`,Or=m` 3504 ${Rr} 3505`;class Fr extends(Ai(I($))){static get scopedElements(){return{"ing-button":D,"ing-tr-feat-help-menu":Cr,"ing-tr-countdown-circle-timer":jt,"ing-icon":P,"ing-tr-stx-skeleton":$t,"ing-notification-inline":jr}}static get localeConfig(){return{dir:"login-mobile-confirm",namespace:"ing-tr-feat-login-mobile-confirm"}}static get styles(){return Or}static get properties(){return{otpDuration:{type:Number,reflect:!0},isTimeout:{type:Boolean},showMessage:{type:Boolean},loading:{type:Boolean,reflect:!0},errMsg:{type:String,reflect:!0},img:{type:Array},handle:{type:Object},resetButtonEnabled:{type:Boolean},counter:{type:Number,reflect:!0},headerText:{type:String},infoText:{type:String},isCancelled:{type:Boolean},styleConfig:{type:Object},canSubmit:{type:Boolean},isSecurityImage:{type:Boolean}}}constructor(){super(),this.otpDuration=120,this.handle=null,this.loading=!1,this.errMsg="",this.showMessage=!1,this.resetButtonEnabled=!1,this.isTimeout=!1,this.isCancelled=!1,this.canSubmit=!1,this.styleConfig={baseTimer:{width:It,height:It},circle:{stroke:G},path:{stroke:z},baseLabel:{color:z,width:It,height:It}},this.setProfilePicture(""),$r()}disconnectedCallback(){super.disconnectedCallback(),clearInterval(this.handle)}firstUpdated(){super.firstUpdated(),this.initTitles(),this.counter=Math.max(Math.floor(this.otpDuration/5),0),Sr(this),this.mobileConfirmAutomaticConfirmation(),this.resetButtonEnabled=void 0!==this.resetButtonEnabled&&this.resetButtonEnabled}initTitles(){this.headerText=this.msgLit("ing-tr-feat-login-mobile-confirm:headerMessage"),this.infoText=this.msgLit("ing-tr-feat-login-mobile-confirm:confirmText")}mobileConfirmAutomaticConfirmation(){this.handle=setInterval(()=>{this.counter--,this.canSubmit&&this.getAuthorizationStatus(),0===this.counter&&(clearInterval(this.handle),this.timerIsUp())},5e3)}handleApiResponse(e){if(e?.header?.success){const t=e.body.loginResult;window.dataroid&&window.dataroid.pageView("SecondStepLogin"),sessionStorage.setItem("loginResult",t),Jt("applicationInfo",e.body.applicationInfo,!0),this.getProfilePictureImageId(),this.successful(e=>{e?.header?.success&&window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:t}}))})}else{const t=e?.header?.message?.code;this.showMessage=!0,this.errMsg="ErrorMessage",this.loading=!1,this.stopTimer(),310001!==t&&this.mobileConfirmAutomaticConfirmation()}}stopTimer(){clearInterval(this.handle),document.dispatchEvent(new Event("timer-stopped"))}processMobileConfirmConfirmation(e){clearInterval(this.handle),this.loading=!0,$i({scope:this,uri:"auth/validate-otp/v1",request:e,showNoMessage:!0}).then(e=>this.handleApiResponse(e)).catch(e=>{this.errMsg="ErrorMessage",this.showMessage=!0,this.loading=!1,this.stopTimer()})}getAuthorizationStatus(){if(!sessionStorage.getItem("mobileToken"))return;const e=sessionStorage.getItem("authorizationId"),t={authorizationId:e};this.isCancelled||$i({scope:this,uri:"auth/ss/authorization-check/v1",request:t,showNo
3505Message:!0}).then(t=>{if(t?.header?.success&&"AUTHORIZED"===t?.body?.status){const t={otp:e};this.loading||this.processMobileConfirmConfirmation(t)}else"PENDING"===t?.body?.status||(this.isCancelled=!0,this.resetButtonEnabled=!0,this.headerText=this.msgLit("ing-tr-feat-login-mobile-confirm:headerMessageCancel"),this.infoText=this.msgLit("ing-tr-feat-login-mobile-confirm:codeCancelled"),clearInterval(this.handle),hs())}).catch(e=>{this.errMsg="ErrorMessage",this.showMessage=!0,this.loading=!1,this.stopTimer()})}getProfilePictureImageId(){$i({scope:this,uri:"userexperience/image/retrieve/v1",showNoMessage:!0,signalDisabled:!0,request:{}}).then(e=>{if(e?.header?.success){const t=e?.body?.image?.imageID;t&&this.getProfilePicture(t)}})}getProfilePicture(e){$i({scope:this,uri:"user/profile/picture/get/v1",showNoMessage:!0,signalDisabled:!0,request:{imageId:e}}).then(e=>{if(e?.header?.success){const t=e?.body?.imageByte;if(t){const e=`data:image/png;base64,${t}`;this.setProfilePicture(e)}}})}setProfilePicture(e){const t=Zt("userInfo",!0);t.profilePicture=e,Jt("userInfo",t,!0),window.dispatchEvent(new CustomEvent("profile-picture-loaded",{bubbles:!0,composed:!1,detail:{profilePicture:e}}))}renderHelpTemplate(){const e=[{header:this.getResourceValue("helpItems.item1.header"),type:"standart",isContentVisible:!0,content:{description:u`<ul> 3506 <li>${this.getResourceValue("helpItems.item1.desc.line1")}</li> 3507 <li>${this.getResourceValue("helpItems.item1.desc.line2")}</li> 3508 <li>${this.getResourceValue("helpItems.item1.desc.line3")}</li> 3509 <li>${this.getResourceValue("helpItems.item1.desc.line4")}</li> 3510 </ul> 3511 ${this.getResourceValue("helpItems.item1.desc.line5")}<br /> 3512 ${this.getResourceValue("helpItems.item1.desc.line6")}`}}];return u`<ing-tr-feat-help-menu .helpItems=${e}></ing-tr-feat-help-menu>`}successful(e){$i({scope:this,uri:"auth/successful/v1",request:{},showNoMessage:!0}).then(t=>{e(t)}).finally(e=>{this.loading=!1})}timerIsUp(){this.isTimeout||(this.isTimeout=!0,this.resetButtonEnabled=!0,this.headerText=this.msgLit("ing-tr-feat-login-mobile-confirm:headerMessageCancel"),this.infoText=this.msgLit("ing-tr-feat-login-mobile-confirm:overTime"),hs())}getHeaderTemplate(){return u` 3513 <div class="header"> 3514 <div class="title">${this.msgLit("ing-tr-feat-login-mobile-confirm:headerMessage")}</div> 3515 <div>${this.msgLit("ing-tr-feat-login-mobile-confirm:headerText")}</div> 3516 </div> 3517 `}render(){return u` 3518 <div class="f-row nowrap g-20 container-context"> 3519 <div class="col-12 col-@840-8 card item-context pl-0"> 3520 ${this.getHeaderTemplate()} 3521 <div class="content"> 3522 <div class="column-half"> 3523 ${this.isCancelled?u`<ing-icon 3524 icon-id="ing:outline-notification:notificationError" 3525 class="w-100" 3526 ></ing-icon>`:u`<ing-tr-countdown-circle-timer 3527 style="display:inline-block" 3528 .customStyleConfig=${this.styleConfig} 3529 duration="${this.otpDuration}" 3530 @timer-is-up="${()=>this.timerIsUp()}" 3531 ></ing-tr-countdown-circle-timer>`} 3532 <div class="header"> 3533 <div class="title">${this.headerText}</div> 3534 <div>${this.infoText}</div> 3535 </div> 3536 </div> 3537 <div class="vertical-separator"></div> 3538 3539 <div class="separator"></div> 3540 <div class="column-half"> 3541 <div slot="image" class="img-container"> 3542 <ing-tr-stx-skeleton> 3543 ${this.isSecurityImage?u`<img 3544 id="security-image" 3545 class="w-100" 3546 src="${`data:image/png;base64,${this.img}`}" 3547 alt="${this.getResourceValue("securityImageAlt")}" 3548 />`:u`<ing-icon 3549 id="security-image" 3550 class="w-100" 3551 icon-id="ing-tr:solid:placeholder" 3552 > 3553 </ing-icon>`} 3554 </ing-tr-stx-skeleton> 3555 </div> 3556 <div class="header"> 3557 <div class="title"> 3558 ${this.msgLit("ing-tr-feat-login-mobile-confirm:securityTitle")} 3559 </div> 3560 <div>${this.msgLit("ing-tr-feat-login-mobile-confirm:securityText")}</div> 3561 </div> 3562 </div> 3563 </div> 3564 <div class="centered"> 3565 ${this.showMessage?u` 3566 <ing-notification-inline 3567 id="inline-error" 3568 class="notification-inline" 3569 type="error" 3570 > 3571 ${this.msgLit(`ing-tr-feat-login-mobile-confirm:${this.errMsg}`)} 3572 </ing-notification-inline> 3573 `:""} 3574 </div> 3575 </div> 3576 <div class="col-12 col-@840-4 item-context pr-0"> 3577 <div class="card">${this.renderHelpTemplate()}</div> 3578 </div> 3579 </div> 3580 `}}const Mr=m` 3581 :host { 3582 display: block; 3583 } 3584 .app-main { 3585 padding-top: ${$e}; 3586 } 3587 .container { 3588 padding: 0 !important; 3589 } 3590 .img-container { 3591 display: flex; 3592 flex-direction: row; 3593 flex-wrap: wrap; 3594 justify-content: center; 3595 } 3596 .f-cont { 3597 display: flex; 3598 flex-direction: row; 3599 flex-wrap: wrap; 3600 justify-content: center; 3601 } 3602 .button-container { 3603 display: -webkit-flex; 3604 display: flex; 3605 -webkit-flex-direction: row; 3606 flex-direction: row; 3607 } 3608 #cancel-btn { 3609 flex: 1 0 0; 3610 } 3611 #check-btn { 3612 flex: 3 0 0; 3613 min-width: 288px; 3614 } 3615 .f-right { 3616 float: right; 3617 } 3618 .btn { 3619 margin-left: ${q}; 3620 } 3621 .header { 3622 font-size: ${ve}; 3623 } 3624 .message-txt { 3625 font-size: ${Xe}; 3626 } 3627 .center { 3628 text-align: center !important; 3629 justify-content: center; 3630 } 3631 .card_container { 3632 padding: 0 !important; 3633 } 3634 #securityImageGroup { 3635 width: 100%; 3636 } 3637 .security-img { 3638 margin: ${y} ${be} ${L}; 3639 width: 160px; 3640 height: 160px; 3641 } 3642 .input-label { 3643 text-align: right; 3644 line-height: 1.5; 3645 color: ${ye}; 3646 ${Xe} 3647 } 3648 .custom-button { 3649 ${V()} 3650 text-decoration:none; 3651 cursor: pointer; 3652 } 3653 .img-r { 3654 width: ${y}; 3655 } 3656 @media screen and (max-width: 840px) { 3657 .card-container .card { 3658 border-radius: 0; 3659 } 3660 .center-mobile { 3661 text-align: center; 3662 } 3663 .hide-mobile { 3664 display: none; 3665 } 3666 .show-mobile { 3667 display: block; 3668 } 3669 .space { 3670 display: none; 3671 } 3672 .card { 3673 box-shadow: none !important; 3674 } 3675 .container { 3676 width: 100% !important; 3677 max-width: 100% !important; 3678 } 3679 .card__content { 3680 padding-top: 16px; 3681 } 3682 .mobile-text { 3683 font-size: ${we}; 3684 font-weight: bold; 3685 } 3686 .center-container { 3687 align-items: center; 3688 display: flex; 3689 justify-content: center; 3690 } 3691 .center { 3692 display: flex; 3693 align-items: center; 3694 justify-content: center; 3695 } 3696 .icon-container { 3697 width: 100%; 3698 } 3699 .security-img { 3700 margin: ${y} ${be} ${L}; 3701 width: 100px; 3702 height: 100px; 3703 } 3704 .button-container { 3705 width: 100%; 3706 display: -webkit-flex; 3707 display: flex; 3708 -webkit-flex-direction: row; 3709 flex-direction: row; 3710 -webkit-align-items: center; 3711 align-items: center;
3712 -webkit-justify-content: center; 3713 justify-content: center; 3714 } 3715 #check-btn { 3716 min-width: auto; 3717 } 3718 .f-right { 3719 float: none; 3720 } 3721 } 3722 ${Qe} 3723 ${nt} 3724 ${it} 3725 ${st} 3726`,Nr=m` 3727 ${Mr} 3728`;class Br extends(x(I($))){static get scopedElements(){return{"ing-button":D,"ing-radio":Be,"ing-tr-radio":_t,"ing-radio-group":Ne,"ing-notification-inline":jr,"ing-form":gt,"ing-spinner":Q,"ing-tr-otp-input":He,"ing-tr-stx-skeleton":$t}}static get localizeNamespaces(){return[{"ing-tr-feat-security-image":e=>{switch(e){case"tr-TR":case"tr":return import("./tr-f6e5ca49.js");case"en-GB":case"en-US":case"en":return import("./en-1fcb794d.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get styles(){return Nr}static get properties(){return{data:{type:Array},showMessage:{type:Boolean,reflect:!0},disabledSubmitButton:{type:Boolean,reflect:!0},isModalOpened:{type:Boolean,reflect:!0}}}get ingForm(){return this.shadowRoot.querySelector("#ingForm")}_onSubmitForm(){if(this.ingForm.submitGroup(),this.ingForm.hasFeedbackFor.includes("error")||!this.selectedImgID)return void(this.showMessage=!0);$i({scope:this,uri:"auth/security-image/v1",request:{selectedSecurityImageId:this.selectedImgID},isProcessFetch:!0}).then(e=>{e?.header?.success?(localStorage.setItem("loginResult",e?.body?.loginResult),window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:e?.body?.loginResult}}))):this.showMessage=!0}).catch(e=>{this.error=e})}constructor(){super(),this.showMessage=!1,this.disabledSubmitButton=!0,this.data=[{},{},{},{},{},{},{},{},{},{}]}onImgSelect(e){this.selectedImgID=e.target.value,this.showMessage=!1,this.disabledSubmitButton=!1}goToLoginPage(){p.navigate("login")}firstUpdated(){super.firstUpdated();$i({scope:this,uri:"securityimage/all",request:{},isInitialFetch:!0}).then(e=>{e?.header?.success&&(this.data=e?.body?.securityImageItems)}).catch(e=>{this.error=e})}render(){return u` 3729<div class="container app-main"> 3730 <div class="col-12 card_container"> 3731 <div class="card"> 3732 <div class="card__content"> 3733 <div class="container"> 3734 <h2 class="header">${this.msgLit("ing-tr-feat-security-image:headerMessage")}</h2> 3735 <span class="message-txt"> 3736 ${this.msgLit("ing-tr-feat-security-image:messagetxt1")} 3737 ${u`<b>${this.msgLit("ing-tr-feat-security-image:messagetxt2")}</b>`} 3738 ${this.msgLit("ing-tr-feat-security-image:messagetxt3")} 3739 3740 </br> 3741 ${this.msgLit("ing-tr-feat-security-image:infotxt")}</p> 3742 </span> 3743 <ing-form id="ingForm"> 3744 <form> 3745 <div class="row"> 3746 <div class="col-12 col-@840-10 offset-@840-1 center"> 3747 ${this.showMessage?u` 3748 <ing-notification-inline type="error" 3749 >${this.msgLit("ing-tr-feat-security-image:errorMessage")}</ing-notification-inline 3750 > 3751 `:""} 3752 </div> 3753 </div> 3754 <div class="row"> 3755 <div class="col-12 col-@840-10 offset-@840-1 center"> 3756 <div class="row"> 3757 <ing-radio-group id="securityImageGroup" name="imageGroup" @change="${e=>this.onImgSelect(e)}" 3758 .validators="${[new vt(null,{getMessage:()=>""})]}"> 3759 <div class="img-container"> 3760 3761 ${this.data?.map(e=>u` 3762 <div class="security-image"> 3763 <ing-tr-stx-skeleton> 3764 <label for="s_${e.id}" 3765 ><img 3766 class="security-img" 3767 src="data:image/png;base64, ${e.value}" 3768 alt="${this.msgLit("ing-tr-feat-security-image:securityImageAlt")}" 3769 /></label> 3770 </ing-tr-stx-skeleton> 3771 <div class="f-cont"> 3772 <ing-radio 3773 id="s_${e.id}" 3774 class="img-r" 3775 .choiceValue=${e.id} 3776 .label="" 3777 ></ing-radio> 3778 </div> 3779 </div> 3780 `)} 3781 3782 </div> 3783 </ing-radio-group> 3784 </div> 3785 </div> 3786 </div> 3787 <div class="row f-right"> 3788 <div class="col-12 col-@840-4 center"> 3789 <div class="button-container"> 3790 <ing-button font19 class="button btn" id="check-btn" ?disabled="${this.disabledSubmitButton}" @click="${this._onSubmitForm}" > 3791 ${this.msgLit("ing-tr-feat-security-image:continueBtn")} 3792 </ing-button> 3793 </div> 3794 </div> 3795 </div> 3796 </form> 3797 </ing-form> 3798 </div> 3799 </div> 3800 </div> 3801 </div> 3802</div> 3803</div> 3804 `}}const Vr=m` 3805 ${Qe} 3806 ${nt} 3807 ${it} 3808 ${st} 3809 3810 :host { 3811 display: block; 3812 } 3813 .header { 3814 ${E()} 3815 margin-bottom:${A} 3816 } 3817 .button-container { 3818 display: -webkit-flex; 3819 display: flex; 3820 -webkit-flex-direction: column; 3821 flex-direction: column; 3822 margin-bottom: ${A}; 3823 } 3824 .main-container { 3825 padding: ${N} ${A} ${y} ${N}; 3826 } 3827 .w-message { 3828 margin: ${q} 0; 3829 } 3830 .input-label { 3831 text-align: right; 3832 line-height: 1.5; 3833 margin-top: ${q}; 3834 margin-bottom: 0px; 3835 color: ${ye}; 3836 ${Xe} 3837 } 3838 .continue-btn { 3839 margin-bottom: ${q}; 3840 } 3841 .mb-8 { 3842 margin-bottom: ${q}; 3843 margin-top: -${q}; 3844 } 3845 input[name='oldPass'], 3846 input[name='newPass'], 3847 input[name='newPassAgain'] { 3848 font-family: Dots; 3849 text-security: disc; 3850 -webkit-text-security: disc; 3851 -moz-text-security: disc; 3852 } 3853 3854 @media screen and (max-width: 840px) { 3855 .mfull { 3856 display: block; 3857 } 3858 .fullw { 3859 width: 100%; 3860 } 3861 .input-label { 3862 text-align: left; 3863 } 3864 } 3865`,Ur=m` 3866 ${Vr} 3867`;class zr extends(Ai(I($))){static get scopedElements(){return{"ing-button":D,"ing-select":Ds,"ing-form":gt,"ing-notification":jr,"ing-icon":P,"ing-tr-input":Fe,"ing-dialog-frame":St,"ing-dialog":Et,"ing-tr-separator":O,"ing-tr-input-pass":bt,"ing-tr-virtual-keyboard":yt,"ing-fieldset":mt,"ing-tr-card":R}}static get localeConfig(){return{namespace:"ing-tr-feat-change-password",dir:"login-change-password"}}static get waitForLocalizeNamespaces(){return!0}static get styles(){return Ur}static get properties(){return{oldPass:{type:String,reflect:!0},newPass:{type:String,reflect:!0},repeatPass:{type:String,reflect:!0},period:{type:String,reflect:!0},errMsg:{type:String,reflect:!0},isModalOpened:{type:Boolean,reflect:!0}}}get ingForm(){return this.shadowRoot.querySelector("#ingForm")}
3867onEnterPressed(e){"Enter"===e.key&&this._onSubmitForm()}connectedCallback(){super.connectedCallback(),window.addEventListener("keyup",this.onEnterPressed.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("keyup",this.onEnterPressed)}_onSubmitForm(){this.focusInput(),this.ingForm.submitGroup();const e=this.shadowRoot.getElementById("check-btn");this.period=this.shadowRoot.getElementById("period").modelValue;const t=sessionStorage.getItem("deviceId"),n={password:ls(this.oldPass,t),newPassword:ls(this.newPass,t),passwordPeriod:Number(this.period)};if(this.ingForm.hasFeedbackFor.includes("error"))return!1;e.setAttribute("disabled","disabled"),$i({scope:this,uri:"auth/change-pin/v1",request:n,isProcessFetch:!0}).then(e=>{try{const t=e?.body?.loginResult;localStorage.setItem("loginResult",t),e?.header?.success&&window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:t}}))}catch(t){switch(e.responseHeader.message.code){case 315015:this.errMsg="warningWrongOldPin";break;case 315099:this.errMsg="warningUserBirthDayError";break;case 315030:this.errMsg="warningOldPinUsedError";break;default:this.errMsg="errorMessage"}this.showMessage=!0}}).catch(e=>{this.doNothing(e)}).finally(()=>{e.removeAttribute("disabled")})}doNothing(e){this.error=e}_onCancel(){this.focusInput(),window.dispatchEvent(new CustomEvent("_logout",{bubbles:!0,composed:!1}))}firstUpdated(){super.firstUpdated(),this.errMsg="warningMessage";const e=this.shadowRoot.getElementById("new-pass"),t=this.shadowRoot.getElementById("repeat-pass");e.onpaste=e=>e.preventDefault(),t.onpaste=e=>e.preventDefault()}checkPass(){this.newPass=this.shadowRoot.getElementById("new-pass").modelValue}setOldPass(){this.oldPass=this.shadowRoot.getElementById("old-pass").modelValue}changeKeyboard(){const e=this.shadowRoot.getElementById("old-pass-keyboard"),t=this.shadowRoot.getElementById("new-pass-keyboard"),n=this.shadowRoot.getElementById("repeat-pass-keyboard");e.attributes.opened&&(t.removeAttribute("opened"),n.removeAttribute("opened")),t.attributes.opened&&(e.removeAttribute("opened"),n.removeAttribute("opened")),n.attributes.opened&&(e.removeAttribute("opened"),t.removeAttribute("opened"))}focusInput(){const e=this.shadowRoot.getElementById("old-pass-keyboard"),t=this.shadowRoot.getElementById("new-pass-keyboard"),n=this.shadowRoot.getElementById("repeat-pass-keyboard");t.removeAttribute("opened"),e.removeAttribute("opened"),n.removeAttribute("opened")}render(){return u` <ing-tr-card removeContentPaddings> 3868 <div class="main-container"> 3869 <div class="header">${this.getResourceValue("headerMessage")}</div> 3870 <ing-form id="ingForm"> 3871 <form> 3872 <div class="row"> 3873 <div class="col-12 col-@840-10 mfull"> 3874 <div class="row"> 3875 <div class="col-12 col-@840-4"> 3876 <p class="input-label">${this.getResourceValue("oldPass")}</p> 3877 </div> 3878 <div class="col-12 col-@840-4"> 3879 <ing-fieldset name="old-pass"> 3880 <ing-tr-virtual-keyboard 3881 id="old-pass-keyboard" 3882 .hoverSecond=${"1"} 3883 maxLength="6" 3884 @click=${()=>this.changeKeyboard()} 3885 > 3886 <ing-tr-input-pass 3887 type="number" 3888 id="old-pass" 3889 name="oldPass" 3890 .modelValue="oldPass" 3891 @model-value-changed="${this.setOldPass}" 3892 slot="invoker" 3893 keyboardEnabled 3894 autocomplete="off" 3895 @click=${()=>this.focusInput()} 3896 .validators="${[new vt(null,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningOldPass")}),new At({min:6,max:6},{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningOldPass")})]}" 3897 > 3898 </ing-tr-input-pass> 3899 </ing-tr-virtual-keyboard> 3900 </ing-fieldset> 3901 </div> 3902 </div> 3903 <div class="row"> 3904 <div class="col-12 col-@840-4"> 3905 <p class="input-label">${this.getResourceValue("newPass")}</p> 3906 </div> 3907 <div class="col-12 col-@840-4"> 3908 <ing-fieldset name="new-pass"> 3909 <ing-tr-virtual-keyboard 3910 id="new-pass-keyboard" 3911 .hoverSecond=${"1"} 3912 maxLength="6" 3913 @click=${()=>this.changeKeyboard()} 3914 > 3915 <ing-tr-input-pass 3916 type="number" 3917 id="new-pass" 3918 name="newPass" 3919 .modelValue="newPass" 3920 @model-value-changed="${this.checkPass}" 3921 slot="invoker" 3922 keyboardEnabled 3923 autocomplete="off" 3924 @click=${()=>this.focusInput()} 3925 .validators="${[new vt(null,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningNewPass")}),new At({min:6,max:6},{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningNewPass")}),new Lt(null,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningMessage")}),new Pt(this.oldPass,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningPassAgainError")})]}" 3926 > 3927 </ing-tr-input-pass> 3928 </ing-tr-virtual-keyboard> 3929 </ing-fieldset> 3930 </div> 3931 </div> 3932 <div class="row"> 3933 <div class="col-12 col-@840-4"></div> 3934 <div class="col-12 col-@840-8 mb-8"> 3935 <ing-notification type="warning" class="w-message" light> 3936 ${this.msgLit(`ing-tr-feat-change-password:${this.errMsg}`)} 3937 </ing-notification> 3938 </div> 3939 </div> 3940 <div class="row"> 3941 <div class="col-12 col-@840-4"> 3942 <p class="input-label">${this.getResourceValue("newPassAgain")}</p> 3943 </div> 3944 <div class="col-12 col-@840-4"> 3945 <ing-fieldset name="repeat-pass"> 3946 <ing-tr-virtual-keyboard 3947 id="repeat-pass-keyboard" 3948 .hoverSecond=${"1"} 3949 maxLength="6" 3950 @click=${()=>this.changeKeyboard()} 3951 > 3952 <ing-tr-input-pass 3953 type="number" 3954 id="repeat-pass" 3955 name="newPassAgain" 3956 .modelValue="repeatPass" 3957 slot="invoker" 3958 keyboardEnabled 3959 autocomplete="off" 3960 @click=${()=>this.focusInput()} 3961 .validators="${[new vt(null,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningPassAgain")}),new At({min:6,max:6},{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningPassAgain")}),new Dt(this.newPass,{getMessage:()=>this.msgLit("ing-tr-feat-change-password:warningRepeatPassAgain")})]}" 3962 > 3963 </ing-tr-input-pass> 3964 </ing-tr-virtual-keyboard> 3965 </ing-fieldset> 3966 <input 3967 type="password" 3968 id="pin" 3969 style="z-index: -1000; border: none!important; position: absolute" 3970 tabindex="-3" 3971 /> 3972 </div> 3973 </div> 3974 <div class="row"> 3975 <div class="col-12 col-@840-4"> 3976 <p class="input-label">
3976${this.getResourceValue("period")}</p> 3977 </div> 3978 <div class="col-12 col-@840-4"> 3979 <ing-select 3980 label-sr-only 3981 id="period" 3982 class="fullw" 3983 name="${this.getResourceValue("period")}" 3984 .modelValue="period" 3985 .validators="${[new vt(null,{getMessage:()=>this.getResourceValue("pleaseSelect")})]}" 3986 label="" 3987 @click=${()=>this.focusInput()} 3988 > 3989 <select slot="input"> 3990 <option selected value="180">180 ${this.getResourceValue("day")}</option> 3991 <option value="90">90 ${this.getResourceValue("day")}</option> 3992 <option value="60">60 ${this.getResourceValue("day")}</option> 3993 <option value="30">30 ${this.getResourceValue("day")}</option> 3994 </select> 3995 </ing-select> 3996 </div> 3997 </div> 3998 </div> 3999 </div> 4000 <div class="row"> 4001 <div class="col-12 col-@840-10"> 4002 <div class="row"> 4003 <div class="col-12 col-@840-4"></div> 4004 <div class="col-12 col-@840-4"> 4005 <div class="button-container"> 4006 <ing-button class="continue-btn" @click="${this._onSubmitForm}" id="check-btn" 4007 >${this.getResourceValue("continueBtn")}</ing-button 4008 > 4009 </div> 4010 </div> 4011 </div> 4012 </div> 4013 </div> 4014 </form> 4015 </ing-form> 4016 </div> 4017 </ing-tr-card>`}}class qr extends(x(I($))){static get scopedElements(){return{"ing-button":D}}static get localizeNamespaces(){return[{"ing-tr-feat-security-warning":e=>{switch(e){case"tr-TR":case"tr":return import("./tr-292a3d5f.js");case"en-GB":case"en-US":case"en":return import("./en-3714b138.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get styles(){return m` 4018 :host { 4019 display: block; 4020 } 4021 4022 ul { 4023 ${V()} 4024 margin:0px; 4025 padding: 0px; 4026 list-style-type: none; 4027 padding-left: ${N}; 4028 padding-bottom: ${A}; 4029 } 4030 ul li { 4031 line-height: ${A}; 4032 margin: 0px; 4033 position: relative; 4034 margin-top: ${N}; 4035 } 4036 ul li:before { 4037 content: ''; 4038 position: absolute; 4039 left: -${N}; 4040 width: ${q}; 4041 height: ${q}; 4042 border-radius: ${h}; 4043 background-color: ${se}; 4044 top: ${q}; 4045 } 4046 .applyBtn { 4047 float: right; 4048 } 4049 4050 ${Qe} 4051 ${nt} 4052 ${it} 4053 ${st} 4054 `}applyButtonClicked(e){$i({scope:this,uri:"auth/security-warning/v1",request:{},isProcessFetch:!0}).then(t=>{const n=t?.body?.loginResult;if(!t?.header?.success)throw new Error(t);localStorage.setItem("loginResult",n),e.target.dispatchEvent(new Event("close-overlay",{bubbles:!0})),window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:n}}))}).catch(e=>{throw new Error(e)})}render(){return u` 4055 <div class="container app-main"> 4056 <div class="col-12 card_container"> 4057 <div class="card"> 4058 <div class="card__content"> 4059 <div class="container"> 4060 <div class="row"> 4061 <h2 class="header">${this.msgLit("ing-tr-feat-security-warning:Header")}</h2> 4062 <div class="col-12 col-@840-10 offset-@840-1 center"> 4063 <ul> 4064 <li>${this.msgLit("ing-tr-feat-security-warning:Content1")}</li> 4065 <li>${this.msgLit("ing-tr-feat-security-warning:Content2")}</li> 4066 <li>${this.msgLit("ing-tr-feat-security-warning:Content3")}</li> 4067 <li>${this.msgLit("ing-tr-feat-security-warning:Content4")}</li> 4068 <li>${this.msgLit("ing-tr-feat-security-warning:Content5")}</li> 4069 <li>${this.msgLit("ing-tr-feat-security-warning:Content6")}</li> 4070 <li>${this.msgLit("ing-tr-feat-security-warning:Content7")}</li> 4071 <li>${this.msgLit("ing-tr-feat-security-warning:Content8")}</li> 4072 <li>${this.msgLit("ing-tr-feat-security-warning:Content9")}</li> 4073 </ul> 4074 </div> 4075 </div> 4076 <div class="row"> 4077 <h2 class="header2">${this.msgLit("ing-tr-feat-security-warning:Header2")}</h2> 4078 <div class="col-12 col-@840-10 offset-@840-1 center"> 4079 <ul> 4080 <li>${this.msgLit("ing-tr-feat-security-warning:Content10")}</li> 4081 <li>${this.msgLit("ing-tr-feat-security-warning:Content11")}</li> 4082 <li>${this.msgLit("ing-tr-feat-security-warning:Content12")}</li> 4083 <li>${this.msgLit("ing-tr-feat-security-warning:Content13")}</li> 4084 <li>${this.msgLit("ing-tr-feat-security-warning:Content14")}</li> 4085 <li>${this.msgLit("ing-tr-feat-security-warning:Content15")}</li> 4086 <li>${this.msgLit("ing-tr-feat-security-warning:Content16")}</li> 4087 <li>${this.msgLit("ing-tr-feat-security-warning:Content17")}</li> 4088 <li>${this.msgLit("ing-tr-feat-security-warning:Content18")}</li> 4089 <li>${this.msgLit("ing-tr-feat-security-warning:Content19")}</li> 4090 </ul> 4091 </div> 4092 </div> 4093 <ing-button 4094 class="applyBtn" 4095 @click=${e=>{this.applyButtonClicked(e)}} 4096 elevated 4097 orange 4098 font24 4099 > 4100 ${this.msgLit("ing-tr-feat-security-warning:ApplyBtn")} 4101 </ing-button> 4102 </div> 4103 </div> 4104 </div> 4105 </div> 4106 </div> 4107 `}}const Hr=m` 4108 :host { 4109 display: block; 4110 } 4111 4112 .otp-container { 4113 max-width: ${Rt}; 4114 align-content: center; 4115 text-align: center; 4116 margin: auto; 4117 } 4118 4119 .form-group { 4120 text-align: center; 4121 text-align: center; 4122 display: block; 4123 height: ${ue}; 4124 margin-bottom: ${be}; 4125 } 4126 4127 .icon { 4128 fill: ${se}; 4129 width: ${N}; 4130 height: ${N}; 4131 } 4132 4133 .text { 4134 color: ${De}; 4135 ${V()} 4136 } 4137 4138 .password_header { 4139 display: flex; 4140 justify-content: center; 4141 margin-bottom: ${N}; 4142 } 4143 4144 .otp-select-header { 4145 display: flex; 4146 justify-content: left; 4147 margin-bottom: ${L}; 4148 } 4149 4150 .button_container, 4151 .input-container { 4152 display: flex; 4153 justify-content: center; 4154 margin-bottom: ${N}; 4155 } 4156 4157 .button_container { 4158 display: flex; 4159 justify-content: center; 4160 } 4161 4162 .otp-header-icon { 4163 margin-bottom: ${A}; 4164 width: 80px; 4165 height: 80px; 4166 } 4167 4168 .otp-header-container { 4169 display: flex; 4170 justify-content: center; 4171 } 4172 4173 .otp-select-phone, 4174 .btn-otp-submit { 4175 width: 100%; 4176 } 4177 4178 #loader { 4179 text-align: center; 4180 } 4181 4182 ${Ot} 4183`,Gr=m` 4184 ${Hr} 4185 ${nt} 4186 ${st} 4187`;class Kr extends(x(I($))){static get scopedElements(){return{"ing-select":Ds,"ing-spinner":Q,"ing-button":D,"ing-icon":P,"ing-tr-card":R,"ing-notification":jr}}static get localizeNamespaces(){return[{"ing-tr-login-otp-select":e=>{switch(e){case"tr-TR":case"tr":return import("./tr-a1493c89.js");case"en-GB":case"en-US":case"en":return import("./en-e51fc6e8.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get styles(){return Gr}constructor(){super(),$r(),this.errMsg="",this.showMessage=!1}static get properties(){return{data:{type:Array},selectedPhone:{type:Object},showMessage:{type:Boolean},errMsg:{type:String,reflect:!0}}}firstUpdated(){super.firstUpdated();$i({scope:this,uri:"contact/phone/retrieve",request:{},showNoMessage:!0}).then(e=>{e.header.success&&(this.data=e?.body?.customerPhoneNumbers?.filter(e=>"MOBILE"==e.phoneType).sort(function(e,t){return e.orderNo-t.orderNo}),this.selectedPhone=this.data?.[0].referenceNo)}).catch(e=>{})}get ingForm(){return this.shadowRoot.querySelector("#ingForm")}formatPhone(e){return`(${e.areaCode}) ${e.number.substring(0,3)} ${e.number.substring(3,5)} ${e.number.substring(5,7)}`}submit(e){e?.preventDefault();$i({isProcessFetch:!0,scope:this,uri:"auth/otp-select/set/v1",request:{phoneReferenceNo:this.selectedPhone},showNoMessage:!0}).then(e=>{e?.header?.success?(localStorage.setItem("loginResult",e?.body?.loginResult),window.dispatchEvent(new CustomEvent("_changePage",{bubbles:!0,composed:!1,detail:{pageName:"",loginResult:e?.body?.loginResult}}))):(this.showMessage=!0,this.errMsg=e?.header?.message?.text)}).catch(e=>{this.showMessage=!0,this.errMsg=this.msgLit("ing-tr-login-otp-select:ErrorMessage}")})}phoneChanged(e){this.selectedPhone=e?.target?.modelValue}getSelectOptions(e){return u` <option value="${e.referenceNo}">${this.formatPhone(e)}</option> `}getOtpSelectionContainer(){return u` 4188 <ing-form id="ingForm" @submit=${this.submit}> 4189 <form> 4190 <ing-tr-card> 4191 <div class="otp-container"> 4192 <div class="otp-header-container"> 4193 <ing-icon class="otp-header-icon" icon-id="ing-tr:devices:phone"> </ing-icon> 4194 </div> 4195 <div class="password_header"> 4196 ${this.msgLit("ing-tr-login-otp-select:pleaseSelectPhone")} 4197 </div> 4198 <div class="otp-select-header"> 4199 ${this.msgLit("ing-tr-login-otp-select:phoneNumber")} 4200 </div> 4201 <div class="form-group text-center"> 4202 <div class="input-container"> 4203 <ing-select 4204 label-sr-only 4205 slot="input" 4206 name="phone" 4207 class="otp-select-phone" 4208 @model-value-changed=${e=>this.phoneChanged(e)} 4209 .modelValue=${this.selectedPhone} 4210 > 4211 <select slot="input"> 4212 ${this.data.map(e=>this.getSelectOptions(e))} 4213 </select> 4214 </ing-select> 4215 </div> 4216 </div> 4217 <div class="button_container"> 4218 <ing-button class="btn-otp-submit" slot="value" 4219 >${this.msgLit("ing-tr-login-otp-select:continue")}</ing-button 4220 > 4221 </div> 4222 </div> 4223 4224 <div class="row"> 4225 <div class="col-12 col-@840-6 offset-@840-3 center"> 4226 ${this.showMessage?u` <ing-notification type="error">${this.errMsg}</ing-notification>`:""} 4227 </div> 4228 </div> 4229 </ing-tr-card> 4230 </form> 4231 </ing-form> 4232 `}getLoader(){return u` 4233 <ing-tr-card id="loader"> 4234 <ing-spinner></ing-spinner> 4235 </ing-tr-card> 4236 `}render(){return u` ${void 0!==this.data?this.getOtpSelectionContainer():this.getLoader()} `}}class Wr extends(I($)){static get scopedElements(){return{"ing-tr-feat-not-found-view":br,"ing-tr-feat-login":Ir,"ing-tr-feat-login-sms-otp":Ar,"ing-tr-feat-login-soft-otp":Dr,"ing-tr-feat-login-mobile-confirm":Fr,"ing-tr-login-otp-select":Kr,"ing-tr-feat-security-image":Br,"ing-tr-feat-change-password":zr,"ing-tr-feat-security-warning":qr}}static get styles(){return m` 4237 ${nt} 4238 ${st} 4239 ${Qe} 4240 ${fr} 4241 `}static get properties(){return{currComp:{type:String,reflect:!0},hideFlow:{type:Boolean},boundChangePage:{type:Function}}}constructor(){super(),sessionStorage.getItem("isLoggedIn")&&p.navigate("dashboard"),this.currComp="firstlevel",this.boundChangePage=this._changePage.bind(this)}connectedCallback(){super.connectedCallback(),window.addEventListener("_changePage",this.boundChangePage)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("_changePage",this.boundChangePage)}_changePage(e){if(e.detail&&""===e.detail.pageName)switch(e.detail.loginResult){case"FirstLevel":this.currComp="firstlevel";break;case"ShowSecurityWarning":this.currComp="needsecurity-warning",Jt("timeoutEnable",!0,!0);break;
4241case"PasswordHasToBeChanged":case"PasswordOfTheUserHasExpired":this.currComp="change-password",Jt("timeoutEnable",!0,!0);break;case"ShowSecurityImageSelection":this.currComp="security-image",Jt("timeoutEnable",!0,!0);break;case"ShowAuthorization":this.currComp="show-mobile-confirm";break;case"ShowSoftOtp":this.currComp="show-soft-otp";break;case"ShowSmsOtp":this.currComp="show-sms-otp";break;case"OTPSelectionFail":case"ShowOTPSelection":this.currComp="show-otp-select";break;case"Successful":this.hideFlow=!0,this.getUserInfo();break;default:this.currComp="not-found"}else this.currComp=e}getUserInfo(){const e=Zt("userInfo",!0);e.firstName="",e.lastName="",$i({uri:"user/personal/info/v1",request:{},isProcessFetch:!0,showNoMessage:!0}).then(t=>{t?.header?.success&&t?.body?.firstName&&t?.body?.lastName&&(e.firstName=t?.body?.firstName?.trim(),e.lastName=t?.body?.lastName?.trim()),Jt("userInfo",e,!0),window.dispatchEvent(new CustomEvent("user-info-loaded",{bubbles:!0,composed:!1,detail:{userInfo:e}}))}).finally(()=>{window.dispatchEvent(new CustomEvent("_loginEvent",{bubbles:!0,composed:!1,detail:{loginResult:"login"}}))})}getComponent(){const e=u` <ing-tr-feat-not-found-view></ing-tr-feat-not-found-view> `;switch(this.currComp){case"firstlevel":return u` <ing-tr-feat-login></ing-tr-feat-login> `;case"needsecurity-warning":return u` <ing-tr-feat-security-warning></ing-tr-feat-security-warning> `;case"change-password":return u` <ing-tr-feat-change-password></ing-tr-feat-change-password> `;case"security-image":return u` <ing-tr-feat-security-image></ing-tr-feat-security-image> `;case"show-sms-otp":return u` <ing-tr-feat-login-sms-otp></ing-tr-feat-login-sms-otp> `;case"show-soft-otp":return u` <ing-tr-feat-login-soft-otp></ing-tr-feat-login-soft-otp> `;case"show-mobile-confirm":return u` <ing-tr-feat-login-mobile-confirm></ing-tr-feat-login-mobile-confirm> `;case"show-otp-select":return u` <ing-tr-login-otp-select></ing-tr-login-otp-select> `;default:return e}}render(){return u` 4242 <ing-tr-feat-main-navbar></ing-tr-feat-main-navbar> 4243 <div class="app-grid app-grid-spacing container-fluid page-container login-grid-container"> 4244 <main class="xoutlet">${this.hideFlow?"":this.getComponent()}</main> 4245 </div> 4246 `}}customElements.define("ing-tr-feat-login-flow",Wr);const Yr=C(e=>class extends(x(e)){static get localizeNamespaces(){return[{"ing-tr-instant-pin":e=>{switch(e){case"tr":case"tr-TR":return import("./tr-3d7f1011.js");case"en-GB":case"en-US":case"en":return import("./en-6f837ecc.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}getResourceValue(e){return this.msgLit(`ing-tr-instant-pin:${e}`)}}),Qr=m` 4247 :host { 4248 display: block; 4249 } 4250 #phoneCode { 4251 min-width: 90px; 4252 } 4253 .app-main { 4254 padding-top: ${$e}; 4255 } 4256 .header { 4257 ${E()} 4258 margin-bottom:${A} 4259 } 4260 .container { 4261 padding: 0 !important; 4262 } 4263 .card_container { 4264 padding: 0 !important; 4265 } 4266 .card__content { 4267 padding: ${N} !important; 4268 } 4269 .input-label { 4270 text-align: right; 4271 line-height: 1.5; 4272 color: ${ye}; 4273 ${Xe}; 4274 margin-top: ${q}; 4275 margin-bottom: 0px; 4276 } 4277 .item-row { 4278 margin-bottom: ${L}; 4279 } 4280 .info-icon { 4281 width: ${A}; 4282 height: ${A}; 4283 vertical-align: middle; 4284 } 4285 4286 .info-text { 4287 ${Ee()} 4288 max-width: 550px; 4289 vertical-align: middle; 4290 } 4291 .notification-container { 4292 margin-bottom: ${N}; 4293 } 4294 .phone-number-info-container { 4295 margin-top: -12px; 4296 margin-bottom: ${N}; 4297 } 4298 .phone-number-info { 4299 ${V()} 4300 color:${U} 4301 } 4302 .button-container { 4303 display: -webkit-flex; 4304 display: flex; 4305 -webkit-flex-direction: column; 4306 flex-direction: column; 4307 margin-bottom: ${q}; 4308 } 4309 #cancel-btn { 4310 flex: 1 0; 4311 } 4312 #check-btn { 4313 flex: 1 0; 4314 min-width: 316px; 4315 } 4316 .btn { 4317 margin-bottom: ${N}; 4318 } 4319 .center { 4320 text-align: center !important; 4321 justify-content: center; 4322 } 4323 .mb-8 { 4324 margin-bottom: ${q}; 4325 } 4326 .pl-0 { 4327 padding-left: 0 !important; 4328 } 4329 input[name='cardPass'] { 4330 -webkit-text-security: disc; 4331 } 4332 4333 ing-tr-input-masked-card-number { 4334 --ing-input-element-width: ${g}; 4335 } 4336 4337 ing-button { 4338 width: ${Rt}; 4339 } 4340 4341 #captchaInput input { 4342 text-transform: uppercase; 4343 } 4344 4345 ${Ei} 4346`,Xr=/^\(?(\d{3})\)?[-. ]?(\d{3})[-. ]?(\d{2})[-. ](\d{2})$/,Zr=e=>e&&4===e.length;var Jr={initialize(e){if(e.header=e.getResourceValue("header"),e.location?.params?.operation){const t=oo[e.location.params.operation];t&&(e.header=e.getResourceValue(`header${t}`))}e.gsm={countryCode:"90"}},_onCancel(){p.navigate("login")},_onSubmitForm(e){const t=e.shadowRoot.querySelector("#instant-pin-form");e.cardNumber=e.shadowRoot.querySelector("#credit-card")?.modelValue,e.cardPassword=e.shadowRoot.querySelector("#card-pass")?.modelValue;const{captchaToken:n,captchaValue:i}=e;if(t.hasFeedbackFor.includes("error")||!e.isCardNumberValid)return!1;const s={gsmNo:this._parsePhoneNumber(e.gsm),cardLastDigit:`${e.cardNumber.value1}${e.cardNumber.value2}%${e.cardNumber.value3}`,cardPassword:ls(e.cardPassword,sessionStorage.getItem("deviceId")),captchaToken:n,captchaValue:i};go(e.processType,s,this._onEntryCallSuccess.bind(e),null,!0,e.otpCounter>=ro-1)},_onEntryCallSuccess({createdOtp:e,accessToken:t,userCode:n}){sessionStorage.setItem("mobileToken",t),this.otpType=e,this.processType=co.CONFIRM,Jt("userCode",n,!0)},_onPhoneNumberChanged(e,t){const n=e?.phoneCode||e||"90";this.gsm={countryCode:n,phoneNumber:t}},_parsePhoneNumber(e){const t=e?.phoneNumber.replace(/ +/g,"");return`${e?.countryCode.phoneCode?e?.countryCode?.phoneCode:e?.countryCode}${t}`},_onCardNumberChanged(e){const t=e?.target?.modelValue,n=(e=>Object.keys(e).reduce((t,n,i)=>(t[`value${i+1}`]=e[n],t),{}))(t);this.cardNumber=n,this.isCardNumberValid=Object.values(n).every(Zr)},getFormItems(e){const t=e.gsm?.countryCode.phoneCode||e.gsm?.countryCode;e.isTurkishPhone=String(t).startsWith("90"),e.characterSize=e.isTurkishPhone?10:20;const n=e.isTurkishPhone?e.msgLit("ing-tr-instant-pin:numberTr"):e.msgLit("ing-tr-instant-pin:numberEn");return u` 4347 <ing-tr-summary-list .header="${e.header}"> 4348 <ing-tr-summary-item> 4349 <div id="credit-card-label" slot="header"> 4350 ${e.msgLit("ing-tr-instant-pin:cardNumber")} 4351 </div> 4352 <div slot="value"> 4353 <div class="f-row nowrap g-10 jc-s w-288"> 4354 <ing-tr-input-card-number-part 4355 id="credit-card" 4356 name="creditCard" 4357 .modelValue="${e.cardNumber}" 4358 aria-labelledby="credit-card-label" 4359 .validators="${[new vt(null,{getMessage:()=>e.msgLit("ing-tr-instant-pin:cardNumberRequired")})]}" 4360 .onCallBack=${this._onCardNumberChanged.bind(e)} 4361 ></ing-tr-input-card-number-part> 4362 </div> 4363 </div> 4364 </ing-tr-summary-item> 4365 4366 <ing-tr-summary-item> 4367 <div id="card-pass-label" slot="header"> 4368 ${e.msgLit("ing-tr-instant-pin:cardPassword")} 4369 </div> 4370 <div slot="value"> 4371 <div class="f-column nowrap ai-s"> 4372 <div> 4373 <ing-fieldset name="card-pass"> 4374 <ing-tr-virtual-keyboard .hoverSecond=${"1"} maxLength="4"> 4375 <ing-tr-input 4376 type="number" 4377 id="card-pass" 4378 class="w-288" 4379 name="cardPass" 4380 .modelValue="${e.cardPassword}" 4381 keyboardEnabled 4382 slot="invoker" 4383 maxLength="4" 4384 aria-labelledby="card-pass-label" 4385 autocomplete="off" 4386 .validators="${[new vt(null,{getMessage:()=>e.msgLit("ing-tr-instant-pin:warningPass")}),new At({min:4,max:4},{getMessage:()=>e.msgLit("ing-tr-instant-pin:warningPassLength")})]}" 4387 > 4388 </ing-tr-input> 4389 </ing-tr-virtual-keyboard> 4390 </ing-fieldset> 4391 </div> 4392 <div class="f-row nowrap g-10 jc-s"> 4393 <ing-icon 4394 class="info-icon" 4395 icon-id="ing:filledin-notification:notificationInformation" 4396 ></ing-icon>
4397 <span class="info-text"> 4398 ${e.msgLit("ing-tr-instant-pin:getPass",{params:{number:n}})} 4399 </span> 4400 </div> 4401 </div> 4402 </div> 4403 </ing-tr-summary-item> 4404 4405 <ing-tr-summary-item> 4406 <div id="phone-label" slot="header"> 4407 ${e.msgLit("ing-tr-instant-pin:phoneNumber")} 4408 </div> 4409 <div slot="value"> 4410 <div class="f-row nowrap g-10 jc-s w-288"> 4411 <ing-tr-input-phone 4412 name="phone" 4413 aria-labelledby="phone-label" 4414 .countryCodeList=${e.countryCodeList} 4415 defaultCountryCode=${e.defaultCountryCode} 4416 .maxPhoneNumber=${e.characterSize} 4417 .validators="${e.isTurkishPhone?[new vt(null,{getMessage:()=>e.msgLit("ing-tr-instant-pin:phoneRequired")}),new Ft(Xr,{getMessage:()=>e.msgLit("ing-tr-instant-pin:wrongPhoneFormat")})]:[new vt(null,{getMessage:()=>e.msgLit("ing-tr-instant-pin:phoneRequired")}),new At({min:4,max:e.characterSize||20},{getMessage:()=>e.msgLit("ing-tr-instant-pin:wrongPhoneFormat")})]}" 4418 .onChangeCallback=${this._onPhoneNumberChanged.bind(e)} 4419 ></ing-tr-input-phone> 4420 </div> 4421 <div class="phone-number-info w-288"> 4422 ${e.msgLit("ing-tr-instant-pin:phoneNumberInfo")} 4423 </div> 4424 </div> 4425 </ing-tr-summary-item> 4426 4427 <ing-tr-summary-item> 4428 <div slot="value"> 4429 <ing-tr-captcha-input 4430 @model-value-changed=${t=>e.captchaToken=t.detail.modelValue} 4431 @before-refresh=${()=>{e.captchaValue=""}} 4432 > 4433 </ing-tr-captcha-input> 4434 </div> 4435 </ing-tr-summary-item> 4436 4437 <ing-tr-summary-item> 4438 <div id="captcha-input-label" slot="header"> 4439 ${e.msgLit("ing-tr-instant-pin:CaptchaLabel")} 4440 </div> 4441 <div slot="value"> 4442 <ing-tr-input 4443 autocomplete="off" 4444 aria-labelledby="captcha-input-label" 4445 id="captchaInput" 4446 maxLength="4" 4447 name="captchaInput" 4448 class="w-288" 4449 @model-value-changed="${t=>e.captchaValue=t?.target?.modelValue?.toUpperCase()}" 4450 .validators="${[new vt(null,{getMessage:()=>e.msgLit("ing-tr-instant-pin:CaptchaRequiredValidationMessage")}),new wt(4,{getMessage:()=>e.msgLit("ing-tr-instant-pin:CaptchaMinLengthValidationMessage")})]}" 4451 > 4452 </ing-tr-input> 4453 <div class="phone-number-info">${e.msgLit("ing-tr-instant-pin:captchaInfo")}</div> 4454 </div> 4455 </ing-tr-summary-item> 4456 4457 <ing-tr-summary-item> 4458 <div slot="value"> 4459 <ing-button type="submit" class="w-288" 4460 >${e.msgLit("ing-tr-instant-pin:continue")}</ing-button 4461 > 4462 </div> 4463 </ing-tr-summary-item> 4464 4465 <ing-tr-summary-item> 4466 <div slot="value"> 4467 <ing-button 4468 outline 4469 font19 4470 class="w-288" 4471 type="button" 4472 @click="${this._onCancel.bind(e)}" 4473 > 4474 ${e.msgLit("ing-tr-instant-pin:cancel")} 4475 </ing-button> 4476 </div> 4477 </ing-tr-summary-item> 4478 </ing-tr-summary-list> 4479 `},render(e){return u` <ing-form id="instant-pin-form" @submit="${()=>this._onSubmitForm(e)}"> 4480 <form autocomplete="off">${this.getFormItems(e)}</form> 4481 </ing-form>`}};const eo={SoftOtp:6,SmsOtp:4};var to={_onConfirm(e){e.otpLoading=!0;const t=Zt("requestContext"),n={gsmNo:t.gsmNo,cardLastDigit:t.cardLastDigit,otp:e.otp,otpType:e.otp.length===eo.SmsOtp?lo.SMS:lo.SOFT};go(e.processType,n,this._onConfirmCallSuccess.bind(e),()=>{e.otpLoading=!1,e.otpCounter=e.otpCounter+1},!1,e.otpCounter>=ro-1)},_onConfirmCallSuccess(){this.processType=co.EXECUTE,this.otpLoading=!1},_otpServiceCall(e){ho(e)},_onTimerIsUp(e){e.otpType===lo.SOFT&&(cn({logout:!0}),e.processType=co.ENTRY)},_onOtpValueChanged(e){this.otp=e.detail.modelValue},_renderOtpView(e){const t=e.msgLit(`ing-tr-instant-pin:otpTitle${e.otpType}`);return u` <div class="otp-dialog"> 4482 <ing-tr-otp-input 4483 .modelValue="${e.otp}" 4484 @model-value-changed="${this._onOtpValueChanged.bind(e)}" 4485 maxlength=${eo[e.otpType]} 4486 duration=${4} 4487 ?otpLoading=${e.otpLoading} 4488 headerText="${t}" 4489 submitButtonText="${e.msgLit("ing-tr-instant-pin:otpSubmitButtonText")}" 4490 resetButtonText="${e.msgLit("ing-tr-instant-pin:otpResetButtonText")}" 4491 @timer-is-up="${()=>this._onTimerIsUp(e)}" 4492 @submit="${()=>this._onConfirm(e)}" 4493 .otpLinkActionEnabled=${e.otpType===lo.SMS} 4494 @otp-link-clicked="${()=>this._otpServiceCall(uo.RESEND)}" 4495 @retryButtonClicked="${()=>this._otpServiceCall(uo.REGENERATE)}" 4496 > 4497 </ing-tr-otp-input> 4498 </div>`},render(e){const t=e.msgLit(`ing-tr-instant-pin:otpHeader${e.otpType}`);return u` 4499 <ing-tr-card> 4500 <div slot="header">${t}</div> 4501 <div>${this._renderOtpView(e)}</div> 4502 </ing-tr-card> 4503 `}},no={render:e=>u`<ing-tr-execute-step 4504 .buttonConfig=${{primary:{title:e.msgLit("ing-tr-instant-pin:entryInternetBanking"),onClick:()=>p.navigate("login")}}} 4505 .headerMessages=${[{order:1,message:e.msgLit("ing-tr-instant-pin:yourPasswordH
4505asBeenChanged")}]} 4506 .footerMessages=${[{order:1,message:e.msgLit("ing-tr-instant-pin:instantPasswordInformationFirst")},{order:2,message:e.msgLit("ing-tr-instant-pin:instantPasswordInformationSecond")},{order:3,message:`${e.msgLit("ing-tr-instant-pin:userCode")} ${Zt("userCode",!0)}`}]} 4507 .notificationType=${"success"} 4508 ></ing-tr-execute-step>`},io={__onClickOkay(){this.otpCounter=0,this.processType=co.ENTRY},render(e){return u`<ing-tr-warning-dialog 4509 ?opened=${e.otpCounter>=ro} 4510 .header=${e.msgLit("ing-tr-instant-pin:warning")} 4511 .message=${e.msgLit("ing-tr-instant-pin:otpWarningMessage")} 4512 .primaryButtonTitle=${e.msgLit("ing-tr-instant-pin:okay")} 4513 @onClickedPrimaryButton="${this.__onClickOkay.bind(e)}" 4514 ></ing-tr-warning-dialog>`}};const so={entry:"authentication/authenticate/",confirm:""},ao=e=>`${so[e]}instant-password/${e}/v1`,ro=3,oo={"first-password":"FirstPassword","learn-usercode":"LearnUserCode","learn-password":"LearnPassword"},co={ENTRY:"entry",CONFIRM:"confirm",EXECUTE:"execute"},lo={SOFT:"SoftOtp",SMS:"SmsOtp"},uo={REGENERATE:"regenerate",RESEND:"resend"},po={regenerate:"auth/regenerate-otp/v1",resend:"auth/resend-otp/v1"},mo={entry:Jr,confirm:to,execute:no,otpWarning:io,initialize:e=>{Object.values(co).forEach(t=>{const n=mo[t];"function"==typeof n.initialize&&n.initialize(e)})}},go=(e,t,n,i,s,a)=>{$i({isProcessFetch:s,showNoMessage:a,uri:ao(e),request:t}).then(s=>{if(s.header.success){if(e===co.ENTRY){const{cardPassword:e,...n}=t;Jt("requestContext",{transactionId:s.body.transactionId,...n})}n?.(s.body)}else i?.(s)}).catch(e=>{i?.(e)})},ho=e=>{$i({isProcessFetch:!0,uri:po[e],request:{},showNoMessage:!0})},fo=e=>{const{branch:t,userId:n,transactionNo:i,date:s}=e||{},a=[s?d(new Date(s)):null,t?.code,n,i];return a.every(Boolean)?a.join("-"):""},bo=e=>$i({scope:void 0,uri:"bank-receipt/retrieve/v1",request:{outputInfo:{outputType:"PDF",charset:"utf8",browserType:navigator.userAgent},receiptInfo:e,customerServiceType:"Consumer"},isProcessFetch:!0}).then(e=>{if(e.header.success){const t=new Date;J({fileName:`PDF_${t.toLocaleDateString("tr").replaceAll(".","")}_${t.toLocaleTimeString("tr").replaceAll(":","")}`,fileData:e.body.byteResponse,fileExtension:"pdf"})}}),yo=e=>$i({scope:void 0,uri:"activity/account/list/pdf-generate/v1",request:{accountId:e.accountId,startDate:e.startDate,endDate:e.endDate},isProcessFetch:!0}).then(e=>{if(e.header.success){const t=new Date;J({fileName:`PDF_${t.toLocaleDateString("tr").replaceAll(".","")}_${t.toLocaleTimeString("tr").replaceAll(":","")}`,fileData:e.body.byteResponse,fileExtension:"pdf"})}}),vo=e=>{let t={accountActivities:[],filterAccountActivities:[]},n=e.scope;$i({scope:n,uri:"activity/account/list/retrieve/v2",isProcessFetch:e.isProcessFetch,processMessage:n.processMessage,request:{accountId:n.accountId,startDate:Mt(n.startDate,"
4514start"),endDate:Mt(n.endDate,"end"),recordCount:0,paginationRequestInfo:{pageSize:n.totalElements,pageNumber:1,paginationOption:"PAGINATION",nextKey:null},searchingKeyword:n.searchText,sortingParameter:n.sortParam}}).then(i=>{t.accountActivities=i?.body?.activityDtoList,t.totalElements=i?.body?.paginationResponseInfo?.totalElements,t.pageNumber=i?.body?.paginationResponseInfo?.pageNumber,t.accountActivities.map(e=>(e.date=e.receiptDateTime,e.description=e.description1+" - "+e.description2,e.channelType=e.channel,e.amount=e.transactionAmount?.value?.toString(),e.balance=e.balanceAmount?.value?.toString(),e.aditionalDescription=e.description2,e.currency="TL"===e.transactionAmount?.currency?.symbol?"TRY":e.transactionAmount?.currency?.symbol,e)),t.filterAccountActivities=[...t.accountActivities],e.success.call(n,t)}).finally(()=>{clearTimeout(e.scope.timeoutId),e.scope.timeoutId=null})},wo=e=>$i({scope:void 0,uri:"create-csv/execute/v1",request:{appendColumns:!0,listSeparator:";",source:{columns:e.headers,rows:e.rows}},isProcessFetch:!0}).then(e=>{if(e.header.success){const i=atob(e.body.content),s=Co(i),a=new Blob(s,{type:"text/csv;charset=utf-8;"});var t=URL.createObjectURL(a),n=document.createElement("a");n.href=t;const r=new Date;n.setAttribute("download",`CSV_${r.toLocaleDateString("tr").replaceAll(".","")}_${r.toLocaleTimeString("tr").replaceAll(":","")}`),n.click()}}),Co=e=>{let t=[];for(let n=0;n<e.length;n+=1024){const i=e.slice(n,n+1024),s=new Array(i.length);for(let e=0;e<i.length;e++)s[e]=i.charCodeAt(e);const a=new Uint8Array(s);t.push(a)}return t};class xo extends(x(I($))){static get localizeNamespaces(){return[{"ing-tr-execute-step":e=>{switch(e){case"tr":case"tr-TR":default:return import("./tr-d73cf8b9.js");case"en-GB":case"en-US":case"en":return import("./en-97705297.js")}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}getResourceValue(e,t){return this.msgLit(`ing-tr-execute-step:${e}`,t)}static get styles(){return m` 4515 ${nt} 4516 ${st} 4517 4518 :host { 4519 display: block; 4520 } 4521 4522 .icon[icon-id='ing-tr:solid:phoneCall'] { 4523 width: ${It}; 4524 height: ${It}; 4525 } 4526 4527 .icon { 4528 width: ${me}; 4529 height: ${me}; 4530 } 4531 4532 .execute-container { 4533 text-align: center; 4534 max-width: ${Nt}; 4535 margin: 0 auto; 4536 } 4537 4538 .header-message-container { 4539 margin-top: ${N}; 4540 margin-bottom: ${N}; 4541 ${E()}; 4542 } 4543 4544 .footer-container { 4545 margin-bottom: ${N}; 4546 } 4547 4548 .footer-message-container { 4549 margin-top: ${N}; 4550 } 4551 4552 .footer-message { 4553 margin-bottom: ${q}; 4554 } 4555 4556 .footer-message:last-child { 4557 margin-bottom: 0; 4558 } 4559 4560 .footer-components { 4561 margin-top: ${N}; 4562 margin-bottom: ${N}; 4563 } 4564 4565 .buttons { 4566 display: flex; 4567 flex-direction: row-reverse; 4568 justify-content: center; 4569 gap: ${q}; 4570 } 4571 4572 ing-button { 4573 cursor: pointer; 4574 width: ${g}; 4575 } 4576 4577 ing-tr-copy-button { 4578 position: relative; 4579 top: ${L}; 4580 } 4581 4582 @media (max-width: 840px) { 4583 .button-receipt { 4584 margin: 0 0 ${be}; 4585 width: 100%; 4586 min-width: fit-content; 4587 } 4588 4589 .buttons { 4590 flex-direction: column; 4591 gap: ${N}; 4592 } 4593 4594 .buttons ing-button { 4595 width: 100%; 4596 } 4597 } 4598 `}static get properties(){return{shouldTriggerRateMe:{type:Boolean},headerMessages:{type:Array},footerMessages:{type:Array},buttonConfig:{type:Object},loadReceipt:{type:Function},receipt:{type:Object},notificationType:{type:String},hasReceipt:{type:Boolean},isIvnCallRequired:{type:Boolean},isFraudCheckRequired:{type:Boolean},isRecordOperation:{type:Boolean},isRecordSuccessful:{type:Boolean}}}static get scopedElements(){return{"ing-button":D,"ing-tr-card":R,"ing-icon":P,"ing-tr-copy-button":Bt}}constructor(){super(),this.handleApiCallContext()}firstUpdated(){super.firstUpdated(),this.initializeComponent()}initializeComponent(){this.shouldTriggerRateMe&&en(),this.hasReceipt=this.receipt?.transactionNo>0||this.loadReceipt,Array.isArray(this.footerMessages)&&(this.footerMessages=this.footerMessages.filter(e=>!i(e.message)))}handleApiCallContext(){const{uri:e,response:t}=Zt("apiCallContext",!0)||{};this.isIvnCallRequired=(e=>9009===e?.header?.message?.code)(t),this.isFraudCheckRequired=Gt(t),this.isRecordOperation=e?.startsWith("benef
4598iciary/save/"),this.isRecordOperation&&(this.isRecordSuccessful=t?.header?.success)}_getIconId(){let e;return e=this.isIvnCallRequired?"ing-tr:solid:phoneCall":"warning"===this.notificationType?"ing:outline-notification:notificationWarning":"ing:outline-notification:notificationSuccess",e}_renderIcon(){return u`<ing-icon icon-id="${this._getIconId()}" class="icon"></ing-icon>`}_renderHeaderContainer(){return u`<div class="header-message-container">${this._getHeaderMessage()}</div>`}_getHeaderMessage(){return this.isIvnCallRequired?u`<span>${this.getResourceValue("ivnCallRequiredHeaderMessage")}</span>`:this.headerMessages?.sort((e,t)=>e.order-t.order).map(e=>u`<div>${e.message}</div>`)}_renderFooterContainer(){return u` 4599 <div class="footer-container"> 4600 <div class="footer-message-container">${this._renderFooterMessageContainer()}</div> 4601 <div class="footer-components"> 4602 <slot name="footer-components-slot"></slot> 4603 ${this._renderReceiptButton()} 4604 </div> 4605 </div> 4606 `}_renderFooterMessageContainer(){return this.isIvnCallRequired?u`<div class="footer-message"> 4607 ${this.getResourceValue("ivnCallRequiredFooterMessage")} 4608 </div>`:u`${this._renderRecordFooterMessage()} ${this._renderFooterMessages()}`}_renderFooterMessages(){if(!this.isFraudCheckRequired)return this.footerMessages?.sort((e,t)=>e.order-t.order).map(e=>u`<div class="footer-message"> 4609 ${e.message} ${this._renderComponent(e.component)} 4610 </div>`)}_renderRecordFooterMessage(){if(this.isRecordOperation){const e=this.isRecordSuccessful?"addRecordSuccessMessage":"addRecordFailMessage";return u`<div class="footer-message">${this.getResourceValue(e)}</div>`}}_renderComponent(e){if(e){const t=this.shadowRoot.createElement(e?.name);return e?.attributes&&Object.entries(e.attributes).forEach(([e,n])=>t?.setAttribute(e,n)),t}}_renderButton(e){if(i(this.buttonConfig?.[e]))return"";const{title:t,onClick:n}=this.buttonConfig[e];return u`<ing-button ?outline=${"primary"!==e} @click="${n}" 4611 >${t} 4612 </ing-button>`}async handleReceiptButtonClick(){this.receipt||"function"!=typeof this.loadReceipt||await this.loadReceipt(),this.receipt&&bo(this.receipt)}_renderReceiptButton(){return this.hasReceipt?u`<ing-button 4613 text 4614 font16 4615 indigo 4616 class="button-receipt" 4617 @click=${this.handleReceiptButtonClick} 4618 > 4619 <ing-icon slot="icon-before" icon-id="ing:filledin-documents:document"> </ing-icon> 4620 <span>${this.getResourceValue("showReceipt")}</span> 4621 </ing-button>`:u``}_renderButtons(){return u`<div class="buttons"> 4622 ${this._renderButton("primary")} ${this._renderButton("secondary")} 4623 </div>`}_renderContainers(){return u`${this._renderHeaderContainer()} ${this._renderFooterContainer()}`}render(){return u` 4624 <ing-tr-card> 4625 <div class="execute-container"> 4626 ${this._renderIcon()} ${this._renderContainers()} ${this._renderButtons()} 4627 </div> 4628 </ing-tr-card> 4629 `}}class ko extends(Yr(I($))){static get styles(){return m` 4630 ${Qr} 4631 `}static get scopedElements(){return{"ing-button":D,"ing-tr-execute-step":xo,"ing-form":gt,"ing-icon":P,"ing-fieldset":mt,"ing-tr-input":Fe,"ing-tr-input-phone":Vt,"ing-tr-virtual-keyboard":yt,"ing-tr-input-card-number-part":Ut,"ing-tr-captcha-input":kr,"ing-tr-otp-input":He,"ing-tr-summary-list":zt,"ing-tr-summary-item":qt,"ing-tr-card":R}}static get properties(){return{cardNumber:{type:String},cardPassword:{type:Number},gsm:{type:Object},otp:{type:Number},otpCounter:{type:Number},captchaToken:{type:String},captchaValue:{type:String},processType:{type:String},otpType:{type:String},otpLoading:{type:Boolean},operationType:{type:Boolean},header:{type:String},defaultCountryCode:{type:String},countryCodeList:{type:Array},isCardNumberValid:{type:Boolean},isTurkishNumber:{type:Boolean}}}constructor(){super(),this.processType=co.ENTRY,this.otpLoading=!1,this.otpType=lo.SOFT,this.otpCounter=0,this.characterSize=10,this.defaultCountryCode="+90",this.isTurkishNumber=!0,this.fetchCountryCodes()}fetchCountryCodes(){$i({scope:this,uri:"anonymous/parameters/country/retrieve",isInitialFetch:!0,request:{includedFreeArea:!1}}).then(e=>{e?.header?.success&&(this.countryCodeList=e?.body?.countries?.map(e=>(e.value="+"+e.phoneCode,e.text=`${e.value} (${e.name})`,e)))})}firstUpdated(){super.firstUpdated(),mo.initialize(this);const e=this.offsetParent?.shadowRoot?.querySelector("ing-tr-api-message");e.shadowRoot.querySelector("ing-tr-warning-dialog").addEventListener("close-overlay",e=>{this.refreshPageAfterDialogClosed()})}refreshPageAfterDialogClosed(){window.location.reload()}render(){const e=mo[this.processType],t=mo.otpWarning;return u`${t.render(this)}${e.render(this)}`}}customElements.define("ing-tr-feat-instant-pin-base-view",ko);const Io=m` 4632 .headerText { 4633 ${Re()} 4634 margin-top: ${N}; 4635 } 4636 .infoText { 4637 margin-top: ${N}; 4638 ${Ee()} 4639 } 4640 #logout-btn { 4641 margin-top: ${N}; 4642 width: 50%; 4643 } 4644 .information { 4645 margin-left: ${N}; 4646 } 4647 .img-cont { 4648 text-align: center; 4649 } 4650 @media screen and (max-width: 840px) { 4651 .info-center-mobile { 4652 text-align: center; 4653 } 4654 } 4655 4656 @media screen and (max-width: 600px) { 4657 .card_container { 4658 padding-left: 0px !important; 4659 padding-right: 0px !important; 4660 } 4661 .information { 4662 margin-left: 0px; 4663 } 4664 .img-mobile-logout { 4665 width: 300px; 4666 } 4667 #logout-btn { 4668 width: auto; 4669 } 4670 } 4671 ${Qe} 4672 ${nt} 4673`,$o=m` 4674 ${Io} 4675`;class To extends(x(I($))){static get scopedElements(){return{"ing-button":D}}static get localizeNamespaces(){return[{"ing-tr-feat-logout":e=>{switch(e){case"tr-TR":case"tr":return import("./tr-39c84c35.js");case"en-GB":case"en-US":case"en":return import("./en-afadb31f.js");default:return import(`../translations/${e}.js`)}}},...super.localizeNamespaces]}static get waitForLocalizeNamespaces(){return!0}static get styles(){return $o}constructor(){super(),$r(),window.dataroid&&(window.dataroid.pageView("Logout"),window.dataroid.clearUserProfile())}static get properties(){return{loading:{type:Boolean,reflect:!0},errMsg:{type:String,reflect:!0}}}_redirectLogin(){p.navigate("login")}get infoMessage(){let e="ing-tr-feat-logout:infoMessage";const t=this.location.params.reason;return"another-user-logged-in"===t?e=`${e}AnotherUserLoggedIn`:"user-holded-txnotp"===t&&(e=`${e}TxnOtpHold`),this.msgLit(e)}render(){return u` 4676 <div class="app-main"> 4677 <div class="col-12 card_container"> 4678 <div class="card"> 4679 <div class="card__content"> 4680 <div class="row"> 4681 <div class="col-12 col-@840-6 info-center-mobile"> 4682 <div class="information"> 4683 <div class="headerText">${this.msgLit("ing-tr-feat-logout:headerMessage")}</div> 4684 <div class="infoText">${this.infoMessage}</div> 4685 <ing-button font19 id="logout-btn" @click="${this._redirectLogin}" 4686 >${this.msgLit("ing-tr-feat-logout:logoutBtn")} 4687 </ing-button> 4688 </div> 4689 </div> 4690 <div class="col-12 col-@840-6 img-cont"> 4691 <img 4692 class="img img-mobile-logout" 4693 src="../../../banking/assets/images/visual-lock.png" 4694 alt="" 4695 aria-hidden="true" 4696 /> 4697 </div> 4698 </div> 4699 </div> 4700 </div> 4701 </div> 4702 </div> 4703 `}}customElements.define("ing-tr-feat-logout",To);const jo="ing-tr-feat-not-found-view",_o={...{"ing-tr-feat-login-flow":Wr,"ing-tr-feat-instant-pin-base-view":ko,"ing-tr-feat-logout":To}};var So={routes:[...ar.routes,...rr.routes,...or.routes,...cr.routes,...lr.routes,...dr.routes,...pr.routes,...mr.routes,...ur.routes,...gr.routes,...hr.routes,...[{path:"/",redirect:"/login"},{path:".",redirect:"/login"}
4703,{path:"/login",name:"login",component:"ing-tr-feat-login-flow",singleColumn:!0},{path:"/login/instant-pin/:operation?",name:"login.instantPin",component:"ing-tr-feat-instant-pin-base-view",header:"instantPassword"},{path:"/logout/:reason?",name:"login.logout",component:"ing-tr-feat-logout",singleColumn:!0},{path:"/dashboard",name:"dashboard",component:"ing-tr-feat-dashboard",action:(e,t)=>import("./IngTrFeatDashboard-6b317332.js")},{path:"/dashboard/my-assets",name:"dashboardAssets",component:"ing-tr-feat-dashboard-assets",action:(e,t)=>import("./IngTrFeatDashboardAssets-01544e42.js")},{path:"/mobileothers",name:"mobileothers",component:"ing-tr-feat-mobile-nav-card",action:(e,t)=>import("./IngTrFeatMobileNavCard-64dcfe15.js")},{path:"/hybrid-form",name:"hybridForm",component:"ing-tr-feat-hybrid-form",singleColumn:!0,action:(e,t)=>import("./HybridForm-73a137ae.js")},{path:"/not-found/:brokenlink?",component:jo,name:"notfound"},{path:"(.*)",component:jo}]],scopedElementsForRoute:_o,defaultNotFoundView:jo};const{routes:Eo,defaultNotFoundView:Ao}=So;const Lo=C(n=>class extends n{static get properties(){return{currentPage:{type:Object},selectedCountry:{type:Object},pageKeyword:{type:Object},appState:{type:Object},isLogin:{type:Boolean},isLoggedIn:{type:Boolean}}}constructor(){if(super(),this.isLogin=window.location.href.includes("e-government/redirection")||window.location.href.includes("login")||window.location.href.includes("banking")||window.location.href.includes("logout"),this.isHybridApplication=window.location.href.includes("hybrid-form"),this.defaultNotFoundView=Ao,i(this.appState?.locale)?k.locale="tr-TR":k.locale=this.appState?.locale,window.location.href.includes("e-government/oauthlogin")){let e;if(window.location?.search?e=new URLSearchParams(window.location.search):window.location?.toString()?.split("#")[1]?.split("?")[1]&&(e=new URLSearchParams(window.location.toString().split("#")[1].split("?")[1])),e&&e.has("client_id")&&e.has("state")&&e.has("redirect_uri")){const t=e.get("state"),n=e.get("redirect_uri"),i=e.get("
4703client_id");sessionStorage.setItem("state",t),sessionStorage.setItem("redirectUri",n),sessionStorage.setItem("clientId",i),sessionStorage.setItem("egovLogin",!0)}}this.initiliazeState(),window.addEventListener("vaadin-router-location-changed",e=>{const t=e?.detail?.location?.route,n=e?.detail?.location?.params;this.requestUpdateCheck(t),this.instanaReportingURL&&ineum("page",t.name),this.breadcrumbAddCheck(t.name,t.path,t.mainFlow,n),this.isLogin=window.location.href.includes("e-government/redirection")||window.location.href.includes("login")||window.location.href.includes("logout"),this.isHybridApplication=window.location.href.includes("hybrid-form")})}firstUpdated(){super.firstUpdated(),this.routes=[...Eo],this.createRouter(this.shadowRoot.querySelector(".outlet"))}initiliazeState(){e.isStateAvailable()&&(this.appState=e.getFormData(t.APP_STATE_MODEL_ID),e.onStateChange(this.setAppState.bind(this),t.APP_STATE_MODEL_ID))}setAppState(){this.appState=e.getFormData(t.APP_STATE_MODEL_ID),this.isLoggedIn=this.appState?.isLoggedIn||this.appState?.isDevMock,i(this.appState?.locale)||(k.locale=this.appState?.locale)}updateRoute(e){return e.component?{...e,component:e.component,action:(t,n)=>e.action?(this.onRouteAction(t,n),e.action(t,n)):this.onRouteAction(t,n)}:e.flowName?{...e,children:()=>this.asyncRoutes(e.flowName)}:e}getRouteConfig(){return this.routes.map(e=>this.updateRoute.bind(this)(e))}asyncRoutes(e){return function(e){switch(e){case"../../../packages/features/additional-action-fast-money-transfer/index.js":return import("./index-8f014faa.js");case"../../../packages/features/base-feature/index.js":return import("./index-bea6862c.js");case"../../../packages/features/breadcrumbs/index.js":return import("./index-34bf4fcb.js");case"../../../packages/features/captcha-input/index.js":return import("./index-b790af7a.js");case"../../../packages/features/chart/index.js":return import("./index-d626bdef.js");case"../../../packages/features/common-error/index.js":return import("./index-21be4539.js");case"../../../packages/features/contract-box/index.js":return import("./index-7978ac9c.js");case"../../../packages/features/dashboard/index.js":return import("./index-c065d543.js");case"../../../packages/features/detail-table/index.js":return import("./index-41a04932.js");case"../../../packages/features/document-popup/index.js":return import("./index-fe7cab5a.js");case"../../../packages/features/exchange-account-control/index.js":return import("./index-0e418cd7.js");case"../../../packages/features/filter-list/index.js":return import("./index-a73b8973.js");case"../../../packages/features/help-menu/index.js":return import("./index-794c3656.js");case"../../../packages/features/individual-retirement-detail/index.js":return import("./index-13ec6b4b.js");case"../../../packages/features/individual-retirement-list/index.js":return import("./index-4193fdb2.js");case"../../../packages/features/instant-pin/index.js":return import("./index-35a1cad7.js");case"../../../packages/features/insurances/index.js":return import("./index-3f07e452.js");case"../../../packages/features/insurances-detail/index.js":return import("./index-7094b631.js");case"../../../packages/features/investment-transaction-result/index.js":return import("./index-bca830b4.js");case"../../../packages/features/login/index.js":return import("./index-0a82d12f.js");case"../../../packages/features/login-change-password/index.js":return import("./index-5e1e8e4f.js");case"../../../packages/features/login-flow/index.js":return import("./index-ef11efbe.js");case"../../../packages/features/login-mobile-confirm/index.js":return import("./index-0deefaf1.js");case"../../../packages/features/login-otp-select/index.js":return import("./index-3c7481fa.js");case"../../../packages/features/login-security-image/index.js":return import("./index-8a8a2962.js");case"../../../packages/features/login-security-warning/index.js":return import("./index-5c54fe00.js");case"../../../packages/features/login-sms-otp/index.js":return import("./index-3869f077.js");case"../../../packages/features/login-soft-otp/index.js":return import("./index-f8ddf5da.js");case"../../../packages/features/main-nav/index.js":return import("./index-cd074110.js");case"../../../packages/features/main-navbar/index.js":return import("./index-4a37d9fb.js");case"../../../packages/features/mobile-password-success/index.js":return import("./index-1086754b.js");case"../../../packages/features/nav-bar/index.js":return import("./index-dd36a518.js");case"../../../packages/features/not-found-view/index.js":return import("./index-c1065d78.js");case"../../../packages/features/rate-me/index.js":return import("./index-2fc9f7af.js");case"../../../packages/features/side-action-list/index.js":return import("./index-f846a0e0.js");case"../../../packages/features/timeout-dialog/index.js":return import("./index-be55cad7.js");case"../../../packages/features/transaction-sample/index.js":return import("./index-a8571418.js");case"../../../packages/features/txn-otp-input/index.js":return import("./index-edee4e4b.js");default:return new Promise(function(t,n){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}(`../../../packages/features/${e}/index.js`).then(e=>e.routes.map(e=>this.updateRoute(e)))}setStateFromStorageByType(n){const s=e=>({local:localStorage.getItem(e),session:sessionStorage.getItem(e)}),a=JSON.parse(s(`${n}List`).local);i(a)||a.forEach(i=>
4703{const a=s(i)[n];if(!a||"undefined"===a)return;const r=JSON.parse(a);e.updateItem({[i]:r},t.APP_STATE_MODEL_ID)})}setStateFromStorage(){this.setStateFromStorageByType("local"),this.setStateFromStorageByType("session")}manageEgovernment(n,i){if(i&&n&&n.includes("/e-government/redirection")){const{mobileToken:n}=p.getSearchParams(i);e.updateItem({mobileToken:n},t.FLOW_STATE_MODEL_ID)}}onRouteAction(e,t){const n=e.resolver?.location?.pathname,s=e.resolver?.location?.route,a=e.route,r={...a,params:e.params},{hash:o}=e;if(o)return t.redirect(o.substring(1));if(this.setStateFromStorage(),!this.isLoggedIn&&!i(a?.path)&&"login"!==this.getFlowName(a?.name)&&"index.html"!==r.params[0]&&!window.location.href.includes("e-government/redirection"))return window.location="/banking/login";if(!s&&!a)return null;if(this.appState?.routeInfo?.flowName===a?.flowName)return null;if(window.dataroid){var c=e.route?.path?.includes(":uniqueID")?":uniqueID":":id";window.dataroid.pageView(e.route?.path?.replace(c,"detail"))}return this.manageStore(r,s),this.manageEgovernment(a?.path,e?.search),this.redirectTo(t,r,n)}abortFetchCalls(){const{abortController:n,inProgressFetchInfo:i}=this.appState;"function"==typeof n?.abort&&this.appState.fetchProcessing&&(n.abort(),i.forEac
4703h(({abortTimeoutId:e},t,n)=>{clearTimeout(e),n.delete(t)}),e.updateItem({abortController:new AbortController,inProgressFetchInfo:i},t.APP_STATE_MODEL_ID))}setRouteInfoIntoStore(n,i){if(!this.isLoggedIn)return;const{name:s,flowName:a,path:r,mainFlow:o,params:c}=n,l=i?.name;let d=r;n?.parent?.path&&!a&&(d=`${n?.parent?.path}${d}`);const u=p.getPathWithParams(d,c),m=s===l,g=this.getFlowName(s)===this.getFlowName(l),h=this.appState.routeInfo;m||(h.flowInitialPath=u),!a&&g||!o||(h.flowMainPath=u,h.flowName=a),e.updateItem({routeInfo:h},t.APP_STATE_MODEL_ID)}redirectTo(e,t,n){if(this.isLoggedIn){const i=sessionStorage.getItem("redirect_to");if(i)return sessionStorage.removeItem("redirect_to"),e.redirect(i);if(this.willRedirectToDashboard(n)&&"dashboard"!==t.name)return e.redirect("/dashboard")}else if(!i(t?.path)&&"login"!==this.getFlowName(t?.name)){if(!i(t?.name)){const n=p.getPathWithParams(t.path,t.params);return sessionStorage.setItem("redirect_to",n),e.redirect("/")}if("index.html"!==t.params[0])return e.redirect("/")}return null}manageStore(n,s){i(n)&&i(s)||e.isStateAvailable()&&(n?.path!==s?.path&&this.abortFetchCalls(),this.setRouteInfoIntoStore(n,s),this.resetFlow(n,s),this.appState?.isLoggedIn||e.updateItem({timeoutProcess:-1},t.TIMEOUT_STATE_MODEL_ID))}getFlowName(e){const t=e?.split(".");if(!Array.isArray(t))return null;const[n]=t;return n}resetFlow(n,i){const s=this.getFlowName(n?.name);s!==this.getFlowName(i?.name)&&(this.appState=e.getFormData(t.APP_STATE_MODEL_ID),this.appState.routeInfo.flowName=s,this.appState.apiMessage=null,e.updateItem(this.appState,t.APP_STATE_MODEL_ID),e.resetState(t.FLOW_STATE_MODEL_ID))}willRedirectToDashboard(e){if(!window.event||"popstate"!==window.event.type)return!1;const t=e.split("/");return"execute"===t[t.length-1]}getComponentByTagName(e){return this.constructor.getScopedTagName(e)||this.constructor.getScopedTagName(this.defaultNotFoundView)}createRouter(e){const t=this.getRouteConfig();new er(e).setRoutes(t),window.addEventListener("vaadin-router-location-changed",e=>{this.currentPage=e.detail.location.route.name,void 0!==e.detail.location&&void 0!==e.detail.location.params&&void 0!==e.detail.location.params.keyword&&(this.pageKeyword=e.detail.location.params.keyword),window.scrollTo({top:0,behavior:"smooth"})}),window.addEventListener("fetch-result-not-ok",e=>{p.navigate(`not-found/${encodeURIComponent(e.target.location.pathname)}`)})}}),Po=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Do=["PhantomJS","SlimerJS"],Ro=["callPhantom","_phantom"];$.hotReplacedCallback=function(){this.finalize()},$.prototype.hotReplacedCallback=function(){if(!Po){const e=Array.from(this.renderRoot.children);for(const t of e)"style"===t.tagName.toLowerCase()&&t.remove()}delete this.constructor._styles,this.constructor._getUniqueStyles(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles(),this.requestUpdate()};class Oo extends(I(Ai(Lo($)))){static get localeConfig(){return{namespace:"ing-tr-banking-helper",isBankingHelper:!0}}static get properties(){return{isSingleColumn:{type:Boolean},isProcessLoading:{type:Boolean},currComp:{type:String,reflect:!0},responsive:{type:Boolean,reflect:!0,attribute:"responsive-attribute"},breadcrumbs:{type:Array},sideActions:{type:Array}}}static get scopedElements(){return{"ing-tr-warning-dialog":T,"ing-tr-feat-nav-bar":ys,"ing-tr-feat-footer":Ys,"ing-tr-feat-main-nav":Is,"ing-tr-card":R,"ing-icon":P,"ing-tr-feat-breadcrumb":$s,"ing-tr-spinner-dialog":ze,"ing-tr-timeout-dialog":js,"ing-tr-txn-otp-banking-input":Vs,"ing-spinner":Q,"ing-tr-feat-side-action-list":cs,"ing-tr-feat-rate-me":ms,"ing-tr-api-message":Fs,"ing-tr-api-loading":Ms,"ing-tr-force-update":Ns}}static get styles(){return m` 4704 ${nt} 4705 ${st} 4706 ${Qe} 4707 ${Us} 4708 `}constructor(){super(),(e=>{Object.keys(Ks).forEach(t=>{const n=Ks[t];"function"==typeof n.initialize&&n.initialize(e)})})(this),this.responsiveCheck(),this.breadcrumbs=[],Ht(),this.transactionConfig=Hs,this.logoutCounterOn=!1,this.instanaReportingURL=Qs(),window.addEventListener("_loginEvent",this.loginEvent.bind(this)),window.addEventListener("_changePage",this.changePage.bind(this)),tn(this,{sideActions:"sideActions"},!0),this.dataroid(),this.malwareDetect(),this.instana(),this.pixel(),window.location.href.includes("e-government/redirection")||(window.onunload=this.handleUnload(),window.onbeforeunload=this.handleUnload())}handleUnload(){$i({scope:void 0,uri:"activation/logout/v1",isProcessFetch:!0,processMessage:k.msg("ing-tr-banking-helper:logout"),showNoMessage:!0}
4708).catch(e=>{throw new Error(e)}).finally(()=>{Jt("isLoggedIn",!1,!0);const e=sessionStorage.getItem("deviceId"),t=sessionStorage.getItem("state"),n=sessionStorage.getItem("redirectUri"),i=sessionStorage.getItem("clientId"),s=sessionStorage.getItem("egovLogin");sessionStorage.clear(),e&&sessionStorage.setItem("deviceId",e),s&&(sessionStorage.setItem("state",t),sessionStorage.setItem("redirectUri",n),sessionStorage.setItem("clientId",i),sessionStorage.setItem("egovLogin",s)),window.dispatchEvent(new CustomEvent("_loginEvent",{bubbles:!0,composed:!1,detail:{loginResult:"logout"}}))})}async pixel(){const e=["https://pixels.ingbank.com.tr/pixel.gif?ver=","getTime","GET","open","send","responseText","onload"];window[e[6]]=function(){const t=new Date,n=e[0]+t[e[1]](),i=new XMLHttpRequest;return i[e[3]](e[2],n,!1),i[e[4]](null),i[e[5]]}}async dataroid(){const e=qn.getEnvironmentName();var t="2563de34-f3c9-11eb-8770-85f984e36696";"development"!==e&&"test"!==e&&(t="1dbc0746-f3c9-11eb-a5a8-99d0cf673889");const n={Page:{enabled:!1}};t&&function(e){var i=e.createElement("script");i.type="text/javascript",i.async=!0,i.src="https://www.ing.com.tr/assets/scripts/dataroid-websdk-v5.20.0.0.js",e.getElementsByTagName("head")[0].appendChild(i),i.onload=function(){window.dataroid?.init(t,"https://ing.api.dataroid.com","1.0","intsube",n)}}(document)}async instana(){if(this.instanaReportingURL){!function(e,t,n,i){e[t]||(e[t]=n,i=e[n]=function(){i.q.push(arguments)},i.q=[],i.v=2,i.l=1*new Date)}(window,"InstanaEumObject","ineum"),ineum("reportingUrl",this.instanaReportingURL),ineum("key",Xs()),ineum("trackSessions");var e=document.createElement("script");e.setAttribute("defer","true"),e.setAttribute("crossorigin","anonymous"),e.src=this.instanaReportingURL+"eum.min.js",document.head.appendChild(e)}}async malwareDetect(){const e=()=>!(!this.agentControl()&&!this.globelControl());this._malwareControlTimeoutId=setInterval(()=>{const t=e();Zt("isMalware",!0)||Jt("isMalware",t,!0)},5e3)}agentControl(){let e=!1;for(let t=0;t<Do.length;t++)if(new RegExp(Do[t],"i").test(window.navigator.userAgent)){e=!0;break}return e}globelControl(){let e=!1;for(let t=0;t<Ro.length;t++)if(window[Ro[t]]){e=!0;break}return e}responsiveCheck(){const e=window.matchMedia("(max-width: 600px)");this.responsive=e.matches,e.addEventListener("change",e=>{this.responsive=e.matches})}requestUpdateCheck(e){this.singleColumn=e.singleColumn,this.sideActions=e.sideActions,this.flexibleColumn=e.flexibleColumn,nn(this.sideActions),this.requestUpdate()}breadcrumbAddCheck(e,t,n,i){if("dashboard"===e||"login"===e)return void(this.breadcrumbs=[]);let s=t;if(n)this.breadcrumbs=[{routeName:e,routePath:s}];else if("string"==typeof e){const t=e.split("."),n=t[t.length-1],a=this.breadcrumbs.findIndex(e=>e.routeName===n);-1===a?this.breadcrumbs=[...this.breadcrumbs,{routeName:n,routePath:s,routeParams:i}]:a!==this.breadcrumbs.length-1&&(this.breadcrumbs=this.breadcrumbs.slice(0,a+1))}}loginEvent(e){"login"===e.detail.loginResult?(this.isLogin=!1,Jt("isLoggedIn",!0,!0),sessionStorage.getItem("egovLogin")?this.getCustomerPhones():Zt("applicationInfo",!0)?p.navigate("hybrid-form"):p.navigate("dashboard")):"logout"===e.detail.loginResult&&(this.isLogin=!1,this.showLogoutBtn=!1,p.navigate("logout"))}getCustomerPhones(){$i({uri:"contact/phone/retrieve",request:{},isProcessFetch:!0}).then(e=>{if(e?.header?.success){const t=e?.body?.customerPhoneNumbers?.filter(e=>"MOBILE"==e.phoneType);if(t&&Array.isArray(t)&&t.length>0){const e=`${t[0]?.countryCode}-${t[0]?.areaCode}-${t[0]?.number}`;$i({scope:this,uri:"e-government/approval/create/v1",request:{egovernmentApprovalDTO:{approvalType:"EGovernmentLogin",phoneNumber:e}}}).then(t=>{t.header?.success&&this.redirectEGovernment(e)})}}})}redirectEGovernment(e){const t=sessionStorage.getItem("state"),n=sessionStorage.getItem("redirectUri"),i=sessionStorage.getItem("clientId"),s=e;if(null!==t&&null!==n&&null!==i&&null!==s){$i({scope:this,uri:"e-government/redirect/v1",request:{redirectionDTO:{state:t,redirectUri:n,clientId:i,mobilePhone:s}}}).then(e=>{if(e.header?.success&&e.body.redirectionDTO){const t=e.body.redirectionDTO.redirectUri;sessionStorage.removeItem("state"),sessionStorage.removeItem("redirectUri"),sessionStorage.removeItem("clientId"),sessionStorage.removeItem("egovLogin"),t&&(window.location.href=t)}})}}changePage(e){if(e.detail)switch(e.detail.loginResult){case"FirstLevel":case"ShowSecurityWarning":case"PasswordH
4708asToBeChanged":case"PasswordOfTheUserHasExpired":case"ShowSecurityImageSelection":case"ShowSoftOtp":case"ShowAuthorization":case"ShowSmsOtp":case"OTPSelectionFail":case"ShowOTPSelection":this.showLogoutBtn=!0;break;default:this.showLogoutBtn=!1}else this.showLogoutBtn=!1}firstUpdated(){super.firstUpdated(),this.dispatchEvent(new CustomEvent("app-loaded",{bubbles:!0}))}sideActionTemplate(){return i(this.sideActions)?"":u`<ing-tr-feat-side-action-list 4709 .sideActions=${this.sideActions} 4710 ></ing-tr-feat-side-action-list>`}breadcrumbsTemplate(){if(!i(this.breadcrumbs))return u`<ing-tr-feat-breadcrumb 4711 .breadcrumbList=${this.breadcrumbs} 4712 ></ing-tr-feat-breadcrumb>`}__renderIconSpinner(e,t){return e&&t?u` <div 4713 style="position: fixed; 4714 z-index: 999; 4715 top: 50%; 4716 left: 50%; 4717 transform: translate(-50%, -50%);" 4718 > 4719 <ing-spinner></ing-spinner> 4720 </div>`:""}isMainNavBarHidden(){return void 0!==this.isLogin&&this.isLogin||this.isHybridApplication}render(){const e=((e,t)=>Ks[t].render(e))(this,"StateGroup"),{showIconSpinner:t,fetchProcessing:n}=this.appState,s=Le(t&&n?{opacity:"0.5",pointerEvents:"none"}:{}),a=this.appState?.otpRequired?u` <ing-tr-txn-otp-banking-input></ing-tr-txn-otp-banking-input>`:"",r=i(this.breadcrumbs)?"mt-0":"";return u` 4721 ${e} ${a} ${(e=>e.appState?.ivnPendingStatus?u`<ing-tr-warning-dialog 4722 ?opened=${!0} 4723 .header=${e.getResourceValue("warning")} 4724 .message=${e.getResourceValue("pendingIvnMessage")} 4725 .primaryButtonTitle=${e.getResourceValue("continue")} 4726 @onClickedPrimaryButton="${()=>{Jt("ivnPendingStatus",!1,!0);const e=Zt("ivnConfig");e.success.call(e.scope,e.response?.body)}}" 4727 .secondaryButtonTitle=${e.getResourceValue("cancel")} 4728 @onClickedSecondaryButton="${()=>Jt("ivnPendingStatus",!1,!0)}" 4729 > 4730 </ing-tr-warning-dialog>`:"")(this)} 4731 4732 <ing-tr-feat-nav-bar 4733 .showOptions="${!this.isLogin&&!this.isHybridApplication}" 4734 .showLogoutButton="${this.showLogoutBtn||this.isHybridApplication}" 4735 .changePicture="${this.changePicture}" 4736 ></ing-tr-feat-nav-bar> 4737 <div 4738 class="app-grid app-grid-spacing container-fluid grid-container ${this.isLogin?"":"grid-row"}" 4739 > 4740 <div class="nav-menu ${this.isMainNavBarHidden()?"hidden":""}"> 4741 <ing-tr-feat-main-nav 4742 .items="${qs}" 4743 .currentPage="${this.currentPage}" 4744 .showOthers=${!0} 4745 .maxMobileItemCount=${4} 4746 ></ing-tr-feat-main-nav> 4747 </div> 4748 <div class="main-container"> 4749 <div class="center-column"> 4750 ${this.isLogin||this.isHybridApplication?"":this.breadcrumbsTemplate()} 4751 ${this.__renderIconSpinner(t,n)} 4752 <main class="outlet" style=${s}></main> 4753 </div> 4754 <div 4755 class="right-column 4756 ${this.singleColumn||this.isLogin?"hidden":""} 4757 ${r} 4758 ${this.flexibleColumn?"right-column-small":""}" 4759 > 4760 ${this.__renderIconSpinner(t,n)} 4761 ${this.sideActionTemplate()} 4762 </div> 4763 </div> 4764 </div> 4765 ${this.appState.isLoggedIn?u`<ing-tr-feat-footer></ing-tr-feat-footer>`:""} 4766 `}}customElements.define("banking-index",Oo);export{_i as $,ys as A,br as B,ms as C,cs as D,js as E,Vs as F,hs as G,bs as H,Zi as I,fs as J,en as K,Ki as L,Mi as M,Kt as N,an as O,bo as P,xo as Q,tn as R,os as S,yo as T,vo as U,wo as V,Bi as W,Yt as X,fo as Y,ei as Z,ji as _,jr as a,zi as a0,ds as a1,Fi as a2,Ni as a3,Wt as a4,on as a5,Qn as a6,qi as a7,As as a8,Es as a9,Os as aa,Gn as ab,Hi as ac,Gi as ad,Wn as ae,Kn as af,Hn as ag,qn as ah,Yn as ai,$s as b,kr as c,Ai as d,rs as e,$i as f,Xn as g,Jt as h,Qi as i,Ei as j,Ds as k,Cr as l,Zt as m,ko as n,Ir as o,zr as p,Wr as q,Fr as r,nn as s,Kr as t,Br as u,qr as v,Ar as w,Dr as x,Is as y,gs as z};
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.