1import{a as P}from"./chunk-SSGNCS76.js";import{a as M}from"./chunk-KEYLHRBJ.js";import{t as F}from"./chunk-5UUZZVZX.js";import{a as z,b as E}from"./chunk-B7LUSRDE.js";import{x as A}from"./chunk-HIYVYO6O.js";import{b as N}from"./chunk-BTSKBMZG.js";import{a as w,b as c,c as b,d as v,g as u,h as S}from"./chunk-XNRYRHNO.js";import{p as C}from"./chunk-3M3HXQOB.js";import{H as f,K as U,a as g,c as q,f as L,ha as y,la as j,qa as d,s as T,va as n,w as h,x}from"./chunk-QVH74DMT.js";var ot=b({source:"Get All Tile Groups",events:{Load:v(),"Load Success":c(),"Load Error":c()}});var it=b({source:"Get All Tiles",events:{Load:c(),"Load Success":c(),"Load Error":c()}}),at=b({source:"Tiles Actions",events:{"Add Tiles":c(),"Update Tiles":c(),"Delete Tiles":c()}}),ct=b({source:"Operations",events:{Add:c(),Update:c(),Delete:c(),"Discard Last Operation":v(),"Discard Specific Operation":c(),"Discard All Operations":v()}}),st=w("Save All Operations");var R=S("tile"),G=u(R,t=>t.operations),lt=u(R,t=>{let e=k(t.operations,t.tiles);return O(t.operations,e)}),mt=u(R,t=>{let e=t.tiles.filter(o=>o.category==="PRIMARY"),r=k(t.operations,e);return O(t.operations,r,"PRIMARY")}),ht=u(R,t=>{let e=t.tiles.filter(o=>o.category==="FUNCTIONAL"),r=k(t.operations,e);return O(t.operations,r,"FUNCTIONAL")}),Q=u(R,t=>{let e=t.tiles.filter(o=>o.category==="MARKETING"),r=k(t.operations,e);return O(t.operations,r,"MARKETING")}),ft=u(Q,t=>t.reduce((e,r)=>{let o=r.tileGroup?.name||M;return e[o]=e[o]||[],e[o].push(r),e},{})),bt=u(G,t=>t.length),At=u(G,t=>t.filter(e=>e.type==="add").map(e=>e.tile).map(e=>{let p=e,{fakeId:r}=p;return q(p,["fakeId"])})),vt=u(R,t=>t.operations.filter(e=>e.type==="update").map(e=>e.tile).map(e=>{let r=t.tiles.find(o=>o.id===e.id);return g(g({},r),e)})),yt=u(G,t=>t.filter(e=>e.type==="delete").map(e=>({id:e.tile.id,version:e.tile.version}))),k=(t,e)=>{let r=t.filter(o=>o.type==="delete").map(o=>o.tile.id);return e.filter(o=>!r.includes(o.id))},O=(t,e,r)=>{t=r?t.filter(i=>i.tile.category===r):t;let o=t.filter(i=>i.type==="update").map(i=>i.tile),p=t.filter(i=>i.type==="add").map(i=>i.tile);return[...[...e.map(i=>{let m=o.findIndex(Y=>Y.id===i.id);return m>=0&&(i=g(g({},i),o[m])),i})],...p].sort((i,m)=>i.priority!==m.priority?i.priority-m.priority:i.name.localeCompare(m.name))};var It=b({source:"Get All Business Case Types",events:{Load:v(),"Load Success":c(),"Load Error":c()}});var D=(()=>{class t{constructor(){this.keycloak=n(N),this.userFacade=n(F),this.institutionFacade=n(A),this.router=n(C)}isAuthenticated(r,o){return L(this,null,function*(){return this.keycloak.authenticated||(yield this.keycloak.login({redirectUri:globalThis.location.origin+o.url})),!0})}isUserApproved(r,o){return x([this.institutionFacade.currentInstitutionId$,this.userFacade.currentUser$]).pipe(f(([p,l])=>p!=null&&l!=null),h(([p,l])=>l.pendingApprovals.some(m=>m.institutionId===p)?this.router.parseUrl("user-approval"):!0))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac})}}return t})();var B=(()=>{class t{constructor(){this.userFacade=n(F),this.institutionFacade=n(A),this.router=n(C)}canActivate(r,o){return this.userFacade.isLoadingUser$.pipe(f(p=>!p),y(()=>this.institutionFacade.institution$),j(this.userFacade.currentUser$),h(([p,l])=>l.isAdmin(p.id)?!0:this.router.parseUrl("/dashboard")),U(()=>T(this.router.parseUrl("/dashboard"))))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var $=(()=>{class t{constructor(){this.documentTypeLabel=n(z)}getDocumentTypeName(r){let o=r.queryParamMap.get("documentType");return T(this.documentTypeLabel.transform(o))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var K=(()=>{class t{constructor(){this.institutionFacade=n(A)}canActivate(){return this.institutionFacade.isLoadingInstitution$.pipe(f(r=>!r),y(()=>this.institutionFacade.institution$),h(r=>r.trusted))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var H=(()=>{class t{canDeactivate(r){return r.canDeactivate?r.canDeactivate():!0}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var W=(()=>{class t{constructor(){this.relationshipService=n(E),this.institutionFace=n(A),this.router=n(C)}canActivate(){return this.institutionFace.currentInstitutionId$.pipe(f(r=>r!=null),y(r=>this.relationshipService.getRelationshipsForInstitutionId(r).pipe(h(o=>o.some(l=>l.businessCases.some(i=>i.businessCaseTypeName==="ODFIN_IDENTVERFAHREN"))?!0:this.router.parseUrl("")))))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var V=t=>n($).getDocumentTypeName(t),Z=(t,e)=>n(B).canActivate(t,e),J=()=>n(K).canActivate(),X=(t,e)=>n(P).canActivate(t,e),_=t=>n(H).canDeactivate(t),a=(t,e)=>n(D).isAuthenticated(t,e),s=(t,e)=>n(D).isUserApproved(t,e),tt=()=>n(W).canActivate(),be=[{path:"",data:{breadcrumb:"Dashboard"},canActivateChild:[X],children:[{path:"",loadComponent:()=>import("./chunk-YRM3NPXL.js").then(t=>t.OneDashboardComponent),canActivate:[a,s],data:{anyRoleRequired:"client"},runGuardsAndResolvers:"always"},{path:"impressum",loadComponent:()=>import("./chunk-YRCKU6IV.js").then(t=>t.OneImpressumComponent),data:{anyRoleRequired:"client",breadcrumb:"Impressum"}},{path:"nutzungsbedingungen",loadComponent:()=>import("./chunk-ZN3ID7IM.js").then(t=>t.OneNutzungsbedingungenComponent),data:{anyRoleRequired:"client",breadcrumb:"Nutzungsbedingungen"}},{path:"datenschutz",loadComponent:()=>import("./chunk-AOYOCIOG.js").then(t=>t.OneDatenschutzComponent),data:{anyRoleRequired:"client",breadcrumb:"Datenschutz"}},{path:"faq",loadComponent:()=>import("./chunk-ONDPR7CK.js").then(t=>t.OneFaqComponent),data:{anyRoleRequired:"client",breadcrumb:"FAQ"}},{path:"list-helper",loadComponent:()=>import("./chunk-PQPKQFKU.js").then(t=>t.ListHelperComponent),data:{anyRoleRequired:"client",breadcrumb:"Abmeldeinformationen"}},{path:"account",loadComponent:()=>import("./chunk-CCIVDAZR.js").then(t=>t.AccountComponent),canActivate:[a],data:{anyRoleRequired:"client",breadcrumb:"Konto"}},{path:"identification",loadComponent:()=>import("./chunk-RR7RPG5H.js").then(t=>t.OneIdentComponent),canActivate:[a,s,tt],data:{anyRoleRequired:"client",breadcrumb:"Identifikation"}},{path:"institution",loadComponent:()=>import("./chunk-MN2EXXYZ.js").then(t=>t.InstitutionComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Institution"}},{path:"orders",data:{breadcrumb:"Auftr\xE4ge"},children:[{path:"",loadComponent:()=>
1import("./chunk-IUFX7A43.js").then(t=>t.OrdersComponent),canActivate:[a,s],data:{anyRoleRequired:"client"}},{path:"ti/status/:order-id",loadComponent:()=>import("./chunk-RFJYOLRR.js").then(t=>t.OrderStatusComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Bestellstatus"}},{path:"bank/status/:order-id",loadComponent:()=>import("./chunk-RKLHFPOU.js").then(t=>t.BankDetailPageComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Bestellstatus"}}]},{path:"document",loadComponent:()=>import("./chunk-FFVAJ7J6.js").then(t=>t.DocumentsComponent),canActivate:[a,s],resolve:{breadcrumb:V},data:{anyRoleRequired:"client"},runGuardsAndResolvers:"paramsOrQueryParamsChange"},{path:"contracts",loadComponent:()=>import("./chunk-I2TEDY7Y.js").then(t=>t.OditsContractsComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Vertr\xE4ge"}},{path:"customer-overview",loadComponent:()=>import("./chunk-4FJHPMGS.js").then(t=>t.OditsCustomerOverviewComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Kundencenter"}},{path:"credit-offer-widget",loadComponent:()=>import("./chunk-BJBG7CSY.js").then(t=>t.CreditOfferWidgetComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Mein Finanzierungswunsch"}},{path:"bankaccount-offer",loadComponent:()=>import("./chunk-TBWYCGET.js").then(t=>t.BankaccountOfferComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Banking"}},{path:"marketing-group/:group",loadComponent:()=>import("./chunk-RMXG7N4H.js").then(t=>t.MarketingTileGroupComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"Marketing-Gruppe"}},{path:"egeko-smo",loadComponent:()=>import("./chunk-RGETD4JE.js").then(t=>t.EgekoSmoComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"egeko SMO"}},{path:"egeko-hoz",loadComponent:()=>import("./chunk-VXB2HZ4Y.js").then(t=>t.EgekoHozComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"egeko HOZ"}},{path:"connect",loadComponent:()=>import("./chunk-RT7YF2BP.js").then(t=>t.ConnectComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"connect"}},{path:"connect-hoz",loadComponent:()=>import("./chunk-34GD7LMQ.js").then(t=>t.ConnectHozComponent),canActivate:[a,s],data:{anyRoleRequired:"client",breadcrumb:"connect-hoz"}},{path:"dashboard-tile-editor",loadComponent:()=>import("./chunk-TALM73UG.js").then(t=>t.DashboardTileEditorComponent),canActivate:[a,s,J,Z],canDeactivate:[_],data:{breadcrumb:"Kacheleditor"}},{path:"user-approval",canActivate:[a],loadComponent:()=>import("./chunk-GFYPC6LK.js").then(t=>t.PendingApprovalComponent)}]},{path:"**",redirectTo:""}];export{ot as a,it as b,at as c,ct as d,st as e,G as f,mt as g,ht as h,ft as i,bt as j,At as k,vt as l,yt as m,It as n,D as o,be as p};
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.