PageSourceSearch

https://www.hollyhomer.com/static/5.16.0/12551/app/en/reauth-dialog.component-LHKXGS5K.js

js hollyhomer.com collected 2026-10-04 03:33:12 UTC 6,991 bytes, 3 lines download raw bytes

1import{a as ut}from"./chunk-Y4MMVZ3R.js";import{a as pt}from"./chunk-H3FVH65J.js";import"./chunk-MXASWATL.js";import{a as ct}from"./chunk-U4TM7WBS.js";import{t as it}from"./chunk-C53UORQN.js";import"./chunk-O6XYH7PW.js";import"./chunk-HYT4FRIV.js";import"./chunk-GRKZLBTJ.js";import"./chunk-DNJMDJPD.js";import"./chunk-WYFHTUC5.js";import"./chunk-SJPXSUWQ.js";import"./chunk-N4X2ZSCK.js";import"./chunk-YBSG77R6.js";import"./chunk-JMVK4GP4.js";import"./chunk-I6AEVJLZ.js";import"./chunk-DXTONCKZ.js";import{b as H,c as q}from"./chunk-HRCH7YTL.js";import"./chunk-ZUVYQ52R.js";import{a as L}from"./chunk-V2N2YMJZ.js";import{d as Z}from"./chunk-3WKYSXKM.js";import{d as dt,e as mt}from"./chunk-QHZU4PST.js";import"./chunk-LO4BUZD5.js";import{b as nt,c as rt,f as at,i as st,j as lt}from"./chunk-HFX225X2.js";import{a as ot}from"./chunk-CJEIUXWH.js";import{H as X,I as Y,c as G,f as D,i as O,j as W,m as K,n as v,q as J,u as Q}from"./chunk-3QAVFP5S.js";import{b as $,c as tt,i as et}from"./chunk-LS74OHRZ.js";import"./chunk-5Q3MT75O.js";import{i as U,j,l as z}from"./chunk-NKUORADV.js";import"./chunk-A5YLLBSK.js";import"./chunk-VJLDJJUQ.js";import"./chunk-224PXFJJ.js";import"./chunk-2K5EWLY6.js";import{Da as R,Ec as c,Fb as T,Gc as s,J as S,Ja as g,Qc as w,Sc as B,Vc as l,Wc as F,_b as P,ca as M,dc as d,fc as m,jb as V,kc as C,lc as r,mc as a,n as A,nc as y,pb as n,qa as h,rc as b,rd as I,sc as x,sd as N,t as E,vc as _,xa as p,ya as f}from"./chunk-QXK5WLZZ.js";import"./chunk-MH5V57HS.js";function ft(e,u){if(e&1&&(y(0,"ih-info-panel",4),I(1,"sanitize")),e&2){let t=s();C("dismissable",!1)("innerHtml",N(1,2,t.data.message),V)}}function Ct(e,u){e&1&&(r(0,"mat-error"),l(1,"Please enter your current password"),a())}function _t(e,u){if(e&1){let t=_();r(0,"form",10),c("ngSubmit",function(){p(t);let o=s();return f(o.submit())}),r(1,"mat-form-field",11)(2,"mat-label"),l(3,"Current password"),a(),y(4,"input",12,0),r(6,"button",13),c("click",function(){p(t);let o=w(5),k=s();return f(k.showHidePassword(o))}),y(7,"mat-icon",14),a(),d(8,Ct,2,0,"mat-error"),a()()}if(e&2){let t=w(5),i=s();n(4),C("formControl",i.passwordControl),n(2),P("aria-label",t.type!=="password"?"Hide password":"Show password"),n(),C("svgIcon",t.type!=="password"?"eye":"eye-off"),n(),m(i.submitted()&&i.passwordControl.hasError("required")?8:-1)}}function ht(e,u){e&1&&(r(0,"mat-error"),l(1,"Please enter your authenticator code"),a())}function gt(e,u){if(e&1){let t=_();r(0,"form",10),c("ngSubmit",function(){p(t);let o=s();return f(o.submit())}),r(1,"p"),l(2,"Enter the 6-digit code from your authenticator app."),a(),y(3,"ih-verify-code",15),d(4,ht,2,0,"mat-error"),a()}if(e&2){let t=s();n(3),C("formControl",t.totpCodeControl),n(),m(t.submitted()&&t.totpCodeControl.hasError("required")?4:-1)}}function yt(e,u){if(e&1&&(r(0,"mat-error"),l(1),a()),e&2){let t=s();n(),F(t.passkeyError())}}function bt(e,u){if(e&1){let t=_();r(0,"button",8),c("click",function(){p(t);let o=s(2);return f(o.useMethod("password"))}),l(1,"Use your password instead"),a()}}function xt(e,u){if(e&1){let t=_();r(0,"button",8),c("click",function(){p(t);let o=s(2);return f(o.useMethod("totp"))}),l(1,"Use an authenticator code instead"),a()}}function wt(e,u){if(e&1){let t=_();r(0,"button",18),c("click",function(){p(t);let o=s(2);return f(o.usePasskey())}),l(1," Use a passkey instead "),a()}if(e&2){let t=s(2);C("disabled",t.passkeyBusy())}}function Dt(e,u){if(e&1&&(r(0,"div",6),d(1,bt,2,0,"button",16),d(2,xt,2,0,"button",16),d(3,wt,2,1,"button",17),a()),e&2){let t=s();n(),m(t.method()!=="password"?1:-1),n(),m(t.data.allowTotp&&t.method()!=="totp"?2:-1),n(),m(t.data.allowPasskey?3:-1)}}var Xt=(()=>{class e{data=h(tt);mdDialogRef=h($);auth=h(it);logger=Z("ReAuthDialogComponent");
1destroyRef=h(R);hostClass=!0;method=g("password");submitted=g(!1);passkeyBusy=g(!1);passkeyError=g("");passwordControl=new v("",{nonNullable:!0,validators:D.required});totpCodeControl=new v("",{nonNullable:!0,validators:D.required});showHidePassword(t){t.type=t.type==="password"?"text":"password"}useMethod(t){this.method.set(t),this.submitted.set(!1),this.passkeyError.set("")}usePasskey(){this.passkeyError.set(""),this.passkeyBusy.set(!0),this.auth.getAssertionOptions().pipe(M(t=>this.auth.getWebAuthnKey(t).pipe(E(i=>({challenge:t.challenge,assertion:i})))),S(t=>(this.passkeyBusy.set(!1),this.isPasskeyCancellation(t)||(this.logger.error("Passkey ceremony failed during re-auth",{error:t}),this.passkeyError.set("We could not verify your passkey. Please try again.")),A(null))),L(this.destroyRef)).subscribe(t=>{this.passkeyBusy.set(!1),t&&this.mdDialogRef.close({assertion:t})})}isPasskeyCancellation(t){let i=t?.name,o=t?.message??"";return i==="NotAllowedError"||i==="AbortError"||o==="2FA canceled by user."}cancel(){this.mdDialogRef.close()}submit(){if(this.submitted.set(!0),this.method()==="totp"){if(this.totpCodeControl.invalid)return;this.mdDialogRef.close({totpCode:this.totpCodeControl.value});return}this.passwordControl.invalid||this.mdDialogRef.close({currentPassword:this.passwordControl.value})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=T({type:e,selectors:[["ih-reauth-dialog"]],hostVars:2,hostBindings:function(i,o){i&2&&B("ih-reauth-dialog",o.hostClass)},decls:15,vars:6,consts:[["passwordInput",""],["ih-header",""],["ih-content",""],[1,"fx-layout-column"],[3,"dismissable","innerHtml"],["id","reAuthForm"],[1,"reauth-alt-methods","fx-layout-column"],["ih-footer",""],["mat-button","","type","button",3,"click"],["mat-button","","form","reAuthForm","type","submit",3,"disabled"],["id","reAuthForm",3,"ngSubmit"],["appearance","fill",1,"current-password-field"],["id","reAuthCurrentPassword","matInput","","type","password","autocomplete","current-password",1,"accent-border-bottom-color-focus",3,"formControl"],["mat-icon-button","","type","button","matSuffix","",3,"click"],[3,"svgIcon"],[3,"formControl"],["mat-button","","type","button"],["mat-button","","type","button",3,"disabled"],["mat-button","","type","button",3,"click","disabled"]],template:function(i,o){i&1&&(r(0,"ih-basic-dialog"),b(1,1),l(2,"Verify it's you"),x(),b(3,2),r(4,"div",3),d(5,ft,2,4,"ih-info-panel",4),d(6,_t,9,4,"form",5),d(7,gt,5,2,"form",5),d(8,yt,2,1,"mat-error"),d(9,Dt,4,3,"div",6),a(),x(),b(10,7),r(11,"button",8),c("click",function(){return o.cancel()}),l(12,"Cancel"),a(),r(13,"button",9),l(14,"Confirm"),a(),x(),a()),i&2&&(n(5),m(o.data.message?5:-1),n(),m(o.method()==="password"?6:-1),n(),m(o.method()==="totp"?7:-1),n(),m(o.passkeyError()?8:-1),n(),m(o.data.allowTotp||o.data.allowPasskey?9:-1),n(4),C("disabled",o.passkeyBusy()))},dependencies:[X,J,G,O,W,K,z,j,U,et,lt,st,nt,rt,at,q,H,mt,dt,Y,Q,ot,pt,ct,ut],styles:[`.current-password-field{margin:24px 0 0}.reauth-alt-methods{margin-top:8px}.reauth-alt-methods button{justify-content:flex-start}
2`],encapsulation:2,changeDetection:0})}return e})();export{Xt as ReAuthDialogComponent};
3/**i18n:c9e569e2ecdb3e0de183c72d8315eadfdcb9da9e09d5ac2d9fef9056c1853e21*/

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.