PageSourceSearch

https://banking.apobank.de/auth/ui/916.872672b372e8f436.js

js apobank.de collected 2026-09-24 10:05:45 UTC 12,657 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[916],{7997:(E,k,o)=>{o.r(k),o.d(k,{AccountLinksModule:()=>ot});var t=o(4438),s=o(7673),h=o(274),u=o(6354),L=o(9437),d=o(1397),p=o(7348),A=o(7893),b=o(7875),l=o(7939),C=o(7805),m=o(6979),g=o(8452),v=o(1626);class T{constructor(){this.filters=[]}addFilter(a,n,e=!0){let c;c="string"==typeof a?[a]:a;let r="";for(const x of c)r.length>0&&(r+=","),r+=x,r+=e?"==":"=@",r+=n;return this.filters.push(r),this}toSearchParams(){let a=new v.Nl;for(const n of this.filters)a=a.append("filter",n);return a}toRequestOptions(){const a={};return a.params=this.toSearchParams(),a}}var G=o(7235);class S extends G.d{}let _=(()=>{class i{constructor(n,e,c,r,x,ct,st){this.http=n,this.config=e,this.dates=c,this.pages=r,this.accessService=x,this.flowsService=ct,this.protectedUiService=st}getAccountLinkManagement(){return this.retrieveAccountLinks().pipe((0,h.H)(n=>this.retrieveUnlinkedProviders().pipe((0,h.H)(e=>this.flowsService.retrieveSelfServiceFlows().pipe((0,u.T)(c=>({unlinkedProviders:e,linkedAccounts:n,canUnlink:c.isAccessible(this.config.flowToUnlinkAccount),canLink:c.isAccessible(this.config.flowToLinkAccount),providersToConfirmBeforeLinking:this.config.providersToConfirmBeforeLinking.map(r=>({providerId:r}))})))))),(0,L.W)(n=>this.handleAccessError(n,this.pages.routes.protected.accountLinks.url)))}hasExitTarget(){return!!this.config.pageExitTarget}navigateToExitTarget(){this.hasExitTarget()&&this.pages.routes.navigateTo(this.config.pageExitTarget)}link(n){return this.startFlowAndSelectProvider(this.config.flowToLinkAccount,n,"link")}unlink(n){return this.startFlowAndSelectAccountLink(this.config.flowToUnlinkAccount,n,"remove")}getUiConfig(){return(0,s.of)(this.config)}retrieveAccountLinks(){return this.http.get((0,p.OZ)(["/protected","self-service","account-links"])).pipe((0,u.T)(n=>this.toAccountLinks(n.data)))}retrieveUnlinkedProviders(){const n=new T;return n.addFilter("linkable",!0),this.http.get((0,p.OZ)(["/protected","self-service","account-link","providers"]),n.toRequestOptions()).pipe((0,u.T)(e=>this.toAccountLinkProviders(e.data)))}toAccountLinks(n){return n.map(e=>this.toAccountLink(e))}toAccountLink(n){return{providerId:n.id,accountLink:this.toAccountLinkDetails(n)}}toAccountLinkDetails(n){return{linkedDate:this.dates.toDateTimeFromServer(n.attributes.establishedAt),accountSub:n.attributes.accountSub,accountInfo:n.attributes.accountInfo}}toAccountLinkProviders(n){return n.map(e=>this.toAccountLinkProvider(e))}toAccountLinkProvider(n){return{providerId:n.id}}startFlowAndSelectAccountLink(n,e,c){return this.protectedUiService.startFlow(n).pipe((0,d.Z)(()=>this.selectAccountLink(e.providerId,c)),(0,L.W)(r=>this.handleAccessError(r,this.pages.routes.protected.accountLinks.url,n)))}startFlowAndSelectProvider(n,e,c){return this.protectedUiService.startFlow(n).pipe((0,d.Z)(()=>this.selectProvider(e.providerId,c)),(0,L.W)(r=>this.handleAccessError(r,this.pages.routes.protected.accountLinks.url,n)))}selectAccountLink(n,e){return this.http.post((0,p.OZ)(["/protected","self-service","account-links",n,e]),null,{observe:"response"}).pipe((0,u.T)(c=>new g.d(c)))}selectProvider(n,e){return this.http.post((0,p.OZ)(["/protected","self-service","account-link","providers",n,e]),null,{observe:"response"}).pipe((0,u.T)(c=>new g.d(c)))}handleAccessError(n,e,c){return this.accessService.handleAccessError(n,e,c)}static#t=this.\u0275fac=function(e){return new(e||i)(t.KVO(v.Qq),t.KVO(S),t.KVO(A.A),t.KVO(C.b),t.KVO(l.s),t.KVO(m.u),t.KVO(b.S))};static#n=this.\u0275prov=t.jDH({token:i,factory:i.\u0275fac})}return i})();var U=o(5558),M=o(7988),D=o(5231),y=o(5060),P=o(7613);let O=(()=>{class i{constructor(n){this.http=n}getAccountLinksConfig(){return this.http.get((0,p.OZ)(["protected","self-service","ui","configuration","account-links"]))}static#t=this.\u0275fac=function(e){return new(e||i)(t.KVO(v.Qq))};static#n=this.\u0275prov=t.jDH({token:i,factory:i.\u0275fac})}return i})();class f{static#t=this.PROVIDER={provide:S,useFactory:f.resolveConfig,deps:[D.nX]};constructor(a,n,e){this.service=a,this.accessService=n,this.routes=e}resolve(){return this.service.getAccountLinksConfig().pipe((0,L.W)(a=>
1(404===a.status?this.routes.error.notFound.navigate():this.accessService.handleAccessError(a,this.routes.protected.accountLinks.url),y.t)))}static resolveConfig(a){return a.snapshot.data.accountLinksConfig}static#n=this.\u0275fac=function(n){return new(n||f)(t.KVO(O),t.KVO(l.s),t.KVO(P.BV))};static#e=this.\u0275prov=t.jDH({token:f,factory:f.\u0275fac})}var F=o(5964),R=o(3408),w=o(5159),V=o(1460),I=o(177),Y=o(6198),j=o(57),B=o(4160),$=o(4598),K=o(2426),N=o(3813),X=o(2506);function W(i,a){1&i&&t.nrm(0,"iam-alert",6),2&i&&t.Y8G("text","protected.account-links.link.missing")("type","info")("id","accountLinksMissing")}function H(i,a){if(1&i&&t.nrm(0,"iam-text-row",8),2&i){const n=t.XpG(),e=n.$implicit;t.Y8G("id","accountInfo["+n.index+"]")("label","protected.account-links.link.account-info")("value",e.accountLink.accountInfo)}}function Z(i,a){if(1&i){const n=t.RV6();t.j41(0,"iam-button",11),t.bIt("buttonClick",function(){t.eBV(n);const c=t.XpG().$implicit,r=t.XpG(2);return t.Njj(r.unlinkFrom(c))}),t.k0s()}if(2&i){const n=t.XpG().index;t.Y8G("id","unlinkAccount["+n+"]")("type","error")("text","protected.account-links.link.actions.unlink")}}function J(i,a){if(1&i&&(t.j41(0,"iam-card",7),t.nrm(1,"iam-text-row",8)(2,"iam-text-row",8),t.nI1(3,"formatDate"),t.DNE(4,H,1,3,"iam-text-row",9),t.j41(5,"iam-button-row"),t.DNE(6,Z,1,3,"iam-button",10),t.k0s()()),2&i){const n=a.$implicit,e=a.index,c=t.XpG().ngIf;t.Y8G("id","accountLink["+e+"]")("title","protected.account-links.link.title.provider."+n.providerId)("detailCard",!0),t.R7$(),t.Y8G("id","accountSub["+e+"]")("label","protected.account-links.link.account")("value",n.accountLink.accountSub),t.R7$(),t.Y8G("id","accountLinkedDate["+e+"]")("label","protected.account-links.link.connected-on")("value",t.bMT(3,11,n.accountLink.linkedDate)),t.R7$(2),t.Y8G("ngIf",n.accountLink.accountInfo),t.R7$(2),t.Y8G("ngIf",c.canUnlink)}}function Q(i,a){if(1&i){const n=t.RV6();t.j41(0,"iam-button-row")(1,"iam-button",13),t.bIt("buttonClick",function(){const c=t.eBV(n).$implicit,r=t.XpG
1(3);return t.Njj(r.linkTo(c))}),t.k0s()()}if(2&i){const n=a.$implicit;t.R7$(),t.Y8G("id","linkAccount-"+n.providerId)("text","protected.account-links.link.actions.add.provider."+n.providerId)}}function z(i,a){if(1&i&&(t.j41(0,"iam-card",7),t.DNE(1,Q,2,2,"iam-button-row",12),t.k0s()),2&i){const n=t.XpG().ngIf;t.Y8G("id","addNewAccountLinks")("title","protected.account-links.add-new-account.title")("detailCard",!0),t.R7$(),t.Y8G("ngForOf",n.unlinkedProviders)}}function q(i,a){if(1&i){const n=t.RV6();t.j41(0,"iam-button-row")(1,"iam-button",13),t.bIt("buttonClick",function(){t.eBV(n);const c=t.XpG(2);return t.Njj(c.navigateToExitTarget())}),t.k0s()()}2&i&&(t.R7$(),t.Y8G("id","exitAccountLinks")("text","protected.account-links.actions.exit"))}function tt(i,a){if(1&i&&(t.j41(0,"iam-page",1),t.DNE(1,W,1,3,"iam-alert",2)(2,J,7,13,"iam-card",3)(3,z,2,4,"iam-card",4)(4,q,2,2,"iam-button-row",5),t.k0s()),2&i){const n=a.ngIf,e=t.XpG();t.Y8G("pageId",e.pageId)("bodyAttributes",e.bodyAttributes)("title","protected.account-links.title")("hideMaintenanceMessages",!0),t.R7$(),t.Y8G("ngIf",0===n.linkedAccounts.length),t.R7$(),t.Y8G("ngForOf",n.linkedAccounts),t.R7$(),t.Y8G("ngIf",n.canLink&&n.unlinkedProviders.length>0),t.R7$(),t.Y8G("ngIf",e.hasExitTarget())}}let nt=(()=>{class i extends M.t{constructor(n,e,c,r){super(),this.accountLinksService=n,this.languageService=e,this.pageDialog=c,this.protectedUiService=r,this.bodyAttributes={[M.I]:w.g.ProtectedSelfService},this.pageId="iamProtectedAccountLinks"}ngOnInit(){this.accountLinkManagement=this.initUiConfig().pipe((0,U.n)(()=>this.accountLinksService.getAccountLinkManagement()))}linkTo(n){this.accountLinkManagement.subscribe(e=>{this.isProviderToConfirmBeforeLinking(e,n)?this.confirmLink(n):this.performLink(n)})}unlinkFrom(n){this.pageDialog.show({text:"protected.account-links.unlinking.dialog.text",title:"protected.account-links.unlinking.dialog.title"}).pipe((0,F.p)(e=>e.ok)).subscribe(()=>this.performUnlink(n))}hasExitTarget(){return this.accountLinksService.hasExitTarget()}navigateToExitTarget(){this.accountLinksService.navigateToExitTarget()}getUiConfig(){return this.accountLinksService.getUiConfig()}isProviderToConfirmBeforeLinking(n,e){return void 0!==n.providersToConfirmBeforeLinking.find(c=>e.providerId===c.providerId)}confirmLink(n){this.pageDialog.show({text:"protected.account-links.linking.dialog.text",textArguments:{provider:this.languageService.translate("protected.account-links.linking.dialog.provider."+n.providerId)},title:"protected.account-links.linking.dialog.title"}).pipe((0,F.p)(c=>c.ok)).subscribe(()=>this.performLink(n))}performLink(n){this.accountLinksService.link(n).subscribe({next:e=>this.protectedUiService.handleSuccessfulStep(e),error:e=>this.protectedUiService.handleFailedStep(e)})}performUnlink(n){this.accountLinksService.unlink(n).subscribe({next:e=>this.protectedUiService.handleSuccessfulStep(e),error:e=>this.protectedUiService.handleFailedStep(e)})}static#t=this.\u0275fac=function(e){return new(e||i)(t.rXU(_),t.rXU(R.g),t.rXU(V.y),t.rXU(b.S))};static#n=this.\u0275cmp=t.VBU({type:i,selectors:[["ng-component"]],standalone:!1,features:[t.Jv_([m.u,_,f.PROVIDER]),t.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title","hideMaintenanceMessages",4,"ngIf"],[3,"pageId","bodyAttributes","title","hideMaintenanceMessages"],[3,"text","type","id",4,"ngIf"],[3,"id","title","detailCard",4,"ngFor","ngForOf"],[3,"id","title","detailCard",4,"ngIf"],[4,"ngIf"],[3,"text","type","id"],[3,"id","title","detailCard"],[3,"id","label","value"],[3,"id","label","value",4,"ngIf"],[3,"id","type","text","buttonClick",4,"ngIf"],[3,"buttonClick","id","type","text"],[4,"ngFor","ngForOf"],[3,"buttonClick","id","text"]],template:function(e,c){1&e&&(t.DNE(0,tt,5,8,"iam-page",0),t.nI1(1,"async")),2&e&&t.Y8G("ngIf",t.bMT(1,1,c.accountLinkManagement))},dependencies:[I.Sq,I.bT,Y.C,j.m,B.Q,$.i,K.J,N.H,I.Jj,X.I],encapsulation:2})}return i})();var et=o(1552);const it=[{path:"",pathMatch:"full",component:nt,resolve:{accountLinksConfig:()=>(0,t.WQX)(f).resolve()},runGuardsAndResolvers:"always"}];let ot=(()=>
1{class i{static#t=this.\u0275fac=function(e){return new(e||i)};static#n=this.\u0275mod=t.$C({type:i});static#e=this.\u0275inj=t.G2t({providers:[O,f],imports:[D.iI.forChild(it),et.G]})}return i})()},2506:(E,k,o)=>{o.d(k,{I:()=>h});var t=o(7893),s=o(4438);let h=(()=>{class u{constructor(d){this.dates=d}transform(d,p=t.c.DATE_TIME){const A="string"==typeof d?this.dates.toDate(d):d;return A?this.dates.toString(A,p):void 0}static#t=this.\u0275fac=function(p){return new(p||u)(s.rXU(t.A,16))};static#n=this.\u0275pipe=s.EJ8({name:"formatDate",type:u,pure:!1,standalone:!1})}return u})()},9856:(E,k,o)=>{o.d(k,{U:()=>b});var t=o(7006),s=o(4438),h=o(177),u=o(1463);const L=["*"];function d(l,C){if(1&l&&(s.nrm(0,"label",3),s.nI1(1,"translate")),2&l){const m=s.XpG();s.AVh("required",m.required),s.Y8G("innerHTML",s.bMT(1,4,m.label),s.npT),s.BMQ("for",m.labelFor)}}function p(l,C){1&l&&(s.j41(0,"span",5),s.EFF(1,"\xa0"),s.k0s())}function A(l,C){if(1&l&&s.DNE(0,p,2,0,"span",4),2&l){const m=s.XpG();s.Y8G("ngIf",!m.withoutLabel)}}let b=(()=>{class l{constructor(){this.label="",this.labelFor="",this.labelClass="",this.rowNgClass={},this.required=!1,this.withoutLabel=!1}hasLabel(){return t.D.isNotBlank(this.label)&&!this.withoutLabel}static#t=this.\u0275fac=function(g){return new(g||l)};static#n=this.\u0275cmp=s.VBU({type:l,selectors:[["iam-row-with-label"]],inputs:{label:"label",labelFor:"labelFor",labelClass:"labelClass",rowNgClass:"rowNgClass",required:"required",withoutLabel:"withoutLabel"},standalone:!1,ngContentSelectors:L,decls:6,vars:6,consts:[["emptyLabel",""],[1,"iam-form-group","iam-row",3,"ngClass"],["class","iam-col-12 iam-col-md-5 iam-col-form-label",3,"required","innerHTML",4,"ngIf","ngIfElse"],[1,"iam-col-12","iam-col-md-5","iam-col-form-label",3,"innerHTML"],["class","iam-col-12 iam-col-md-5 iam-col-form-label",4,"ngIf"],[1,"iam-col-12","iam-col-md-5","iam-col-form-label"]],template:function(g,v){if(1&g&&(s.NAR(),s.j41(0,"div",1),s.DNE(1,d,2,6,"label",2)(2,A,1,1,"ng-template",null,0,s.C5r),s.j41(4,"div"),s.SdG(5),s.k0s()()),2&g){const T=s.sdS(3);s.Y8G("ngClass",v.rowNgClass),s.R7$(),s.Y8G("ngIf",v.hasLabel())("ngIfElse",T),s.R7$(3),s.ZvI("iam-col-12 ",v.withoutLabel?"iam-col-md-12":"iam-col-md-7","")}},dependencies:[h.YU,h.bT,u.t],encapsulation:2})}return l})()}}]);

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.