1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9345],{1818:(T,g,t)=>{t.d(g,{R:()=>U});var s=t(5482),o=t(2652),d=t(6354),e=t(7348),l=t(2263),S=t(5451),b=t(7805),u=t(6247),i=t(2695);class y{constructor(D,C){this.activationQrCode=D,this.setupCode=C}}class _{constructor(D=""){this.otp=D}}var a=t(4438),c=t(1626),v=t(8552),p=t(3813),E=t(57),n=t(4160),m=t(5033),O=t(9099),r=t(7493),f=t(9710),I=t(3076),B=t(3001),w=t(6453),x=t(177);function R(P,D){if(1&P){const C=a.RV6();a.j41(0,"iam-page",0),a.nrm(1,"iam-text-message",1)(2,"iam-image-row",2)(3,"iam-text-message",3)(4,"iam-text-message",3),a.j41(5,"iam-form",4),a.bIt("formSubmit",function(){a.eBV(C);const M=a.XpG();return a.Njj(M.onSubmit())}),a.nrm(6,"iam-input-row",5)(7,"iam-dynamic-step-activation-checkboxes"),a.j41(8,"iam-button-row"),a.nrm(9,"iam-button",6)(10,"iam-cancel-button")(11,"iam-goto-buttons"),a.k0s()()()}if(2&P){const C=D,h=a.XpG();a.Y8G("pageId",h.pageId)("bodyAttributes",h.bodyAttributes)("title",h.translationPrefix+".oath.activation.title"),a.R7$(),a.Y8G("id","iamOathOtpActivationInfo")("text",h.translationPrefix+".oath.activation.info"),a.R7$(),a.Y8G("id","iamOathOtpActivationQrCodeImage")("imgClass","iam-mx-auto iam-d-block iam-qr-code")("withoutLabel",!0)("src",C.activationQrCode.dataUrl)("noMarginBottom",!0),a.R7$(),a.Y8G("id","iamOathOtpActivationSetupCodeLabel")("text",h.translationPrefix+".oath.activation.setup-code-explanation")("textNgClass","iam-text-center"),a.R7$(),a.Y8G("id","iamOathOtpActivationSetupCode")("text",C.setupCode)("textNgClass","iam-text-center iam-fw-bold"),a.R7$(),a.Y8G("form",h.form),a.R7$(),a.Y8G("id","iamOathOtpActivationOtpInput")("control",h.form.controls.otp)("label",h.translationPrefix+".oath.activation.otp")("focus",!0)("required",!0),a.R7$(3),a.Y8G("id","iamOathOtpActivationSubmitButton")("submit",!0)("text",h.translationPrefix+".oath.activation.actions.continue")("disabled",h.form.pristine||!h.form.valid)}}let U=(()=>{class P extends S.V{constructor(C,h,M,A,G){super(C,h),this.http=M,this.flowSessionService=A,this.checkEndpoint=G,this.form=l.l.of(new _,{required:["otp"]})}ngOnInit(){this.oathOtpActivationChallenge=this.initUiConfig().pipe((0,d.T)(C=>{const h=new i._(C.additionalAttribute("activationImage")),M=C.additionalAttribute("activationCode");return new y(h,M)}))}onSubmit(){this.checkOtp(this.form.model.otp).subscribe({next:C=>this.handleSuccessfulStep(C),error:C=>this.flowPageService.handleFailedStep(C,this.form)})}checkOtp(C){return this.http.post((0,e.OZ)(this.checkEndpoint.checkOtp()),{otp:C},(0,o.R)()).pipe((0,d.T)(h=>this.flowSessionService.createFlowSession(h)))}static#t=this.\u0275fac=function(h){return new(h||P)(a.rXU(u.z),a.rXU(b.b),a.rXU(c.Qq),a.rXU(s.Q),a.rXU(v.Y))};static#e=this.\u0275cmp=a.VBU({type:P,selectors:[["iam-oath-otp-activation"]],inputs:{translationPrefix:"translationPrefix",pageId:"pageId"},standalone:!1,features:[a.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title"],[3,"id","text"],[3,"id","imgClass","withoutLabel","src","noMarginBottom"],[3,"id","text","textNgClass"],[3,"formSubmit","form"],[3,"id","control","label","focus","required"],[3,"id","submit","text","disabled"]],template:function(h,M){if(1&h&&(a.DNE(0,R,12,26,"iam-page",0),a.nI1(1,"async")),2&h){let A;a.vxM((A=a.bMT(1,1,M.oathOtpActivationChallenge))?0:-1,A)}},dependencies:[p.H,E.m,n.Q,m.Q,O.a,r.E,f.s,I.j,B.e,w.I,x.Jj],encapsulation:2})}return P})()},1298:(T,g,t)=>{t.d(g,{k:()=>e});var s=t(325),o=t(9421),d=t(4438);let e=(()=>{class l{static#t=this.\u0275fac=function(u){return new(u||l)};static#e=this.\u0275mod=d.$C({type:l});static#o=this.\u0275inj=d.G2t({imports:[s.R,o.L]})}return l})()},8552:(T,g,t)=>{t.d(g,{Y:()=>s});class s{}},2695:(T,g,t)=>{t.d(g,{_:()=>s});class s{constructor(d){this.qrCodeImage=d}get dataUrl(){return this.qrCodeImage.startsWith("data:image/png;base64,")?this.qrCodeImage:"data:image/png;base64,"+this.qrCodeImage}}},3841:(T,g,t)=>{t.d(g,{L:()=>e});var s=t(7376),d=t(4438);let e=(()=>{class l{transform(b){return(0,s.upperFirst)((0,s.camelCase)(b))}static#t=this.\u0275fac=function(u){return new(u||l)};static#e=this.\u0275pipe=d.EJ8({name:"upperCamelCase",type:l,pure:!0,standalone:!1});static#o=this.\u0275prov=d.jDH({token:l,factory:l.\u0275fac})}return l})()},5033:(T,g,t)=>{t.d(g,{Q:()=>v});var s=t(6247),o=t(2315),d=t(6884),e=t(7673),l=t(8141),S=t(6354),b=t(5558),u=t(7613),i=t(4438),y=t(1400),_=t(177),a=t(4160);function c(p,E){if(1&p){const n=i.RV6();i.j41(0,"iam-button",1),i.bIt("buttonClick",function(){const O=i.eBV(n).ngIf,r=i.XpG();return i.Njj(r.cancelFlow(O.targetUri))}),i.k0s()}if(2&p){const n=i.XpG();i.Y8G("id",n.buttonId)("submit",!1)("right",n.right)("text",n.text||n.translationKey)("disableWhenBusy",n.disableWhenBusy)}}let v=(()=>
1{class p{set buttonId(n){n&&(this._id=n)}get buttonId(){return this._id}constructor(n,m,O,r,f){this.flowPageService=n,this.flowNavigationService=m,this.pageAlertService=O,this.routes=r,this.currentFlow=f,this.right=!0,this.disableWhenBusy=!0,this.beforeCancelFlow=this.nopBeforeCancelFlow,this._id="cancelButton",this.cancelButton=this.flowPageService.getStepUiConfig().pipe((0,l.M)(I=>{this._translationPrefix=I.getResourceKeyPrefix(),this.translationKey=this._translationPrefix+".pages.actions.cancel"}),(0,S.T)(I=>I.pageAttribute("cancelButtonSettings")))}get hostCss(){return"iam-btn-cancel"}cancelFlow(n){this.beforeCancelFlow().pipe((0,b.n)(()=>this.flowPageService.cancelFlow())).subscribe(()=>{this._translationPrefix&&this.pageAlertService.info(this._translationPrefix+".pages.messages.cancel");const m=this.currentFlow.retrieveId();this.flowPageService.clearState(),n?this.routes.navigateTo(n):this.flowNavigationService.navigateToFlow(m)})}nopBeforeCancelFlow(){return(0,e.of)(!0)}static#t=this.\u0275fac=function(m){return new(m||p)(i.rXU(s.z),i.rXU(y._),i.rXU(d.D),i.rXU(u.BV),i.rXU(o.E))};static#e=this.\u0275cmp=i.VBU({type:p,selectors:[["iam-cancel-button"]],hostVars:2,hostBindings:function(m,O){2&m&&i.HbH(O.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(m,O){1&m&&(i.DNE(0,c,1,5,"iam-button",0),i.nI1(1,"async")),2&m&&i.Y8G("ngIf",i.bMT(1,1,O.cancelButton))},dependencies:[_.bT,a.Q,_.Jj],encapsulation:2})}return p})()},7493:(T,g,t)=>{t.d(g,{E:()=>n});var s=t(6247),o=t(8141),d=t(3597),e=t(4438),l=t(177),S=t(2315),b=t(7301),u=t(9417),i=t(2816),y=t(1463);function _(m,O){if(1&m&&(e.nrm(0,"iam-checkbox-row",1),e.nI1(1,"translate")),2&m){const r=e.XpG();e.Y8G("id",r.checkboxId)("label",e.bMT(1,5,r.translationKey))("control",r.control)("labelRight",!0)("disabled",r.disabled)}}let a=(()=>{class m{get hostCss(){return"iam-dynamic-step-activation-checkbox"}set checkboxId(r){r&&(this._id=r)}get checkboxId(){return this._id}set targetStep(r){r&&(this._target=r,this.translationKey=this.translationKey.replace("{targetStepId}",r.targetStepId))}get targetStep(){return this._target}constructor(r,f){this.currentFlow=r,this.flowPageService=f,this.checkboxChangedEvent=new e.bkB,this.stepUiConfig=this.flowPageService.getStepUiConfig(),this.translationKey=this.keyPrefix()+".pages.actions.dynamic-step.{targetStepId}"}ngOnInit(){this.control=new u.hs,this.control.setValue(this._target.activated),this._checkboxSubscription=this.control.valueChanges.subscribe(r=>{this._target.activated=r,this.checkboxChangedEvent.emit({targetStepId:this._target.targetStepId,activated:r})})}ngOnDestroy(){this._checkboxSubscription.unsubscribe()}get disabled(){return!this._target.activated&&!this._target.activatable||this._target.activated&&!this._target.deactivatable}keyPrefix(){const r=this.currentFlow.retrieveType();return(0,b.U)(r)}static#t=this.\u0275fac=function(f){return new(f||m)(e.rXU(S.E),e.rXU(s.z))};static#e=this.\u0275cmp=e.VBU({type:m,selectors:[["iam-dynamic-step-activation-checkbox"]],hostVars:2,hostBindings:function(f,I){2&f&&e.HbH(I.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(f,I){if(1&f&&(e.DNE(0,_,2,7,"iam-checkbox-row",0),e.nI1(1,"async")),2&f){let B;e.Y8G("ngIf",null==(B=e.bMT(1,1,I.stepUiConfig))||null==B.pageSettings?null:B.pageSettings.dynamicStepActivationTargets)}},dependencies:[l.bT,i.D,y.t,l.Jj],encapsulation:2})}return m})();var c=t(9856),v=t(3841);function p(m,O){if(1&m){const r=e.RV6();e.j41(0,"iam-dynamic-step-activation-checkbox",3),e.nI1(1,"upperCamelCase"),e.bIt("checkboxChangedEvent",function(I){e.eBV(r);const B=e.XpG(2);return e.Njj(B.handleCheckboxChanges(I))}),e.k0s()}if(2&m){const r=O.$implicit;e.Y8G("targetStep",r)("checkboxId","dsaCheckbox"+e.bMT(1,2,r.targetStepId))}}function E(m,O){if(1&m&&(e.j41(0,"iam-row-with-label",1),e.DNE(1,p,2,4,"iam-dynamic-step-activation-checkbox",2),e.k0s()),2&m){const r=e.XpG();e.Y8G("withoutLabel",!0),e.R7$(),e.Y8G("ngForOf",r.dynamicStepActivationTargets)}}let n=(()=>{class m{constructor(r,f){this.flowPageService=r,this.dynamicStepActivationService=f,this.stepUiConfig=this.flowPageService.getStepUiConfig().pipe((0,o.M)(I=>this.setDynamicStepActivationTargets(I)))}handleCheckboxChanges(r){this.dynamicStepActivationService.addActivation(r)}setDynamicStepActivationTargets(r){this.dynamicStepActivationTargets=r.pageAttribute("dynamicStepActivationTargets")}static#t=this.\u0275fac=function(f){return new(f||m)(e.rXU(s.z),e.rXU(d.T))};
1static#e=this.\u0275cmp=e.VBU({type:m,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(f,I){if(1&f&&(e.DNE(0,E,2,2,"iam-row-with-label",0),e.nI1(1,"async")),2&f){let B;e.Y8G("ngIf",(null==(B=e.bMT(1,1,I.stepUiConfig))||null==B.pageSettings||null==B.pageSettings.dynamicStepActivationTargets?null:B.pageSettings.dynamicStepActivationTargets.length)>0)}},dependencies:[l.Sq,l.bT,a,c.U,l.Jj,v.L],encapsulation:2})}return m})()},9710:(T,g,t)=>{t.d(g,{s:()=>l});var s=t(4438),d=(t(2263),t(9417));const e=["*"];let l=(()=>{class S{constructor(){this.autocomplete="off",this.formSubmit=new s.bkB}static#t=this.\u0275fac=function(i){return new(i||S)};static#e=this.\u0275cmp=s.VBU({type:S,selectors:[["iam-form"]],inputs:{autocomplete:"autocomplete",form:"form"},outputs:{formSubmit:"formSubmit"},standalone:!1,ngContentSelectors:e,decls:2,vars:2,consts:[[3,"ngSubmit","formGroup"]],template:function(i,y){1&i&&(s.NAR(),s.j41(0,"form",0),s.bIt("ngSubmit",function(a){return y.formSubmit.emit(a)}),s.SdG(1),s.k0s()),2&i&&(s.Y8G("formGroup",y.form.formGroup),s.BMQ("autocomplete",y.autocomplete))},dependencies:[d.qT,d.cb,d.j4],encapsulation:2})}return S})()},9099:(T,g,t)=>{t.d(g,{a:()=>y});var s=t(6247),o=t(7673),d=t(6354),e=t(4438),l=t(177),S=t(3594),b=t(3841);function u(_,a){if(1&_&&(e.nrm(0,"iam-goto-button",2),e.nI1(1,"upperCamelCase")),2&_){const c=a.$implicit,v=e.XpG(2);e.Y8G("currentStepId",v.currentStepId)("targetStepId",c)("disableWhenBusy",v.disableAllWhenBusy)("right",v.allRight)("buttonId","gotoButton"+e.bMT(1,6,c))("beforeGotoTargetStep",v.allBeforeGotoTargetStep)}}function i(_,a){if(1&_&&(e.qex(0),e.DNE(1,u,2,8,"iam-goto-button",1),e.nI1(2,"async"),e.bVm()),2&_){const c=e.XpG();e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,c.gotoTargetsStepIds))}}let y=(()=>{class _{constructor(c){this.flowPageService=c,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,d.T)(c=>this.setCurrentStepIdAndGetGotoTargetsStepIds(c)))}setCurrentStepIdAndGetGotoTargetsStepIds(c){return this.currentStepId=c.pageId.replace(/\//g,""),c.pageAttribute("interactiveGotoTargets").targetStepIds}nopBeforeGotoTargetStep(){return(0,o.of)(!0)}static#t=this.\u0275fac=function(v){return new(v||_)(e.rXU(s.z))};static#e=this.\u0275cmp=e.VBU({type:_,selectors:[["iam-goto-buttons"]],hostVars:2,hostBindings:function(v,p){2&v&&e.HbH(p.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(v,p){if(1&v&&(e.DNE(0,i,3,3,"ng-container",0),e.nI1(1,"async")),2&v){let E;e.Y8G("ngIf",null==(E=e.bMT(1,1,p.stepUiConfig))||null==E.pageSettings?null:E.pageSettings.interactiveGotoTargets)}},dependencies:[l.Sq,l.bT,S.Z,l.Jj,b.L],encapsulation:2})}return _})()},3076:(T,g,t)=>{t.d(g,{j:()=>e});var s=t(4438),o=t(9856);const d=l=>({"iam-mb-0":l});let e=(()=>{class l{constructor(){this.label="",this.src="",this.alt="",this.height="",this.width="",this.noMarginBottom=!1,this.labelClass="",this.withoutLabel=!1,this.imgClass="iam-mx-sm-auto iam-d-block",this.overflowHidden=!1}get hostCss(){return"iam-row-group"}static#t=this.\u0275fac=function(u){return new(u||l)};static#e=this.\u0275cmp=s.VBU({type:l,selectors:[["iam-image-row"]],hostVars:2,hostBindings:function(u,i){2&u&&s.HbH(i.hostCss)},inputs:{label:"label",src:"src",alt:"alt",height:"height",width:"width",noMarginBottom:"noMarginBottom",labelClass:"labelClass",withoutLabel:"withoutLabel",imgClass:"imgClass",overflowHidden:"overflowHidden",id:"id"},standalone:!1,decls:3,vars:14,consts:[[3,"label","labelClass","withoutLabel","rowNgClass"]],template:function(u,i){1&u&&(s.j41(0,"div")(1,"iam-row-with-label",0),s.nrm(2,"img"),s.k0s()()),2&u&&(s.AVh("overflow-hidden",i.overflowHidden
1),s.R7$(),s.Y8G("label",i.label)("labelClass",i.labelClass)("withoutLabel",i.withoutLabel)("rowNgClass",s.eq3(12,d,i.noMarginBottom)),s.R7$(),s.BMQ("id",i.id)("src",i.src,s.B4B)("alt",i.alt)("class",i.imgClass)("width",i.width)("height",i.height))},dependencies:[o.U],encapsulation:2})}return l})()},3001:(T,g,t)=>{t.d(g,{e:()=>a});var s=t(3719),o=t(4438),d=t(177),e=t(9417),l=t(9276),S=t(9856),b=t(1463);const u=["*"],i=()=>({display:"none"});function y(c,v){if(1&c){const p=o.RV6();o.j41(0,"button",4),o.bIt("click",function(){o.eBV(p);const n=o.XpG();return o.Njj(n.isPasswordConcealed=!n.isPasswordConcealed)}),o.nrm(1,"img",5),o.nI1(2,"translate"),o.k0s()}if(2&c){const p=o.XpG();o.AVh("iam-invalid",p.hasError()),o.Y8G("ngStyle",o.lJ4(7,i)),o.R7$(),o.Y8G("ngSrc",p.isPasswordConcealed?"assets/custom/img/eye-regular.svg":"assets/custom/img/eye-slash-regular.svg")("alt",o.bMT(2,5,"authentication.password.show-password"))}}function _(c,v){if(1&c&&o.nrm(0,"iam-errors",3),2&c){const p=o.XpG();o.Y8G("id",p.errorFor(p.id))("errors",p.getErrors())}}let a=(()=>{class c extends s.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 p;return function(n){return(p||(p=o.xGo(c)))(n||c)}})();static#e=this.\u0275cmp=o.VBU({type:c,selectors:[["iam-input-row"]],hostVars:2,hostBindings:function(E,n){2&E&&o.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:[o.Vt3],ngContentSelectors:u,decls:6,vars:23,consts:[[3,"label","labelFor","required"],[1,"iam-form-control",3,"formControl","name","autofocus","readonly","ngClass"],["type","button",1,"iam-btn","iam-btn-outline-secondary","iam-show-password-toggle",3,"ngStyle","iam-invalid"],[3,"id","errors"],["type","button",1,"iam-btn","iam-btn-outline-secondary","iam-show-password-toggle",3,"click","ngStyle"],["height","16","width","16",3,"ngSrc","alt"]],template:function(E,n){1&E&&(o.NAR(),o.j41(0,"iam-row-with-label",0),o.nrm(1,"input",1),o.nI1(2,"translate"),o.DNE(3,y,3,8,"button",2),o.SdG(4),o.DNE(5,_,1,2,"iam-errors",3),o.k0s()),2&E&&(o.Y8G("label",n.label)("labelFor",n.name||n.id)("required",n.required),o.R7$(),o.AVh("iam-is-invalid",n.hasError())("iam-password-input-field","password"===n.type),o.Y8G("formControl",n.control)("name",n.name||n.id)("autofocus",n.focus)("readonly",n.readonly)("ngClass",n.inputNgClass),o.BMQ("type",n.determineType())("id",n.id)("placeholder",o.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),o.R7$(2),o.vxM("password"===n.type?3:-1),o.R7$(2),o.vxM(n.hasError()?5:-1))},dependencies:[d.YU,d.B3,e.me,e.BC,e.l_,d.kt,l.I,S.U,b.t],encapsulation:2})}return c})()}}]);
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.