PageSourceSearch

https://nettbank.bnbank.no/ebank/web/9235/chunk-BNhLwhPx.js

js bnbank.no collected 2026-10-01 12:08:43 UTC 3,919 bytes, 1 lines download raw bytes

1import {O}from'./chunk-CnV3a-C2.js';import'./chunk-BZwsuf7a.js';import {a as ai,f as fa,H as H$1,N}from'./chunk-BB8EG4MV.js';import'./chunk-aUMBqyKK.js';import'./chunk-fRit9228.js';import'./chunk-ByH1R6yU.js';import'./chunk-FdJ0RAwA.js';import'./chunk-iDvfS1Q9.js';import'./chunk-GUWZ6q0D.js';import'./chunk-DeLoTd7a.js';import'./chunk-T6ov6pdL.js';import'./chunk-BFZANg34.js';import'./chunk-BebzX4yH.js';import'./chunk-ClXH4aiD.js';import'./chunk-DPWCZkPW.js';import {u}from'./chunk-sloV_gFh.js';import'./chunk-_n7om28w.js';import'./chunk-C03ANZAX.js';import'./chunk-DfPz9PVb.js';import'./chunk-LU9PPgBj.js';import {F,E,S}from'./main-KAAHWV4Z.js';import'./chunk-CllK3ddy.js';import'./chunk-DiaplhgR.js';import {c as c$1,h}from'./chunk-DfNmovlP.js';import'./chunk-4lR12NlP.js';import {x as my,O as Oc,ak as aa,cj as H,bm as br,L as Do,d as E$1,M as S$1,E as E$2,P as qT,bM as Ys,bu as mn,a3 as Ms,aM as N_,c2 as qy,a5 as rd,a8 as Ry,bv as R_,aa as mb,J as da,b as $n,$ as $N,p as pi,v as vM,W,K as j,N as N$1}from'./chunk-BVUwsCyn.js';import'./chunk-CKul0GGg.js';import'./chunk-yM6K_b1X.js';da();$n();$N();pi();vM();h();W();j();N$1();var c=class t{constructor(e,r,i,u,s,q,J){this.newCustomerStepsService=e;this.newCustomerEgressService=r;this.multistepService=i;this.dataCustomers=u;this.log=s;this.routeDataService=q;this.alert=J;this.jointSubscription=new H;this.submitting$=new br(null);}ngOnInit(){let e=this.newCustomerStepsService.getStepIndicatorData();this.routeDataService.addData({stepIndicatorTotalSteps:e.stepsShouldBeShown.length,stepIndicatorStep:e.currentStepIndex+1}),this.multistepService.enableBackButton(this.newCustomerStepsService.steps[0]&&this.newCustomerStepsService.steps[0].id!=="customer-declarations"),this.jointSubscription.add(this.newCustomerEgressService.setupOnCancel().subscribe());}ngOnDestroy(){this.jointSubscription&&this.jointSubscription.unsubscribe();}onFormSubmitSuccess(){return S(this,null,function*(){this.submitting$.next(true),yield this.dataCustomers.completeDeclarations().catch(e=>{this.log.error("[ProductsNewCustomerDeclarationsHybridComponent] completeDeclarations failed, the error is ignored",e);}),this.submitting$.next(false),this.newCustomerStepsService.goToNextStep();})}onFormInitError(e){this.log.error("[ProductsNewCustomerDeclarationsHybridComponent] Form initialization error:",e),this.alert.serverError(e,"PAGE.KYC.AML.GET_DECLARATIONS_ERROR");}onFormSubmitError(e){this.log.error("[ProductsNewCustomerDeclarationsHybridComponent] Form submission error:",e),this.alert.serverError(e,"PAGE.CUSTOMER.DECLARATIONS.SAVE_ANSWERS.ERROR");}static{this.\u0275fac=function(r){return new(r||t)(Do(H$1),Do(N),Do(u),Do(c$1),Do(E$1),Do(S$1),Do(E$2))};}
1static{this.\u0275cmp=qT({type:t,selectors:[["ng-component"]],decls:3,vars:4,consts:[[3,"loading"],[3,"formInitError","formSubmitSuccess","formSubmitError","formSubmitButtonText"]],template:function(r,i){r&1&&(Ms(0,"ebank-spinner",0),N_(1,"async"),Ms(2,"customer-declarations-switcher",1),qy("formInitError",function(s){return i.onFormInitError(s)})("formSubmitSuccess",function(){return i.onFormSubmitSuccess()})("formSubmitError",function(s){return i.onFormSubmitError(s)}),rd()()),r&2&&(Ry("loading",R_(1,2,i.submitting$)),mb(2),Ry("formSubmitButtonText","PAGE.CUSTOMER.DECLARATIONS.CONFIRM"));},dependencies:[O,Ys,mn],encapsulation:2,changeDetection:1});}};vM();var Y=fa.map(t=>{if(t.path==="loanaccount"||t.path==="account"){let e=t.children?.map(r=>r.path==="customer-declarations"?F(E({},r),{component:c}):r);return F(E({},t),{children:e})}return t}),a=class t{static{this.\u0275fac=function(r){return new(r||t)};}static{this.\u0275mod=my({type:t});}static{this.\u0275inj=Oc({imports:[aa.forChild(Y),aa]});}};vM();var x=class t{static{this.\u0275fac=function(r){return new(r||t)};}static{this.\u0275mod=my({type:t});}static{this.\u0275inj=Oc({imports:[ai,a]});}};export{x as ProductsNewCustomerHybridModule};

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.