PageSourceSearch

https://finanzportal.vermoegenszentrum.ch/auth/ui/3546.c50c4badf0029a28.js

js vermoegenszentrum.ch collected 2026-10-02 06:00:23 UTC 4,920 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3546],{3546:(F,g,r)=>{r.r(g),r.d(g,{LogoutModule:()=>X});var t=r(4438),f=r(5231),p=r(1552),m=r(7805),u=r(7289),i=r(4735),U=r(7623);let T=(()=>{class o{constructor(e,s,n){this.logoutService=e,this.pages=n,s.onReady.subscribe(()=>this.performLogout())}performLogout(){this.logoutService.logout().subscribe({error:()=>{console.warn("Logout failed"),this.pages.routes.error.root.navigate()}})}static#t=this.\u0275fac=function(s){return new(s||o)(t.rXU(u.k),t.rXU(U._),t.rXU(m.b))};static#o=this.\u0275cmp=t.VBU({type:o,selectors:[["ng-component"]],standalone:!1,features:[t.Jv_([u.k,i.f.PROVIDER])],decls:0,vars:0,template:function(s,n){},encapsulation:2})}return o})();var h=r(7988),R=r(7613),I=r(2007),L=r(5159),C=r(177),y=r(57),G=r(4160),S=r(6453),E=r(3813);function O(o,M){if(1&o){const e=t.RV6();t.j41(0,"iam-button-row")(1,"iam-button",3),t.bIt("buttonClick",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.continue(n.continueTarget))}),t.k0s()()}2&o&&(t.R7$(),t.Y8G("id","login")("text","authentication.logout.disclaimer.actions.login")("autofocus",!0)("right",!0))}let D=(()=>{class o extends h.t{get pageId(){return"iamLogoutDisclaimer"}constructor(e,s,n){super(),this.routes=e,this.router=s,this.service=n,this.bodyAttributes={[h.I]:L.g.Authentication};const c=this.router.getCurrentNavigation()?.extras.state?.target;this.continueTarget=c?new I.p(c):this.service.getDisclaimerContinueTarget()}continue(e){this.routes.navigateTo(e.url)}getUiConfig(){return this.service.getUiConfig()}static#t=this.\u0275fac=function(s){return new(s||o)(t.rXU(R.BV),t.rXU(f.Ix),t.rXU(u.k))};static#o=this.\u0275cmp=t.VBU({type:o,selectors:[["ng-component"]],standalone:!1,features:[t.Jv_([u.k,i.f.PROVIDER]),t.Vt3],decls:3,vars:6,consts:[[3,"pageId","bodyAttributes","title","isNonFlowPage"],[3,"text"],[4,"ngIf"],[3,"buttonClick","id","text","autofocus","right"]],template:function(s,n){1&s&&(t.j41(0,"iam-page",0),t.nrm(1,"iam-text-message",1),t.DNE(2,O,2,4,"iam-button-row",2),t.k0s()),2&s&&(t.Y8G("pageId",n.pageId)("bodyAttributes",n.bodyAttributes)("title","authentication.logout.disclaimer.title")("isNonFlowPage",!0),t.R7$(),t.Y8G("text","authentication.logout.disclaimer.description"),t.R7$(),t.Y8G("ngIf",n.continueTarget.hasTarget()))},dependencies:[C.bT,y.m,G.Q,S.I,E.H],encapsulation:2})}return o})();var l=r(7673),A=r(2367),a=r(951),V=r(6366),x=r(7006),b=r(6326);let v=(()=>{class o{constructor(e,s){this.store=e,this.pages=s}resumeLogout(){const e=this.loadSingleLogoutUris();if(!e)return console.error("Single logout URIs not found in store. Direct call to resume?"),this.pages.routes.error.root.navigate(),(0,l.of)(!1);if(e.isEmpty()){const n=this.loadTargetUri();return this.cleanUpSessionStorage(),this.navigateToTarget(n)}const s=this.buildNextTargetUri(e);return this.pages.routes.navigateTo(s.toString()),(0,l.of)(!1)}cleanUpSessionStorage(){this.store.clearValue(a.f.LOGOUT_TARGET_URI),this.store.clearValue(a.f.SINGLE_LOGOUT_REDIRECT_URIS)}buildNextTargetUri(e){const s=e.popFirst();this.store.setObject(a.f.SINGLE_LOGOUT_REDIRECT_URIS,e);const n=new URL(this.pages.routes.auth.logout.resume.fullyQualifiedUrl()),c=new URL(s,window.location.origin);return c.searchParams.append("Location",n.toString()),c}loadTargetUri(){return this.store.getValue(a.f.LOGOUT_TARGET_URI)}loadSingleLogoutUris(){return(0,b.om)(V.q,this.store.getObject(a.f.SINGLE_LOGOUT_REDIRECT_URIS))}navigateToTarget(e){const s={};return this.store.getObject(a.f.SHOW_DISCLAIMER_PAGE)?(s.queryParams=this.pages.routes.getCurrentQueryParameters(),s.state={target:e},this.store.clearValue(a.f.SHOW_DISCLAIMER_PAGE),this.pages.routes.auth.logout.disclaimer.navigate(s),(0,l.of)(!1)):x.D.isBlank(e)?(console.error("Navigation target must not be undefined."),this.pages.routes.error.root.navigate(),(0,l.of)(!1)):(this.pages.routes.navigateTo(e,s),(0,l.of)(!1))}static#t=this.\u0275fac=function(s){return new(s||o)(t.KVO(A.u),t.KVO(m.b))};static#o=this.\u0275prov=t.jDH({token:o,factory:o.\u0275fac})}return o})(),d=(()=>{class o{constructor(e){this.service=e}canActivate(){return this.service.resumeLogout()}static#t=this.\u0275fac=function(s){return new(s||o)(t.KVO(v))};static#o=this.\u0275prov=t.jDH({token:o,factory:o.\u0275fac})}return o}
1)();var N=r(4074);const P=[{path:"",component:T,pathMatch:"full",resolve:{logoutConfig:o=>(0,t.WQX)(i.f).resolve(o)},runGuardsAndResolvers:"always"},{path:"resume",pathMatch:"full",canActivate:[()=>(0,t.WQX)(d).canActivate()],runGuardsAndResolvers:"always",component:r(9557).n},{path:"disclaimer",component:D,resolve:{logoutConfig:o=>(0,t.WQX)(i.f).resolve(o)},runGuardsAndResolvers:"always"}];let X=(()=>{class o{static#t=this.\u0275fac=function(s){return new(s||o)};static#o=this.\u0275mod=t.$C({type:o});static#e=this.\u0275inj=t.G2t({providers:[d,i.f,i.f.PROVIDER,N.W,u.k,v],imports:[f.iI.forChild(P),p.G]})}return o})()}}]);

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.