PageSourceSearch

https://credos.com.ua/cabinet/chunk-ROYRQYMD.js

js credos.com.ua collected 2026-10-06 13:18:35 UTC 7,167 bytes, 1 lines download raw bytes

1import{c as Me,d as Se}from"./chunk-I4TC4VIE.js";import"./chunk-EGZXETKD.js";import"./chunk-FDJRTDXE.js";import"./chunk-NCTP3ZGS.js";import"./chunk-PZK27YTX.js";import"./chunk-SVALD5N7.js";import{a as ge,h as be}from"./chunk-CW6IXFGV.js";import"./chunk-TIRBMSJQ.js";import{a as Ce}from"./chunk-XZ2IA3EH.js";import{f as he}from"./chunk-EFF5XB4O.js";import{c as ve}from"./chunk-WA64AOFD.js";import{b as fe}from"./chunk-RGHBXYK6.js";import"./chunk-YO5ZVHCC.js";import"./chunk-NHJEDVAS.js";import{A as f,Ba as M,C as c,Ca as v,Cc as C,Ce as Z,Dc as p,De as x,Dg as me,Gc as k,Ib as V,Ig as le,Jg as de,Kc as Q,Kg as ue,Ma as _,Nb as T,Oa as I,Ob as R,Of as ne,Qf as se,Rf as O,Ta as B,Ua as A,V as L,Va as z,W as h,Wa as l,Wc as W,Xf as ae,bf as g,cg as F,dg as ce,eg as pe,fb as H,fg as j,hf as ee,je as X,jf as te,l as P,m as U,mc as q,of as ie,pe as Y,rc as J,sa as G,u as $,uf as re,vf as oe,w as N,we as D,ya as a,z as u,zc as K}from"./chunk-DQ6IZECO.js";import"./chunk-JKXMCOYO.js";var je=(e,n)=>({sideMenuItems:e,isAllowForDisplayDesktopSideMenu:n});function Ee(e,n){if(e&1&&l(0,"ck-side-menu",1),e&2){let t=H();B("sideMenuItems",t.sideMenuItems)}}function we(e,n){if(e&1&&(A(0,"div",0),_(1,Ee,1,1,"ck-side-menu",1),A(2,"div",2),l(3,"router-outlet"),z()()),e&2){let t=n;G(),I(t.sideMenuItems!=null&&t.sideMenuItems.length&&t.isAllowForDisplayDesktopSideMenu?1:-1)}}var S=class E{constructor(n,t,i,r,s,o,b){this.sideMenuService=n,this.storeService=t,this.router=i,this.iconRegistry=r,this.sanitizer=s,this.sessionMetricService=o,this.metricsService=b,this.$sideMenuItems=this.sideMenuService.$sideMenuItems,this.$isAllowForDisplayDesktopSideMenu=this.sideMenuService.$isAllowForDisplayDesktopSideMenu,this.storeService.profile$.pipe(h(1)).subscribe(m=>{this.metricsService.setMobilePhone(m?.personalData?.mobilePhone)}),this.iconRegistry.addSvgIcon("slider-plus",this.sanitizer.bypassSecurityTrustResourceUrl("./assets/images/icons/slider-plus.svg")),this.iconRegistry.addSvgIcon("slider-minus",this.sanitizer.bypassSecurityTrustResourceUrl("./assets/images/icons/slider-minus.svg")),U([this.storeService.credit$,this.storeService.lastApplication$]).pipe(L(([m,y],[De,xe])=>!!m?.status==!!De?.status&&y?.status===xe?.status),$(([m,y])=>!!m?.status&&Z(y?.status)),O(this)).subscribe(()=>{this.router.navigate(["./cabinet/credits/active"])}),this.sideMenuService.sideMenuItemsChangesSubscription(Me).pipe(O(this)).subscribe()}ngOnInit(){this.sessionMetricService.start()}ngOnDestroy(){this.sideMenuService.updateSideMenuItems(null),this.sessionMetricService.stop(),this.metricsService.setMobilePhone(null)}static{this.\u0275fac=function(t){return new(t||E)(a(me),a(g),a(p),a(ee),a(K),a(ae),a(re))}}static{this.\u0275cmp=M({type:E,selectors:[["ck-cabinet"]],standalone:!1,decls:3,vars:8,consts:[[1,"cabinet-container"],[3,"sideMenuItems"],[1,"cabinet-route-container"]],template:function(t,i){if(t&1&&(_(0,we,4,1,"div",0),T(1,"async"),T(2,"async")),t&2){let r;I((r=V(5,je,R(1,1,i.$sideMenuItems),R(2,3,i.$isAllowForDisplayDesktopSideMenu)))?0:-1,r)}},dependencies:[C,ge,q],styles:["[_ngcontent-%COMP%]:root{--c__primary: #3F9496;--c__primary--light: #EAF5F5;--c__primary--dark: #3F9496;--c__accent: #fec601;--c__gray: #bdbdbd;--c__gray--light: #f5f5f5;--c__gray--extra_light: #fafafa;--c__gray--dark: #616161;--c__error: #f44336;--c__text--primary: #373742;--c__text--secondary: #bdbdbd}[_nghost-%COMP%]{position:relative}.cabinet-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;width:100%}@media(max-width:575px){.cabinet-container[_ngcontent-%COMP%]{gap:0}}.cabinet-route-container[_ngcontent-%COMP%]{width:100%;margin-left:auto;margin-right:auto}@media(max-width:991px){.cabinet-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}}"]})}};S=oe([se()],S);var ye=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=M({type:e,selectors:[["ck-applications"]],standalone:!1,decls:1,vars:0,template:function(i,r){i&1&&l(0,"router-outlet")},dependencies:[C],styles:["[_nghost-%COMP%]{display:block}"]})}}return e})();var _e=(()=>{class e{constructor(t){this.router=t}canActivate(){return this.router.url&&this.router.url.includes(W.applicationSteps.guarantorConditions)?!0:(this.router.navigate(["cabinet"]),!1)}static{this.\u0275fac=function(i){return new(i||e)(c(p))}}static{this.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ie=[{path:"applications",component:ye,children:[{path:"",redirectTo:"new",pathMatch:"full"},{path:"new",loadChildren:()=>import("./chunk-VWPE2BOT.js").then(e=>e.NewApplicationModule)}]},{path:"credits",loadChildren:()=>import("./chunk-JM37VDWV.js").then(e=>e.CreditsModule)},{path:"face-scan",loadChildren:()=>import("./chunk-PE633IX4.js").then(e=>e.FaceScanModule)},{path:"registration",loadChildren:()=>import("./chunk-VYTVYOIC.js").then(e=>e.RegistrationModule)},{path:"personal-info",loadChildren:()=>import("./chunk-J5TZGLHM.js").then(e=>e.PersonalInfoModule)},{path:"appeals",loadChildren:()=>import("./chunk-4DNUA3IA.js").then(e=>e.AppealsModule)},{path:"change-product",loadChildren:()=>import("./chunk-NBYBJU6T.js").then(e=>e.ChangeProductModule)},{path:"guarantor-reject",canActivate:[_e],loadChildren:()=>import("./chunk-3ST74RRM.js").then(e=>e.GuarantorRejectModule)},{path:"overpayments",loadChildren:()=>import("./chunk-WSP46E42.js").then(e=>e.OverpaymentsModule)},Se];var Ae=(()=>{class e{constructor(t,i,r){this.formEndpoint=t,this.storeService=i,this.router=r}canActivateChild(t,i){return N(this.storeService.lastApplication$,this.storeService.credit$,this.storeService.profile$,this.storeService.tasks$).pipe(P(([r,s,o,b])=>this.checkAccessToChild(i,r,s,o,b)),h(1))}checkAccessToChild(t,i,r,s,o){return(!D(s)||F(o))&&!t.url.includes("/cabinet/face-scan")?this.router.createUrlTree(["/cabinet/face-scan"]):j(o)&&!(!D(s)||F(o))&&!t.url.includes("/cabinet/diia-verification")?this.router.createUrlTree(["/cabinet/diia-verification"]):(s.status==="INCOMPLETE_REGISTRATION"||ce(o))&&!j(o)&&!s.requestedAsGuarantor&&!t.url.includes("/cabinet/registration")?this.router.createUrlTree(["/cabinet/registration"]):pe(o)&&!t.url.includes("/cabinet/change-product")?this.router.createUrlTree(["/cabinet/change-product"]):t.url.includes("credit")?!x(i)&&!!r?.status||this.router.createUrlTree(["/cabinet/applications"]):t.url.includes("application")?x(i)||!r?.status||this.router.createUrlTree(["/cabinet/credits"]):!0}static{this.\u0275fac=function(i){return new(i||e)(c(Q),c(g),c(p))}}static{this.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Pe=[{path:"",component:S,canActivate:[le,de,ue],canActivateChild:[Ae],children:[{path:"",pathMatch:"full",redirectTo:"applications"},...Ie]}],Te=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=v({type:e})}static{this.\u0275inj=f({imports:[k.forChild(Pe),k]})}}return e})();
1var Re=[X],ke=[Ce,ie,he];var Ft=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=v({type:e})}static{this.\u0275inj=f({imports:[J,Te,Y,Re,ke,te,ve,ne,fe,be]})}}return e})();export{Ft as CabinetModule};

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.