PageSourceSearch

https://web2.bau-master.com/chunk-36C3XMC5.js

js bau-master.com collected 2026-09-25 02:35:19 UTC 16,121 bytes, 1 lines download raw bytes

1import{a as ye}from"./chunk-UGA34LEG.js";import{a as _e}from"./chunk-5CSIGGSU.js";import{f as be}from"./chunk-MGZLJECP.js";import{d as T}from"./chunk-XWMRV3R6.js";import"./chunk-NRQPG2H7.js";import"./chunk-5P3AN2OS.js";import{X as k}from"./chunk-KUZG56OI.js";import"./chunk-HGZSA7RT.js";import"./chunk-RS3SWHRI.js";import"./chunk-CBCKS6VK.js";import"./chunk-645XG2RC.js";import{m as xe}from"./chunk-VOTWYUYF.js";import{$a as n,$d as X,Ae as te,Cm as he,Eb as t,Ec as a,Em as Ie,Fa as y,Fb as o,Fc as c,Ga as P,Gb as s,Ge as re,Hb as d,Im as Ce,Ld as u,Ob as V,Od as Q,Pd as K,Pe as oe,Qe as se,Rb as S,Rf as ge,Tb as p,Vi as ve,Wa as j,Wd as J,We as ae,Xa as w,Xb as A,Xf as ue,Yb as R,Yd as W,Ye as ce,Yf as fe,Zb as D,Zf as F,ae as Y,af as le,cc as $,ef as de,fc as m,gc as C,gd as G,ge as Z,hb as f,hc as v,he as ee,ie,lb as z,le as ne,mb as M,md as q,pb as N,rb as I,rf as me,s as B,se as U,td as H,wc as O,xa as b,xf as pe}from"./chunk-23S5SJ2M.js";import"./chunk-MVDMSBX6.js";import"./chunk-JVX7FMTT.js";import"./chunk-WNQ4N7RJ.js";import"./chunk-SLBGBKZ3.js";import"./chunk-W6K676FX.js";import"./chunk-QUJFQN2Y.js";import"./chunk-GSCG32S7.js";import"./chunk-KKHWLRGY.js";import"./chunk-KX4FLUXE.js";import"./chunk-TTZSLDD6.js";import"./chunk-HD5YA6ZE.js";import"./chunk-LZE6NVX3.js";import"./chunk-KZJFW7VO.js";import"./chunk-T42X4GN6.js";import"./chunk-6CZJXZPX.js";import"./chunk-6OKCMVIT.js";import"./chunk-VT4XPAGN.js";import"./chunk-T2BITMNJ.js";import"./chunk-JVYOHDHX.js";import"./chunk-MTHZ7MWU.js";import"./chunk-WI5MSH4N.js";import"./chunk-TG547T4L.js";import"./chunk-CKP3SGE2.js";import"./chunk-MUSA4S5V.js";import{k as h}from"./chunk-3FU4ZZZM.js";var ke=["passwordInput"],Ue=()=>["far","check-circle"],Fe=()=>["fas","times-circle"],Te=()=>["fal","info-circle"];function Le(i,g){i&1&&(o(0,"div",19),d(1,"ion-spinner"),m(2),a(3,"translate"),s()),i&2&&(n(2),v("",c(3,1,"userInvite.confirm.spinnerText")," "))}function Ee(i,g){i&1&&(o(0,"div",20),d(1,"fa-icon",21),m(2),a(3,"translate"),s()),i&2&&(n(),t("icon",O(4,Ue)),n(),v("",c(3,2,"userInvite.confirm.successful")," "))}function Be(i,g){if(i&1&&(o(0,"div",22),d(1,"fa-icon",21),m(2),a(3,"translate"),s()),i&2){let e=p();n(),t("icon",O(4,Fe)),n(),v("",c(3,2,e.resetPasswordFailedMessageKey)," ")}}function je(i,g){if(i&1&&(o(0,"div",26)(1,"div",35)(2,"ion-label",27),m(3),a(4,"translate"),s(),d(5,"fa-icon",36),s(),d(6,"ion-input",37),s()),i&2){let e=p(2);n(3),C(c(4,9,"userInvite.confirm.loginInfoText")),n(2),t("icon",O(11,Te))("infoTitle","userInvite.confirm.loginInfoText")("infoText","userInvite.confirm.infoText")("infoHintText","userInvite.confirm.infoHintText"),n(),t("type","text")("value",e.email)("disabled",!0)("readonly",!0)}}function ze(i,g){if(i&1&&(o(0,"span",38),m(1),a(2,"translate"),s()),i&2){let e=p(2);n(),v(" ",c(2,1,"resetPassword.confirm.validationError."+(e.userInviteForm.controls.password.errors.strongPassword==null?null:e.userInviteForm.controls.password.errors.strongPassword.translation)))}}function Ne(i,g){i&1&&(o(0,"span",38),m(1),a(2,"translate"),s()),i&2&&(n(),v(" ",c(2,1,"userInvite.confirm.validationError.passwordMismatch")))}function Ve(i,g){if(i&1&&(o(0,"ion-button",39),m(1),a(2,"translate"),s()),i&2){let e=p(2);t("disabled",!e.userInviteForm.dirty||!e.userInviteForm.valid||e.sending||e.passwordMismatch),n(),C(c(2,2,"userInvite.confirm.confirm"))}}function Ae(i,g){if(i&1){let e=V();o(0,"form",23),S("ngSubmit",function(){y(e);let r=p();return P(r.confirmUserInvite())}),o(1,"div",24),I(2,je,7,12,"div",25),o(3,"div",26)(4,"ion-label",27),m(5),a(6,"translate"),s(),I(7,ze,3,3,"span",28),o(8,"ion-input",29,0)(10,"ion-button",30),S("click",function(){y(e);let r=p();return P(r.toggleUnMaskPassword())}),d(11,"ion-icon",31),s()(),o(12,"span",32),m(13),a(14,"translate"),s()(),o(15,"div",26)(16,"ion-label",27),m(17),a(18,"translate"),s(),I(19,Ne,3,3,"span",28),o(20,"ion-input",33,1)(22,"ion-button",30),S("click",function(){y(e);let r=p();return P(r.toggleUnMaskPasswordConfirm())}),d(23,"ion-icon",31),s()()(),o(24,"div"),I(25,Ve,3,4,"ion-button",34),s()()()}if(i&2){let e=p();t("formGroup",e.userInviteForm),n(2),t("ngIf",e.email),n(3),C(c(6,14,"userInvite.confirm.password")),n(2),t("ngIf",(e.userInviteForm.controls.password==null||e.userInviteForm.controls.password.errors==null?null:e.userInviteForm.controls.password.errors.strongPassword)&&e.userInviteForm.controls.password.dirty),n(),t("type",e.isUnMaskPassword?"text":"password")("disabled",e.passwordChangedSuccessfully),n(3),t("name",e.isUnMaskPassword?"eye-outline":"eye-off-outline"),n(2),v(" ",c(14,16,"resetPassword.confirm.passwordPolicy")),n(4),C(c(18,18,"userInvite.confirm.passwordConfirm")),n(2),t("ngIf",e.passwordMismatch&&e.userInviteForm.controls.password.dirty&&e.userInviteForm.controls.passwordConfirm.dirty),n(),t("type",e.isUnMaskPasswordConfirm?"text":"password")("disabled",e.passwordChangedSuccessfully),n(3),t("name",e.isUnMaskPasswordConfirm?"eye-outline":"eye-off-outline"),n(2),t("ngIf",!e.passwordChangedSuccessfully&&!e.passwordChangeInProgress)}}function Re(i,g){if(i&1&&d(0,"app-login",40),i&2){let e=p();
1t("forcedUsername",e.email)("loginOptions",e.loginOptions)("redirectOnLoggedIn",!0)}}function De(i,g){i&1&&(o(0,"div",41)(1,"span",42)(2,"strong"),m(3),a(4,"translate"),s()(),d(5,"span",43),a(6,"translate"),s()),i&2&&(n(3),C(c(4,2,"userInvite.confirm.alert.header")),n(2),t("innerHTML",c(6,4,"userInvite.confirm.alreadyLoggedInText"),j))}var $e="UserInviteConfirmPage",we=(()=>{class i extends ye{constructor(e,l,r,x,Se,Oe){super(),this.activatedRoute=e,this.fb=l,this.loggingService=r,this.userInviteService=x,this.userService=Se,this.alertService=Oe,this.sending=!1,this.isUnMaskPassword=!1,this.isUnMaskPasswordConfirm=!1,this.registerLink=F.registerLink,this.registerLabel=F.registerLabel,this.loginOptions={staySignedIn:!0,skipImpersonate:!0},this.currentUsername$=this.userService.currentUser$.pipe(B(_=>_?.username)),this.isAlreadyLoggedIn=!1,this.registerForm=this.fb.group({username:["",u.required],password:["",[u.required,T()]],passwordConfirm:["",[u.required,T()]]}),this.userInviteForm=this.fb.group({password:["",[u.required,u.minLength(8)]],passwordConfirm:["",[u.required,u.minLength(8)]]}),this.valueChangesSubscription=this.userInviteForm.valueChanges.subscribe(_=>{let L=_.password,E=_.passwordConfirm;(!L||!E)&&(this.passwordMismatch=void 0),this.passwordMismatch=L!==E})}ngOnInit(){this.routeQueryParamSubscription=this.activatedRoute.queryParams.subscribe(e=>{this.email=e.email,e.language&&this.languageService.isSupportedLanguage(e.language)&&this.languageService.language!==e.language&&this.languageService.setLanguage(e.language)}),this.routeSubscription=this.activatedRoute.params.subscribe(e=>{this.userInviteLink=e.userInviteLink})}ionViewDidEnter(){return h(this,null,function*(){setTimeout(()=>h(this,null,function*(){yield this.passwordInput.setFocus()}),500),this.currentUsernameSubscription=this.currentUsername$.subscribe(e=>h(this,null,function*(){e&&(this.isAlreadyLoggedIn=!0,yield this.alertService.ok({header:"userInvite.confirm.alert.header",message:"userInvite.confirm.alert.message",confirmLabel:"close"}))}))})}confirmUserInvite(){return h(this,null,function*(){if(!(this.sending||!this.userInviteForm.dirty||!this.userInviteForm.valid||this.passwordMismatch))try{this.sending=!0,this.resetPasswordFailedMessageKey=void 0,this.passwordChangeInProgress=!0,yield this.userInviteService.confirmUserInvite(this.userInviteLink,this.userInviteForm.get("password").value),this.passwordChangedSuccessfully=!0,this.currentUsernameSubscription?.unsubscribe()}catch(e){this.resetPasswordFailedMessageKey=e?.error?.errorCode?`errorCodeMessages.${e?.error?.errorCode}`:"userInvite.confirm.error.general",this.loggingService.error($e,`resetPasswordConfirm failed with reason "${e?.message}"`)}finally{this.sending=!1,this.passwordChangeInProgress=!1}})}ionViewDidLeave(){return h(this,null,function*(){this.currentUsernameSubscription?.unsubscribe(),this.currentUsernameSubscription=void 0})}ngOnDestroy(){this.routeQueryParamSubscription?.unsubscribe(),this.routeSubscription?.unsubscribe(),this.valueChangesSubscription?.unsubscribe(),this.currentUsernameSubscription?.unsubscribe(),this.currentUsernameSubscription=void 0}toggleUnMaskPassword(){this.isUnMaskPassword=!this.isUnMaskPassword}toggleUnMaskPasswordConfirm(){this.isUnMaskPasswordConfirm=!this.isUnMaskPasswordConfirm}static{this.\u0275fac=function(l){return new(l||i)(f(ne),f(Z),f(ve),f(_e),f(xe),f(Ce))}}static{this.\u0275cmp=z({type:i,selectors:[["app-user-invite-confirm"]],viewQuery:function(l,r){if(l&1&&A(ke,5),l&2){let x;R(x=D())&&(r.passwordInput=x.first)}},standalone:!1,features:[N],decls:23,vars:19,consts:[["passwordInput",""],["passwordConfirmInput",""],[1,"ion-no-padding"],["size-lg","4",1,"ion-hide-lg-down","background-col","d-flex","flex-column","ion-justify-content-between"],[1,"p-8",3,"src"],[1,"d-flex","ion-justify-content-between","gap-4","background-brian"],[1,"brian-hello"],["src","/assets/images/brian-hello-login.png"],[1,"areas-of-use","p-8"],[3,"src"],["size","12","size-lg","8",1,"d-flex","ion-align-items-center","ion-justify-content-center","p-4"],[1,"d-flex","flex-column","gap-7","login-container"],[1,"ion-hide-lg-up",3,"src"],["class","d-flex flex-column ion-align-items-center ion-justify-content-center gap-1 creation-spinner",4,"ngIf"],["class","d-flex gap-2 ion-align-items-center success-message-container",4,"ngIf"],["class","d-flex gap-2 ion-align-items-center error-message-container",4,"ngIf"],["class","omg-form d-flex flex-column gap-7 register-form","novalidate","",3,"formGroup","ngSubmit",4,"ngIf"],[3,"forcedUsern
1ame","loginOptions","redirectOnLoggedIn",4,"ngIf"],["class","d-flex flex-column gap-2 already-logged-in",4,"ngIf"],[1,"d-flex","flex-column","ion-align-items-center","ion-justify-content-center","gap-1","creation-spinner"],[1,"d-flex","gap-2","ion-align-items-center","success-message-container"],[3,"icon"],[1,"d-flex","gap-2","ion-align-items-center","error-message-container"],["novalidate","",1,"omg-form","d-flex","flex-column","gap-7","register-form",3,"ngSubmit","formGroup"],[1,"d-flex","flex-column","gap-4"],["class","d-flex flex-column gap-2",4,"ngIf"],[1,"d-flex","flex-column","gap-2"],[1,"omg-t-body-bold"],["class","error-message",4,"ngIf"],["formControlName","password","required","","autocomplete","off","autocorrect","off","enterkeyhint","done","clearOnEdit","false","fill","outline",1,"text-primary","legacy",3,"type","disabled"],["slot","end","size","large",1,"omg-btn-text","ion-justify-content-end","toggle-unmask-button",3,"click"],[3,"name"],[1,"grey-text"],["formControlName","passwordConfirm","required","","autocomplete","off","autocorrect","off","enterkeyhint","done","clearOnEdit","false","fill","outline",1,"text-primary","legacy",3,"type","disabled"],["id","submitButton","class","omg-btn-primary","autofocus","autofocus","type","submit",3,"disabled",4,"ngIf"],[1,"d-flex","ion-align-items-center","gap-1"],["appInfoPopoverClick","",1,"grey-text",3,"icon","infoTitle","infoText","infoHintText"],["fill","outline",1,"text-primary","legacy",3,"type","value","disabled","readonly"],[1,"error-message"],["id","submitButton","autofocus","autofocus","type","submit",1,"omg-btn-primary",3,"disabled"],[3,"forcedUsername","loginOptions","redirectOnLoggedIn"],[1,"d-flex","flex-column","gap-2","already-logged-in"],[1,"text-header"],[3,"innerHTML"]],template:function(l,r){l&1&&(o(0,"ion-content"),a(1,"async"),o(2,"ion-grid",2)(3,"ion-row")(4,"ion-col",3),d(5,"img",4),a(6,"async"),o(7,"div",5)(8,"div",6),d(9,"img",7),s(),o(10,"div",8),d(11,"img",9),a(12,"async"),s()()(),o(13,"ion-col",10)(14,"div",11),d(15,"img",12),a(16,"async"),I(17,Le,4,3,"div",13)(18,Ee,4,5,"div",14)(19,Be,4,5,"div",15)(20,Ae,26,20,"form",16)(21,Re,1,3,"app-login",17)(22,De,7,6,"div",18),s()()()()()),l&2&&($("--bau-bg-brian-url",c(1,11,r.backgroundBrianUrl$)),n(5),t("src","/assets/images/logo-with-text-"+c(6,13,r.imageNameSuffix$)+".svg",w),n(6),t("src","/assets/images/login-areas-of-use-"+c(12,15,r.imageNameSuffix$)+".svg",w),n(4),t("src","/assets/images/logo-with-text-"+c(16,17,r.imageNameSuffix$)+".svg",w),n(2),t("ngIf",r.passwordChangeInProgress),n(),t("ngIf",r.passwordChangedSuccessfully),n(),t("ngIf",r.resetPasswordFailedMessageKey),n(),t("ngIf",!r.passwordChangeInProgress&&!r.passwordChangedSuccessfully),n(),t("ngIf",r.passwordChangedSuccessfully&&!r.passwordChangeInProgress&&!r.isAlreadyLoggedIn),n(),t("ngIf",r.passwordChangedSuccessfully&&!r.passwordChangeInProgress&&r.isAlreadyLoggedIn))},dependencies:[G,J,Q,K,Y,re,oe,se,ae,ce,le,de,me,pe,te,W,X,be,he,k,q,ue],styles:[".eye-btn[_ngcontent-%COMP%]{margin-top:20px}.creation-spinner[_ngcontent-%COMP%]{font-size:20px}.already-logged-in[_ngcontent-%COMP%]{font-size:16px}.already-logged-in[_ngcontent-%COMP%]   .text-header[_ngcontent-%COMP%]{font-size:18px}ion-button.toggle-unmask-button[_ngcontent-%COMP%]{color:#000;position:absolute;right:1px;z-index:99;top:1px;bottom:1px;height:100%}.dark[_nghost-%COMP%]   ion-button.toggle-unmask-button[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   ion-button.toggle-unmask-button[_ngcontent-%COMP%]{color:#fff}.success-message-container[_ngcontent-%COMP%]{padding:8px;border-radius:4px;border:1px solid #78C832}.success-message-container[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{color:#78c832;font-size:16px}.error-message-container[_ngcontent-%COMP%]{padding:8px;border-radius:4px;border:1px solid #AD003E}.dark[_nghost-%COMP%]   .error-message-container[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   .error-message-container[_ngcontent-%COMP%]{border:1px solid #FF91AE}.error-message-container[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{color:#ad003e;font-size:16px}.dark[_nghost-%COMP%]   .error-message-container[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   .error-message-container[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%]{color:#ff91ae}.register-form[_ngcontent-%COMP%]{--omg-form-item-focus-background: #EFF2F6}.dark[_nghost-%COMP%]   .register-form[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   .register-form[_ngcontent-%COMP%]{--omg-form-item-focus-background: #2B333C}#submitButton[_ngcontent-%COMP%]{font-size:18px;width:100%}.ios-fix.ios[_ngcontent-%COMP%]{position:absolute;bottom:40px}[_nghost-%COMP%]{padding-top:var(--ion-safe-area-top, 0)}.login-container[_ngcontent-%COMP%]{max-width:400px;flex-grow:1}.background-col[_ngcontent-%COMP%]{background-color:#f8f9fb}.dark[_nghost-%COMP%]   .background-col[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   .background-col[_ngcontent-%COMP%]{background-color:#2b333c}.background-brian[_ngcontent-%COMP%]{background-image:var(--bau-bg-brian-url, url(/assets/images/login-bg-transparent-lm-de.svg));background-repeat:no-repeat;background-position:left bottom;background-size:contain;flex:1 1 0;min-height:0}.areas-of-use[_ngcontent-%COMP%]{display:flex;align-items:flex-end;flex:0 1 auto}.areas-of-use[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{object-fit:contain;max-height:100%}.brian-hello[_ngcontent-%COMP%]{display:flex;align-items:flex-end}.brian-hello[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{object-fit:contain;max-height:40%}@media(min-aspect-ratio:3/1){.background-brian[_ngcontent-%COMP%]{display:none}}
1@media(max-height:550px){.background-brian[_ngcontent-%COMP%]{background:none}.background-brian[_ngcontent-%COMP%]   .areas-of-use[_ngcontent-%COMP%]{display:none}}ion-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}ion-grid[_ngcontent-%COMP%]{height:100%}ion-grid[_ngcontent-%COMP%] > ion-row[_ngcontent-%COMP%]{height:100%}"]})}}return i})();var Ge=[{path:"",component:we}],Me=(()=>{class i{static{this.\u0275fac=function(l){return new(l||i)}}static{this.\u0275mod=M({type:i})}static{this.\u0275inj=b({imports:[U.forChild(Ge),U]})}}return i})();var Li=(()=>{class i{static{this.\u0275fac=function(l){return new(l||i)}}static{this.\u0275mod=M({type:i})}static{this.\u0275inj=b({imports:[H,ee,ge,Me,fe,ie,Ie,k]})}}return i})();export{Li as UserInviteConfirmPageModule};

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.