1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8704],{8704:(P,C,t)=>{t.r(C),t.d(C,{VascoDeviceActivationModule:()=>w});var m=t(5231),e=t(5451),g=t(6247),o=t(7805);class h{constructor(){this.id="",this.otp=""}}var E=t(2263),S=t(5482),I=t(7348),c=t(2652),y=t(6354),i=t(4438),u=t(1626);let l=(()=>{class _{constructor(f,v){this.http=f,this.flowSessionService=v}activateVascoDevice(f){const v=encodeURIComponent(f.id),T=JSON.stringify({otp:f.otp});return this.http.post((0,I.OZ)(["protected","self-service","vasco","devices",v,"activate"]),T,(0,c.R)()).pipe((0,y.T)(M=>this.flowSessionService.createFlowSession(M)))}static#t=this.\u0275fac=function(v){return new(v||_)(i.KVO(u.Qq),i.KVO(S.Q))};static#e=this.\u0275prov=i.jDH({token:_,factory:_.\u0275fac})}return _})();var a=t(57),d=t(4160),r=t(5033),n=t(9099),p=t(7493),B=t(3732),s=t(9710),b=t(3001),D=t(3813);let O=(()=>{class _{transform(f){return f.map(v=>this.toOption(v))}toOption(f){return{value:f.id,label:f.serialNumber}}static#t=this.\u0275fac=function(v){return new(v||_)};static#e=this.\u0275pipe=i.EJ8({name:"toVascoDropdownOption",type:_,pure:!0,standalone:!1})}return _})(),A=(()=>{class _ extends e.V{constructor(f,v,T){super(v,T),this.service=f,this.service=f}get pageId(){return"iamProtectedSelfServiceVascoDeviceActivation"}onInitAbstractUiConfig(f){super.onInitAbstractUiConfig(f),this.vascoDevices=f.additionalAttribute("activatableDevices"),this.initializeForm(this.vascoDevices)}activateDevice(){this.service.activateVascoDevice(this.form.model).subscribe({next:f=>this.handleSuccessfulStep(f),error:f=>this.handleFailedStep(f)})}initializeForm(f){const v=new h;v.id=f[0].id,this.form=E.l.of(v,{required:["serialNumber","otp"]})}static#t=this.\u0275fac=function(v){return new(v||_)(i.rXU(l),i.rXU(g.z),i.rXU(o.b))};static#e=this.\u0275cmp=i.VBU({type:_,selectors:[["ng-component"]],standalone:!1,features:[i.Vt3],decls:10,vars:18,consts:[[3,"pageId","bodyAttributes","title"],[3,"formSubmit","form"],[3,"id","label","options","disabled","control"],[3,"id","control","label"],[3,"id","submit","disabled","text"]],template:function(v,T){1&v&&(i.j41(0,"iam-page",0)(1,"iam-form",1),i.bIt("formSubmit",function(){return T.activateDevice()}),i.nrm(2,"iam-dropdown-row",2),i.nI1(3,"toVascoDropdownOption"),i.nrm(4,"iam-input-row",3)(5,"iam-dynamic-step-activation-checkboxes"),i.j41(6,"iam-button-row"),i.nrm(7,"iam-button",4)(8,"iam-cancel-button")(9,"iam-goto-buttons"),i.k0s()()()),2&v&&(i.Y8G("pageId",T.pageId)("bodyAttributes",T.bodyAttributes)("title","protected.self-service.vasco.device.activation.title"),i.R7$(),i.Y8G("form",T.form),i.R7$(),i.Y8G("id","serialNumber")("label","protected.self-service.vasco.device.activation.serial")("options",i.bMT(3,16,T.vascoDevices))("disabled",1===T.vascoDevices.length)("control",T.form.controls.id),i.R7$(2),i.Y8G("id","otp")("control",T.form.controls.otp)("label","protected.self-service.vasco.device.activation.otp"),i.R7$(3),i.Y8G("id","activateDevice")("submit",!0)("disabled",T.form.pristine||!T.form.valid)("text","protected.self-service.vasco.device.activation.actions.activate"))},dependencies:[a.m,d.Q,r.Q,n.a,p.E,B.p,s.s,b.e,D.H,O],encapsulation:2})}return _})();var R=t(1552);const U=[{path:"device/activation",component:A,pathMatch:"full",runGuardsAndResolvers:"always"}];let w=(()=>{class _{static#t=this.\u0275fac=function(v){return new(v||_)};static#e=this.\u0275mod=i.$C({type:_});static#o=this.\u0275inj=i.G2t({providers:[l],imports:[m.iI.forChild(U),R.G]})}return _})()},3841:(P,C,t)=>{t.d(C,{L:()=>o});var m=t(7376),g=t(4438);let o=(()=>{class h{transform(S){return(0,m.upperFirst)((0,m.camelCase)(S))}static#t=this.\u0275fac=function(I){return new(I||h)};static#e=this.\u0275pipe=g.EJ8({name:"upperCamelCase",type:h,pure:!0,standalone:!1});static#o=this.\u0275prov=g.jDH({token:h,factory:h.\u0275fac})}return h})()},5033:(P,C,t)=>{t.d(C,{Q:()=>a});var m=t(6247),e=t(2315),g=t(6884),o=t(7673),h=t(8141),E=t(6354),S=t(5558),I=t(7613),c=t(4438),y=t(1400),i=t(177),u=t(4160);function l(d,r){if(1&d){const n=c.RV6();c.j41(0,"iam-button",1),c.bIt("buttonClick",function(){const B=c.eBV(n).ngIf,s=c.XpG();return c.Njj(s.cancelFlow(B.targetUri))}),c.k0s()}if(2&d){const n=c.XpG();c.Y8G("id",n.buttonId)("submit",!1)("right",n.right)("text",n.text||n.translationKey)("disableWhenBusy",n.disableWhenBusy)}}let a=(()=>
1{class d{set buttonId(n){n&&(this._id=n)}get buttonId(){return this._id}constructor(n,p,B,s,b){this.flowPageService=n,this.flowNavigationService=p,this.pageAlertService=B,this.routes=s,this.currentFlow=b,this.right=!0,this.disableWhenBusy=!0,this.beforeCancelFlow=this.nopBeforeCancelFlow,this._id="cancelButton",this.cancelButton=this.flowPageService.getStepUiConfig().pipe((0,h.M)(D=>{this._translationPrefix=D.getResourceKeyPrefix(),this.translationKey=this._translationPrefix+".pages.actions.cancel"}),(0,E.T)(D=>D.pageAttribute("cancelButtonSettings")))}get hostCss(){return"iam-btn-cancel"}cancelFlow(n){this.beforeCancelFlow().pipe((0,S.n)(()=>this.flowPageService.cancelFlow())).subscribe(()=>{this._translationPrefix&&this.pageAlertService.info(this._translationPrefix+".pages.messages.cancel");const p=this.currentFlow.retrieveId();this.flowPageService.clearState(),n?this.routes.navigateTo(n):this.flowNavigationService.navigateToFlow(p)})}nopBeforeCancelFlow(){return(0,o.of)(!0)}static#t=this.\u0275fac=function(p){return new(p||d)(c.rXU(m.z),c.rXU(y._),c.rXU(g.D),c.rXU(I.BV),c.rXU(e.E))};static#e=this.\u0275cmp=c.VBU({type:d,selectors:[["iam-cancel-button"]],hostVars:2,hostBindings:function(p,B){2&p&&c.HbH(B.hostCss)},inputs:{right:"right",text:"text",disableWhenBusy:"disableWhenBusy",buttonId:"buttonId",beforeCancelFlow:"beforeCancelFlow"},standalone:!1,decls:2,vars:3,consts:[[3,"id","submit","right","text","disableWhenBusy","buttonClick",4,"ngIf"],[3,"buttonClick","id","submit","right","text","disableWhenBusy"]],template:function(p,B){1&p&&(c.DNE(0,l,1,5,"iam-button",0),c.nI1(1,"async")),2&p&&c.Y8G("ngIf",c.bMT(1,1,B.cancelButton))},dependencies:[i.bT,u.Q,i.Jj],encapsulation:2})}return d})()},3732:(P,C,t)=>{t.d(C,{p:()=>i});var m=t(3719),e=t(4438),g=t(177),o=t(9417),h=t(9276),E=t(9856),S=t(1463);function I(u,l){if(1&u&&e.nrm(0,"option",5),2&u){const a=e.XpG();e.Y8G("value",a.undefinedOptionValue)("selected",!0)("disabled",!0)}}function c(u,l){if(1&u&&(e.j41(0,"option",6),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&u){const a=l.$implicit;e.Y8G("disabled",a.disabled)("value",a.value),e.BMQ("id",a.id),e.R7$(),e.Lme("",e.bMT(2,5,a.label),"",a.translatedLabel," ")}}function y(u,l){if(1&u&&e.nrm(0,"iam-errors",7),2&u){const a=e.XpG();e.Y8G("id",a.errorFor(a.id))("errors",a.getErrors())}}let i=(()=>{class u extends m.G{constructor(){super(...arguments),this.label="",this.focus=!1,this.required=!1,this._disabled=!1,this.hasEmptyOption=!1}set disabled(a){this._disabled=a,this.disableControlIfNecessary(this.disabled)}get disabled(){return this._disabled}set options(a){this._options=a,this.hasEmptyOption=this.checkForEmptyOption()}get options(){return this._options}ngOnInit(){super.ngOnInit(),this.disableControlIfNecessary(this.disabled)}get hostCss(){return"iam-row-group"}get showUndefinedOption(){return!this.hasEmptyOption&&!this.control.value}get undefinedOptionValue(){return this.control.value}checkForEmptyOption(){for(const a of this._options)if(!a.value)return!0;return!1}static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=e.xGo(u)))(r||u)}})();static#e=this.\u0275cmp=e.VBU({type:u,selectors:[["iam-dropdown-row"]],hostVars:2,hostBindings:function(d,r){2&d&&e.HbH(r.hostCss)},inputs:{id:"id",name:"name",label:"label",focus:"focus",size:"size",required:"required",disabled:"disabled",options:"options"},standalone:!1,features:[e.Vt3],decls:5,vars:14,consts:[[3,"label","labelFor","required"],[1,"iam-form-control","iam-form-select",3,"name","autofocus","formControl"],[3,"value","selected","disabled",4,"ngIf"],[3,"disabled","value",4,"ngFor","ngForOf"],[3,"id","errors",4,"ngIf"],[3,"value","selected","disabled"],[3,"disabled","value"],[3,"id","errors"]],template:function(d,r){1&d&&(e.j41(0,"iam-row-with-label",0)(1,"select",1),e.DNE(2,I,1,3,"option",2)(3,c,3,7,"option",3),e.k0s(),e.DNE(4,y,1,2,"iam-errors",4),e.k0s()),2&d&&(e.Y8G("label",r.label)("labelFor",r.name||r.id)("required",r.required),e.R7$(),e.AVh("is-invalid",r.hasError()),e.Y8G("name",r.name||r.id)("autofocus",r.focus)("formControl",r.control),e.BMQ("id",r.id)("size",r.size>1?r.size:void 0)("aria-describedby",r.hasError()?r.errorFor(r.id):void 0),e.R7$(),e.Y8G("ngIf",r.showUndefinedOption),e.R7$(),e.Y8G("ngForOf",r.options),e.R7$(),e.Y8G("ngIf",r.hasError()))},dependencies:[g.Sq,g.bT,o.xH,o.y7,o.wz,o.BC,o.l_,h.I,E.U,S.t],encapsulation:2})}return u})()},7493:(P,C,t)=>{t.d(C,{E:()=>n});var m=t(6247),e=t(8141),g=t(3597),o=t(4438),h=t(177),E=t(2315),S=t(7301),I=t(9417),c=t(2816),y=t(1463);function i(p,B){if(1&p&&(o.nrm(0,"iam-checkbox-row",1),o.nI1(1,"translate")),2&p){const s=o.XpG();o.Y8G("id",s.checkboxId)("label",o.bMT(1,5,s.translationKey))("control",s.control)("labelRight",!0)("disabled",s.disabled)}}let u=(()=>{class p{get hostCss(){return"iam-dynamic-step-activation-checkbox"}set checkboxId(s){s&&(this._id=s)}get checkboxId(){return this._id}
1set targetStep(s){s&&(this._target=s,this.translationKey=this.translationKey.replace("{targetStepId}",s.targetStepId))}get targetStep(){return this._target}constructor(s,b){this.currentFlow=s,this.flowPageService=b,this.checkboxChangedEvent=new o.bkB,this.stepUiConfig=this.flowPageService.getStepUiConfig(),this.translationKey=this.keyPrefix()+".pages.actions.dynamic-step.{targetStepId}"}ngOnInit(){this.control=new I.hs,this.control.setValue(this._target.activated),this._checkboxSubscription=this.control.valueChanges.subscribe(s=>{this._target.activated=s,this.checkboxChangedEvent.emit({targetStepId:this._target.targetStepId,activated:s})})}ngOnDestroy(){this._checkboxSubscription.unsubscribe()}get disabled(){return!this._target.activated&&!this._target.activatable||this._target.activated&&!this._target.deactivatable}keyPrefix(){const s=this.currentFlow.retrieveType();return(0,S.U)(s)}static#t=this.\u0275fac=function(b){return new(b||p)(o.rXU(E.E),o.rXU(m.z))};static#e=this.\u0275cmp=o.VBU({type:p,selectors:[["iam-dynamic-step-activation-checkbox"]],hostVars:2,hostBindings:function(b,D){2&b&&o.HbH(D.hostCss)},inputs:{checkboxId:"checkboxId",targetStep:"targetStep"},outputs:{checkboxChangedEvent:"checkboxChangedEvent"},standalone:!1,decls:2,vars:3,consts:[[3,"id","label","control","labelRight","disabled",4,"ngIf"],[3,"id","label","control","labelRight","disabled"]],template:function(b,D){if(1&b&&(o.DNE(0,i,2,7,"iam-checkbox-row",0),o.nI1(1,"async")),2&b){let O;o.Y8G("ngIf",null==(O=o.bMT(1,1,D.stepUiConfig))||null==O.pageSettings?null:O.pageSettings.dynamicStepActivationTargets)}},dependencies:[h.bT,c.D,y.t,h.Jj],encapsulation:2})}return p})();var l=t(9856),a=t(3841);function d(p,B){if(1&p){const s=o.RV6();o.j41(0,"iam-dynamic-step-activation-checkbox",3),o.nI1(1,"upperCamelCase"),o.bIt("checkboxChangedEvent",function(D){o.eBV(s);const O=o.XpG(2);return o.Njj(O.handleCheckboxChanges(D))}),o.k0s()}if(2&p){const s=B.$implicit;o.Y8G("targetStep",s)("checkboxId","dsaCheckbox"+o.bMT(1,2,s.targetStepId))}}function r(p,B){if(1&p&&(o.j41(0,"iam-row-with-label",1),o.DNE(1,d,2,4,"iam-dynamic-step-activation-checkbox",2),o.k0s()),2&p){const s=o.XpG();o.Y8G("withoutLabel",!0),o.R7$(),o.Y8G("ngForOf",s.dynamicStepActivationTargets)}}let n=(()=>{class p{constructor(s,b){this.flowPageService=s,this.dynamicStepActivationService=b,this.stepUiConfig=this.flowPageService.getStepUiConfig().pipe((0,e.M)(D=>this.setDynamicStepActivationTargets(D)))}handleCheckboxChanges(s){this.dynamicStepActivationService.addActivation(s)}setDynamicStepActivationTargets(s){this.dynamicStepActivationTargets=s.pageAttribute("dynamicStepActivationTargets")}static#t=this.\u0275fac=function(b){return new(b||p)(o.rXU(m.z),o.rXU(g.T))};static#e=this.\u0275cmp=o.VBU({type:p,selectors:[["iam-dynamic-step-activation-checkboxes"]],standalone:!1,decls:2,vars:3,consts:[[3,"withoutLabel",4,"ngIf"],[3,"withoutLabel"],[3,"targetStep","checkboxId","checkboxChangedEvent",4,"ngFor","ngForOf"],[3,"checkboxChangedEvent","targetStep","checkboxId"]],template:function(b,D){if(1&b&&(o.DNE(0,r,2,2,"iam-row-with-label",0),o.nI1(1,"async")),2&b){let O;o.Y8G("ngIf",(null==(O=o.bMT(1,1,D.stepUiConfig))||null==O.pageSettings||null==O.pageSettings.dynamicStepActivationTargets?null:O.pageSettings.dynamicStepActivationTargets.length)>0)}},dependencies:[h.Sq,h.bT,u,l.U,h.Jj,a.L],encapsulation:2})}return p})()},9710:(P,C,t)=>{t.d(C,{s:()=>h});var m=t(4438),g=(t(2263),t(9417));const o=["*"];let h=(()=>{class E{constructor(){this.autocomplete="off",this.formSubmit=new m.bkB}static#t=this.\u0275fac=function(c){return new(c||E)};static#e=this.\u0275cmp=m.VBU({type:E,selectors:[["iam-form"]],inputs:{autocomplete:"autocomplete",form:"form"},outputs:{formSubmit:"formSubmit"},standalone:!1,ngContentSelectors:o,decls:2,vars:2,consts:[[3,"ngSubmit","formGroup"]],template:function(c,y){1&c&&(m.NAR(),m.j41(0,"form",0),m.bIt("ngSubmit",function(u){return y.formSubmit.emit(u)}),m.SdG(1),m.k0s()),2&c&&(m.Y8G("formGroup",y.form.formGroup),m.BMQ("autocomplete",y.autocomplete))},dependencies:[g.qT,g.cb,g.j4],encapsulation:2})}return E})()},9099:(P,C,t)=>{t.d(C,{a:()=>y});var m=t(6247),e=t(7673),g=t(6354),o=t(4438),h=t(177),E=t(3594),S=t(3841);function I(i,u){if(1&i&&(o.nrm(0,"iam-goto-button",2),o.nI1(1,"upperCamelCase")),2&i){const l=u.$implicit,a=o.XpG(2);o.Y8G("currentStepId",a.currentStepId)("targetStepId",l)("disableWhenBusy",a.disableAllWhenBusy)("right",a.allRight)("buttonId","gotoButton"+o.bMT(1,6,l))("beforeGotoTargetStep",a.allBeforeGotoTargetStep)}}function c(i,u){if(1&i&&(o.qex(0),o.DNE(1,I,2,8,"iam-goto-button",1),o.nI1(2,"async"),o.bVm()),2&i){const l=o.XpG();o.R7$(),o.Y8G("ngForOf",o.bMT(2,1,l.gotoTargetsStepIds))}}let y=(()=>{class i{constructor(l){this.flowPageService=l,this.disableAllWhenBusy=!0,this.allRight=!0,this.allBeforeGotoTargetStep=this.nopBeforeGotoTargetStep,this.stepUiConfig=this.flowPageService.getStepUiConfig()}get hostCss(){return"iam-btns-goto-wrapper"}ngOnInit(){this.gotoTargetsStepIds=this.stepUiConfig.pipe((0,g.T)(l=>this.setCurrentStepIdAndGetGotoTargetsStepIds(l)))}setCurrentStepIdAndGetGotoTargetsStepIds(l){return this.currentStepId=l.pageId.replace(/\//g,""),l.pageAttribute("interactiveGotoTargets").targetStepIds}nopBeforeGotoTargetStep(){return(0,e.of)(!0)}static#t=this.\u0275fac=function(a){return new(a||i)(o.rXU(m.z))};static#e=this.\u0275cmp=o.VBU({type:i,selectors:[["iam-goto-buttons"]],hostVars:2,hostBindings:function(a,d){2&a&&o.HbH(d.hostCss)},inputs:{disableAllWhenBusy:"disableAllWhenBusy",allRight:"allRight",allBeforeGotoTargetStep:"allBeforeGotoTargetStep"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"currentStepId","targetStepId","disableWhenBusy","right","buttonId","beforeGotoTargetStep",4,"ngFor","ngForOf"],[3,"currentStepId","targetStepId","disableWhenBusy","right","buttonId","beforeGotoTargetStep"]],template:function(a,d){if(1&a&&(o.DNE(0,c,3,3,"ng-container",0),o.nI1(1,"async")),2&a){let r;o.Y8G("ngIf",null==(r=o.bMT(1,1,d.stepUiConfig))||null==r.pageSettings?null:r.pageSettings.interactiveGotoTargets)}},dependencies:[h.Sq,h.bT,E.Z,h.Jj,S.L],encapsulation:2})}return i})()},3001:(P,C,t)=>{t.d(C,{e:()=>u});var m=t(3719),e=t(4438),g=t(177),o=t(9417),h=t(9276),E=t(9856),S=t(1463);const I=["*"],c=()=>({display:"none"});function y(l,a){if(1&l){const d=e.RV6();e.j41(0,"button",4),e.bIt("click",function(){e.eBV(d);const n=e.XpG();return e.Njj(n.isPasswordConcealed=!n.isPasswordConcealed)}),e.nrm(1,"img",5),e.nI1(2,"translate"),e.k0s()}if(2&l){const d=e.XpG();e.AVh("iam-invalid",d.hasError()),e.Y8G("ngStyle",e.lJ4(7,c)),e.R7$(),e.Y8G("ngSrc",d.isPasswordConcealed?"assets/custom/img/eye
1-regular.svg":"assets/custom/img/eye-slash-regular.svg")("alt",e.bMT(2,5,"authentication.password.show-password"))}}function i(l,a){if(1&l&&e.nrm(0,"iam-errors",6),2&l){const d=e.XpG();e.Y8G("id",d.errorFor(d.id))("errors",d.getErrors())}}let u=(()=>{class l extends m.G{constructor(){super(...arguments),this.label="",this.placeholder="",this.focus=!1,this.readonly=!1,this.inputNgClass={},this.required=!1,this.autocapitalize=!1,this.spellcheck=!1,this.isPasswordConcealed=!0}get hostCss(){return"iam-row-group"}determineType(){return"password"===this.type?this.isPasswordConcealed?"password":"text":this.type||"text"}static#t=this.\u0275fac=(()=>{let d;return function(n){return(d||(d=e.xGo(l)))(n||l)}})();static#e=this.\u0275cmp=e.VBU({type:l,selectors:[["iam-input-row"]],hostVars:2,hostBindings:function(r,n){2&r&&e.HbH(n.hostCss)},inputs:{id:"id",name:"name",label:"label",type:"type",textArguments:"textArguments",placeholder:"placeholder",focus:"focus",readonly:"readonly",inputNgClass:"inputNgClass",required:"required",autocapitalize:"autocapitalize",spellcheck:"spellcheck"},standalone:!1,features:[e.Vt3],ngContentSelectors:I,decls:6,vars:23,consts:[[3,"label","labelFor","required"],[1,"iam-form-control",3,"formControl","name","autofocus","readonly","ngClass"],["class","iam-btn iam-btn-outline-secondary iam-show-password-toggle","type","button",3,"ngStyle","iam-invalid","click",4,"ngIf"],[3,"id","errors",4,"ngIf"],["type","button",1,"iam-btn","iam-btn-outline-secondary","iam-show-password-toggle",3,"click","ngStyle"],["height","16","width","16",3,"ngSrc","alt"],[3,"id","errors"]],template:function(r,n){1&r&&(e.NAR(),e.j41(0,"iam-row-with-label",0),e.nrm(1,"input",1),e.nI1(2,"translate"),e.DNE(3,y,3,8,"button",2),e.SdG(4),e.DNE(5,i,1,2,"iam-errors",3),e.k0s()),2&r&&(e.Y8G("label",n.label)("labelFor",n.name||n.id)("required",n.required),e.R7$(),e.AVh("iam-is-invalid",n.hasError())("iam-password-input-field","password"===n.type),e.Y8G("formControl",n.control)("name",n.name||n.id)("autofocus",n.focus)("readonly",n.readonly)("ngClass",n.inputNgClass),e.BMQ("type",n.determineType())("id",n.id)("placeholder",e.i5U(2,20,n.placeholder,n.textArguments))("autocapitalize",n.autocapitalize?"on":"off")("spellcheck",n.spellcheck)("aria-describedby",n.hasError()?n.errorFor(n.id):void 0),e.R7$(2),e.Y8G("ngIf","password"===n.type),e.R7$(2),e.Y8G("ngIf",n.hasError()))},dependencies:[g.YU,g.bT,g.B3,o.me,o.BC,o.l_,g.kt,h.I,E.U,S.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.