1(self.webpackChunkmfa_demo_app=self.webpackChunkmfa_demo_app||[]).push([[179],{751:(Xn,ve,Ce)=>{"use strict";var Te={};Ce.r(Te),Ce.d(Te,{ACCESS_TOKEN_STORAGE_KEY:()=>Qhe,CACHE_STORAGE_NAME:()=>oU,DEFAULT_CACHE_DURATION:()=>rU,DEFAULT_CODE_CHALLENGE_METHOD:()=>KT,DEFAULT_MAX_CLOCK_SKEW:()=>iU,DEFAULT_POLLING_DELAY:()=>tU,IDX_API_VERSION:()=>YT,IDX_RESPONSE_STORAGE_NAME:()=>cU,ID_TOKEN_STORAGE_KEY:()=>Jhe,IOS_MAX_RETRY_COUNT:()=>nU,MAX_VERIFIER_LENGTH:()=>uU,MIN_VERIFIER_LENGTH:()=>WT,ORIGINAL_URI_STORAGE_NAME:()=>lU,PKCE_STORAGE_NAME:()=>Yhe,REFERRER_PATH_STORAGE_KEY:()=>$w,REFRESH_TOKEN_STORAGE_KEY:()=>qT,SHARED_TRANSACTION_STORAGE_NAME:()=>aU,STATE_TOKEN_KEY_NAME:()=>vy,TOKEN_STORAGE_NAME:()=>GT,TRANSACTION_STORAGE_NAME:()=>sU});var me={};Ce.r(me),Ce.d(me,{getUserAgent:()=>dU,hasTextEncoder:()=>JT,isBrowser:()=>Wo,isDPoPSupported:()=>tfe,isFingerprintSupported:()=>hU,isHTTPS:()=>mU,isIE11OrLess:()=>Vw,isIOS:()=>nfe,isLocalhost:()=>gU,isPKCESupported:()=>efe,isPopupPostMessageSupported:()=>Zhe,isTokenVerifySupported:()=>pU});var Oe={};Ce.r(Oe),Ce.d(Oe,{AuthenticatorEnrollmentData:()=>Zw,AuthenticatorVerificationData:()=>Xw,ChallengeAuthenticator:()=>Ww,ChallengePoll:()=>kA,EnrollAuthenticator:()=>SA,EnrollPoll:()=>_y,EnrollProfile:()=>FU,EnrollmentChannelData:()=>EA,GenericRemediator:()=>cA,Identify:()=>by,ReEnrollAuthenticator:()=>Kw,ReEnrollAuthenticatorWarning:()=>Yw,RedirectIdp:()=>PU,Remediator:()=>oa,ResetAuthenticator:()=>LU,SelectAuthenticatorAuthenticate:()=>Qw,SelectAuthenticatorEnroll:()=>Jw,SelectAuthenticatorUnlockAccount:()=>VU,SelectEnrollProfile:()=>$U,SelectEnrollmentChannel:()=>xA,Skip:()=>AA});var ot={};Ce.r(ot),Ce.d(ot,{atob:()=>QT,base64ToBase64Url:()=>UA,base64UrlDecode:()=>zA,base64UrlToBase64:()=>HA,base64UrlToBuffer:()=>Cy,base64UrlToString:()=>jA,btoa:()=>fd,bufferToBase64Url:()=>Ch,getOidcHash:()=>YU,stringToBase64Url:()=>wy,stringToBuffer:()=>eC,verifyToken:()=>QU,webcrypto:()=>ra});var _t={};Ce.r(_t),Ce.d(_t,{buildCredentialCreationOptions:()=>Jge,buildCredentialRequestOptions:()=>Xge,getAssertion:()=>eye,getAttestation:()=>Zge});var Xe={};Ce.r(Xe),Ce.d(Xe,{addEmail:()=>Fye,addPhone:()=>zye,deleteEmail:()=>$ye,deletePassword:()=>Jye,deletePhone:()=>Gye,enrollPassword:()=>Yye,getEmail:()=>Lye,getEmailChallenge:()=>Bye,getEmails:()=>Nye,getPassword:()=>Kye,getPhone:()=>jye,getPhones:()=>Hye,getProfile:()=>Iye,getProfileSchema:()=>Rye,sendEmailChallenge:()=>Vye,sendPhoneChallenge:()=>qye,updatePassword:()=>Qye,updateProfile:()=>Pye,verifyEmailChallenge:()=>Uye,verifyPhoneChallenge:()=>Wye});var Ot={};Ce.r(Ot),Ce.d(Ot,{ACCESS_TOKEN_STORAGE_KEY:()=>Nve,CACHE_STORAGE_NAME:()=>f6,DEFAULT_CACHE_DURATION:()=>h6,DEFAULT_CODE_CHALLENGE_METHOD:()=>eD,DEFAULT_MAX_CLOCK_SKEW:()=>d6,DEFAULT_POLLING_DELAY:()=>c6,IDX_API_VERSION:()=>tD,IDX_RESPONSE_STORAGE_NAME:()=>y6,ID_TOKEN_STORAGE_KEY:()=>Lve,IOS_MAX_RETRY_COUNT:()=>u6,MAX_VERIFIER_LENGTH:()=>v6,MIN_VERIFIER_LENGTH:()=>ZM,ORIGINAL_URI_STORAGE_NAME:()=>g6,PKCE_STORAGE_NAME:()=>Rve,REFERRER_PATH_STORAGE_KEY:()=>bC,REFRESH_TOKEN_STORAGE_KEY:()=>XM,SHARED_TRANSACTION_STORAGE_NAME:()=>m6,STATE_TOKEN_KEY_NAME:()=>Ry,TOKEN_STORAGE_NAME:()=>JM,TRANSACTION_STORAGE_NAME:()=>p6});var yn={};Ce.r(yn),Ce.d(yn,{getUserAgent:()=>_6,hasTextEncoder:()=>iD,isBrowser:()=>Ko,isDPoPSupported:()=>Bve,isFingerprintSupported:()=>b6,isHTTPS:()=>S6,isIE11OrLess:()=>wC,isIOS:()=>Uve,isLocalhost:()=>x6,isPKCESupported:()=>Vve,isPopupPostMessageSupported:()=>$ve,isTokenVerifySupported:()=>C6});var vn={};Ce.r(vn),Ce.d(vn,{AuthenticatorEnrollmentData:()=>RC,AuthenticatorVerificationData:()=>PC,ChallengeAuthenticator:()=>AC,ChallengePoll:()=>DD,EnrollAuthenticator:()=>TD,EnrollPoll:()=>Ny,EnrollProfile:()=>z6,EnrollmentChannelData:()=>MD,GenericRemediator:()=>fD,Identify:()=>Ly,ReEnrollAuthenticator:()=>MC,ReEnrollAuthenticatorWarning:()=>DC,RedirectIdp:()=>B6,Remediator:()=>la,ResetAuthenticator:()=>j6,SelectAuthenticatorAuthenticate:()=>OC,SelectAuthenticatorEnroll:()=>IC,SelectAuthenticatorUnlockAccount:()=>q6,SelectEnrollProfile:()=>G6,SelectEnrollmentChannel:()=>AD,Skip:()=>ID});var mr={};Ce.r(mr),Ce.d(mr,{atob:()=>nD,base64ToBase64Url:()=>GD,base64UrlDecode:()=>KD,base64UrlToBase64:()=>qD,base64UrlToBuffer:()=>$y,base64UrlToString:()=>WD,btoa:()=>bd,bufferToBase64Url:()=>Ph,getOidcHash:()=>o9,stringToBase64Url:()=>Fy,stringToBuffer:()=>NC,verifyToken:()=>s9,webcrypto:()=>aa});var co={};Ce.r(co),Ce.d(co,{buildCredentialCreationOptions:()=>vwe,buildCredentialRequestOptions:()=>_we,getAssertion:()=>wwe,getAttestation:()=>bwe});var hi={};function zt(e){return"function"==typeof e}function Kt(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}Ce.r(hi),Ce.d(hi,{addEmail:()=>eCe,addPhone:()=>aCe,deleteEmail:()=>tCe,deletePassword:()=>pCe,deletePhone:()=>lCe,enrollPassword:()=>hCe,getEmail:()=>Zwe,getEmailChallenge:()=>iCe,getEmails:()=>Xwe,getPassword:()=>dCe,getPhone:()=>sCe,getPhones:()=>oCe,getProfile:()=>Ywe,getProfileSchema:()=>Jwe,sendEmailChallenge:()=>nCe,sendPhoneChallenge:()=>cCe,updatePassword:()=>fCe,updateProfile:()=>Qwe,verifyEmailChallenge:()=>rCe,verifyPhoneChallenge:()=>uCe});const Yt=Kt(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Gt(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 9,168 bytes, line 1
1unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(zt(i))try{i()}catch(o){n=o instanceof Yt?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Kn(o)}catch(s){n=n??[],s instanceof Yt?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Yt(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Kn(n);else{if(n instanceof Jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Gt(t,n)}remove(n){const{_finalizers:t}=this;t&&Gt(t,n),n instanceof Jt&&n._removeParent(this)}}Jt.EMPTY=(()=>{const e=new Jt;return e.closed=!0,e})();const cn=Jt.EMPTY;function gi(e){return e instanceof Jt||e&&"closed"in e&&zt(e.remove)&&zt(e.add)&&zt(e.unsubscribe)}function Kn(e){zt(e)?e():e.unsubscribe()}const si={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Un={setTimeout(e,n,...t){const{delegate:i}=Un;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Un;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ni(e){Un.setTimeout(()=>{const{onUnhandledError:n}=si;if(!n)throw e;n(e)})}function C(){}const ke=Vl("C",void 0,void 0);function Vl(e,n,t){return{kind:e,value:n,error:t}}let Vt=null;function ue(e){if(si.useDeprecatedSynchronousErrorHandling){const n=!Vt;if(n&&(Vt={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Vt;if(Vt=null,t)throw i}}else e()}class pn extends Jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,gi(n)&&n.add(this)):this.destination=Ao}static create(n,t,i){return new To(n,t,i)}next(n){this.isStopped?dr(function $r(e){return Vl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?dr(function On(e){return Vl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?dr(ke,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Di=Function.prototype.bind;function ai(e,n){return Di.call(e,n)}class Yn{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Uo(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Uo(i)}else Uo(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Uo(t)}}}class To extends pn{constructor(n,t,i){let r;if(super(),zt(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&si.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&ai(n.next,o),error:n.error&&ai(n.error,o),complete:n.complete&&ai(n.complete,o)}):r=n}this.destination=new Yn(r)}}function Uo(e){si.useDeprecatedSynchronousErrorHandling?function lt(e){si.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=e)}(e):Ni(e)}function dr(e,n){const{onStoppedNotification:t}=si;t&&Un.setTimeout(()=>t(e,n))}const Ao={closed:!0,next:C,error:function ba(e){throw e},complete:C},Bl="function"==typeof Symbol&&Symbol.observable||"@@observable";function $a(e){return e}function Ps(e){return 0===e.length?$a:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let wi=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function kf(e){return e&&e instanceof pn||function Ys(e){return e&&zt(e.next)&&zt(e.error)&&zt(e.complete)}(e)&&gi(e)}(t)?t:new To(t,i,r);return ue(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=qd(i))((r,o)=>{const s=new To({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Bl](){return this}pipe(...t){return Ps(t)(this)}toPromise(t){return new(t=qd(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qd(e){var n;return null!==(n=e??si.Promise)&&void 0!==n?n:Promise}const Ul=Kt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let nt=(()=>{class e extends wi{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Wd(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new Ul}next(t){ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?cn:(this.currentObservers=null,o.push(t),new Jt(()=>{this.currentObservers=null,Gt(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new wi;return t.source=this,t}}return e.create=(n,t)=>new Wd(n,t),e})();class Wd extends nt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:cn}}function Tf(e){return zt(e?.lift)}function Xi(e){return n=>{if(Tf(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function yi(e,n,t,i,r){return new Qs(e,n,t,i,r)}class Qs extends pn{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function an(e,n){return Xi((t,i)=>{let r=0;t.subscribe(yi(i,o=>{i.next(e.call(n,o,r++))}))})}function Zn(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}function zl(e){return this instanceof zl?(this.v=e,this):new zl(e)}function Ic(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(y){return function(b){return Promise.resolve(b).then(y,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(y,b){i[y]&&(r[y]=function(S){return new Promise(function(D,R){o.push([y,S,D,R])>1||l(y,S)})},b&&(r[y]=b(r[y])))}function l(y,b){try{!function c(y){y.value instanceof zl?Promise.resolve(y.value.v).then(u,d):f(o[0][2],y)}(i[y](b))}catch(S){f(o[0][3],S)}}function u(y){l("next",y)}function d(y){l("throw",y)}function f(y,b){y(b),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Wm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Dr(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);
vendor: 8,356 bytes, line 1
1if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Qm=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Jm(e){return zt(e?.then)}function u_(e){return zt(e[Bl])}function d_(e){return Symbol.asyncIterator&&zt(e?.[Symbol.asyncIterator])}function Xm(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Pc=function S1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Zm(e){return zt(e?.[Pc])}function Df(e){return Ic(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield zl(t.read());if(r)return yield zl(void 0);yield yield zl(i)}}finally{t.releaseLock()}})}function Of(e){return zt(e?.getReader)}function Mo(e){if(e instanceof wi)return e;if(null!=e){if(u_(e))return function h_(e){return new wi(n=>{const t=e[Bl]();if(zt(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Qm(e))return function x1(e){return new wi(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(Jm(e))return function Qd(e){return new wi(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ni)})}(e);if(d_(e))return eg(e);if(Zm(e))return function f_(e){return new wi(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Of(e))return function p_(e){return eg(Df(e))}(e)}throw Xm(e)}function eg(e){return new wi(n=>{(function m_(e,n){var t,i,r,o;return Zn(this,void 0,void 0,function*(){try{for(t=Wm(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function al(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Qr(e,n,t=1/0){return zt(n)?Qr((i,r)=>an((o,s)=>n(i,o,r,s))(Mo(e(i,r))),t):("number"==typeof n&&(t=n),Xi((i,r)=>function tg(e,n,t,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},y=S=>c<i?b(S):l.push(S),b=S=>{o&&n.next(S),c++;let D=!1;Mo(t(S,u++)).subscribe(yi(n,R=>{r?.(R),o?y(R):n.next(R)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;l.length&&c<i;){const R=l.shift();s?al(n,s,()=>b(R)):b(R)}f()}catch(R){n.error(R)}}))};return e.subscribe(yi(n,y,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,t)))}function ju(e=1/0){return Qr($a,e)}const Xs=new wi(e=>e.complete());function ig(e){return e&&zt(e.schedule)}function jo(e){return e[e.length-1]}function Rc(e){return zt(jo(e))?e.pop():void 0}function Gl(e){return ig(jo(e))?e.pop():void 0}function g_(e,n=0){return Xi((t,i)=>{t.subscribe(yi(i,r=>al(i,e,()=>i.next(r),n),()=>al(i,e,()=>i.complete(),n),r=>al(i,e,()=>i.error(r),n)))})}function If(e,n=0){return Xi((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function __(e,n){if(!e)throw new Error("Iterable cannot be null");return new wi(t=>{al(t,n,()=>{const i=e[Symbol.asyncIterator]();al(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function gr(e,n){return n?function b_(e,n){if(null!=e){if(u_(e))return function y_(e,n){return Mo(e).pipe(If(n),g_(n))}(e,n);if(Qm(e))return function v_(e,n){return new wi(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Jm(e))return function Pf(e,n){return Mo(e).pipe(If(n),g_(n))}(e,n);if(d_(e))return __(e,n);if(Zm(e))return function T1(e,n){return new wi(t=>{let i;return al(t,n,()=>{i=e[Pc](),al(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>zt(i?.return)&&i.return()})}(e,n);if(Of(e))return function wa(e,n){return __(Df(e),n)}(e,n)}throw Xm(e)}(e,n):Mo(e)}function Wi(...e){const n=Gl(e),t=function k1(e,n){return"number"==typeof jo(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Mo(i[0]):ju(t)(gr(i,n)):Xs}function w_(e={}){const{connector:n=(()=>new nt),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},y=()=>{f(),s=l=void 0,u=d=!1},b=()=>{const S=s;y(),S?.unsubscribe()};return Xi((S,D)=>{c++,!d&&!u&&f();const R=l=l??n();D.add(()=>{c--,0===c&&!d&&!u&&(a=ll(b,r))}),R.subscribe(D),!s&&c>0&&(s=new To({next:G=>R.next(G),error:G=>{d=!0,f(),a=ll(y,t,G),R.error(G)},complete:()=>{u=!0,f(),a=ll(y,i),R.complete()}}),Mo(S).subscribe(s))})(o)}}function ll(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new To({next:()=>{i.unsubscribe(),e()}});return n(...t).subscribe(i)}function Ei(e){for(let n in e)if(e[n]===Ei)return n;throw Error("Could not find renamed property on target object.")}function Jd(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function sr(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(sr).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Nc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const C_=Ei({__forward_ref__:Ei});function Ln(e){return e.__forward_ref__=Ln,e.toString=function(){return sr(this())},e}function bn(e){return Rf(e)?e():e}function Rf(e){return"function"==typeof e&&e.hasOwnProperty(C_)&&e.__forward_ref__===Ln}class je extends Error{constructor(n,t){super(function Nf(e,n){return`NG0${Math.abs(e)}${n?": "+n.trim():""}`}(n,t)),this.code=n}}function Fn(e){return"string"==typeof e?e:null==e?"":String(e)}function Lf(e,n){throw new je(-201,!1)}function Do(e,n){null==e&&function Li(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(n,e,null,"!=")}function Le(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function p(e){return{providers:e.providers||[],imports:e.imports||[]}}function v(e){return E(e,W)||E(e,Me)}function E(e,n){return e.hasOwnProperty(n)?e[n]:null}function ee(e){return e&&(e.hasOwnProperty(oe)||e.hasOwnProperty(Ue))?e[oe]:null}const W=Ei({\u0275prov:Ei}),oe=Ei({\u0275inj:Ei}),Me=Ei({ngInjectableDef:Ei}),Ue=Ei({ngInjectorDef:Ei});var re=(()=>((re=re||{})[re.Default=0]="Default",re[re.Host=1]="Host",re[re.Self=2]="Self",re[re.SkipSelf=4]="SkipSelf",re[re.Optional=8]="Optional",re))();let at;function In(e){const n=at;return at=e,n}function qn(e,n,t){const i=v(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&re.Optional?null:void 0!==n?n:void Lf(sr(e))}function hr(e){return{toString:e}.toString()}var Jr=(()=>((Jr=Jr||{})[Jr.OnPush=0]="OnPush",Jr[Jr.Default=1]="Default",Jr))(),Oo=(()=>{return(e=Oo||(Oo={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Oo;var e})();const tn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ql={},Qn=[],Wl=Ei({\u0275cmp:Ei}),Zs=Ei({\u0275dir:Ei}),Va=Ei({\u0275pipe:Ei}),ul=Ei({\u0275mod:Ei}),Xr=Ei({\u0275fac:Ei}),Lc=Ei({__NG_ELEMENT_ID__:Ei});let dl=0;function We(e){return hr(()=>{const t=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Jr.OnPush,directiveDefs:null,pipeDefs:null,
1standalone:t,dependencies:t&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Qn,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Oo.Emulated,id:"c"+dl++,styles:e.styles||Qn,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=ea(e.inputs,i),r.outputs=ea(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(E_).filter(k_):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Br).filter(k_):null,r})}function E_(e){return Ki(e)||Go(e)}function k_(e){return null!==e}function it(e){return hr(()=>({type:e.type,bootstrap:e.bootstrap||Qn,declarations:e.declarations||Qn,imports:e.imports||Qn,exports:e.exports||Qn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ea(e,n){if(null==e)return ql;const t={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,n&&(n[r]=o)}return t}const K=We;function bs(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ki(e){return e[Wl]||null}function Go(e){return e[Zs]||null}function Br(e){return e[Va]||null}function Zr(e,n){const t=e[ul]||null;if(!t&&!0===n)throw new Error(`Type ${sr(e)} does not have '\u0275mod' property.`);return t}function er(e){return Array.isArray(e)&&"object"==typeof e[1]}function fl(e){return Array.isArray(e)&&!0===e[1]}function F1(e){return 0!=(8&e.flags)}function T_(e){return 2==(2&e.flags)}function A_(e){return 1==(1&e.flags)}function pl(e){return null!==e.template}function OJ(e){return 0!=(256&e[2])}function Zd(e,n){return e.hasOwnProperty(Xr)?e[Xr]:null}class RJ{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function ei(){return _N}function _N(e){return e.type.prototype.ngOnChanges&&(e.setInput=LJ),NJ}function NJ(){const e=wN(this),n=e?.current;if(n){const t=e.previous;if(t===ql)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function LJ(e,n,t,i){const r=wN(e)||function FJ(e,n){return e[bN]=n}(e,{previous:ql,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[t],l=s[a];o[a]=new RJ(l&&l.currentValue,n,s===ql),e[i]=n}ei.ngInherit=!0;const bN="__ngSimpleChanges__";function wN(e){return e[bN]||null}function vo(e){for(;Array.isArray(e);)e=e[0];return e}function M_(e,n){return vo(n[e])}function Sa(e,n){return vo(n[e.index])}function H1(e,n){return e.data[n]}function Vf(e,n){return e[n]}function xa(e,n){const t=n[e];return er(t)?t:t[0]}function D_(e){return 64==(64&e[2])}function Gu(e,n){return null==n?null:e[n]}function CN(e){e[18]=0}function j1(e,n){e[5]+=n;let t=e,i=e[3];for(;null!==i&&(1===n&&1===t[5]||-1===n&&0===t[5]);)i[5]+=n,t=i,i=i[3]}const Vn={lFrame:IN(null),bindingsEnabled:!0};function xN(){return Vn.bindingsEnabled}function tt(){return Vn.lFrame.lView}function Oi(){return Vn.lFrame.tView}function Pt(e){return Vn.lFrame.contextLView=e,e[8]}function Rt(e){return Vn.lFrame.contextLView=null,e}function Io(){let e=EN();for(;null!==e&&64===e.type;)e=e.parent;return e}function EN(){return Vn.lFrame.currentTNode}function Yl(e,n){const t=Vn.lFrame;t.currentTNode=e,t.isParent=n}function z1(){return Vn.lFrame.isParent}function G1(){Vn.lFrame.isParent=!1}function Ls(){const e=Vn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Bf(){return Vn.lFrame.bindingIndex++}function Bc(e){const n=Vn.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XJ(e,n){const t=Vn.lFrame;t.bindingIndex=t.bindingRootIndex=e,q1(n)}function q1(e){Vn.lFrame.currentDirectiveIndex=e}function W1(e){const n=Vn.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function MN(){return Vn.lFrame.currentQueryIndex}function K1(e){Vn.lFrame.currentQueryIndex=e}function eX(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[6]:null}function DN(e,n,t){if(t&re.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&re.Host||(r=eX(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;n=r,e=o}const i=Vn.lFrame=ON();return i.currentTNode=n,i.lView=e,!0}function Y1(e){const n=ON(),t=e[1];Vn.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ON(){const e=Vn.lFrame,n=null===e?null:e.child;return null===n?IN(e):n}function IN(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 5,535 bytes, line 1
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function PN(){const e=Vn.lFrame;return Vn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const RN=PN;function Q1(){const e=PN();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fs(){return Vn.lFrame.selectedIndex}function qu(e){Vn.lFrame.selectedIndex=e}function Hr(){const e=Vn.lFrame;return H1(e.tView,e.selectedIndex)}function ws(){Vn.lFrame.currentNamespace="svg"}function O_(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-t,s),a&&((e.contentHooks||(e.contentHooks=[])).push(t,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-t,l),c&&((e.viewHooks||(e.viewHooks=[])).push(t,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,c)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(t,u)}}function I_(e,n,t){NN(e,n,3,t)}function P_(e,n,t,i){(3&e[2])===t&&NN(e,n,t,i)}function J1(e,n){let t=e[2];(3&t)===n&&(t&=2047,t+=1,e[2]=t)}function NN(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[18]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[18]+=65536),(a<o||-1==o)&&(aX(e,t,n,l),e[18]=(4294901760&e[18])+l+2),l++}function aX(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===n){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class ag{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function R_(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{const o=r,s=t[++i];FN(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function LN(e){return 3===e||4===e||6===e}function FN(e){return 64===e.charCodeAt(0)}function N_(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||$N(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function $N(e,n,t,i,r){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function VN(e){return-1!==e}function Uf(e){return 32767&e}function Hf(e,n){let t=function hX(e){return e>>16}(e),i=n;for(;t>0;)i=i[15],t--;return i}let Z1=!0;function L_(e){const n=Z1;return Z1=e,n}let fX=0;const Ql={};function cg(e,n){const t=tx(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,ex(i.data,e),ex(n,null),ex(i.blueprint,null));const r=F_(e,n),o=e.injectorIndex;if(VN(r)){const s=Uf(r),a=Hf(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function ex(e,n){e.push(0,0,0,0,0,0,0,0,n)}function tx(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function F_(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=KN(r),null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function $_(e,n,t){!function pX(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Lc)&&(i=t[Lc]),null==i&&(i=t[Lc]=fX++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function HN(e,n,t){if(t&re.Optional||void 0!==e)return e;Lf()}function jN(e,n,t,i){if(t&re.Optional&&void 0===i&&(i=null),0==(t&(re.Self|re.Host))){const r=e[9],o=In(void 0);try{return r?r.get(n,i,t&re.Optional):qn(n,i,t&re.Optional)}finally{In(o)}}return HN(i,0,t)}function zN(e,n,t,i=re.Default,r){if(null!==e){if(1024&n[2]){const s=function _X(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=GN(o,s,t,i|re.Self,Ql);if(a!==Ql)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(t,Ql,i);if(u!==Ql)return u}l=KN(s),s=s[15]}o=l}return r}(e,n,t,i,Ql);if(s!==Ql)return s}const o=GN(e,n,t,i,Ql);if(o!==Ql)return o}return jN(n,t,i,r)}function GN(e,n,t,i,r){const o=function yX(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Lc)?e[Lc]:void 0;return"number"==typeof n?n>=0?255&n:vX:n}(t);if("function"==typeof o){if(!DN(n,e,i))return i&re.Host?HN(r,0,i):jN(n,t,i,r);try{const s=o(i);if(null!=s||i&re.Optional)return s;Lf()}finally{RN()}}else if("number"==typeof o){let s=null,a=tx(e,n),l=-1,c=i&re.Host?n[16][6]:null;for((-1===a||i&re.SkipSelf)&&(l=-1===a?F_(e,n):n[a+8],-1!==l&&WN(i,!1)?(s=n[1],a=Uf(l),n=Hf(l,n)):a=-1);-1!==a;){const u=n[1];if(qN(o,a,u.data)){const d=gX(a,n,t,s,i,c);if(d!==Ql)return d}l=n[a+8],-1!==l&&WN(i,n[1].data[a+8]===c)&&qN(o,a,n)?(s=u,a=Uf(l),n=Hf(l,n)):a=-1}}return r}function gX(e,n,t,i,r,o){const s=n[1],a=s.data[e+8],u=V_(a,s,t,null==i?T_(
1a)&&Z1:i!=s&&0!=(3&a.type),r&re.Host&&o===a);return null!==u?ug(n,s,u,a):Ql}function V_(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let y=i?a:a+u;y<f;y++){const b=s[y];if(y<l&&t===b||y>=l&&b.type===t)return y}if(r){const y=s[l];if(y&&pl(y)&&y.type===t)return l}return null}function ug(e,n,t,i){let r=e[t];const o=n.data;if(function lX(e){return e instanceof ag}(r)){const s=r;s.resolving&&function A1(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new je(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ki(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Fn(e)}(o[t]));const a=L_(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?In(s.injectImpl):null;DN(e,i,re.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function sX(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=_N(n);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,r),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,o))}(t,o[t],n)}finally{null!==l&&In(l),L_(a),s.resolving=!1,RN()}}return r}function qN(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function WN(e,n){return!(e&re.Self||e&re.Host&&n)}class jf{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return zN(this._tNode,this._lView,n,i,t)}}function vX(){return new jf(Io(),tt())}function dt(e){return hr(()=>{const n=e.prototype.constructor,t=n[Xr]||nx(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Xr]||nx(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function nx(e){return Rf(e)?()=>{const n=nx(bn(e));return n&&n()}:Zd(e)}function KN(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[6]:null}function qo(e){return function mX(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(LN(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(Io(),e)}const Gf="__parameters__";function Wf(e,n,t){return hr(()=>{const i=function ix(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Gf)?l[Gf]:Object.defineProperty(l,Gf,{value:[]})[Gf];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Pe{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Le({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const hg=Function;function Ea(e,n){void 0===n&&(n=e);for(let t=0;t<e.length;t++){let i=e[t];Array.isArray(i)?(n===e&&(n=e.slice(0,t)),Ea(i,n)):n!==e&&n.push(i)}return n}function Uc(e,n){e.forEach(t=>Array.isArray(t)?Uc(t,n):n(t))}function QN(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function B_(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function pg(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}function ka(e,n,t){let i=Kf(e,n);return i>=0?e[1|i]=t:(i=~i,function SX(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function rx(e,n){const t=Kf(e,n);if(t>=0)return e[1|t]}function Kf(e,n){return function ZN(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const mg={},sx="__NG_DI_FLAG__",H_="ngTempTokenPath",OX=/\n/gm,eL="__source";let gg;function Yf(e){const n=gg;return gg=e,n}function PX(e,n=re.Default){if(void 0===gg)throw new je(-203,!1);return null===gg?qn(e,void 0,n):gg.get(e,n&re.Optional?null:void 0,n)}function J(e,n=re.Default){return(function Mn(){return at}()||PX)(bn(e),n)}function vr(e,n=re.Default){return"number"!=typeof n&&(n=0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)),J(e,n)}function ax(e){const n=[];for(let t=0;t<e.length;t++){const i=bn(e[t]);if(Array.isArray(i)){if(0===i.length)throw new je(900,!1);let r,o=re.Default;for(let s=0;s<i.length;s++){const a=i[s],l=RX(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(J(r,o))}else n.push(J(i))}return n}function yg(e,n){return e[sx]=n,e.prototype[sx]=n,e}function RX(e){return e[sx]}const Cs=yg(Wf("Optional"),8),Ua=yg(Wf("SkipSelf"),4);var ta=(()=>((ta=ta||{})[ta.Important=1]="Important",ta[ta.DashCase=2]="DashCase",ta))();const hx=new Map;let XX=0;const px="__ngContext__";function Ss(e,n){er(n)?(e[px]=n[20],function eZ(e){hx.set(e[20],e)}(n)):e[px]=n}function gx(e,n){return undefined(e,n)}function wg(e){const n=e[3];return fl(n)?n[3]:n}function yx(e){return wL(e[13])}function vx(e){return wL(e[4])}function wL(e){for(;null!==e&&!fl(e);)e=e[4];return e}function Jf(e,n,t,i,r){if(null!=i){let o,s=!1;fl(i)?o=i:er(i)&&(s=!0,i=i[0]);const a=vo(i);0===e&&null!==t?null==r?TL(n,t,a):eh(n,t,a,r||null,!0):1===e&&null!==t?eh(n,t,a,r||null,!0):2===e?function Ex(e,n,t){const i=G_(e,n);i&&function CZ(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function EZ(e,n,t,i,r){const o=t[7];o!==vo(t)&&Jf(n,e,i,o,r);for(let a=10;a<t.length;a++){const l=t[a];Cg(l[1],l,e,n,i,o)}}(n,e,o,t,r)}}function bx(e,n,t){return e.createElement(n,t)}function SL(e,n){const t=e[9],i=t.indexOf(n),r=n[3];512&n[2]&&(n[2]&=-513,j1(r,-1)),t.splice(i,1)}function wx(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[17];null!==r&&r!==e&&SL(r,i),n>0&&(e[t-1][4]=i[4]);const o=B_(e,10+n);!function pZ(e,n){Cg(e,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function xL(e,n){if(!(128&n[2])){const t=n[11];t.destroyNode&&Cg(e,n,t,3,null,null),function yZ(e){let n=e[13];if(!n)return Cx(e[1],e);for(;n;){let t=null;if(er(n))t=n[13];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)er(n)&&Cx(n[1],n),n=n[3];null===n&&(n=e),er(n)&&Cx(n[1],n),t=n&&n[4]}n=t}}(n)}}function Cx(e,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function wZ(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof ag)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,n),function bZ(e,n){const t=e.cleanup,i=n[7];let r=-1;if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+1],a="function"==typeof s?s(n):vo(n[s]),l=i[r=t[o+2]],c=t[o+3];"boolean"==typeof c?a.removeEventListener(t[o],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=t[o+1]];
vendor: 5,544 bytes, line 1
1t[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();n[7]=null}}(e,n),1===n[1].type&&n[11].destroy();const t=n[17];if(null!==t&&fl(n[3])){t!==n[3]&&SL(t,n);const i=n[19];null!==i&&i.detachView(e)}!function tZ(e){hx.delete(e[20])}(n)}}function EL(e,n,t){return function kL(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===Oo.None||r===Oo.Emulated)return null}return Sa(i,t)}(e,n.parent,t)}function eh(e,n,t,i,r){e.insertBefore(n,t,i,r)}function TL(e,n,t){e.appendChild(n,t)}function AL(e,n,t,i,r){null!==i?eh(e,n,t,i,r):TL(e,n,t)}function G_(e,n){return e.parentNode(n)}function ML(e,n,t){return OL(e,n,t)}let K_,Mx,Y_,OL=function DL(e,n,t){return 40&e.type?Sa(e,t):null};function q_(e,n,t,i){const r=EL(e,i,n),o=n[11],a=ML(i.parent||n[6],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)AL(o,r,t[l],a,!1);else AL(o,r,t,a,!1)}function W_(e,n){if(null!==n){const t=n.type;if(3&t)return Sa(n,e);if(4&t)return xx(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return W_(e,i);{const r=e[n.index];return fl(r)?xx(-1,r):vo(r)}}if(32&t)return gx(n,e)()||vo(e[n.index]);{const i=PL(e,n);return null!==i?Array.isArray(i)?i[0]:W_(wg(e[16]),i):W_(e,n.next)}}return null}function PL(e,n){return null!==n?e[16][6].projection[n.projection]:null}function xx(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return W_(i,r)}return n[7]}function kx(e,n,t,i,r,o,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&Ss(vo(a),i),t.flags|=4),64!=(64&t.flags))if(8&l)kx(e,n,t.child,i,r,o,!1),Jf(n,e,r,a,o);else if(32&l){const c=gx(t,i);let u;for(;u=c();)Jf(n,e,r,u,o);Jf(n,e,r,a,o)}else 16&l?RL(e,n,i,t,r,o):Jf(n,e,r,a,o);t=s?t.projectionNext:t.next}}function Cg(e,n,t,i,r,o){kx(t,i,e.firstChild,n,r,o,!1)}function RL(e,n,t,i,r,o){const s=t[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Jf(n,e,r,l[c],o);else kx(e,n,l,s[3],r,o,!0)}function NL(e,n,t){e.setAttribute(n,"style",t)}function Tx(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function th(e){return function Ax(){if(void 0===K_&&(K_=null,tn.trustedTypes))try{K_=tn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return K_}()?.createHTML(e)||e}function FL(e){return function Dx(){if(void 0===Y_&&(Y_=null,tn.trustedTypes))try{Y_=tn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Y_}()?.createHTML(e)||e}class nh{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class OZ extends nh{getTypeName(){return"HTML"}}class IZ extends nh{getTypeName(){return"Style"}}class PZ extends nh{getTypeName(){return"Script"}}class RZ extends nh{getTypeName(){return"URL"}}class NZ extends nh{getTypeName(){return"ResourceURL"}}function Ta(e){return e instanceof nh?e.changingThisBreaksApplicationSecurity:e}function Jl(e,n){const t=function LZ(e){return e instanceof nh&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===n}class HZ{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(th(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class jZ{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const i=this.inertDocument.createElement("body");t.appendChild(i)}}getInertBodyElement(n){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=th(n),t;const i=this.inertDocument.createElement("body");return i.innerHTML=th(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const t=n.attributes;for(let r=t.length-1;0<r;r--){const s=t.item(r).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&n.removeAttribute(s)}let i=n.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const GZ=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Q_(e){return(e=String(e)).match(GZ)?e:"unsafe:"+e}function Hc(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Sg(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const UL=Hc("area,br,col,hr,img,wbr"),HL=Hc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jL=Hc("rp,rt"),Ox=Sg(UL,Sg(HL,Hc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Sg(jL,Hc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Sg(jL,HL)),Ix=Hc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zL=Sg(Ix,Hc("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Hc("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),qZ=Hc("script,style,template");class WZ{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Ox.hasOwnProperty(t))return this.sanitizedSomething=!0,!qZ.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!zL.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Ix[a]&&(l=Q_(l)),this.buf.push(" ",s,'="',GL(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=n.nodeName.toLowerCase();Ox.hasOwnProperty(t)&&!UL.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(GL(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const KZ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,YZ=/([^\#-~ |!])/g;function GL(e){return e.replace(/&/g,"&").replace(KZ,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(YZ,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let J_;function qL(e,n){let t=null;try{J_=J_||function BL(e){const n=new jZ(e);return function zZ(){try{return!!(new window.DOMParser).parseFromString(th(""),"text/html")}catch{return!1}}()?new HZ(n):n}(e);let i=n?String(n):"";t=J_.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=J_.getInertBodyElement(i)}while(i!==o);return th((new WZ).sanitizeChildren(Px(t)||t))}finally{if(t){const i=Px(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Px(e){return"content"in e&&function QZ(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Bi=(()=>((Bi=Bi||{})[Bi.NONE=0]="NONE",Bi[Bi.HTML=1]="HTML",Bi[Bi.STYLE=2]="STYLE",Bi[Bi.SCRIPT=3]="SCRIPT",Bi[Bi.URL=4]="URL",Bi[Bi.RESOURCE_URL=5]="RESOURCE_URL",Bi))();function WL(e){const n=xg();return n?FL(n.sanitize(Bi.HTML,e)||""):Jl(e,"HTML")?FL(Ta(e)):qL(function LL(){return void 0!==Mx?Mx:typeof document<"u"?document:void 0}(),Fn(e))}function Yi(e){const n=xg();return n?n.sanitize(Bi.URL,e)||"":Jl(e,"URL")?Ta(e):Q_(Fn(e))}function xg(){const e=tt();return e&&e[12]}const Rx=new Pe("ENVIRONMENT_INITIALIZER"),Nx=new Pe("INJECTOR",-1),YL=new Pe("INJECTOR_DEF_TYPES");class QL{get(n,t=mg){if(t===mg){const i=new Error(`NullInjectorError: No provider for ${sr(n)}!`);throw i.name="NullInjectorError",i}return t}}function iee(...e){return{\u0275providers:JL(0,e)}}function JL(e,...n){const t=[],i=new Set;let r;return Uc(n,o=>{const s=o;Lx(s,t,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&XL(r,t),t}function XL(e,n){for(let t=0;t<e.length;t++){const{providers:r}=e[t];Uc(r,o=>{n.push(o)})}}function Lx(e,n,t,i){if(!(e=bn(e)))return!1;let r=null,o=ee(e);const s=!o&&Ki(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=ee(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Lx(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Uc(o.imports,u=>{Lx(u,n,t,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&XL(c,n)}if(!a){const c=Zd(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:Qn},{provide:YL,useValue:r,multi:!0},{provide:Rx,useValue:()=>J(r),multi:!0})}const l=o.providers;null==l||a||Uc(l,u=>{n.push(u)})}}return r!==e&&void 0!==e.providers}const ree=Ei({provide:String,useValue:Ei});function Fx(e){return null!==e&&"object"==typeof e&&ree in e}function ih(e){return"function"==typeof e}
vendor: 7,937 bytes, line 1
1const $x=new Pe("Set Injector scope."),X_={},see={};let Vx;function Z_(){return void 0===Vx&&(Vx=new QL),Vx}class Ku{}class tF extends Ku{constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ux(n,s=>this.processProvider(s)),this.records.set(Nx,Xf(void 0,this)),r.has("environment")&&this.records.set(Ku,Xf(void 0,this));const o=this.records.get($x);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(YL.multi,Qn,re.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const t=Yf(this),i=In(void 0);try{return n()}finally{Yf(t),In(i)}}get(n,t=mg,i=re.Default){this.assertNotDestroyed();const r=Yf(this),o=In(void 0);try{if(!(i&re.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function dee(e){return"function"==typeof e||"object"==typeof e&&e instanceof Pe}(n)&&v(n);a=l&&this.injectableDefInScope(l)?Xf(Bx(n),X_):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&re.Self?Z_():this.parent).get(n,t=i&re.Optional&&t===mg?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[H_]=s[H_]||[]).unshift(sr(n)),r)throw s;return function NX(e,n,t,i){const r=e[H_];throw n[eL]&&r.unshift(n[eL]),e.message=function LX(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=sr(n);if(Array.isArray(n))r=n.map(sr).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):sr(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(OX,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[H_]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{In(o),Yf(r)}}resolveInjectorInitializers(){const n=Yf(this),t=In(void 0);try{const i=this.get(Rx.multi,Qn,re.Self);for(const r of i)r()}finally{Yf(n),In(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(sr(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new je(205,!1)}processProvider(n){let t=ih(n=bn(n))?n:bn(n&&n.provide);const i=function lee(e){return Fx(e)?Xf(void 0,e.useValue):Xf(nF(e),X_)}(n);if(ih(n)||!0!==n.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=Xf(void 0,X_,!0),r.factory=()=>ax(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===X_&&(t.value=see,t.value=t.factory()),"object"==typeof t.value&&t.value&&function uee(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=bn(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function Bx(e){const n=v(e),t=null!==n?n.factory:Zd(e);if(null!==t)return t;if(e instanceof Pe)throw new je(204,!1);if(e instanceof Function)return function aee(e){const n=e.length;if(n>0)throw pg(n,"?"),new je(204,!1);const t=function A(e){const n=e&&(e[W]||e[Me]);if(n){const t=function P(e){if(e.hasOwnProperty("name"))return e.name;const n=(""+e).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),n}return null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new je(204,!1)}function nF(e,n,t){let i;if(ih(e)){const r=bn(e);return Zd(r)||Bx(r)}if(Fx(e))i=()=>bn(e.useValue);else if(function eF(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ax(e.deps||[]));else if(function ZL(e){return!(!e||!e.useExisting)}(e))i=()=>J(bn(e.useExisting));else{const r=bn(e&&(e.useClass||e.provide));if(!function cee(e){return!!e.deps}(e))return Zd(r)||Bx(r);i=()=>new r(...ax(e.deps))}return i}function Xf(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function hee(e){return!!e.\u0275providers}function Ux(e,n){for(const t of e)Array.isArray(t)?Ux(t,n):hee(t)?Ux(t.\u0275providers,n):n(t)}class iF{}class mee{resolveComponentFactory(n){throw function pee(e){const n=Error(`No component factory found for ${sr(e)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=e,n}(n)}}let jc=(()=>{class e{}return e.NULL=new mee,e})();function gee(){return Zf(Io(),tt())}function Zf(e,n){return new Fe(Sa(e,n))}let Fe=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=gee,e})();function yee(e){return e instanceof Fe?e.nativeElement:e}class Eg{}let Aa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function vee(){const e=tt(),t=xa(Io().index,e);return(er(t)?t:e)[11]}(),e})(),_ee=(()=>{class e{}return e.\u0275prov=Le({token:e,providedIn:"root",factory:()=>null}),e})();class zc{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const oF=new zc("14.3.0"),Hx={};function zx(e){return e.ngOriginalError}class Xl{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&zx(n);for(;t&&zx(t);)t=zx(t);return t||null}}function Gc(e){return e instanceof Function?e():e}function aF(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}const lF="ng-template";function Dee(e,n,t){let i=0;for(;i<e.length;){let r=e[i++];if(t&&"class"===r){if(r=e[i],-1!==aF(r.toLowerCase(),n,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===n)return!0;return!1}}return!1}function cF(e){return 4===e.type&&e.value!==lF}function Oee(e,n,t){return n===(4!==e.type||t?e.value:lF)}function Iee(e,n,t){let i=4;const r=e.attrs||[],o=function Nee(e){for(let n=0;n<e.length;n++)if(LN(e[n]))return n;return e.length}(r);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!Oee(e,l,t)||""===l&&1===n.length){if(ml(i))return!1;s=!0}}else{const c=8&i?l:n[++a];if(8&i&&null!==e.attrs){if(!Dee(e.attrs,c,t)){if(ml(i))return!1;s=!0}continue}const d=Pee(8&i?"class":l,r,cF(e),t);if(-1===d){if(ml(i))return!1;s=!0;continue}if(""!==c){let f;f=d>o?"":r[d+1].toLowerCase();const y=8&i?f:null;if(y&&-1!==aF(y,c,0)||2&i&&c!==f){if(ml(i))return!1;s=!0}}}}else{if(!s&&!ml(i)&&!ml(l))return!1;if(s&&ml(l))continue;s=!1,i=l|1&i}}return ml(i)||s}function ml(e){return 0==(1&e)}function Pee(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const s=n[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function Lee(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function uF(e,n,t=!1){for(let i=0;i<n.length;i++)if(Iee(e,n[i],t))return!0;return!1}function Fee(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function dF(e,n){return e?":not("+n.trim()+")":n}function $ee(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);
1else""!==r&&!ml(s)&&(n+=dF(o,r),r=""),i=s,o=o||!ml(i);t++}return""!==r&&(n+=dF(o,r)),n}const jn={};function N(e){hF(Oi(),tt(),Fs()+e,!1)}function hF(e,n,t,i){if(!i)if(3==(3&n[2])){const o=e.preOrderCheckHooks;null!==o&&I_(n,o,t)}else{const o=e.preOrderHooks;null!==o&&P_(n,o,0,t)}qu(t)}function gF(e,n=null,t=null,i){const r=yF(e,n,t,i);return r.resolveInjectorInitializers(),r}function yF(e,n=null,t=null,i,r=new Set){const o=[t||Qn,iee(e)];return i=i||("object"==typeof e?void 0:sr(e)),new tF(o,n||Z_(),i||null,r)}let lr=(()=>{class e{static create(t,i){if(Array.isArray(t))return gF({name:""},i,t,"");{const r=t.name??"";return gF({name:r},t.parent,t.providers,r)}}}return e.THROW_IF_NOT_FOUND=mg,e.NULL=new QL,e.\u0275prov=Le({token:e,providedIn:"any",factory:()=>J(Nx)}),e.__NG_ELEMENT_ID__=-1,e})();function g(e,n=re.Default){const t=tt();return null===t?J(e,n):zN(Io(),t,bn(e),n)}function tb(){throw new Error("invalid")}function nb(e,n){return e<<17|n<<2}function gl(e){return e>>17&32767}function Yx(e){return 2|e}function qc(e){return(131068&e)>>2}function Qx(e,n){return-131069&e|n<<2}function Jx(e){return 1|e}function RF(e,n){const t=e.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const r=t[i],o=t[i+1];if(-1!==o){const s=e.data[o];K1(r),s.contentQueries(2,n[o],o)}}}function ob(e,n,t,i,r,o,s,a,l,c,u){const d=n.blueprint.slice();return d[0]=r,d[2]=76|i,(null!==u||e&&1024&e[2])&&(d[2]|=1024),CN(d),d[3]=d[15]=e,d[8]=t,d[10]=s||e&&e[10],d[11]=a||e&&e[11],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=o,d[20]=function ZX(){return XX++}(),d[21]=u,d[16]=2==n.type?e[16]:d,d}function np(e,n,t,i,r){let o=e.data[n];if(null===o)o=function oE(e,n,t,i,r){const o=EN(),s=z1(),l=e.data[n]=function bte(e,n,t,i,r,o){return{type:t,index:i,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(e,n,t,i,r),function JJ(){return Vn.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function og(){const e=Vn.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Yl(o,!0),o}function ip(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function sE(e,n,t){Y1(n);try{const i=e.viewQuery;null!==i&&pE(1,i,t);const r=e.template;null!==r&&NF(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&RF(e,n),e.staticViewQueries&&pE(2,e.viewQuery,t);const o=e.components;null!==o&&function yte(e,n){for(let t=0;t<n.length;t++)Lte(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,Q1()}}function sb(e,n,t,i){const r=n[2];if(128!=(128&r)){Y1(n);try{CN(n),function TN(e){return Vn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&NF(e,n,t,2,i);const s=3==(3&r);if(s){const c=e.preOrderCheckHooks;null!==c&&I_(n,c,null)}else{const c=e.preOrderHooks;null!==c&&P_(n,c,0,null),J1(n,0)}if(function Rte(e){for(let n=yx(e);null!==n;n=vx(n)){if(!n[2])continue;const t=n[9];for(let i=0;i<t.length;i++){const r=t[i],o=r[3];0==(512&r[2])&&j1(o,1),r[2]|=512}}}(n),function Pte(e){for(let n=yx(e);null!==n;n=vx(n))for(let t=10;t<n.length;t++){const i=n[t],r=i[1];D_(i)&&sb(r,i,r.template,i[8])}}(n),null!==e.contentQueries&&RF(e,n),s){const c=e.contentCheckHooks;null!==c&&I_(n,c)}else{const c=e.contentHooks;null!==c&&P_(n,c,1),J1(n,1)}!function mte(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)qu(~r);else{const o=r,s=t[++i],a=t[++i];XJ(s,o),a(2,n[o])}}}finally{qu(-1)}}(e,n);const a=e.components;null!==a&&function gte(e,n){for(let t=0;t<n.length;t++)Nte(e,n[t])}(n,a);const l=e.viewQuery;if(null!==l&&pE(2,l,i),s){const c=e.viewCheckHooks;null!==c&&I_(n,c)}else{const c=e.viewHooks;null!==c&&P_(n,c,2),J1(n,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[2]&=-41,512&n[2]&&(n[2]&=-513,j1(n[3],-1))}finally{Q1()}}}function NF(e,n,t,i,r){const o=Fs(),s=2&i;try{qu(-1),s&&n.length>22&&hF(e,n,22,!1),t(i,r)}finally{qu(o)}}function LF(e,n,t){if(F1(n)){const r=n.directiveEnd;for(let o=n.directiveStart;o<r;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,t[o],o)}}}function aE(e,n,t){!xN()||(function Ete(e,n,t,i){const r=t.directiveStart,o=t.directiveEnd;e.firstCreatePass||cg(t,n),Ss(i,n);const s=t.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=pl(l);c&&Dte(n,t,l);const u=ug(n,e,a,t);Ss(u,n),null!==s&&Ote(0,a-r,u,l,0,s),c&&(xa(t.index,n)[8]=u)}}(e,n,t,Sa(t,n)),128==(128&t.flags)&&function kte(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function ZJ(){return Vn.lFrame.currentDirectiveIndex}();try{qu(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];q1(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&jF(l,c)}}finally{qu(-1),q1(s)}}(e,n,t))}function lE(e,n,t=Sa){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(n,e):e[s];e[r++]=a}}}function FF(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=cE(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):n}function cE(e,n,t,i,r,o,s,a,l,c){const u=22+i,d=u+r,f=function vte(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:jn);return t}(u,d),y="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1}
1}function $F(e,n,t,i){const r=KF(n);null===t?r.push(i):(r.push(t),e.firstCreatePass&&YF(e).push(i,r.length-1))}function VF(e,n,t){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(t=null===t?{}:t).hasOwnProperty(i)?t[i].push(n,r):t[i]=[n,r]}return t}function BF(e,n){const i=n.directiveEnd,r=e.data,o=n.attrs,s=[];let a=null,l=null;for(let c=n.directiveStart;c<i;c++){const u=r[c],d=u.inputs,f=null===o||cF(n)?null:Ite(d,o);s.push(f),a=VF(d,c,a),l=VF(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(n.flags|=16),a.hasOwnProperty("style")&&(n.flags|=32)),n.initialInputs=s,n.inputs=a,n.outputs=l}function Ma(e,n,t,i,r,o,s,a){const l=Sa(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(mE(e,t,u,i,r),T_(n)&&UF(t,n.index)):3&n.type&&(i=function wte(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function UF(e,n){const t=xa(n,e);16&t[2]||(t[2]|=32)}function uE(e,n,t,i){let r=!1;if(xN()){const o=function Tte(e,n,t){const i=e.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];uF(t,s.selectors,!1)&&(r||(r=[]),$_(cg(t,n),e,s.type),pl(s)?(zF(e,t),r.unshift(s)):r.push(s))}return r}(e,n,t),s=null===i?null:{"":-1};if(null!==o){r=!0,GF(t,e.data.length,o.length);for(let u=0;u<o.length;u++){const d=o[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=ip(e,n,o.length,null);for(let u=0;u<o.length;u++){const d=o[u];t.mergedAttrs=N_(t.mergedAttrs,d.hostAttrs),qF(e,t,n,c,d),Mte(c,d,s),null!==d.contentQueries&&(t.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t.index),l=!0),c++}BF(e,t)}s&&function Ate(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new je(-301,!1);i.push(n[r],o)}}}(t,i,s)}return t.mergedAttrs=N_(t.mergedAttrs,t.attrs),r}function HF(e,n,t,i,r,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~n.index;(function xte(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function jF(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function zF(e,n){n.flags|=2,(e.components||(e.components=[])).push(n.index)}function Mte(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;pl(n)&&(t[""]=e)}}function GF(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function qF(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=Zd(r.type)),s=new ag(o,pl(r),g);e.blueprint[i]=s,t[i]=s,HF(e,n,0,i,ip(e,t,r.hostVars,jn),r)}function Dte(e,n,t){const i=Sa(n,e),r=FF(t),o=e[10],s=ab(e,ob(e,r,null,t.onPush?32:16,i,n,o,o.createRenderer(i,t),null,null,null));e[n.index]=s}function Zl(e,n,t,i,r,o){const s=Sa(e,n);!function dE(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Fn(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[11],s,o,e.value,t,i,r)}function Ote(e,n,t,i,r,o){const s=o[n];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],u=s[l++],d=s[l++];null!==a?i.setInput(t,d,c,u):t[u]=d}}}function Ite(e,n){let t=null,i=0;for(;i<n.length;){const r=n[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===t&&(t=[]),t.push(r,e[r],n[i+1])),i+=2}else i+=2;else i+=4}return t}function WF(e,n,t,i){return new Array(e,!0,!1,n,null,0,i,t,null,null)}function Nte(e,n){const t=xa(n,e);if(D_(t)){const i=t[1];48&t[2]?sb(i,t,i.template,t[8]):t[5]>0&&hE(t)}}function hE(e){for(let i=yx(e);null!==i;i=vx(i))for(let r=10;r<i.length;r++){const o=i[r];if(D_(o))if(512&o[2]){const s=o[1];sb(s,o,s.template,o[8])}else o[5]>0&&hE(o)}const t=e[1].components;if(null!==t)for(let i=0;i<t.length;i++){const r=xa(t[i],e);D_(r)&&r[5]>0&&hE(r)}}function Lte(e,n){const t=xa(n,e),i=t[1];(function Fte(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])})(i,t),sE(i,t,t[8])}function ab(e,n){return e[13]?e[14][4]=n:e[13]=n,e[14]=n,n}function fE(e){for(;e;){e[2]|=32;const n=wg(e);if(OJ(e)&&!n)return e;e=n}return null}function lb(e,n,t,i=!0){const r=n[10];r.begin&&r.begin();try{sb(e,n,e.template,t)}catch(s){throw i&&JF(n,s),s}finally{r.end&&r.end()}}function pE(e,n,t){K1(0),n(e,t)}function KF(e){return e[7]||(e[7]=[])}function YF(e){return e.cleanup||(e.cleanup=[])}function QF(e,n,t){return(null===e||pl(e))&&(t=function UJ(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(t[n.index])),t[11]}function JF(e,n){const t=e[9],i=t?t.get(Xl,null):null;i&&i.handleError(n)}function mE(e,n,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=n[s],c=e.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Wc(e,n,t){const i=M_(n,e);!function CL(e,n,t){e.setValue(n,t)}(e[11],i,t)}function cb(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=Nc(r,a):2==o&&(i=Nc(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function ub(e,n,t,i,r=!1){for(;null!==t;){const o=n[t.index];if(null!==o&&i.push(vo(o)),fl(o))for(let a=10;a<o.length;a++){const l=o[a],c=l[1].firstChild;null!==c&&ub(l[1],l,c,i)}const s=t.type;if(8&s)ub(e,n,t.child,i);else if(32&s){const a=gx(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=PL(n,t);if(Array.isArray(a))i.push(...a);else{const l=wg(n[16]);ub(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}class kg{constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const n=this._lView,t=n[1];return ub(t,n,t.firstChild,[])}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(fl(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(wx(n,i),B_(t,i))}this._attachedToViewContainer=!1}xL(this._lView[1],this._lView)}onDestroy(n){$F(this._lView[1],this._lView,null,n)}markForCheck(){fE(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){lb(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gZ(e,n){Cg(e,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new je(902,!1);this._appRef=n}}class $te extends kg{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;lb(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class gE extends jc{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Ki(n);return new Tg(t,this.ngModule)}}function XF(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class Bte{constructor(n,t){this.injector=n,this.parentInjector=t}
1get(n,t,i){const r=this.injector.get(n,Hx,i);return r!==Hx||t===Hx?r:this.parentInjector.get(n,t,i)}}class Tg extends iF{constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function Vee(e){return e.map($ee).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return XF(this.componentDef.inputs)}get outputs(){return XF(this.componentDef.outputs)}create(n,t,i,r){let o=(r=r||this.ngModule)instanceof Ku?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new Bte(n,o):n,a=s.get(Eg,null);if(null===a)throw new je(407,!1);const l=s.get(_ee,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function _te(e,n,t){return e.selectRootElement(n,t===Oo.ShadowDom)}(c,i,this.componentDef.encapsulation):bx(c,u,function Vte(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(u)),f=this.componentDef.onPush?288:272,y=cE(0,null,null,1,0,null,null,null,null,null),b=ob(null,y,null,f,null,null,a,c,l,s,null);let S,D;Y1(b);try{const R=function jte(e,n,t,i,r,o){const s=t[1];t[22]=e;const l=np(s,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(cb(l,c,!0),null!==e&&(R_(r,e,c),null!==l.classes&&Tx(r,e,l.classes),null!==l.styles&&NL(r,e,l.styles)));const u=i.createRenderer(e,n),d=ob(t,FF(n),null,n.onPush?32:16,t[22],l,i,u,o||null,null,null);return s.firstCreatePass&&($_(cg(l,t),s,n.type),zF(s,l),GF(l,t.length,1)),ab(t,d),t[22]=d}(d,this.componentDef,b,a,c);if(d)if(i)R_(c,d,["ng-version",oF.full]);else{const{attrs:G,classes:H}=function Bee(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!ml(r))break;r=o}i++}return{attrs:n,classes:t}}(this.componentDef.selectors[0]);G&&R_(c,d,G),H&&H.length>0&&Tx(c,d,H.join(" "))}if(D=H1(y,22),void 0!==t){const G=D.projection=[];for(let H=0;H<this.ngContentSelectors.length;H++){const te=t[H];G.push(null!=te?Array.from(te):null)}}S=function zte(e,n,t,i){const r=t[1],o=function Ste(e,n,t){const i=Io();e.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),qF(e,i,n,ip(e,n,1,null),t),BF(e,i));const r=ug(n,e,i.directiveStart,i);Ss(r,n);const o=Sa(i,n);return o&&Ss(o,n),r}(r,t,n);if(e[8]=t[8]=o,null!==i)for(const a of i)a(o,n);if(n.contentQueries){const a=Io();n.contentQueries(1,o,a.directiveStart)}const s=Io();return!r.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(qu(s.index),HF(t[1],s,0,s.directiveStart,s.directiveEnd,n),jF(n,o)),o}(R,this.componentDef,b,[Gte]),sE(y,b,null)}finally{Q1()}return new Hte(this.componentType,S,Zf(D,b),b,D)}}class Hte extends class fee{}{constructor(n,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new $te(r),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){const o=this._rootLView;mE(o[1],o,r,n,t),UF(o,this._tNode.index)}}get injector(){return new jf(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function Gte(){const e=Io();O_(tt()[1],e)}function de(e){let n=function ZF(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(pl(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new je(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=yE(e.inputs),s.declaredInputs=yE(e.declaredInputs),s.outputs=yE(e.outputs);const a=r.hostBindings;a&&Yte(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&Wte(e,l),c&&Kte(e,c),Jd(e.inputs,r.inputs),Jd(e.declaredInputs,r.declaredInputs),Jd(e.outputs,r.outputs),pl(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===de&&(t=!1)}}n=Object.getPrototypeOf(n)}!function qte(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=N_(r.hostAttrs,t=N_(t,r.hostAttrs))}}(i)}function yE(e){return e===ql?{}:e===Qn?[]:e}function Wte(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>
1{n(i,r),t(i,r)}:n}function Kte(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function Yte(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}let db=null;function rh(){if(!db){const e=tn.Symbol;if(e&&e.iterator)db=e.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<n.length;++t){const i=n[t];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(db=i)}}}return db}function Ag(e){return!!vE(e)&&(Array.isArray(e)||!(e instanceof Map)&&rh()in e)}function vE(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ec(e,n,t){return e[n]=t}function xs(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function oh(e,n,t,i){const r=xs(e,n,t);return xs(e,n+1,i)||r}function vt(e,n,t,i){const r=tt();return xs(r,Bf(),n)&&(Oi(),Zl(Hr(),r,e,n,t,i)),vt}function op(e,n,t,i){return xs(e,Bf(),t)?n+Fn(t)+i:jn}function sp(e,n,t,i,r,o){const a=oh(e,function Vc(){return Vn.lFrame.bindingIndex}(),t,r);return Bc(2),a?n+Fn(t)+i+Fn(r)+o:jn}function ye(e,n,t,i,r,o,s,a){const l=tt(),c=Oi(),u=e+22,d=c.firstCreatePass?function ine(e,n,t,i,r,o,s,a,l){const c=n.consts,u=np(n,e,4,s||null,Gu(c,a));uE(n,t,u,Gu(c,l)),O_(n,u);const d=u.tViews=cE(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,i,r,o,s):c.data[u];Yl(d,!1);const f=l[11].createComment("");q_(c,l,f,d),Ss(f,l),ab(l,l[u]=WF(f,l,f,d)),A_(d)&&aE(c,l,d),null!=s&&lE(l,d,a)}function Ro(e){return Vf(function QJ(){return Vn.lFrame.contextLView}(),22+e)}function j(e,n,t){const i=tt();return xs(i,Bf(),n)&&Ma(Oi(),Hr(),i,e,n,i[11],t,!1),j}function _E(e,n,t,i,r){const s=r?"class":"style";mE(e,t,n.inputs[s],s,i)}function T(e,n,t,i){const r=tt(),o=Oi(),s=22+e,a=r[11],l=r[s]=bx(a,n,function oX(){return Vn.lFrame.currentNamespace}()),c=o.firstCreatePass?function one(e,n,t,i,r,o,s){const a=n.consts,c=np(n,e,2,r,Gu(a,o));return uE(n,t,c,Gu(a,s)),null!==c.attrs&&cb(c,c.attrs,!1),null!==c.mergedAttrs&&cb(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,o,r,0,n,t,i):o.data[s];Yl(c,!0);const u=c.mergedAttrs;null!==u&&R_(a,l,u);const d=c.classes;null!==d&&Tx(a,l,d);const f=c.styles;return null!==f&&NL(a,l,f),64!=(64&c.flags)&&q_(o,r,l,c),0===function GJ(){return Vn.lFrame.elementDepthCount}()&&Ss(l,r),function qJ(){Vn.lFrame.elementDepthCount++}(),A_(c)&&(aE(o,r,c),LF(o,c,r)),null!==i&&lE(r,c),T}function M(){let e=Io();z1()?G1():(e=e.parent,Yl(e,!1));const n=e;!function WJ(){Vn.lFrame.elementDepthCount--}();const t=Oi();return t.firstCreatePass&&(O_(t,e),F1(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function uX(e){return 0!=(16&e.flags)}(n)&&_E(t,n,tt(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function dX(e){return 0!=(32&e.flags)}(n)&&_E(t,n,tt(),n.stylesWithoutHost,!1),M}function Ze(e,n,t,i){return T(e,n,t,i),M(),Ze}function Or(e,n,t){const i=tt(),r=Oi(),o=e+22,s=r.firstCreatePass?function sne(e,n,t,i,r){const o=n.consts,s=Gu(o,i),a=np(n,e,8,"ng-container",s);return null!==s&&cb(a,s,!0),uE(n,t,a,Gu(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Yl(s,!0);const a=i[o]=i[11].createComment("");return q_(r,i,a,s),Ss(a,i),A_(s)&&(aE(r,i,s),LF(r,s,i)),null!=t&&lE(i,s),Or}function Ir(){let e=Io();const n=Oi();return z1()?G1():(e=e.parent,Yl(e,!1)),n.firstCreatePass&&(O_(n,e),F1(e)&&n.queries.elementEnd(e)),Ir}function Sn(){return tt()}function Dg(e){return!!e&&"function"==typeof e.then}const bE=function c3(e){return!!e&&"function"==typeof e.subscribe};function _e(e,n,t,i){const r=tt(),o=Oi(),s=Io();return u3(o,r,r[11],s,e,n,0,i),_e}function fp(e,n){const t=Io(),i=tt(),r=Oi();return u3(r,i,QF(W1(r.data),t,i),t,e,n),fp}function u3(e,n,t,i,r,o,s,a){const l=A_(i),u=e.firstCreatePass&&YF(e),d=n[8],f=KF(n);let y=!0;if(3&i.type||a){const D=Sa(i,n),R=a?a(D):D,G=f.length,H=a?mt=>a(vo(mt[i.index])):i.index;let te=null;if(!a&&l&&(te=function ane(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=n[7],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==te)(te.__ngLastListenerFn__||te).__ngNextListenerFn__=o,te.__ngLastListenerFn__=o,y=!1;else{o=h3(i,n,d,o,!1);const mt=t.listen(R,r,o);f.push(o,mt),u&&u.push(r,H,G,G+1)}}else o=h3(i,n,d,o,!1);const b=i.outputs;let S;if(y&&null!==b&&(S=b[r])){const D=S.length;if(D)for(let R=0;R<D;R+=2){const $e=n[S[R]][S[R+1]].subscribe(o),gt=f.length;
vendor: 4,180 bytes, line 1
1f.push(o,$e),u&&u.push(r,i.index,gt,-(gt+1))}}}function d3(e,n,t,i){try{return!1!==t(i)}catch(r){return JF(e,r),!1}}function h3(e,n,t,i,r){return function o(s){if(s===Function)return i;fE(2&e.flags?xa(e.index,n):n);let l=d3(n,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=d3(n,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function ae(e=1){return function tX(e){return(Vn.lFrame.contextLView=function nX(e,n){for(;e>0;)n=n[15],e--;return n}(e,Vn.lFrame.contextLView))[8]}(e)}function lne(e,n){let t=null;const i=function Ree(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(0==(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?uF(e,o,!0):Fee(i,o))return r}else t=r}return t}function Nn(e){const n=tt()[16][6];if(!n.projection){const i=n.projection=pg(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){const s=e?lne(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Mt(e,n=0,t){const i=tt(),r=Oi(),o=np(r,22+e,16,null,t||null);null===o.projection&&(o.projection=n),G1(),64!=(64&o.flags)&&function xZ(e,n,t){RL(n[11],0,n,t,EL(e,t,n),ML(t.parent||n[6],t,n))}(r,i,o)}function pp(e,n,t){return wE(e,"",n,"",t),pp}function wE(e,n,t,i,r){const o=tt(),s=op(o,n,t,i);return s!==jn&&Ma(Oi(),Hr(),o,e,s,o[11],r,!1),wE}function w3(e,n,t,i,r){const o=e[t+1],s=null===n;let a=i?gl(o):qc(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];dne(e[a],n)&&(l=!0,e[a+1]=i?Jx(u):Yx(u)),a=i?gl(u):qc(u)}l&&(e[t+1]=i?Yx(o):Jx(o))}function dne(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Kf(e,n)>=0}const No={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function C3(e){return e.substring(No.key,No.keyEnd)}function S3(e,n){const t=No.textEnd;return t===n?-1:(n=No.keyEnd=function mne(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,No.key=n,t),mp(e,n,t))}function mp(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function jr(e,n,t){return yl(e,n,t,!1),jr}function ft(e,n){return yl(e,n,null,!0),ft}function nc(e,n){for(let t=function fne(e){return function E3(e){No.key=0,No.keyEnd=0,No.value=0,No.valueEnd=0,No.textEnd=e.length}(e),S3(e,mp(e,0,No.textEnd))}(n);t>=0;t=S3(n,t))ka(e,C3(n),!0)}function yl(e,n,t,i){const r=tt(),o=Oi(),s=Bc(2);o.firstUpdatePass&&M3(o,e,s,i),n!==jn&&xs(r,s,n)&&O3(o,o.data[Fs()],r,r[11],e,r[s+1]=function kne(e,n){return null==e||("string"==typeof n?e+=n:"object"==typeof e&&(e=sr(Ta(e)))),e}(n,t),i,s)}function A3(e,n){return n>=e.expandoStartIndex}function M3(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Fs()],s=A3(e,t);P3(o,i)&&null===n&&!s&&(n=!1),n=function bne(e,n,t,i){const r=W1(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Og(t=CE(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=CE(r,e,n,t,i),null===o){let l=function wne(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==qc(i))return e[gl(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=CE(null,e,n,l[1],i),l=Og(l,n.attrs,i),function Cne(e,n,t,i){e[gl(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function Sne(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Og(i,e[o].hostAttrs,t);return Og(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function cne(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=gl(s),l=qc(s);e[i]=t;let u,c=!1;if(Array.isArray(t)){const d=t;u=d[1],(null===u||Kf(d,u)>0)&&(c=!0)}else u=t;if(r)if(0!==l){const f=gl(e[a+1]);e[i+1]=nb(f,a),0!==f&&(e[f+1]=Qx(e[f+1],i)),e[a+1]=function ote(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=nb(a,0),0!==a&&(e[a+1]=Qx(e[a+1],i)),a=i;else e[i+1]=nb(l,0),0===a?a=i:e[l+1]=Qx(e[l+1],i),l=i;c&&(e[i+1]=Yx(e[i+1])),w3(e,u,i,!0),w3(e,u,i,!1),function une(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Kf(o,n)>=0&&(t[i+1]=Jx(t[i+1]))}(n,u,e,i,o),s=nb(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function CE(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;
vendor: 5,138 bytes, line 1
1for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=Og(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Og(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ka(e,s,!!t||n[++o]))}return void 0===e?null:e}function O3(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1];fb(function kF(e){return 1==(1&e)}(c)?I3(l,n,t,r,qc(c),s):void 0)||(fb(o)||function EF(e){return 2==(2&e)}(c)&&(o=I3(l,null,t,r,a,s)),function kZ(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:ta.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=ta.Important),e.setStyle(t,i,r,o))}}(i,s,M_(Fs(),t),r,o))}function I3(e,n,t,i,r,o){const s=null===n;let a;for(;r>0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[r+1];f===jn&&(f=d?Qn:void 0);let y=d?rx(f,i):u===i?f:void 0;if(c&&!fb(y)&&(y=rx(l,i)),fb(y)&&(a=y,s))return a;const b=e[r+1];r=s?gl(b):qc(b)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=rx(l,i))}return a}function fb(e){return void 0!==e}function P3(e,n){return 0!=(e.flags&(n?16:32))}function q(e,n=""){const t=tt(),i=Oi(),r=e+22,o=i.firstCreatePass?np(i,r,1,n,null):i.data[r],s=t[r]=function _x(e,n){return e.createText(n)}(t[11],n);q_(i,t,s,o),Yl(o,!1)}function ln(e){return Ti("",e,""),ln}function Ti(e,n,t){const i=tt(),r=op(i,e,n,t);return r!==jn&&Wc(i,Fs(),r),Ti}function Ig(e,n,t,i,r){const o=tt(),s=sp(o,e,n,t,i,r);return s!==jn&&Wc(o,Fs(),s),Ig}function SE(e,n,t){!function vl(e,n,t,i){const r=Oi(),o=Bc(2);r.firstUpdatePass&&M3(r,null,o,i);const s=tt();if(t!==jn&&xs(s,o,t)){const a=r.data[Fs()];if(P3(a,i)&&!A3(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Nc(l,t||"")),_E(r,a,s,t,i)}else!function Ene(e,n,t,i,r,o,s,a){r===jn&&(r=Qn);let l=0,c=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const f=l<r.length?r[l+1]:void 0,y=c<o.length?o[c+1]:void 0;let S,b=null;u===d?(l+=2,c+=2,f!==y&&(b=d,S=y)):null===d||null!==u&&u<d?(l+=2,b=u):(c+=2,b=d,S=y),null!==b&&O3(e,n,t,i,b,S,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}(r,a,s,s[11],s[o+1],s[o+1]=function xne(e,n,t){if(null==t||""===t)return Qn;const i=[],r=Ta(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}(ka,nc,op(tt(),e,n,t),!0)}function rs(e,n,t){const i=tt();return xs(i,Bf(),n)&&Ma(Oi(),Hr(),i,e,n,i[11],t,!0),rs}function gp(e,n,t){const i=tt();if(xs(i,Bf(),n)){const o=Oi(),s=Hr();Ma(o,s,i,e,n,QF(W1(o.data),s,i),t,!0)}return gp}const vp="en-US";let X3=vp;function kE(e,n,t,i,r){if(e=bn(e),Array.isArray(e))for(let o=0;o<e.length;o++)kE(e[o],n,t,i,r);else{const o=Oi(),s=tt();let a=ih(e)?e:bn(e.provide),l=nF(e);const c=Io(),u=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(ih(e)||!e.multi){const y=new ag(l,r,g),b=AE(a,n,r?u:u+f,d);-1===b?($_(cg(c,s),o,a),TE(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(y),s.push(y)):(t[b]=y,s[b]=y)}else{const y=AE(a,n,u+f,d),b=AE(a,n,u,u+f),S=y>=0&&t[y],D=b>=0&&t[b];if(r&&!D||!r&&!S){$_(cg(c,s),o,a);const R=function jie(e,n,t,i,r){const o=new ag(e,t,g);return o.multi=[],o.index=n,o.componentProviders=0,S$(o,r,i&&!t),o}(r?Hie:Uie,t.length,r,i,l);!r&&D&&(t[b].providerFactory=R),TE(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(R),s.push(R)}else TE(o,e,y>-1?y:b,S$(t[r?b:y],l,!r&&i));!r&&i&&D&&t[b].componentProviders++}}}function TE(e,n,t,i){const r=ih(n),o=function oee(e){return!!e.useClass}(n);if(r||o){const l=(o?bn(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function S$(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function AE(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Uie(e,n,t,i){return ME(this.multi,[])}function Hie(e,n,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=ug(t,t[1],this.providerFactory.index,i);o=a.slice(0,s),ME(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],ME(r,o);return o}function ME(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function xt(e,n=[]){return t=>{t.providersResolver=(i,r)=>function Bie(e,n,t){const i=Oi();if(i.firstCreatePass){const r=pl(e);kE(t,i.data,i.blueprint,r,!0),kE(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}class ah{}class x${}class E$ extends ah{constructor(n,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gE(this);const i=Zr(n);this._bootstrapComponents=Gc(i.bootstrap),this._r3Injector=yF(n,t,[{provide:ah,useValue:this},{provide:jc,useValue:this.componentFactoryResolver}],sr(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class DE extends x${constructor(n){super(),this.moduleType=n}create(n){return new E$(this.moduleType,n)}}class Gie extends ah{constructor(n,t,i){super(),this.componentFactoryResolver=new gE(this),this.instance=null;const r=new tF([...n,{provide:ah,useValue:this},{provide:jc,useValue:this.componentFactoryResolver}],t||Z_(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function vb(e,n,t=null){return new Gie(e,n,t).injector}let qie=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const i=JL(0,t.type),r=i.length>0?vb([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,r)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Le({token:e,providedIn:"environment",factory:()=>new e(J(Ku))}),e})();function k$(e){e.getStandaloneInjector=n=>n.get(qie).getOrCreateStandaloneInjector(e)}function Ju(e,n,t,i){return function R$(e,n,t,i,r,o){const s=n+t;return xs(e,s,r)?ec(e,s+1,o?i.call(o,r):i(r)):$g(e,s+1)}(tt(),Ls(),e,n,t,i)}function _p(e,n,t,i,r){return N$(tt(),Ls(),e,n,t,i,r)}function P$(e,n,t,i,r,o,s){return function F$(e,n,t,i,r,o,s,a,l){const c=n+t;return function Ha(e,n,t,i,r,o){const s=oh(e,n,t,i);return oh(e,n+2,r,o)||s}(e,c,r,o,s,a)?ec(e,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):$g(e,c+4)}(tt(),Ls(),e,n,t,i,r,o,s)}function $g(e,n){const t=e[n];return t===jn?void 0:t}function N$(e,n,t,i,r,o,s){const a=n+t;return oh(e,a,r,o)?ec(e,a+2,s?i.call(s,r,o):i(r,o)):$g(e,a+2)}function _b(e,n){const t=Oi();let i;const r=e+22;t.firstCreatePass?(i=function lre(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Zd(i.type)),s=In(g);try{const a=L_(!1),l=o();return L_(a),function rne(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,tt(),r,l),l}finally{In(s)}}function IE(e,n,t,i){const r=e+22,o=tt(),s=Vf(o,r);return function Vg(e,n){return e[1].data[n].pure}(o,r)?N$(o,Ls(),n,s.transform,t,i,s):s.transform(t,i)}function PE(e){return n=>{setTimeout(e,void 0,n)}}const et=class hre extends nt{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=PE(o),r&&(r=PE(r)),s&&(s=PE(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Jt&&n.add(a),a}};function fre(){return this._results[rh()]()}class ja{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=rh(),i=ja.prototype;i[t]||(i[t]=fre)}get changes(){return this._changes||(this._changes=new et)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const i=this;i.dirty=!1;const r=Ea(n);(this._changesDetected=!function wX(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(i._results,r,t))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ii=(()=>{class e{}return e.__NG_ELEMENT_ID__=gre,e})();const pre=Ii,mre=class extends pre{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(n,t){const i=this._declarationTContainer.tViews,r=ob(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,t||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),sE(i,r,n),new kg(r)}};function gre(){return bb(Io(),tt())}function bb(e,n){return 4&e.type?new mre(n,e,Zf(e,n)):null}let Ui=(()=>{class e{}return e.__NG_ELEMENT_ID__=yre,e})();function yre(){return H$(Io(),tt())}const vre=Ui,B$=class extends vre{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}
1get element(){return Zf(this._hostTNode,this._hostLView)}get injector(){return new jf(this._hostTNode,this._hostLView)}get parentInjector(){const n=F_(this._hostTNode,this._hostLView);if(VN(n)){const t=Hf(n,this._hostLView),i=Uf(n);return new jf(t[1].data[i+8],t)}return new jf(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=U$(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedView(t||{},o);return this.insert(s,r),s}createComponent(n,t,i,r,o){const s=n&&!function fg(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const d=t||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?n:new Tg(Ki(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(Ku,null);f&&(o=f)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(n,t){const i=n._lView,r=i[1];if(function zJ(e){return fl(e[3])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=i[3],f=new B$(d,d[6],d[3]);f.detach(f.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;!function vZ(e,n,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=n),i<o-10?(n[4]=t[r],QN(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[17];null!==s&&t!==s&&function _Z(e,n){const t=e[9];n[16]!==n[3][3][16]&&(e[2]=!0),null===t?e[9]=[n]:t.push(n)}(s,n);const a=n[19];null!==a&&a.insertView(e),n[2]|=64}(r,i,s,o);const a=xx(o,s),l=i[11],c=G_(l,s[7]);return null!==c&&function mZ(e,n,t,i,r,o){i[0]=r,i[6]=n,Cg(e,i,t,1,r,o)}(r,s[6],l,i,c,a),n.attachToViewContainerRef(),QN(RE(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=U$(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=wx(this._lContainer,t);i&&(B_(RE(this._lContainer),t),xL(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=wx(this._lContainer,t);return i&&null!=B_(RE(this._lContainer),t)?new kg(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function U$(e){return e[8]}function RE(e){return e[8]||(e[8]=[])}function H$(e,n){let t;const i=n[e.index];if(fl(i))t=i;else{let r;if(8&e.type)r=vo(i);else{const o=n[11];r=o.createComment("");const s=Sa(e,n);eh(o,G_(o,s),r,function SZ(e,n){return e.nextSibling(n)}(o,s),!1)}n[e.index]=t=WF(i,n,r,e),ab(n,t)}return new B$(t,e,n)}class NE{constructor(n){this.queryList=n,this.matches=null}clone(){return new NE(this.queryList)}setDirty(){this.queryList.setDirty()}}class LE{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new LE(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==W$(n,t).matches&&this.queries[t].setDirty()}}class j${constructor(n,t,i=null){this.predicate=n,this.flags=t,this.read=i}}class FE{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new FE(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class $E{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new $E(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,wre(t,o)),this.matchTNodeWithReadOption(n,t,V_(t,n,o,!1,!1))}else i===Ii?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,V_(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Fe||r===Ui||r===Ii&&4&t.type)this.addMatch(t.index,-2);else{const o=V_(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function wre(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function Sre(e,n,t,i){return-1===t?function Cre(e,n){return 11&e.type?Zf(e,n):4&e.type?bb(e,n):null}(n,e):-2===t?function xre(e,n,t){return t===Fe?Zf(n,e):t===Ii?bb(n,e):t===Ui?H$(n,e):void 0}(e,n,i):ug(e,e[1],t,n)}function z$(e,n,t,i){const r=n[19].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:Sre(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function VE(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=z$(e,n,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=10;d<u.length;d++){const f=u[d];f[17]===f[3]&&VE(f[1],f,c,i)}if(null!==u[9]){const d=u[9];for(let f=0;f<d.length;f++){const y=d[f];VE(y[1],y,c,i)}}}}}return i}function Ve(e){const n=tt(),t=Oi(),i=MN();K1(i+1);const r=W$(t,i);if(e.dirty&&function jJ(e){return 4==(4&e[2])}(n)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?VE(t,n,i,[]):z$(t,n,r,i);e.reset(o,yee),e.notifyOnChanges()}return!0}return!1}function Xt(e,n,t){const i=Oi();i.firstCreatePass&&(q$(i,new j$(e,n,t),-1),2==(2&n)&&(i.staticViewQueries=!0)),G$(i,tt(),n)}function Wt(e,n,t,i){const r=Oi();if(r.firstCreatePass){const o=Io();q$(r,new j$(n,t,i),o.index),function kre(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),2==(2&t)&&(r.staticContentQueries=!0)}G$(r,tt(),t)}function Be(){return function Ere(e,n){return e[19].queries[n].queryList}(tt(),MN())}function G$(e,n,t){const i=new ja(4==(4&t));$F(e,n,i,i.destroy),null===n[19]&&(n[19]=new LE),n[19].queries.push(new NE(i))}function q$(e,n,t){null===e.queries&&(e.queries=new FE),e.queries.track(new $E(n,t))}function W$(e,n){return e.queries.getByIndex(n)}function BE(e,n){return bb(e,n)}function Cb(...e){}const Sb=new Pe("Application Initializer");let xb=(()=>{class e{constructor(t){this.appInits=t,this.resolve=Cb,this.reject=Cb,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(Dg(o))t.push(o);else if(bE(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(J(Sb,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ug=new Pe("AppId",{providedIn:"root",factory:function h8(){return`${GE()}${GE()}${GE()}`}});function GE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const f8=new Pe("Platform Initializer"),Us=new Pe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qE=new Pe("appBootstrapListener"),fr=new Pe("AnimationModuleType");let qre=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ic=new Pe("LocaleId",{providedIn:"root",factory:()=>vr(ic,re.Optional|re.SkipSelf)||function Wre(){return typeof $localize<"u"&&$localize.locale||vp}()});class Yre{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let WE=(()=>{class e{compileModuleSync(t){return new DE(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Gc(Zr(t).declarations).reduce((s,a)=>{const l=Ki(a);return l&&s.push(new Tg(l)),s},[]);return new Yre(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xre=(()=>Promise.resolve(0))();function KE(e){typeof Zone>
1"u"?Xre.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Lt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new et(!1),this.onMicrotaskEmpty=new et(!1),this.onStable=new et(!1),this.onError=new et(!1),typeof Zone>"u")throw new je(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function Zre(){let e=tn.requestAnimationFrame,n=tn.cancelAnimationFrame;if(typeof Zone<"u"&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function noe(e){const n=()=>{!function toe(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(tn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,QE(e),e.isCheckStableRunning=!0,YE(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),QE(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{try{return g8(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),y8(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return g8(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),y8(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,QE(e),YE(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Lt.isInAngularZone())throw new je(909,!1)}static assertNotInAngularZone(){if(Lt.isInAngularZone())throw new je(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,eoe,Cb,Cb);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const eoe={};function YE(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function QE(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function g8(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function y8(e){e._nesting--,YE(e)}class ioe{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new et,this.onMicrotaskEmpty=new et,this.onStable=new et,this.onError=new et}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}const v8=new Pe(""),Eb=new Pe("");let ZE,JE=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ZE||(function roe(e){ZE=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>
1{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Lt.assertNotInAngularZone(),KE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())KE(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}}return e.\u0275fac=function(t){return new(t||e)(J(Lt),J(XE),J(Eb))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),XE=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return ZE?.findTestabilityInTree(this,t,i)??null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Xu=null;const _8=new Pe("AllowMultipleToken"),ek=new Pe("PlatformDestroyListeners");class b8{constructor(n,t){this.name=n,this.token=t}}function C8(e,n,t=[]){const i=`Platform: ${n}`,r=new Pe(i);return(o=[])=>{let s=tk();if(!s||s.injector.get(_8,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function aoe(e){if(Xu&&!Xu.get(_8,!1))throw new je(400,!1);Xu=e;const n=e.get(x8);(function w8(e){const n=e.get(f8,null);n&&n.forEach(t=>t())})(e)}(function S8(e=[],n){return lr.create({name:n,providers:[{provide:$x,useValue:"platform"},{provide:ek,useValue:new Set([()=>Xu=null])},...e]})}(a,i))}return function coe(e){const n=tk();if(!n)throw new je(401,!1);return n}()}}function tk(){return Xu?.get(x8)??null}let x8=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function k8(e,n){let t;return t="noop"===e?new ioe:("zone.js"===e?void 0:e)||new Lt(n),t}(i?.ngZone,function E8(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Lt,useValue:r}];return r.run(()=>{const s=lr.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Xl,null);if(!l)throw new je(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{kb(this._modules,a),c.unsubscribe()})}),function T8(e,n,t){try{const i=t();return Dg(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(xb);
1return c.runInitializers(),c.donePromise.then(()=>(function Z3(e){Do(e,"Expected localeId to be defined"),"string"==typeof e&&(X3=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(ic,vp)||vp),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,i=[]){const r=A8({},i);return function ooe(e,n,t){const i=new DE(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(lh);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new je(403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new je(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(ek,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(J(lr))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function A8(e,n){return Array.isArray(n)?n.reduce(A8,e):{...e,...n}}let lh=(()=>{class e{constructor(t,i,r){this._zone=t,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new wi(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new wi(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Lt.assertNotInAngularZone(),KE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Lt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Wi(o,s.pipe(w_()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof iF;if(!this._injector.get(xb).done)throw!r&&function Kl(e){const n=Ki(e)||Go(e)||Br(e);return null!==n&&n.standalone}(t),new je(405,false);let s;s=r?t:this._injector.get(jc).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function soe(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ah),c=s.create(lr.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(v8,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),kb(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new je(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;kb(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(qE,[]).concat(this._bootstrapListeners).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>kb(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new je(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)(J(Lt),J(Ku),J(Xl))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function kb(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let D8=!0,O8=!1,Zt=(()=>{class e{}return e.__NG_ELEMENT_ID__=foe,e})();function foe(e){return function poe(e,n,t){if(T_(e)&&!t){const i=xa(e.index,n);return new kg(i,i)}return 47&e.type?new kg(n[16],n):null}(Io(),tt(),16==(16&e))}class N8{constructor(){}supports(n){return Ag(n)}create(n){return new boe(n)}}const _oe=(e,n)=>n;class boe{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||_oe}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<F8(i,r,o)?t:i,a=F8(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,u=l-r;if(c!=u){for(let f=0;f<c;f++){const y=f<o.length?o[f]:o[f]=0,b=y+f;u<=b&&b<c&&(o[f]=y+1)}o[s.previousIndex]=u-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!Ag(n))throw new je(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.
vendor: 4,169 bytes, line 1
1item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function ene(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[rh()]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new woe(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new L8),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new L8),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class woe{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}
1class Coe{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class L8{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new Coe,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function F8(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}class $8{constructor(){}supports(n){return n instanceof Map||vE(n)}create(){return new Soe}}class Soe{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||vE(n)))throw new je(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new xoe(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class xoe{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function V8(){return new rc([new N8])}let rc=(()=>{class e{constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||V8()),deps:[[e,new Ua,new Cs]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new je(901,!1)}}return e.\u0275prov=Le({token:e,providedIn:"root",factory:V8}),e})();function B8(){return new uh([new $8])}let uh=(()=>{class e{constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||B8()),deps:[[e,new Ua,new Cs]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new je(901,!1)}}return e.\u0275prov=Le({token:e,providedIn:"root",factory:B8}),e})();const Toe=C8(null,"core",[]);let Aoe=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(J(lh))},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();let Mb=null;function oc(){return Mb}const jt=new Pe("DocumentToken");let sk=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:function(){return function Ioe(){return J(U8)}()},providedIn:"platform"}),e})();const Poe=new Pe("Location Initialized");let U8=(()=>{class e extends sk{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oc().getBaseHref(this._doc)}onPopState(t){const i=oc().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=oc().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,i,r){H8()?this._history.pushState(t,i,r):this.location.hash=r}replaceState(t,i,r){H8()?this._history.replaceState(t,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:function(){return function Roe(){return new U8(J(jt))}()},providedIn:"platform"}),e})();function H8(){return!!window.history.pushState}function ak(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function j8(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Qc(e){return e&&"?"!==e[0]?"?"+e:e}let dh=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:function(){return vr(G8)},providedIn:"root"}),e})();
1const z8=new Pe("appBaseHref");let G8=(()=>{class e extends dh{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??vr(jt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ak(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Qc(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Qc(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Qc(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(J(sk),J(z8,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Noe=(()=>{class e extends dh{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=ak(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+Qc(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+Qc(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(J(sk),J(z8,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),ks=(()=>{class e{constructor(t){this._subject=new et,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._baseHref=j8(q8(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Qc(i))}normalize(t){return e.stripTrailingSlash(function Foe(e,n){return e&&n.startsWith(e)?n.substring(e.length):n}(this._baseHref,q8(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}}return e.normalizeQueryParams=Qc,e.joinWithSlash=ak,e.stripTrailingSlash=j8,e.\u0275fac=function(t){return new(t||e)(J(dh))},e.\u0275prov=Le({token:e,factory:function(){return function Loe(){return new ks(J(dh))}()},providedIn:"root"}),e})();function q8(e){return e.replace(/\/index.html$/,"")}
1function tV(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}let Hs=(()=>{class e{constructor(t,i,r,o){this._iterableDiffers=t,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Ag(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),t.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),t.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${sr(i.item)}`);this._toggleClass(i.item,!0)}),t.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(i=>this._toggleClass(i,!0)):Object.keys(t).forEach(i=>this._toggleClass(i,!!t[i])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(i=>this._toggleClass(i,!1)):Object.keys(t).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(t,i){(t=t.trim())&&t.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return e.\u0275fac=function(t){return new(t||e)(g(rc),g(uh),g(Fe),g(Aa))},e.\u0275dir=K({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class wse{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let wl=(()=>{class e{constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new wse(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),rV(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{rV(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}}return e.\u0275fac=function(t){return new(t||e)(g(Ui),g(Ii),g(rc))},e.\u0275dir=K({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function rV(e,n){e.context.$implicit=n.item}let tr=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Sse,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){oV("ngIfThen",t),this._thenTemplateRef=t,this._thenView
1Ref=null,this._updateView()}set ngIfElse(t){oV("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}}return e.\u0275fac=function(t){return new(t||e)(g(Ui),g(Ii))},e.\u0275dir=K({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Sse{constructor(){this.$implicit=null,this.ngIf=null}}function oV(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${sr(n)}'.`)}class yk{constructor(n,t){this._viewContainerRef=n,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let sc=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const i=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(t)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),Zu=(()=>{class e{constructor(t,i,r){this.ngSwitch=r,r._addCase(),this._view=new yk(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(g(Ui),g(Ii),g(sc,9))},e.\u0275dir=K({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),vk=(()=>{class e{constructor(t,i,r){r._addDefault(new yk(t,i))}}return e.\u0275fac=function(t){return new(t||e)(g(Ui),g(Ii),g(sc,9))},e.\u0275dir=K({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})();let cV=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function Cl(e,n){return new je(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=bs({name:"slice",type:e,pure:!1,standalone:!0}),e})(),wo=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();const uV="browser";function ed(e){return e===uV}function Cp(e){return"server"===e}let Wse=(()=>{class e{}return e.\u0275prov=Le({token:e,providedIn:"root",factory:()=>new Kse(J(jt),window)}),e})();class Kse{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function Yse(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);
1t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=dV(this.window.history)||dV(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function dV(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class hV{}class xk extends class Cae extends class Ooe{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function Doe(e){Mb||(Mb=e)}(new xk)}onAndCancel(n,t,i){return n.addEventListener(t,i,!1),()=>{n.removeEventListener(t,i,!1)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function Sae(){return Gg=Gg||document.querySelector("base"),Gg?Gg.getAttribute("href"):null}();return null==t?null:function xae(e){Hb=Hb||document.createElement("a"),Hb.setAttribute("href",e);const n=Hb.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Gg=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return tV(document.cookie,n)}}let Hb,Gg=null;const yV=new Pe("TRANSITION_ID"),kae=[{provide:Sb,useFactory:function Eae(e,n,t){return()=>{t.get(xb).donePromise.then(()=>{const i=oc(),r=n.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[yV,jt,lr],multi:!0}];let Aae=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const jb=new Pe("EventManagerPlugins");let zb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>r.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let o=0;o<r.length;o++){const s=r[o];if(s.supports(t))return this._eventNameToPlugin.set(t,s),s}throw new Error(`No event manager plugin found for event ${t}`)}}return e.\u0275fac=function(t){return new(t||e)(J(jb),J(Lt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class vV{constructor(n){this._doc=n}addGlobalEventListener(n,t,i){const r=oc().getGlobalEventTarget(this._doc,n);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}let _V=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(t){const i=new Set;t.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),qg=(()=>{class e extends _V{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,i,r){t.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(t){const i=[];this._addStylesToHost(this._stylesSet,t,i),this._hostNodes.set(t,i)}removeHost(t){const i=this._hostNodes.get(t);i&&i.forEach(bV),this._hostNodes.delete(t)}
1onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(bV))}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();function bV(e){oc().remove(e)}const Ek={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},kk=/%COMP%/g;function Gb(e,n,t){for(let i=0;i<n.length;i++){let r=n[i];Array.isArray(r)?Gb(e,r,t):(r=r.replace(kk,e),t.push(r))}return t}function SV(e){return n=>{if("__ngUnwrap__"===n)return e;!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}let qb=(()=>{class e{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Tk(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case Oo.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Rae(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case Oo.ShadowDom:return new Nae(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=Gb(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(J(zb),J(qg),J(Ug))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class Tk{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?document.createElementNS(Ek[t]||t,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,t){(EV(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(EV(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Ek[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Ek[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(ta.DashCase|ta.Important)?n.style.setProperty(t,i,r&ta.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&ta.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){n[t]=i}setValue(n,t){n.nodeValue=t}listen(n,t,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,t,SV(i)):this.eventManager.addEventListener(n,t,SV(i))}}function EV(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Rae extends Tk{constructor(n,t,i,r){super(n),this.component=i;const o=Gb(r+"-"+i.id,i.styles,[]);t.addStyles(o),this.contentAttr=function Oae(e){return"_ngcontent-%COMP%".replace(kk,e)}(r+"-"+i.id),this.hostAttr=function Iae(e){return"_nghost-%COMP%".replace(kk,e)}(r+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}class Nae extends Tk{constructor(n,t,i,r){super(n),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Gb(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}}let Lae=(()=>{class e extends vV{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const kV=["alt","control","meta","shift"],Fae={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$ae={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Vae=(()=>{class e extends vV{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>oc().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),kV.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=Fae[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),kV.forEach(s=>{s!==r&&(0,$ae[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const AV=[{provide:Us,useValue:uV},{provide:f8,useValue:function Bae(){xk.makeCurrent()},multi:!0},{provide:jt,useFactory:function Hae(){return function DZ(e){Mx=e}(document),document},deps:[]}
1],jae=C8(Toe,"browser",AV),MV=new Pe(""),DV=[{provide:Eb,useClass:class Tae{addToWindow(n){tn.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},tn.getAllAngularTestabilities=()=>n.getAllTestabilities(),tn.getAllAngularRootElements=()=>n.getAllRootElements(),tn.frameworkStabilizers||(tn.frameworkStabilizers=[]),tn.frameworkStabilizers.push(i=>{const r=tn.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?oc().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:v8,useClass:JE,deps:[Lt,XE,Eb]},{provide:JE,useClass:JE,deps:[Lt,XE,Eb]}],OV=[{provide:$x,useValue:"root"},{provide:Xl,useFactory:function Uae(){return new Xl},deps:[]},{provide:jb,useClass:Lae,multi:!0,deps:[jt,Lt,Us]},{provide:jb,useClass:Vae,multi:!0,deps:[jt]},{provide:qb,useClass:qb,deps:[zb,qg,Ug]},{provide:Eg,useExisting:qb},{provide:_V,useExisting:qg},{provide:qg,useClass:qg,deps:[jt]},{provide:zb,useClass:zb,deps:[jb,Lt]},{provide:hV,useClass:Aae,deps:[]},[]];let Mk=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ug,useValue:t.appId},{provide:yV,useExisting:Ug},kae]}}}return e.\u0275fac=function(t){return new(t||e)(J(MV,12))},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[...OV,...DV],imports:[wo,Aoe]}),e})(),IV=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:function(t){let i=null;return i=t?new t:function Gae(){return new IV(J(jt))}(),i},providedIn:"root"}),e})();typeof window<"u"&&window;let Sp=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:function(t){let i=null;return i=t?new(t||e):J(NV),i},providedIn:"root"}),e})(),NV=(()=>{class e extends Sp{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Bi.NONE:return i;case Bi.HTML:return Jl(i,"HTML")?Ta(i):qL(this._doc,String(i)).toString();case Bi.STYLE:return Jl(i,"Style")?Ta(i):i;case Bi.SCRIPT:if(Jl(i,"Script"))return Ta(i);throw new Error("unsafe value used in a script context");case Bi.URL:return Jl(i,"URL")?Ta(i):Q_(String(i));case Bi.RESOURCE_URL:if(Jl(i,"ResourceURL"))return Ta(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function FZ(e){return new OZ(e)}(t)}bypassSecurityTrustStyle(t){return function $Z(e){return new IZ(e)}(t)}bypassSecurityTrustScript(t){return function VZ(e){return new PZ(e)}(t)}bypassSecurityTrustUrl(t){return function BZ(e){return new RZ(e)}(t)}bypassSecurityTrustResourceUrl(t){return function UZ(e){return new NZ(e)}(t)}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:function(t){let i=null;return i=t?new t:function Xae(e){return new NV(e.get(jt))}(J(lr)),i},providedIn:"root"}),e})();function Bt(...e){return gr(e,Gl(e))}function nd(e,n){return zt(n)?Qr(e,n,1):Qr(e,1)}function ni(e,n){return Xi((t,i)=>{let r=0;t.subscribe(yi(i,o=>e.call(n,o,r++)&&i.next(o)))})}class LV{}class FV{}class Xc{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(t=>{let i=n[t];const r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Xc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}
vendor: 8,036 bytes, line 1
1copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Xc;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Xc?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Zae{encodeKey(n){return $V(n)}encodeValue(n){return $V(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const tle=/%(\d[a-f0-9])/gi,nle={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $V(e){return encodeURIComponent(e).replace(tle,(n,t)=>nle[t]??n)}function Wb(e){return`${e}`}class id{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Zae,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ele(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(Wb):[Wb(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new id({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Wb(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Wb(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class ile{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function VV(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function BV(e){return typeof Blob<"u"&&e instanceof Blob}function UV(e){return typeof FormData<"u"&&e instanceof FormData}class Wg{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function rle(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Xc),this.context||(this.context=new ile),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new id,this.urlWithParams=t}serializeBody(){return null===this.body?null:VV(this.body)||BV(this.body)||UV(this.body)||function ole(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof id?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||UV(this.body)?null:BV(this.body)?this.body.type||null:VV(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof id?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,c=n.params||this.params;const u=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((d,f)=>d.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Wg(t,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Co=(()=>((Co=Co||{})[Co.Sent=0]="Sent",Co[Co.UploadProgress=1]="UploadProgress",Co[Co.ResponseHeader=2]="ResponseHeader",Co[Co.DownloadProgress=3]="DownloadProgress",Co[Co.Response=4]="Response",Co[Co.User=5]="User",Co))();class Ok{constructor(n,t=200,i="OK"){this.headers=n.headers||new Xc,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Ik extends Ok{constructor(n={}){super(n),this.type=Co.ResponseHeader}clone(n={}){return new Ik({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Kb extends Ok{constructor(n={}){super(n),this.type=Co.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Kb({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class HV extends Ok{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Pk(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Kg=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Wg)o=t;else{let l,c;l=r.headers instanceof Xc?r.headers:new Xc(r.headers),r.params&&(c=r.params instanceof id?r.params:new id({fromObject:r.params})),o=new Wg(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}
vendor: 4,327 bytes, line 1
1const s=Bt(o).pipe(nd(l=>this.handler.handle(l)));if(t instanceof Wg||"events"===r.observe)return s;const a=s.pipe(ni(l=>l instanceof Kb));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(an(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(an(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(an(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(an(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new id).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Pk(r,i))}post(t,i,r={}){return this.request("POST",t,Pk(r,i))}put(t,i,r={}){return this.request("PUT",t,Pk(r,i))}}return e.\u0275fac=function(t){return new(t||e)(J(LV))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class jV{constructor(n,t){this.next=n,this.interceptor=t}handle(n){return this.interceptor.intercept(n,this.next)}}const zV=new Pe("HTTP_INTERCEPTORS");let sle=(()=>{class e{intercept(t,i){return i.handle(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const ale=/^\)\]\}',?\n/;let GV=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new wi(i=>{const r=this.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((y,b)=>r.setRequestHeader(y,b.join(","))),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const y=t.detectContentTypeHeader();null!==y&&r.setRequestHeader("Content-Type",y)}if(t.responseType){const y=t.responseType.toLowerCase();r.responseType="json"!==y?y:"text"}const o=t.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const y=r.statusText||"OK",b=new Xc(r.getAllResponseHeaders()),S=function lle(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new Ik({headers:b,status:r.status,statusText:y,url:S}),s},l=()=>{let{headers:y,status:b,statusText:S,url:D}=a(),R=null;204!==b&&(R=typeof r.response>"u"?r.responseText:r.response),0===b&&(b=R?200:0);let G=b>=200&&b<300;if("json"===t.responseType&&"string"==typeof R){const H=R;R=R.replace(ale,"");try{R=""!==R?JSON.parse(R):null}catch(te){R=H,G&&(G=!1,R={error:te,text:R})}}G?(i.next(new Kb({body:R,headers:y,status:b,statusText:S,url:D||void 0})),i.complete()):i.error(new HV({error:R,headers:y,status:b,statusText:S,url:D||void 0}))},c=y=>{const{url:b}=a(),S=new HV({error:y,status:r.status||0,statusText:r.statusText||"Unknown Error",url:b||void 0});i.error(S)};let u=!1;const d=y=>{u||(i.next(a()),u=!0);let b={type:Co.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),"text"===t.responseType&&!!r.responseText&&(b.partialText=r.responseText),i.next(b)},f=y=>{let b={type:Co.UploadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),i.next(b)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),t.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",f)),r.send(o),i.next({type:Co.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),t.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",f)),r.readyState!==r.DONE&&r.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(J(hV))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();
1const Rk=new Pe("XSRF_COOKIE_NAME"),Nk=new Pe("XSRF_HEADER_NAME");class qV{}let cle=(()=>{class e{constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=tV(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(J(jt),J(Us),J(Rk))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),Lk=(()=>{class e{constructor(t,i){this.tokenService=t,this.headerName=i}intercept(t,i){const r=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(t);const o=this.tokenService.getToken();return null!==o&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,o)})),i.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(J(qV),J(Nk))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),ule=(()=>{class e{constructor(t,i){this.backend=t,this.injector=i,this.chain=null}handle(t){if(null===this.chain){const i=this.injector.get(zV,[]);this.chain=i.reduceRight((r,o)=>new jV(r,o),this.backend)}return this.chain.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(J(FV),J(lr))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),dle=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Lk,useClass:sle}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Rk,useValue:t.cookieName}:[],t.headerName?{provide:Nk,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Lk,{provide:zV,useExisting:Lk,multi:!0},{provide:qV,useClass:cle},{provide:Rk,useValue:"XSRF-TOKEN"},{provide:Nk,useValue:"X-XSRF-TOKEN"}]}),e})(),hle=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Kg,{provide:LV,useClass:ule},GV,{provide:FV,useExisting:GV}],imports:[dle.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();class WV{}const Zc="*";function to(e,n){return{type:7,name:e,definitions:n,options:{}}}function Pi(e,n=null){return{type:4,styles:n,timings:e}}function KV(e,n=null){return{type:2,steps:e,options:n}}function Ut(e){return{type:6,styles:e,offset:null}}function ii(e,n,t){return{type:0,name:e,styles:n,options:t}}function Ci(e,n,t=null){return{type:1,expr:e,animation:n,options:t}}function YV(e=null){return{type:9,options:e}}function QV(e,n,t=null){return{type:11,selector:e,animation:n,options:t}}function JV(e){Promise.resolve().then(e)}class Yg{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){JV(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class XV{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?JV(()=>
1this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function ZV(e){return new je(3e3,!1)}function Kle(){return typeof window<"u"&&typeof window.document<"u"}function $k(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function rd(e){switch(e.length){case 0:return new Yg;case 1:return e[0];default:return new XV(e)}}function e4(e,n,t,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),f=d==l,y=f&&c||new Map;u.forEach((b,S)=>{let D=S,R=b;if("offset"!==S)switch(D=n.normalizePropertyName(D,s),R){case"!":R=r.get(S);break;case Zc:R=o.get(S);break;default:R=n.normalizeStyleValue(S,D,R,s)}y.set(D,R)}),f||a.push(y),c=y,l=d}),s.length)throw function Lle(e){return new je(3502,!1)}();return a}function Vk(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Bk(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Bk(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Bk(t,"destroy",e)))}}function Bk(e,n,t){const o=Uk(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Uk(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Da(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function t4(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}let Hk=(e,n)=>!1,n4=(e,n,t)=>[],i4=null;function jk(e){const n=e.parentNode||e.host;return n===i4?null:n}($k()||typeof Element<"u")&&(Kle()?(i4=(()=>document.documentElement)(),Hk=(e,n)=>{for(;n;){if(n===e)return!0;n=jk(n)}return!1}):Hk=(e,n)=>e.contains(n),n4=(e,n,t)=>{if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]});let fh=null,r4=!1;const o4=Hk,s4=n4;let a4=(()=>{class e{validateStyleProperty(t){return function Qle(e){fh||(fh=function Jle(){return typeof document<"u"?document.body:null}()||{},r4=!!fh.style&&"WebkitAppearance"in fh.style);let n=!0;return fh.style&&!function Yle(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in fh.style,!n&&r4&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in fh.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return o4(t,i)}getParentElement(t){return jk(t)}query(t,i,r){return s4(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Yg(r,o)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),zk=(()=>{class e{}return e.NOOP=new a4,e})();const Gk="ng-enter",Yb="ng-leave",Qb="ng-trigger",Jb=".ng-trigger",c4="ng-animating",qk=".ng-animating";function eu(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Wk(parseFloat(n[1]),n[2])}function Wk(e,n){return"s"===n?1e3*e:e}function Xb(e,n,t){return e.hasOwnProperty("duration")?e:function ece(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(ZV()),{duration:0,delay:0,easing:""};r=Wk(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Wk(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function ple(){return new je(3100,!1)}()),a=!0),o<0&&(n.push(function mle(){return new je(3101,!1)}()),a=!0),a&&n.splice(l,0,ZV())}return{duration:r,delay:o,easing:s}}(e,n,t)}function Qg(e,n={}){return Object.keys(e).forEach(t=>{n[t]=e[t]}),n}function u4(e){const n=new Map;return Object.keys(e).forEach(t=>{n.set(t,e[t])}),n}function od(e,n=new Map,t){if(t)for(let[i,r]of t)n.set(i,r);for(let[i,r]of e)n.set(i,r);return n}function h4(e,n,t){return t?n+":"+t+";":""}function f4(e){let n="";for(let t=0;t<e.style.length;t++){const i=e.style.item(t);n+=h4(0,i,e.style.getPropertyValue(i))}for(const t in e.style)e.style.hasOwnProperty(t)&&!t.startsWith("_")&&(n+=h4(0,rce(t),e.style[t]));e.setAttribute("style",n)}function ac(e,n,t){e.style&&(n.forEach((i,r)=>{const o=Yk(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i}),$k()&&f4(e))}function ph(e,n){e.style&&(n.forEach((t,i)=>{const r=Yk(i);e.style[r]=""}),$k()&&f4(e))}function Jg(e){return Array.isArray(e)?1==e.length?e[0]:KV(e):e}const Kk=new RegExp("{{\\s*(.+?)\\s*}}","g");function p4(e){let n=[];if("string"==typeof e){let t;for(;t=Kk.exec(e);)n.push(t[1]);Kk.lastIndex=0}return n}function Xg(e,n,t){const i=e.toString(),r=i.replace(Kk,(o,s)=>{let a=n[s];return null==a&&(t.push(function yle(e){return new je(3003,!1)}()),a=""),a.toString()});return r==i?e:r}function Zb(e){const n=[];let t=e.next();for(;!t.done;)n.push(t.value),t=e.next();return n}const ice=/-+([a-z0-9])/g;function Yk(e){return e.replace(ice,(...n)=>n[1].toUpperCase())}function rce(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Oa(e,n,t){switch(n.type){case 7:return e.visitTrigger(n,t);case 0:return e.visitState(n,t);case 1:return e.visitTransition(n,t);case 2:return e.visitSequence(n,t);case 3:return e.visitGroup(n,t);case 4:return e.visitAnimate(n,t);case 5:return e.visitKeyframes(n,t);case 6:return e.visitStyle(n,t);case 8:return e.visitReference(n,t);case 9:return e.visitAnimateChild(n,t);case 10:return e.visitAnimateRef(n,t);case 11:return e.visitQuery(n,t);case 12:return e.visitStagger(n,t);default:throw function vle(e){return new je(3004,!1)}()}}function m4(e,n){return window.getComputedStyle(e)[n]}function uce(e,n){const t=[];
vendor: 52,068 bytes, line 1
1return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function dce(e,n,t){if(":"==e[0]){const l=function hce(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function Ile(e){return new je(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function Ole(e){return new je(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(g4(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&n.push(g4(s,r))}(i,t,n)):t.push(e),t}const iw=new Set(["true","1"]),rw=new Set(["false","0"]);function g4(e,n){const t=iw.has(e)||rw.has(e),i=iw.has(n)||rw.has(n);return(r,o)=>{let s="*"==e||e==r,a="*"==n||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?iw.has(e):rw.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?iw.has(n):rw.has(n)),s&&a}}const fce=new RegExp("s*:selfs*,?","g");function Qk(e,n,t,i){return new pce(e).build(n,t,i)}class pce{constructor(n){this._driver=n}build(n,t,i){const r=new yce(t);return this._resetContextStyleTimingState(r),Oa(this,Jg(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function ble(){return new je(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function wle(){return new je(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{p4(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Zb(o.values()),t.errors.push(function Cle(e,n){return new je(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=Oa(this,Jg(n.animation),t);return{type:1,matchers:uce(n.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:mh(n.options)}}visitSequence(n,t){return{type:2,steps:n.steps.map(i=>Oa(this,i,t)),options:mh(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=Oa(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:mh(n.options)}}visitAnimate(n,t){const i=function _ce(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Jk(Xb(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Jk(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Xb(t,n);return Jk(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:Ut({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Ut(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Zc?i.push(a):t.errors.push(new je(3002,!1)):i.push(u4(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(t.errors.push(function xle(e,n,t,i,r){return new je(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),t.options&&function nce(e,n,t){const i=n.params||{},r=p4(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function gle(e){return new je(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Ele(){return new je(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=n.steps.map(R=>{const G=this._makeStyleAst(R,t);let H=null!=G.offset?G.offset:function vce(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(G.styles),te=0;return null!=H&&(o++,te=G.offset=H),l=l||te<0||te>1,a=a||te<c,c=te,s.push(te),G});l&&t.errors.push(function kle(){return new je(3012,!1)}()),a&&t.errors.push(function Tle(){return new je(3200,!1)}());const d=n.steps.length;let f=0;o>0&&o<d?t.errors.push(function Ale(){return new je(3202,!1)}()):0==o&&(f=1/(d-1));const y=d-1,b=t.currentTime,S=t.currentAnimateTimings,D=S.duration;return u.forEach((R,G)=>{const H=f>0?G==y?1:f*G:s[G],te=H*D;t.currentTime=b+S.delay+te,S.duration=te,this._validateStyleAst(R,t),R.offset=H,i.styles.push(R)}),i}visitReference(n,t){return{type:8,animation:Oa(this,Jg(n.animation),t),options:mh(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:9,options:mh(n.options)}}visitAnimateRef(n,t){return{type:10,animation:this.visitReference(n.animation,t),options:mh(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function mce(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(fce,"")),e=e.replace(/@\*/g,Jb).replace(/@\w+/g,t=>Jb+"-"+t.slice(1)).replace(/:animating/g,qk),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Da(t.collectedStyles,t.currentQuerySelector,new Map);const a=Oa(this,Jg(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:mh(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function Mle(){return new je(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Xb(n.timings,t.errors,!0);return{type:12,animation:Oa(this,Jg(n.animation),t),timings:i,options:null}}}class yce{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function mh(e){return e?(e=Qg(e)).params&&(e.params=function gce(e){return e?Qg(e):null}(e.params)):e={},e}function Jk(e,n,t){return{duration:e,delay:n,easing:t}}function Xk(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class ow{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Cce=new RegExp(":enter","g"),xce=new RegExp(":leave","g");function Zk(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new Ece).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class Ece{buildKeyframes(n,t,i,r,o,s,a,l,c,u=[]){c=c||new ow;const d=new eT(n,t,c,r,o,u,[]);d.options=l;const f=l.delay?eu(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),Oa(this,i,d);const y=d.timelines.filter(b=>b.containsAnimation());if(y.length&&a.size){let b;for(let S=y.length-1;S>=0;S--){const D=y[S];if(D.element===t){b=D;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([a],null,d.errors,l)}return y.length?y.map(b=>b.buildKeyframes()):[Xk(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:eu(Xg(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?eu(i.duration):null,a=null!=i.delay?eu(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),Oa(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=sw);const s=eu(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Oa(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?eu(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),Oa(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Xb(t.params?Xg(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?eu(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=sw);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(n.options,c);o&&d.delayNextStep(o),c===t.element&&(l=d.currentTimeline),Oa(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=t.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Oa(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const sw={};class eT{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=sw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new aw(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=eu(i.duration)),null!=i.delay&&(r.delay=eu(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Xg(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new eT(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=sw,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new kce(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(Cce,"."+this._enterClassName)).replace(xce,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function Dle(e){return new je(3014,!1)}()),a}}class aw{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new aw(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Zc),this._currentKeyframe.set(t,Zc);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function Tce(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)t.set(o,Zc)}else od(r,t)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Xg(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zc),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=od(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?n.add(d):u===Zc&&t.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=n.size?Zb(n.values()):[],s=t.size?Zb(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Xk(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class kce extends aw{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=od(n[0]);l.set("offset",0),o.push(l);const c=od(n[0]);c.set("offset",_4(a)),o.push(c);const u=n.length-1;for(let d=1;d<=u;d++){let f=od(n[d]);const y=f.get("offset");f.set("offset",_4((t+y*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return Xk(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function _4(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}class tT{}const Ace=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Mce extends tT{normalizePropertyName(n,t){return Yk(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(Ace.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function _le(e,n){return new je(3005,!1)}())}return s+o}}function b4(e,n,t,i,r,o,s,a,l,c,u,d,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:f}}const nT={};class w4{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function Dce(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,u){const d=[],f=this.ast.options&&this.ast.options.params||nT,b=this.buildStyles(i,a&&a.params||nT,d),S=l&&l.params||nT,D=this.buildStyles(r,S,d),R=new Set,G=new Map,H=new Map,te="void"===r,mt={params:Oce(S,f),delay:this.ast.options?.delay},$e=u?[]:Zk(n,t,this.ast.animation,o,s,b,D,mt,c,d);let gt=0;if($e.forEach(Tn=>{gt=Math.max(Tn.duration+Tn.delay,gt)}),d.length)return b4(t,this._triggerName,i,r,te,b,D,[],[],G,H,gt,d);$e.forEach(Tn=>{const gn=Tn.element,on=Da(G,gn,new Set);Tn.preStyleProps.forEach(xi=>on.add(xi));const Ht=Da(H,gn,new Set);Tn.postStyleProps.forEach(xi=>Ht.add(xi)),gn!==t&&R.add(gn)});const nn=Zb(R.values());return b4(t,this._triggerName,i,r,te,b,D,$e,nn,G,H,gt)}}function Oce(e,n){const t=Qg(n);for(const i in e)e.hasOwnProperty(i)&&null!=e[i]&&(t[i]=e[i]);return t}class Ice{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=Qg(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Xg(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(l,s)})}),i}}class Rce{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new Ice(r.style,r.options&&r.options.params||{},i))}),C4(this.states,"true","1"),C4(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new w4(n,r,this.states))}),this.fallbackTransition=function Nce(e,n,t){return new w4(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function C4(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const Lce=new ow;class Fce{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=Qk(this._driver,t,i,[]);if(i.length)throw function Fle(e){return new je(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=e4(0,this._normalizer,0,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=Zk(this._driver,t,o,Gk,Yb,new Map,new Map,i,Lce,r),s.forEach(u=>{const d=Da(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(r.push(function $le(){return new je(3300,!1)}()),s=[]),r.length)throw function Vle(e){return new je(3504,!1)}();a.forEach((u,d)=>{u.forEach((f,y)=>{u.set(y,this._driver.computeStyle(d,y,Zc))})});const c=rd(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function Ble(e){return new je(3301,!1)}();return t}listen(n,t,i,r){const o=Uk(t,"","","");return Vk(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const S4="ng-animate-queued",iT="ng-animate-disabled",Hce=[],x4={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jce={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qa="__ng_removed";class rT{constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function Wce(e){return e??null}(i?n.value:n),i){const o=Qg(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Zg="void",oT=new rT(Zg);class zce{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Wa(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function Ule(e,n){return new je(3302,!1)}();if(null==i||0==i.length)throw function Hle(e){return new je(3303,!1)}();if(!function Kce(e){return"start"==e||"done"==e}(i))throw function jle(e,n){return new je(3400,!1)}();const o=Da(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Da(this._engine.statesByElement,n,new Map);return a.has(t)||(Wa(n,Qb),Wa(n,Qb+"-"+t),a.set(t,oT)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function zle(e){return new je(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new sT(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(Wa(n,Qb),Wa(n,Qb+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new rT(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=oT),c.value!==Zg&&l.value===c.value){if(!function Jce(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const S=[],D=o.matchStyles(l.value,l.params,S),R=o.matchStyles(c.value,c.params,S);S.length?this._engine.reportError(S):this._engine.afterFlush(()=>{ph(n,D),ac(n,R)})}return}const f=Da(this._engine.playersByElement,n,[]);f.forEach(S=>{S.namespaceId==this.id&&S.triggerName==t&&S.queued&&S.destroy()});let y=o.matchTransition(l.value,c.value,n,c.params),b=!1;if(!y){if(!r)return;y=o.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:y,fromState:l,toState:c,player:s,isFallbackTransition:b}),b||(Wa(n,S4),s.onStart(()=>{xp(n,S4)})),s.onDone(()=>{let S=this.players.indexOf(s);S>=0&&this.players.splice(S,1);const D=this._engine.playersByElement.get(n);if(D){let R=D.indexOf(s);R>=0&&D.splice(R,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,Jb,!0);i.forEach(r=>{if(r[qa])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(n,c,Zg,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&rd(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||oT,u=new rT(Zg),d=new sT(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[qa];(!o||o===x4)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){Wa(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Uk(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Vk(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let t=!1;return this._elementListeners.has(n)&&(t=!0),t=!!this._queue.find(i=>i.element===n)||t,t}}class Gce{constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new zce(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(lw(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!lw(t))return;const o=t[qa];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Wa(n,iT)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),xp(n,iT))}removeNode(n,t,i,r){if(lw(t)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r),i){const s=this.namespacesByHostElement.get(t);s&&s.id!==n&&s.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[qa]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return lw(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Jb,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,qk,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return rd(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[qa];if(t&&t.setForRemoval){if(n[qa]=x4,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(iT)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Wa(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?rd(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Gle(e){return new je(3402,!1)}()}_flushAnimations(n,t){const i=new ow,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(Et=>{u.add(Et);const St=this.driver.query(Et,".ng-animate-queued",!0);for(let pe=0;pe<St.length;pe++)u.add(St[pe])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),y=T4(f,this.collectedEnterElements),b=new Map;let S=0;y.forEach((Et,St)=>{const pe=Gk+S++;b.set(St,pe),Et.forEach(Ct=>Wa(Ct,pe))});const D=[],R=new Set,G=new Set;for(let Et=0;Et<this.collectedLeaveElements.length;Et++){const St=this.collectedLeaveElements[Et],pe=St[qa];pe&&pe.setForRemoval&&(D.push(St),R.add(St),pe.hasAnimation?this.driver.query(St,".ng-star-inserted",!0).forEach(Ct=>R.add(Ct)):G.add(St))}const H=new Map,te=T4(f,Array.from(R));te.forEach((Et,St)=>{const pe=Yb+S++;H.set(St,pe),Et.forEach(Ct=>Wa(Ct,pe))}),n.push(()=>{y.forEach((Et,St)=>{const pe=b.get(St);Et.forEach(Ct=>xp(Ct,pe))}),te.forEach((Et,St)=>{const pe=H.get(St);Et.forEach(Ct=>xp(Ct,pe))}),D.forEach(Et=>{this.processLeaveNode(Et)})});const mt=[],$e=[];for(let Et=this._namespaceList.length-1;Et>=0;Et--)this._namespaceList[Et].drainQueuedTransitions(t).forEach(pe=>{const Ct=pe.player,en=pe.element;if(mt.push(Ct),this.collectedEnterElements.length){const ur=en[qa];if(ur&&ur.setForMove){if(ur.previousTriggersValues&&ur.previousTriggersValues.has(pe.triggerName)){const Ws=ur.previousTriggersValues.get(pe.triggerName),Cr=this.statesByElement.get(pe.element);if(Cr&&Cr.has(pe.triggerName)){const _a=Cr.get(pe.triggerName);_a.value=Ws,Cr.set(pe.triggerName,_a)}}return void Ct.destroy()}}const di=!d||!this.driver.containsElement(d,en),wr=H.get(en),lo=b.get(en),Qi=this._buildInstruction(pe,i,lo,wr,di);if(Qi.errors&&Qi.errors.length)return void $e.push(Qi);if(di)return Ct.onStart(()=>ph(en,Qi.fromStyles)),Ct.onDestroy(()=>ac(en,Qi.toStyles)),void r.push(Ct);if(pe.isFallbackTransition)return Ct.onStart(()=>ph(en,Qi.fromStyles)),Ct.onDestroy(()=>ac(en,Qi.toStyles)),void r.push(Ct);const ya=[];Qi.timelines.forEach(ur=>{ur.stretchStartingKeyframe=!0,this.disabledNodes.has(ur.element)||ya.push(ur)}),Qi.timelines=ya,i.append(en,Qi.timelines),s.push({instruction:Qi,player:Ct,element:en}),Qi.queriedElements.forEach(ur=>Da(a,ur,[]).push(Ct)),Qi.preStyleProps.forEach((ur,Ws)=>{if(ur.size){let Cr=l.get(Ws);Cr||l.set(Ws,Cr=new Set),ur.forEach((_a,Fa)=>Cr.add(Fa))}}),Qi.postStyleProps.forEach((ur,Ws)=>{let Cr=c.get(Ws);Cr||c.set(Ws,Cr=new Set),ur.forEach((_a,Fa)=>Cr.add(Fa))})});if($e.length){const Et=[];$e.forEach(St=>{Et.push(function qle(e,n){return new je(3505,!1)}())}),mt.forEach(St=>St.destroy()),this.reportError(Et)}const gt=new Map,nn=new Map;s.forEach(Et=>{const St=Et.element;i.has(St)&&(nn.set(St,St),this._beforeAnimationBuild(Et.player.namespaceId,Et.instruction,gt))}),r.forEach(Et=>{const St=Et.element;this._getPreviousPlayers(St,!1,Et.namespaceId,Et.triggerName,null).forEach(Ct=>{Da(gt,St,[]).push(Ct),Ct.destroy()})});const Tn=D.filter(Et=>M4(Et,l,c)),gn=new Map;k4(gn,this.driver,G,c,Zc).forEach(Et=>{M4(Et,l,c)&&Tn.push(Et)});const Ht=new Map;y.forEach((Et,St)=>{k4(Ht,this.driver,new Set(Et),l,"!")}),Tn.forEach(Et=>{const St=gn.get(Et),pe=Ht.get(Et);gn.set(Et,new Map([...Array.from(St?.entries()??[]),...Array.from(pe?.entries()??[])]))});const xi=[],Nr=[],br={};s.forEach(Et=>{const{element:St,player:pe,instruction:Ct}=Et;if(i.has(St)){if(u.has(St))return pe.onDestroy(()=>ac(St,Ct.toStyles)),pe.disabled=!0,pe.overrideTotalTime(Ct.totalTime),void r.push(pe);let en=br;if(nn.size>1){let wr=St;const lo=[];for(;wr=wr.parentNode;){const Qi=nn.get(wr);if(Qi){en=Qi;break}lo.push(wr)}lo.forEach(Qi=>nn.set(Qi,en))}const di=this._buildAnimation(pe.namespaceId,Ct,gt,o,Ht,gn);if(pe.setRealPlayer(di),en===br)xi.push(pe);else{const wr=this.playersByElement.get(en);wr&&wr.length&&(pe.parentPlayer=rd(wr)),r.push(pe)}}else ph(St,Ct.fromStyles),pe.onDestroy(()=>ac(St,Ct.toStyles)),Nr.push(pe),u.has(St)&&r.push(pe)}),Nr.forEach(Et=>{const St=o.get(Et.element);if(St&&St.length){const pe=rd(St);Et.setRealPlayer(pe)}}),r.forEach(Et=>{Et.parentPlayer?Et.syncPlayerEvents(Et.parentPlayer):Et.destroy()});for(let Et=0;Et<D.length;Et++){const St=D[Et],pe=St[qa];if(xp(St,Yb),pe&&pe.hasAnimation)continue;let Ct=[];if(a.size){let di=a.get(St);di&&di.length&&Ct.push(...di);let wr=this.driver.query(St,qk,!0);for(let lo=0;lo<wr.length;lo++){let Qi=a.get(wr[lo]);Qi&&Qi.length&&Ct.push(...Qi)}}const en=Ct.filter(di=>!di.destroyed);en.length?Yce(this,St,en):this.processLeaveNode(St)}return D.length=0,xi.forEach(Et=>{this.players.push(Et),Et.onDone(()=>{Et.destroy();const St=this.players.indexOf(Et);this.players.splice(St,1)}),Et.play()}),xi}elementContainsData(n,t){let i=!1;const r=t[qa];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(n).elementContainsData(t)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Zg;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,u=c!==o,d=Da(i,c,[]);this._getPreviousPlayers(c,u,s,a,t.toState).forEach(y=>{const b=y.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),y.destroy(),d.push(y)})}ph(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,f=t.timelines.map(b=>{const S=b.element;u.add(S);const D=S[qa];if(D&&D.removedBeforeQueried)return new Yg(b.duration,b.delay);const R=S!==l,G=function Qce(e){const n=[];return A4(e,n),n}((i.get(S)||Hce).map(gt=>gt.getRealPlayer())).filter(gt=>!!gt.element&>.element===S),H=o.get(S),te=s.get(S),mt=e4(0,this._normalizer,0,b.keyframes,H,te),$e=this._buildPlayer(b,mt,G);if(b.subTimeline&&r&&d.add(S),R){const gt=new sT(n,a,S);gt.setRealPlayer($e),c.push(gt)}return $e});c.forEach(b=>{Da(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>function qce(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,b.element,b))}),u.forEach(b=>Wa(b,c4));const y=rd(f);return y.onDestroy(()=>{u.forEach(b=>xp(b,c4)),ac(l,t.toStyles)}),d.forEach(b=>{Da(r,b,[]).push(y)}),y}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new Yg(n.duration,n.delay)}}class sT{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new Yg,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Vk(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Da(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function lw(e){return e&&1===e.nodeType}function E4(e,n){const t=e.style.display;return e.style.display=n??"none",t}function k4(e,n,t,i,r){const o=[];t.forEach(l=>o.push(E4(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const f=n.computeStyle(c,d,r);u.set(d,f),(!f||0==f.length)&&(c[qa]=jce,s.push(c))}),e.set(c,u)});let a=0;return t.forEach(l=>E4(l,o[a++])),s}function T4(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function Wa(e,n){e.classList?.add(n)}function xp(e,n){e.classList?.remove(n)}function Yce(e,n,t){rd(t).onDone(()=>e.processLeaveNode(n))}function A4(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof XV?A4(i.players,n):n.push(i)}}function M4(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class cw{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Gce(n,t,i),this._timelineEngine=new Fce(n,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=Qk(this._driver,o,l,[]);if(l.length)throw function Nle(e,n){return new je(3404,!1)}();a=function Pce(e,n,t){return new Rce(e,n,t)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i,r){this._transitionEngine.removeNode(n,t,r||!1,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=t4(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=t4(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Zce=(()=>{class e{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ac(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ac(this._element,this._initialStyles),this._endStyles&&(ac(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(ph(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ph(this._element,this._endStyles),this._endStyles=null),ac(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function aT(e){let n=null;return e.forEach((t,i)=>{(function eue(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class D4{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:m4(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class tue{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return o4(n,t)}getParentElement(n){return jk(n)}query(n,t,i){return s4(n,t,i)}computeStyle(n,t,i){return window.getComputedStyle(n)[t]}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(y=>y instanceof D4);(function oce(e,n){return 0===e||0===n})(i,r)&&u.forEach(y=>{y.currentSnapshot.forEach((b,S)=>c.set(S,b))});let d=function tce(e){return e.length?e[0]instanceof Map?e:e.map(n=>u4(n)):[]}(t).map(y=>od(y));d=function sce(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,m4(e,a)))}}return n}(n,d,c);const f=function Xce(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=aT(n[0]),n.length>1&&(i=aT(n[n.length-1]))):n instanceof Map&&(t=aT(n)),t||i?new Zce(e,t,i):null}(n,d);return new D4(n,d,l,f)}}let nue=(()=>{class e extends WV{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Oo.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?KV(t):t;return O4(this._renderer,null,i,"register",[r]),new iue(i,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(J(Eg),J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class iue extends class fle{}{constructor(n,t){super(),this._id=n,this._renderer=t}create(n,t){return new rue(this._id,n,t||{},this._renderer)}}class rue{constructor(n,t,i,r){this.id=n,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,t){return this._renderer.listen(this.element,`@@${this.id}:${n}`,t)}_command(n,...t){return O4(this._renderer,this.element,this.id,n,t)}
1onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function O4(e,n,t,i,r){return e.setProperty(n,`@@${t}:${i}`,r)}const I4="@.disabled";let oue=(()=>{class e{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,i){const o=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new P4("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,t,u.name,u)};return i.data.animation.forEach(l),new sue(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&t<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(J(Eg),J(cw),J(Lt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class P4{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==I4?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class sue extends P4{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==I4?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function aue(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function lue(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}let cue=(()=>{class e extends cw{constructor(t,i,r,o){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return e.\u0275fac=function(t){return new(t||e)(J(jt),J(zk),J(tT),J(lh))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const R4=[{provide:WV,useClass:nue},{provide:tT,useFactory:function uue(){return new Mce}},{provide:cw,useClass:cue},{provide:Eg,useFactory:function due(e,n,t){return new oue(e,n,t)},deps:[qb,cw,Lt]}],lT=[{provide:zk,useFactory:()=>new tue},{provide:fr,useValue:"BrowserAnimations"},...R4],N4=[{provide:zk,useClass:a4},{provide:fr,useValue:"NoopAnimations"},...R4];let hue=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?N4:lT}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:lT,imports:[Mk]}),e})();class os extends nt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const dw=Kt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:fue}=Array,{getPrototypeOf:pue,prototype:mue,keys:gue}=Object;function L4(e){if(1===e.length){const n=e[0];if(fue(n))return{args:n,keys:null};if(function yue(e){return e&&"object"==typeof e&&pue(e)===mue}(n)){const t=gue(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:vue}=Array;function cT(e){return an(n=>function _ue(e,n){return vue(n)?e(...n):e(n)}(e,n))}
1function F4(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function uT(...e){const n=Gl(e),t=Rc(e),{args:i,keys:r}=L4(e);if(0===i.length)return gr([],n);const o=new wi(function bue(e,n,t=$a){return i=>{$4(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)$4(n,()=>{const c=gr(e[l],n);let u=!1;c.subscribe(yi(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>F4(r,s):$a));return t?o.pipe(cT(t)):o}function $4(e,n,t){e?al(t,e,n):n()}function ey(...e){return function wue(){return ju(1)}()(gr(e,Gl(e)))}function ty(e){return new wi(n=>{Mo(e()).subscribe(n)})}function Ep(e,n){const t=zt(e)?e:()=>e,i=r=>r.error(t());return new wi(n?r=>n.schedule(i,0,r):i)}function dT(){return Xi((e,n)=>{let t=null;e._refCount++;const i=yi(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class V4 extends wi{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Tf(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Jt;const t=this.getSubject();n.add(this.source.subscribe(yi(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Jt.EMPTY)}return n}refCount(){return dT()(this)}}function ss(e,n){return Xi((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(yi(i,l=>{r?.unsubscribe();let c=0;const u=o++;Mo(e(l,u)).subscribe(r=yi(i,d=>i.next(n?n(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function fi(e){return e<=0?()=>Xs:Xi((n,t)=>{let i=0;n.subscribe(yi(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function pr(...e){const n=Gl(e);return Xi((t,i)=>{(n?ey(e,t,n):ey(e,t)).subscribe(i)})}function hw(e){return Xi((n,t)=>{let i=!1;n.subscribe(yi(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function B4(e=Cue){return Xi((n,t)=>{let i=!1;n.subscribe(yi(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function Cue(){return new dw}function sd(e,n){const t=arguments.length>=2;return i=>i.pipe(e?ni((r,o)=>e(r,o,i)):$a,fi(1),t?hw(n):B4(()=>new dw))}function no(e,n,t){const i=zt(e)||n||t?{next:e,error:n,complete:t}:e;return i?Xi((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(yi(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):$a}function tu(e){return Xi((n,t)=>{let o,i=null,r=!1;i=n.subscribe(yi(t,void 0,void 0,s=>{o=Mo(e(s,tu(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Sue(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(yi(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function U4(e,n){return Xi(Sue(e,n,arguments.length>=2,!0))}function hT(e){return e<=0?()=>Xs:Xi((n,t)=>{let i=[];n.subscribe(yi(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function H4(e,n){const t=arguments.length>=2;return i=>i.pipe(e?ni((r,o)=>e(r,o,i)):$a,hT(1),t?hw(n):B4(()=>new dw))}function j4(e,n=!1){return Xi((t,i)=>{let r=0;t.subscribe(yi(i,o=>{const s=e(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}function fw(e){return an(()=>e)}function pw(e){return Xi((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const ui="primary",ny=Symbol("RouteTitle");class xue{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function kp(e){return new xue(e)}function Eue(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=e[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function lc(e,n){const t=e?Object.keys(e):void 0,i=n?Object.keys(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!z4(e[r],n[r]))return!1;return!0}function z4(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}return e===n}function G4(e){return Array.prototype.concat.apply([],e)}function q4(e){return e.length>0?e[e.length-1]:null}function as(e,n){for(const t in e)e.hasOwnProperty(t)&&n(e[t],t)}
1function ad(e){return bE(e)?e:Dg(e)?gr(Promise.resolve(e)):Bt(e)}const Aue={exact:function Y4(e,n,t){if(!yh(e.segments,n.segments)||!mw(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!Y4(e.children[i],n.children[i],t))return!1;return!0},subset:Q4},W4={exact:function Mue(e,n){return lc(e,n)},subset:function Due(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>z4(e[t],n[t]))},ignored:()=>!0};function K4(e,n,t){return Aue[t.paths](e.root,n.root,t.matrixParams)&&W4[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function Q4(e,n,t){return J4(e,n,n.segments,t)}function J4(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!yh(r,t)||n.hasChildren()||!mw(r,t,i))}if(e.segments.length===t.length){if(!yh(e.segments,t)||!mw(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!Q4(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(yh(e.segments,r)&&mw(e.segments,r,i)&&e.children[ui])&&J4(e.children[ui],n,o,i)}}function mw(e,n,t){return n.every((i,r)=>W4[t](e[r].parameters,i.parameters))}class gh{constructor(n,t,i){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kp(this.queryParams)),this._queryParamMap}toString(){return Pue.serialize(this)}}class pi{constructor(n,t){this.segments=n,this.children=t,this.parent=null,as(t,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gw(this)}}class iy{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=kp(this.parameters)),this._parameterMap}toString(){return tB(this)}}function yh(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let X4=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:function(){return new pT},providedIn:"root"}),e})();class pT{parse(n){const t=new Hue(n);return new gh(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${ry(n.root,!0)}`,i=function Lue(e){const n=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(r=>`${yw(t)}=${yw(r)}`).join("&"):`${yw(t)}=${yw(i)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function Rue(e){return encodeURI(e)}(n.fragment)}`:""}`}}const Pue=new pT;function gw(e){return e.segments.map(n=>tB(n)).join("/")}function ry(e,n){if(!e.hasChildren())return gw(e);if(n){const t=e.children[ui]?ry(e.children[ui],!1):"",i=[];return as(e.children,(r,o)=>{o!==ui&&i.push(`${o}:${ry(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function Iue(e,n){let t=[];return as(e.children,(i,r)=>{r===ui&&(t=t.concat(n(i,r)))}),as(e.children,(i,r)=>{r!==ui&&(t=t.concat(n(i,r)))}),t}(e,(i,r)=>r===ui?[ry(e.children[ui],!1)]:[`${r}:${ry(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ui]?`${gw(e)}/${t[0]}`:`${gw(e)}/(${t.join("//")})`}}function Z4(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yw(e){return Z4(e).replace(/%3B/gi,";")}function mT(e){return Z4(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vw(e){return decodeURIComponent(e)}function eB(e){return vw(e.replace(/\+/g,"%20"))}function tB(e){return`${mT(e.path)}${function Nue(e){return Object.keys(e).map(n=>`;${mT(n)}=${mT(e[n])}`).join("")}(e.parameters)}`}const Fue=/^[^\/()?;=#]+/;function _w(e){const n=e.match(Fue);return n?n[0]:""}const $ue=/^[^=?&#]+/,Bue=/^[^&#]+/;class Hue{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new pi([],{}):new pi([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[ui]=new pi(n,t)),i}parseSegment(){const n=_w(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new je(4009,!1);return this.capture(n),new iy(vw(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=_w(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=_w(this.remaining);r&&(i=r,this.capture(i))}n[vw(t)]=vw(i)}parseQueryParam(n){const t=function Vue(e){const n=e.match($ue);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function Uue(e){const n=e.match(Bue);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=eB(t),o=eB(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=_w(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new je(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ui);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ui]:new pi([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new je(4011,!1)}}function gT(e){return e.segments.length>0?new pi([],{[ui]:e}):e}function bw(e){const n={};for(const i of Object.keys(e.children)){const o=bw(e.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function jue(e){if(1===e.numberOfChildren&&e.children[ui]){const n=e.children[ui];return new pi(e.segments.concat(n.segments),n.children)}return e}(new pi(e.segments,n))}function vh(e){return e instanceof gh}function que(e,n,t,i,r){if(0===t.length)return Tp(n.root,n.root,n.root,i,r);const o=function rB(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new iB(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return as(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new iB(t,n,i)}(t);return o.toRoot()?Tp(n.root,n.root,new pi([],{}),i,r):function s(l){const c=function Kue(e,n,t,i){if(e.isAbsolute)return new Ap(n.root,!0,0);if(-1===i)return new Ap(t,t===n.root,0);return function oB(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new je(4005,!1);r=i.segments.length}return new Ap(i,!1,r-o)}(t,i+(oy(e.commands[0])?0:1),e.numberOfDoubleDots)}(o,n,e.snapshot?._urlSegment,l),u=c.processChildren?ay(c.segmentGroup,c.index,o.commands):vT(c.segmentGroup,c.index,o.commands);return Tp(n.root,c.segmentGroup,u,i,r)}(e.snapshot?._lastPathIndex)}function oy(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function sy(e){return"object"==typeof e&&null!=e&&e.outlets}function Tp(e,n,t,i,r){let s,o={};i&&as(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=e===n?t:nB(e,n,t);const a=gT(bw(s));return new gh(a,o,r)}function nB(e,n,t){const i={};return as(e.children,(r,o)=>{i[o]=r===n?t:nB(r,n,t)}),new pi(e.segments,i)}class iB{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&oy(i[0]))throw new je(4003,!1);const r=i.find(sy);if(r&&r!==q4(i))throw new je(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ap{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function vT(e,n,t){if(e||(e=new pi([],{})),0===e.segments.length&&e.hasChildren())return ay(e,n,t);const i=function Que(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;const s=e.segments[r],a=t[i];if(sy(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;
vendor: 4,651 bytes, line 1
1if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!aB(l,c,s))return o;i+=2}else{if(!aB(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const o=new pi(e.segments.slice(0,i.pathIndex),{});return o.children[ui]=new pi(e.segments.slice(i.pathIndex),e.children),ay(o,0,r)}return i.match&&0===r.length?new pi(e.segments,{}):i.match&&!e.hasChildren()?_T(e,n,t):i.match?ay(e,0,r):_T(e,n,t)}function ay(e,n,t){if(0===t.length)return new pi(e.segments,{});{const i=function Yue(e){return sy(e[0])?e[0].outlets:{[ui]:e}}(t),r={};return as(i,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=vT(e.children[s],n,o))}),as(e.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new pi(e.segments,r)}}function _T(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const o=t[r];if(sy(o)){const l=Jue(o.outlets);return new pi(i,l)}if(0===r&&oy(t[0])){i.push(new iy(e.segments[n].path,sB(t[0]))),r++;continue}const s=sy(o)?o.outlets[ui]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&oy(a)?(i.push(new iy(s,sB(a))),r+=2):(i.push(new iy(s,{})),r++)}return new pi(i,{})}function Jue(e){const n={};return as(e,(t,i)=>{"string"==typeof t&&(t=[t]),null!==t&&(n[i]=_T(new pi([],{}),0,t))}),n}function sB(e){const n={};return as(e,(t,i)=>n[i]=`${t}`),n}function aB(e,n,t){return e==t.path&&lc(n,t.parameters)}class nu{constructor(n,t){this.id=n,this.url=t}}class ww extends nu{constructor(n,t,i="imperative",r=null){super(n,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ld extends nu{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ly extends nu{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bT extends nu{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xue extends nu{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zue extends nu{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ede extends nu{constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tde extends nu{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nde extends nu{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ide{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rde{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ode{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sde{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ade{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lde{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lB{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class cB{constructor(n){this._root=n}get root(){return this._root.value}
1parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=wT(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=wT(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=CT(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return CT(n,this._root).map(t=>t.value)}}function wT(e,n){if(e===n.value)return n;for(const t of n.children){const i=wT(e,t);if(i)return i}return null}function CT(e,n){if(e===n.value)return[n];for(const t of n.children){const i=CT(e,t);if(i.length)return i.unshift(n),i}return[]}class iu{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Mp(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class uB extends cB{constructor(n,t){super(n),this.snapshot=t,ST(this,n)}toString(){return this.snapshot.toString()}}function dB(e,n){const t=function ude(e,n){const s=new Cw([],{},{},"",{},ui,n,null,e.root,-1,{});return new fB("",new iu(s,[]))}(e,n),i=new os([new iy("",{})]),r=new os({}),o=new os({}),s=new os({}),a=new os(""),l=new cd(i,r,s,a,o,ui,n,t.root);return l.snapshot=t.root,new uB(new iu(l,[]),t)}class cd{constructor(n,t,i,r,o,s,a,l){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(an(c=>c[ny]))??Bt(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(an(n=>kp(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(an(n=>kp(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function hB(e,n="emptyOnly"){const t=e.pathFromRoot;let i=0;if("always"!==n)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function dde(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class Cw{constructor(n,t,i,r,o,s,a,l,c,u,d,f){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[ny],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=f??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=kp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fB extends cB{constructor(n,t){super(t),this.url=n,ST(this,t)}toString(){return pB(this._root)}}function ST(e,n){n.value._routerState=e,n.children.forEach(t=>ST(e,t))}function pB(e){const n=e.children.length>0?` { ${e.children.map(pB).join(", ")} } `:"";return`${e.value}${n}`}function xT(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,lc(n.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),n.fragment!==t.fragment&&e.fragment.next(t.fragment),lc(n.params,t.params)||e.params.next(t.params),function kue(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!lc(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.url.next(t.url),lc(n.data,t.data)||e.data.next(t.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function ET(e,n){const t=lc(e.params,n.params)&&function Oue(e,n){return yh(e,n)&&e.every((t,i)=>lc(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||ET(e.parent,n.parent))}function cy(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function fde(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return cy(e,i,r);return cy(e,i)})}(e,n,t);return new iu(i,r)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>cy(e,a)),s}}const i=function pde(e){return new cd(new os(e.url),new os(e.params),new os(e.queryParams),new os(e.fragment),new os(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>cy(e,o));return new iu(i,r)}}const kT="ngNavigationCancelingError";function mB(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=vh(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=gB(!1,0,n);return r.url=t,r.navigationBehaviorOptions=i,r}function gB(e,n,t){const i=new Error("NavigationCancelingError: "+(e||""));return i[kT]=!0,i.cancellationCode=n,t&&(i.url=t),i}function yB(e){return vB(e)&&vh(e.url)}function vB(e){return e&&e[kT]}class mde{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new uy,this.attachRef=null}}let uy=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);
1return i||(i=new mde,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Sw=!1;let xw=(()=>{class e{constructor(t,i,r,o,s){this.parentContexts=t,this.location=i,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new et,this.deactivateEvents=new et,this.attachEvents=new et,this.detachEvents=new et,this.name=r||ui,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new je(4012,Sw);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new je(4012,Sw);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new je(4012,Sw);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new je(4013,Sw);this._activatedRoute=t;const r=this.location,s=t._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new gde(t,a,r.injector);if(i&&function yde(e){return!!e.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(g(uy),g(Ui),qo("name"),g(Zt),g(Ku))},e.\u0275dir=K({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class gde{constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===cd?this.route:n===uy?this.childContexts:this.parent.get(n,t)}}let TT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=We({type:e,selectors:[["ng-component"]],standalone:!0,features:[k$],decls:1,vars:0,template:function(t,i){1&t&&Ze(0,"router-outlet")},dependencies:[xw],encapsulation:2}),e})();function _B(e,n){return e.providers&&!e._injector&&(e._injector=vb(e.providers,n,`Route: ${e.path}`)),e._injector??n}function MT(e){const n=e.children&&e.children.map(MT),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ui&&(t.component=TT),t}function Ka(e){return e.outlet||ui}function bB(e,n){const t=e.filter(i=>Ka(i)===n);return t.push(...e.filter(i=>Ka(i)!==n)),t}function dy(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Cde{constructor(n,t,i,r){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),xT(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=Mp(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),as(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Mp(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=Mp(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,t,i){const r=Mp(t);
1n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new lde(o.value.snapshot))}),n.children.length&&this.forwardEvent(new sde(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(xT(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),xT(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=dy(r.snapshot),l=a?.get(jc)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class wB{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Ew{constructor(n,t){this.component=n,this.route=t}}function Sde(e,n,t){const i=e._root;return hy(i,n?n._root:null,t,[i.value])}function Dp(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function w(e){return null!==v(e)}(e)?n.get(e):e:i}function hy(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Mp(n);return e.children.forEach(s=>{(function Ede(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function kde(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!yh(e.url,n.url);case"pathParamsOrQueryParamsChange":return!yh(e.url,n.url)||!lc(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ET(e,n)||!lc(e.queryParams,n.queryParams);default:return!ET(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new wB(i)):(o.data=s.data,o._resolvedData=s._resolvedData),hy(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ew(a.outlet.component,s))}else s&&fy(n,a,r),r.canActivateChecks.push(new wB(i)),hy(e,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),as(o,(s,a)=>fy(s,t.getContext(a),r)),r}function fy(e,n,t){const i=Mp(e),r=e.value;as(i,(o,s)=>{fy(o,r.component?n?n.children.getContext(s):null:n,t)}),t.canDeactivateChecks.push(new Ew(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function py(e){return"function"==typeof e}function DT(e){return e instanceof dw||"EmptyError"===e?.name}const kw=Symbol("INITIAL_VALUE");function Op(){return ss(e=>uT(e.map(n=>n.pipe(fi(1),pr(kw)))).pipe(an(n=>{for(const t of n)if(!0!==t){if(t===kw)return kw;if(!1===t||t instanceof gh)return t}return!0}),ni(n=>n!==kw),fi(1)))}function CB(e){return function Gm(...e){return Ps(e)}(no(n=>{if(vh(n))throw mB(0,n)}),an(n=>!0===n))}const OT={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function SB(e,n,t,i,r){const o=IT(e,n,t);return o.matched?function jde(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?Bt(r.map(s=>{const a=Dp(s,e);return ad(function Ide(e){return e&&py(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Op(),CB()):Bt(!0)}(i=_B(n,i),n,t).pipe(an(s=>!0===s?o:{...OT})):Bt(o)}function IT(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...OT}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||Eue)(t,e,n);if(!r)return{...OT};const o={};as(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Tw(e,n,t,i,r="corrected"){if(t.length>0&&function qde(e,n,t){return t.some(i=>Aw(e,n,i)&&Ka(i)!==ui)}(e,t,i)){const s=new pi(n,function Gde(e,n,t,i){const r={};r[ui]=i,i._sourceSegment=e,i._segmentIndexShift=n.length;for(const o of t)if(""===o.path&&Ka(o)!==ui){const s=new pi([],{});s._sourceSegment=e,s._segmentIndexShift=n.length,r[Ka(o)]=s}return r}(e,n,i,new pi(t,e.children)));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===t.length&&function Wde(e,n,t){return t.some(i=>Aw(e,n,i))}(e,t,i)){const s=new pi(e.segments,function zde(e,n,t,i,r,o){const s={};for(const a of i)if(Aw(e,t,a)&&!r[Ka(a)]){const l=new pi([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===o?e.segments.length:n.length,s[Ka(a)]=l}return{...r,...s}}(e,n,t,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:t}}const o=new pi(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:t}}function Aw(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}function xB(e,n,t,i){return!!(Ka(e)===i||i!==ui&&Aw(n,t,e))&&("**"===e.path||IT(n,e,t).matched)}function EB(e,n,t){return 0===n.length&&!e.children[t]}const Mw=!1;class Dw{constructor(n){this.segmentGroup=n||null}}class kB{constructor(n){this.urlTree=n}}function my(e){return Ep(new Dw(e))}function TB(e){return Ep(new kB(e))}class Jde{constructor(n,t,i,r,o){this.injector=n,this.configLoader=t,this.urlSerializer
1=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const n=Tw(this.urlTree.root,[],[],this.config).segmentGroup,t=new pi(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,t,ui).pipe(an(o=>this.createUrlTree(bw(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(tu(o=>{if(o instanceof kB)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Dw?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,ui).pipe(an(r=>this.createUrlTree(bw(r),n.queryParams,n.fragment))).pipe(tu(r=>{throw r instanceof Dw?this.noMatchError(r):r}))}noMatchError(n){return new je(4002,Mw)}createUrlTree(n,t,i){const r=gT(n);return new gh(r,t,i)}expandSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,t,i).pipe(an(o=>new pi([],o))):this.expandSegment(n,i,t,i.segments,r,!0)}expandChildren(n,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return gr(r).pipe(nd(o=>{const s=i.children[o],a=bB(t,o);return this.expandSegmentGroup(n,a,s,o).pipe(an(l=>({segment:l,outlet:o})))}),U4((o,s)=>(o[s.outlet]=s.segment,o),{}),H4())}expandSegment(n,t,i,r,o,s){return gr(i).pipe(nd(a=>this.expandSegmentAgainstRoute(n,t,i,a,r,o,s).pipe(tu(c=>{if(c instanceof Dw)return Bt(null);throw c}))),sd(a=>!!a),tu((a,l)=>{if(DT(a))return EB(t,r,o)?Bt(new pi([],{})):my(t);throw a}))}expandSegmentAgainstRoute(n,t,i,r,o,s,a){return xB(r,t,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,t,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s):my(t):my(t)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?TB(o):this.lineralizeSegments(i,o).pipe(Qr(s=>{const a=new pi(s,{});return this.expandSegment(n,a,t,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=IT(t,r,o);if(!a)return my(t);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?TB(d):this.lineralizeSegments(r,d).pipe(Qr(f=>this.expandSegment(n,t,i,f.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,i,r,o){return"**"===i.path?(n=_B(i,n),i.loadChildren?(i._loadedRoutes?Bt({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(an(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new pi(r,{})))):Bt(new pi(r,{}))):SB(t,i,r,n).pipe(ss(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,r).pipe(Qr(u=>{const d=u.injector??n,f=u.routes,{segmentGroup:y,slicedSegments:b}=Tw(t,a,l,f),S=new pi(y.segments,y.children);if(0===b.length&&S.hasChildren())return this.expandChildren(d,f,S).pipe(an(H=>new pi(a,H)));if(0===f.length&&0===b.length)return Bt(new pi(a,{}));const D=Ka(i)===o;return this.expandSegment(d,S,f,b,D?ui:o,!0).pipe(an(G=>new pi(a.concat(G.segments),G.children)))})):my(t)))}getChildConfig(n,t,i){return t.children?Bt({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?Bt({routes:t._loadedRoutes,injector:t._loadedInjector}):function Hde(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?Bt(!0):Bt(r.map(s=>{const a=Dp(s,e);return ad(function Ade(e){return e&&py(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Op(),CB())}(n,t,i).pipe(Qr(r=>r?this.configLoader.loadChildren(n,t).pipe(no(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function Yde(e){return Ep(gB(Mw,3))}())):Bt({routes:[],injector:n})}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Bt(i);if(r.numberOfChildren>1||!r.children[ui])return Ep(new je(4e3,Mw));r=r.children[ui]}}applyRedirectCommands(n,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i)}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new gh(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return as(n,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let s={};return as(t.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,r)}),new pi(o,s)}createSegments(n,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new je(4001,Mw);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}class Zde{}class nhe{constructor(n,t,i,r,o,s,a,l){this.injector=n,this.rootComponentType=t,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer
1=l}recognize(){const n=Tw(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,ui).pipe(an(t=>{if(null===t)return null;const i=new Cw([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ui,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new iu(i,t),o=new fB(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const t=n.value,i=hB(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,r)}processChildren(n,t,i){return gr(Object.keys(i.children)).pipe(nd(r=>{const o=i.children[r],s=bB(t,r);return this.processSegmentGroup(n,s,o,r)}),U4((r,o)=>r&&o?(r.push(...o),r):null),j4(r=>null!==r),hw(null),H4(),an(r=>{if(null===r)return null;const o=AB(r);return function ihe(e){e.sort((n,t)=>n.value.outlet===ui?-1:t.value.outlet===ui?1:n.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(n,t,i,r,o){return gr(t).pipe(nd(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,r,o)),sd(s=>!!s),tu(s=>{if(DT(s))return EB(i,r,o)?Bt([]):Bt(null);throw s}))}processSegmentAgainstRoute(n,t,i,r,o){if(t.redirectTo||!xB(t,i,r,o))return Bt(null);let s;if("**"===t.path){const a=r.length>0?q4(r).parameters:{},l=DB(i)+r.length;s=Bt({snapshot:new Cw(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,IB(t),Ka(t),t.component??t._loadedComponent??null,t,MB(i),l,PB(t),l),consumedSegments:[],remainingSegments:[]})}else s=SB(i,t,r,n).pipe(an(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=DB(i)+l.length;return{snapshot:new Cw(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,IB(t),Ka(t),t.component??t._loadedComponent??null,t,MB(i),d,PB(t),d),consumedSegments:l,remainingSegments:c}}));return s.pipe(ss(a=>{if(null===a)return Bt(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;n=t._injector??n;const d=t._loadedInjector??n,f=function rhe(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(t),{segmentGroup:y,slicedSegments:b}=Tw(i,c,u,f.filter(D=>void 0===D.redirectTo),this.relativeLinkResolution);if(0===b.length&&y.hasChildren())return this.processChildren(d,f,y).pipe(an(D=>null===D?null:[new iu(l,D)]));if(0===f.length&&0===b.length)return Bt([new iu(l,[])]);const S=Ka(t)===o;return this.processSegment(d,f,y,b,S?ui:o).pipe(an(D=>null===D?null:[new iu(l,D)]))}))}}function ohe(e){const n=e.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function AB(e){const n=[],t=new Set;for(const i of e){if(!ohe(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=AB(i.children);n.push(new iu(i.value,r))}return n.filter(i=>!t.has(i))}function MB(e){let n=e;for(;n._sourceSegment;)n=n._sourceSegment;return n}function DB(e){let n=e,t=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,t+=n._segmentIndexShift??0;return t-1}function IB(e){return e.data||{}}function PB(e){return e.resolve||{}}function RB(e){return"string"==typeof e.title||null===e.title}function PT(e){return ss(n=>{const t=e(n);return t?gr(t).pipe(an(()=>n)):Bt(n)})}let NB=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ui);return i}getResolvedTitleForRoute(t){return t.data[ny]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:function(){return vr(LB)},providedIn:"root"}),e})(),LB=(()=>{class e extends NB{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}}return e.\u0275fac=function(t){return new(t||e)(J(IV))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class fhe{}class mhe extends class phe{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}{}const Iw=new Pe("",{providedIn:"root",factory:()=>({})}),RT=new Pe("ROUTES");let NT=(()=>{class e{constructor(t,i){this.injector=t,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Bt(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=ad(t.loadComponent()).pipe(no(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),pw(()=>{this.componentLoaders.delete(t)})),r=new V4(i,()=>new nt).pipe(dT());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Bt({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(an(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(t).injector,c=G4(l.get(RT,[],re.Self|re.Optional)));return{routes:c.map(MT),injector:l}}),pw(()=>{this.childrenLoaders.delete(i)})),s=new V4(o,()=>new nt).pipe(dT());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(t){return ad(t()).pipe(Qr(i=>i instanceof x$||Array.isArray(i)?Bt(i):gr(this.compiler.compileModuleAsync(i))))}}return e.\u0275fac=function(t){return new(t||e)(J(lr),J(WE))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class yhe{}class vhe{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,t){return n}}function _he(e){throw e}function bhe(e,n,t){return n.parse("/")}const whe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Che={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function $B(){const e=vr(X4),n=vr(uy),t=vr(ks),i=vr(lr),r=vr(WE),o=vr(RT,{optional:!0})??[],s=vr(Iw,{optional:!0})??{},a=vr(LB),l=vr(NB,{optional:!0}),c=vr(yhe,{optional:!0}),u=vr(fhe,{optional:!0}),d=new Ai(null,e,n,t,i,r,G4(o));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function She(e,n){e.errorHandler&&(n.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(n.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(n.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(n.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(n.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(n.canceledNavigationResolution=e.canceledNavigationResolution)}(s,d),d}let Ai=(()=>{class e{constructor(t,i,r,o,s,a,l){this.rootComponentType=t,this.urlSerializer=i,this.rootContexts=r,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new nt,this.errorHandler=_he,this.malformedUriErrorHandler=bhe,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>Bt(void 0),this.urlHandlingStrategy=new vhe,this.routeReuseStrategy=new mhe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(NT),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new rde(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new ide(f)),this.ngModule=s.get(ah),this.console=s.get(qre);const d=s.get(Lt);this.isNgZoneEnabled=d instanceof Lt&&Lt.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function Tue(){return new gh(new pi([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=dB(this.currentUrlTree,this.rootComponentType),this.transitions=new os({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(t){const i=this.events;return t.pipe(ni(r=>0!==r.id),an(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),ss(r=>{let o=!1,s=!1;return Bt(r).pipe(no(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ss(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return VB(a.source)&&(this.browserUrlTree=a.extractedUrl),Bt(a).pipe(ss(d=>{const f=this.transitions.getValue();return i.next(new ww(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Xs:Promise.resolve(d)}),function Xde(e,n,t,i){return ss(r=>function Qde(e,n,t,i,r){return new Jde(e,n,t,i,r).apply()}(e,n,t,r.extractedUrl,i).pipe(an(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),no(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function ahe(e,n,t,i,r,o){return Qr(s=>function the(e,n,t,i,r,o,s="emptyOnly",a="legacy"){return new nhe(e,n,t,i,r,s,a,o).recognize().pipe(ss(l=>null===l?function ehe(e){return new wi(n=>n.error(e))}(new Zde):Bt(l)))}(e,n,t,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(an(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),no(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(y,d)}this.browserUrlTree=d.urlAfterRedirects}
1const f=new Xue(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(f)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:y,source:b,restoredState:S,extras:D}=a,R=new ww(f,this.serializeUrl(y),b,S);i.next(R);const G=dB(y,this.rootComponentType).snapshot;return Bt(r={...a,targetSnapshot:G,urlAfterRedirects:y,extras:{...D,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Xs}),no(a=>{const l=new Zue(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),an(a=>r={...a,guards:Sde(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function Rde(e,n){return Qr(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?Bt({...t,guardsResult:!0}):function Nde(e,n,t,i){return gr(e).pipe(Qr(r=>function Ude(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?Bt(o.map(a=>{const l=dy(n)??r,c=Dp(a,l);return ad(function Ode(e){return e&&py(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):l.runInContext(()=>c(e,n,t,i))).pipe(sd())})).pipe(Op()):Bt(!0)}(r.component,r.route,t,n,i)),sd(r=>!0!==r,!0))}(s,i,r,e).pipe(Qr(a=>a&&function Tde(e){return"boolean"==typeof e}(a)?function Lde(e,n,t,i){return gr(n).pipe(nd(r=>ey(function $de(e,n){return null!==e&&n&&n(new ode(e)),Bt(!0)}(r.route.parent,i),function Fde(e,n){return null!==e&&n&&n(new ade(e)),Bt(!0)}(r.route,i),function Bde(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function xde(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>ty(()=>Bt(s.guards.map(l=>{const c=dy(s.node)??t,u=Dp(l,c);return ad(function Dde(e){return e&&py(e.canActivateChild)}(u)?u.canActivateChild(i,e):c.runInContext(()=>u(i,e))).pipe(sd())})).pipe(Op())));return Bt(o).pipe(Op())}(e,r.path,t),function Vde(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Bt(!0);const r=i.map(o=>ty(()=>{const s=dy(n)??t,a=Dp(o,s);return ad(function Mde(e){return e&&py(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(sd())}));return Bt(r).pipe(Op())}(e,r.route,t))),sd(r=>!0!==r,!0))}(i,o,e,n):Bt(a)),an(a=>({...t,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),no(a=>{if(r.guardsResult=a.guardsResult,vh(a.guardsResult))throw mB(0,a.guardsResult);const l=new ede(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),ni(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),PT(a=>{if(a.guards.canActivateChecks.length)return Bt(a).pipe(no(l=>{const c=new tde(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),ss(l=>{let c=!1;return Bt(l).pipe(function lhe(e,n){return Qr(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return Bt(t);let o=0;return gr(r).pipe(nd(s=>function che(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!RB(r)&&(o[ny]=r.title),function uhe(e,n,t,i){const r=function dhe(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===r.length)return Bt({});const o={};return gr(r).pipe(Qr(s=>function hhe(e,n,t,i){const r=dy(n)??i,o=Dp(e,r);return ad(o.resolve?o.resolve(n,t):r.runInContext(()=>o(n,t)))}(e[s],n,t,i).pipe(sd(),no(a=>{o[s]=a}))),hT(1),fw(o),tu(s=>DT(s)?Xs:Ep(s)))}(o,e,n,i).pipe(an(s=>(e._resolvedData=s,e.data=hB(e,t).resolve,r&&RB(r)&&(e.data[ny]=r.title),null)))}(s.route,i,e,n)),no(()=>o++),hT(1),Qr(s=>o===r.length?Bt(t):Xs))})}(this.paramsInheritanceStrategy,this.ngModule.injector),no({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),no(l=>{const c=new nde(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),PT(a=>{const l=c=>{const u=[];
1c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(no(d=>{c.component=d}),an(()=>{})));for(const d of c.children)u.push(...l(d));return u};return uT(l(a.targetSnapshot.root)).pipe(hw(),fi(1))}),PT(()=>this.afterPreactivation()),an(a=>{const l=function hde(e,n,t){const i=cy(e,n._root,t?t._root:void 0);return new uB(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),no(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,n,t)=>an(i=>(new Cde(n,i.targetRouterState,i.currentRouterState,t).activate(e),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),no({next(){o=!0},complete(){o=!0}}),pw(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),tu(a=>{if(s=!0,vB(a)){yB(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new ly(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),yB(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||VB(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new bT(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return Xs}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next({...this.transitions.value,...t})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const i="popstate"===t.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},o=t.state?.navigationId?t.state:null;if(o){const a={...o};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(t.url);this.scheduleNavigation(s,i,o,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(MT),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),que(c,this.currentUrlTree,t,d,u??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=vh(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,i)}navigate(t,i={skipLocationChange:!1}){return function xhe(e){for(let n=0;n<e.length;n++){if(null==e[n])throw new je(4008,false)}}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let i;try{i=this.urlSerializer.parse(t)}catch(r){i=this.malformedUriErrorHandler(r,this.urlSerializer,t)}return i}isActive(t,i){let r;if(r=!0===i?{...whe}:!1===i?{...Che}:i,vh(t))return K4(this.currentUrlTree,t,r);const o=this.parseUrl(t);return K4(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.keys(t).reduce((i,r)=>{const o=t[r];return null!=o&&(i[r]=o),i},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new ld(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((f,y)=>{a=f,l=y});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,i,r){const o=new ly(t.id,this.serializeUrl(t.extractedUrl),i,r);this.triggerEvent(o),t.resolve(!1)}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}}return e.\u0275fac=function(t){tb()},e.\u0275prov=Le({token:e,factory:function(){return $B()},providedIn:"root"}),e})();function VB(e){return"imperative"!==e}class BB{}
1let The=(()=>{class e{constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ni(t=>t instanceof ld),nd(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=vb(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return gr(r).pipe(ju())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):Bt(null);const o=r.pipe(Qr(s=>null===s?Bt(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?gr([o,this.loader.loadComponent(i)]).pipe(ju()):o})}}return e.\u0275fac=function(t){return new(t||e)(J(Ai),J(WE),J(Ku),J(BB),J(NT))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $T=new Pe("");let UB=(()=>{class e{constructor(t,i,r={}){this.router=t,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ww?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ld&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof lB&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.router.triggerEvent(new lB(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){tb()},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();function Ip(e,n){return{\u0275kind:e,\u0275providers:n}}function VT(e){return[{provide:RT,multi:!0,useValue:e}]}function jB(){const e=vr(lr);return n=>{const t=e.get(lh);if(n!==t.components[0])return;const i=e.get(Ai),r=e.get(zB);1===e.get(BT)&&i.initialNavigation(),e.get(GB,null,re.Optional)?.setUpPreloading(),e.get($T,null,re.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const zB=new Pe("",{factory:()=>new nt}),BT=new Pe("",{providedIn:"root",factory:()=>1});const GB=new Pe("");function Ohe(e){return Ip(0,[{provide:GB,useExisting:The},{provide:BB,useExisting:e}])}const qB=new Pe("ROUTER_FORROOT_GUARD"),Ihe=[ks,{provide:X4,useClass:pT},{provide:Ai,useFactory:$B},uy,{provide:cd,useFactory:function HB(e){return e.routerState.root},deps:[Ai]},NT];function Phe(){return new b8("Router",Ai)}let gy=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[Ihe,[],VT(t),{provide:qB,useFactory:Fhe,deps:[[Ai,new Cs,new Ua]]},{provide:Iw,useValue:i||{}},i?.useHash?{provide:dh,useClass:Noe}:{provide:dh,useClass:G8},{provide:$T,useFactory:()=>{const e=vr(Ai),n=vr(Wse),t=vr(Iw);return t.scrollOffset&&n.setOffset(t.scrollOffset),new UB(e,n,t)}},i?.preloadingStrategy?Ohe(i.preloadingStrategy).\u0275providers:[],{provide:b8,multi:!0,useFactory:Phe},i?.initialNavigation?$he(i):[],[{provide:WB,useFactory:jB},{provide:qE,multi:!0,useExisting:WB}]]}}static forChild(t){return{ngModule:e,providers:[VT(t)]}}}return e.\u0275fac=function(t){return new(t||e)(J(qB,8))},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[TT]}),e})();function Fhe(e){return"guarded"}function $he(e){return["disabled"===e.initialNavigation?Ip(3,[{provide:Sb,multi:!0,useFactory:()=>{const n=vr(Ai);return()=>{n.setUpLocationChangeListener()}}},{provide:BT,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ip(2,[{provide:BT,useValue:0},{provide:Sb,multi:!0,deps:[lr],useFactory:n=>{const t=n.get(Poe,Promise.resolve());let i=!1;return()=>t.then(()=>new Promise(o=>{const s=n.get(Ai),a=n.get(zB);(function r(o){n.get(Ai).events.pipe(ni(a=>a instanceof ld||a instanceof ly||a instanceof bT),an(a=>a instanceof ld||a instanceof ly&&(0===a.code||1===a.code)&&null),ni(a=>null!==a),fi(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?Bt(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}
1const WB=new Pe("");function KB(e,n,t,i,r,o,s){try{var a=e[o](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,r)}function V(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){KB(o,i,r,s,a,"next",l)}function a(l){KB(o,i,r,s,a,"throw",l)}s(void 0)})}}var ud=(()=>{return(e=ud||(ud={})).SUCCESS="SUCCESS",e.PENDING="PENDING",e.FAILURE="FAILURE",e.TERMINAL="TERMINAL",e.CANCELED="CANCELED",ud;var e})(),cc=(()=>{return(e=cc||(cc={})).OKTA_PASSWORD="okta_password",e.OKTA_EMAIL="okta_email",e.PHONE_NUMBER="phone_number",e.GOOGLE_AUTHENTICATOR="google_otp",e.SECURITY_QUESTION="security_question",e.OKTA_VERIFY="okta_verify",e.WEBAUTHN="webauthn",cc;var e})(),ru=(()=>{return(e=ru||(ru={})).PASSWORD_RECOVERY="recover-password",e.REGISTRATION="enroll-profile",e.SOCIAL_IDP="redirect-idp",e.ACCOUNT_UNLOCK="unlock-account",ru;var e})();function Lw(e){return e&&(e.key||e.id)}function Pp(){var e=function Bhe(){return typeof window<"u"?window.console:typeof console<"u"?console:void 0}();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function uc(e){Pp().warn("[okta-auth-sdk] WARN: "+e)}function Ya(e){var n={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var i=e[t];null!=i&&(n[t]=i)}return n}function ia(e){if(e){var n=JSON.stringify(e);if(n)return JSON.parse(n)}return e}function yy(e,...n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1==n.indexOf(i)&&(t[i]=e[i]);return ia(t)}function UT(e,n){for(var t=e.length;t--;){var i=e[t],r=!0;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&i[o]!==n[o]){r=!1;break}if(r)return i}}function HT(e,n,t){if(e&&e._links){var i=ia(e._links[n]);if(!(i&&i.name&&t))return i;if(i.name===t)return i}}class Rp extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}function Np(e){return"[object String]"===Object.prototype.toString.call(e)}function YB(e){return"[object Object]"===Object.prototype.toString.call(e)}function QB(e){return!!e&&"[object Function]"==={}.toString.call(e)}let dd=(()=>{class e extends Rp{constructor(t,i,r){var o;super(null!==(o=i.error)&&void 0!==o?o:e.UNKNOWN_ERROR),this.name="WWWAuthError",this.resp=null,this.scheme=t,this.parameters=i,r&&(this.resp=r)}get error(){return this.parameters.error}get errorCode(){return this.error}get error_description(){return this.parameters.error_description}get errorDescription(){return this.error_description}get errorSummary(){return this.errorDescription}get realm(){return this.parameters.realm}static parseHeader(t){var i;if(!t)return null;const r=/(?:,|, )?([a-zA-Z0-9!#$%&'*+\-.^_`|~]+)=(?:"([a-zA-Z0-9!#$%&'*+\-.,^_`|~ /:]+)"|([a-zA-Z0-9!#$%&'*+\-.^_`|~/:]+))/g,o=t.indexOf(" "),s=t.slice(0,o),a=t.slice(o+1),l={};let c;for(;null!==(c=r.exec(a));)l[c[1]]=null!==(i=c[2])&&void 0!==i?i:c[3];return new e(s,l)}static getWWWAuthenticateHeader(t={}){var i;return QB(t?.get)?t.get("WWW-Authenticate"):null!==(i=t["www-authenticate"])&&void 0!==i?i:t["WWW-Authenticate"]}}return e.UNKNOWN_ERROR="UNKNOWN_WWW_AUTH_ERROR",e})();function JB(e){for(var n="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t="",i=0,r=n.length;i<e;++i)t+=n[Math.floor(Math.random()*r)];return t}function XB(e){return new Promise(function(n){setTimeout(n,e)})}function zhe(e,n){const t=e.split(n);return[t[0],t.splice(1,t.length).join(n)]}function Fw(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)}function ou(e){var n=[];if(null!==e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&null!=e[t]&&n.push(t+"="+encodeURIComponent(e[t]));return n.length?"?"+n.join("&"):""}function Ia(e){if(e){var n=e.replace(/^\s+|\s+$/gm,"");return n.replace(/\/+$/,"")}}class Ke extends Rp{constructor(n,t){super(n),this.name="AuthSdkError",this.errorCode="INTERNAL",this.errorSummary=n,this.errorLink="INTERNAL",this.errorId="INTERNAL",this.errorCauses=[],t&&(this.xhr=t)}}function jT(){return JB(64)}function zT(e,n={}){return Ia(n.issuer)||e.options.issuer}function ZB(e,n={}){const t=zT(e,n);return t.indexOf("/oauth2")>0?t:t+"/oauth2"}function Khe(e,n={}){return zT(e,n).split("/oauth2")[0]}function hd(e,n){if(arguments.length>2)throw new Ke('As of version 3.0, "getOAuthUrls" takes only a single set of options');var t=Ia((n=n||{}).authorizeUrl)||e.options.authorizeUrl,i=zT(e,n),r=Ia(n.userinfoUrl)||e.options.userinfoUrl,o=Ia(n.tokenUrl)||e.options.tokenUrl,s=Ia(n.logoutUrl)||e.options.logoutUrl,a=Ia(n.revokeUrl)||e.options.revokeUrl,l=ZB(e,n);return{issuer:i,authorizeUrl:t=t||l+"/v1/authorize",userinfoUrl:r=r||l+"/v1/userinfo",tokenUrl:o=o||l+"/v1/token",revokeUrl:a=a||l+"/v1/revoke",logoutUrl:s=s||l+"/v1/logout"}}function eU(e,n){const r={issuer:e.options.issuer,urls:hd(e,n),clientId:n.clientId,redirectUri:n.redirectUri,responseType:n.responseType,responseMode:n.responseMode,scopes:n.scopes,state:n.state,nonce:n.nonce,ignoreSignature:n.ignoreSignature,acrValues:n.acrValues,extraParams:n.extraParams};return!1===n.pkce?r:Object.assign(Object.assign({},r),{codeVerifier:n.codeVerifier,codeChallengeMethod:n.codeChallengeMethod,codeChallenge:n.codeChallenge})}const vy="oktaStateToken",tU=500,nU=3,iU=300,rU=86400,GT="okta-token-storage",oU="okta-cache-storage",Yhe="okta-pkce-storage",sU="okta-transaction-storage",aU="okta-shared-transaction-storage",lU="okta-original-uri-storage",cU="okta-idx-response-storage",Qhe="accessToken",Jhe="idToken",qT="refreshToken",$w="referrerPath",WT=43,uU=128,KT="S256",YT="1.0.0";class _h extends Rp{constructor(n,t,i){super(n.errorSummary),this.name="AuthApiError",this.errorSummary=n.errorSummary,this.errorCode=n.errorCode,this.errorLink=n.errorLink,this.errorId=n.errorId,this.errorCauses=n.errorCauses,t&&(this.xhr=t),i&&(this.meta=i)}}class Lp extends Rp{constructor(n,t,i){super(t),this.resp=null,this.name="OAuthError",this.errorCode=n,this.errorSummary=t,this.error=n,this.error_description=t,i&&(this.resp=i)}}const QT=function(e){return atob(e)},fd=function(e){return btoa(e)},ra=typeof crypto>"u"?null:crypto,Xhe=/windows phone|iemobile|wpdesktop/i;function Wo(){return typeof document<"u"&&typeof window<"u"}function Vw(){if(!Wo())return!1;const e=document.documentMode;return!!e&&e<=11}function dU(){return navigator.userAgent}function hU(){const e=dU();return e&&!Xhe.test(e)}function Zhe(){if(!Wo())return!1;const e=document.documentMode;return typeof window.postMessage<"u"&&!(e&&e<10)}function fU(){return typeof ra<"u"&&null!==ra&&typeof ra.subtle<"u"&&typeof Uint8Array<"u"}function pU(){return fU()}function JT(){return typeof TextEncoder<"u"}function efe(){return pU()&&JT()}function mU(){return!!Wo()&&"https:"===window.location.protocol}function gU(){return Wo()&&"localhost"===window.location.hostname}function tfe(){return!Vw()&&typeof window.indexedDB<"u"&&JT()&&fU()}function nfe(){return Wo()&&typeof navigator<"u"&&typeof navigator.userAgent<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}let yU,XT=0;function dc(e,n){var t;if(n=n||{},e.options.httpRequestInterceptors)for(const $e of e.options.httpRequestInterceptors)$e(n);var i=n.url,r=n.method,o=n.args,s=n.saveAuthnState,a=n.accessToken,l=!0===n.withCredentials,u=e.options.storageUtil.storage,d=e.storageManager.getHttpCache(e.options.cookies),f=n.pollingIntent,y=null!==(t=e.options.pollDelay)&&void 0!==t?t:0;if(n.cacheResponse){var S=d.getStorage()[i];if(S&&Date.now()/1e3<S.expiresAt)return Promise.resolve(S.response)}var D=e._oktaUserAgent.getHttpHeader(),R=Object.assign({Accept:"application/json","Content-Type":"application/json"},D);Object.assign(R,e.options.headers,n.headers),R=Ya(R),a&&Np(a)&&(R.Authorization="Bearer "+a);var H,te,mt,G={headers:R,data:o||void 0,withCredentials:l};if(f&&Wo()&&y>0){let $e,gt,nn,Tn=0;gt=()=>{const on=Date.now()-XT;return on<y?new Promise(Ht=>setTimeout(()=>{document.hidden?Ht($e()):Ht()},y-on)):Promise.resolve()},$e=()=>{if(document.hidden){let on;return new Promise(Ht=>{on=()=>{document.hidden||(document.removeEventListener("visibilitychange",on),Ht(gt()))},document.addEventListener("visibilitychange",on)})}return gt()};const gn=()=>e.options.httpRequestClient(r,i,G).catch(on=>{if("Load failed"===on?.message&&Tn<nU)return Tn++,nn();throw on});nn=()=>$e().then(gn),mt=nn()}else mt=e.options.httpRequestClient(r,i,G);return mt.then(function($e){return(te=$e.responseText)&&Np(te)&&(te=JSON.parse(te))&&"object"==typeof te&&!te.headers&&(Array.isArray(te)?te.forEach(gt=>{gt.headers=$e.headers}):te.headers=$e.headers),s&&(te.stateToken||u.delete(vy)),te&&te.stateToken&&te.expiresAt&&u.set(vy,te.stateToken,te.expiresAt,e.options.cookies),te&&n.cacheResponse&&d.updateStorage(i,{expiresAt:Math.floor(Date.now()/1e3)+rU,response:te}),te}).catch(function($e){throw H=((e,n)=>{var t;if(n instanceof Error)return new _h({errorSummary:n.message});let r,i=n,o={};if(i.responseText&&Np(i.responseText))try{o=JSON.parse(i.responseText)}catch{o={errorSummary:"Unknown error"}}i.status>=500&&(o.errorSummary="Unknown error"),e.options.transformErrorXHR&&(i=e.options.transformErrorXHR(ia(i)));const s=null!==(t=dd.getWWWAuthenticateHeader(i?.headers))&&void 0!==t?t:"";if(r=o.error&&o.error_description?new Lp(o.error,o.error_description,i):new _h(o,i,{wwwAuthHeader:s}),s&&i?.status>=400&&i?.status<500){const a=dd.parseHeader(s);if(403===i.status&&"insufficient_authentication_context"===a?.error){const{max_age:l,acr_values:c}=a.parameters;r=new _h({errorSummary:a.error,errorCauses:[{errorSummary:a.errorDescription}]},i,Object.assign({max_age:+l},c&&{acr_values:c}))}else"DPoP"===a?.scheme&&(r=a)}return r})(e,$e),"E0000011"===H.errorCode&&u.delete(vy),H})}function Fp(e,n,t){var i={url:n=Fw(n)?n:e.getIssuerOrigin()+n,method:"GET"};return Object.assign(i,t),dc(e,i)}function pd(e,n,t,i){var r={url:n=Fw(n)?n:e.getIssuerOrigin()+n,method:"POST",args:t,saveAuthnState:!0};return Object.assign(r,i),dc(e,r)}Wo()&&(XT=Date.now(),yU=()=>{document.hidden||(XT=Date.now())},document.addEventListener("visibilitychange",yU));var vU=Ce(958);function Bw(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)e[i]=t[i]}return e}var rfe={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},md=function ZT(e,n){function t(r,o,s){if(!(typeof document>"u")){"number"==typeof(s=Bw({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)!s[l]||(a+="; "+l,!0!==s[l]&&(a+="="+s[l].split(";")[0]));return document.cookie=r+"="+e.write(o,r)+a}}return Object.create({set:t,get:function i(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var o=document.cookie?document.cookie.split("; "):[],s={},a=0;a<o.length;a++){var l=o[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(s[u]=e.read(c,u),r===u)break}catch{}}return r?s[r]:s}},remove:function(r,o){t(r,"",Bw({},o,{expires:-1}))},withAttributes:function(r){return ZT(this.converter,Bw({},this.attributes,r))},withConverter:function(r){return ZT(Bw({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}(rfe,{path:"/"}),eA=Ce(472),ofe=Ce.n(eA);function bh(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t}function tA(e){return nA.apply(this,arguments)}function nA(){return(nA=V(function*(e,n={}){const t=yield e.token.prepareTokenParams(n),i=eU(e,t);let{flow:r="default",withCredentials:o=!0,activationToken:s,recoveryToken:a,maxAge:l,acrValues:c}=Object.assign(Object.assign({},e.options),n);return Object.assign(Object.assign({},i),{flow:r,withCredentials:o,activationToken:s,recoveryToken:a,maxAge:l,acrValues:c})})).apply(this,arguments)}function _U(e,n){return!!gd(e,n)?.interactionHandle}function gd(e,n){let t;n=Ya(n),n=Object.assign(Object.assign({},e.options),n);try{t=e.transactionManager.load(n)}catch{}if(t){if(bU(t,n))return t;uc("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.")}}function sfe(e,n){return iA.apply(this,arguments)}function iA(){return(iA=V(function*(e,n){return n=Ya(n),gd(e,n=Object.assign(Object.assign({},e.options),n))||tA(e,n)})).apply(this,arguments)}function rA(e,n){e.transactionManager.save(n,{muteWarning:!0})}function afe(e){e.transactionManager.clear()}function bU(e,n={}){if(!1===function cfe(e,n,t){return!t.some(r=>{const o=n[r];if(o&&o!==e[r])return!0})}(e,n,["issuer","clientId","redirectUri","state","codeChallenge","codeChallengeMethod","activationToken","recoveryToken"]))return!1;const{flow:i}=n;return!1!==function lfe(e,n){return!(n&&"default"!==n&&"proceed"!==n&&n!==e.flow)}(e,i)}function wU(e){return{meta:e,interactionHandle:e.interactionHandle,state:e.state}}function CU(e){return oA.apply(this,arguments)}function oA(){return(oA=V(function*(e,n={}){let t=gd(e,n=Ya(n));if(t?.interactionHandle)return wU(t);t=yield tA(e,Object.assign(Object.assign({},t),n));const i=ZB(e);let{clientId:r,redirectUri:o,state:s,scopes:a,withCredentials:l,codeChallenge:c,codeChallengeMethod:u,activationToken:d,recoveryToken:f,maxAge:y,acrValues:b,nonce:S}=t;const D=n.clientSecret||e.options.clientSecret;l=l??!0;const R=`${i}/v1/interact`,G=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({client_id:r,scope:a.join(" "),redirect_uri:o,code_challenge:c,code_challenge_method:u,state:s},d&&{activation_token:d}),f&&{recovery_token:f}),D&&{client_secret:D}),y&&{max_age:y}),b&&{acr_values:b}),S&&{nonce:S}),mt=(yield dc(e,{method:"POST",url:R,headers:{"Content-Type":"application/x-www-form-urlencoded"},withCredentials:l,args:G})).interaction_handle,$e=Object.assign(Object.assign({},t),{interactionHandle:mt,withCredentials:l,state:s,scopes:a,recoveryToken:f,activationToken:d});return rA(e,$e),wU($e)})).apply(this,arguments)}"function"==typeof SuppressedError&&SuppressedError;const ufe=function(n){return!1!==n.mutable},dfe=function(n){var t,i;const r={},o=[],s={};if(!n.value)return o.push(n),{defaultParamsForAction:r,neededParamsForAction:o,immutableParamsForAction:s};
1for(let a of n.value)ufe(a)?(o.push(a),null!==(t=a.value)&&void 0!==t&&t&&(r[a.name]=a.value)):s[a.name]=null!==(i=a.value)&&void 0!==i?i:"";return{defaultParamsForAction:r,neededParamsForAction:o,immutableParamsForAction:s}},ffe=function(n,{actionDefinition:t,defaultParamsForAction:i={},immutableParamsForAction:r={},toPersist:o={}}){const s=t.href;return V(function*(a={}){var l,c;const u={"Content-Type":"application/json",Accept:t.accepts||"application/ion+json"},d=JSON.stringify(Object.assign(Object.assign(Object.assign({},i),a),r));try{const f={url:s,method:t.method,headers:u,args:d,withCredentials:null===(l=o?.withCredentials)||void 0===l||l};("poll"===t.name||(null===(c=t.name)||void 0===c?void 0:c.endsWith("-poll")))&&(f.pollingIntent=!0);const b=yield dc(n,f);return n.idx.makeIdxResponse(Object.assign({},b),o,!0)}catch(f){if(!(f instanceof _h&&f?.xhr))throw f;const y=f.xhr,b=y.responseJSON||JSON.parse(y.responseText),S=y.headers["WWW-Authenticate"]||y.headers["www-authenticate"],D=n.idx.makeIdxResponse(Object.assign({},b),o,!1);return 401===y.status&&'Oktadevicejwt realm="Okta Device"'===S&&(D.stepUp=!0),D}})},sA=function(n,t,i){const r=ffe,{defaultParams:o,neededParams:s,immutableParams:a}=function(n){n=Array.isArray(n)?n:[n];const t=[],i={},r={};for(let o of n){const{defaultParamsForAction:s,neededParamsForAction:a,immutableParamsForAction:l}=dfe(o);t.push(a),i[o.name]=s,r[o.name]=l}return{defaultParams:i,neededParams:t,immutableParams:r}}(t),l=r(n,{actionDefinition:t,defaultParamsForAction:o[t.name],immutableParamsForAction:a[t.name],toPersist:i});return l.neededParams=s,l},mfe=/\$?(?<step>\w+)|(?:\[(?<index>\d+)\])/g,yfe={remediation:!0,context:!0},SU=(e,n)=>{Object.keys(n).forEach(t=>{if("relatesTo"===t){const i=Array.isArray(n[t])?n[t][0]:n[t];if("string"==typeof i){const r=function gfe({path:e,json:n}){var t,i,r;const o=[];let s;for(;null!==(s=mfe.exec(e));){const c=null!==(i=null===(t=s?.groups)||void 0===t?void 0:t.step)&&void 0!==i?i:null===(r=s?.groups)||void 0===r?void 0:r.index;c&&o.push(c)}if(o.length<1)return;const a=o.pop();let l=n;for(const c of o)if(Object.prototype.hasOwnProperty.call(l,c)){if("object"!=typeof l[c])return;l=l[c]}return l[a]}({path:i,json:e});if(r)return void(n[t]=r);throw new Ke(`Cannot resolve relatesTo: ${i}`)}}Array.isArray(n[t])&&n[t].forEach(i=>SU(e,i))})},bfe=function(n,t,i={}){var r;const o=(null===(r=t.remediation)||void 0===r?void 0:r.value)||[];o.forEach(c=>{var u;if("launch-authenticator"!==c.name||"authenticatorChallenge"!==(null===(u=c?.relatesTo)||void 0===u?void 0:u[0])||t?.authenticatorChallenge)return SU(t,c);delete c.relatesTo});const s=o.map(c=>((e,n,t)=>{if(n.rel){const r=function(n,t,i={}){return t.reduce((r,o)=>Object.assign(Object.assign({},r),{[o.name]:sA(n,o,i)}),{})}(e,[n],t)[n.name];return Object.assign(Object.assign({},n),{action:r})}return n})(n,c,i)),{context:a,actions:l}=function(n,t,i={}){const r={},o={};return Object.keys(t).filter(s=>!yfe[s]).forEach(s=>{if("object"!=typeof t[s]||!t[s])return void(o[s]=t[s]);if(t[s].rel)return void(r[t[s].name]=sA(n,t[s],i));const l=t[s],{value:c,type:u}=l,d=bh(l,["value","type"]);o[s]=Object.assign({type:u},d),"object"===u?(o[s].value={},Object.entries(c).forEach(([f,y])=>{y.rel?r[`${s}-${f.name||f}`]=sA(n,y,i):o[s].value[f]=y})):o[s].value=c}),{context:o,actions:r}}(n,t,i);return{remediations:s,context:a,actions:l}};var Cfe={makeIdxState:function wfe(e,n,t,i){var r,o,s;const a=n,{remediations:l,context:c,actions:u}=bfe(e,n,t),d=[...l],f=function(){var S=V(function*(D,R={}){const G=l.find(te=>te.name===D);return G?"function"!=typeof G.action?Promise.reject(`Current remediation cannot make form submit action: [${D}]`):G.action(R):Promise.reject(`Unknown remediation choice: [${D}]`)});return function(R){return S.apply(this,arguments)}}();return{proceed:f,neededToProceed:d,actions:u,context:c,rawIdxState:a,interactionCode:null===(s=null===(o=null===(r=a.successWithInteractionCode)||void 0===r?void 0:r.value)||void 0===o?void 0:o.find(S=>"interaction_code"===S.name))||void 0===s?void 0:s.value,toPersist:t,requestDidSucceed:i}}};const xU=function(n){switch(n){case"1.0.0":return Cfe;case void 0:case null:throw new Error("Api version is required");default:throw new Error(`Unknown api version: ${n}. Use an exact semver version.`)}};function EU(e){if(!e)throw new Error("version is required");if((e??"").replace(/[^0-9a-zA-Z._-]/,"")!==e||!e)throw new Error("invalid version supplied - version is required and uses semver syntax");xU(e)}function kU(e,n,t,i){var r;const o=null!==(r=n?.version)&&void 0!==r?r:YT;EU(o);const{makeIdxState:s}=xU(o);return s(e,n,t,i)}function TU(e){return e&&e.version}function Sfe(e){return e instanceof _h}function AU(e){return e instanceof Lp}function aA(e){return lA.apply(this,arguments)}function lA(){return(lA=V(function*(e,n={}){var t;let i,r;const o=e.transactionManager.loadIdxResponse(n);if(o&&(i=o.rawIdxResponse,r=o.requestDidSucceed),!i){const a=n.version||YT,l=Khe(e),{interactionHandle:c,stateHandle:u}=n,d=null===(t=n.withCredentials)||void 0===t||t;try{r=!0,EU(a);const f=`${l}/idp/idx/introspect`,y=u?{stateToken:u}:{interactionHandle:c},b={"Content-Type":`application/ion+json; okta-version=${a}`,Accept:`application/ion+json; okta-version=${a}`};i=yield dc(e,{method:"POST",url:f,headers:b,withCredentials:d,args:y})}catch(f){if(!(Sfe(f)&&f.xhr&&TU(f.xhr.responseJSON)))throw f;i=f.xhr.responseJSON,r=!1}}const{withCredentials:s}=n;return kU(e,i,{withCredentials:s},r)})).apply(this,arguments)}function Uw(e){return e.charAt(0).toUpperCase()+e.substring(1)}function Hw(e){return e.value.find(({name:n})=>"authenticator"===n)}function MU(e){let n;if(Lw(e))n=e;else{if("string"!=typeof e)throw new Error("Invalid format for authenticator");n={key:e}}return n}function $p(e,n){return!!(e&&n&&(e.id&&n.id?e.id===n.id:e.key&&n.key&&e.key===n.key))}class oa{constructor(n,t={},i={}){this.values=Object.assign({},t),this.options=Object.assign({},i),this.formatAuthenticators(),this.remediation=n}formatAuthenticators(){if(this.values.authenticators=this.values.authenticators||[],this.values.authenticators=this.values.authenticators.map(n=>MU(n)),this.values.authenticator){const n=MU(this.values.authenticator);this.values.authenticators.some(i=>$p(n,i))||this.values.authenticators.push(n)}this.values.authenticatorsData=this.values.authenticators.reduce((n,t)=>("object"==typeof t&&Object.keys(t).length>1&&n.push(t),n),this.values.authenticatorsData||[])}getName(){return this.remediation.name}canRemediate(n){return!function kfe(e){var n;return null===(n=e.value)||void 0===n?void 0:n.reduce((t,i)=>(i.required&&t.push(i.name),t),[])}(this.remediation).find(r=>!this.hasData(r))}getData(n){if(!n)return function Efe(e){var n;return null===(n=e.value)||void 0===n?void 0:n.map(t=>t.name)}(this.remediation).reduce((r,o)=>(r[o]=this.getData(o),r),{});if("function"==typeof this[`map${Uw(n)}`]){const t=this[`map${Uw(n)}`](this.remediation.value.find(({name:i})=>i===n));if(t)return t}if(this.map&&this.map[n]){const t=this.map[n];for(let i=0;i<t.length;i++){let r=this.values[t[i]];if(r)return r}}return this.values[n]}hasData(n){return!!this.getData(n)}getNextStep(n,t){const i=this.getName(),r=this.getInputs(),o=this.getAuthenticator(),s=o?.type;return Object.assign(Object.assign({name:i,inputs:r},s&&{type:s}),o&&{authenticator:o})}getInputs(){const n=[];
1return(this.remediation.value||[]).forEach(i=>{let r,{name:o,type:s,visible:a,messages:l}=i;if(!1!==a){if("function"==typeof this[`getInput${Uw(o)}`])r=this[`getInput${Uw(o)}`](i);else if("object"!==s){let c;const u=(this.map?this.map[o]:null)||[];c=1===u.length?u[0]:u.find(d=>Object.keys(this.values).includes(d)),c&&(r=Object.assign(Object.assign({},i),{name:c}))}r||(r=i),Array.isArray(r)?r.forEach(c=>n.push(c)):(l&&(r.messages=l),n.push(r))}}),n}static getMessages(n){var t,i;if(n.value)return null===(i=null===(t=n.value[0])||void 0===t?void 0:t.form)||void 0===i?void 0:i.value.reduce((r,o)=>(o.messages&&(r=[...r,...o.messages.value]),r),[])}getValuesAfterProceed(){const i=[...this.remediation.value||[],...this.getInputs()];for(const r of i)delete this.values[r.name];return this.values}getAuthenticator(){var n,t;const i=null===(n=this.remediation.relatesTo)||void 0===n?void 0:n.value;if(!i)return;const r=Hw(this.remediation);if(!r)return i;const o=r.form.value.find(({name:a})=>"id"===a).value,s=null===(t=r.form.value.find(({name:a})=>"enrollmentId"===a))||void 0===t?void 0:t.value;return Object.assign(Object.assign({},i),{id:o,enrollmentId:s})}}function jw(e){if(Array.isArray(e))return e.map(t=>"string"==typeof t||"number"==typeof t||"boolean"==typeof t?t:jw(t));const n={};for(const[t,i]of Object.entries(e))if(!(null===i||typeof i>"u"))if("object"==typeof i){const r=Object.keys(i);if(["value","form"].includes(t)&&1===r.length&&["value","form"].includes(r[0])){const o=jw(i);Object.entries(o).forEach(([s,a])=>{n[s]=a})}else n[t]=jw(i)}else n[t]=i;return n}class cA extends oa{canRemediate(){return"function"==typeof this.remediation.action&&!("poll"!==this.remediation.name&&!this.remediation.name.endsWith("-poll")&&!this.options.step)}getData(){return this.getInputs().reduce((t,{name:i})=>(t[i]=this.values[i],t),{})}getNextStep(n,t){const i=this.getName(),r=this.getInputs(),o=this.remediation,{action:f}=o,y=bh(o,["href","method","rel","accepts","produces","value","action"]);return f?Object.assign(Object.assign(Object.assign({},y),!!r.length&&{inputs:r}),{action:(b=V(function*(S){return n.idx.proceed(Object.assign({step:i},S))}),function(D){return b.apply(this,arguments)})}):Object.assign({},this.remediation);var b}getInputs(){return(this.remediation.value||[]).filter(({name:n})=>"stateHandle"!==n).map(jw).map(n=>(n.type=n.type||"string",n))}}const uA={remediators:{},getFlowSpecification:function(e,n="default"){return{remediators:{}}}};function zw(e){const{neededToProceed:n,interactionCode:t}=e;return!n.length&&!t}function dA(e){if(e&&Array.isArray(e))return e.reduce((n,t)=>{if(t.messages&&(n=[...n,...t.messages.value]),t.form){const i=dA(t.form.value)||[];n=[...n,...i]}if(t.options){let i=[];t.options.forEach(o=>{!o.value||"string"==typeof o.value||(i=[...i,o.value])});const r=dA(i)||[];n=[...n,...r]}return n},[])}function DU(e,n){var t;let i=[];const{rawIdxState:r,neededToProceed:o}=e,s=null===(t=r.messages)||void 0===t?void 0:t.value.map(l=>l);if(s&&(i=[...i,...s]),!n.useGenericRemediator)for(let l of o){const c=dA(l.value);c&&(i=[...i,...c])}const a={};return i=i.reduce((l,c)=>{var u;const d=null===(u=c.i18n)||void 0===u?void 0:u.key;return d&&a[d]&&c.message===a[d].message||(a[d]=c,l=[...l,c]),l},[]),i}function Ife(e){const n=[],{actions:t,neededToProceed:i}=e;return t["currentAuthenticator-recover"]&&n.push(ru.PASSWORD_RECOVERY),i.some(({name:r})=>"select-enroll-profile"===r)&&n.push(ru.REGISTRATION),i.some(({name:r})=>"redirect-idp"===r)&&n.push(ru.SOCIAL_IDP),i.some(({name:r})=>"unlock-account"===r)&&n.push(ru.ACCOUNT_UNLOCK),n}function Pfe(e,n,t){var i;const r=[],o=Object.values(uA.remediators).reduce((s,a)=>(a.remediationName&&(s[a.remediationName]=a),s),{});for(let s of n.neededToProceed){const a=hA(s,{useGenericRemediator:t,remediators:o});if(a){const l=new a(s);r.push(l.getNextStep(e,n.context))}}for(const[s]of Object.entries(n.actions||{})){let a={name:s,action:function(){var l=V(function*(c){return e.idx.proceed({actions:[{name:s,params:c}]})});return function(u){return l.apply(this,arguments)}}()};if(s.startsWith("currentAuthenticator")){const[l,c]=zhe(s,"-"),u=n.rawIdxState[l].value[c],d=bh(u,["href","method","rel","accepts","produces"]),f=null===(i=u.value)||void 0===i?void 0:i.filter(y=>"stateHandle"!==y.name);a=Object.assign(Object.assign(Object.assign({},d),f&&{value:f}),a)}r.push(a)}return r}function Rfe(e,n,t){const r=(e.neededToProceed||[]).find(s=>s.name===n);return r?r.value.reduce((s,a)=>{const{name:l,value:c}=a;return s[l]="stateHandle"===l?c:t[l],s},{}):(uc(`filterValuesForRemediation: "${n}" did not match any remediations`),t)}function hA(e,n){const{useGenericRemediator:t,remediators:i}=n;if(e)return t?cA:i[e.name]}function fA(e,n,t){const i=t.remediators,r=t.useGenericRemediator,{neededToProceed:o,context:s}=e;let a;if(t.step){const c=o.find(({name:u})=>u===t.step);if(c){const u=hA(c,t);return u?new u(c,n,t):void 0}return void uc(`step "${t.step}" did not match any remediations`)}const l=[];
1if(r)l.push(new cA(o[0],n,t));else for(let c of o)if(Object.keys(i).includes(c.name)){if(a=new(hA(c,t))(c,n,t),a.canRemediate(s))return a;l.push(a)}return l[0]}function pA(e,n,t){const i=n.getNextStep(e,t.context),r=function Dfe(e){return e.neededToProceed.some(({name:n})=>"skip"===n)}(t),o=function Ofe(e){return Object.keys(e.actions).some(n=>n.includes("resend"))}(t);return Object.assign(Object.assign(Object.assign({},i),r&&{canSkip:r}),o&&{canResend:o})}function Gw(e,n,t={}){const i=zw(n),r=DU(n,t);if(i)return{idxResponse:n,terminal:i,messages:r};{const o=fA(n,{},t),s=o&&pA(e,o,n);return Object.assign({idxResponse:n,messages:r},s&&{nextStep:s})}}function Nfe(e,n){return Object.keys(n.actions).find(t=>!!e.resend&&t.includes("-resend"))}function Lfe(e){return Object.assign(Object.assign({},e),{resend:void 0})}function Ffe(e,n){let t=e.actions||[];return t=t.filter(i=>"string"==typeof i?i!==n:i.name!==n),Object.assign(Object.assign({},e),{actions:t})}function qw(e,n,t,i){return mA.apply(this,arguments)}function mA(){return(mA=V(function*(e,n,t,i){let{neededToProceed:r,interactionCode:o}=n;const{flow:s}=i;if(o)return{idxResponse:n};const a=fA(n,t,i),l=Nfe(t,n),u=[...i.actions||[],...l&&[l]||[]];if(u)for(let b of u){let S={};"string"!=typeof b&&(S=b.params||{},b=b.name);let D=Lfe(t),R=Ffe(i,b);if("function"==typeof n.actions[b])return!1===(n=yield n.actions[b](S)).requestDidSucceed?Gw(e,n,i):"cancel"===b?{idxResponse:n,canceled:!0}:qw(e,n,D,R);if(r.find(({name:H})=>H===b))return!1===(n=yield n.proceed(b,S)).requestDidSucceed?Gw(e,n,i):qw(e,n,t,R)}const d=zw(n);if(d)return{idxResponse:n,terminal:d};if(!a){if(i.step)return t=Rfe(n,i.step,t),!1===(n=yield n.proceed(i.step,t)).requestDidSucceed?Gw(e,n,i):{idxResponse:n};if("default"===s)return{idxResponse:n};throw new Ke(`\n No remediation can match current flow, check policy settings in your org.\n Remediations: [${r.reduce((b,S)=>b?b+" ,"+S.name:S.name,"")}]\n `)}if(!a.canRemediate())return{idxResponse:n,nextStep:pA(e,a,n)};const f=a.getName(),y=a.getData();return!1===(n=yield n.proceed(f,y)).requestDidSucceed?Gw(e,n,i):(t=a.getValuesAfterProceed(),!(i=Object.assign(Object.assign({},i),{step:void 0})).useGenericRemediator||n.interactionCode||zw(n)?qw(e,n,t,i):{idxResponse:n,nextStep:pA(e,fA(n,t,i),n)})})).apply(this,arguments)}function $fe(e){const t=Object.assign({},e);return["flow","remediators","actions","withCredentials","step","useGenericRemediator","exchangeCodeForTokens"].forEach(i=>{delete t[i]}),t}function Vfe(e,n){var t,i,r,o;let{options:s}=n;s=Object.assign(Object.assign({},e.options.idx),s);let{flow:a,withCredentials:l,remediators:c,actions:u}=s;const d=ud.PENDING;if(a=a||(null===(i=(t=e.idx).getFlow)||void 0===i?void 0:i.call(t))||"default",a){null===(o=(r=e.idx).setFlow)||void 0===o||o.call(r,a);const f=function Mfe(e,n="default"){return uA.getFlowSpecification(e,n)}(e,a);l=typeof l<"u"?l:f.withCredentials,c=c||f.remediators,u=u||f.actions}return Object.assign(Object.assign({},n),{options:Object.assign(Object.assign({},s),{flow:a,withCredentials:l,remediators:c,actions:u}),status:d})}function Bfe(e,n){return gA.apply(this,arguments)}function gA(){return(gA=V(function*(e,n){const{options:t}=n,{stateHandle:i,withCredentials:r,version:o,state:s,scopes:a,recoveryToken:l,activationToken:c,maxAge:u,acrValues:d,nonce:f,useGenericRemediator:y}=t;let b,S=gd(e,{state:s,recoveryToken:l,activationToken:c});if(i)b=yield aA(e,{withCredentials:r,version:o,stateHandle:i,useGenericRemediator:y});else{let D=S?.interactionHandle;if(!D){e.transactionManager.clear();const R=yield CU(e,{withCredentials:r,state:s,scopes:a,activationToken:c,recoveryToken:l,maxAge:u,acrValues:d,nonce:f});D=R.interactionHandle,S=R.meta}b=yield aA(e,{withCredentials:r,version:o,interactionHandle:D,useGenericRemediator:y})}return Object.assign(Object.assign({},n),{idxResponse:b,meta:S})})).apply(this,arguments)}function Ufe(e,n){return yA.apply(this,arguments)}function yA(){return(yA=V(function*(e,n){let{idxResponse:t,options:i,values:r}=n;const{autoRemediate:o,remediators:s,actions:a,flow:l,step:c,useGenericRemediator:u}=i;if(!1===o||!(s||a||c))return n;r=Object.assign(Object.assign({},r),{stateHandle:t.rawIdxState.stateHandle});const{idxResponse:f,nextStep:y,canceled:b}=yield qw(e,t,r,{remediators:s,actions:a,flow:l,step:c,useGenericRemediator:u});return t=f,Object.assign(Object.assign({},n),{idxResponse:t,nextStep:y,canceled:b})})).apply(this,arguments)}function Hfe(e,n){return vA.apply(this,arguments)}function vA(){return(vA=V(function*(e,n){let{meta:t,idxResponse:i}=n;const{interactionCode:r}=i,{clientId:o,codeVerifier:s,ignoreSignature:a,redirectUri:l,urls:c,scopes:u}=t;return(yield e.token.exchangeCodeForTokens({interactionCode:r,clientId:o,codeVerifier:s,ignoreSignature:a,redirectUri:l,scopes:u},c)).tokens})).apply(this,arguments)}function jfe(e,n){return _A.apply(this,arguments)}function _A(){return(_A=V(function*(e,n){let{options:t,idxResponse:i,canceled:r,status:o}=n;const{exchangeCodeForTokens:s}=t;let u,d,f,y,b,S,a=!1,l=!1,c=!0;if(i&&(a=!(!i.requestDidSucceed&&!i.stepUp),f=Ife(i),y=Pfe(e,i,t.useGenericRemediator),b=DU(i,t),S=zw(i)),S){o=ud.TERMINAL;const D=Object.keys(i.actions).length>0,R=!!b.find(H=>"ERROR"===H.class);D||R||!0!==i.requestDidSucceed?a=!!D:l=!0,c=!1}else r?(o=ud.CANCELED,l=!0):i?.interactionCode&&(u=i.interactionCode,!1===s?(o=ud.SUCCESS,l=!1):(d=yield Hfe(e,n),o=ud.SUCCESS,l=!0));return Object.assign(Object.assign({},n),{status:o,interactionCode:u,tokens:d,shouldSaveResponse:a,shouldClearTransaction:l,clearSharedStorage:c,enabledFeatures:f,availableSteps:y,messages:b,terminal:S})}
1)).apply(this,arguments)}function wh(e){return bA.apply(this,arguments)}function bA(){return(bA=V(function*(e,n={}){var t;let i={options:n,values:$fe(n)};i=Vfe(e,i),i=yield Bfe(e,i),i=yield Ufe(e,i),i=yield jfe(e,i);const{idxResponse:r,meta:o,shouldSaveResponse:s,shouldClearTransaction:a,clearSharedStorage:l,status:c,enabledFeatures:u,availableSteps:d,tokens:f,nextStep:y,messages:b,error:S,interactionCode:D}=i;if(a)e.transactionManager.clear({clearSharedStorage:l});else if(rA(e,Object.assign({},o)),s){const{rawIdxState:nn,requestDidSucceed:Tn}=r;e.transactionManager.saveIdxResponse({rawIdxResponse:nn,requestDidSucceed:Tn,stateHandle:null===(t=r.context)||void 0===t?void 0:t.stateHandle,interactionHandle:o?.interactionHandle})}const{actions:R,context:G,neededToProceed:H,proceed:te,rawIdxState:mt,requestDidSucceed:$e,stepUp:gt}=r||{};return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({status:c},o&&{meta:o}),u&&{enabledFeatures:u}),d&&{availableSteps:d}),f&&{tokens:f}),y&&{nextStep:y}),b&&b.length&&{messages:b}),S&&{error:S}),gt&&{stepUp:gt}),{interactionCode:D,actions:R,context:G,neededToProceed:H,proceed:te,rawIdxState:mt,requestDidSucceed:$e})})).apply(this,arguments)}function zfe(e){return wA.apply(this,arguments)}function wA(){return(wA=V(function*(e,n={}){return n.password&&!n.authenticator&&(n.authenticator=cc.OKTA_PASSWORD),wh(e,Object.assign(Object.assign({},n),{flow:"authenticate"}))})).apply(this,arguments)}class Vp{constructor(n){this.meta=n}}class OU extends Vp{canVerify(n){return!!(n.credentials||n.verificationCode||n.otp)}mapCredentials(n){const{credentials:t,verificationCode:i,otp:r}=n;if(t||i||r)return t||{passcode:i||r}}getInputs(n){var t;return Object.assign(Object.assign({},null===(t=n.form)||void 0===t?void 0:t.value[0]),{name:"verificationCode",type:"string",required:n.required})}}class Gfe extends OU{mapCredentials(n){const{verificationCode:t}=n;if(t)return{totp:t}}}class IU extends Vp{canVerify(n){return!!(n.credentials||n.password||n.passcode)}mapCredentials(n){const{credentials:t,password:i,passcode:r,revokeSessions:o}=n;if(t||i||r)return t||{passcode:r||i,revokeSessions:o}}getInputs(n){var t,i;const r=[Object.assign(Object.assign({},null===(t=n.form)||void 0===t?void 0:t.value[0]),{name:"password",type:"string",required:n.required})];return(null===(i=n.form)||void 0===i?void 0:i.value.find(s=>"revokeSessions"===s.name))&&r.push({name:"revokeSessions",type:"boolean",label:"Sign me out of all other devices",required:!1}),r}}class qfe extends Vp{canVerify(n){const{credentials:t}=n;if(t&&t.questionKey&&t.answer)return!0;const{questionKey:i,question:r,answer:o}=n;return!(!i||!o)||!(!r||!o)}mapCredentials(n){const{questionKey:t,question:i,answer:r}=n;if(r&&(t||i))return{questionKey:i?"custom":t,question:i,answer:r}}getInputs(){return[{name:"questionKey",type:"string",required:!0},{name:"question",type:"string",label:"Create a security question"},{name:"answer",type:"string",label:"Answer",required:!0}]}}class Wfe extends Vp{canVerify(n){const{credentials:t}=n;if(t&&t.answer)return!0;const{answer:i}=n;return!!i}mapCredentials(n){const{answer:t}=n;if(t)return{questionKey:this.meta.contextualData.enrolledQuestion.questionKey,answer:t}}getInputs(){return[{name:"answer",type:"string",label:"Answer",required:!0}]}}class Kfe extends Vp{canVerify(n){const{credentials:t}=n,i=t||n,{clientData:r,attestation:o}=i;return!(!r||!o)}mapCredentials(n){const{credentials:t,clientData:i,attestation:r}=n;if(t||i||r)return t||{clientData:i,attestation:r}}getInputs(){return[{name:"clientData",type:"string",required:!0,visible:!1,label:"Client Data"},{name:"attestation",type:"string",required:!0,visible:!1,label:"Attestation"}]}}class Yfe extends Vp{canVerify(n){const{credentials:t}=n,i=t||n,{clientData:r,authenticatorData:o,signatureData:s}=i;return!!(r&&o&&s)}mapCredentials(n){const{credentials:t,authenticatorData:i,clientData:r,signatureData:o}=n;if(t||i||r||o)return t||{authenticatorData:i,clientData:r,signatureData:o}}getInputs(){return[{name:"authenticatorData",type:"string",label:"Authenticator Data",required:!0,visible:!1},{name:"clientData",type:"string",label:"Client Data",required:!0,visible:!1},{name:"signatureData",type:"string",label:"Signature Data",required:!0,visible:!1}]}}class CA extends oa{constructor(n,t={}){super(n,t),this.authenticator=function Qfe(e){var n,t;const r=e.relatesTo?.value||{};switch(r.key){case cc.OKTA_PASSWORD:return new IU(r);case cc.SECURITY_QUESTION:return null!==(n=r.contextualData)&&void 0!==n&&n.enrolledQuestion?new Wfe(r):new qfe(r);case cc.OKTA_VERIFY:return new Gfe(r);case cc.WEBAUTHN:return null!==(t=r.contextualData)&&void 0!==t&&t.challengeData?new Yfe(r):new Kfe(r);default:return new OU(r)}}(n)}getNextStep(n,t){var i;const r=super.getNextStep(n,t),o=null===(i=t?.authenticatorEnrollments)||void 0===i?void 0:i.value;return Object.assign(Object.assign({},r),{authenticatorEnrollments:o})}canRemediate(){return this.authenticator.canVerify(this.values)}mapCredentials(){return this.authenticator.mapCredentials(this.values)}
1getInputCredentials(n){return this.authenticator.getInputs(n)}getValuesAfterProceed(){return this.values=super.getValuesAfterProceed(),Object.keys(this.values).filter(t=>"credentials"!==t).reduce((t,i)=>Object.assign(Object.assign({},t),{[i]:this.values[i]}),{})}}let SA=(()=>{class e extends CA{}return e.remediationName="enroll-authenticator",e})(),_y=(()=>{class e extends oa{canRemediate(){return!!this.values.startPolling||"enroll-poll"===this.options.step}getNextStep(t,i){const r=super.getNextStep(t,i);let o=this.getAuthenticator();return!o&&i?.currentAuthenticator&&(o=i.currentAuthenticator.value),Object.assign(Object.assign({},r),{authenticator:o,poll:{required:!0,refresh:this.remediation.refresh}})}getValuesAfterProceed(){return Object.keys(this.values).filter(i=>"startPolling"!==i).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="enroll-poll",e})(),xA=(()=>{class e extends oa{canRemediate(){if(this.values.channel)return!0;if(this.values.authenticator){const{id:t,channel:i}=this.values.authenticator;if(t&&i)return!0}return!1}getNextStep(t,i){const r=super.getNextStep(t,i),o=i.currentAuthenticator.value;return Object.assign(Object.assign({},r),{authenticator:o})}getData(){var t;return{authenticator:{id:this.remediation.value[0].value.form.value[0].value,channel:(null===(t=this.values.authenticator)||void 0===t?void 0:t.channel)||this.values.channel},stateHandle:this.values.stateHandle}}getValuesAfterProceed(){this.values=super.getValuesAfterProceed(),delete this.values.authenticators;const t=this.values.channel?"channel":"authenticator";return Object.keys(this.values).filter(r=>r!==t).reduce((r,o)=>Object.assign(Object.assign({},r),{[o]:this.values[o]}),{})}}return e.remediationName="select-enrollment-channel",e})(),EA=(()=>{class e extends oa{getInputEmail(){return[{name:"email",type:"string",required:!0,label:"Email"}]}getInputPhoneNumber(){return[{name:"phoneNumber",type:"string",required:!0,label:"Phone Number"}]}canRemediate(){return Boolean(this.values.email||this.values.phoneNumber)}getNextStep(t,i){const r=super.getNextStep(t,i),o=i.currentAuthenticator.value;return Object.assign(Object.assign({},r),{authenticator:o})}getData(){return{stateHandle:this.values.stateHandle,email:this.values.email,phoneNumber:this.values.phoneNumber}}getValuesAfterProceed(){return Object.keys(this.values).filter(i=>!["email","phoneNumber"].includes(i)).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="enrollment-channel-data",e})(),Ww=(()=>{class e extends CA{}return e.remediationName="challenge-authenticator",e})(),kA=(()=>{class e extends _y{canRemediate(){return!!this.values.startPolling||"challenge-poll"===this.options.step}}return e.remediationName="challenge-poll",e})(),by=(()=>{class e extends oa{constructor(){super(...arguments),this.map={identifier:["username"]}}canRemediate(){const{identifier:t}=this.getData();return!!t}mapCredentials(){const{credentials:t,password:i}=this.values;if(t||i)return t||{passcode:i}}getInputCredentials(t){return Object.assign(Object.assign({},t.form.value[0]),{name:"password",required:t.required})}}return e.remediationName="identify",e})(),Kw=(()=>{class e extends oa{mapCredentials(){const{newPassword:t}=this.values;if(t)return{passcode:t}}getInputCredentials(t){const r="password"===this.getAuthenticator().type?"newPassword":"verificationCode";return Object.assign(Object.assign({},t.form.value[0]),{name:r})}}return e.remediationName="reenroll-authenticator",e})(),Yw=(()=>{class e extends Kw{}return e.remediationName="reenroll-authenticator-warning",e})(),PU=(()=>{class e extends oa{canRemediate(){return!1}getNextStep(){const{name:t,type:i,idp:r,href:o}=this.remediation;return{name:t,type:i,idp:r,href:o}}}return e.remediationName="redirect-idp",e})();class TA extends oa{findMatchedOption(n,t){let i;for(let r of n)if(i=t.find(({relatesTo:o})=>o.key&&o.key===r.key),i)break;return i}canRemediate(n){var t,i;const{authenticators:r,authenticator:o}=this.values,s=Hw(this.remediation),{options:a}=s;if(!r||!r.length)return!1;if(Lw(o)&&o.id)return!0;const l=this.findMatchedOption(r,a);if(l){const c=n?.currentAuthenticator&&n?.currentAuthenticator.value.id===(null===(t=l.relatesTo)||void 0===t?void 0:t.id),u=n?.currentAuthenticatorEnrollment&&n?.currentAuthenticatorEnrollment.value.id===(null===(i=l.relatesTo)||void 0===i?void 0:i.id);return!c&&!u}return!1}mapAuthenticator(n){const{authenticators:t,authenticator:i}=this.values;if(Lw(i)&&i.id)return this.selectedAuthenticator=i,i;const{options:r}=n,o=function Tfe(e,n){let t;for(let i of e)if(t=n.find(({relatesTo:r})=>r.key&&r.key===i.key),t)break;return t}(t,r);return this.selectedAuthenticator=o.relatesTo,this.selectedOption=o,{id:o?.value.form.value.find(({name:s})=>"id"===s).value}}getInputAuthenticator(n){return{name:"authenticator",type:"string",options:n.options.map(({label:i,relatesTo:r})=>({label:i,value:r.key}))}}getValuesAfterProceed(){this.values=super.getValuesAfterProceed();const n=this.values.authenticators.filter(t=>!0!==$p(t,this.selectedAuthenticator));return Object.assign(Object.assign({},this.values),{authenticators:n})}}let Qw=(()=>{class e extends TA{constructor(t,i={},r={}){var o;super(t,i,r);const s="recoverPassword"===this.options.flow;(null===(o=Hw(t).options)||void 0===o?void 0:o.some(({relatesTo:l})=>l?.key===cc.OKTA_PASSWORD))&&(s||this.values.password)&&(this.values.authenticators=[...this.values.authenticators||[],{key:cc.OKTA_PASSWORD}])}}return e.remediationName="select-authenticator-authenticate",e})(),Jw=(()=>{class e extends TA{}return e.remediationName="select-authenticator-enroll",e})();class RU extends oa{constructor(n,t={}){super(n,t),this.authenticator=this.getAuthenticator(),this.formatAuthenticatorData()}formatAuthenticatorData(){if(this.getAuthenticatorData())this.values.authenticatorsData=this.values.authenticatorsData.map(t=>$p(this.authenticator,t)?this.mapAuthenticatorDataFromValues(t):t);else{const t=this.mapAuthenticatorDataFromValues();t&&this.values.authenticatorsData.push(t)}}getAuthenticatorData(){return this.values.authenticatorsData.find(n=>$p(this.authenticator,n))}canRemediate(){return this.values.authenticatorsData.some(n=>$p(this.authenticator,n))}mapAuthenticatorDataFromValues(n){let{methodType:t,authenticator:i}=this.values;!t&&Lw(i)&&(t=i?.methodType);const{id:r,enrollmentId:o}=this.authenticator,s=Object.assign(Object.assign({id:r,enrollmentId:o},n&&n),t&&{methodType:t});return s.methodType?s:null}getAuthenticatorFromRemediation(){return this.remediation.value.find(({name:t})=>"authenticator"===t)}getValuesAfterProceed(){this.values=super.getValuesAfterProceed();const n=this.values.authenticatorsData.filter(t=>!0!==$p(this.authenticator,t));return Object.assign(Object.assign({},this.values),{authenticatorsData:n})}}let Xw=(()=>{class e extends RU{mapAuthenticator(){return this.getAuthenticatorData()}getInputAuthenticator(){const t=this.getAuthenticatorFromRemediation(),i=t.form.value.find(({name:o})=>"methodType"===o);return i&&i.options?{name:"methodType",type:"string",required:!0,options:i.options}:[...t.form.value]}getValuesAfterProceed(){return this.values=super.getValuesAfterProceed(),Object.keys(this.values).filter(i=>"authenticator"!==i).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="authenticator-verification-data",e})(),Zw=(()=>{class e extends RU{mapAuthenticator(){const t=this.getAuthenticatorData();return{id:Hw(this.remediation).form.value.find(({name:r})=>"id"===r).value,methodType:t.methodType,phoneNumber:t.phoneNumber}}getInputAuthenticator(t){return[{name:"methodType",type:"string"},{name:"phoneNumber",label:"Phone Number",type:"string"}].map(i=>{const r=t.form.value.find(o=>o.name===i.name);return Object.assign(Object.assign({},r),i)})}mapAuthenticatorDataFromValues(t){t=super.mapAuthenticatorDataFromValues(t);const{phoneNumber:i}=this.values;if(t||i)return Object.assign(Object.assign({},t&&t),i&&{phoneNumber:i})}}return e.remediationName="authenticator-enrollment-data",e})(),AA=(()=>{class e extends oa{canRemediate(){return!!this.values.skip||"skip"===this.options.step}}return e.remediationName="skip",e})();const NU={identify:by,"select-authenticator-authenticate":Qw,"select-authenticator-enroll":Jw,"authenticator-enrollment-data":Zw,"authenticator-verification-data":Xw,"enroll-authenticator":SA,"challenge-authenticator":Ww,"challenge-poll":kA,"reenroll-authenticator":Kw,"reenroll-authenticator-warning":Yw,"enroll-poll":_y,"select-enrollment-channel":xA,"enrollment-channel-data":EA,"redirect-idp":PU,skip:AA};let LU=(()=>{class e extends CA{}return e.remediationName="reset-authenticator",e})();const Jfe={identify:by,"identify-recovery":by,"select-authenticator-authenticate":Qw,"select-authenticator-enroll":Jw,"challenge-authenticator":Ww,"authenticator-verification-data":Xw,"authenticator-enrollment-data":Zw,"reset-authenticator":LU,"reenroll-authenticator":Kw,"reenroll-authenticator-warning":Yw,"enroll-poll":_y};let FU=(()=>{class e extends oa{constructor(t,i={},r={}){super(t,i,r),this.authenticator=null,this.getCredentialsFromRemediation()&&(this.authenticator=this.authenticator=new IU({}))}canRemediate(){if(this.authenticator&&!this.authenticator.canVerify(this.values))return!1;const t=this.getData().userProfile;return!!t&&this.remediation.value.find(({name:r})=>"userProfile"===r).form.value.reduce((r,o)=>(o.required&&(r=r&&!!t[o.name]),r),!0)}getCredentialsFromRemediation(){return this.remediation.value.find(({name:t})=>"credentials"===t)}mapUserProfile({form:{value:t}}){const r=t.map(({name:o})=>o).reduce((o,s)=>this.values[s]?Object.assign(Object.assign({},o),{[s]:this.values[s]}):o,{});if(0!==Object.keys(r).length)return r}mapCredentials(){const t=this.authenticator&&this.authenticator.mapCredentials(this.values);if(t)return t}getInputUserProfile(t){return[...t.form.value]}getInputCredentials(t){return[...t.form.value]}getErrorMessages(t){return t.value[0].form.value.reduce((i,r)=>(r.messages&&i.push(r.messages.value[0].message),i),[])}}return e.remediationName="enroll-profile",e})(),$U=(()=>{class e extends oa{canRemediate(){return!0}}return e.remediationName="select-enroll-profile",e})();const Xfe={"select-enroll-profile":$U,"enroll-profile":FU,"authenticator-enrollment-data":Zw,"select-authenticator-enroll":Jw,"enroll-poll":_y,"select-enrollment-channel":xA,"enrollment-channel-data":EA,"enroll-authenticator":SA,skip:AA};let VU=(()=>{class e extends TA{constructor(){super(...arguments),this.map={identifier:["username"]}}canRemediate(){return!!this.getData("identifier")&&super.canRemediate()}mapAuthenticator(t){var i,r,o;const s=super.mapAuthenticator(t),a=null===(i=this.selectedOption)||void 0===i?void 0:i.value.form.value.find(({name:c}
1)=>"methodType"===c),l=this.values.methodType||a?.value||(null===(o=null===(r=a?.options)||void 0===r?void 0:r[0])||void 0===o?void 0:o.value);return l?Object.assign(Object.assign({},s),{methodType:l}):s}getInputUsername(){return{name:"username",type:"string"}}}return e.remediationName="select-authenticator-unlock-account",e})();const Zfe={identify:by,"select-authenticator-unlock-account":VU,"select-authenticator-authenticate":Qw,"challenge-authenticator":Ww,"challenge-poll":kA,"authenticator-verification-data":Xw,"reenroll-authenticator-warning":Yw};function MA(e,n="default"){let t,i,r=!0;switch(n){case"register":case"signup":case"enrollProfile":t=Xfe,r=!1;break;case"recoverPassword":case"resetPassword":t=Jfe,i=["currentAuthenticator-recover","currentAuthenticatorEnrollment-recover"],r=!1;break;case"unlockAccount":t=Zfe,r=!1,i=["unlock-account"];break;default:t=NU}return{flow:n,remediators:t,actions:i,withCredentials:r}}function epe(e,n){return DA.apply(this,arguments)}function DA(){return(DA=V(function*(e,n){const i=MA(0,e.transactionManager.load().flow);return wh(e,Object.assign(Object.assign(Object.assign({},n),i),{actions:["cancel"]}))})).apply(this,arguments)}function BU(e){var n=/\+/g,t=/([^&=]+)=?([^&]*)/g,i=e||"";"#"===i.charAt(0)&&"/"===i.charAt(1)&&(i=i.substring(2)),("#"===i.charAt(0)||"?"===i.charAt(0))&&(i=i.substring(1));for(var o,r={};o=t.exec(i);){var s=o[1],a=o[2];r[s]="id_token"===s||"access_token"===s||"code"===s?a:decodeURIComponent(a.replace(n," "))}return r}class tpe extends Rp{constructor(n,t){super(`Enter the OTP code in the originating client: ${t}`),this.name="EmailVerifyCallbackError",this.state=n,this.otp=t}}function npe(e){return"EmailVerifyCallbackError"===e.name}function UU(e){return/(otp=)/i.test(e)&&/(state=)/i.test(e)}function HU(e){return BU(e)}function ipe(e,n){return OA.apply(this,arguments)}function OA(){return(OA=V(function*(e,n){if(UU(n)){const{state:t,otp:i}=HU(n);if(e.idx.canProceed({state:t}))return yield e.idx.proceed({state:t,otp:i});throw new tpe(t,i)}})).apply(this,arguments)}function jU(e,n={}){return!(!gd(e,n)&&!n.stateHandle)}function zU(e){return IA.apply(this,arguments)}function IA(){return(IA=V(function*(e,n={}){if(!jU(e,n))throw new Ke("Unable to proceed: saved transaction could not be loaded");let{flow:t,state:i}=n;return t||(t=gd(e,{state:i})?.flow),wh(e,Object.assign(Object.assign({},n),{flow:t}))})).apply(this,arguments)}function GU(e){return PA.apply(this,arguments)}function PA(){return(PA=V(function*(e,n={}){var t;const{withCredentials:i,exchangeCodeForTokens:r}=n;let o=yield zU(e,{startPolling:!0,withCredentials:i,exchangeCodeForTokens:r});return(null===(t=gd(e)?.remediations)||void 0===t?void 0:t.find(l=>l.includes("poll")))?.length||uc("No polling remediations available at the current IDX flow stage"),Number.isInteger(n.refresh)?new Promise(function(l,c){setTimeout(V(function*(){var u,d;try{const f=null===(d=null===(u=o.nextStep)||void 0===u?void 0:u.poll)||void 0===d?void 0:d.refresh;l(f?GU(e,{refresh:f}):o)}catch(f){c(f)}}),n.refresh)}):o})).apply(this,arguments)}function RA(e){return NA.apply(this,arguments)}function NA(){return(NA=V(function*(e,n={}){return e.transactionManager.clear(),wh(e,Object.assign({exchangeCodeForTokens:!1},n))})).apply(this,arguments)}function rpe(e){return LA.apply(this,arguments)}function LA(){return(LA=V(function*(e,n={}){if(!_U(e)){const{enabledFeatures:t}=yield RA(e,Object.assign(Object.assign({},n),{flow:"register",autoRemediate:!1}));if(!n.activationToken&&t&&!t.includes(ru.REGISTRATION))throw new Ke("Registration is not supported based on your current org configuration.")}return wh(e,Object.assign(Object.assign({},n),{flow:"register"}))})).apply(this,arguments)}function ope(e){return FA.apply(this,arguments)}function FA(){return(FA=V(function*(e,n={}){const t=MA(0,"recoverPassword");return wh(e,Object.assign(Object.assign({},n),t))})).apply(this,arguments)}function spe(e,n){return $A.apply(this,arguments)}function $A(){return($A=V(function*(e,n){const t=e.transactionManager.load();if(!t)throw new Ke("No transaction data was found in storage");const{codeVerifier:i,state:r}=t,{searchParams:o}=new URL(n),s=o.get("state"),a=o.get("interaction_code"),l=o.get("error");
1if(l)throw new Lp(l,o.get("error_description"));if(s!==r)throw new Ke("State in redirect uri does not match with transaction state");if(!a)throw new Ke("Unable to parse interaction_code from the url");const{tokens:c}=yield e.token.exchangeCodeForTokens({interactionCode:a,codeVerifier:i});e.tokenManager.setTokens(c)})).apply(this,arguments)}function ape(e){return VA.apply(this,arguments)}function VA(){return(VA=V(function*(e,n={}){if(n.flow="unlockAccount",!_U(e)){const{enabledFeatures:t}=yield RA(e,Object.assign(Object.assign({},n),{autoRemediate:!1}));if(t&&!t.includes(ru.ACCOUNT_UNLOCK))throw new Ke("Self Service Account Unlock is not supported based on your current org configuration.")}return wh(e,Object.assign({},n))})).apply(this,arguments)}function qU(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode}function lpe(e){return AU(e)&&"invalid_grant"===e.errorCode&&"The refresh token is invalid or expired."===e.errorSummary}function WU(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function KU(e){return WU(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function BA(e){if(!function fpe(e,n){var t=n.options;return!(!e||!t.redirectUri)&&0===e.indexOf(t.redirectUri)}(window.location.href,e))return!1;var n=WU(e.options),t=KU(e.options);if(function hpe(e){return/[?&#]error=/.test(e)||/[?&#]error_description/.test(e)}(t))return!0;if(n){var i=function upe(e){return/[?&#]code=/.test(e)}(t)||function dpe(e){return/[?&#]interaction_code=/.test(e)}(t);return i}return function cpe(e){return/[?&#](id|access)_token=/.test(e)}(window.location.hash)}function mpe(e,n){if(!n){if(!BA(e))return!1;n=KU(e.options)}return/(error=interaction_required)/i.test(n)}class _pe{constructor(){this.environments=["okta-auth-js/7.14.1"],this.maybeAddNodeEnvironment()}addEnvironment(n){this.environments.push(n)}getHttpHeader(){return{"X-Okta-User-Agent-Extended":this.environments.join(" ")}}getVersion(){return"7.14.1"}maybeAddNodeEnvironment(){if(Wo()||!process||!process.versions)return;const{node:n}=process.versions;this.environments.push(`nodejs/${n}`)}}function bpe(e,n,t){e.options.headers=e.options.headers||{},e.options.headers[n]=t}function wy(e){return UA(fd(e))}function UA(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function HA(e){return e.replace(/-/g,"+").replace(/_/g,"/")}function jA(e){var n=HA(e);switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Ke("Not a valid Base64Url")}var t=QT(n);try{return decodeURIComponent(escape(t))}catch{return t}}function eC(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}function zA(e){return QT(HA(e))}function Cy(e){return Uint8Array.from(zA(e),n=>n.charCodeAt(0))}function Ch(e){return fd(new Uint8Array(e).reduce((n,t)=>n+String.fromCharCode(t),""))}function YU(e){var n=(new TextEncoder).encode(e);return ra.subtle.digest("SHA-256",n).then(function(t){var r=new Uint8Array(t).slice(0,16);return wy(String.fromCharCode.apply(null,r))})}function QU(e,n){n=ia(n);var i={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete n.use,ra.subtle.importKey("jwk",n,i,!0,["verify"]).then(function(s){var a=e.split("."),l=eC(a[0]+"."+a[1]),u=eC(zA(a[2]));return ra.subtle.verify(i,s,u,l)})}class GA{constructor(n={quiet:!1}){this.queue=[],this.running=!1,this.options=n}push(n,t,...i){return new Promise((r,o)=>{this.queue.length>0&&!1!==this.options.quiet&&uc("Async method is being called but another async method is already running. The new method will be delayed until the previous method completes."),this.queue.push({method:n,thisObject:t,args:i,resolve:r,reject:o}),this.run()})}run(){if(!this.running&&0!==this.queue.length){this.running=!0;var n=this.queue.shift(),t=n.method.apply(n.thisObject,n.args);!function jhe(e){return e&&e.finally&&"function"==typeof e.finally}(t)?(n.resolve(t),this.running=!1,this.run()):t.then(n.resolve,n.reject).finally(()=>{this.running=!1,this.run()})}}}function Cpe(e){return("0"+e.toString(16)).substr(-2)}var Sy={DEFAULT_CODE_CHALLENGE_METHOD:KT,generateVerifier:function xpe(e){var n=e||"";return n.length<WT&&(n+=function Spe(e){var n=new Uint8Array(Math.ceil(e/2));return ra.getRandomValues(n),Array.from(n,Cpe).join("").slice(0,e)}(WT-n.length)),encodeURIComponent(n).slice(0,uU)},computeChallenge:function Epe(e){var n=(new TextEncoder).encode(e);
1return ra.subtle.digest("SHA-256",n).then(function(t){return wy(String.fromCharCode.apply(null,new Uint8Array(t)))})}};function JU(e){var t,n=e.split(".");try{t={header:JSON.parse(jA(n[0])),payload:JSON.parse(jA(n[1])),signature:n[2]}}catch{throw new Ke("Malformed token")}return t}function tC(e){const{pkce:n,clientId:t,redirectUri:i,responseType:r,responseMode:o,scopes:s,acrValues:a,maxAge:l,state:c,ignoreSignature:u,dpop:d}=e.options,f=Wo()?window.location.href:void 0;return Ya({pkce:n,clientId:t,redirectUri:i||f,responseType:r||["token","id_token"],responseMode:o,state:c||jT(),nonce:JB(64),scopes:s||["openid","email"],acrValues:a,maxAge:l,ignoreSignature:u,dpop:d})}const qA="DPoPKeys";function XU(e){return(AU(e)||function xfe(e){return e instanceof dd}(e))&&"use_dpop_nonce"===e.errorCode}function Tpe(e,n,t){return WA.apply(this,arguments)}function WA(){return(WA=V(function*(e,n,t){const i=wy(JSON.stringify(e)),r=wy(JSON.stringify(n));return`${i}.${r}.${UA(Ch(yield ra.subtle.sign({name:t.algorithm.name},t,eC(`${i}.${r}`))))}`})).apply(this,arguments)}function ZU(e=32){return[...ra.getRandomValues(new Uint8Array(e))].map(n=>n.toString(16)).join("")}function Ape(){return KA.apply(this,arguments)}function KA(){return(KA=V(function*(){const e={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256",modulusLength:2048,publicExponent:new Uint8Array([1,0,1])};return ra.subtle.generateKey(e,!1,["sign","verify"])})).apply(this,arguments)}function Mpe(e){return YA.apply(this,arguments)}function YA(){return(YA=V(function*(e){const n=(new TextEncoder).encode(e),t=yield ra.subtle.digest("SHA-256",n);return fd(String.fromCharCode.apply(null,new Uint8Array(t))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")})).apply(this,arguments)}function Dpe(){return new Promise((e,n)=>{try{const i=window.indexedDB.open("OktaAuthJs",1);i.onerror=function(){n(i.error)},i.onupgradeneeded=function(){i.result.createObjectStore(qA)},i.onsuccess=function(){const r=i.result,o=r.transaction(qA,"readwrite");o.onerror=function(){n(o.error)};const s=o.objectStore(qA);e(s),o.oncomplete=function(){r.close()}}}catch(t){n(t)}})}function nC(e){return QA.apply(this,arguments)}function QA(){return(QA=V(function*(e,...n){const t=yield Dpe();return new Promise((i,r)=>{const o=t[e](...n);o.onsuccess=function(){i(o)},o.onerror=function(){r(o.error)}})})).apply(this,arguments)}function Ope(e,n){return JA.apply(this,arguments)}function JA(){return(JA=V(function*(e,n){return yield nC("add",n,e),n})).apply(this,arguments)}function XA(e){return ZA.apply(this,arguments)}function ZA(){return(ZA=V(function*(e){if(e){const n=yield nC("get",e);if(n.result)return n.result}throw new Ke("Unable to locate dpop key pair required for refresh"+(e?` (${e})`:""))})).apply(this,arguments)}function eM(e){return tM.apply(this,arguments)}function tM(){return(tM=V(function*(e){yield nC("delete",e)})).apply(this,arguments)}function nM(){return(nM=V(function*(){yield nC("clear")})).apply(this,arguments)}function Ppe(){return iM.apply(this,arguments)}function iM(){return(iM=V(function*(){const e=ZU(4),n=yield Ape();return yield Ope(e,n),{keyPair:n,keyPairId:e}})).apply(this,arguments)}function e5(e,n){return rM.apply(this,arguments)}function rM(){return(rM=V(function*(e,n){var t;let i=!1;const{accessToken:r,refreshToken:o}=n;"access"===e&&r&&"DPoP"===r.tokenType&&!o&&(i=!0),"refresh"===e&&o&&!r&&(i=!0);const s=null!==(t=r?.dpopPairId)&&void 0!==t?t:o?.dpopPairId;i&&s&&(yield eM(s))})).apply(this,arguments)}function t5(e){return oM.apply(this,arguments)}
1function oM(){return(oM=V(function*({keyPair:e,url:n,method:t,nonce:i,accessToken:r}){const{kty:o,crv:s,e:a,n:l,x:c,y:u}=yield ra.subtle.exportKey("jwk",e.publicKey),d={alg:"RS256",typ:"dpop+jwt",jwk:{kty:o,crv:s,e:a,n:l,x:c,y:u}},f={htm:t,htu:n,iat:Math.floor(Date.now()/1e3),jti:ZU()};return i&&(f.nonce=i),r&&(f.ath=yield Mpe(r)),Tpe(d,f,e.privateKey)})).apply(this,arguments)}function Rpe(e){return sM.apply(this,arguments)}function sM(){return(sM=V(function*({keyPair:e,url:n,method:t,nonce:i}){const r={keyPair:e,url:n,method:t};return i&&(r.nonce=i),t5(r)})).apply(this,arguments)}function Npe(e){if(!e.clientId)throw new Ke("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new Ke("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new Ke("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new Ke('The "codeVerifier" (generated and saved by your app) must be passed to /token')}function Lpe(e,n){var t=Ya({client_id:n.clientId,redirect_uri:n.redirectUri,grant_type:n.interactionCode?"interaction_code":"authorization_code",code_verifier:n.codeVerifier});n.interactionCode?t.interaction_code=n.interactionCode:n.authorizationCode&&(t.code=n.authorizationCode);const{clientSecret:i}=e.options;return i&&(t.client_secret=i),ou(t).slice(1)}function aM(e,n){return lM.apply(this,arguments)}function lM(){return(lM=V(function*(e,{url:n,data:t,nonce:i,dpopKeyPair:r}){var o,s;const a="POST",l={"Content-Type":"application/x-www-form-urlencoded"};if(e.options.dpop){if(!r)throw new Ke("DPoP is configured but no key pair was provided");const c=yield Rpe({url:n,method:a,nonce:i,keyPair:r});l.DPoP=c}try{return yield dc(e,{url:n,method:a,args:t,headers:l})}catch(c){if(XU(c)&&!i){const u=null===(o=c.resp)||void 0===o?void 0:o.headers["dpop-nonce"];if(!u)throw new _h({errorSummary:"No `dpop-nonce` header found when required"},null!==(s=c.resp)&&void 0!==s?s:void 0);return aM(e,{url:n,data:t,dpopKeyPair:r,nonce:u})}throw c}})).apply(this,arguments)}function Fpe(e,n,t){return cM.apply(this,arguments)}function cM(){return(cM=V(function*(e,n,t){Npe(n);var i=Lpe(e,n);return aM(e,{url:t.tokenUrl,data:i,dpopKeyPair:n?.dpopKeyPair})})).apply(this,arguments)}function $pe(e,n,t){return uM.apply(this,arguments)}function uM(){return(uM=V(function*(e,n,t){const i=Object.entries({client_id:n.clientId,grant_type:"refresh_token",scope:t.scopes.join(" "),refresh_token:t.refreshToken}).map(function([s,a]){return s+"="+encodeURIComponent(a)}).join("&");let r=t.tokenUrl;return n.extraParams&&Object.keys(n.extraParams).length>=1&&(r+=ou(n.extraParams)),aM(e,{url:r,data:i,dpopKeyPair:n?.dpopKeyPair})})).apply(this,arguments)}function iC(e,n){return Fp(e,(n||e.options.issuer)+"/.well-known/openid-configuration",{cacheResponse:!0})}function Vpe(e,n,t){var i=e.storageManager.getHttpCache(e.options.cookies);return iC(e,n).then(function(r){var o=r.jwks_uri,a=i.getStorage()[o];if(a&&Date.now()/1e3<a.expiresAt){var l=UT(a.response.keys,{kid:t});if(l)return l}return i.clearStorage(o),Fp(e,o,{cacheResponse:!0}).then(function(c){var u=UT(c.keys,{kid:t});if(u)return u;throw new Ke("The key id, "+t+", was not found in the server's keys")})})}function Bpe(e,n,t){const i=t.clientId,r=t.issuer,o=t.nonce,s=t.acrValues;if(!n||!r||!i)throw new Ke("The jwt, iss, and aud arguments are all required");if(o&&n.nonce!==o)throw new Ke("OAuth flow response nonce doesn't match request nonce");const a=Math.floor(Date.now()/1e3);if(n.iss!==r)throw new Ke("The issuer ["+n.iss+"] does not match ["+r+"]");if(Array.isArray(n.aud)&&n.aud.indexOf(i)<0||!Array.isArray(n.aud)&&n.aud!==i)throw new Ke("The audience ["+n.aud+"] does not match ["+i+"]");if(s&&n.acr!==s)throw new Ke("The acr ["+n.acr+"] does not match acr_values ["+s+"]");if(n.iat>n.exp)throw new Ke("The JWT expired before it was issued");if(!e.options.ignoreLifetime){if(a-e.options.maxClockSkew>n.exp)throw new Ke("The JWT expired and is no longer valid");if(n.iat>a+e.options.maxClockSkew)throw new Ke("The JWT was issued in the future")}}function n5(e,n,t){return dM.apply(this,arguments)}function dM(){return(dM=V(function*(e,n,t){if(!n||!n.idToken)throw new Ke("Only idTokens may be verified");
1const i=JU(n.idToken),r=t?.issuer||e.options.issuer,{issuer:o}=yield iC(e,r),s=Object.assign({clientId:e.options.clientId,ignoreSignature:e.options.ignoreSignature},t,{issuer:o});if(Bpe(e,i.payload,s),1==s.ignoreSignature||!e.features.isTokenVerifySupported())return n;const a=yield Vpe(e,n.issuer,i.header.kid);if(!(yield QU(n.idToken,a)))throw new Ke("The token signature is not valid");if(t&&t.accessToken&&n.claims.at_hash&&(yield YU(t.accessToken))!==n.claims.at_hash)throw new Ke("Token hash verification failed");return n})).apply(this,arguments)}function Upe(e,n){if(e.error&&e.error_description)throw new Lp(e.error,e.error_description);if(e.state!==n.state)throw new Ke("OAuth flow response state doesn't match request state")}function Bp(e,n,t,i){return hM.apply(this,arguments)}function hM(){return(hM=V(function*(e,n,t,i){var r,o;if(!1!==e.options.pkce&&(t.code||t.interaction_code))return e.token.exchangeCodeForTokens(Object.assign({},n,{authorizationCode:t.code,interactionCode:t.interaction_code}),i);n=n||tC(e),i=i||hd(e,n);let l,a=n.responseType||[];!Array.isArray(a)&&"none"!==a&&(a=[a]),l=t.scope?t.scope.split(" "):ia(n.scopes);const c=n.clientId||e.options.clientId;if(Upe(t,n),n.dpop){const{allowBearerTokens:R}=null!==(o=null===(r=e.options)||void 0===r?void 0:r.dpopOptions)&&void 0!==o?o:{allowBearerTokens:!1};if(!R&&"DPoP"!==t.token_type)throw new Ke('Unable to parse OAuth flow response: DPoP was configured but "token_type" was not DPoP')}const u={},d=t.expires_in,f=t.token_type,y=t.access_token,b=t.id_token,S=t.refresh_token,D=Math.floor(Date.now()/1e3);if(y){const R=e.token.decode(y);u.accessToken={accessToken:y,claims:R.payload,expiresAt:Number(d)+D,tokenType:f,scopes:l,authorizeUrl:i.authorizeUrl,userinfoUrl:i.userinfoUrl},n.dpopPairId&&(u.accessToken.dpopPairId=n.dpopPairId),n.extraParams&&(u.accessToken.extraParams=n.extraParams)}if(S&&(u.refreshToken={refreshToken:S,expiresAt:Number(d)+D,scopes:l,tokenUrl:i.tokenUrl,authorizeUrl:i.authorizeUrl,issuer:i.issuer},n.dpopPairId&&(u.refreshToken.dpopPairId=n.dpopPairId),n.extraParams&&(u.refreshToken.extraParams=n.extraParams)),b){const R=e.token.decode(b),G={idToken:b,claims:R.payload,expiresAt:R.payload.exp-R.payload.iat+D,scopes:l,authorizeUrl:i.authorizeUrl,issuer:i.issuer,clientId:c};n.extraParams&&(G.extraParams=n.extraParams);const H={clientId:c,issuer:i.issuer,nonce:n.nonce,accessToken:y,acrValues:n.acrValues};void 0!==n.ignoreSignature&&(H.ignoreSignature=n.ignoreSignature),yield n5(e,G,H),u.idToken=G}if(-1!==a.indexOf("token")&&!u.accessToken)throw new Ke('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');if(-1!==a.indexOf("id_token")&&!u.idToken)throw new Ke('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');return{tokens:u,state:t.state,code:t.code,responseType:a}})).apply(this,arguments)}function Hpe(e,n,t){return fM.apply(this,arguments)}function fM(){return(fM=V(function*(e,n,t){t=t||hd(e,n),n=Object.assign({},tC(e),ia(n));const{authorizationCode:i,interactionCode:r,codeVerifier:o,clientId:s,redirectUri:a,scopes:l,ignoreSignature:c,state:u,acrValues:d,dpop:f,dpopPairId:y,extraParams:b}=n,S={clientId:s,redirectUri:a,authorizationCode:i,interactionCode:r,codeVerifier:o,dpop:f},D=["token"];-1!==l.indexOf("openid")&&D.push("id_token");const R={clientId:s,redirectUri:a,scopes:l,responseType:D,ignoreSignature:c,acrValues:d,extraParams:b};try{if(f)if(y){const te=yield XA(y);S.dpopKeyPair=te,R.dpop=f,R.dpopPairId=y}else{const{keyPair:te,keyPairId:mt}=yield Ppe();S.dpopKeyPair=te,R.dpop=f,R.dpopPairId=mt}const G=yield Fpe(e,S,t),H=yield Bp(e,R,G,t);return H.code=i,H.state=u,H}finally{e.transactionManager.clear()}})).apply(this,arguments)}var Up=(()=>{return(e=Up||(Up={})).ACCESS="accessToken",e.ID="idToken",e.REFRESH="refreshToken",Up;var e})();function su(e){return e&&e.accessToken}function yd(e){return e&&e.idToken}function Sh(e){return e&&e.refreshToken}function pM(){return(pM=V(function*(e,n,t){if(n||(n=(yield e.tokenManager.getTokens()).accessToken),t||(t=(yield e.tokenManager.getTokens()).idToken),!n||!su(n))return Promise.reject(new Ke("getUserInfo requires an access token object"));if(!t||!yd(t))return Promise.reject(new Ke("getUserInfo requires an ID token object"));const i={url:n.userinfoUrl,method:"GET",accessToken:n.accessToken};if(e.options.dpop){const r=yield e.getDPoPAuthorizationHeaders(Object.assign(Object.assign({},i),{accessToken:n}));i.headers=r,delete i.accessToken}return dc(e,i).then(r=>r.sub===t.claims.sub?r:Promise.reject(new Ke("getUserInfo request was rejected due to token mismatch"))).catch(function(r){var o;if(r instanceof dd&&!e.options.dpop){const{error:s,errorDescription:a}=r;throw new Lp(s,a)}if(!e.options.dpop){let s=r;if(r instanceof _h&&(null===(o=r?.meta)||void 0===o?void 0:o.wwwAuthHeader)&&(s=dd.parseHeader(r.meta.wwwAuthHeader)),s instanceof dd){const{error:a,errorDescription:l}=s;throw new Lp(a,l)}}throw r})})).apply(this,arguments)}function r5(e,n,t){e.addEventListener?e.addEventListener(n,t):e.attachEvent("on"+n,t)}function o5(e,n,t){e.removeEventListener?e.removeEventListener(n,t):e.detachEvent("on"+n,t)}function zpe(e){var n=document.createElement("iframe");return n.style.display="none",n.src=e,document.body.appendChild(n)}
1function s5(e,n){return window.open(e,n.popupTitle||"External Identity Provider User Authentication","toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600")}function a5(e,n,t){var i,r;return new Promise(function(s,a){i=function(c){if(c.data&&c.data.state===t){if(c.origin!==e.getIssuerOrigin())return a(new Ke("The request does not match client configuration"));s(c.data)}},r5(window,"message",i),r=setTimeout(function(){a(new Ke("OAuth flow timed out"))},n||12e4)}).finally(function(){clearTimeout(r),o5(window,"message",i)})}function Gpe(e,n,t,i){let r;return new Promise((s,a)=>{t.onmessage=l=>{if(l.isTrusted&&l.data){if("object"==typeof l.data&&i===l.data.state)return s(Object.assign({},l.data));a(new Ke("Unable to complete auth code exchange"))}},r=setTimeout(function(){a(new Ke("OAuth flow timed out"))},n||12e4)}).finally(()=>{clearTimeout(r),t.close()})}function qpe(e){if(!e.features.isPKCESupported()){var n="PKCE requires a modern browser with encryption support running in a secure context.";throw e.features.isHTTPS()||(n+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(n+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),new Ke(n)}}function Wpe(e,n){return mM.apply(this,arguments)}function mM(){return(mM=V(function*(e,n){if(n=n||e.options.codeChallengeMethod||KT,-1===((yield iC(e)).code_challenge_methods_supported||[]).indexOf(n))throw new Ke("Invalid code_challenge_method");return n})).apply(this,arguments)}function Kpe(e,n){return gM.apply(this,arguments)}function gM(){return(gM=V(function*(e,n){let{codeVerifier:t,codeChallenge:i,codeChallengeMethod:r}=n;return i=i||e.options.codeChallenge,i||(qpe(e),t=t||Sy.generateVerifier(),i=yield Sy.computeChallenge(t)),r=yield Wpe(e,r),Object.assign(Object.assign({},n),{responseType:"code",codeVerifier:t,codeChallenge:i,codeChallengeMethod:r})})).apply(this,arguments)}function yM(e){return vM.apply(this,arguments)}function vM(){return(vM=V(function*(e,n={}){const t=tC(e);if((n=Object.assign(Object.assign({},t),n)).dpop&&!e.features.isDPoPSupported())throw new Ke("DPoP has been configured, but is not supported by browser");return!1===n.pkce?n:Kpe(e,n)})).apply(this,arguments)}function _M(e){var n=function Ype(e){if(!e.clientId)throw new Ke("A clientId must be specified in the OktaAuth constructor to get a token");if(Np(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new Ke("Multiple OAuth responseTypes must be defined as an array");var n={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state,acr_values:e.acrValues,enroll_amr_values:e.enrollAmrValues};if(n=Ya(n),["idp_scope","response_type","enroll_amr_values"].forEach(function(t){Array.isArray(n[t])&&(n[t]=n[t].join(" "))}),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new Ke("openid scope must be specified in the scopes argument when requesting an id_token");return e.scopes&&(n.scope=e.scopes.join(" ")),n}(e);return ou(Object.assign(Object.assign({},n),e.extraParams&&Object.assign({},e.extraParams)))}function bM(e,n){if(arguments.length>2)return Promise.reject(new Ke('As of version 3.0, "getToken" takes only a single set of options'));const t=(n=n||{}).popupWindow;return n.popupWindow=void 0,yM(e,n).then(function(i){var s,l;switch(n.sessionToken?Object.assign(i,{prompt:"none",responseMode:"okta_post_message",display:null}):n.idp&&Object.assign(i,{display:"popup"}),l=hd(e,i),s=(n.codeVerifier?l.tokenUrl:l.authorizeUrl)+_M(i),i.sessionToken||null===i.display?"IFRAME":"popup"===i.display?n.idpPopup?"IDP_POPUP":"POPUP":"IMPLICIT"){case"IFRAME":var u=a5(e,n.timeout,i.state),d=zpe(s);return u.then(function(S){return Bp(e,i,S,l)}).finally(function(){var S;document.body.contains(d)&&(null===(S=d.parentElement)||void 0===S||S.removeChild(d))});case"POPUP":var f;if("okta_post_message"===i.responseMode){if(!e.features.isPopupPostMessageSupported())throw new Ke("This browser doesn't have full postMessage support");f=a5(e,n.timeout,i.state)}return t&&t.location.assign(s),new Promise(function(S,D){var R=setInterval(function(){(!t||t.closed)&&(clearInterval(R),D(new Ke("Unable to parse OAuth flow response")))},100);f.then(function(G){clearInterval(R),S(G)}
1).catch(function(G){clearInterval(R),D(G)})}).then(function(S){return Bp(e,i,S,l)}).finally(function(){t&&!t.closed&&t.close()});case"IDP_POPUP":var b=Gpe(0,n.timeout,n.channel,i.state);if(!t)throw new Ke("Unable to open popup window");return t.location.assign(s),b.then(function(S){return Bp(e,i,S,l)});default:throw new Ke("The full page redirect flow is not supported")}})}function wM(e,n){return arguments.length>2?Promise.reject(new Ke('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(n=ia(n)||{},Object.assign(n,{prompt:"none",responseMode:"okta_post_message",display:null}),bM(e,n))}function Qpe(e,n){if(arguments.length>2)return Promise.reject(new Ke('As of version 3.0, "getWithPopup" takes only a single set of options'));const{initialPath:t}=n,i=bh(n,["initialPath"]),r=s5(t??"/",i);return n=ia(i)||{},Object.assign(i,{display:"popup",responseMode:"okta_post_message",popupWindow:r}),bM(e,i)}function Jpe(e,n){try{if(!BroadcastChannel)throw new Ke("Modern browser with `BroadcastChannel` support is required to use this method");if(!n.redirectUri)throw new Ke("`redirectUri` is a required param for `getWithIDPPopup`");n.state||(n.state=jT());const t=s5("/",n),i=new BroadcastChannel(`popup-callback:${n.state}`);let r;return n=ia(n)||{},Object.assign(n,{display:"popup",responseMode:"query",popupWindow:t,idpPopup:!0,channel:i}),{promise:new Promise((a,l)=>(r=l,bM(e,n).then(c=>a(c)).catch(c=>l(c)))),cancel:()=>{i.close(),r(new Ke("Popup flow canceled"))}}}catch(t){return{promise:Promise.reject(t),cancel:()=>{}}}}function Xpe(e,n){return CM.apply(this,arguments)}function CM(){return CM=V(function*(e,n){if(arguments.length>2)return Promise.reject(new Ke('As of version 3.0, "getWithRedirect" takes only a single set of options'));n=ia(n)||{};const t=yield yM(e,n),i=eU(e,t),r=i.urls.authorizeUrl+_M(t);e.transactionManager.save(i),e.options.setLocation?e.options.setLocation(r):window.location.assign(r)}),CM.apply(this,arguments)}function l5(e){return e.options.responseMode||(e.options.pkce?"query":"fragment")}function SM(e,n){Np(n=n||{})&&(n={url:n});var o,t=n.url,i=n.responseMode||l5(e),r=e.token.parseFromUrl._getLocation();if(!(o="query"===i?t?t.substring(t.indexOf("?")):r.search:t?t.substring(t.indexOf("#")):r.hash))throw new Ke("Unable to parse a token from the url");return BU(o)}function tme(e,n){"query"===(n.responseMode||l5(e))?function eme(e){var n=e.token.parseFromUrl._getHistory(),t=e.token.parseFromUrl._getDocument(),i=e.token.parseFromUrl._getLocation();n&&n.replaceState?n.replaceState(null,t.title,i.pathname+i.hash):i.search=""}(e):function Zpe(e){var n=e.token.parseFromUrl._getHistory(),t=e.token.parseFromUrl._getDocument(),i=e.token.parseFromUrl._getLocation();n&&n.replaceState?n.replaceState(null,t.title,i.pathname+i.search):i.hash=""}(e)}function nme(e,n){return xM.apply(this,arguments)}function xM(){return(xM=V(function*(e,n){Np(n=n||{})&&(n={url:n});const t=SM(e,n),i=t.state,r=e.transactionManager.load({state:i});if(!r)throw e.options.pkce?new Ke("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",void 0):new Ke("Unable to retrieve OAuth redirect params from storage");const o=r.urls;return delete r.urls,n.url||tme(e,n),Bp(e,r,t,o).catch(s=>{throw qU(s)||e.transactionManager.clear({state:i}),s}).then(s=>(e.transactionManager.clear({state:i}),s))})).apply(this,arguments)}function ime(e,n){return e.refreshToken===n.refreshToken}function EM(e,n,t){return kM.apply(this,arguments)}function kM(){return(kM=V(function*(e,n,t){const{clientId:i,dpop:r}=e.options;if(!i)throw new Ke("A clientId must be specified in the OktaAuth constructor to renew tokens");try{const o=Object.assign({},n,{clientId:i});t.extraParams&&(o.extraParams=t.extraParams);const s=Object.assign({},o);if(r){const d=yield XA(t?.dpopPairId);s.dpopKeyPair=d,o.dpop=r,o.dpopPairId=t.dpopPairId}const a=yield $pe(e,s,t),l=hd(e,n),{tokens:c}=yield Bp(e,o,a,l),{refreshToken:u}=c;return u&&!ime(u,t)&&e.tokenManager.updateRefreshToken(u),c}catch(o){throw lpe(o)&&e.tokenManager.removeRefreshToken(),o}}
1)).apply(this,arguments)}function c5(){throw new Ke("Renew must be passed a token with an array of scopes and an accessToken or idToken")}function u5(e,n){return yd(e)?n.idToken:su(e)?n.accessToken:void c5()}function rme(e,n){return TM.apply(this,arguments)}function TM(){return(TM=V(function*(e,n){!yd(n)&&!su(n)&&c5();let t=e.tokenManager.getTokensSync();if(t.refreshToken)return t=yield EM(e,{scopes:n.scopes},t.refreshToken),u5(n,t);var i;i=e.options.pkce?"code":su(n)?"token":"id_token";const{scopes:r,authorizeUrl:o,userinfoUrl:s,issuer:a,dpopPairId:l,extraParams:c}=n;return wM(e,{responseType:i,scopes:r,authorizeUrl:o,userinfoUrl:s,issuer:a,dpopPairId:l,extraParams:c}).then(function(u){return u5(n,u.tokens)})})).apply(this,arguments)}function ome(e,n){return AM.apply(this,arguments)}function AM(){return(AM=V(function*(e,n){var t;const i=null!==(t=n?.tokens)&&void 0!==t?t:e.tokenManager.getTokensSync();if(i.refreshToken)return EM(e,n||{},i.refreshToken);if(!i.accessToken&&!i.idToken)throw new Ke("renewTokens() was called but there is no existing token");const r=i.accessToken||{},o=i.idToken||{},s=r.scopes||o.scopes;if(!s)throw new Ke("renewTokens: invalid tokens: could not read scopes");const a=r.authorizeUrl||o.authorizeUrl;if(!a)throw new Ke("renewTokens: invalid tokens: could not read authorizeUrl");const u=r?.dpopPairId;if(n=Object.assign({scopes:s,authorizeUrl:a,userinfoUrl:r.userinfoUrl||e.options.userinfoUrl,issuer:o.issuer||e.options.issuer,dpopPairId:u,extraParams:r?.extraParams||o?.extraParams},n),e.options.pkce)n.responseType="code";else{const{responseType:f}=tC(e);n.responseType=f}return wM(e,n).then(f=>f.tokens)})).apply(this,arguments)}function sme(e,n){return MM.apply(this,arguments)}function MM(){return(MM=V(function*(e,n){let t="",i="";if(n&&(t=n.accessToken,i=n.refreshToken),!t&&!i)throw new Ke("A valid access or refresh token object is required");var r=e.options.clientId,o=e.options.clientSecret;if(!r)throw new Ke("A clientId must be specified in the OktaAuth constructor to revoke a token");return pd(e,hd(e).revokeUrl,ou({token_type_hint:i?"refresh_token":"access_token",token:i||t}).slice(1),{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+fd(o?`${r}:${o}`:r)}})})).apply(this,arguments)}const ame={accessToken:"access_token",idToken:"id_token",refreshToken:"refresh_token"};function lme(e,n,t){return DM.apply(this,arguments)}function DM(){return(DM=V(function*(e,n,t){var i;let r,o=e.options.clientId,s=e.options.clientSecret;if(t||(t=e.tokenManager.getTokens()[n]),!t)throw new Ke(`unable to find ${n} in storage or fn params`);if(r=n!==Up.ACCESS?t?.issuer:null===(i=t?.claims)||void 0===i?void 0:i.iss,r=r||e.options.issuer,!o)throw new Ke("A clientId must be specified in the OktaAuth constructor to introspect a token");if(!r)throw new Ke("Unable to find issuer");const{introspection_endpoint:a}=yield iC(e,r),l=fd(s?`${o}:${s}`:o);return pd(e,a,ou({token_type_hint:ame[n],token:t[n]}).slice(1),{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+l}})})).apply(this,arguments)}function fme(e,n){const t=function hme(e,n){return function dme(e){if(!(e=Object.assign(Object.assign({},e),{responseType:"none",prompt:"enroll_authenticator",maxAge:0})).enrollAmrValues)throw new Ke("enroll_amr_values must be specified");if(!e.acrValues)throw new Ke("acr_values must be specified");return delete e.scopes,delete e.nonce,e}(Object.assign(Object.assign({},function ume(e){const{clientId:n,redirectUri:t,responseMode:i,state:r}=e.options,o=Wo()?window.location.href:void 0;return Ya({clientId:n,redirectUri:t||o,responseMode:i,state:r||jT(),responseType:"none",prompt:"enroll_authenticator"})}(e)),n))}(e,n=ia(n)||{}),i=function cme(e,n){return{issuer:e.options.issuer,urls:hd(e,n),clientId:n.clientId,redirectUri:n.redirectUri,responseType:n.responseType,responseMode:n.responseMode,state:n.state,acrValues:n.acrValues,enrollAmrValues:n.enrollAmrValues}}(e,t),r=i.urls.authorizeUrl+_M(t);e.transactionManager.save(i),e.options.setLocation?e.options.setLocation(r):window.location.assign(r)}function pme(e,n){const t=l=>GA.prototype.push.bind(n,l,null),i=t(Xpe.bind(null,e)),r=t(nme.bind(null,e)),o=Object.assign(r,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),s={prepareTokenParams:yM.bind(null,e),exchangeCodeForTokens:Hpe.bind(null,e),getWithoutPrompt:wM.bind(null,e),getWithPopup:Qpe.bind(null,e),getWithIDPPopup:Jpe.bind(null,e),getWithRedirect:i,parseFromUrl:o,decode:JU,revoke:sme.bind(null,e),renew:rme.bind(null,e),renewTokensWithRefresh:EM.bind(null,e),renewTokens:ome.bind(null,e),getUserInfo:(l,c)=>function jpe(e,n,t){return pM.apply(this,arguments)}(e,l,c),verify:n5.bind(null,e),isLoginRedirect:BA.bind(null,e),introspect:lme.bind(null,e)};return["getWithoutPrompt","getWithPopup","revoke","renew","renewTokensWithRefresh","renewTokens"].forEach(l=>{s[l]=t(s[l])}),s}function rC(e,n){if(!yd(e)&&!su(e)&&!Sh(e))throw new Ke("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property");if("accessToken"===n&&!su(e))throw new Ke("invalid accessToken");if("idToken"===n&&!yd(e))throw new Ke("invalid idToken");if("refreshToken"===n&&!Sh(e))throw new Ke("invalid refreshToken")}class OM{constructor(n){this.localOffset=parseInt(n||0)}static create(){return new OM(0)}now(){return(Date.now()+this.localOffset)/1e3}}const IM="expired",Hp="renewed",xh="added",Eh="removed",xy="set_storage",d5={autoRenew:!0,autoRemove:!0,syncStorage:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:GT};class vme{constructor(n,t={}){if(this.sdk=n,this.emitter=n.emitter,!this.emitter)throw new Ke("Emitter should be initialized before TokenManager");t=Object.assign({},d5,Ya(t)),gU()||(t.expireEarlySeconds=d5.expireEarlySeconds),this.options=t;const i=Ya({storageKey:t.storageKey,secure:t.secure});"object"==typeof t.storage?i.storageProvider=t.storage:t.storage&&(i.storageType=t.storage),this.storage=n.storageManager.getTokenStorage(Object.assign(Object.assign({},i),{useSeparateCookies:!0})),this.clock=OM.create(),this.state={expireTimeouts:{},renewPromise:null}}on(n,t,i){i?this.emitter.on(n,t,i):this.emitter.on(n,t)}off(n,t){t?this.emitter.off(n,t):this.emitter.off(n)}start(){this.options.clearPendingRemoveTokens&&this.clearPendingRemoveTokens(),this.setExpireEventTimeoutAll(),this.state.started=!0}stop(){this.clearExpireEventTimeoutAll(),this.state.started=!1}isStarted(){return!!this.state.started}getOptions(){return ia(this.options)}getExpireTime(n){return n.expiresAt-(this.options.expireEarlySeconds||0)}hasExpired(n){return this.getExpireTime(n)<=this.clock.now()}emitExpired(n,t){this.emitter.emit(IM,n,t)}emitRenewed(n,t,i){this.emitter.emit(Hp,n,t,i)}emitAdded(n,t){this.emitter.emit(xh,n,t)}emitRemoved(n,t){this.emitter.emit(Eh,n,t)}emitError(n){this.emitter.emit("error",n)}clearExpireEventTimeout(n){clearTimeout(this.state.expireTimeouts[n]),delete this.state.expireTimeouts[n],this.state.renewPromise=null}clearExpireEventTimeoutAll(){var n=this.state.expireTimeouts;for(var t in n)!Object.prototype.hasOwnProperty.call(n,t)||this.clearExpireEventTimeout(t)}setExpireEventTimeout(n,t){if(!Sh(t)){var i=this.getExpireTime(t),r=1e3*Math.max(i-this.clock.now(),0);this.clearExpireEventTimeout(n);var o=setTimeout(()=>{this.emitExpired(n,t)},r);this.state.expireTimeouts[n]=o}}setExpireEventTimeoutAll(){var n=this.storage.getStorage();for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&this.setExpireEventTimeout(t,n[t])}resetExpireEventTimeoutAll(){this.clearExpireEventTimeoutAll(),this.setExpireEventTimeoutAll()}add(n,t){var i=this.storage.getStorage();rC(t),i[n]=t,this.storage.setStorage(i),this.emitSetStorageEvent(),this.emitAdded(n,t),this.setExpireEventTimeout(n,t)}getSync(n){return this.storage.getStorage()[n]}get(n){var t=this;return V(function*(){return t.getSync(n)})()}getTokensSync(){const n={},t=this.storage.getStorage();return Object.keys(t).forEach(i=>
1{const r=t[i];su(r)?n.accessToken=r:yd(r)?n.idToken=r:Sh(r)&&(n.refreshToken=r)}),n}getTokens(){var n=this;return V(function*(){return n.getTokensSync()})()}getStorageKeyByType(n){const t=this.storage.getStorage();return Object.keys(t).filter(r=>{const o=t[r];return su(o)&&"accessToken"===n||yd(o)&&"idToken"===n||Sh(o)&&"refreshToken"===n})[0]}getTokenType(n){if(su(n))return"accessToken";if(yd(n))return"idToken";if(Sh(n))return"refreshToken";throw new Ke("Unknown token type")}emitSetStorageEvent(){if(Vw()){const n=this.storage.getStorage();this.emitter.emit(xy,n)}}getStorage(){return this.storage}setTokens(n,t,i,r){const o=(f,y)=>{const b=this.getTokenType(y);"accessToken"===b?t&&t(f,y):"idToken"===b?i&&i(f,y):"refreshToken"===b&&r&&r(f,y)},s=(f,y)=>{this.emitAdded(f,y),this.setExpireEventTimeout(f,y),o(f,y)},a=(f,y,b)=>{this.emitRenewed(f,y,b),this.clearExpireEventTimeout(f),this.setExpireEventTimeout(f,y),o(f,y)},l=(f,y)=>{this.clearExpireEventTimeout(f),this.emitRemoved(f,y),o(f,y)},c=["idToken","accessToken","refreshToken"],u=this.getTokensSync();c.forEach(f=>{const y=n[f];y&&rC(y,f)});const d=c.reduce((f,y)=>{const b=n[y];return b&&(f[this.getStorageKeyByType(y)||y]=b),f},{});this.storage.setStorage(d),this.emitSetStorageEvent(),c.forEach(f=>{const y=n[f],b=u[f],S=this.getStorageKeyByType(f)||f;y&&b?(l(S,b),s(S,y),a(S,y,b)):y?s(S,y):b&&l(S,b)})}remove(n){this.clearExpireEventTimeout(n);var t=this.storage.getStorage(),i=t[n];delete t[n],this.storage.setStorage(t),this.emitSetStorageEvent(),this.emitRemoved(n,i)}renewToken(n){var t=this;return V(function*(){var i;return null===(i=t.sdk.token)||void 0===i?void 0:i.renew(n)})()}validateToken(n){return rC(n)}renew(n){if(this.state.renewPromise)return this.state.renewPromise;try{var t=this.getSync(n);let r=void 0!==t;if(!t&&"accessToken"===n){const o=this.getStorageKeyByType("refreshToken");r=void 0!==this.getSync(o)}if(!r)throw new Ke("The tokenManager has no token for the key: "+n)}catch(r){return this.emitError(r),Promise.reject(r)}return this.clearExpireEventTimeout(n),this.state.renewPromise=this.sdk.token.renewTokens().then(r=>{if(this.setTokens(r),!t&&"accessToken"===n){const s=r.accessToken;return this.emitRenewed(n,s,null),s}return r[this.getTokenType(t)]}).catch(r=>{throw this.remove(n),r.tokenKey=n,this.emitError(r),r}).finally(()=>{this.state.renewPromise=null})}clear(){const n=this.getTokensSync();this.clearExpireEventTimeoutAll(),this.storage.clearStorage(),this.emitSetStorageEvent(),Object.keys(n).forEach(t=>{this.emitRemoved(t,n[t])})}clearPendingRemoveTokens(){const n=this.storage.getStorage(),t={};Object.keys(n).forEach(i=>{n[i].pendingRemove&&(t[i]=n[i],delete n[i])}),this.storage.setStorage(n),this.emitSetStorageEvent(),Object.keys(t).forEach(i=>{this.clearExpireEventTimeout(i),this.emitRemoved(i,t[i])})}updateRefreshToken(n){const t=this.getStorageKeyByType("refreshToken")||qT;var i=this.storage.getStorage();rC(n),i[t]=n,this.storage.setStorage(i),this.emitSetStorageEvent()}removeRefreshToken(){const n=this.getStorageKeyByType("refreshToken")||qT;this.remove(n)}addPendingRemoveFlags(){const n=this.getTokensSync();Object.keys(n).forEach(t=>{n[t].pendingRemove=!0}),this.setTokens(n)}}var oC={browserHasLocalStorage:function(){try{var e=this.getLocalStorage();return this.testStorage(e)}catch{return!1}},browserHasSessionStorage:function(){try{var e=this.getSessionStorage();return this.testStorage(e)}catch{return!1}},testStorageType:function(e){var n=!1;switch(e){case"sessionStorage":n=this.browserHasSessionStorage();break;case"localStorage":n=this.browserHasLocalStorage();break;case"cookie":case"memory":n=!0;break;default:n=!1}return n},getStorageByType:function(e,n){let t;switch(e){case"sessionStorage":t=this.getSessionStorage();break;case"localStorage":t=this.getLocalStorage();break;case"cookie":t=this.getCookieStorage(n);break;case"memory":t=this.getInMemoryStorage();break;default:throw new Ke(`Unrecognized storage option: ${e}`)}return t},findStorageType:function(e){let n,t;return n=(e=e.slice()).shift(),t=e.length?e[0]:null,!t||this.testStorageType(n)?n:(uc(`This browser doesn't support ${n}. Switching to ${t}.`),this.findStorageType(e))},getLocalStorage:function(){return Vw()&&!window.onstorage&&(window.onstorage=function(){}),localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){const n=e.secure,t=e.sameSite,i=e.sessionCookie;if(typeof n>"u"||typeof t>"u")throw new Ke('getCookieStorage: "secure" and "sameSite" options must be provided');const r={getItem:this.storage.get,setItem:(o,s,a="2200-01-01T00:00:00.000Z")=>{this.storage.set(o,s,a=i?null:a,{secure:n,sameSite:t})},removeItem:o=>{this.storage.delete(o)}};return e.useSeparateCookies?{getItem:function(o){var s=r.getItem(),a={};
1return Object.keys(s).forEach(l=>{0===l.indexOf(o)&&(a[l.replace(`${o}_`,"")]=JSON.parse(s[l]))}),JSON.stringify(a)},setItem:function(o,s){var a=JSON.parse(this.getItem(o));s=JSON.parse(s),Object.keys(s).forEach(l=>{var c=o+"_"+l,u=JSON.stringify(s[l]);r.setItem(c,u),delete a[l]}),Object.keys(a).forEach(l=>{r.removeItem(o+"_"+l)})},removeItem:function(o){var s=JSON.parse(this.getItem(o));Object.keys(s).forEach(a=>{r.removeItem(o+"_"+a)})}}:r},inMemoryStore:{},getInMemoryStorage:function(){return{getItem:e=>this.inMemoryStore[e],setItem:(e,n)=>{this.inMemoryStore[e]=n}}},testStorage:function(e){var n="okta-test-storage";try{return e.setItem(n,n),e.removeItem(n),!0}catch{return!1}},storage:{set:function(e,n,t,i){const{sameSite:r,secure:o}=i;if(typeof o>"u"||typeof r>"u")throw new Ke('storage.set: "secure" and "sameSite" options must be provided');var s={path:i.path||"/",secure:o,sameSite:r};return Date.parse(t)&&(s.expires=new Date(t)),md.set(e,n,s),this.get(e)},get:function(e){return arguments.length?md.get(e):md.get()},delete:function(e){return md.remove(e,{path:"/"})}}};var h5=Ce(781);const f5={updateAuthStatePromise:null,canceledTimes:0},PM="authStateChange";class xme{constructor(n){if(!n.emitter)throw new Ke("Emitter should be initialized before AuthStateManager");this._sdk=n,this._pending=Object.assign({},f5),this._authState=null,this._logOptions={},this._prevAuthState=null,this._transformQueue=new GA({quiet:!0}),n.tokenManager.on(xh,(t,i)=>{this._setLogOptions({event:xh,key:t,token:i}),this.updateAuthState()}),n.tokenManager.on(Eh,(t,i)=>{this._setLogOptions({event:Eh,key:t,token:i}),this.updateAuthState()})}_setLogOptions(n){this._logOptions=n}getAuthState(){return this._authState}getPreviousAuthState(){return this._prevAuthState}updateAuthState(){var n=this;return V(function*(){const{transformAuthState:t,devMode:i}=n._sdk.options,r=l=>{const{event:c,key:u,token:d}=n._logOptions;Pp().group(`OKTA-AUTH-JS:updateAuthState: Event:${c} Status:${l}`),Pp().log(u,d),Pp().log("Current authState",n._authState),Pp().groupEnd(),n._logOptions={}},s=l=>n._pending.updateAuthStatePromise.then(()=>{const c=n._pending.updateAuthStatePromise;return c&&c!==l?s(c):n.getAuthState()});if(n._pending.updateAuthStatePromise){if(n._pending.canceledTimes>=10)return i&&r("terminated"),s(n._pending.updateAuthStatePromise);n._pending.updateAuthStatePromise.cancel()}const a=new h5((l,c,u)=>{u.shouldReject=!1,u(()=>{n._pending.updateAuthStatePromise=null,n._pending.canceledTimes=n._pending.canceledTimes+1,i&&r("canceled")});const d=f=>{a.isCanceled?l():((l=>{((e,n)=>!!e&&e.isAuthenticated===n.isAuthenticated&&JSON.stringify(e.idToken)===JSON.stringify(n.idToken)&&JSON.stringify(e.accessToken)===JSON.stringify(n.accessToken)&&e.error===n.error)(n._authState,l)?i&&r("unchanged"):(n._prevAuthState=n._authState,n._authState=l,n._sdk.emitter.emit(PM,Object.assign({},l)),i&&r("emitted"))})(f),l(),n._pending=Object.assign({},f5))};n._sdk.isAuthenticated().then(()=>{if(a.isCanceled)return void l();const{accessToken:f,idToken:y,refreshToken:b}=n._sdk.tokenManager.getTokensSync(),S={accessToken:f,idToken:y,refreshToken:b,isAuthenticated:!(!f||!y)};(t?n._transformQueue.push(t,null,n._sdk,S):Promise.resolve(S)).then(R=>d(R)).catch(R=>d({accessToken:f,idToken:y,refreshToken:b,isAuthenticated:!1,error:R}))})});return n._pending.updateAuthStatePromise=a,s(a)})()}subscribe(n){this._sdk.emitter.on(PM,n)}unsubscribe(n){this._sdk.emitter.off(PM,n)}}class Eme{constructor(n,t={}){this.started=!1,this.tokenManager=n,this.options=t,this.renewTimeQueue=[],this.onTokenExpiredHandler=this.onTokenExpiredHandler.bind(this)}shouldThrottleRenew(){let n=!1;if(this.renewTimeQueue.push(Date.now()),this.renewTimeQueue.length>=10){const t=this.renewTimeQueue.shift();n=this.renewTimeQueue[this.renewTimeQueue.length-1]-t<3e4}return n}requiresLeadership(){return!!this.options.syncStorage&&Wo()}processExpiredTokens(){const t=this.tokenManager.getStorage().getStorage();Object.keys(t).forEach(i=>{const r=t[i];!Sh(r)&&this.tokenManager.hasExpired(r)&&this.onTokenExpiredHandler(i)})}onTokenExpiredHandler(n){if(this.options.autoRenew)if(this.shouldThrottleRenew()){const t=new Ke("Too many token renew requests");this.tokenManager.emitError(t)}else this.tokenManager.renew(n).catch(()=>{});else this.options.autoRemove&&this.tokenManager.remove(n)}canStart(){return!(!this.options.autoRenew&&!this.options.autoRemove||this.started)}start(){var n=this;return V(function*(){n.canStart()&&(n.tokenManager.on(IM,n.onTokenExpiredHandler),n.tokenManager.isStarted()&&n.processExpiredTokens(),n.started=!0)})()}stop(){var n=this;return V(function*(){n.started&&(n.tokenManager.off(IM,n.onTokenExpiredHandler),n.renewTimeQueue=[],n.started=!1)})()}isStarted(){return this.started}}Promise.resolve(!1);var Tme=Promise.resolve(!0),au=Promise.resolve();
1function kh(e,n){return e||(e=0),new Promise(function(t){return setTimeout(function(){return t(n)},e)})}function Ey(){return Math.random().toString(36).substring(2)}var p5=0,RM=0;function sC(){var e=(new Date).getTime();return e===p5?1e3*e+ ++RM:(p5=e,RM=0,1e3*e)}var $me={create:function Ime(e){var n={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return n.bc.onmessage=function(t){n.messagesCallback&&n.messagesCallback(t.data)},n},close:function Pme(e){e.bc.close(),e.subFns=[]},onMessage:function Nme(e,n){e.messagesCallback=n},postMessage:function Rme(e,n){try{return e.bc.postMessage(n,!1),au}catch(t){return Promise.reject(t)}},canBeUsed:function Lme(){if((typeof window<"u"||typeof self<"u")&&"function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function Fme(){return 150},microSeconds:sC},m5=function(){function e(n){this.ttl=n,this.map=new Map,this._to=!1}return e.prototype.has=function(n){return this.map.has(n)},e.prototype.add=function(n){var t=this;this.map.set(n,g5()),this._to||(this._to=!0,setTimeout(function(){t._to=!1,function Vme(e){for(var n=g5()-e.ttl,t=e.map[Symbol.iterator]();;){var i=t.next().value;if(!i)return;if(!(i[1]<n))return;e.map.delete(i[0])}}(t)},0))},e.prototype.clear=function(){this.map.clear()},e}();function g5(){return(new Date).getTime()}function NM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=JSON.parse(JSON.stringify(e));return typeof n.webWorkerSupport>"u"&&(n.webWorkerSupport=!0),n.idb||(n.idb={}),n.idb.ttl||(n.idb.ttl=45e3),n.idb.fallbackInterval||(n.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(n.idb.onclose=e.idb.onclose),n.localstorage||(n.localstorage={}),n.localstorage.removeTimeout||(n.localstorage.removeTimeout=6e4),e.methods&&(n.methods=e.methods),n.node||(n.node={}),n.node.ttl||(n.node.ttl=12e4),n.node.maxParallelWrites||(n.node.maxParallelWrites=2048),typeof n.node.useFastPath>"u"&&(n.node.useFastPath=!0),n}var Sl="messages",ky={durability:"relaxed"};function y5(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function aC(e){e.commit&&e.commit()}function v5(e){e.closed||_5(e).then(function(){return kh(e.options.idb.fallbackInterval)}).then(function(){return v5(e)})}function _5(e){return e.closed||!e.messagesCallback?au:function Gme(e,n){var t=e.transaction(Sl,"readonly",ky),i=t.objectStore(Sl),r=[],o=IDBKeyRange.bound(n+1,1/0);if(i.getAll){var s=i.getAll(o);return new Promise(function(l,c){s.onerror=function(u){return c(u)},s.onsuccess=function(u){l(u.target.result)}})}return new Promise(function(l,c){var u=function a(){try{return o=IDBKeyRange.bound(n+1,1/0),i.openCursor(o)}catch{return i.openCursor()}}();u.onerror=function(d){return c(d)},u.onsuccess=function(d){var f=d.target.result;f?f.value.id<n+1?f.continue(n+1):(r.push(f.value),f.continue()):(aC(t),l(r))}})}(e.db,e.lastCursorId).then(function(n){var t=n.filter(function(i){return!!i}).map(function(i){return i.id>e.lastCursorId&&(e.lastCursorId=i.id),i}).filter(function(i){return function Qme(e,n){return!(e.uuid===n.uuid||n.eMIs.has(e.id)||e.data.time<n.messagesCallbackTime)}(i,e)}).sort(function(i,r){return i.time-r.time});return t.forEach(function(i){e.messagesCallback&&(e.eMIs.add(i.id),e.messagesCallback(i.data))}),au})}var nge={create:function Yme(e,n){return n=NM(n),function jme(e){var i=y5().open("pubkey.broadcast-channel-0-"+e);return i.onupgradeneeded=function(r){r.target.result.createObjectStore(Sl,{keyPath:"id",autoIncrement:!0})},new Promise(function(r,o){i.onerror=function(s){return o(s)},i.onsuccess=function(){r(i.result)}})}(e).then(function(t){var i={closed:!1,lastCursorId:0,channelName:e,options:n,uuid:Ey(),eMIs:new m5(2*n.idb.ttl),writeBlockPromise:au,messagesCallback:null,readQueuePromises:[],db:t};return t.onclose=function(){i.closed=!0,n.idb.onclose&&n.idb.onclose()},v5(i),i})},close:function Jme(e){e.closed=!0,e.db.close()},onMessage:function Zme(e,n,t){e.messagesCallbackTime=t,e.messagesCallback=n,_5(e)},postMessage:function Xme(e,n){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return function zme(e,n,t){var r={uuid:n,time:(new Date).getTime(),data:t},o=e.transaction([Sl],"readwrite",ky);return new Promise(function(s,a){o.oncomplete=function(){return s()},o.onerror=function(c){return a(c)},o.objectStore(Sl).add(r),aC(o)})}(e.db,e.uuid,n)}).then(function(){0===function Ame(e,n){return Math.floor(Math.random()*(n-e+1)+e)}(0,10)&&function Kme(e){return function Wme(e,n){var t=(new Date).getTime()-n,i=e.transaction(Sl,"readonly",ky),r=i.objectStore(Sl),o=[];return new Promise(function(s){r.openCursor().onsuccess=function(a){var l=a.target.result;if(l){var c=l.value;c.time<t?(o.push(c),l.continue()):(aC(i),s(o))}else s(o)}})}(e.db,e.options.idb.ttl).then(function(n){return function qme(e,n){if(e.closed)return Promise.resolve([]);var i=e.db.transaction(Sl,"readwrite",ky).objectStore(Sl);return Promise.all(n.map(function(r){var o=i.delete(r);return new Promise(function(s){o.onsuccess=function(){return s()}})}))}(e,n.map(function(t){return t.id}))})}(e)}),e.writeBlockPromise},canBeUsed:function ege(){return!!y5()},type:"idb",averageResponseTime:function tge(e){return 2*e.idb.fallbackInterval},microSeconds:sC};function b5(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function w5(e){return"pubkey.broadcastChannel-"+e}function C5(){var e=b5();if(!e)return!1;try{var n="__broadcastchannel_check";e.setItem(n,"works"),e.removeItem(n)}catch{return!1}return!0}var fge={create:function cge(e,n){if(n=NM(n),!C5())throw new Error("BroadcastChannel: localstorage c
1annot be used");var t=Ey(),i=new m5(n.localstorage.removeTimeout),r={channelName:e,uuid:t,eMIs:i};return r.listener=function age(e,n){var t=w5(e),i=function(o){o.key===t&&n(JSON.parse(o.newValue))};return window.addEventListener("storage",i),i}(e,function(o){!r.messagesCallback||o.uuid!==t&&(!o.token||i.has(o.token)||o.data.time&&o.data.time<r.messagesCallbackTime||(i.add(o.token),r.messagesCallback(o.data)))}),r},close:function uge(e){!function lge(e){window.removeEventListener("storage",e)}(e.listener)},onMessage:function dge(e,n,t){e.messagesCallbackTime=t,e.messagesCallback=n},postMessage:function sge(e,n){return new Promise(function(t){kh().then(function(){var i=w5(e.channelName),r={token:Ey(),time:(new Date).getTime(),data:n,uuid:e.uuid},o=JSON.stringify(r);b5().setItem(i,o);var s=document.createEvent("Event");s.initEvent("storage",!0,!0),s.key=i,s.newValue=o,window.dispatchEvent(s),t()})})},canBeUsed:C5,type:"localstorage",averageResponseTime:function hge(){var n=navigator.userAgent.toLowerCase();return n.includes("safari")&&!n.includes("chrome")?240:120},microSeconds:sC},pge=sC,LM=new Set,Cge={create:function gge(e){var n={name:e,messagesCallback:null};return LM.add(n),n},close:function yge(e){LM.delete(e)},onMessage:function _ge(e,n){e.messagesCallback=n},postMessage:function vge(e,n){return new Promise(function(t){return setTimeout(function(){Array.from(LM).filter(function(r){return r.name===e.name}).filter(function(r){return r!==e}).filter(function(r){return!!r.messagesCallback}).forEach(function(r){return r.messagesCallback(n)}),t()},5)})},canBeUsed:function bge(){return!0},type:"simulate",averageResponseTime:function wge(){return 5},microSeconds:pge},S5=[$me,nge,fge],x5=new Set,xge=0,jp=function(n,t){this.id=xge++,x5.add(this),this.name=n,this.options=NM(t),this.method=function Sge(e){var n=[].concat(e.methods,S5).filter(Boolean);if(e.type){if("simulate"===e.type)return Cge;var t=n.find(function(r){return r.type===e.type});if(t)return t;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(n=n.filter(function(r){return"idb"!==r.type}));var i=n.find(function(r){return r.canBeUsed()});if(i)return i;throw new Error("No usable method found in "+JSON.stringify(S5.map(function(r){return r.type})))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,function Ege(e){var n=e.method.create(e.name,e.options);!function kme(e){return e&&"function"==typeof e.then}(n)?e._state=n:(e._prepP=n,n.then(function(t){e._state=t}))}(this)};function E5(e,n,t){var r={time:e.method.microSeconds(),type:n,data:t};return(e._prepP?e._prepP:au).then(function(){var s=e.method.postMessage(e._state,r);return e._uMP.add(s),s.catch().then(function(){return e._uMP.delete(s)}),s})}function k5(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function T5(e,n,t){e._addEL[n].push(t),function kge(e){if(!e._iL&&k5(e)){var n=function(r){e._addEL[r.type].forEach(function(o){r.time>=o.time-1e5&&o.fn(r.data)})},t=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,n,t)}):(e._iL=!0,e.method.onMessage(e._state,n,t))}}(e)}function A5(e,n,t){e._addEL[n]=e._addEL[n].filter(function(i){return i!==t}),function Tge(e){if(e._iL&&!k5(e)){e._iL=!1;var n=e.method.microSeconds();e.method.onMessage(e._state,null,n)}}(e)}jp._pubkey=!0,jp.prototype={postMessage:function(n){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(n));return E5(this,"message",n)},postInternal:function(n){return E5(this,"internal",n)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};A5(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,T5(this,"message",t)):this._onML=null},addEventListener:function(n,t){T5(this,n,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(n,t){A5(this,n,this._addEL[n].find(function(r){return r.fn===t}))},close:function(){var n=this;if(!this.closed){x5.delete(this),this.closed=!0;var t=this._prepP?this._prepP:au;return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(n._uMP))}).then(function(){return Promise.all(n._befC.map(function(i){return i()}))}).then(function(){return n.method.close(n._state)})}}
1,get type(){return this.method.type},get isClosed(){return this.closed}};var Oge="[object process]"===Object.prototype.toString.call(typeof process<"u"?process:0)?function Mge(e){process.on("exit",function(){return e()}),process.on("beforeExit",function(){return e().then(function(){return process.exit()})}),process.on("SIGINT",function(){return e().then(function(){return process.exit()})}),process.on("uncaughtException",function(n){return e().then(function(){console.trace(n),process.exit(101)})})}:function Age(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var n=self.close.bind(self);self.close=function(){return e(),n()}}else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",function(){e()},!0),window.addEventListener("unload",function(){e()},!0)}},Th=new Set,M5=!1;function Rge(){var e=[];return Th.forEach(function(n){e.push(n()),Th.delete(n)}),Promise.all(e)}function Ah(e,n){return e.broadcastChannel.postInternal({context:"leader",action:n,token:e.token})}function D5(e){e.isLeader=!0,e._hasLeader=!0;var n=function Pge(e){if(function Ige(){M5||(M5=!0,Oge(Rge))}(),"function"!=typeof e)throw new Error("Listener is no function");return Th.add(e),{remove:function(){return Th.delete(e)},run:function(){return Th.delete(e),e()}}}(function(){return e.die()});e._unl.push(n);var t=function(r){"leader"===r.context&&"apply"===r.action&&Ah(e,"tell"),"leader"===r.context&&"tell"===r.action&&!e._dpLC&&(e._dpLC=!0,e._dpL(),Ah(e,"tell"))};return e.broadcastChannel.addEventListener("internal",t),e._lstns.push(t),Ah(e,"tell")}var O5=function(n,t){var i=this;this.broadcastChannel=n,n._befC.push(function(){return i.die()}),this._options=t,this.isLeader=!1,this.isDead=!1,this.token=Ey(),this._lstns=[],this._unl=[],this._dpL=function(){},this._dpLC=!1,this._wKMC={},this.lN="pubkey-bc||"+n.method.type+"||"+n.name};O5.prototype={hasLeader:function(){var n=this;return navigator.locks.query().then(function(t){var i=t.held?t.held.filter(function(r){return r.name===n.lN}):[];return!!(i&&i.length>0)})},awaitLeadership:function(){var n=this;if(!this._wLMP){this._wKMC.c=new AbortController;var t=new Promise(function(i,r){n._wKMC.res=i,n._wKMC.rej=r});this._wLMP=new Promise(function(i){navigator.locks.request(n.lN,{signal:n._wKMC.c.signal},function(){return n._wKMC.c=void 0,D5(n),i(),t}).catch(function(){})})}return this._wLMP},set onduplicate(e){},die:function(){var n=this;return this._lstns.forEach(function(t){return n.broadcastChannel.removeEventListener("internal",t)}),this._lstns=[],this._unl.forEach(function(t){return t.remove()}),this._unl=[],this.isLeader&&(this.isLeader=!1),this.isDead=!0,this._wKMC.res&&this._wKMC.res(),this._wKMC.c&&this._wKMC.c.abort("LeaderElectionWebLock.die() called"),Ah(this,"death")}};var I5=function(n,t){var i=this;this.broadcastChannel=n,this._options=t,this.isLeader=!1,this._hasLeader=!1,this.isDead=!1,this.token=Ey(),this._aplQ=au,this._aplQC=0,this._unl=[],this._lstns=[],this._dpL=function(){},this._dpLC=!1;var r=function(s){"leader"===s.context&&("death"===s.action&&(i._hasLeader=!1),"tell"===s.action&&(i._hasLeader=!0))};this.broadcastChannel.addEventListener("internal",r),this._lstns.push(r)};function P5(e,n){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");n=function Lge(e,n){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=n.method.averageResponseTime(n.options)),e}(n,e);var t=function Mme(){return typeof navigator<"u"&&typeof navigator.locks<"u"&&"function"==typeof navigator.locks.request}()?new O5(e,n):new I5(e,n);return e._befC.push(function(){return t.die()}),e._leaderElector=t,t}I5.prototype={hasLeader:function(){return Promise.resolve(this._hasLeader)},applyOnce:function(n){var t=this;return this.isLeader?kh(0,!0):this.isDead?kh(0,!1):this._aplQC>1?this._aplQ:(this._aplQC=this._aplQC+1,this._aplQ=this._aplQ.then(function(){return function(){if(t.isLeader)return Tme;var s,o=!1,a=new Promise(function(u){s=function(){o=!0,u()}}),l=function(d){"leader"===d.context&&d.token!=t.token&&("apply"===d.action&&d.token>t.token&&s(),"tell"===d.action&&(s(),t._hasLeader=!0))};t.broadcastChannel.addEventListener("internal",l);var c=n?4*t._options.responseTime:t._options.responseTime;return Ah(t,"apply").then(function(){return Promise.race([kh(c),a.then(function(){return Promise.reject(new Error)})])}).then(function(){return Ah(t,"apply")}).then(function(){return Promise.race([kh(c),a.then(function(){return Promise.reject(new Error)})])}).catch(function(){}).then(function(){return t.broadcastChannel.removeEventListener("internal",l),!o&&D5(t).then(function(){return!0})})}()}).then(function(){t._aplQC=t._aplQC-1}),this._aplQ.then(function(){return t.isLeader}))},awaitLeadership:function(){return this._aLP||(this._aLP=function Nge(e){return e.isLeader?au:new Promise(function(n){var t=!1;function i(){t||(t=!0,e.broadcastChannel.removeEventListener("internal",o),n(!0))}e.applyOnce().then(function(){e.isLeader&&i()}),function s(){return kh(e._options.fallbackInterval).then(function(){if(!e.isDead&&!t){if(!e.isLeader)return e.applyOnce(!0).then(function(){e.isLeader?i():s()});i()}})}();var o=function(a){"leader"===a.context&&"death"===a.action&&(e._hasLeader=!1,e.applyOnce().then(function(){e.isLeader&&i()}))};e.broadcastChannel.addEventListener("internal",o),e._lstns.push(o)})}(this)),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var n=this;return this._lstns.forEach(function(t){return n.broadcastChannel.removeEventListener("internal",t)}),this._lstns=[],this._unl.forEach(function(t){return t.remove()}),this._unl=[],this.isLeader&&(this._hasLeader=!1,this.isLeader=!1),this.isDead=!0,Ah(this,"death")}};class Fge{constructor(n,t={}){this.started=!1,this.enablePostMessage=!0,this.tokenManager=n,this.options=t,this.onTokenAddedHandler=this.onTokenAddedHandler.bind(this),this.onTokenRemovedHandler=this.onTokenRemovedHandler.bind(this),this.onTokenRenewedHandler=this.onTokenRenewedHandler.bind(this),this.onSetStorageHandler=this.onSetStorageHandler.bind(this),this.onSyncMessageHandler=this.onSyncMessageHandler.bind(this)}requiresLeadership(){return!1}isStarted(){return this.started}canStart(){return!!this.options.syncStorage&&Wo()&&!this.started}start(){var n=this;return V(function*(){if(!n.canStart())return;const{syncChannelName:t}=n.options;try{n.channel=new jp(t)}catch{throw new Ke("SyncStorageService is not supported in current browser.")}n.tokenManager.on(xh,n.onTokenAddedHandler),n.tokenManager.on(Eh,n.onTokenRemovedHandler),n.tokenManager.on(Hp,n.onTokenRenewedHandler),n.tokenManager.on(xy,n.onSetStorageHandler),n.channel.addEventListener("message",n.onSyncMessageHandler),n.started=!0})()}stop(){var n=this;return V(function*(){var t,i;n.started&&(n.tokenManager.off(xh,n.onTokenAddedHandler),n.tokenManager.off(Eh,n.onTokenRemovedHandler),n.tokenManager.off(Hp,n.onTokenRenewedHandler),n.tokenManager.off(xy,n.onSetStorageHandler),null===(t=n.channel)||void 0===t||t.removeEventListener("message",n.onSyncMessageHandler),yield null===(i=n.channel)||void 0===i?void 0:i.close(),n.channel=void 0,n.started=!1)})()}onTokenAddedHandler(n,t){var i;!this.enablePostMessage||null===(i=this.channel)||void 0===i||i.postMessage({type:xh,key:n,token:t})}onTokenRemovedHandler(n,t){var i;!this.enablePostMessage||null===(i=this.channel)||void 0===i||i.postMessage({type:Eh,key:n,token:t})}onTokenRenewedHandler(n,t,i){var r;!this.enablePostMessage||null===(r=this.channel)||void 0===r||r.postMessage({type:Hp,key:n,token:t,oldToken:i})}onSetStorageHandler(n){var t;null===(t=this.channel)||void 0===t||t.postMessage({type:xy,storage:n})}onSyncMessageHandler(n){switch(this.enablePostMessage=!1,n.type){case xy:this.tokenManager.getStorage().setStorage(n.storage);break;case xh:this.tokenManager.emitAdded(n.key,n.token),this.tokenManager.setExpireEventTimeout(n.key,n.token);break;case Eh:this.tokenManager.clearExpireEventTimeout(n.key),this.tokenManager.emitRemoved(n.key,n.token);break;case Hp:this.tokenManager.emitRenewed(n.key,n.token,n.oldToken)}this.enablePostMessage=!0}}class $ge{constructor(n={}){this.started=!1,this.options=n,this.onLeaderDuplicate=this.onLeaderDuplicate.bind(this),this.onLeader=this.onLeader.bind(this)}onLeaderDuplicate(){}onLeader(){var n=this;return V(function*(){var t,i;yield null===(i=(t=n.options).onLeader)||void 0===i?void 0:i.call(t)})()}isLeader(){var n;return!(null===(n=this.elector)||void 0===n||!n.isLeader)}hasLeader(){var n;return!(null===(n=this.elector)||void 0===n||!n.hasLeader)}start(){var n=this;return V(function*(){if(n.canStart()){const{electionChannelName:t}=n.options;n.channel=new jp(t),n.elector=P5(n.channel),n.elector.onduplicate=n.onLeaderDuplicate,n.elector.awaitLeadership().then(n.onLeader),n.started=!0}})()}stop(){var n=this;return V(function*(){n.started&&(n.elector&&(yield n.elector.die(),n.elector=void 0),n.channel&&(n.channel.postInternal=()=>Promise.resolve(),yield n.channel.close(),n.channel=void 0),n.started=!1)})()}requiresLeadership(){return!1}isStarted(){return this.started}canStart(){return Wo()&&!this.started}}const R5=()=>Math.floor(Date.now()/1e3);class Vge{constructor(n,t={}){this.started=!1,this.lastHidden=-1,this.tokenManager=n,this.options=t,this.onPageVisbilityChange=this._onPageVisbilityChange.bind(this)}_onPageVisbilityChange(){if(document.hidden)this.lastHidden=R5();else if(this.lastHidden>0&&R5()-this.lastHidden>=this.options.tabInactivityDuration){const{accessToken:n,idToken:t}=this.tokenManager.getTokensSync();if(n&&this.tokenManager.hasExpired(n)){const i=this.tokenManager.getStorageKeyByType("accessToken");this.tokenManager.renew(i).catch(()=>{})}else if(t&&this.tokenManager.hasExpired(t)){const i=this.tokenManager.getStorageKeyByType("idToken");this.tokenManager.renew(i).catch(()=>{})}}}start(){var n=this;return V(function*(){n.canStart()&&document&&(document.addEventListener("visibilitychange",n.onPageVisbilityChange),n.started=!0)})()}stop(){var n=this;return V(function*(){document&&(document.removeEventListener("visibilitychange",n.onPageVisbilityChange),n.started=!1)})()}canStart(){return Wo()&&!!this.options.autoRenew&&!!this.options.renewOnTabActivation&&!this.started}requiresLeadership(){return!1}isStarted(){return this.started}}const N5="autoRenew",L5="syncStorage",lC="leaderElection",F5="renewOnTabActivation";let Bge=(()=>{class e{constructor(t,i={}){this.sdk=t,this.onLeader=this.onLeader.bind(this);const{autoRenew:r,autoRemove:o,syncStorage:s}=t.tokenManager.getOptions();i.electionChannelName=i.electionChannelName||i.broadcastChannelName,this.options=Object.assign({},e.defaultOptions,{autoRenew:r,autoRemove:o,syncStorage:s},{electionChannelName:`${t.options.clientId}-election`,syncChannelName:`${t.options.clientId}-sync`},Ya(i)),this.started=!1,this.services=new Map,e.knownServices.forEac
1h(a=>{const l=this.createService(a);l&&this.services.set(a,l)})}onLeader(){var t=this;return V(function*(){t.started&&(yield t.startServices())})()}isLeader(){var t;return null===(t=this.getService(lC))||void 0===t?void 0:t.isLeader()}isLeaderRequired(){return[...this.services.values()].some(t=>t.canStart()&&t.requiresLeadership())}start(){var t=this;return V(function*(){t.started||(yield t.startServices(),t.started=!0)})()}stop(){var t=this;return V(function*(){yield t.stopServices(),t.started=!1})()}getService(t){return this.services.get(t)}startServices(){var t=this;return V(function*(){for(const[i,r]of t.services.entries())t.canStartService(i,r)&&(yield r.start())})()}stopServices(){var t=this;return V(function*(){for(const i of t.services.values())yield i.stop()})()}canStartService(t,i){let r=i.canStart()&&!i.isStarted();return t===lC?r&&(r=this.isLeaderRequired()):i.requiresLeadership()&&r&&(r=this.isLeader()),r}createService(t){const i=this.sdk.tokenManager;let r;switch(t){case lC:r=new $ge(Object.assign(Object.assign({},this.options),{onLeader:this.onLeader}));break;case N5:r=new Eme(i,Object.assign({},this.options));break;case L5:r=new Fge(i,Object.assign({},this.options));break;case F5:r=new Vge(i,Object.assign({},this.options));break;default:throw new Error(`Unknown service ${t}`)}return r}}return e.knownServices=[N5,L5,lC,F5],e.defaultOptions={autoRenew:!0,autoRemove:!0,syncStorage:!0,renewOnTabActivation:!0,tabInactivityDuration:1800},e})();function Hge(e){return e.session.get().then(function(n){return"ACTIVE"===n.status}).catch(function(){return!1})}function jge(e){return Fp(e,"/api/v1/sessions/me",{withCredentials:!0}).then(function(n){var t=yy(n,"_links");return t.refresh=function(){return pd(e,HT(n,"refresh").href,{},{withCredentials:!0})},t.user=function(){return Fp(e,HT(n,"user").href,{withCredentials:!0})},t}).catch(function(){return{status:"INACTIVE"}})}function zge(e){return dc(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})}function Gge(e){return pd(e,"/api/v1/sessions/me/lifecycle/refresh",{},{withCredentials:!0})}function qge(e,n,t){t=t||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+ou({checkAccountSetupComplete:!0,token:n,redirectUrl:t}))}function Yge(e,n,t){const i=function ype(e){class n{constructor(...i){const r=new e(i.length&&i[0]||{});this.options=Ya(r),this.emitter=new vU,this.features=me}}return n.features=me,n.constants=Te,n.features=n.prototype.features=me,Object.assign(n,{constants:Te}),n}(n),r=function vpe(e,n){return class extends e{constructor(...i){super(...i);const{storageManager:r,cookies:o,storageUtil:s}=this.options;this.storageManager=new n(r,o,s)}clearStorage(){}}}(i,e),o=function wpe(e){return class extends e{constructor(...t){super(...t),this._oktaUserAgent=new _pe,this.http={setRequestHeader:bpe.bind(null,this)}}setHeaders(t){this.options.headers=Object.assign({},this.options.headers,t)}getIssuerOrigin(){return this.options.issuer.split("/oauth2/")[0]}webfinger(t){return Fp(this,"/.well-known/webfinger"+ou(t),{headers:{Accept:"application/jrd+json"}})}}}(r);return function Uge(e){return class extends e{constructor(...t){super(...t),this.authStateManager=new xme(this),this.serviceManager=new Bge(this,this.options.services)}start(){var t=this;return V(function*(){yield t.serviceManager.start(),t.tokenManager.start(),t.token.isLoginRedirect()||(yield t.authStateManager.updateAuthState())})()}stop(){var t=this;return V(function*(){t.tokenManager.stop(),yield t.serviceManager.stop()})()}handleRedirect(t){var i=this;return V(function*(){yield i.handleLoginRedirect(void 0,t)})()}handleLoginRedirect(t,i){var r=this;return V(function*(){let o=r.options.state;if(t)r.tokenManager.setTokens(t),i=i||r.getOriginalUri(r.options.state);else{if(!r.isLoginRedirect())return;try{o=(yield SM(r,{})).state,i=i||r.getOriginalUri(o),yield r.storeTokensFromRedirect()}catch(a){throw yield r.authStateManager.updateAuthState(),a}}yield r.authStateManager.updateAuthState(),r.removeOriginalUri(o);const{restoreOriginalUri:s}=r.options;s?yield s(r,i):i&&window.location.replace(i)})()}handleIDPPopupRedirect(t=window.location.href){const i=SM(this,{responseMode:"query",url:t});if(!i.state)throw new Ke("Unable to parse auth code params");{const r=new BroadcastChannel(`popup-callback:${i.state}`);r.postMessage(i),r.close()}}}}(function bme(e,n){var t;const i=function _me(e){return class extends e{setOriginalUri(t,i){oC.getSessionStorage().setItem($w,t),(i=i||this.options.state)&&this.storageManager.getOriginalUriStorage().setItem(i,t)}getOriginalUri(t){if(t=t||this.options.state){const o=this.storageManager.getOriginalUriStorage().getItem(t);if(o)return o}const i=oC.getSessionStorage();return i&&i.getItem($w)||void 0}removeOriginalUri(t){if(oC.getSessionStorage().removeItem($w),t=t||this.options.state){const r=this.storageManager.getOriginalUriStorage();r.removeItem&&r.removeItem(t)}}}}(e);return t=class extends i{constructor(...o){super(...o),this.transactionManager=new n(Object.assign({storageManager:this.storageManager},this.options.transactionManager)),this.pkce={DEFAULT_CODE_CHALLENGE_METHOD:Sy.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:Sy.generateVerifier,computeChallenge:Sy.computeChallenge},this._pending={handleLogin:!1},this._tokenQueue=new GA,this.token=pme(this,this._tokenQueue),this.tokenManager=new vme(this,this.options.tokenManager),this.endpoints=function mme(e){return{authorize:{enrollAuthenticator:fme.bind(null,e)}}}(this)}clearStorage(){super.clearStorage(),this.tokenManager.clear()}isAuthenticated(){var o=this;return V(function*(s={}){const{autoRenew:a,autoRemove:l}=o.tokenManager.getOptions(),c=s.onExpiredToken?"renew"===s.onExpiredToken:a,u=s.onExpiredToken?"remove"===s.onExpiredToken:l;let{accessToken:d}=o.tokenManager.getTokensSync();if(d&&o.tokenManager.hasExpired(d))if(d=void 0,c)try{d=yield o.tokenManager.renew("accessToken")}catch{}else u&&o.tokenManager.remove("accessToken");let{idToken:f}=o.tokenManager.getTokensSync();
1if(f&&o.tokenManager.hasExpired(f))if(f=void 0,c)try{f=yield o.tokenManager.renew("idToken")}catch{}else u&&o.tokenManager.remove("idToken");return!(!d||!f)}).apply(this,arguments)}signInWithRedirect(){var o=this;return V(function*(s={}){const{originalUri:a}=s,l=bh(s,["originalUri"]);if(!o._pending.handleLogin){o._pending.handleLogin=!0;try{a&&o.setOriginalUri(a);const c=Object.assign({scopes:o.options.scopes||["openid","email","profile"]},l);yield o.token.getWithRedirect(c)}finally{o._pending.handleLogin=!1}}}).apply(this,arguments)}getUser(){var o=this;return V(function*(){const{idToken:s,accessToken:a}=o.tokenManager.getTokensSync();return o.token.getUserInfo(a,s)})()}getIdToken(){const{idToken:o}=this.tokenManager.getTokensSync();return o?o.idToken:void 0}getAccessToken(){const{accessToken:o}=this.tokenManager.getTokensSync();return o?o.accessToken:void 0}getRefreshToken(){const{refreshToken:o}=this.tokenManager.getTokensSync();return o?o.refreshToken:void 0}getOrRenewAccessToken(){var o=this;return V(function*(){var s;const{accessToken:a}=o.tokenManager.getTokensSync();if(a&&!o.tokenManager.hasExpired(a))return a.accessToken;try{const l=o.tokenManager.getStorageKeyByType("accessToken");return null!==(s=(yield o.tokenManager.renew(l??"accessToken"))?.accessToken)&&void 0!==s?s:null}catch(l){return o.emitter.emit("error",l),null}})()}storeTokensFromRedirect(){var o=this;return V(function*(){const{tokens:s,responseType:a}=yield o.token.parseFromUrl();"none"!==a&&o.tokenManager.setTokens(s)})()}isLoginRedirect(){return BA(this)}isPKCE(){return!!this.options.pkce}hasResponseType(o){return function ppe(e,n){let t=!1;return t=Array.isArray(n.responseType)&&n.responseType.length?n.responseType.indexOf(e)>=0:n.responseType===e,t}(o,this.options)}isAuthorizationCodeFlow(){return this.hasResponseType("code")}invokeApiMethod(o){var s=this;return V(function*(){if(!o.accessToken){const a=(yield s.tokenManager.getTokens()).accessToken;o.accessToken=a?.accessToken}return dc(s,o)})()}revokeAccessToken(o){var s=this;return V(function*(){if(!o){const a=yield s.tokenManager.getTokens();o=a.accessToken;const l=s.tokenManager.getStorageKeyByType("accessToken");s.tokenManager.remove(l),s.options.dpop&&(yield e5("access",a))}return o?s.token.revoke(o):Promise.resolve(null)})()}revokeRefreshToken(o){var s=this;return V(function*(){if(!o){const a=yield s.tokenManager.getTokens();o=a.refreshToken;const l=s.tokenManager.getStorageKeyByType("refreshToken");s.tokenManager.remove(l),s.options.dpop&&(yield e5("refresh",a))}return o?s.token.revoke(o):Promise.resolve(null)})()}getSignOutRedirectUrl(o={}){let{idToken:s,postLogoutRedirectUri:a,state:l}=o;if(s||(s=this.tokenManager.getTokensSync().idToken),!s)return"";void 0===a&&(a=this.options.postLogoutRedirectUri);let d=hd(this).logoutUrl+"?id_token_hint="+encodeURIComponent(s.idToken);return a&&(d+="&post_logout_redirect_uri="+encodeURIComponent(a)),l&&(d+="&state="+encodeURIComponent(l)),d}signOut(o){var s=this;return V(function*(){var a;o=Object.assign({},o);const l=window.location.origin,c=window.location.href,u=null===o.postLogoutRedirectUri?null:o.postLogoutRedirectUri||s.options.postLogoutRedirectUri||l,d=o?.state;let f=o.accessToken,y=o.refreshToken;const b=!1!==o.revokeAccessToken,S=!1!==o.revokeRefreshToken;S&&typeof y>"u"&&(y=s.tokenManager.getTokensSync().refreshToken),b&&typeof f>"u"&&(f=s.tokenManager.getTokensSync().accessToken),o.idToken||(o.idToken=s.tokenManager.getTokensSync().idToken),S&&y&&(yield s.revokeRefreshToken(y)),b&&f&&(yield s.revokeAccessToken(f));const D=null!==(a=f?.dpopPairId)&&void 0!==a?a:y?.dpopPairId;s.options.dpop&&D&&(yield eM(D));const R=s.getSignOutRedirectUrl(Object.assign(Object.assign({},o),{postLogoutRedirectUri:u}));if(R)return o.clearTokensBeforeRedirect?s.tokenManager.clear():s.tokenManager.addPendingRemoveFlags(),window.location.assign(R),!0;{const G=yield s.closeSession(),H=new URL(u||l);return d&&H.searchParams.append("state",d),u===c?window.location.href=H.href:window.location.assign(H.href),G}})()}getDPoPAuthorizationHeaders(o){var s=this;return V(function*(){if(!s.options.dpop)throw new Ke("DPoP is not configured for this client instance");let{accessToken:a}=o;if(a||(a=s.tokenManager.getTokensSync().accessToken),!a)throw new Ke("Acce
1ssToken is required to generate a DPoP Proof");const l=yield XA(a?.dpopPairId),c=yield t5(Object.assign(Object.assign({},o),{keyPair:l,accessToken:a.accessToken}));return{Authorization:`DPoP ${a.accessToken}`,Dpop:c}})()}clearDPoPStorage(){var o=this;return V(function*(s=!1){var a,l;if(s)return function Ipe(){return nM.apply(this,arguments)}();const c=yield o.tokenManager.getTokens(),u=(null===(a=c.accessToken)||void 0===a?void 0:a.dpopPairId)||(null===(l=c.refreshToken)||void 0===l?void 0:l.dpopPairId);u&&(yield eM(u))}).apply(this,arguments)}parseUseDPoPNonceError(o){var s;const a=dd.getWWWAuthenticateHeader(o);if(XU(dd.parseHeader(a??""))){let c=null;return QB(o?.get)&&(c=o.get("DPoP-Nonce")),c=null!==(s=c??o["dpop-nonce"])&&void 0!==s?s:o["DPoP-Nonce"],c}return null}},t.crypto=ot,t}(function Kge(e){return class extends e{constructor(...t){super(...t),this.session=function Wge(e){return{close:zge.bind(null,e),exists:Hge.bind(null,e),get:jge.bind(null,e),refresh:Gge.bind(null,e),setCookieAndRedirect:qge.bind(null,e)}}(this)}closeSession(){var t=this;return this.session.close().then(V(function*(){return t.clearStorage(),!0})).catch(function(i){if("AuthApiError"===i.name&&"E0000007"===i.errorCode)return!1;throw i})}}}(o),t))}function $5(e,n){var t;if(!hU())return Promise.reject(new Ke("Fingerprinting is not supported on this device"));const i=null!==(t=n?.container)&&void 0!==t?t:document.body;let r,o,s;return new Promise(function(l,c){o=document.createElement("iframe"),o.style.display="none",s=function(d){var f;if(!((e,n)=>n.source===e.contentWindow)(o,d)||!d||!d.data||d.origin!==e.getIssuerOrigin())return;let y;try{y=JSON.parse(d.data)}catch{return}if(y){if("FingerprintAvailable"===y.type)return l(y.fingerprint);if("FingerprintServiceReady"!==y.type)return c(new Ke("No data"));null===(f=o?.contentWindow)||void 0===f||f.postMessage(JSON.stringify({type:"GetFingerprint"}),d.origin)}},r5(window,"message",s),o.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",i.appendChild(o),r=setTimeout(function(){c(new Ke("Fingerprinting timed out"))},n?.timeout||15e3)}).finally(function(){var l;clearTimeout(r),o5(window,"message",s),i.contains(o)&&(null===(l=o.parentElement)||void 0===l||l.removeChild(o))})}const V5=(e=[])=>{const n=[];return e.forEach(t=>{"webauthn"===t.key&&n.push({type:"public-key",id:Cy(t.credentialId)})}),n},Jge=(e,n)=>({publicKey:{rp:e.rp,user:{id:Cy(e.user.id),name:e.user.name,displayName:e.user.displayName},challenge:Cy(e.challenge),pubKeyCredParams:e.pubKeyCredParams,attestation:e.attestation,authenticatorSelection:e.authenticatorSelection,excludeCredentials:V5(n)}}),Xge=(e,n)=>({publicKey:Object.assign({challenge:Cy(e.challenge),userVerification:e.userVerification,allowCredentials:V5(n)},e.rpId&&{rpId:e.rpId})}),Zge=e=>{const n=e.response;return{id:e.id,clientData:Ch(n.clientDataJSON),attestation:Ch(n.attestationObject)}},eye=e=>{const n=e.response;return{id:e.id,clientData:Ch(n.clientDataJSON),authenticatorData:Ch(n.authenticatorData),signatureData:Ch(n.signature)}},oye={token:{storageTypes:["localStorage","sessionStorage","cookie"]},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]},"shared-transaction":{storageTypes:["localStorage"]},"original-uri":{storageTypes:["localStorage"]}};const lye=/application\/\w*\+?json/;function dye(e,n,t){var i=t.data,r=t.headers||{},o=r["Content-Type"]||r["content-type"]||"";i&&"string"!=typeof i&&(lye.test(o)?i=JSON.stringify(i):"application/x-www-form-urlencoded"===o&&(i=Object.entries(i).map(([l,c])=>`${l}=${encodeURIComponent(c)}`).join("&")));var a=(window.fetch||eA)(n,{method:e,headers:t.headers,body:i,credentials:t.withCredentials?"include":"omit"});return a.finally||(a=Promise.resolve(a)),a.then(function(l){var c=!l.ok,u=l.status;return function cye(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch(n=>({error:n,errorSummary:"Could not parse server response"})):e.text()}(l).then(d=>function uye(e,n,t){const i="object"==typeof n,r={};for(const s of t.headers.entries())r[s[0]]=s[1];const o={responseText:i?JSON.stringify(n):n,status:e,headers:r};return i&&(o.responseType="json",o.responseJSON=n),o}(u,d,l)).then(d=>{var f;if(c||(null===(f=d.responseJSON)||void 0===f?void 0:f.error))throw d;return d})})}function mye(){const e=function hye(){const e=function aye(){return class extends class{constructor(n){this.devMode=!!n.devMode}}{constructor(t){super(t),this.cookies=function sye(e={},n){var t=e.cookies||{};return typeof t.secure>"u"&&(t.secure=n),typeof t.sameSite>"u"&&(t.sameSite=t.secure?"none":"lax"),t.secure&&!n&&(uc('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to fal
1se.'),t.secure=!1),"none"===t.sameSite&&!t.secure&&(t.sameSite="lax"),t}(t,mU()),this.storageUtil=t.storageUtil||function rye(){return Object.assign({},oC,{inMemoryStore:{}})}(),this.storageManager=Object.assign(Object.assign({},oye),t.storageManager)}}}();return class extends e{constructor(t){super(t),this.issuer=t.issuer,this.transformErrorXHR=t.transformErrorXHR,this.headers=t.headers,this.httpRequestClient=t.httpRequestClient||dye,this.httpRequestInterceptors=t.httpRequestInterceptors,this.pollDelay=t.pollDelay}}}();return class extends e{constructor(t){super(t),function pye(e){var n=(e=e||{}).scopes;if(n&&!Array.isArray(n))throw new Ke('scopes must be a array of strings. Required usage: new OktaAuth({scopes: ["openid", "email"]})');var t=e.issuer;if(!t)throw new Ke('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(t))throw new Ke('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==t.indexOf("-admin.okta"))throw new Ke('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})')}(t),this.issuer=Ia(t.issuer),this.tokenUrl=Ia(t.tokenUrl),this.authorizeUrl=Ia(t.authorizeUrl),this.userinfoUrl=Ia(t.userinfoUrl),this.revokeUrl=Ia(t.revokeUrl),this.logoutUrl=Ia(t.logoutUrl),this.pkce=!1!==t.pkce,this.clientId=t.clientId,this.redirectUri=t.redirectUri,Wo()&&(this.redirectUri=function Ghe(e="",n){return Fw(e)?e:(n=Ia(n),"/"===e[0]?`${n}${e}`:`${n}/${e}`)}(t.redirectUri,window.location.origin)),this.responseType=t.responseType,this.responseMode=t.responseMode,this.state=t.state,this.scopes=t.scopes,this.ignoreSignature=!!t.ignoreSignature,this.codeChallenge=t.codeChallenge,this.codeChallengeMethod=t.codeChallengeMethod,this.acrValues=t.acrValues,this.maxAge=t.maxAge,this.dpop=!0===t.dpop,this.dpopOptions=Object.assign({allowBearerTokens:!1},t.dpopOptions),this.tokenManager=t.tokenManager,this.postLogoutRedirectUri=t.postLogoutRedirectUri,this.restoreOriginalUri=t.restoreOriginalUri,this.transactionManager=Object.assign({enableSharedStorage:!0},t.transactionManager),this.clientSecret=t.clientSecret,this.setLocation=t.setLocation,this.ignoreLifetime=!!t.ignoreLifetime,this.maxClockSkew=t.maxClockSkew||0===t.maxClockSkew?t.maxClockSkew:iU}}}class zp{constructor(n,t){if(!n)throw new Ke('"storage" is required');if("string"!=typeof t||!t.length)throw new Ke('"storageName" is required');this.storageName=t,this.storageProvider=n}getItem(n){return this.getStorage()[n]}setItem(n,t){return this.updateStorage(n,t)}removeItem(n){return this.clearStorage(n)}getStorage(){var n=this.storageProvider.getItem(this.storageName);n=n||"{}";try{return JSON.parse(n)}catch{throw new Ke("Unable to parse storage string: "+this.storageName)}}setStorage(n){try{var t=n?JSON.stringify(n):"{}";this.storageProvider.setItem(this.storageName,t)}catch{throw new Ke("Unable to set storage: "+this.storageName)}}clearStorage(n){if(n){var t=this.getStorage();delete t[n],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}updateStorage(n,t){var i=this.getStorage();i[n]=t,this.setStorage(i)}}function cC(e){!Wo()&&!e.storageProvider&&!e.storageKey&&uc("Memory storage can only support simple single user use case on server side, please provide custom storageProvider or storageKey if advanced scenarios need to be supported.")}function B5(e){return!(!e||"object"!=typeof e||0===Object.values(e).length)}function uC(e){return!(!function U5(e){return!(!B5(e)||!e.redirectUri&&!e.responseType)}(e)&&!function Sye(e){return!!B5(e)&&void 0===Object.values(e).find(t=>"string"!=typeof t)}(e))}class lu{constructor(n,t){const{res:i}=t,{headers:r}=i,o=bh(i,["headers"]);r&&(this.headers=r),Object.keys(o).forEach(s=>{"_links"!==s&&(this[s]=o[s])})}}function io(e,n){return $M.apply(this,arguments)}function $M(){return($M=V(function*(e,n,t=lu){const{accessToken:i}=e.tokenManager.getTokensSync(),r=n.accessToken||i,o=e.getIssuerOrigin(),{url:s,method:a,payload:l}=n,c=s.startsWith(o)?s:`${o}${s}`;
1if(!r)throw new Ke("AccessToken is required to request MyAccount API endpoints.");let u=r;const d=Object.assign({headers:{Accept:"*/*;okta-version=1.0.0"},url:c,method:a},l&&{args:l});if(e.options.dpop){if("string"==typeof u)throw new Ke("AccessToken object must be provided when using dpop");const{Authorization:b,Dpop:S}=yield e.getDPoPAuthorizationHeaders({method:a,url:c,accessToken:u});d.headers.Authorization=b,d.headers.Dpop=S}else u="string"==typeof u?u:u.accessToken,d.accessToken=u;const f=yield dc(e,d);let y;return y=Array.isArray(f)?f.map(b=>new t(e,{res:b,accessToken:u})):new t(e,{res:f,accessToken:u}),y})).apply(this,arguments)}function js({oktaAuth:e,accessToken:n,methodName:t,links:i},r=lu){for(const s of["GET","POST","PUT","DELETE"])if(s.toLowerCase()===t){const a=i.self;return function(){var l=V(function*(c){return io(e,{accessToken:n,url:a.href,method:s,payload:c},r)});return function(c){return l.apply(this,arguments)}}()}const o=i[t];if(!o)throw new Ke(`No link is found with methodName: ${t}`);return function(){var s=V(function*(a){return io(e,{accessToken:n,url:o.href,method:o.hints.allow[0],payload:a},r)});return function(a){return s.apply(this,arguments)}}()}class H5 extends lu{constructor(n,t){super(n,t);const{createdAt:i,modifiedAt:r,profile:o}=t.res;this.createdAt=i,this.modifiedAt=r,this.profile=o}}class Oye extends lu{constructor(n,t){super(n,t),this.properties=t.res.properties}}const Iye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/profile",method:"GET",accessToken:t?.accessToken},H5)});return function(t,i){return e.apply(this,arguments)}}(),Pye=function(){var e=V(function*(n,t){const{payload:i,accessToken:r}=t;return yield io(n,{url:"/idp/myaccount/profile",method:"PUT",payload:i,accessToken:r},H5)});return function(t,i){return e.apply(this,arguments)}}(),Rye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/profile/schema",method:"GET",accessToken:t?.accessToken},Oye)});return function(t,i){return e.apply(this,arguments)}}();class j5 extends lu{constructor(n,t){super(n,t);const{res:i}=t,{id:r,profile:o,expiresAt:s,status:a}=i;this.id=r,this.expiresAt=s,this.profile=o,this.status=a}}class Ty extends lu{constructor(n,t){super(n,t);const{accessToken:i,res:r}=t,{id:o,expiresAt:s,profile:a,status:l,_links:c}=r;this.id=o,this.expiresAt=s,this.profile=a,this.status=l,this.poll=V(function*(){return yield js({oktaAuth:n,accessToken:i,methodName:"poll",links:c},j5)()}),this.verify=function(){var u=V(function*(d){return yield js({oktaAuth:n,accessToken:i,methodName:"verify",links:c},Ty)(d)});return function(d){return u.apply(this,arguments)}}()}}class Ay extends lu{constructor(n,t){super(n,t);const{accessToken:i,res:r}=t,{id:o,profile:s,roles:a,status:l,_links:c}=r;this.id=o,this.profile=s,this.roles=a,this.status=l,this.get=V(function*(){return yield js({oktaAuth:n,accessToken:i,methodName:"get",links:c},Ay)()}),this.delete=V(function*(){return yield js({oktaAuth:n,accessToken:i,methodName:"delete",links:c})()}),this.challenge=V(function*(){return yield js({oktaAuth:n,accessToken:i,methodName:"challenge",links:c},Ty)()}),c.poll&&(this.poll=V(function*(){return yield js({oktaAuth:n,accessToken:i,methodName:"poll",links:c},j5)()})),c.verify&&(this.verify=function(){var u=V(function*(d){return yield js({oktaAuth:n,accessToken:i,methodName:"verify",links:c})(d)});return function(d){return u.apply(this,arguments)}}())}}const Nye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/emails",method:"GET",accessToken:t?.accessToken},Ay)});return function(t,i){return e.apply(this,arguments)}}(),Lye=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield io(n,{url:`/idp/myaccount/emails/${i}`,method:"GET",accessToken:r},Ay)});return function(t,i){return e.apply(this,arguments)}}(),Fye=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield io(n,{url:"/idp/myaccount/emails",method:"POST",payload:r,accessToken:i},Ay)});return function(t,i){return e.apply(this,arguments)}}(),$ye=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield io(n,{url:`/idp/myaccount/emails/${i}`,method:"DELETE",accessToken:r})});return function(t,i){return e.apply(this,arguments)}}(),Vye=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield io(n,{url:`/idp/myaccount/emails/${i}/challenge`,method:"POST",accessToken:r},Ty)});return function(t,i){return e.apply(this,arguments)}}(),Bye=function(){var e=V(function*(n,t){const{emailId:i,challengeId:r,accessToken:o}=t;return yield io(n,{url:`/idp/myaccount/emails/${i}/challenge/${r}`,method:"POST",accessToken:o},Ty)});return function(t,i){return e.apply(this,arguments)}}(),Uye=function(){var e=V(function*(n,t){const{emailId:i,challengeId:r,payload:o,accessToken:s}=t;return yield io(n,{url:`/idp/myaccount/emails/${i}/challenge/${r}/verify`,method:"POST",payload:o,accessToken:s})});return function(t,i){return e.apply(this,arguments)}}();class My extends lu{constructor(n,t){super(n,t);const{res:i,accessToken:r}=t,{id:o,profile:s,status:a,_links:l}=i;this.id=o,this.profile=s,this.status=a,this.get=V(function*(){return yield js({oktaAuth:n,accessToken:r,methodName:"get",links:l},My)()}),this.delete=V(function*(){return yield js({oktaAuth:n,accessToken:r,methodName:"delete",links:l})()}),this.challenge=function(){var c=V(function*(u){return yield js({oktaAuth:n,accessToken:r,methodName:"challenge",links:l})(u)});return function(u){return c.apply(this,arguments)}}(),l.verify&&(this.verify=function(){var c=V(function*(u){return yield js({oktaAuth:n,accessToken:r,methodName:"verify",links:l})(u)});return function(u){return c.apply(this,arguments)}}())}}const Hye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/phones",method:"GET",accessToken:t?.accessToken},My)});return function(t,i){return e.apply(this,arguments)}}(),jye=function(){var e=V(function*(n,t){const{accessToken:i,id:r}=t;return yield io(n,{url:`/idp/myaccount/phones/${r}`,method:"GET",accessToken:i},My)});return function(t,i){return e.apply(this,arguments)}}(),zye=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield io(n,{url:"/idp/myaccount/phones",method:"POST",payload:r,accessToken:i},My)});return function(t,i){return e.apply(this,arguments)}}(),Gye=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield io(n,{url:`/idp/myaccount/phones/${i}`,method:"DELETE",accessToken:r})});return function(t,i){return e.apply(this,arguments)}}(),qye=function(){var e=V(function*(n,t){const{accessToken:i,id:r,payload:o}=t;return yield io(n,{url:`/idp/myaccount/phones/${r}/challenge`,method:"POST",payload:o,accessToken:i})});return function(t,i){return e.apply(this,arguments)}}(),Wye=function(){var e=V(function*(n,t){const{id:i,payload:r,accessToken:o}=t;return yield io(n,{url:`/idp/myaccount/phones/${i}/verify`,method:"POST",payload:r,accessToken:o})});return function(t,i){return e.apply(this,arguments)}}();var dC=(()=>{return(e=dC||(dC={})).NOT_ENROLLED="NOT_ENROLLED",e.ACTIVE="ACTIVE",dC;var e})();class Mh extends lu{constructor(n,t){super(n,t);const{res:i,accessToken:r}=t,{id:o,status:s,created:a,lastUpdated:l,_links:c}=i;this.id=o,this.status=s,this.created=a,this.lastUpdated=l,this.status==dC.NOT_ENROLLED?this.enroll=function(){var u=V(function*(d){return yield js({oktaAuth:n,accessToken:r,methodName:"enroll",links:c},Mh)(d)});return function(d){return u.apply(this,arguments)}}():(this.get=V(function*(){return yield js({oktaAuth:n,accessToken:r,methodName:"get",links:c},Mh)()}),this.update=function(){var u=V(function*(d){return yield js({oktaAuth:n,accessToken:r,methodName:"put",links:c},Mh)(d)});return function(d){return u.apply(this,arguments)}}(),this.delete=V(function*(){return yield js({oktaAuth:n,accessToken:r,methodName:"delete",links:c})()}))}}const Kye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/password",method:"GET",accessToken:t?.accessToken},Mh)});return function(t,i){return e.apply(this,arguments)}}(),Yye=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield io(n,{url:"/idp/myaccount/password",method:"POST",payload:r,accessToken:i},Mh)});return function(t,i){return e.apply(this,arguments)}}(),Qye=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield io(n,{url:"/idp/myaccount/password",method:"PUT",payload:r,accessToken:i},Mh)});return function(t,i){return e.apply(this,arguments)}}(),Jye=function(){var e=V(function*(n,t){return yield io(n,{url:"/idp/myaccount/password",method:"DELETE",accessToken:t?.accessToken})});return function(t,i){return e.apply(this,arguments)}}();function hC(e,n){var t={};
vendor: 1,159 bytes, line 1
1return Object.assign(t,n),!t.stateToken&&e.stateToken&&(t.stateToken=e.stateToken),t}function z5(e,n){return n=hC(e,n),pd(e,e.getIssuerOrigin()+"/api/v1/authn",n,{withCredentials:!0})}function ive(e){return!!VM(e)}function G5(e,n,t,i,r){return pd(e,t,i,r=Object.assign({withCredentials:!0},r)).then(function(o){return n.createTransaction(o)})}function VM(e){return e.options.storageUtil.storage.get(vy)}function q5(e,n,t,i,r,o){if(Array.isArray(r))return function(a,l){if(!a)throw new Ke("Must provide a link name");var c=UT(r,{name:a});if(!c)throw new Ke("No link found for that name");return q5(e,n,t,i,c,o)(l)};if(r.hints&&r.hints.allow&&1===r.hints.allow.length)switch(r.hints.allow[0]){case"GET":return function(){return Fp(e,r.href,{withCredentials:!0})};case"POST":return function(a){o&&o.isPolling&&(o.isPolling=!1);var l=hC(t,a);("MFA_ENROLL"===t.status||"FACTOR_ENROLL"===t.status)&&Object.assign(l,{factorType:i.factorType,provider:i.provider});var c={},u=l.autoPush;if(void 0!==u){if("function"==typeof u)try{c.autoPush=!!u()}catch{return Promise.reject(new Ke("AutoPush resulted in an error."))}else null!==u&&(c.autoPush=!!u);l=yy(l,"autoPush")}
1var d=l.rememberDevice;if(void 0!==d){if("function"==typeof d)try{c.rememberDevice=!!d()}catch{return Promise.reject(new Ke("RememberDevice resulted in an error."))}else null!==d&&(c.rememberDevice=!!d);l=yy(l,"rememberDevice")}else l.profile&&void 0!==l.profile.updatePhone&&(l.profile.updatePhone&&(c.updatePhone=!0),l.profile=yy(l.profile,"updatePhone"));var f=r.href+ou(c);return G5(e,n,f,l)}}}class W5 extends Rp{constructor(){super("The poll was stopped by the sdk")}}function rve(e,n,t){return function(i){var r,o,s,a;!function Hhe(e){return"[object Number]"===Object.prototype.toString.call(e)}(i)?YB(i)&&(r=i.delay,o=i.rememberDevice,s=i.autoPush,a=i.transactionCallBack):r=i,!r&&0!==r&&(r=tU);var l=HT(n,"next","poll");t.isPolling=!0;var u=0,d=function(){return t.isPolling?function c(){var f={};if("function"==typeof s)try{f.autoPush=!!s()}catch{return Promise.reject(new Ke("AutoPush resulted in an error."))}else null!=s&&(f.autoPush=!!s);if("function"==typeof o)try{f.rememberDevice=!!o()}catch{return Promise.reject(new Ke("RememberDevice resulted in an error."))}else null!=o&&(f.rememberDevice=!!o);var y=l.href+ou(f);return pd(e,y,function Zye(e){return hC(e)}(n),{saveAuthnState:!1,withCredentials:!0,pollingIntent:!0})}().then(function(f){if(u=0,f.factorResult&&"WAITING"===f.factorResult){if(!t.isPolling)throw new W5;return"function"==typeof a&&a(f),XB(r).then(d)}return t.isPolling=!1,e.tx.createTransaction(f)}).catch(function(f){if(f.xhr&&(0===f.xhr.status||429===f.xhr.status)&&u<=4){var y=1e3*Math.pow(2,u);return u++,XB(y).then(d)}throw f}):Promise.reject(new W5)};return d().catch(function(f){throw t.isPolling=!1,f})}}function BM(e,n,t,i,r){if(i=ia(i=i||t),Array.isArray(i)){for(var o=[],s=0,a=i.length;s<a;s++)o.push(BM(e,n,t,i[s],r));return o}var l=i._embedded||{};for(var c in l)!Object.prototype.hasOwnProperty.call(l,c)||(YB(l[c])||Array.isArray(l[c]))&&(l[c]=BM(e,n,t,l[c],r));var u=function ove(e,n,t,i,r){var o={};for(var s in i._links)if(Object.prototype.hasOwnProperty.call(i._links,s)){var a=i._links[s];if("next"===s&&(s=a.name),a.type){o[s]=a;continue}if("poll"===s)o.poll=rve(e,t,r);else{var l=q5(e,n,t,i,a,r);l&&(o[s]=l)}}return o}(e,n,t,i,r);return Object.assign(l,u),i=yy(i,"_embedded","_links"),Object.assign(i,l),i}class sve{constructor(n,t,i=null){this.data=void 0,this.status=void 0,i&&(this.data=i,Object.assign(this,BM(n,t,i,i,{})),delete this.stateToken,"RECOVERY_CHALLENGE"===i.status&&!i._links&&(this.cancel=function(){return Promise.resolve(t.createTransaction())}))}}function ave(e){const n={status:z5.bind(null,e),resume:t=>function eve(e,n,t){if(!t||!t.stateToken){var i=VM(e);if(!i)return Promise.reject(new Ke("No transaction to resume"));t={stateToken:i}}return z5(e,t).then(function(r){return n.createTransaction(r)})}(e,n,t),exists:ive.bind(null,e),introspect:t=>function tve(e,n,t){if(!t||!t.stateToken){var i=VM(e);if(!i)return Promise.reject(new Ke("No transaction to evaluate"));t={stateToken:i}}return function nve(e,n){return n=hC(e,n),pd(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",n,{withCredentials:!0})}(e,t).then(function(r){return n.createTransaction(r)})}(e,n,t),createTransaction:t=>new sve(e,n,t),postToTransaction:(t,i,r)=>G5(e,n,t,i,r)};return n}const cve=function yye(){const e=function gye(){const e=mye();return class extends e{constructor(t){super(t),this.services=t.services,this.transformAuthState=t.transformAuthState}}}();return class extends e{constructor(t){super(t),this.flow=t.flow,this.activationToken=t.activationToken,this.recoveryToken=t.recoveryToken,this.idx=t.idx}}}(),uve=function wye(){const e=function bye(){return function _ye(){return class extends class vye{constructor(n,t,i){this.storageManagerOptions=n,this.cookieOptions=t,this.storageUtil=i}getOptionsForSection(n,t){return Object.assign({},this.storageManagerOptions[n],t)}getStorage(n){if((n=Object.assign({},this.cookieOptions,n)).storageProvider)return n.storageProvider;let{storageType:t,storageTypes:i}=n;if("sessionStorage"===t&&(n.sessionCookie=!0),t&&i){const r=i.indexOf(t);r>=0&&(i=i.slice(r),t=void 0)}return t||(t=this.storageUtil.findStorageType(i)),this.storageUtil.getStorageByType(t,n)}getTokenStorage(n){cC(n=this.getOptionsForSection("token",n));const t=this.getStorage(n);return new zp(t,n.storageKey||GT)}getHttpCache(n){n=this.getOptionsForSection("cache",n);const t=this.getStorage(n);return new zp(t,n.storageKey||oU)}}
1{constructor(n,t,i){super(n,t,i)}getTransactionStorage(n){cC(n=this.getOptionsForSection("transaction",n));const t=this.getStorage(n);return new zp(t,n.storageKey||sU)}getSharedTansactionStorage(n){cC(n=this.getOptionsForSection("shared-transaction",n));const t=this.getStorage(n);return new zp(t,n.storageKey||aU)}getOriginalUriStorage(n){cC(n=this.getOptionsForSection("original-uri",n));const t=this.getStorage(n);return new zp(t,n.storageKey||lU)}}}()}();return class extends e{constructor(t,i,r){super(t,i,r)}getIdxResponseStorage(t){let i;if(Wo())try{i=this.storageUtil.getStorageByType("memory",t)}catch{uc("No response storage found, you may want to provide custom implementation for intermediate idx responses to optimize the network traffic")}else{const r=this.getTransactionStorage(t);r&&(i={getItem:o=>{const s=r.getStorage();return s&&s[o]?s[o]:null},setItem:(o,s)=>{const a=r.getStorage();if(!a)throw new Ke("Transaction has been cleared, failed to save idxState");a[o]=s,r.setStorage(a)},removeItem:o=>{const s=r.getStorage();!s||(delete s[o],r.setStorage(s))}})}return i?new zp(i,cU):null}}}(),dve=function Dye(){const e=function Mye(){return class{constructor(n){this.storageManager=n.storageManager,this.enableSharedStorage=!1!==n.enableSharedStorage,this.saveLastResponse=!1!==n.saveLastResponse,this.options=n}clear(n={}){const t=this.storageManager.getTransactionStorage(),i=t.getStorage();if(t.clearStorage(),this.enableSharedStorage&&!1!==n.clearSharedStorage){const r=n.state||i?.state;r&&function Aye(e,n){const t=e.getSharedTansactionStorage(),i=t.getStorage();delete i[n],t.setStorage(i)}(this.storageManager,r)}}save(n,t={}){let i=this.storageManager.getTransactionStorage();uC(i.getStorage())&&!t.muteWarning&&uc("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),i.setStorage(n),this.enableSharedStorage&&n.state&&function kye(e,n,t){const i=e.getSharedTansactionStorage(),r=i.getStorage();r[n]={dateCreated:Date.now(),transaction:t},i.setStorage(r)}(this.storageManager,n.state,n)}exists(n={}){try{return!!this.load(n)}catch{return!1}}load(n={}){let t;return this.enableSharedStorage&&n.state&&(function Eye(e){const n=e.getSharedTansactionStorage(),t=n.getStorage();Object.keys(t).forEach(i=>{const r=t[i];Date.now()-r.dateCreated>18e5&&delete t[i]}),n.setStorage(t)}(this.storageManager),t=function Tye(e,n){const r=e.getSharedTansactionStorage().getStorage()[n];return r&&r.transaction&&uC(r.transaction)?r.transaction:null}(this.storageManager,n.state),uC(t))||(t=this.storageManager.getTransactionStorage().getStorage(),uC(t))?t:null}}}();return class extends e{constructor(t){super(t)}clear(t={}){super.clear(t),!1!==t.clearIdxResponse&&this.clearIdxResponse()}saveIdxResponse(t){if(!this.saveLastResponse)return;const i=this.storageManager.getIdxResponseStorage();!i||i.setStorage(t)}loadIdxResponse(t){if(!this.saveLastResponse)return null;const i=this.storageManager.getIdxResponseStorage();if(!i)return null;const r=i.getStorage();if(!r||!TU(r.rawIdxResponse))return null;if(t){const{stateHandle:o,interactionHandle:s}=t;if(!t.useGenericRemediator&&o&&r.stateHandle!==o||s&&r.interactionHandle!==s)return null}return r}clearIdxResponse(){this.saveLastResponse&&this.storageManager.getIdxResponseStorage()?.clearStorage()}}}(),hve=function nye(e,n,t){return function tye(e){var n;return(n=class extends e{constructor(...i){super(...i),this.idx=function gpe(e){!function Afe(e){Object.assign(uA,e)}({remediators:Oe,getFlowSpecification:MA});const n=RA.bind(null,e);return{interact:CU.bind(null,e),introspect:aA.bind(null,e),makeIdxResponse:kU.bind(null,e),authenticate:zfe.bind(null,e),register:rpe.bind(null,e),start:n,startTransaction:n,poll:GU.bind(null,e),proceed:zU.bind(null,e),cancel:epe.bind(null,e),recoverPassword:ope.bind(null,e),handleInteractionCodeRedirect:spe.bind(null,e),isInteractionRequired:mpe.bind(null,e),isInteractionRequiredError:qU,handleEmailVerifyCallback:ipe.bind(null,e),isEmailVerifyCallback:UU,parseEmailVerifyCallback:HU,isEmailVerifyCallbackError:npe,getSavedTransactionMeta:gd.bind(null,e),createTransactionMeta:tA.bind(null,e),getTransactionMeta:sfe.bind(null,e),saveTransactionMeta:rA.bind(null,e),clearTransactionMeta:afe.bind(null,e),isTransactionMetaValid:bU,setFlow:i=>{e.options.flow=i},getFlow:()=>e.options.flow,canProceed:jU.bind(null,e),unlockAccount:ape.bind(null,e)}}(this),this.fingerprint=$5.bind(null,this)}}).webauthn=_t,n}(Yge(e,n,t))}(uve,cve,dve),fve=function Xye(e){return class extends e{constructor(...t){super(...t),this.myaccount=Object.entries(Xe).filter(([i])=>"default"!==i).reduce((i,[r,o])=>(i[r]=o.bind(null,this),i),{})}}}(hve),pve=function lve(e){return class extends e{constructor(...t){super(...t),this.authn=this.tx=ave(this),this.fingerprint=$5.bind(null,this)}signIn(t){var i=this;return V(function*(){t=ia(t||{});const r=o=>(delete t.sendFingerprint,i.tx.postToTransaction("/api/v1/authn",t,o));return t.sendFingerprint?i.fingerprint().then(function(o){return r({headers:{"X-Device-Fingerprint":o}})}):r()})()}signInWithCredentials(t){var i=this;
vendor: 3,035 bytes, line 1
1return V(function*(){return i.signIn(t)})()}forgotPassword(t){return this.tx.postToTransaction("/api/v1/authn/recovery/password",t)}unlockAccount(t){return this.tx.postToTransaction("/api/v1/authn/recovery/unlock",t)}verifyRecoveryToken(t){const{multiOptionalFactorEnroll:i}=t,r=bh(t,["multiOptionalFactorEnroll"]);return i&&(r.options={multiOptionalFactorEnroll:i}),this.tx.postToTransaction("/api/v1/authn/recovery/token",r)}}}(fve);class mve extends pve{constructor(n){super(n)}}class gve extends Jt{constructor(n,t){super()}schedule(n,t=0){return this}}const fC={setInterval(e,n,...t){const{delegate:i}=fC;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=fC;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class UM extends gve{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return fC.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&fC.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Gt(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const K5={now:()=>(K5.delegate||Date).now(),delegate:void 0};class Dy{constructor(n,t=Dy.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Dy.now=K5.now;class HM extends Dy{constructor(n,t=Dy.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const Oy=new HM(UM),yve=Oy;function Iy(e=0,n,t=yve){let i=-1;return null!=n&&(ig(n)?t=n:i=n),new wi(r=>{let o=function vve(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function jM(e=0,n=Oy){return e<0&&(e=0),Iy(e,e,n)}const Q5=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,pC=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const n=e.match(Q5);
1if(!n)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return n.shift(),n},J5=e=>"*"===e||"x"===e||"X"===e,X5=e=>{const n=parseInt(e,10);return isNaN(n)?e:n},wve=(e,n)=>{if(J5(e)||J5(n))return 0;const[t,i]=((e,n)=>typeof e!=typeof n?[String(e),String(n)]:[e,n])(X5(e),X5(n));return t>i?1:t<i?-1:0},Gp=(e,n)=>{for(let t=0;t<Math.max(e.length,n.length);t++){const i=wve(e[t]||"0",n[t]||"0");if(0!==i)return i}return 0},Z5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},e6=Object.keys(Z5),Cve=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===e6.indexOf(e))throw new Error(`Invalid operator, expected one of ${e6.join("|")}`)},zM=new Pe("okta.config.angular"),mC=new Pe("okta.auth");let gC=(()=>{class e{constructor(t){t&&(this.config=t)}getConfig(){return this.config}setConfig(t){this.config=t}}return e.\u0275fac=function(t){return new(t||e)(J(zM,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var qp=function(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})};let t6=(()=>{class e{constructor(t,i,r){this.oktaAuth=t,this.injector=i,this.configService=r,this.updateAuthStateListener=a=>qp(this,void 0,void 0,function*(){(yield this.isAuthenticated(this.routeData,a))||this.handleLogin(this.state.url,this.routeData)});const o=this.configService.getConfig();if(!o)throw new Error("Okta config is not provided");this.onAuthRequired=o.onAuthRequired,i.get(Ai).events.pipe(ni(a=>a instanceof ww&&this.state&&this.state.url!==a.url)).subscribe(()=>{this.oktaAuth.authStateManager.unsubscribe(this.updateAuthStateListener)})}canLoad(t){var i;return qp(this,void 0,void 0,function*(){if(this.onAuthRequired=(null===(i=t.data)||void 0===i?void 0:i.onAuthRequired)||this.onAuthRequired,yield this.isAuthenticated(t.data))return!0;const s=this.injector.get(Ai).getCurrentNavigation(),a=s?s.extractedUrl.toString():void 0;return yield this.handleLogin(a,t.data),!1})}canActivate(t,i){return qp(this,void 0,void 0,function*(){return this.state=i,this.routeData=t.data,this.onAuthRequired=t.data&&t.data.onAuthRequired||this.onAuthRequired,this.oktaAuth.authStateManager.subscribe(this.updateAuthStateListener),!!(yield this.isAuthenticated(t.data))||(yield this.handleLogin(i.url,t.data),!1)})}canActivateChild(t,i){return qp(this,void 0,void 0,function*(){return this.canActivate(t,i)})}isAuthenticated(t,i){var r,o,s;return qp(this,void 0,void 0,function*(){let l=i?i?.isAuthenticated:yield this.oktaAuth.isAuthenticated();return!(null===(r=t?.okta)||void 0===r)&&r.acrValues&&(i||(i=this.oktaAuth.authStateManager.getAuthState()),l=(null===(o=i?.idToken)||void 0===o?void 0:o.claims.acr)===(null===(s=t?.okta)||void 0===s?void 0:s.acrValues)),l})}handleLogin(t,i){var r;return qp(this,void 0,void 0,function*(){t&&this.oktaAuth.setOriginalUri(t);const o={};!(null===(r=i?.okta)||void 0===r)&&r.acrValues&&(o.acrValues=i.okta.acrValues),this.onAuthRequired?this.onAuthRequired(this.oktaAuth,this.injector,o):this.oktaAuth.signInWithRedirect(o)})}}return e.\u0275fac=function(t){return new(t||e)(J(mC),J(lr),J(gC))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const n6={isAuthenticated:!1};let GM=(()=>{class e{constructor(t){this.oktaAuth=t,this._authState=new os(n6),this.authState$=this._authState.asObservable(),this.updateAuthState=this.updateAuthState.bind(this);const i=this.oktaAuth.authStateManager.getAuthState()||n6;this._authState.next(i),this.oktaAuth.authStateManager.subscribe(this.updateAuthState)}ngOnDestroy(){this.oktaAuth.authStateManager.unsubscribe(this.updateAuthState)}hasAnyGroups(t){return this.authState$.pipe(Qr(({isAuthenticated:i,idToken:r})=>function(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){if(!i||!r)return!1;"string"==typeof t&&(t={groups:[t]}),Array.isArray(t)&&(t={groups:t});const o=Object.keys(t)[0],s=t[o];if(r.claims[o])return s.some(l=>r.claims[o].includes(l));const a=yield this.oktaAuth.getUser();return!!a[o]&&s.some(l=>a[o].includes(l))})))}updateAuthState(t){this._authState.next(t)}}return e.\u0275fac=function(t){return new(t||e)(J(mC))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();class qM{static setupOktaAuth(n,t,i){if(!n._oktaUserAgent||!((e,n,t)=>{Cve(t);const i=((e,n)=>{const t=pC(e),i=pC(n),r=t.pop(),o=i.pop(),s=Gp(t,i);return 0!==s?s:r&&o?Gp(r.split("."),o.split(".")):r||o?r?-1:1:0})(e,n);return Z5[t].includes(i)})(n._oktaUserAgent.getVersion(),"5.3.1",">="))throw new Ke("Passed in oktaAuth is not compatible with the SDK, minimum supported okta-auth-js version is 5.3.1.");n._oktaUserAgent.addEnvironment("@okta/okta-angular/6.5.1"),n._oktaUserAgent.addEnvironment(`Angular/${oF.full}
1`),!n.options.restoreOriginalUri&&t&&i&&(n.options.restoreOriginalUri=(o,s)=>function(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){const a=window.location.origin+i.prepareExternalUrl(""),l=function qhe(e="",n){return Fw(e)&&(e=e.substring(n.length)),"/"===e[0]?e:`/${e}`}(s||"/",a);t.navigateByUrl(l)})),n.start()}static createOktaAuth(n,t,i){const r=n.getConfig();if(!r)throw new Error("Okta config is not provided");const{oktaAuth:o}=r;if(!o)throw new Error("Okta config should contain oktaAuth");return qM.setupOktaAuth(o,t,i),o}}let Eve=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:zM,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[gC,GM,t6,{provide:mC,useFactory:qM.createOktaAuth,deps:[gC,[new Cs,Ai],[new Cs,ks]]}]}),e})();var cu=(()=>{return(e=cu||(cu={})).SUCCESS="SUCCESS",e.PENDING="PENDING",e.FAILURE="FAILURE",e.TERMINAL="TERMINAL",e.CANCELED="CANCELED",cu;var e})(),hc=(()=>{return(e=hc||(hc={})).OKTA_PASSWORD="okta_password",e.OKTA_EMAIL="okta_email",e.PHONE_NUMBER="phone_number",e.GOOGLE_AUTHENTICATOR="google_otp",e.SECURITY_QUESTION="security_question",e.OKTA_VERIFY="okta_verify",e.WEBAUTHN="webauthn",hc;var e})(),uu=(()=>{return(e=uu||(uu={})).PASSWORD_RECOVERY="recover-password",e.REGISTRATION="enroll-profile",e.SOCIAL_IDP="redirect-idp",e.ACCOUNT_UNLOCK="unlock-account",uu;var e})();function vC(e){return e&&(e.key||e.id)}function Wp(){var e=function kve(){return typeof window<"u"?window.console:typeof console<"u"?console:void 0}();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function fc(e){Wp().warn("[okta-auth-sdk] WARN: "+e)}function Qa(e){var n={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var i=e[t];null!=i&&(n[t]=i)}return n}function sa(e){if(e){var n=JSON.stringify(e);if(n)return JSON.parse(n)}return e}function Py(e,...n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1==n.indexOf(i)&&(t[i]=e[i]);return sa(t)}function WM(e,n){for(var t=e.length;t--;){var i=e[t],r=!0;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&i[o]!==n[o]){r=!1;break}if(r)return i}}function KM(e,n,t){if(e&&e._links){var i=sa(e._links[n]);if(!(i&&i.name&&t))return i;if(i.name===t)return i}}class Kp extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}function Yp(e){return"[object String]"===Object.prototype.toString.call(e)}function i6(e){return"[object Object]"===Object.prototype.toString.call(e)}function r6(e){return!!e&&"[object Function]"==={}.toString.call(e)}let vd=(()=>{class e extends Kp{constructor(t,i,r){var o;super(null!==(o=i.error)&&void 0!==o?o:e.UNKNOWN_ERROR),this.name="WWWAuthError",this.resp=null,this.scheme=t,this.parameters=i,r&&(this.resp=r)}get error(){return this.parameters.error}get errorCode(){return this.error}get error_description(){return this.parameters.error_description}get errorDescription(){return this.error_description}get errorSummary(){return this.errorDescription}get realm(){return this.parameters.realm}static parseHeader(t){var i;if(!t)return null;const r=/(?:,|, )?([a-zA-Z0-9!#$%&'*+\-.^_`|~]+)=(?:"([a-zA-Z0-9!#$%&'*+\-.,^_`|~ /:]+)"|([a-zA-Z0-9!#$%&'*+\-.^_`|~/:]+))/g,o=t.indexOf(" "),s=t.slice(0,o),a=t.slice(o+1),l={};let c;for(;null!==(c=r.exec(a));)l[c[1]]=null!==(i=c[2])&&void 0!==i?i:c[3];return new e(s,l)}static getWWWAuthenticateHeader(t={}){var i;return r6(t?.get)?t.get("WWW-Authenticate"):null!==(i=t["www-authenticate"])&&void 0!==i?i:t["WWW-Authenticate"]}}return e.UNKNOWN_ERROR="UNKNOWN_WWW_AUTH_ERROR",e})();function o6(e){for(var n="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t="",i=0,r=n.length;i<e;++i)t+=n[Math.floor(Math.random()*r)];return t}function s6(e){return new Promise(function(n){setTimeout(n,e)})}function Dve(e,n){const t=e.split(n);return[t[0],t.splice(1,t.length).join(n)]}function _C(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)}function pc(e){var n=[];if(null!==e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&null!=e[t]&&n.push(t+"="+encodeURIComponent(e[t]));return n.length?"?"+n.join("&"):""}function Pa(e){if(e){var n=e.replace(/^\s+|\s+$/gm,"");return n.replace(/\/+$/,"")}}class Qe extends Kp{constructor(n,t){super(n),this.name="AuthSdkError",this.errorCode="INTERNAL",this.errorSummary=n,this.errorLink="INTERNAL",this.errorId="INTERNAL",this.errorCauses=[],t&&(this.xhr=t)}}function YM(){return o6(64)}function QM(e,n={}){return Pa(n.issuer)||e.options.issuer}function a6(e,n={}){const t=QM(e,n);return t.indexOf("/oauth2")>0?t:t+"/oauth2"}function Pve(e,n={}
1){return QM(e,n).split("/oauth2")[0]}function _d(e,n){if(arguments.length>2)throw new Qe('As of version 3.0, "getOAuthUrls" takes only a single set of options');var t=Pa((n=n||{}).authorizeUrl)||e.options.authorizeUrl,i=QM(e,n),r=Pa(n.userinfoUrl)||e.options.userinfoUrl,o=Pa(n.tokenUrl)||e.options.tokenUrl,s=Pa(n.logoutUrl)||e.options.logoutUrl,a=Pa(n.revokeUrl)||e.options.revokeUrl,l=a6(e,n);return{issuer:i,authorizeUrl:t=t||l+"/v1/authorize",userinfoUrl:r=r||l+"/v1/userinfo",tokenUrl:o=o||l+"/v1/token",revokeUrl:a=a||l+"/v1/revoke",logoutUrl:s=s||l+"/v1/logout"}}function l6(e,n){const r={issuer:e.options.issuer,urls:_d(e,n),clientId:n.clientId,redirectUri:n.redirectUri,responseType:n.responseType,responseMode:n.responseMode,scopes:n.scopes,state:n.state,nonce:n.nonce,ignoreSignature:n.ignoreSignature,acrValues:n.acrValues,extraParams:n.extraParams};return!1===n.pkce?r:Object.assign(Object.assign({},r),{codeVerifier:n.codeVerifier,codeChallengeMethod:n.codeChallengeMethod,codeChallenge:n.codeChallenge})}const Ry="oktaStateToken",c6=500,u6=3,d6=300,h6=86400,JM="okta-token-storage",f6="okta-cache-storage",Rve="okta-pkce-storage",p6="okta-transaction-storage",m6="okta-shared-transaction-storage",g6="okta-original-uri-storage",y6="okta-idx-response-storage",Nve="accessToken",Lve="idToken",XM="refreshToken",bC="referrerPath",ZM=43,v6=128,eD="S256",tD="1.0.0";class Dh extends Kp{constructor(n,t,i){super(n.errorSummary),this.name="AuthApiError",this.errorSummary=n.errorSummary,this.errorCode=n.errorCode,this.errorLink=n.errorLink,this.errorId=n.errorId,this.errorCauses=n.errorCauses,t&&(this.xhr=t),i&&(this.meta=i)}}class Qp extends Kp{constructor(n,t,i){super(t),this.resp=null,this.name="OAuthError",this.errorCode=n,this.errorSummary=t,this.error=n,this.error_description=t,i&&(this.resp=i)}}const nD=function(e){return atob(e)},bd=function(e){return btoa(e)},aa=typeof crypto>"u"?null:crypto,Fve=/windows phone|iemobile|wpdesktop/i;function Ko(){return typeof document<"u"&&typeof window<"u"}function wC(){if(!Ko())return!1;const e=document.documentMode;return!!e&&e<=11}function _6(){return navigator.userAgent}function b6(){const e=_6();return e&&!Fve.test(e)}function $ve(){if(!Ko())return!1;const e=document.documentMode;return typeof window.postMessage<"u"&&!(e&&e<10)}function w6(){return typeof aa<"u"&&null!==aa&&typeof aa.subtle<"u"&&typeof Uint8Array<"u"}function C6(){return w6()}function iD(){return typeof TextEncoder<"u"}function Vve(){return C6()&&iD()}function S6(){return!!Ko()&&"https:"===window.location.protocol}function x6(){return Ko()&&"localhost"===window.location.hostname}function Bve(){return!wC()&&typeof window.indexedDB<"u"&&iD()&&w6()}function Uve(){return Ko()&&typeof navigator<"u"&&typeof navigator.userAgent<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}let E6,rD=0;function mc(e,n){var t;if(n=n||{},e.options.httpRequestInterceptors)for(const $e of e.options.httpRequestInterceptors)$e(n);var i=n.url,r=n.method,o=n.args,s=n.saveAuthnState,a=n.accessToken,l=!0===n.withCredentials,u=e.options.storageUtil.storage,d=e.storageManager.getHttpCache(e.options.cookies),f=n.pollingIntent,y=null!==(t=e.options.pollDelay)&&void 0!==t?t:0;if(n.cacheResponse){var S=d.getStorage()[i];if(S&&Date.now()/1e3<S.expiresAt)return Promise.resolve(S.response)}var D=e._oktaUserAgent.getHttpHeader(),R=Object.assign({Accept:"application/json","Content-Type":"application/json"},D);Object.assign(R,e.options.headers,n.headers),R=Qa(R),a&&Yp(a)&&(R.Authorization="Bearer "+a);var H,te,mt,G={headers:R,data:o||void 0,withCredentials:l};if(f&&Ko()&&y>0){let $e,gt,nn,Tn=0;gt=()=>{const on=Date.now()-rD;return on<y?new Promise(Ht=>setTimeout(()=>{document.hidden?Ht($e()):Ht()},y-on)):Promise.resolve()},$e=()=>{if(document.hidden){let on;return new Promise(Ht=>{on=()=>{document.hidden||(document.removeEventListener("visibilitychange",on),Ht(gt()))},document.addEventListener("visibilitychange",on)})}return gt()};const gn=()=>e.options.httpRequestClient(r,i,G).catch(on=>{if("Load failed"===on?.message&&Tn<u6)return Tn++,nn();throw on});nn=()=>$e().then(gn),mt=nn()}else mt=e.options.httpRequestClient(r,i,G);return mt.then(function($e){return(te=$e.responseText)&&Yp(te)&&(te=JSON.parse(te))&&"object"==typeof te&&!te.headers&&(Array.isArray(te)?te.forEach(gt=>{gt.headers=$e.headers}):te.headers=$e.headers),s&&(te.stateToken||u.delete(Ry)),te&&te.stateToken&&te.expiresAt&&u.set(Ry,te.stateToken,te.expiresAt,e.options.cookies),te&&n.cacheResponse&&d.updateStorage(i,{expiresAt:Math.floor(Date.now()/1e3)+h6,response:te}),te}).catch(function($e){throw H=((e,n)=>{var t;if(n instanceof Error)return new Dh({errorSummary:n.message});let r,i=n,o={};if(i.responseText&&Yp(i.responseText))try{o=JSON.parse(i.responseText)}catch{o={errorSummary:"Unknown error"}}i.status>=500&&(o.errorSummary="Unknown error"),e.options.transformErrorXHR&&(i=e.options.transformErrorXHR(sa(i)));const s=null!==(t=vd.getWWWAuthenticateHeader(i?.headers))&&void 0!==t?t:"";if(r=o.error&&o.error_description?new Qp(o.error,o.error_description,i):new Dh(o,i,{wwwAuthHeader:s}),s&&i?.status>=400&&i?.status<500){const a=vd.parseHeader(s);if(403===i.status&&"insufficient_authentication_context"===a?.error){const{max_age:l,acr_values:c}=a.parameters;r=new Dh({errorSummary:a.error,errorCauses:[{errorSummary:a.errorDescription}]},i,Object.assign({max_age:+l},c&&{acr_values:c}))}else"DPoP"===a?.scheme&&(r=a)}return r})(e,$e),"E0000011"===H.errorCode&&u.delete(Ry),H})}function Jp(e,n,t){var i={url:n=_C(n)?n:e.getIssuerOrigin()+n,method:"GET"};return Object.assign(i,t),mc(e,i)}function wd(e,n,t,i){var r={url:n=_C(n)?n:e.getIssuerOrigin()+n,method:"POST",args:t,saveAuthnState:!0};return Object.assign(r,i),mc(e,r)}function Oh(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t}function oD(e){return sD.apply(this,arguments)}function sD(){return(sD=V(function*(e,n={}){const t=yield e.token.prepareTokenParams(n),i=l6(e,t);let{flow:r="default",withCredentials:o=!0,activationToken:s,recoveryToken:a,maxAge:l,acrValues:c}=Object.assign(Object.assign({},e.options),n);return Object.assign(Object.assign({},i),{flow:r,withCredentials:o,activationToken:s,recoveryToken:a,maxAge:l,acrValues:c})})).apply(this,arguments)}function k6(e,n){return!!Cd(e,n)?.interactionHandle}function Cd(e,n){let t;n=Qa(n),n=Object.assign(Object.assign({},e.options),n);try{t=e.transactionManager.load(n)}catch{}if(t){if(T6(t,n))return t;fc("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.")}}function jve(e,n){return aD.apply(this,arguments)}function aD(){return(aD=V(function*(e,n){return n=Qa(n),Cd(e,n=Object.assign(Object.assign({},e.options),n))||oD(e,n)})).apply(this,arguments)}function lD(e,n){e.transactionManager.save(n,{muteWarning:!0})}function zve(e){e.transactionManager.clear()}function T6(e,n={}){if(!1===function qve(e,n,t){return!t.some(r=>{const o=n[r];if(o&&o!==e[r])return!0})}(e,n,["issuer","clientId","redirectUri","state","codeChallenge","codeChallengeMethod","activationToken","recoveryToken"]))return!1;const{flow:i}=n;return!1!==function Gve(e,n){return!(n&&"default"!==n&&"proceed"!==n&&n!==e.flow)}(e,i)}function A6(e){return{meta:e,interactionHandle:e.interactionHandle,state:e.state}}function M6(e){return cD.apply(this,arguments)}function cD(){return(cD=V(function*(e,n={}){let t=Cd(e,n=Qa(n));if(t?.interactionHandle)return A6(t);t=yield oD(e,Object.assign(Object.assign({},t),n));const i=a6(e);let{clientId:r,redirectUri:o,state:s,scopes:a,withCredentials:l,codeChallenge:c,codeChallengeMethod:u,activationToken:d,recoveryToken:f,maxAge:y,acrValues:b,nonce:S}=t;const D=n.clientSecret||e.options.clientSecret;l=l??!0;const R=`${i}/v1/interact`,G=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({client_id:r,scope:a.join(" "),redirect_uri:o,code_challenge:c,code_challenge_method:u,state:s},d&&{activation_token:d}),f&&{recovery_token:f}),D&&{client_secret:D}),y&&{max_age:y}),b&&{acr_values:b}),S&&{nonce:S}),mt=(yield mc(e,{method:"POST",url:R,headers:{"Content-Type":"application/x-www-form-urlencoded"},withCredentials:l,args:G})).interaction_handle,$e=Object.assign(Object.assign({},t),{interactionHandle:mt,withCredentials:l,state:s,scopes:a,recoveryToken:f,activationToken:d});return lD(e,$e),A6($e)})).apply(this,arguments)}Ko()&&(rD=Date.now(),E6=()=>{document.hidden||(rD=Date.now())},document.addEventListener("visibilitychange",E6)),"function"==typeof SuppressedError&&SuppressedError;const Wve=function(n){return!1!==n.mutable},Kve=function(n){var t,i;const r={},o=[],s={};if(!n.value)return o.push(n),{defaultParamsForAction:r,neededParamsForAction:o,immutableParamsForAction:s};for(let a of n.value)Wve(a)?(o.push(a),null!==(t=a.value)&&void 0!==t&&t&&(r[a.name]=a.value)):s[a.name]=null!==(i=a.value)&&void 0!==i?i:"";return{defaultParamsForAction:r,neededParamsForAction:o,immutableParamsForAction:s}},Qve=function(n,{actionDefinition:t,defaultParamsForAction:i={},immutableParamsForAction:r={},toPersist:o={}}){const s=t.href;return V(function*(a={}){var l,c;const u={"Content-Type":"application/json",Accept:t.accepts||"application/ion+json"},d=JSON.stringify(Object.assign(Object.assign(Object.assign({},i),a),r));try{const f={url:s,method:t.method,headers:u,args:d,withCredentials:null===(l=o?.withCredentials)||void 0===l||l};("poll"===t.name||(null===(c=t.name)||void 0===c?void 0:c.endsWith("-poll")))&&(f.pollingIntent=!0);const b=yield mc(n,f);return n.idx.makeIdxResponse(Object.assign({},b),o,!0)}catch(f){if(!(f instanceof Dh&&f?.xhr))throw f;const y=f.xhr,b=y.responseJSON||JSON.parse(y.responseText),S=y.headers["WWW-Authenticate"]||y.headers["www-authenticate"],D=n.idx.makeIdxResponse(Object.assign({},b),o,!1);return 401===y.status&&'Oktadevicejwt realm="Okta Device"'===S&&(D.stepUp=!0),D}})},uD=function(n,t,i){const r=Qve,{defaultParams:o,neededParams:s,immutableParams:a}=function(n){n=Array.isArray(n)?n:[n];const t=[],i={},r={};for(let o of n){const{defaultParamsForAction:s,neededParamsForAction:a,immutableParamsForAction:l}=Kve(o);t.push(a),i[o.name]=s,r[o.name]=l}return{defaultParams:i,neededParams:t,immutableParams:r}}(t),l=r(n,{actionDefinition:t,defaultParamsForAction:o[t.name],immutableParamsForAction:a[t.name],toPersist:i});return l.neededParams=s,l},Xve=/\$?(?<step>\w+)|(?:\[(?<index>\d+)\])/g,e_e={remediation:!0,context:!0},D6=(e,n)=>
1{Object.keys(n).forEach(t=>{if("relatesTo"===t){const i=Array.isArray(n[t])?n[t][0]:n[t];if("string"==typeof i){const r=function Zve({path:e,json:n}){var t,i,r;const o=[];let s;for(;null!==(s=Xve.exec(e));){const c=null!==(i=null===(t=s?.groups)||void 0===t?void 0:t.step)&&void 0!==i?i:null===(r=s?.groups)||void 0===r?void 0:r.index;c&&o.push(c)}if(o.length<1)return;const a=o.pop();let l=n;for(const c of o)if(Object.prototype.hasOwnProperty.call(l,c)){if("object"!=typeof l[c])return;l=l[c]}return l[a]}({path:i,json:e});if(r)return void(n[t]=r);throw new Qe(`Cannot resolve relatesTo: ${i}`)}}Array.isArray(n[t])&&n[t].forEach(i=>D6(e,i))})},i_e=function(n,t,i={}){var r;const o=(null===(r=t.remediation)||void 0===r?void 0:r.value)||[];o.forEach(c=>{var u;if("launch-authenticator"!==c.name||"authenticatorChallenge"!==(null===(u=c?.relatesTo)||void 0===u?void 0:u[0])||t?.authenticatorChallenge)return D6(t,c);delete c.relatesTo});const s=o.map(c=>((e,n,t)=>{if(n.rel){const r=function(n,t,i={}){return t.reduce((r,o)=>Object.assign(Object.assign({},r),{[o.name]:uD(n,o,i)}),{})}(e,[n],t)[n.name];return Object.assign(Object.assign({},n),{action:r})}return n})(n,c,i)),{context:a,actions:l}=function(n,t,i={}){const r={},o={};return Object.keys(t).filter(s=>!e_e[s]).forEach(s=>{if("object"!=typeof t[s]||!t[s])return void(o[s]=t[s]);if(t[s].rel)return void(r[t[s].name]=uD(n,t[s],i));const l=t[s],{value:c,type:u}=l,d=Oh(l,["value","type"]);o[s]=Object.assign({type:u},d),"object"===u?(o[s].value={},Object.entries(c).forEach(([f,y])=>{y.rel?r[`${s}-${f.name||f}`]=uD(n,y,i):o[s].value[f]=y})):o[s].value=c}),{context:o,actions:r}}(n,t,i);return{remediations:s,context:a,actions:l}};var o_e={makeIdxState:function r_e(e,n,t,i){var r,o,s;const a=n,{remediations:l,context:c,actions:u}=i_e(e,n,t),d=[...l],f=function(){var S=V(function*(D,R={}){const G=l.find(te=>te.name===D);return G?"function"!=typeof G.action?Promise.reject(`Current remediation cannot make form submit action: [${D}]`):G.action(R):Promise.reject(`Unknown remediation choice: [${D}]`)});return function(R){return S.apply(this,arguments)}}();return{proceed:f,neededToProceed:d,actions:u,context:c,rawIdxState:a,interactionCode:null===(s=null===(o=null===(r=a.successWithInteractionCode)||void 0===r?void 0:r.value)||void 0===o?void 0:o.find(S=>"interaction_code"===S.name))||void 0===s?void 0:s.value,toPersist:t,requestDidSucceed:i}}};const O6=function(n){switch(n){case"1.0.0":return o_e;case void 0:case null:throw new Error("Api version is required");default:throw new Error(`Unknown api version: ${n}. Use an exact semver version.`)}};function I6(e){if(!e)throw new Error("version is required");if((e??"").replace(/[^0-9a-zA-Z._-]/,"")!==e||!e)throw new Error("invalid version supplied - version is required and uses semver syntax");O6(e)}function P6(e,n,t,i){var r;const o=null!==(r=n?.version)&&void 0!==r?r:tD;I6(o);const{makeIdxState:s}=O6(o);return s(e,n,t,i)}function R6(e){return e&&e.version}function s_e(e){return e instanceof Dh}function N6(e){return e instanceof Qp}function dD(e){return hD.apply(this,arguments)}function hD(){return(hD=V(function*(e,n={}){var t;let i,r;const o=e.transactionManager.loadIdxResponse(n);if(o&&(i=o.rawIdxResponse,r=o.requestDidSucceed),!i){const a=n.version||tD,l=Pve(e),{interactionHandle:c,stateHandle:u}=n,d=null===(t=n.withCredentials)||void 0===t||t;try{r=!0,I6(a);const f=`${l}/idp/idx/introspect`,y=u?{stateToken:u}:{interactionHandle:c},b={"Content-Type":`application/ion+json; okta-version=${a}`,Accept:`application/ion+json; okta-version=${a}`};i=yield mc(e,{method:"POST",url:f,headers:b,withCredentials:d,args:y})}catch(f){if(!(s_e(f)&&f.xhr&&R6(f.xhr.responseJSON)))throw f;i=f.xhr.responseJSON,r=!1}}const{withCredentials:s}=n;return P6(e,i,{withCredentials:s},r)})).apply(this,arguments)}function CC(e){return e.charAt(0).toUpperCase()+e.substring(1)}function SC(e){return e.value.find(({name:n})=>"authenticator"===n)}function L6(e){let n;if(vC(e))n=e;else{if("string"!=typeof e)throw new Error("Invalid format for authenticator");n={key:e}}return n}function Xp(e,n){return!!(e&&n&&(e.id&&n.id?e.id===n.id:e.key&&n.key&&e.key===n.key))}class la{constructor(n,t={},i={}){this.values=Object.assign({},t),this.options=Object.assign({},i),this.formatAuthenticators(),this.remediation=n}formatAuthenticators(){if(this.values.authenticators=this.values.authenticators||[],this.values.authenticators=this.values.authenticators.map(n=>L6(n)),this.values.authenticator){const n=L6(this.values.authenticator);this.values.authenticators.some(i=>Xp(n,i))||this.values.authenticators.push(n)}this.values.authenticatorsData=this.values.authenticators.reduce((n,t)=>("object"==typeof t&&Object.keys(t).length>1&&n.push(t),n),this.values.authenticatorsData||[])}getName(){return this.remediation.name}canRemediate(n){return!function c_e(e){var n;return null===(n=e.value)||void 0===n?void 0:n.reduce((t,i)=>(i.required&&t.push(i.name),t),[])}(this.remediation).find(r=>!this.hasData(r))}getData(n){if(!n)return function l_e(e){var n;return null===(n=e.value)||void 0===n?void 0:n.map(t=>t.name)}(this.remediation).reduce((r,o)=>(r[o]=this.getData(o),r),{});if("function"==typeof this[`map${CC(n)}`]){const t=this[`map${CC(n)}`](this.remediation.value.find(({name:i})=>i===n));if(t)return t}if(this.map&&this.map[n]){const t=this.map[n];for(let i=0;i<t.length;i++){let r=this.values[t[i]];if(r)return r}}return this.values[n]}hasData(n){return!!this.getData(n)}getNextStep(n,t){const i=this.getName(),r=this.getInputs(),o=this.getAuthenticator(),s=o?.type;return Object.assign(Object.assign({name:i,inputs:r},s&&{type:s}),o&&{authenticator:o})}getInputs(){const n=[];
1return(this.remediation.value||[]).forEach(i=>{let r,{name:o,type:s,visible:a,messages:l}=i;if(!1!==a){if("function"==typeof this[`getInput${CC(o)}`])r=this[`getInput${CC(o)}`](i);else if("object"!==s){let c;const u=(this.map?this.map[o]:null)||[];c=1===u.length?u[0]:u.find(d=>Object.keys(this.values).includes(d)),c&&(r=Object.assign(Object.assign({},i),{name:c}))}r||(r=i),Array.isArray(r)?r.forEach(c=>n.push(c)):(l&&(r.messages=l),n.push(r))}}),n}static getMessages(n){var t,i;if(n.value)return null===(i=null===(t=n.value[0])||void 0===t?void 0:t.form)||void 0===i?void 0:i.value.reduce((r,o)=>(o.messages&&(r=[...r,...o.messages.value]),r),[])}getValuesAfterProceed(){const i=[...this.remediation.value||[],...this.getInputs()];for(const r of i)delete this.values[r.name];return this.values}getAuthenticator(){var n,t;const i=null===(n=this.remediation.relatesTo)||void 0===n?void 0:n.value;if(!i)return;const r=SC(this.remediation);if(!r)return i;const o=r.form.value.find(({name:a})=>"id"===a).value,s=null===(t=r.form.value.find(({name:a})=>"enrollmentId"===a))||void 0===t?void 0:t.value;return Object.assign(Object.assign({},i),{id:o,enrollmentId:s})}}function xC(e){if(Array.isArray(e))return e.map(t=>"string"==typeof t||"number"==typeof t||"boolean"==typeof t?t:xC(t));const n={};for(const[t,i]of Object.entries(e))if(!(null===i||typeof i>"u"))if("object"==typeof i){const r=Object.keys(i);if(["value","form"].includes(t)&&1===r.length&&["value","form"].includes(r[0])){const o=xC(i);Object.entries(o).forEach(([s,a])=>{n[s]=a})}else n[t]=xC(i)}else n[t]=i;return n}class fD extends la{canRemediate(){return"function"==typeof this.remediation.action&&!("poll"!==this.remediation.name&&!this.remediation.name.endsWith("-poll")&&!this.options.step)}getData(){return this.getInputs().reduce((t,{name:i})=>(t[i]=this.values[i],t),{})}getNextStep(n,t){const i=this.getName(),r=this.getInputs(),o=this.remediation,{action:f}=o,y=Oh(o,["href","method","rel","accepts","produces","value","action"]);return f?Object.assign(Object.assign(Object.assign({},y),!!r.length&&{inputs:r}),{action:(b=V(function*(S){return n.idx.proceed(Object.assign({step:i},S))}),function(D){return b.apply(this,arguments)})}):Object.assign({},this.remediation);var b}getInputs(){return(this.remediation.value||[]).filter(({name:n})=>"stateHandle"!==n).map(xC).map(n=>(n.type=n.type||"string",n))}}const pD={remediators:{},getFlowSpecification:function(e,n="default"){return{remediators:{}}}};function EC(e){const{neededToProceed:n,interactionCode:t}=e;return!n.length&&!t}function mD(e){if(e&&Array.isArray(e))return e.reduce((n,t)=>{if(t.messages&&(n=[...n,...t.messages.value]),t.form){const i=mD(t.form.value)||[];n=[...n,...i]}if(t.options){let i=[];t.options.forEach(o=>{!o.value||"string"==typeof o.value||(i=[...i,o.value])});const r=mD(i)||[];n=[...n,...r]}return n},[])}function F6(e,n){var t;let i=[];const{rawIdxState:r,neededToProceed:o}=e,s=null===(t=r.messages)||void 0===t?void 0:t.value.map(l=>l);if(s&&(i=[...i,...s]),!n.useGenericRemediator)for(let l of o){const c=mD(l.value);c&&(i=[...i,...c])}const a={};return i=i.reduce((l,c)=>{var u;const d=null===(u=c.i18n)||void 0===u?void 0:u.key;return d&&a[d]&&c.message===a[d].message||(a[d]=c,l=[...l,c]),l},[]),i}function m_e(e){const n=[],{actions:t,neededToProceed:i}=e;return t["currentAuthenticator-recover"]&&n.push(uu.PASSWORD_RECOVERY),i.some(({name:r})=>"select-enroll-profile"===r)&&n.push(uu.REGISTRATION),i.some(({name:r})=>"redirect-idp"===r)&&n.push(uu.SOCIAL_IDP),i.some(({name:r})=>"unlock-account"===r)&&n.push(uu.ACCOUNT_UNLOCK),n}function g_e(e,n,t){var i;const r=[],o=Object.values(pD.remediators).reduce((s,a)=>(a.remediationName&&(s[a.remediationName]=a),s),{});for(let s of n.neededToProceed){const a=gD(s,{useGenericRemediator:t,remediators:o});if(a){const l=new a(s);r.push(l.getNextStep(e,n.context))}}for(const[s]of Object.entries(n.actions||{})){let a={name:s,action:function(){var l=V(function*(c){return e.idx.proceed({actions:[{name:s,params:c}]})});return function(u){return l.apply(this,arguments)}}()};if(s.startsWith("currentAuthenticator")){const[l,c]=Dve(s,"-"),u=n.rawIdxState[l].value[c],d=Oh(u,["href","method","rel","accepts","produces"]),f=null===(i=u.value)||void 0===i?void 0:i.filter(y=>"stateHandle"!==y.name);a=Object.assign(Object.assign(Object.assign({},d),f&&{value:f}),a)}r.push(a)}return r}function y_e(e,n,t){const r=(e.neededToProceed||[]).find(s=>s.name===n);return r?r.value.reduce((s,a)=>{const{name:l,value:c}=a;return s[l]="stateHandle"===l?c:t[l],s},{}):(fc(`filterValuesForRemediation: "${n}" did not match any remediations`),t)}function gD(e,n){const{useGenericRemediator:t,remediators:i}=n;if(e)return t?fD:i[e.name]}function yD(e,n,t){const i=t.remediators,r=t.useGenericRemediator,{neededToProceed:o,context:s}=e;let a;if(t.step){const c=o.find(({name:u})=>u===t.step);if(c){const u=gD(c,t);return u?new u(c,n,t):void 0}return void fc(`step "${t.step}" did not match any remediations`)}const l=[];
1if(r)l.push(new fD(o[0],n,t));else for(let c of o)if(Object.keys(i).includes(c.name)){if(a=new(gD(c,t))(c,n,t),a.canRemediate(s))return a;l.push(a)}return l[0]}function vD(e,n,t){const i=n.getNextStep(e,t.context),r=function f_e(e){return e.neededToProceed.some(({name:n})=>"skip"===n)}(t),o=function p_e(e){return Object.keys(e.actions).some(n=>n.includes("resend"))}(t);return Object.assign(Object.assign(Object.assign({},i),r&&{canSkip:r}),o&&{canResend:o})}function kC(e,n,t={}){const i=EC(n),r=F6(n,t);if(i)return{idxResponse:n,terminal:i,messages:r};{const o=yD(n,{},t),s=o&&vD(e,o,n);return Object.assign({idxResponse:n,messages:r},s&&{nextStep:s})}}function v_e(e,n){return Object.keys(n.actions).find(t=>!!e.resend&&t.includes("-resend"))}function __e(e){return Object.assign(Object.assign({},e),{resend:void 0})}function b_e(e,n){let t=e.actions||[];return t=t.filter(i=>"string"==typeof i?i!==n:i.name!==n),Object.assign(Object.assign({},e),{actions:t})}function TC(e,n,t,i){return _D.apply(this,arguments)}function _D(){return(_D=V(function*(e,n,t,i){let{neededToProceed:r,interactionCode:o}=n;const{flow:s}=i;if(o)return{idxResponse:n};const a=yD(n,t,i),l=v_e(t,n),u=[...i.actions||[],...l&&[l]||[]];if(u)for(let b of u){let S={};"string"!=typeof b&&(S=b.params||{},b=b.name);let D=__e(t),R=b_e(i,b);if("function"==typeof n.actions[b])return!1===(n=yield n.actions[b](S)).requestDidSucceed?kC(e,n,i):"cancel"===b?{idxResponse:n,canceled:!0}:TC(e,n,D,R);if(r.find(({name:H})=>H===b))return!1===(n=yield n.proceed(b,S)).requestDidSucceed?kC(e,n,i):TC(e,n,t,R)}const d=EC(n);if(d)return{idxResponse:n,terminal:d};if(!a){if(i.step)return t=y_e(n,i.step,t),!1===(n=yield n.proceed(i.step,t)).requestDidSucceed?kC(e,n,i):{idxResponse:n};if("default"===s)return{idxResponse:n};throw new Qe(`\n No remediation can match current flow, check policy settings in your org.\n Remediations: [${r.reduce((b,S)=>b?b+" ,"+S.name:S.name,"")}]\n `)}if(!a.canRemediate())return{idxResponse:n,nextStep:vD(e,a,n)};const f=a.getName(),y=a.getData();return!1===(n=yield n.proceed(f,y)).requestDidSucceed?kC(e,n,i):(t=a.getValuesAfterProceed(),!(i=Object.assign(Object.assign({},i),{step:void 0})).useGenericRemediator||n.interactionCode||EC(n)?TC(e,n,t,i):{idxResponse:n,nextStep:vD(e,yD(n,t,i),n)})})).apply(this,arguments)}function w_e(e){const t=Object.assign({},e);return["flow","remediators","actions","withCredentials","step","useGenericRemediator","exchangeCodeForTokens"].forEach(i=>{delete t[i]}),t}function C_e(e,n){var t,i,r,o;let{options:s}=n;s=Object.assign(Object.assign({},e.options.idx),s);let{flow:a,withCredentials:l,remediators:c,actions:u}=s;const d=cu.PENDING;if(a=a||(null===(i=(t=e.idx).getFlow)||void 0===i?void 0:i.call(t))||"default",a){null===(o=(r=e.idx).setFlow)||void 0===o||o.call(r,a);const f=function h_e(e,n="default"){return pD.getFlowSpecification(e,n)}(e,a);l=typeof l<"u"?l:f.withCredentials,c=c||f.remediators,u=u||f.actions}return Object.assign(Object.assign({},n),{options:Object.assign(Object.assign({},s),{flow:a,withCredentials:l,remediators:c,actions:u}),status:d})}function S_e(e,n){return bD.apply(this,arguments)}function bD(){return(bD=V(function*(e,n){const{options:t}=n,{stateHandle:i,withCredentials:r,version:o,state:s,scopes:a,recoveryToken:l,activationToken:c,maxAge:u,acrValues:d,nonce:f,useGenericRemediator:y}=t;let b,S=Cd(e,{state:s,recoveryToken:l,activationToken:c});if(i)b=yield dD(e,{withCredentials:r,version:o,stateHandle:i,useGenericRemediator:y});else{let D=S?.interactionHandle;if(!D){e.transactionManager.clear();const R=yield M6(e,{withCredentials:r,state:s,scopes:a,activationToken:c,recoveryToken:l,maxAge:u,acrValues:d,nonce:f});D=R.interactionHandle,S=R.meta}b=yield dD(e,{withCredentials:r,version:o,interactionHandle:D,useGenericRemediator:y})}return Object.assign(Object.assign({},n),{idxResponse:b,meta:S})})).apply(this,arguments)}function x_e(e,n){return wD.apply(this,arguments)}function wD(){return(wD=V(function*(e,n){let{idxResponse:t,options:i,values:r}=n;const{autoRemediate:o,remediators:s,actions:a,flow:l,step:c,useGenericRemediator:u}=i;if(!1===o||!(s||a||c))return n;r=Object.assign(Object.assign({},r),{stateHandle:t.rawIdxState.stateHandle});const{idxResponse:f,nextStep:y,canceled:b}=yield TC(e,t,r,{remediators:s,actions:a,flow:l,step:c,useGenericRemediator:u});return t=f,Object.assign(Object.assign({},n),{idxResponse:t,nextStep:y,canceled:b})})).apply(this,arguments)}function E_e(e,n){return CD.apply(this,arguments)}function CD(){return(CD=V(function*(e,n){let{meta:t,idxResponse:i}=n;const{interactionCode:r}=i,{clientId:o,codeVerifier:s,ignoreSignature:a,redirectUri:l,urls:c,scopes:u}=t;return(yield e.token.exchangeCodeForTokens({interactionCode:r,clientId:o,codeVerifier:s,ignoreSignature:a,redirectUri:l,scopes:u},c)).tokens})).apply(this,arguments)}function k_e(e,n){return SD.apply(this,arguments)}function SD(){return(SD=V(function*(e,n){let{options:t,idxResponse:i,canceled:r,status:o}=n;const{exchangeCodeForTokens:s}=t;let u,d,f,y,b,S,a=!1,l=!1,c=!0;if(i&&(a=!(!i.requestDidSucceed&&!i.stepUp),f=m_e(i),y=g_e(e,i,t.useGenericRemediator),b=F6(i,t),S=EC(i)),S){o=cu.TERMINAL;const D=Object.keys(i.actions).length>0,R=!!b.find(H=>"ERROR"===H.class);D||R||!0!==i.requestDidSucceed?a=!!D:l=!0,c=!1}else r?(o=cu.CANCELED,l=!0):i?.interactionCode&&(u=i.interactionCode,!1===s?(o=cu.SUCCESS,l=!1):(d=yield E_e(e,n),o=cu.SUCCESS,l=!0));return Object.assign(Object.assign({},n),{status:o,interactionCode:u,tokens:d,shouldSaveResponse:a,shouldClearTransaction:l,clearSharedStorage:c,enabledFeatures:f,availableSteps:y,messages:b,terminal:S})}
1)).apply(this,arguments)}function Ih(e){return xD.apply(this,arguments)}function xD(){return(xD=V(function*(e,n={}){var t;let i={options:n,values:w_e(n)};i=C_e(e,i),i=yield S_e(e,i),i=yield x_e(e,i),i=yield k_e(e,i);const{idxResponse:r,meta:o,shouldSaveResponse:s,shouldClearTransaction:a,clearSharedStorage:l,status:c,enabledFeatures:u,availableSteps:d,tokens:f,nextStep:y,messages:b,error:S,interactionCode:D}=i;if(a)e.transactionManager.clear({clearSharedStorage:l});else if(lD(e,Object.assign({},o)),s){const{rawIdxState:nn,requestDidSucceed:Tn}=r;e.transactionManager.saveIdxResponse({rawIdxResponse:nn,requestDidSucceed:Tn,stateHandle:null===(t=r.context)||void 0===t?void 0:t.stateHandle,interactionHandle:o?.interactionHandle})}const{actions:R,context:G,neededToProceed:H,proceed:te,rawIdxState:mt,requestDidSucceed:$e,stepUp:gt}=r||{};return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({status:c},o&&{meta:o}),u&&{enabledFeatures:u}),d&&{availableSteps:d}),f&&{tokens:f}),y&&{nextStep:y}),b&&b.length&&{messages:b}),S&&{error:S}),gt&&{stepUp:gt}),{interactionCode:D,actions:R,context:G,neededToProceed:H,proceed:te,rawIdxState:mt,requestDidSucceed:$e})})).apply(this,arguments)}function T_e(e){return ED.apply(this,arguments)}function ED(){return(ED=V(function*(e,n={}){return n.password&&!n.authenticator&&(n.authenticator=hc.OKTA_PASSWORD),Ih(e,Object.assign(Object.assign({},n),{flow:"authenticate"}))})).apply(this,arguments)}class Zp{constructor(n){this.meta=n}}class $6 extends Zp{canVerify(n){return!!(n.credentials||n.verificationCode||n.otp)}mapCredentials(n){const{credentials:t,verificationCode:i,otp:r}=n;if(t||i||r)return t||{passcode:i||r}}getInputs(n){var t;return Object.assign(Object.assign({},null===(t=n.form)||void 0===t?void 0:t.value[0]),{name:"verificationCode",type:"string",required:n.required})}}class A_e extends $6{mapCredentials(n){const{verificationCode:t}=n;if(t)return{totp:t}}}class V6 extends Zp{canVerify(n){return!!(n.credentials||n.password||n.passcode)}mapCredentials(n){const{credentials:t,password:i,passcode:r,revokeSessions:o}=n;if(t||i||r)return t||{passcode:r||i,revokeSessions:o}}getInputs(n){var t,i;const r=[Object.assign(Object.assign({},null===(t=n.form)||void 0===t?void 0:t.value[0]),{name:"password",type:"string",required:n.required})];return(null===(i=n.form)||void 0===i?void 0:i.value.find(s=>"revokeSessions"===s.name))&&r.push({name:"revokeSessions",type:"boolean",label:"Sign me out of all other devices",required:!1}),r}}class M_e extends Zp{canVerify(n){const{credentials:t}=n;if(t&&t.questionKey&&t.answer)return!0;const{questionKey:i,question:r,answer:o}=n;return!(!i||!o)||!(!r||!o)}mapCredentials(n){const{questionKey:t,question:i,answer:r}=n;if(r&&(t||i))return{questionKey:i?"custom":t,question:i,answer:r}}getInputs(){return[{name:"questionKey",type:"string",required:!0},{name:"question",type:"string",label:"Create a security question"},{name:"answer",type:"string",label:"Answer",required:!0}]}}class D_e extends Zp{canVerify(n){const{credentials:t}=n;if(t&&t.answer)return!0;const{answer:i}=n;return!!i}mapCredentials(n){const{answer:t}=n;if(t)return{questionKey:this.meta.contextualData.enrolledQuestion.questionKey,answer:t}}getInputs(){return[{name:"answer",type:"string",label:"Answer",required:!0}]}}class O_e extends Zp{canVerify(n){const{credentials:t}=n,i=t||n,{clientData:r,attestation:o}=i;return!(!r||!o)}mapCredentials(n){const{credentials:t,clientData:i,attestation:r}=n;if(t||i||r)return t||{clientData:i,attestation:r}}getInputs(){return[{name:"clientData",type:"string",required:!0,visible:!1,label:"Client Data"},{name:"attestation",type:"string",required:!0,visible:!1,label:"Attestation"}]}}class I_e extends Zp{canVerify(n){const{credentials:t}=n,i=t||n,{clientData:r,authenticatorData:o,signatureData:s}=i;return!!(r&&o&&s)}mapCredentials(n){const{credentials:t,authenticatorData:i,clientData:r,signatureData:o}=n;if(t||i||r||o)return t||{authenticatorData:i,clientData:r,signatureData:o}}getInputs(){return[{name:"authenticatorData",type:"string",label:"Authenticator Data",required:!0,visible:!1},{name:"clientData",type:"string",label:"Client Data",required:!0,visible:!1},{name:"signatureData",type:"string",label:"Signature Data",required:!0,visible:!1}]}}class kD extends la{constructor(n,t={}){super(n,t),this.authenticator=function P_e(e){var n,t;const r=e.relatesTo?.value||{};switch(r.key){case hc.OKTA_PASSWORD:return new V6(r);case hc.SECURITY_QUESTION:return null!==(n=r.contextualData)&&void 0!==n&&n.enrolledQuestion?new D_e(r):new M_e
1(r);case hc.OKTA_VERIFY:return new A_e(r);case hc.WEBAUTHN:return null!==(t=r.contextualData)&&void 0!==t&&t.challengeData?new I_e(r):new O_e(r);default:return new $6(r)}}(n)}getNextStep(n,t){var i;const r=super.getNextStep(n,t),o=null===(i=t?.authenticatorEnrollments)||void 0===i?void 0:i.value;return Object.assign(Object.assign({},r),{authenticatorEnrollments:o})}canRemediate(){return this.authenticator.canVerify(this.values)}mapCredentials(){return this.authenticator.mapCredentials(this.values)}getInputCredentials(n){return this.authenticator.getInputs(n)}getValuesAfterProceed(){return this.values=super.getValuesAfterProceed(),Object.keys(this.values).filter(t=>"credentials"!==t).reduce((t,i)=>Object.assign(Object.assign({},t),{[i]:this.values[i]}),{})}}let TD=(()=>{class e extends kD{}return e.remediationName="enroll-authenticator",e})(),Ny=(()=>{class e extends la{canRemediate(){return!!this.values.startPolling||"enroll-poll"===this.options.step}getNextStep(t,i){const r=super.getNextStep(t,i);let o=this.getAuthenticator();return!o&&i?.currentAuthenticator&&(o=i.currentAuthenticator.value),Object.assign(Object.assign({},r),{authenticator:o,poll:{required:!0,refresh:this.remediation.refresh}})}getValuesAfterProceed(){return Object.keys(this.values).filter(i=>"startPolling"!==i).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="enroll-poll",e})(),AD=(()=>{class e extends la{canRemediate(){if(this.values.channel)return!0;if(this.values.authenticator){const{id:t,channel:i}=this.values.authenticator;if(t&&i)return!0}return!1}getNextStep(t,i){const r=super.getNextStep(t,i),o=i.currentAuthenticator.value;return Object.assign(Object.assign({},r),{authenticator:o})}getData(){var t;return{authenticator:{id:this.remediation.value[0].value.form.value[0].value,channel:(null===(t=this.values.authenticator)||void 0===t?void 0:t.channel)||this.values.channel},stateHandle:this.values.stateHandle}}getValuesAfterProceed(){this.values=super.getValuesAfterProceed(),delete this.values.authenticators;const t=this.values.channel?"channel":"authenticator";return Object.keys(this.values).filter(r=>r!==t).reduce((r,o)=>Object.assign(Object.assign({},r),{[o]:this.values[o]}),{})}}return e.remediationName="select-enrollment-channel",e})(),MD=(()=>{class e extends la{getInputEmail(){return[{name:"email",type:"string",required:!0,label:"Email"}]}getInputPhoneNumber(){return[{name:"phoneNumber",type:"string",required:!0,label:"Phone Number"}]}canRemediate(){return Boolean(this.values.email||this.values.phoneNumber)}getNextStep(t,i){const r=super.getNextStep(t,i),o=i.currentAuthenticator.value;return Object.assign(Object.assign({},r),{authenticator:o})}getData(){return{stateHandle:this.values.stateHandle,email:this.values.email,phoneNumber:this.values.phoneNumber}}getValuesAfterProceed(){return Object.keys(this.values).filter(i=>!["email","phoneNumber"].includes(i)).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="enrollment-channel-data",e})(),AC=(()=>{class e extends kD{}return e.remediationName="challenge-authenticator",e})(),DD=(()=>{class e extends Ny{canRemediate(){return!!this.values.startPolling||"challenge-poll"===this.options.step}}return e.remediationName="challenge-poll",e})(),Ly=(()=>{class e extends la{constructor(){super(...arguments),this.map={identifier:["username"]}}canRemediate(){const{identifier:t}=this.getData();return!!t}mapCredentials(){const{credentials:t,password:i}=this.values;if(t||i)return t||{passcode:i}}getInputCredentials(t){return Object.assign(Object.assign({},t.form.value[0]),{name:"password",required:t.required})}}return e.remediationName="identify",e})(),MC=(()=>{class e extends la{mapCredentials(){const{newPassword:t}=this.values;if(t)return{passcode:t}}getInputCredentials(t){const r="password"===this.getAuthenticator().type?"newPassword":"verificationCode";return Object.assign(Object.assign({},t.form.value[0]),{name:r})}}return e.remediationName="reenroll-authenticator",e})(),DC=(()=>{class e extends MC{}return e.remediationName="reenroll-authenticator-warning",e})(),B6=(()=>{class e extends la{canRemediate(){return!1}getNextStep(){const{name:t,type:i,idp:r,href:o}=this.remediation;return{name:t,type:i,idp:r,href:o}}}return e.remediationName="redirect-idp",e})();class OD extends la{findMatchedOption(n,t){let i;for(let r of n)if(i=t.find(({relatesTo:o})=>o.key&&o.key===r.key),i)break;return i}canRemediate(n){var t,i;const{authenticators:r,authenticator:o}=this.values,s=SC(this.remediation),{options:a}=s;if(!r||!r.length)return!1;if(vC(o)&&o.id)return!0;const l=this.findMatchedOption(r,a);if(l){const c=n?.currentAuthenticator&&n?.currentAuthenticator.value.id===(null===(t=l.relatesTo)||void 0===t?void 0:t.id),u=n?.currentAuthenticatorEnrollment&&n?.currentAuthenticatorEnrollment.value.id===(null===(i=l.relatesTo)||void 0===i?void 0:i.id);return!c&&!u}return!1}mapAuthenticator(n){const{authenticators:t,authenticator:i}=this.values;if(vC(i)&&i.id)return this.selectedAuthenticator=i,i;const{options:r}=n,o=function u_e(e,n){let t;for(let i of e)if(t=n.find(({relatesTo:r})=>r.key&&r.key===i.key),t)break;return t}(t,r);return this.selectedAuthenticator=o.relatesTo,this.selectedOption=o,{id:o?.value.form.value.find(({name:s})=>"id"===s).value}}getInputAuthenticator(n){return{name:"authenticator",type:"string",options:n.options.map(({label:i,relatesTo:r})=>({label:i,value:r.key}))}}getValuesAfterProceed(){this.values=super.getValuesAfterProceed();const n=this.values.authenticators.filter(t=>!0!==Xp(t,this.selectedAuthenticator));return Object.assign(Object.assign({},this.values),{authenticators:n})}}let OC=(()=>{class e extends OD{constructor(t,i={},r={}){var o;super(t,i,r);const s="recoverPassword"===this.options.flow;(null===(o=SC(t).options)||void 0===o?void 0:o.some(({relatesTo:l})=>l?.key===hc.OKTA_PASSWORD))&&(s||this.values.password)&&(this.values.authenticators=[...this.values.authenticators||[],{key:hc.OKTA_PASSWORD}])}}return e.remediationName="select-authenticator-authenticate",e})(),IC=(()=>{class e extends OD{}return e.remediationName="select-authenticator-enroll",e})();class U6 extends la{constructor(n,t={}){super(n,t),this.authenticator=this.getAuthenticator(),this.formatAuthenticatorData()}formatAuthenticatorData(){if(this.getAuthenticatorData())this.values.authenticatorsData=this.values.authenticatorsData.map(t=>Xp(this.authenticator,t)?this.mapAuthenticatorDataFromValues(t):t);else{const t=this.mapAuthenticatorDataFromValues();t&&this.values.authenticatorsData.push(t)}}getAuthenticatorData(){return this.values.authenticatorsData.find(n=>Xp(this.authenticator,n))}canRemediate(){return this.values.authenticatorsData.some(n=>Xp(this.authenticator,n))}mapAuthenticatorDataFromValues(n){let{methodType:t,authenticator:i}=this.values;!t&&vC(i)&&(t=i?.methodType);const{id:r,enrollmentId:o}=this.authenticator,s=Object.assign(Object.assign({id:r,enrollmentId:o},n&&n),t&&{methodType:t});return s.methodType?s:null}getAuthenticatorFromRemediation(){return this.remediation.value.find(({name:t})=>"authenticator"===t)}getValuesAfterProceed(){this.values=super.getValuesAfterProceed();const n=this.values.authenticatorsData.filter(t=>!0!==Xp(this.authenticator,t));return Object.assign(Object.assign({},this.values),{authenticatorsData:n})}}let PC=(()=>{class e extends U6{mapAuthenticator(){return this.getAuthenticatorData()}getInputAuthenticator(){const t=this.getAuthenticatorFromRemediation(),i=t.form.value.find(({name:o})=>"methodType"===o);return i&&i.options?{name:"methodType",type:"string",required:!0,options:i.options}:[...t.form.value]}getValuesAfterProceed(){return this.values=super.getValuesAfterProceed(),Object.keys(this.values).filter(i=>"authenticator"!==i).reduce((i,r)=>Object.assign(Object.assign({},i),{[r]:this.values[r]}),{})}}return e.remediationName="authenticator-verification-data",e})(),RC=(()=>{class e extends U6{mapAuthenticator(){const t=this.getAuthenticatorData();return{id:SC(this.remediation).form.value.find(({name:r})=>"id"===r).value,methodType:t.methodType,phoneNumber:t.phoneNumber}}getInputAuthenticator(t){return[{name:"methodType",type:"string"},{name:"phoneNumber",label:"Phone Number",type:"string"}].map(i=>{const r=t.form.value.find(o=>o.name===i.name);return Object.assign(Object.assign({},r),i)})}mapAuthenticatorDataFromValues(t){t=super.mapAuthenticatorDataFromValues(t);const{phoneNumber:i}=this.values;if(t||i)return Object.assign(Object.assign({},t&&t),i&&{phoneNumber:i})}}return e.remediationName="authenticator-enrollment-data",e})(),ID=(()=>{class e extends la{canRemediate(){return!!this.values.skip||"skip"===this.options.step}}return e.remediationName="skip",e})();const H6={identify:Ly,"select-authenticator-authenticate":OC,"select-authenticator-enroll":IC,"authenticator-enrollment-data":RC,"authenticator-verification-data":PC,"enroll-authenticator":TD,"challenge-authenticator":AC,"challenge-poll":DD,"reenroll-authenticator":MC,"reenroll-authenticator-warning":DC,"enroll-poll":Ny,"select-enrollment-channel":AD,"enrollment-channel-data":MD,"redirect-idp":B6,skip:ID};let j6=(()=>{class e extends kD{}return e.remediationName="reset-authenticator",e})();const R_e={identify:Ly,"identify-recovery":Ly,"select-authenticator-authenticate":OC,"select-authenticator-enroll":IC,"challenge-authenticator":AC,"authenticator-verification-data":PC,"authenticator-enrollment-data":RC,"reset-authenticator":j6,"reenroll-authenticator":MC,"reenroll-authenticator-warning":DC,"enroll-poll":Ny};let z6=(()=>{class e extends la{constructor(t,i={},r={}){super(t,i,r),this.authenticator=null,this.getCredentialsFromRemediation()&&(this.authenticator=this.authenticator=new V6({}))}canRemediate(){if(this.authenticator&&!this.authenticator.canVerify(this.values))return!1;const t=this.getData().userProfile;return!!t&&this.remediation.value.find(({name:r})=>"userProfile"===r).form.value.reduce((r,o)=>(o.required&&(r=r&&!!t[o.name]),r),!0)}getCredentialsFromRemediation(){return this.remediation.value.find(({name:t})=>"credentials"===t)}mapUserProfile({form:{value:t}}){const r=t.map(({name:o})=>o).reduce((o,s)=>this.values[s]?Object.assign(Object.assign({},o),{[s]:this.values[s]}):o,{});if(0!==Object.keys(r).length)return r}mapCredentials(){const t=this.authenticator&&this.authenticator.mapCredentials(this.values);if(t)return t}getInputUserProfile(t){return[...t.form.value]}getInputCredentials(t){return[...t.form.value]}getErrorMessages(t){return t.value[0].form.value.reduce((i,r)=>(r.messages&&i.push(r.messages.value[0].message),i),[])}}return e.remediationName="enroll-profile",e})(),G6=(()=>{class e extends la{canRemediate(){return!0}}return e.remediationName="select-enroll-profile",e})();const N_e={"select-enroll-profile":G6,"enroll-profile":z6,"authenticator-enrollment-data":RC,"select-authenticator-enroll":IC,"enroll-poll":Ny,"select-enrollment-channel":AD,"enrollment-channel-data":MD,"enroll-authenticator":TD,skip:ID};let q6=(()=>{class e extends OD{constructor(){super(...arguments),this.map={identifier:["username"]}}canRemediate(){return!!this.getData("identifier")&&super.canRemediate()}mapAuthenticator(t){var i,r,o;const s=super.mapAuthenticator(t),a=null===(i=this.selectedOption)||void 0===i?void 0:i.value.form.value.find(({name:c}
1)=>"methodType"===c),l=this.values.methodType||a?.value||(null===(o=null===(r=a?.options)||void 0===r?void 0:r[0])||void 0===o?void 0:o.value);return l?Object.assign(Object.assign({},s),{methodType:l}):s}getInputUsername(){return{name:"username",type:"string"}}}return e.remediationName="select-authenticator-unlock-account",e})();const L_e={identify:Ly,"select-authenticator-unlock-account":q6,"select-authenticator-authenticate":OC,"challenge-authenticator":AC,"challenge-poll":DD,"authenticator-verification-data":PC,"reenroll-authenticator-warning":DC};function PD(e,n="default"){let t,i,r=!0;switch(n){case"register":case"signup":case"enrollProfile":t=N_e,r=!1;break;case"recoverPassword":case"resetPassword":t=R_e,i=["currentAuthenticator-recover","currentAuthenticatorEnrollment-recover"],r=!1;break;case"unlockAccount":t=L_e,r=!1,i=["unlock-account"];break;default:t=H6}return{flow:n,remediators:t,actions:i,withCredentials:r}}function F_e(e,n){return RD.apply(this,arguments)}function RD(){return(RD=V(function*(e,n){const i=PD(0,e.transactionManager.load().flow);return Ih(e,Object.assign(Object.assign(Object.assign({},n),i),{actions:["cancel"]}))})).apply(this,arguments)}function W6(e){var n=/\+/g,t=/([^&=]+)=?([^&]*)/g,i=e||"";"#"===i.charAt(0)&&"/"===i.charAt(1)&&(i=i.substring(2)),("#"===i.charAt(0)||"?"===i.charAt(0))&&(i=i.substring(1));for(var o,r={};o=t.exec(i);){var s=o[1],a=o[2];r[s]="id_token"===s||"access_token"===s||"code"===s?a:decodeURIComponent(a.replace(n," "))}return r}class $_e extends Kp{constructor(n,t){super(`Enter the OTP code in the originating client: ${t}`),this.name="EmailVerifyCallbackError",this.state=n,this.otp=t}}function V_e(e){return"EmailVerifyCallbackError"===e.name}function K6(e){return/(otp=)/i.test(e)&&/(state=)/i.test(e)}function Y6(e){return W6(e)}function B_e(e,n){return ND.apply(this,arguments)}function ND(){return(ND=V(function*(e,n){if(K6(n)){const{state:t,otp:i}=Y6(n);if(e.idx.canProceed({state:t}))return yield e.idx.proceed({state:t,otp:i});throw new $_e(t,i)}})).apply(this,arguments)}function Q6(e,n={}){return!(!Cd(e,n)&&!n.stateHandle)}function J6(e){return LD.apply(this,arguments)}function LD(){return(LD=V(function*(e,n={}){if(!Q6(e,n))throw new Qe("Unable to proceed: saved transaction could not be loaded");let{flow:t,state:i}=n;return t||(t=Cd(e,{state:i})?.flow),Ih(e,Object.assign(Object.assign({},n),{flow:t}))})).apply(this,arguments)}function X6(e){return FD.apply(this,arguments)}function FD(){return(FD=V(function*(e,n={}){var t;const{withCredentials:i,exchangeCodeForTokens:r}=n;let o=yield J6(e,{startPolling:!0,withCredentials:i,exchangeCodeForTokens:r});return(null===(t=Cd(e)?.remediations)||void 0===t?void 0:t.find(l=>l.includes("poll")))?.length||fc("No polling remediations available at the current IDX flow stage"),Number.isInteger(n.refresh)?new Promise(function(l,c){setTimeout(V(function*(){var u,d;try{const f=null===(d=null===(u=o.nextStep)||void 0===u?void 0:u.poll)||void 0===d?void 0:d.refresh;l(f?X6(e,{refresh:f}):o)}catch(f){c(f)}}),n.refresh)}):o})).apply(this,arguments)}function $D(e){return VD.apply(this,arguments)}function VD(){return(VD=V(function*(e,n={}){return e.transactionManager.clear(),Ih(e,Object.assign({exchangeCodeForTokens:!1},n))})).apply(this,arguments)}function U_e(e){return BD.apply(this,arguments)}function BD(){return(BD=V(function*(e,n={}){if(!k6(e)){const{enabledFeatures:t}=yield $D(e,Object.assign(Object.assign({},n),{flow:"register",autoRemediate:!1}));if(!n.activationToken&&t&&!t.includes(uu.REGISTRATION))throw new Qe("Registration is not supported based on your current org configuration.")}return Ih(e,Object.assign(Object.assign({},n),{flow:"register"}))})).apply(this,arguments)}function H_e(e){return UD.apply(this,arguments)}function UD(){return(UD=V(function*(e,n={}){const t=PD(0,"recoverPassword");return Ih(e,Object.assign(Object.assign({},n),t))})).apply(this,arguments)}function j_e(e,n){return HD.apply(this,arguments)}function HD(){return(HD=V(function*(e,n){const t=e.transactionManager.load();if(!t)throw new Qe("No transaction data was found in storage");const{codeVerifier:i,state:r}=t,{searchParams:o}=new URL(n),s=o.get("state"),a=o.get("interaction_code"),l=o.get("error");
1if(l)throw new Qp(l,o.get("error_description"));if(s!==r)throw new Qe("State in redirect uri does not match with transaction state");if(!a)throw new Qe("Unable to parse interaction_code from the url");const{tokens:c}=yield e.token.exchangeCodeForTokens({interactionCode:a,codeVerifier:i});e.tokenManager.setTokens(c)})).apply(this,arguments)}function z_e(e){return jD.apply(this,arguments)}function jD(){return(jD=V(function*(e,n={}){if(n.flow="unlockAccount",!k6(e)){const{enabledFeatures:t}=yield $D(e,Object.assign(Object.assign({},n),{autoRemediate:!1}));if(t&&!t.includes(uu.ACCOUNT_UNLOCK))throw new Qe("Self Service Account Unlock is not supported based on your current org configuration.")}return Ih(e,Object.assign({},n))})).apply(this,arguments)}function Z6(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode}function G_e(e){return N6(e)&&"invalid_grant"===e.errorCode&&"The refresh token is invalid or expired."===e.errorSummary}function e9(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function t9(e){return e9(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function zD(e){if(!function Q_e(e,n){var t=n.options;return!(!e||!t.redirectUri)&&0===e.indexOf(t.redirectUri)}(window.location.href,e))return!1;var n=e9(e.options),t=t9(e.options);if(function Y_e(e){return/(error=)/i.test(e)||/(error_description)/i.test(e)}(t))return!0;if(n){var i=function W_e(e){return/(code=)/i.test(e)}(t)||function K_e(e){return/(interaction_code=)/i.test(e)}(t);return i}return function q_e(e){return/((id|access)_token=)/i.test(e)}(window.location.hash)}function X_e(e,n){if(!n){if(!zD(e))return!1;n=t9(e.options)}return/(error=interaction_required)/i.test(n)}function n9(e){class n{constructor(...i){const r=new e(i.length&&i[0]||{});this.options=Qa(r),this.emitter=new vU,this.features=yn}}return n.features=yn,n.constants=Ot,n.features=n.prototype.features=yn,Object.assign(n,{constants:Ot}),n}function i9(e,n){return class extends e{constructor(...i){super(...i);const{storageManager:r,cookies:o,storageUtil:s}=this.options;this.storageManager=new n(r,o,s)}clearStorage(){}}}class ebe{constructor(){this.environments=["okta-auth-js/7.14.0"],this.maybeAddNodeEnvironment()}addEnvironment(n){this.environments.push(n)}getHttpHeader(){return{"X-Okta-User-Agent-Extended":this.environments.join(" ")}}getVersion(){return"7.14.0"}maybeAddNodeEnvironment(){if(Ko()||!process||!process.versions)return;const{node:n}=process.versions;this.environments.push(`nodejs/${n}`)}}function tbe(e,n,t){e.options.headers=e.options.headers||{},e.options.headers[n]=t}function r9(e){return class extends e{constructor(...t){super(...t),this._oktaUserAgent=new ebe,this.http={setRequestHeader:tbe.bind(null,this)}}setHeaders(t){this.options.headers=Object.assign({},this.options.headers,t)}getIssuerOrigin(){return this.options.issuer.split("/oauth2/")[0]}webfinger(t){return Jp(this,"/.well-known/webfinger"+pc(t),{headers:{Accept:"application/jrd+json"}})}}}function Fy(e){return GD(bd(e))}function GD(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function qD(e){return e.replace(/-/g,"+").replace(/_/g,"/")}function WD(e){var n=qD(e);switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Qe("Not a valid Base64Url")}var t=nD(n);try{return decodeURIComponent(escape(t))}catch{return t}}function NC(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}function KD(e){return nD(qD(e))}function $y(e){return Uint8Array.from(KD(e),n=>n.charCodeAt(0))}function Ph(e){return bd(new Uint8Array(e).reduce((n,t)=>n+String.fromCharCode(t),""))}function o9(e){var n=(new TextEncoder).encode(e);return aa.subtle.digest("SHA-256",n).then(function(t){var r=new Uint8Array(t).slice(0,16);return Fy(String.fromCharCode.apply(null,r))})}function s9(e,n){n=sa(n);var i={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete n.use,aa.subtle.importKey("jwk",n,i,!0,["verify"]).then(function(s){var a=e.split("."),l=NC(a[0]+"."+a[1]),u=NC(KD(a[2]));return aa.subtle.verify(i,s,u,l)})}class YD{constructor(n={quiet:!1}){this.queue=[],this.running=!1,this.options=n}push(n,t,...i){return new Promise((r,o)=>{this.queue.length>0&&!1!==this.options.quiet&&fc("Async method is being called but another async method is already running. The new method will be delayed until the previous method completes."),this.queue.push({method:n,thisObject:t,args:i,resolve:r,reject:o}),this.run()})}run(){if(!this.running&&0!==this.queue.length){this.running=!0;var n=this.queue.shift(),t=n.method.apply(n.thisObject,n.args);!function Mve(e){return e&&e.finally&&"function"==typeof e.finally}(t)?(n.resolve(t),this.running=!1,this.run()):t.then(n.resolve,n.reject).finally(()=>{this.running=!1,this.run()})}}}function nbe(e){return("0"+e.toString(16)).substr(-2)}var Vy={DEFAULT_CODE_CHALLENGE_METHOD:eD,generateVerifier:function rbe(e){var n=e||"";return n.length<ZM&&(n+=function ibe(e){var n=new Uint8Array(Math.ceil(e/2));return aa.getRandomValues(n),Array.from(n,nbe).join("").slice(0,e)}(ZM-n.length)),encodeURIComponent(n).slice(0,v6)},computeChallenge:function obe(e){var n=(new TextEncoder).encode(e);
1return aa.subtle.digest("SHA-256",n).then(function(t){return Fy(String.fromCharCode.apply(null,new Uint8Array(t)))})}};function a9(e){var t,n=e.split(".");try{t={header:JSON.parse(WD(n[0])),payload:JSON.parse(WD(n[1])),signature:n[2]}}catch{throw new Qe("Malformed token")}return t}function LC(e){const{pkce:n,clientId:t,redirectUri:i,responseType:r,responseMode:o,scopes:s,acrValues:a,maxAge:l,state:c,ignoreSignature:u,dpop:d}=e.options,f=Ko()?window.location.href:void 0;return Qa({pkce:n,clientId:t,redirectUri:i||f,responseType:r||["token","id_token"],responseMode:o,state:c||YM(),nonce:o6(64),scopes:s||["openid","email"],acrValues:a,maxAge:l,ignoreSignature:u,dpop:d})}const QD="DPoPKeys";function l9(e){return(N6(e)||function a_e(e){return e instanceof vd}(e))&&"use_dpop_nonce"===e.errorCode}function abe(e,n,t){return JD.apply(this,arguments)}function JD(){return(JD=V(function*(e,n,t){const i=Fy(JSON.stringify(e)),r=Fy(JSON.stringify(n));return`${i}.${r}.${GD(Ph(yield aa.subtle.sign({name:t.algorithm.name},t,NC(`${i}.${r}`))))}`})).apply(this,arguments)}function c9(e=32){return[...aa.getRandomValues(new Uint8Array(e))].map(n=>n.toString(16)).join("")}
1function lbe(){return XD.apply(this,arguments)}function XD(){return(XD=V(function*(){const e={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256",modulusLength:2048,publicExponent:new Uint8Array([1,0,1])};return aa.subtle.generateKey(e,!1,["sign","verify"])})).apply(this,arguments)}function cbe(e){return ZD.apply(this,arguments)}function ZD(){return(ZD=V(function*(e){const n=(new TextEncoder).encode(e),t=yield aa.subtle.digest("SHA-256",n);return bd(String.fromCharCode.apply(null,new Uint8Array(t))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")})).apply(this,arguments)}function ube(){return new Promise((e,n)=>{try{const i=window.indexedDB.open("OktaAuthJs",1);i.onerror=function(){n(i.error)},i.onupgradeneeded=function(){i.result.createObjectStore(QD)},i.onsuccess=function(){const r=i.result,o=r.transaction(QD,"readwrite");o.onerror=function(){n(o.error)};const s=o.objectStore(QD);e(s),o.oncomplete=function(){r.close()}}}catch(t){n(t)}})}function FC(e){return eO.apply(this,arguments)}function eO(){return(eO=V(function*(e,...n){const t=yield ube();return new Promise((i,r)=>{const o=t[e](...n);o.onsuccess=function(){i(o)},o.onerror=function(){r(o.error)}})})).apply(this,arguments)}function dbe(e,n){return tO.apply(this,arguments)}function tO(){return(tO=V(function*(e,n){return yield FC("add",n,e),n})).apply(this,arguments)}function nO(e){return iO.apply(this,arguments)}function iO(){return(iO=V(function*(e){if(e){const n=yield FC("get",e);if(n.result)return n.result}throw new Qe("Unable to locate dpop key pair required for refresh"+(e?` (${e})`:""))})).apply(this,arguments)}function rO(e){return oO.apply(this,arguments)}function oO(){return(oO=V(function*(e){yield FC("delete",e)})).apply(this,arguments)}function sO(){return(sO=V(function*(){yield FC("clear")})).apply(this,arguments)}function fbe(){return aO.apply(this,arguments)}function aO(){return(aO=V(function*(){const e=c9(4),n=yield lbe();return yield dbe(e,n),{keyPair:n,keyPairId:e}})).apply(this,arguments)}function u9(e,n){return lO.apply(this,arguments)}function lO(){return(lO=V(function*(e,n){var t;let i=!1;const{accessToken:r,refreshToken:o}=n;"access"===e&&r&&"DPoP"===r.tokenType&&!o&&(i=!0),"refresh"===e&&o&&!r&&(i=!0);const s=null!==(t=r?.dpopPairId)&&void 0!==t?t:o?.dpopPairId;i&&s&&(yield rO(s))})).apply(this,arguments)}function d9(e){return cO.apply(this,arguments)}function cO(){return(cO=V(function*({keyPair:e,url:n,method:t,nonce:i,accessToken:r}){const{kty:o,crv:s,e:a,n:l,x:c,y:u}=yield aa.subtle.exportKey("jwk",e.publicKey),d={alg:"RS256",typ:"dpop+jwt",jwk:{kty:o,crv:s,e:a,n:l,x:c,y:u}},f={htm:t,htu:n,iat:Math.floor(Date.now()/1e3),jti:c9()};return i&&(f.nonce=i),r&&(f.ath=yield cbe(r)),abe(d,f,e.privateKey)})).apply(this,arguments)}function pbe(e){return uO.apply(this,arguments)}function uO(){return(uO=V(function*({keyPair:e,url:n,method:t,nonce:i}){const r={keyPair:e,url:n,method:t};return i&&(r.nonce=i),d9(r)})).apply(this,arguments)}function mbe(e){if(!e.clientId)throw new Qe("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new Qe("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new Qe("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new Qe('The "codeVerifier" (generated and saved by your app) must be passed to /token')}function gbe(e,n){var t=Qa({client_id:n.clientId,redirect_uri:n.redirectUri,grant_type:n.interactionCode?"interaction_code":"authorization_code",code_verifier:n.codeVerifier});n.interactionCode?t.interaction_code=n.interactionCode:n.authorizationCode&&(t.code=n.authorizationCode);const{clientSecret:i}=e.options;return i&&(t.client_secret=i),pc(t).slice(1)}function dO(e,n){return hO.apply(this,arguments)}function hO(){return(hO=V(function*(e,{url:n,data:t,nonce:i,dpopKeyPair:r}){var o,s;const a="POST",l={"Content-Type":"application/x-www-form-urlencoded"};if(e.options.dpop){if(!r)throw new Qe("DPoP is configured but no key pair was provided");const c=yield pbe({url:n,method:a,nonce:i,keyPair:r});l.DPoP=c}try{return yield mc(e,{url:n,method:a,args:t,headers:l})}catch(c){if(l9(c)&&!i){const u=null===(o=c.resp)||void 0===o?void 0:o.headers["dpop-nonce"];if(!u)throw new Dh({errorSummary:"No `dpop-nonce` header found when required"},null!==(s=c.resp)&&void 0!==s?s:void 0);return dO(e,{url:n,data:t,dpopKeyPair:r,nonce:u})}throw c}})).apply(this,arguments)}function ybe(e,n,t){return fO.apply(this,arguments)}
1function fO(){return(fO=V(function*(e,n,t){mbe(n);var i=gbe(e,n);return dO(e,{url:t.tokenUrl,data:i,dpopKeyPair:n?.dpopKeyPair})})).apply(this,arguments)}function vbe(e,n,t){return pO.apply(this,arguments)}function pO(){return(pO=V(function*(e,n,t){const i=Object.entries({client_id:n.clientId,grant_type:"refresh_token",scope:t.scopes.join(" "),refresh_token:t.refreshToken}).map(function([s,a]){return s+"="+encodeURIComponent(a)}).join("&");let r=t.tokenUrl;return n.extraParams&&Object.keys(n.extraParams).length>=1&&(r+=pc(n.extraParams)),dO(e,{url:r,data:i,dpopKeyPair:n?.dpopKeyPair})})).apply(this,arguments)}function $C(e,n){return Jp(e,(n||e.options.issuer)+"/.well-known/openid-configuration",{cacheResponse:!0})}function _be(e,n,t){var i=e.storageManager.getHttpCache(e.options.cookies);return $C(e,n).then(function(r){var o=r.jwks_uri,a=i.getStorage()[o];if(a&&Date.now()/1e3<a.expiresAt){var l=WM(a.response.keys,{kid:t});if(l)return l}return i.clearStorage(o),Jp(e,o,{cacheResponse:!0}).then(function(c){var u=WM(c.keys,{kid:t});if(u)return u;throw new Qe("The key id, "+t+", was not found in the server's keys")})})}function bbe(e,n,t){const i=t.clientId,r=t.issuer,o=t.nonce,s=t.acrValues;if(!n||!r||!i)throw new Qe("The jwt, iss, and aud arguments are all required");if(o&&n.nonce!==o)throw new Qe("OAuth flow response nonce doesn't match request nonce");const a=Math.floor(Date.now()/1e3);if(n.iss!==r)throw new Qe("The issuer ["+n.iss+"] does not match ["+r+"]");if(Array.isArray(n.aud)&&n.aud.indexOf(i)<0||!Array.isArray(n.aud)&&n.aud!==i)throw new Qe("The audience ["+n.aud+"] does not match ["+i+"]");if(s&&n.acr!==s)throw new Qe("The acr ["+n.acr+"] does not match acr_values ["+s+"]");if(n.iat>n.exp)throw new Qe("The JWT expired before it was issued");if(!e.options.ignoreLifetime){if(a-e.options.maxClockSkew>n.exp)throw new Qe("The JWT expired and is no longer valid");if(n.iat>a+e.options.maxClockSkew)throw new Qe("The JWT was issued in the future")}}function h9(e,n,t){return mO.apply(this,arguments)}function mO(){return(mO=V(function*(e,n,t){if(!n||!n.idToken)throw new Qe("Only idTokens may be verified");const i=a9(n.idToken),r=t?.issuer||e.options.issuer,{issuer:o}=yield $C(e,r),s=Object.assign({clientId:e.options.clientId,ignoreSignature:e.options.ignoreSignature},t,{issuer:o});if(bbe(e,i.payload,s),1==s.ignoreSignature||!e.features.isTokenVerifySupported())return n;const a=yield _be(e,n.issuer,i.header.kid);if(!(yield s9(n.idToken,a)))throw new Qe("The token signature is not valid");if(t&&t.accessToken&&n.claims.at_hash&&(yield o9(t.accessToken))!==n.claims.at_hash)throw new Qe("Token hash verification failed");return n})).apply(this,arguments)}function wbe(e,n){if(e.error&&e.error_description)throw new Qp(e.error,e.error_description);if(e.state!==n.state)throw new Qe("OAuth flow response state doesn't match request state")}function em(e,n,t,i){return gO.apply(this,arguments)}function gO(){return(gO=V(function*(e,n,t,i){var r,o;if(!1!==e.options.pkce&&(t.code||t.interaction_code))return e.token.exchangeCodeForTokens(Object.assign({},n,{authorizationCode:t.code,interactionCode:t.interaction_code}),i);n=n||LC(e),i=i||_d(e,n);let l,a=n.responseType||[];!Array.isArray(a)&&"none"!==a&&(a=[a]),l=t.scope?t.scope.split(" "):sa(n.scopes);const c=n.clientId||e.options.clientId;if(wbe(t,n),n.dpop){const{allowBearerTokens:R}=null!==(o=null===(r=e.options)||void 0===r?void 0:r.dpopOptions)&&void 0!==o?o:{allowBearerTokens:!1};if(!R&&"DPoP"!==t.token_type)throw new Qe('Unable to parse OAuth flow response: DPoP was configured but "token_type" was not DPoP')}const u={},d=t.expires_in,f=t.token_type,y=t.access_token,b=t.id_token,S=t.refresh_token,D=Math.floor(Date.now()/1e3);if(y){const R=e.token.decode(y);u.accessToken={accessToken:y,claims:R.payload,expiresAt:Number(d)+D,tokenType:f,scopes:l,authorizeUrl:i.authorizeUrl,userinfoUrl:i.userinfoUrl},n.dpopPairId&&(u.accessToken.dpopPairId=n.dpopPairId),n.extraParams&&(u.accessToken.extraParams=n.extraParams)}if(S&&(u.refreshToken={refreshToken:S,expiresAt:Number(d)+D,scopes:l,tokenUrl:i.tokenUrl,authorizeUrl:i.authorizeUrl,issuer:i.issuer},n.dpopPairId&&(u.refreshToken.dpopPairId=n.dpopPairId),n.extraParams&&(u.refreshToken.extraParams=n.extraParams)),b){const R=e.token.decode(b),G={idToken:b,claims:R.payload,expiresAt:R.payload.exp-R.payload.iat+D,scopes:l,authorizeUrl:i.authorizeUrl,issuer:i.issuer,clientId:c};n.extraParams&&(G.extraParams=n.extraParams);const H={clientId:c,issuer:i.issuer,nonce:n.nonce,accessToken:y,acrValues:n.acrValues};void 0!==n.ignoreSignature&&(H.ignoreSignature=n.ignoreSignature),yield h9(e,G,H),u.idToken=G}if(-1!==a.indexOf("token")&&!u.accessToken)throw new Qe('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');if(-1!==a.indexOf("id_token")&&!u.idToken)throw new Qe('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');return{tokens:u,state:t.state,code:t.code,responseType:a}})).apply(this,arguments)}function Cbe(e,n,t){return yO.apply(this,arguments)}function yO(){return(yO=V(function*(e,n,t){t=t||_d(e,n),n=Object.assign({},LC(e),sa(n));const{authorizationCode:i,interactionCode:r,codeVerifier:o,clientId:s,redirectUri:a,scopes:l,ignoreSignature:c,state:u,acrValues:d,dpop:f,dpopPairId:y,extraParams:b}=n,S={clientId:s,redirectUri:a,authorizationCode:i,interactionCode:r,codeVerifier:o,dpop:f},D=["token"];-1!==l.indexOf("openid")&&D.push("id_token");const R={clientId:s,redirectUri:a,scopes:l,responseType:D,ignoreSignature:c,acrValues:d,extraParams:b};try{if(f)if(y){const te=yield nO(y);S.dpopKeyPair=te,R.dpop=f,R.dpopPairId=y}else{const{keyPair:te,keyPairId:mt}=yield fbe();S.dpopKeyPair=te,R.dpop=f,R.dpopPairId=mt}const G=yield ybe(e,S,t),H=yield em(e,R,G,t);return H.code=i,H.state=u,H}finally{e.transactionManager.clear()}})).apply(this,arguments)}var VC=(()=>{return(e=VC||(VC={})).ACCESS="accessToken",e.ID="idToken",e.REFRESH="refreshToken",VC;var e})();function du(e){return e&&e.accessToken}function Sd(e){return e&&e.idToken}function Rh(e){return e&&e.refreshToken}function vO(){return(vO=V(function*(e,n,t){if(n||(n=(yield e.tokenManager.getTokens()).accessToken),t||(t=(yield e.tokenManager.getTokens()).idToken),!n||!du(n))return Promise.reject(new Qe("getUserInfo requires an access token object"));if(!t||!Sd(t))return Promise.reject(new Qe("getUserInfo requires an ID token object"));const i={url:n.userinfoUrl,method:"GET",accessToken:n.accessToken};if(e.options.dpop){const r=yield e.getDPoPAuthorizationHeaders(Object.assign(Object.assign({},i),{accessToken:n}));i.headers=r,delete i.accessToken}return mc(e,i).then(r=>r.sub===t.claims.sub?r:Promise.reject(new Qe("getUserInfo request was rejected due to token mismatch"))).catch(function(r){var o;if(r instanceof vd&&!e.options.dpop){const{error:s,errorDescription:a}=r;throw new Qp(s,a)}if(!e.options.dpop){let s=r;if(r instanceof Dh&&(null===(o=r?.meta)||void 0===o?void 0:o.wwwAuthHeader)&&(s=vd.parseHeader(r.meta.wwwAuthHeader)),s instanceof vd){const{error:a,errorDescription:l}=s;throw new Qp(a,l)}}throw r})})).apply(this,arguments)}function p9(e,n,t){e.addEventListener?e.addEventListener(n,t):e.attachEvent("on"+n,t)}function m9(e,n,t){e.removeEventListener?e.removeEventListener(n,t):e.detachEvent("on"+n,t)}function xbe(e){var n=document.createElement("iframe");return n.style.display="none",n.src=e,document.body.appendChild(n)}function g9(e,n){return window.open(e,n.popupTitle||"External Identity Provider User Authentication","toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600")}function y9(e,n,t){var i,r;return new Promise(function(s,a){i=function(c){if(c.data&&c.data.state===t){if(c.origin!==e.getIssuerOrigin())return a(new Qe("The request does not match client configuration"));s(c.data)}},p9(window,"message",i),r=setTimeout(function(){a(new Qe("OAuth flow timed out"))},n||12e4)}).finally(function(){clearTimeout(r),m9(window,"message",i)})}function Ebe(e,n,t,i){let r;return new Promise((s,a)=>{t.onmessage=l=>{if(l.isTrusted&&l.data){if("object"==typeof l.data&&i===l.data.state)return s(Object.assign({},l.data));a(new Qe("Unable to complete auth code exchange"))}},r=setTimeout(function(){a(new Qe("OAuth flow timed out"))},n||12e4)}).finally(()=>{clearTimeout(r),t.close()})}function kbe(e){if(!e.features.isPKCESupported()){var n="PKCE requires a modern browser with encryption support running in a secure context.";throw e.features.isHTTPS()||(n+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||
1(n+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),new Qe(n)}}function Tbe(e,n){return _O.apply(this,arguments)}function _O(){return(_O=V(function*(e,n){if(n=n||e.options.codeChallengeMethod||eD,-1===((yield $C(e)).code_challenge_methods_supported||[]).indexOf(n))throw new Qe("Invalid code_challenge_method");return n})).apply(this,arguments)}function Abe(e,n){return bO.apply(this,arguments)}function bO(){return(bO=V(function*(e,n){let{codeVerifier:t,codeChallenge:i,codeChallengeMethod:r}=n;return i=i||e.options.codeChallenge,i||(kbe(e),t=t||Vy.generateVerifier(),i=yield Vy.computeChallenge(t)),r=yield Tbe(e,r),Object.assign(Object.assign({},n),{responseType:"code",codeVerifier:t,codeChallenge:i,codeChallengeMethod:r})})).apply(this,arguments)}function wO(e){return CO.apply(this,arguments)}function CO(){return(CO=V(function*(e,n={}){const t=LC(e);if((n=Object.assign(Object.assign({},t),n)).dpop&&!e.features.isDPoPSupported())throw new Qe("DPoP has been configured, but is not supported by browser");return!1===n.pkce?n:Abe(e,n)})).apply(this,arguments)}function SO(e){var n=function Mbe(e){if(!e.clientId)throw new Qe("A clientId must be specified in the OktaAuth constructor to get a token");if(Yp(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new Qe("Multiple OAuth responseTypes must be defined as an array");var n={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state,acr_values:e.acrValues,enroll_amr_values:e.enrollAmrValues};if(n=Qa(n),["idp_scope","response_type","enroll_amr_values"].forEach(function(t){Array.isArray(n[t])&&(n[t]=n[t].join(" "))}),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new Qe("openid scope must be specified in the scopes argument when requesting an id_token");return e.scopes&&(n.scope=e.scopes.join(" ")),n}(e);return pc(Object.assign(Object.assign({},n),e.extraParams&&Object.assign({},e.extraParams)))}function xO(e,n){if(arguments.length>2)return Promise.reject(new Qe('As of version 3.0, "getToken" takes only a single set of options'));const t=(n=n||{}).popupWindow;return n.popupWindow=void 0,wO(e,n).then(function(i){var s,l;switch(n.sessionToken?Object.assign(i,{prompt:"none",responseMode:"okta_post_message",display:null}):n.idp&&Object.assign(i,{display:"popup"}),l=_d(e,i),s=(n.codeVerifier?l.tokenUrl:l.authorizeUrl)+SO(i),i.sessionToken||null===i.display?"IFRAME":"popup"===i.display?n.idpPopup?"IDP_POPUP":"POPUP":"IMPLICIT"){case"IFRAME":var u=y9(e,n.timeout,i.state),d=xbe(s);return u.then(function(S){return em(e,i,S,l)}).finally(function(){var S;document.body.contains(d)&&(null===(S=d.parentElement)||void 0===S||S.removeChild(d))});case"POPUP":var f;if("okta_post_message"===i.responseMode){if(!e.features.isPopupPostMessageSupported())throw new Qe("This browser doesn't have full postMessage support");f=y9(e,n.timeout,i.state)}return t&&t.location.assign(s),new Promise(function(S,D){var R=setInterval(function(){(!t||t.closed)&&(clearInterval(R),D(new Qe("Unable to parse OAuth flow response")))},100);f.then(function(G){clearInterval(R),S(G)}
1).catch(function(G){clearInterval(R),D(G)})}).then(function(S){return em(e,i,S,l)}).finally(function(){t&&!t.closed&&t.close()});case"IDP_POPUP":var b=Ebe(0,n.timeout,n.channel,i.state);if(!t)throw new Qe("Unable to open popup window");return t.location.assign(s),b.then(function(S){return em(e,i,S,l)});default:throw new Qe("The full page redirect flow is not supported")}})}function EO(e,n){return arguments.length>2?Promise.reject(new Qe('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(n=sa(n)||{},Object.assign(n,{prompt:"none",responseMode:"okta_post_message",display:null}),xO(e,n))}function Dbe(e,n){if(arguments.length>2)return Promise.reject(new Qe('As of version 3.0, "getWithPopup" takes only a single set of options'));const{initialPath:t}=n,i=Oh(n,["initialPath"]),r=g9(t??"/",i);return n=sa(i)||{},Object.assign(i,{display:"popup",responseMode:"okta_post_message",popupWindow:r}),xO(e,i)}function Obe(e,n){try{if(!BroadcastChannel)throw new Qe("Modern browser with `BroadcastChannel` support is required to use this method");if(!n.redirectUri)throw new Qe("`redirectUri` is a required param for `getWithIDPPopup`");n.state||(n.state=YM());const t=g9("/",n),i=new BroadcastChannel(`popup-callback:${n.state}`);let r;return n=sa(n)||{},Object.assign(n,{display:"popup",responseMode:"query",popupWindow:t,idpPopup:!0,channel:i}),{promise:new Promise((a,l)=>(r=l,xO(e,n).then(c=>a(c)).catch(c=>l(c)))),cancel:()=>{i.close(),r(new Qe("Popup flow canceled"))}}}catch(t){return{promise:Promise.reject(t),cancel:()=>{}}}}function Ibe(e,n){return kO.apply(this,arguments)}function kO(){return kO=V(function*(e,n){if(arguments.length>2)return Promise.reject(new Qe('As of version 3.0, "getWithRedirect" takes only a single set of options'));n=sa(n)||{};const t=yield wO(e,n),i=l6(e,t),r=i.urls.authorizeUrl+SO(t);e.transactionManager.save(i),e.options.setLocation?e.options.setLocation(r):window.location.assign(r)}),kO.apply(this,arguments)}function v9(e){return e.options.responseMode||(e.options.pkce?"query":"fragment")}function TO(e,n){Yp(n=n||{})&&(n={url:n});var o,t=n.url,i=n.responseMode||v9(e),r=e.token.parseFromUrl._getLocation();if(!(o="query"===i?t?t.substring(t.indexOf("?")):r.search:t?t.substring(t.indexOf("#")):r.hash))throw new Qe("Unable to parse a token from the url");return W6(o)}function Nbe(e,n){"query"===(n.responseMode||v9(e))?function Rbe(e){var n=e.token.parseFromUrl._getHistory(),t=e.token.parseFromUrl._getDocument(),i=e.token.parseFromUrl._getLocation();n&&n.replaceState?n.replaceState(null,t.title,i.pathname+i.hash):i.search=""}(e):function Pbe(e){var n=e.token.parseFromUrl._getHistory(),t=e.token.parseFromUrl._getDocument(),i=e.token.parseFromUrl._getLocation();n&&n.replaceState?n.replaceState(null,t.title,i.pathname+i.search):i.hash=""}(e)}function Lbe(e,n){return AO.apply(this,arguments)}function AO(){return(AO=V(function*(e,n){Yp(n=n||{})&&(n={url:n});const t=TO(e,n),i=t.state,r=e.transactionManager.load({state:i});if(!r)throw e.options.pkce?new Qe("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",void 0):new Qe("Unable to retrieve OAuth redirect params from storage");const o=r.urls;return delete r.urls,n.url||Nbe(e,n),em(e,r,t,o).catch(s=>{throw Z6(s)||e.transactionManager.clear({state:i}),s}).then(s=>(e.transactionManager.clear({state:i}),s))})).apply(this,arguments)}function Fbe(e,n){return e.refreshToken===n.refreshToken}function MO(e,n,t){return DO.apply(this,arguments)}function DO(){return(DO=V(function*(e,n,t){const{clientId:i,dpop:r}=e.options;if(!i)throw new Qe("A clientId must be specified in the OktaAuth constructor to renew tokens");try{const o=Object.assign({},n,{clientId:i});t.extraParams&&(o.extraParams=t.extraParams);const s=Object.assign({},o);if(r){const d=yield nO(t?.dpopPairId);s.dpopKeyPair=d,o.dpop=r,o.dpopPairId=t.dpopPairId}const a=yield vbe(e,s,t),l=_d(e,n),{tokens:c}=yield em(e,o,a,l),{refreshToken:u}=c;return u&&!Fbe(u,t)&&e.tokenManager.updateRefreshToken(u),c}catch(o){throw G_e(o)&&e.tokenManager.removeRefreshToken(),o}}
1)).apply(this,arguments)}function _9(){throw new Qe("Renew must be passed a token with an array of scopes and an accessToken or idToken")}function b9(e,n){return Sd(e)?n.idToken:du(e)?n.accessToken:void _9()}function $be(e,n){return OO.apply(this,arguments)}function OO(){return(OO=V(function*(e,n){!Sd(n)&&!du(n)&&_9();let t=e.tokenManager.getTokensSync();if(t.refreshToken)return t=yield MO(e,{scopes:n.scopes},t.refreshToken),b9(n,t);var i;i=e.options.pkce?"code":du(n)?"token":"id_token";const{scopes:r,authorizeUrl:o,userinfoUrl:s,issuer:a,dpopPairId:l,extraParams:c}=n;return EO(e,{responseType:i,scopes:r,authorizeUrl:o,userinfoUrl:s,issuer:a,dpopPairId:l,extraParams:c}).then(function(u){return b9(n,u.tokens)})})).apply(this,arguments)}function Vbe(e,n){return IO.apply(this,arguments)}function IO(){return(IO=V(function*(e,n){var t;const i=null!==(t=n?.tokens)&&void 0!==t?t:e.tokenManager.getTokensSync();if(i.refreshToken)return MO(e,n||{},i.refreshToken);if(!i.accessToken&&!i.idToken)throw new Qe("renewTokens() was called but there is no existing token");const r=i.accessToken||{},o=i.idToken||{},s=r.scopes||o.scopes;if(!s)throw new Qe("renewTokens: invalid tokens: could not read scopes");const a=r.authorizeUrl||o.authorizeUrl;if(!a)throw new Qe("renewTokens: invalid tokens: could not read authorizeUrl");const u=r?.dpopPairId;if(n=Object.assign({scopes:s,authorizeUrl:a,userinfoUrl:r.userinfoUrl||e.options.userinfoUrl,issuer:o.issuer||e.options.issuer,dpopPairId:u,extraParams:r?.extraParams||o?.extraParams},n),e.options.pkce)n.responseType="code";else{const{responseType:f}=LC(e);n.responseType=f}return EO(e,n).then(f=>f.tokens)})).apply(this,arguments)}function Bbe(e,n){return PO.apply(this,arguments)}function PO(){return(PO=V(function*(e,n){let t="",i="";if(n&&(t=n.accessToken,i=n.refreshToken),!t&&!i)throw new Qe("A valid access or refresh token object is required");var r=e.options.clientId,o=e.options.clientSecret;if(!r)throw new Qe("A clientId must be specified in the OktaAuth constructor to revoke a token");return wd(e,_d(e).revokeUrl,pc({token_type_hint:i?"refresh_token":"access_token",token:i||t}).slice(1),{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+bd(o?`${r}:${o}`:r)}})})).apply(this,arguments)}const Ube={accessToken:"access_token",idToken:"id_token",refreshToken:"refresh_token"};function Hbe(e,n,t){return RO.apply(this,arguments)}function RO(){return(RO=V(function*(e,n,t){var i;let r,o=e.options.clientId,s=e.options.clientSecret;if(t||(t=e.tokenManager.getTokens()[n]),!t)throw new Qe(`unable to find ${n} in storage or fn params`);if(r=n!==VC.ACCESS?t?.issuer:null===(i=t?.claims)||void 0===i?void 0:i.iss,r=r||e.options.issuer,!o)throw new Qe("A clientId must be specified in the OktaAuth constructor to introspect a token");if(!r)throw new Qe("Unable to find issuer");const{introspection_endpoint:a}=yield $C(e,r),l=bd(s?`${o}:${s}`:o);return wd(e,a,pc({token_type_hint:Ube[n],token:t[n]}).slice(1),{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+l}})})).apply(this,arguments)}function Wbe(e,n){const t=function qbe(e,n){return function Gbe(e){if(!(e=Object.assign(Object.assign({},e),{responseType:"none",prompt:"enroll_authenticator",maxAge:0})).enrollAmrValues)throw new Qe("enroll_amr_values must be specified");if(!e.acrValues)throw new Qe("acr_values must be specified");return delete e.scopes,delete e.nonce,e}(Object.assign(Object.assign({},function zbe(e){const{clientId:n,redirectUri:t,responseMode:i,state:r}=e.options,o=Ko()?window.location.href:void 0;return Qa({clientId:n,redirectUri:t||o,responseMode:i,state:r||YM(),responseType:"none",prompt:"enroll_authenticator"})}(e)),n))}(e,n=sa(n)||{}),i=function jbe(e,n){return{issuer:e.options.issuer,urls:_d(e,n),clientId:n.clientId,redirectUri:n.redirectUri,responseType:n.responseType,responseMode:n.responseMode,state:n.state,acrValues:n.acrValues,enrollAmrValues:n.enrollAmrValues}}(e,t),r=i.urls.authorizeUrl+SO(t);e.transactionManager.save(i),e.options.setLocation?e.options.setLocation(r):window.location.assign(r)}function Kbe(e,n){const t=l=>YD.prototype.push.bind(n,l,null),i=t(Ibe.bind(null,e)),r=t(Lbe.bind(null,e)),o=Object.assign(r,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),s={prepareTokenParams:wO.bind(null,e),exchangeCodeForTokens:Cbe.bind(null,e),getWithoutPrompt:EO.bind(null,e),getWithPopup:Dbe.bind(null,e),getWithIDPPopup:Obe.bind(null,e),getWithRedirect:i,parseFromUrl:o,decode:a9,revoke:Bbe.bind(null,e),renew:$be.bind(null,e),renewTokensWithRefresh:MO.bind(null,e),renewTokens:Vbe.bind(null,e),getUserInfo:(l,c)=>function Sbe(e,n,t){return vO.apply(this,arguments)}(e,l,c),verify:h9.bind(null,e),isLoginRedirect:zD.bind(null,e),introspect:Hbe.bind(null,e)};return["getWithoutPrompt","getWithPopup","revoke","renew","renewTokensWithRefresh","renewTokens"].forEach(l=>{s[l]=t(s[l])}),s}
1function BC(e,n){if(!Sd(e)&&!du(e)&&!Rh(e))throw new Qe("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property");if("accessToken"===n&&!du(e))throw new Qe("invalid accessToken");if("idToken"===n&&!Sd(e))throw new Qe("invalid idToken");if("refreshToken"===n&&!Rh(e))throw new Qe("invalid refreshToken")}class NO{constructor(n){this.localOffset=parseInt(n||0)}static create(){return new NO(0)}now(){return(Date.now()+this.localOffset)/1e3}}const LO="expired",By="renewed",Nh="added",Lh="removed",Uy="set_storage",w9={autoRenew:!0,autoRemove:!0,syncStorage:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:JM};class Xbe{constructor(n,t={}){if(this.sdk=n,this.emitter=n.emitter,!this.emitter)throw new Qe("Emitter should be initialized before TokenManager");t=Object.assign({},w9,Qa(t)),x6()||(t.expireEarlySeconds=w9.expireEarlySeconds),this.options=t;const i=Qa({storageKey:t.storageKey,secure:t.secure});"object"==typeof t.storage?i.storageProvider=t.storage:t.storage&&(i.storageType=t.storage),this.storage=n.storageManager.getTokenStorage(Object.assign(Object.assign({},i),{useSeparateCookies:!0})),this.clock=NO.create(),this.state={expireTimeouts:{},renewPromise:null}}on(n,t,i){i?this.emitter.on(n,t,i):this.emitter.on(n,t)}off(n,t){t?this.emitter.off(n,t):this.emitter.off(n)}start(){this.options.clearPendingRemoveTokens&&this.clearPendingRemoveTokens(),this.setExpireEventTimeoutAll(),this.state.started=!0}stop(){this.clearExpireEventTimeoutAll(),this.state.started=!1}isStarted(){return!!this.state.started}getOptions(){return sa(this.options)}getExpireTime(n){return n.expiresAt-(this.options.expireEarlySeconds||0)}hasExpired(n){return this.getExpireTime(n)<=this.clock.now()}emitExpired(n,t){this.emitter.emit(LO,n,t)}emitRenewed(n,t,i){this.emitter.emit(By,n,t,i)}emitAdded(n,t){this.emitter.emit(Nh,n,t)}emitRemoved(n,t){this.emitter.emit(Lh,n,t)}emitError(n){this.emitter.emit("error",n)}clearExpireEventTimeout(n){clearTimeout(this.state.expireTimeouts[n]),delete this.state.expireTimeouts[n],this.state.renewPromise=null}clearExpireEventTimeoutAll(){var n=this.state.expireTimeouts;for(var t in n)!Object.prototype.hasOwnProperty.call(n,t)||this.clearExpireEventTimeout(t)}setExpireEventTimeout(n,t){if(!Rh(t)){var i=this.getExpireTime(t),r=1e3*Math.max(i-this.clock.now(),0);this.clearExpireEventTimeout(n);var o=setTimeout(()=>{this.emitExpired(n,t)},r);this.state.expireTimeouts[n]=o}}setExpireEventTimeoutAll(){var n=this.storage.getStorage();for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&this.setExpireEventTimeout(t,n[t])}resetExpireEventTimeoutAll(){this.clearExpireEventTimeoutAll(),this.setExpireEventTimeoutAll()}add(n,t){var i=this.storage.getStorage();BC(t),i[n]=t,this.storage.setStorage(i),this.emitSetStorageEvent(),this.emitAdded(n,t),this.setExpireEventTimeout(n,t)}getSync(n){return this.storage.getStorage()[n]}get(n){var t=this;return V(function*(){return t.getSync(n)})()}getTokensSync(){const n={},t=this.storage.getStorage();return Object.keys(t).forEach(i=>{const r=t[i];du(r)?n.accessToken=r:Sd(r)?n.idToken=r:Rh(r)&&(n.refreshToken=r)}),n}getTokens(){var n=this;return V(function*(){return n.getTokensSync()})()}getStorageKeyByType(n){const t=this.storage.getStorage();return Object.keys(t).filter(r=>{const o=t[r];return du(o)&&"accessToken"===n||Sd(o)&&"idToken"===n||Rh(o)&&"refreshToken"===n})[0]}getTokenType(n){if(du(n))return"accessToken";if(Sd(n))return"idToken";if(Rh(n))return"refreshToken";throw new Qe("Unknown token type")}emitSetStorageEvent(){if(wC()){const n=this.storage.getStorage();this.emitter.emit(Uy,n)}}getStorage(){return this.storage}setTokens(n,t,i,r){const o=(f,y)=>{const b=this.getTokenType(y);"accessToken"===b?t&&t(f,y):"idToken"===b?i&&i(f,y):"refreshToken"===b&&r&&r(f,y)},s=(f,y)=>{this.emitAdded(f,y),this.setExpireEventTimeout(f,y),o(f,y)},a=(f,y,b)=>{this.emitRenewed(f,y,b),this.clearExpireEventTimeout(f),this.setExpireEventTimeout(f,y),o(f,y)},l=(f,y)=>{this.clearExpireEventTimeout(f),this.emitRemoved(f,y),o(f,y)},c=["idToken","accessToken","refreshToken"],u=this.getTokensSync();
1c.forEach(f=>{const y=n[f];y&&BC(y,f)});const d=c.reduce((f,y)=>{const b=n[y];return b&&(f[this.getStorageKeyByType(y)||y]=b),f},{});this.storage.setStorage(d),this.emitSetStorageEvent(),c.forEach(f=>{const y=n[f],b=u[f],S=this.getStorageKeyByType(f)||f;y&&b?(l(S,b),s(S,y),a(S,y,b)):y?s(S,y):b&&l(S,b)})}remove(n){this.clearExpireEventTimeout(n);var t=this.storage.getStorage(),i=t[n];delete t[n],this.storage.setStorage(t),this.emitSetStorageEvent(),this.emitRemoved(n,i)}renewToken(n){var t=this;return V(function*(){var i;return null===(i=t.sdk.token)||void 0===i?void 0:i.renew(n)})()}validateToken(n){return BC(n)}renew(n){if(this.state.renewPromise)return this.state.renewPromise;try{var t=this.getSync(n);let r=void 0!==t;if(!t&&"accessToken"===n){const o=this.getStorageKeyByType("refreshToken");r=void 0!==this.getSync(o)}if(!r)throw new Qe("The tokenManager has no token for the key: "+n)}catch(r){return this.emitError(r),Promise.reject(r)}return this.clearExpireEventTimeout(n),this.state.renewPromise=this.sdk.token.renewTokens().then(r=>{if(this.setTokens(r),!t&&"accessToken"===n){const s=r.accessToken;return this.emitRenewed(n,s,null),s}return r[this.getTokenType(t)]}).catch(r=>{throw this.remove(n),r.tokenKey=n,this.emitError(r),r}).finally(()=>{this.state.renewPromise=null})}clear(){const n=this.getTokensSync();this.clearExpireEventTimeoutAll(),this.storage.clearStorage(),this.emitSetStorageEvent(),Object.keys(n).forEach(t=>{this.emitRemoved(t,n[t])})}clearPendingRemoveTokens(){const n=this.storage.getStorage(),t={};Object.keys(n).forEach(i=>{n[i].pendingRemove&&(t[i]=n[i],delete n[i])}),this.storage.setStorage(n),this.emitSetStorageEvent(),Object.keys(t).forEach(i=>{this.clearExpireEventTimeout(i),this.emitRemoved(i,t[i])})}updateRefreshToken(n){const t=this.getStorageKeyByType("refreshToken")||XM;var i=this.storage.getStorage();BC(n),i[t]=n,this.storage.setStorage(i),this.emitSetStorageEvent()}removeRefreshToken(){const n=this.getStorageKeyByType("refreshToken")||XM;this.remove(n)}addPendingRemoveFlags(){const n=this.getTokensSync();Object.keys(n).forEach(t=>{n[t].pendingRemove=!0}),this.setTokens(n)}}var UC={browserHasLocalStorage:function(){try{var e=this.getLocalStorage();return this.testStorage(e)}catch{return!1}},browserHasSessionStorage:function(){try{var e=this.getSessionStorage();return this.testStorage(e)}catch{return!1}},testStorageType:function(e){var n=!1;switch(e){case"sessionStorage":n=this.browserHasSessionStorage();break;case"localStorage":n=this.browserHasLocalStorage();break;case"cookie":case"memory":n=!0;break;default:n=!1}return n},getStorageByType:function(e,n){let t;switch(e){case"sessionStorage":t=this.getSessionStorage();break;case"localStorage":t=this.getLocalStorage();break;case"cookie":t=this.getCookieStorage(n);break;case"memory":t=this.getInMemoryStorage();break;default:throw new Qe(`Unrecognized storage option: ${e}`)}return t},findStorageType:function(e){let n,t;return n=(e=e.slice()).shift(),t=e.length?e[0]:null,!t||this.testStorageType(n)?n:(fc(`This browser doesn't support ${n}. Switching to ${t}.`),this.findStorageType(e))},getLocalStorage:function(){return wC()&&!window.onstorage&&(window.onstorage=function(){}),localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){const n=e.secure,t=e.sameSite,i=e.sessionCookie;if(typeof n>"u"||typeof t>"u")throw new Qe('getCookieStorage: "secure" and "sameSite" options must be provided');const r={getItem:this.storage.get,setItem:(o,s,a="2200-01-01T00:00:00.000Z")=>{this.storage.set(o,s,a=i?null:a,{secure:n,sameSite:t})},removeItem:o=>{this.storage.delete(o)}};return e.useSeparateCookies?{getItem:function(o){var s=r.getItem(),a={};return Object.keys(s).forEach(l=>{0===l.indexOf(o)&&(a[l.replace(`${o}_`,"")]=JSON.parse(s[l]))}),JSON.stringify(a)},setItem:function(o,s){var a=JSON.parse(this.getItem(o));s=JSON.parse(s),Object.keys(s).forEach(l=>{var c=o+"_"+l,u=JSON.stringify(s[l]);r.setItem(c,u),delete a[l]}),Object.keys(a).forEach(l=>{r.removeItem(o+"_"+l)})},removeItem:function(o){var s=JSON.parse(this.getItem(o));
1Object.keys(s).forEach(a=>{r.removeItem(o+"_"+a)})}}:r},inMemoryStore:{},getInMemoryStorage:function(){return{getItem:e=>this.inMemoryStore[e],setItem:(e,n)=>{this.inMemoryStore[e]=n}}},testStorage:function(e){var n="okta-test-storage";try{return e.setItem(n,n),e.removeItem(n),!0}catch{return!1}},storage:{set:function(e,n,t,i){const{sameSite:r,secure:o}=i;if(typeof o>"u"||typeof r>"u")throw new Qe('storage.set: "secure" and "sameSite" options must be provided');var s={path:i.path||"/",secure:o,sameSite:r};return Date.parse(t)&&(s.expires=new Date(t)),md.set(e,n,s),this.get(e)},get:function(e){return arguments.length?md.get(e):md.get()},delete:function(e){return md.remove(e,{path:"/"})}}};function C9(e,n){var t;const i=function Zbe(e){return class extends e{setOriginalUri(t,i){UC.getSessionStorage().setItem(bC,t),(i=i||this.options.state)&&this.storageManager.getOriginalUriStorage().setItem(i,t)}getOriginalUri(t){if(t=t||this.options.state){const o=this.storageManager.getOriginalUriStorage().getItem(t);if(o)return o}const i=UC.getSessionStorage();return i&&i.getItem(bC)||void 0}removeOriginalUri(t){if(UC.getSessionStorage().removeItem(bC),t=t||this.options.state){const r=this.storageManager.getOriginalUriStorage();r.removeItem&&r.removeItem(t)}}}}(e);return t=class extends i{constructor(...o){super(...o),this.transactionManager=new n(Object.assign({storageManager:this.storageManager},this.options.transactionManager)),this.pkce={DEFAULT_CODE_CHALLENGE_METHOD:Vy.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:Vy.generateVerifier,computeChallenge:Vy.computeChallenge},this._pending={handleLogin:!1},this._tokenQueue=new YD,this.token=Kbe(this,this._tokenQueue),this.tokenManager=new Xbe(this,this.options.tokenManager),this.endpoints=function Ybe(e){return{authorize:{enrollAuthenticator:Wbe.bind(null,e)}}}(this)}clearStorage(){super.clearStorage(),this.tokenManager.clear()}isAuthenticated(){var o=this;return V(function*(s={}){const{autoRenew:a,autoRemove:l}=o.tokenManager.getOptions(),c=s.onExpiredToken?"renew"===s.onExpiredToken:a,u=s.onExpiredToken?"remove"===s.onExpiredToken:l;let{accessToken:d}=o.tokenManager.getTokensSync();if(d&&o.tokenManager.hasExpired(d))if(d=void 0,c)try{d=yield o.tokenManager.renew("accessToken")}catch{}else u&&o.tokenManager.remove("accessToken");let{idToken:f}=o.tokenManager.getTokensSync();if(f&&o.tokenManager.hasExpired(f))if(f=void 0,c)try{f=yield o.tokenManager.renew("idToken")}catch{}else u&&o.tokenManager.remove("idToken");return!(!d||!f)}).apply(this,arguments)}signInWithRedirect(){var o=this;return V(function*(s={}){const{originalUri:a}=s,l=Oh(s,["originalUri"]);if(!o._pending.handleLogin){o._pending.handleLogin=!0;try{a&&o.setOriginalUri(a);const c=Object.assign({scopes:o.options.scopes||["openid","email","profile"]},l);yield o.token.getWithRedirect(c)}
1finally{o._pending.handleLogin=!1}}}).apply(this,arguments)}getUser(){var o=this;return V(function*(){const{idToken:s,accessToken:a}=o.tokenManager.getTokensSync();return o.token.getUserInfo(a,s)})()}getIdToken(){const{idToken:o}=this.tokenManager.getTokensSync();return o?o.idToken:void 0}getAccessToken(){const{accessToken:o}=this.tokenManager.getTokensSync();return o?o.accessToken:void 0}getRefreshToken(){const{refreshToken:o}=this.tokenManager.getTokensSync();return o?o.refreshToken:void 0}getOrRenewAccessToken(){var o=this;return V(function*(){var s;const{accessToken:a}=o.tokenManager.getTokensSync();if(a&&!o.tokenManager.hasExpired(a))return a.accessToken;try{const l=o.tokenManager.getStorageKeyByType("accessToken");return null!==(s=(yield o.tokenManager.renew(l??"accessToken"))?.accessToken)&&void 0!==s?s:null}catch(l){return o.emitter.emit("error",l),null}})()}storeTokensFromRedirect(){var o=this;return V(function*(){const{tokens:s,responseType:a}=yield o.token.parseFromUrl();"none"!==a&&o.tokenManager.setTokens(s)})()}isLoginRedirect(){return zD(this)}isPKCE(){return!!this.options.pkce}hasResponseType(o){return function J_e(e,n){let t=!1;return t=Array.isArray(n.responseType)&&n.responseType.length?n.responseType.indexOf(e)>=0:n.responseType===e,t}(o,this.options)}isAuthorizationCodeFlow(){return this.hasResponseType("code")}invokeApiMethod(o){var s=this;return V(function*(){if(!o.accessToken){const a=(yield s.tokenManager.getTokens()).accessToken;o.accessToken=a?.accessToken}return mc(s,o)})()}revokeAccessToken(o){var s=this;return V(function*(){if(!o){const a=yield s.tokenManager.getTokens();o=a.accessToken;const l=s.tokenManager.getStorageKeyByType("accessToken");s.tokenManager.remove(l),s.options.dpop&&(yield u9("access",a))}return o?s.token.revoke(o):Promise.resolve(null)})()}revokeRefreshToken(o){var s=this;return V(function*(){if(!o){const a=yield s.tokenManager.getTokens();o=a.refreshToken;const l=s.tokenManager.getStorageKeyByType("refreshToken");s.tokenManager.remove(l),s.options.dpop&&(yield u9("refresh",a))}return o?s.token.revoke(o):Promise.resolve(null)})()}getSignOutRedirectUrl(o={}){let{idToken:s,postLogoutRedirectUri:a,state:l}=o;if(s||(s=this.tokenManager.getTokensSync().idToken),!s)return"";void 0===a&&(a=this.options.postLogoutRedirectUri);let d=_d(this).logoutUrl+"?id_token_hint="+encodeURIComponent(s.idToken);return a&&(d+="&post_logout_redirect_uri="+encodeURIComponent(a)),l&&(d+="&state="+encodeURIComponent(l)),d}signOut(o){var s=this;return V(function*(){var a;o=Object.assign({},o);const l=window.location.origin,c=window.location.href,u=null===o.postLogoutRedirectUri?null:o.postLogoutRedirectUri||s.options.postLogoutRedirectUri||l,d=o?.state;let f=o.accessToken,y=o.refreshToken;const b=!1!==o.revokeAccessToken,S=!1!==o.revokeRefreshToken;S&&typeof y>"u"&&(y=s.tokenManager.getTokensSync().refreshToken),b&&typeof f>"u"&&(f=s.tokenManager.getTokensSync().accessToken),o.idToken||(o.idToken=s.tokenManager.getTokensSync().idToken),S&&y&&(yield s.revokeRefreshToken(y)),b&&f&&(yield s.revokeAccessToken(f));const D=null!==(a=f?.dpopPairId)&&void 0!==a?a:y?.dpopPairId;s.options.dpop&&D&&(yield rO(D));const R=s.getSignOutRedirectUrl(Object.assign(Object.assign({},o),{postLogoutRedirectUri:u}));if(R)return o.clearTokensBeforeRedirect?s.tokenManager.clear():s.tokenManager.addPendingRemoveFlags(),window.location.assign(R),!0;{const G=yield s.closeSession(),H=new URL(u||l);return d&&H.searchParams.append("state",d),u===c?window.location.href=H.href:window.location.assign(H.href),G}})()}getDPoPAuthorizationHeaders(o){var s=this;return V(function*(){if(!s.options.dpop)throw new Qe("DPoP is not configured for this client instance");let{accessToken:a}=o;if(a||(a=s.tokenManager.getTokensSync().accessToken),!a)throw new Qe("AccessToken is required to generate a DPoP Proof");const l=yield nO(a?.dpopPairId),c=yield d9(Object.assign(Object.assign({},o),{keyPair:l,accessToken:a.accessToken}));return{Authorization:`DPoP ${a.accessToken}`,Dpop:c}})()}clearDPoPStorage(){var o=this;return V(function*(s=!1){var a,l;if(s)return function hbe(){return sO.apply(this,arguments)}();const c=yield o.tokenManager.getTokens(),u=(null===(a=c.accessToken)||void 0===a?void 0:a.dpopPairId)||
1(null===(l=c.refreshToken)||void 0===l?void 0:l.dpopPairId);u&&(yield rO(u))}).apply(this,arguments)}parseUseDPoPNonceError(o){var s;const a=vd.getWWWAuthenticateHeader(o);if(l9(vd.parseHeader(a??""))){let c=null;return r6(o?.get)&&(c=o.get("DPoP-Nonce")),c=null!==(s=c??o["dpop-nonce"])&&void 0!==s?s:o["DPoP-Nonce"],c}return null}},t.crypto=mr,t}const S9={updateAuthStatePromise:null,canceledTimes:0},FO="authStateChange";class iwe{constructor(n){if(!n.emitter)throw new Qe("Emitter should be initialized before AuthStateManager");this._sdk=n,this._pending=Object.assign({},S9),this._authState=null,this._logOptions={},this._prevAuthState=null,this._transformQueue=new YD({quiet:!0}),n.tokenManager.on(Nh,(t,i)=>{this._setLogOptions({event:Nh,key:t,token:i}),this.updateAuthState()}),n.tokenManager.on(Lh,(t,i)=>{this._setLogOptions({event:Lh,key:t,token:i}),this.updateAuthState()})}_setLogOptions(n){this._logOptions=n}getAuthState(){return this._authState}getPreviousAuthState(){return this._prevAuthState}updateAuthState(){var n=this;return V(function*(){const{transformAuthState:t,devMode:i}=n._sdk.options,r=l=>{const{event:c,key:u,token:d}=n._logOptions;Wp().group(`OKTA-AUTH-JS:updateAuthState: Event:${c} Status:${l}`),Wp().log(u,d),Wp().log("Current authState",n._authState),Wp().groupEnd(),n._logOptions={}},s=l=>n._pending.updateAuthStatePromise.then(()=>{const c=n._pending.updateAuthStatePromise;return c&&c!==l?s(c):n.getAuthState()});if(n._pending.updateAuthStatePromise){if(n._pending.canceledTimes>=10)return i&&r("terminated"),s(n._pending.updateAuthStatePromise);n._pending.updateAuthStatePromise.cancel()}const a=new h5((l,c,u)=>{u.shouldReject=!1,u(()=>{n._pending.updateAuthStatePromise=null,n._pending.canceledTimes=n._pending.canceledTimes+1,i&&r("canceled")});const d=f=>{a.isCanceled?l():((l=>{((e,n)=>!!e&&e.isAuthenticated===n.isAuthenticated&&JSON.stringify(e.idToken)===JSON.stringify(n.idToken)&&JSON.stringify(e.accessToken)===JSON.stringify(n.accessToken)&&e.error===n.error)(n._authState,l)?i&&r("unchanged"):(n._prevAuthState=n._authState,n._authState=l,n._sdk.emitter.emit(FO,Object.assign({},l)),i&&r("emitted"))})(f),l(),n._pending=Object.assign({},S9))};n._sdk.isAuthenticated().then(()=>{if(a.isCanceled)return void l();const{accessToken:f,idToken:y,refreshToken:b}=n._sdk.tokenManager.getTokensSync(),S={accessToken:f,idToken:y,refreshToken:b,isAuthenticated:!(!f||!y)};(t?n._transformQueue.push(t,null,n._sdk,S):Promise.resolve(S)).then(R=>d(R)).catch(R=>d({accessToken:f,idToken:y,refreshToken:b,isAuthenticated:!1,error:R}))})});return n._pending.updateAuthStatePromise=a,s(a)})()}subscribe(n){this._sdk.emitter.on(FO,n)}unsubscribe(n){this._sdk.emitter.off(FO,n)}}class rwe{constructor(n,t={}){this.started=!1,this.tokenManager=n,this.options=t,this.renewTimeQueue=[],this.onTokenExpiredHandler=this.onTokenExpiredHandler.bind(this)}shouldThrottleRenew(){let n=!1;if(this.renewTimeQueue.push(Date.now()),this.renewTimeQueue.length>=10){const t=this.renewTimeQueue.shift();n=this.renewTimeQueue[this.renewTimeQueue.length-1]-t<3e4}return n}requiresLeadership(){return!!this.options.syncStorage&&Ko()}processExpiredTokens(){const t=this.tokenManager.getStorage().getStorage();Object.keys(t).forEach(i=>{const r=t[i];!Rh(r)&&this.tokenManager.hasExpired(r)&&this.onTokenExpiredHandler(i)})}onTokenExpiredHandler(n){if(this.options.autoRenew)if(this.shouldThrottleRenew()){const t=new Qe("Too many token renew requests");this.tokenManager.emitError(t)}else this.tokenManager.renew(n).catch(()=>{});else this.options.autoRemove&&this.tokenManager.remove(n)}canStart(){return!(!this.options.autoRenew&&!this.options.autoRemove||this.started)}start(){var n=this;return V(function*(){n.canStart()&&(n.tokenManager.on(LO,n.onTokenExpiredHandler),n.tokenManager.isStarted()&&n.processExpiredTokens(),n.started=!0)})()}stop(){var n=this;return V(function*(){n.started&&(n.tokenManager.off(LO,n.onTokenExpiredHandler),n.renewTimeQueue=[],n.started=!1)})()}isStarted(){return this.started}}class owe{constructor(n,t={}){this.started=!1,this.enablePostMessage=!0,this.tokenManager=n,this.options=t,this.onTokenAddedHandler=this.onTokenAddedHandler.bind(this),this.onTokenRemovedHandler=this.onTokenRemovedHandler.bind(this),this.onTokenRenewedHandler=this.onTokenRenewedHandler.bind(this),this.onSetStorageHandler=this.onSetStorageHandler.bind(this),this.onSyncMessageHandler=this.onSyncMessageHandler.bind(this)}requiresLeadership(){return!1}isStarted(){return this.started}canStart(){return!!this.options.syncStorage&&Ko()&&!this.started}start(){var n=this;return V(function*(){if(!n.canStart())return;const{syncChannelName:t}=n.options;try{n.channel=new jp(t)}catch{throw new Qe("SyncStorageService is not supported in current browser.")}n.tokenManager.on(Nh,n.onTokenAddedHandler),n.tokenManager.on(Lh,n.onTokenRemovedHandler),n.tokenManager.on(By,n.onTokenRenewedHandler),n.tokenManager.on(Uy,n.onSetStorageHandler),n.channel.addEventListener("message",n.onSyncMessageHandler),n.started=!0})()}stop(){var n=this;return V(function*(){var t,i;n.started&&(n.tokenManager.off(Nh,n.onTokenAddedHandler),n.tokenManager.off(Lh,n.onTokenRemovedHandler),n.tokenManager.off(By,n.onTokenRenewedHandler),n.tokenManager.off(Uy,n.onSetStorageHandler),null===(t=n.channel)||void 0===t||t.removeEventListener("message",n.onSyncMessageHandler),yield null===(i=n.channel)||void 0===i?void 0:i.close(),n.channel=void 0,n.started=!1)})()}onTokenAddedHandler(n,t){var i;!this.enablePostMessage||null===(i=this.channel)||void 0===i||i.postMessage({type:Nh,key:n,token:t})}onTokenRemovedHandler(n,t){var i;!this.enablePostMessage||null===(i=this.channel)||void 0===i||i.postMessage({type:Lh,key:n,token:t})}onTokenRenewedHandler(n,t,i){var r;!this.enablePostMessage||null===(r=this.channel)||void 0===r||r.postMessage({type:By,key:n,token:t,oldToken:i})}onSetStorageHandler(n){var t;null===(t=this.channel)||void 0===t||t.postMessage({type:Uy,storage:n})}onSyncMessageHandler(n){switch(this.enablePostMessage=!1,n.type){case Uy:this.tokenManager.getStorage().setStorage(n.storage);break;case Nh:this.tokenManager.emitAdded(n.key,n.token),this.tokenManager.setExpireEventTimeout(n.key,n.token);break;case Lh:this.tokenManager.clearExpireEventTimeout(n.key),this.tokenManager.emitRemoved(n.key,n.token);break;case By:this.tokenManager.emitRenewed(n.key,n.token,n.oldToken)}this.enablePostMessage=!0}}class swe{constructor(n={}){this.started=!1,this.options=n,this.onLeaderDuplicate=this.onLeaderDuplicate.bind(this),this.onLeader=this.onLeader.bind(this)}onLeaderDuplicate(){}onLeader(){var n=this;return V(function*(){var t,i;yield null===(i=(t=n.options).onLeader)||void 0===i?void 0:i.call(t)})()}isLeader(){var n;return!(null===(n=this.elector)||void 0===n||!n.isLeader)}hasLeader(){var n;return!(null===(n=this.elector)||void 0===n||!n.hasLeader)}start(){var n=this;return V(function*(){if(n.canStart()){const{electionChannelName:t}=n.options;n.channel=new jp(t),n.elector=P5(n.channel),n.elector.onduplicate=n.onLeaderDuplicate,n.elector.awaitLeadership().then(n.onLeader),n.started=!0}})()}stop(){var n=this;return V(function*(){n.started&&(n.elector&&(yield n.elector.die(),n.elector=void 0),n.channel&&(n.channel.postInternal=()=>Promise.resolve(),yield n.channel.close(),n.channel=void 0),n.started=!1)})()}requiresLeadership(){return!1}isStarted(){return this.started}canStart(){return Ko()&&!this.started}}const x9=()=>Math.floor(Date.now()/1e3);class awe{constructor(n,t={}){this.started=!1,this.lastHidden=-1,this.tokenManager=n,this.options=t,this.onPageVisbilityChange=this._onPageVisbilityChange.bind(this)}_onPageVisbilityChange(){if(document.hidden)this.lastHidden=x9();else if(this.lastHidden>0&&x9()-this.lastHidden>=this.options.tabInactivityDuration){const{accessToken:n,idToken:t}=this.tokenManager.getTokensSync();if(n&&this.tokenManager.hasExpired(n)){const i=this.tokenManager.getStorageKeyByType("accessToken");this.tokenManager.renew(i).catch(()=>{})}else if(t&&this.tokenManager.hasExpired(t)){const i=this.tokenManager.getStorageKeyByType("idToken");this.tokenManager.renew(i).catch(()=>{})}}}start(){var n=this;return V(function*(){n.canStart()&&document&&(document.addEventListener("visibilitychange",n.onPageVisbilityChange),n.started=!0)})()}stop(){var n=this;return V(function*(){document&&(document.removeEventListener("visibilitychange",n.onPageVisbilityChange),n.started=!1)})()}canStart(){return Ko()&&!!this.options.autoRenew&&!!this.options.renewOnTabActivation&&!this.started}requiresLeadership(){return!1}isStarted(){return this.started}}const E9="autoRenew",k9="syncStorage",HC="leaderElection",T9="renewOnTabActivation";let lwe=(()=>{class e{constructor(t,i={}){this.sdk=t,this.onLeader=this.onLeader.bind(this);const{autoRenew:r,autoRemove:o,syncStorage:s}=t.tokenManager.getOptions();i.electionChannelName=i.electionChannelName||i.broadcastChannelName,this.options=Object.assign({},e.defaultOptions,{autoRenew:r,autoRemove:o,syncStorage:s},{electionChannelName:`${t.options.clientId}-election`,syncChannelName:`${t.options.clientId}-sync`},Qa(i)),this.started=!1,this.services=new Map,e.knownServices.forEac
1h(a=>{const l=this.createService(a);l&&this.services.set(a,l)})}onLeader(){var t=this;return V(function*(){t.started&&(yield t.startServices())})()}isLeader(){var t;return null===(t=this.getService(HC))||void 0===t?void 0:t.isLeader()}isLeaderRequired(){return[...this.services.values()].some(t=>t.canStart()&&t.requiresLeadership())}start(){var t=this;return V(function*(){t.started||(yield t.startServices(),t.started=!0)})()}stop(){var t=this;return V(function*(){yield t.stopServices(),t.started=!1})()}getService(t){return this.services.get(t)}startServices(){var t=this;return V(function*(){for(const[i,r]of t.services.entries())t.canStartService(i,r)&&(yield r.start())})()}stopServices(){var t=this;return V(function*(){for(const i of t.services.values())yield i.stop()})()}canStartService(t,i){let r=i.canStart()&&!i.isStarted();return t===HC?r&&(r=this.isLeaderRequired()):i.requiresLeadership()&&r&&(r=this.isLeader()),r}createService(t){const i=this.sdk.tokenManager;let r;switch(t){case HC:r=new swe(Object.assign(Object.assign({},this.options),{onLeader:this.onLeader}));break;case E9:r=new rwe(i,Object.assign({},this.options));break;case k9:r=new owe(i,Object.assign({},this.options));break;case T9:r=new awe(i,Object.assign({},this.options));break;default:throw new Error(`Unknown service ${t}`)}return r}}return e.knownServices=[E9,k9,HC,T9],e.defaultOptions={autoRenew:!0,autoRemove:!0,syncStorage:!0,renewOnTabActivation:!0,tabInactivityDuration:1800},e})();function uwe(e){return e.session.get().then(function(n){return"ACTIVE"===n.status}).catch(function(){return!1})}function dwe(e){return Jp(e,"/api/v1/sessions/me",{withCredentials:!0}).then(function(n){var t=Py(n,"_links");
1return t.refresh=function(){return wd(e,KM(n,"refresh").href,{},{withCredentials:!0})},t.user=function(){return Jp(e,KM(n,"user").href,{withCredentials:!0})},t}).catch(function(){return{status:"INACTIVE"}})}function hwe(e){return mc(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})}function fwe(e){return wd(e,"/api/v1/sessions/me/lifecycle/refresh",{},{withCredentials:!0})}function pwe(e,n,t){t=t||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+pc({checkAccountSetupComplete:!0,token:n,redirectUrl:t}))}function A9(e){return class extends e{constructor(...t){super(...t),this.session=function mwe(e){return{close:hwe.bind(null,e),exists:uwe.bind(null,e),get:dwe.bind(null,e),refresh:fwe.bind(null,e),setCookieAndRedirect:pwe.bind(null,e)}}(this)}closeSession(){var t=this;return this.session.close().then(V(function*(){return t.clearStorage(),!0})).catch(function(i){if("AuthApiError"===i.name&&"E0000007"===i.errorCode)return!1;throw i})}}}function M9(e,n){var t;if(!b6())return Promise.reject(new Qe("Fingerprinting is not supported on this device"));const i=null!==(t=n?.container)&&void 0!==t?t:document.body;let r,o,s;return new Promise(function(l,c){o=document.createElement("iframe"),o.style.display="none",s=function(d){var f;if(!((e,n)=>n.source===e.contentWindow)(o,d)||!d||!d.data||d.origin!==e.getIssuerOrigin())return;let y;try{y=JSON.parse(d.data)}catch{return}if(y){if("FingerprintAvailable"===y.type)return l(y.fingerprint);if("FingerprintServiceReady"!==y.type)return c(new Qe("No data"));null===(f=o?.contentWindow)||void 0===f||f.postMessage(JSON.stringify({type:"GetFingerprint"}),d.origin)}},p9(window,"message",s),o.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",i.appendChild(o),r=setTimeout(function(){c(new Qe("Fingerprinting timed out"))},n?.timeout||15e3)}).finally(function(){var l;clearTimeout(r),m9(window,"message",s),i.contains(o)&&(null===(l=o.parentElement)||void 0===l||l.removeChild(o))})}const D9=(e=[])=>{const n=[];return e.forEach(t=>{"webauthn"===t.key&&n.push({type:"public-key",id:$y(t.credentialId)})}),n},vwe=(e,n)=>({publicKey:{rp:e.rp,user:{id:$y(e.user.id),name:e.user.name,displayName:e.user.displayName},challenge:$y(e.challenge),pubKeyCredParams:e.pubKeyCredParams,attestation:e.attestation,authenticatorSelection:e.authenticatorSelection,excludeCredentials:D9(n)}}),_we=(e,n)=>({publicKey:Object.assign({challenge:$y(e.challenge),userVerification:e.userVerification,allowCredentials:D9(n)},e.rpId&&{rpId:e.rpId})}),bwe=e=>{const n=e.response;return{id:e.id,clientData:Ph(n.clientDataJSON),attestation:Ph(n.attestationObject)}},wwe=e=>{const n=e.response;return{id:e.id,clientData:Ph(n.clientDataJSON),authenticatorData:Ph(n.authenticatorData),signatureData:Ph(n.signature)}};function O9(e){var n;return(n=class extends e{constructor(...i){super(...i),this.idx=function Z_e(e){!function d_e(e){Object.assign(pD,e)}({remediators:vn,getFlowSpecification:PD});const n=$D.bind(null,e);return{interact:M6.bind(null,e),introspect:dD.bind(null,e),makeIdxResponse:P6.bind(null,e),authenticate:T_e.bind(null,e),register:U_e.bind(null,e),start:n,startTransaction:n,poll:X6.bind(null,e),proceed:J6.bind(null,e),cancel:F_e.bind(null,e),recoverPassword:H_e.bind(null,e),handleInteractionCodeRedirect:j_e.bind(null,e),isInteractionRequired:X_e.bind(null,e),isInteractionRequiredError:Z6,handleEmailVerifyCallback:B_e.bind(null,e),isEmailVerifyCallback:K6,parseEmailVerifyCallback:Y6,isEmailVerifyCallbackError:V_e,getSavedTransactionMeta:Cd.bind(null,e),createTransactionMeta:oD.bind(null,e),getTransactionMeta:jve.bind(null,e),saveTransactionMeta:lD.bind(null,e),clearTransactionMeta:zve.bind(null,e),isTransactionMetaValid:T6,setFlow:i=>{e.options.flow=i},getFlow:()=>e.options.flow,canProceed:Q6.bind(null,e),unlockAccount:z_e.bind(null,e)}}(this),this.fingerprint=M9.bind(null,this)}}).webauthn=co,n}const Ewe={token:{storageTypes:["localStorage","sessionStorage","cookie"]},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]},"shared-transaction":{storageTypes:["localStorage"]},"original-uri":{storageTypes:["localStorage"]}};const Awe=/application\/\w*\+?json/;function Owe(e,n,t){var i=t.data,r=t.headers||{},o=r["Content-Type"]||r["content-type"]||"";i&&"string"!=typeof i&&(Awe.test(o)?i=JSON.stringify(i):"application/x-www-form-urlencoded"===o&&(i=Object.entries(i).map(([l,c])=>`${l}=${encodeURIComponent(c)}`).join("&")));var a=(window.fetch||eA)(n,{method:e,headers:t.headers,body:i,credentials:t.withCredentials?"include":"omit"});return a.finally||(a=Promise.resolve(a)),a.then(function(l){var c=!l.ok,u=l.status;return function Mwe(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch(n=>({error:n,errorSummary:"Could not parse server response"})):e.text()}(l).then(d=>function Dwe(e,n,t){const i="object"==typeof n,r={};for(const s of t.headers.entries())r[s[0]]=s[1];const o={responseText:i?JSON.stringify(n):n,status:e,headers:r};return i&&(o.responseType="json",o.responseJSON=n),o}(u,d,l)).then(d=>{var f;if(c||(null===(f=d.responseJSON)||void 0===f?void 0:f.error))throw d;return d})})}function Nwe(){const e=function Iwe(){const e=function Twe(){return class extends class{constructor(n){this.devMode=!!n.devMode}}{constructor(t){super(t),this.cookies=function kwe(e={},n){var t=e.cookies||{};return typeof t.secure>"u"&&(t.secure=n),typeof t.sameSite>"u"&&(t.sameSite=t.secure?"none":"lax"),t.secure&&!n&&(fc('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to fal
1se.'),t.secure=!1),"none"===t.sameSite&&!t.secure&&(t.sameSite="lax"),t}(t,S6()),this.storageUtil=t.storageUtil||function xwe(){return Object.assign({},UC,{inMemoryStore:{}})}(),this.storageManager=Object.assign(Object.assign({},Ewe),t.storageManager)}}}();return class extends e{constructor(t){super(t),this.issuer=t.issuer,this.transformErrorXHR=t.transformErrorXHR,this.headers=t.headers,this.httpRequestClient=t.httpRequestClient||Owe,this.httpRequestInterceptors=t.httpRequestInterceptors,this.pollDelay=t.pollDelay}}}();return class extends e{constructor(t){super(t),function Rwe(e){var n=(e=e||{}).scopes;if(n&&!Array.isArray(n))throw new Qe('scopes must be a array of strings. Required usage: new OktaAuth({scopes: ["openid", "email"]})');var t=e.issuer;if(!t)throw new Qe('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(t))throw new Qe('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==t.indexOf("-admin.okta"))throw new Qe('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})')}(t),this.issuer=Pa(t.issuer),this.tokenUrl=Pa(t.tokenUrl),this.authorizeUrl=Pa(t.authorizeUrl),this.userinfoUrl=Pa(t.userinfoUrl),this.revokeUrl=Pa(t.revokeUrl),this.logoutUrl=Pa(t.logoutUrl),this.pkce=!1!==t.pkce,this.clientId=t.clientId,this.redirectUri=t.redirectUri,Ko()&&(this.redirectUri=function Ove(e="",n){return _C(e)?e:(n=Pa(n),"/"===e[0]?`${n}${e}`:`${n}/${e}`)}(t.redirectUri,window.location.origin)),this.responseType=t.responseType,this.responseMode=t.responseMode,this.state=t.state,this.scopes=t.scopes,this.ignoreSignature=!!t.ignoreSignature,this.codeChallenge=t.codeChallenge,this.codeChallengeMethod=t.codeChallengeMethod,this.acrValues=t.acrValues,this.maxAge=t.maxAge,this.dpop=!0===t.dpop,this.dpopOptions=Object.assign({allowBearerTokens:!1},t.dpopOptions),this.tokenManager=t.tokenManager,this.postLogoutRedirectUri=t.postLogoutRedirectUri,this.restoreOriginalUri=t.restoreOriginalUri,this.transactionManager=Object.assign({enableSharedStorage:!0},t.transactionManager),this.clientSecret=t.clientSecret,this.setLocation=t.setLocation,this.ignoreLifetime=!!t.ignoreLifetime,this.maxClockSkew=t.maxClockSkew||0===t.maxClockSkew?t.maxClockSkew:d6}}}function I9(){const e=function Lwe(){const e=Nwe();return class extends e{constructor(t){super(t),this.services=t.services,this.transformAuthState=t.transformAuthState}}}();return class extends e{constructor(t){super(t),this.flow=t.flow,this.activationToken=t.activationToken,this.recoveryToken=t.recoveryToken,this.idx=t.idx}}}class tm{constructor(n,t){if(!n)throw new Qe('"storage" is required');if("string"!=typeof t||!t.length)throw new Qe('"storageName" is required');this.storageName=t,this.storageProvider=n}getItem(n){return this.getStorage()[n]}setItem(n,t){return this.updateStorage(n,t)}removeItem(n){return this.clearStorage(n)}getStorage(){var n=this.storageProvider.getItem(this.storageName);n=n||"{}";try{return JSON.parse(n)}catch{throw new Qe("Unable to parse storage string: "+this.storageName)}}setStorage(n){try{var t=n?JSON.stringify(n):"{}";this.storageProvider.setItem(this.storageName,t)}catch{throw new Qe("Unable to set storage: "+this.storageName)}}clearStorage(n){if(n){var t=this.getStorage();delete t[n],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}updateStorage(n,t){var i=this.getStorage();i[n]=t,this.setStorage(i)}}function jC(e){!Ko()&&!e.storageProvider&&!e.storageKey&&fc("Memory storage can only support simple single user use case on server side, please provide custom storageProvider or storageKey if advanced scenarios need to be supported.")}function P9(){const e=function Vwe(){return function $we(){return class extends class Fwe{constructor(n,t,i){this.storageManagerOptions=n,this.cookieOptions=t,this.storageUtil=i}getOptionsForSection(n,t){return Object.assign({},this.storageManagerOptions[n],t)}getStorage(n){if((n=Object.assign({},this.cookieOptions,n)).storageProvider)return n.storageProvider;let{storageType:t,storageTypes:i}=n;if("sessionStorage"===t&&(n.sessionCookie=!0),t&&i){const r=i.indexOf(t);r>=0&&(i=i.slice(r),t=void 0)}return t||(t=this.storageUtil.findStorageType(i)),this.storageUtil.getStorageByType(t,n)}getTokenStorage(n){jC(n=this.getOptionsForSection("token",n));const t=this.getStorage(n);return new tm(t,n.storageKey||JM)}getHttpCache(n){n=this.getOptionsForSection("cache",n);const t=this.getStorage(n);return new tm(t,n.storageKey||f6)}}
1{constructor(n,t,i){super(n,t,i)}getTransactionStorage(n){jC(n=this.getOptionsForSection("transaction",n));const t=this.getStorage(n);return new tm(t,n.storageKey||p6)}getSharedTansactionStorage(n){jC(n=this.getOptionsForSection("shared-transaction",n));const t=this.getStorage(n);return new tm(t,n.storageKey||m6)}getOriginalUriStorage(n){jC(n=this.getOptionsForSection("original-uri",n));const t=this.getStorage(n);return new tm(t,n.storageKey||g6)}}}()}();return class extends e{constructor(t,i,r){super(t,i,r)}getIdxResponseStorage(t){let i;if(Ko())try{i=this.storageUtil.getStorageByType("memory",t)}catch{fc("No response storage found, you may want to provide custom implementation for intermediate idx responses to optimize the network traffic")}else{const r=this.getTransactionStorage(t);r&&(i={getItem:o=>{const s=r.getStorage();return s&&s[o]?s[o]:null},setItem:(o,s)=>{const a=r.getStorage();if(!a)throw new Qe("Transaction has been cleared, failed to save idxState");a[o]=s,r.setStorage(a)},removeItem:o=>{const s=r.getStorage();!s||(delete s[o],r.setStorage(s))}})}return i?new tm(i,y6):null}}}function R9(e){return!(!e||"object"!=typeof e||0===Object.values(e).length)}function zC(e){return!(!function N9(e){return!(!R9(e)||!e.redirectUri&&!e.responseType)}(e)&&!function Uwe(e){return!!R9(e)&&void 0===Object.values(e).find(t=>"string"!=typeof t)}(e))}function L9(){const e=function Wwe(){return class{constructor(n){this.storageManager=n.storageManager,this.enableSharedStorage=!1!==n.enableSharedStorage,this.saveLastResponse=!1!==n.saveLastResponse,this.options=n}clear(n={}){const t=this.storageManager.getTransactionStorage(),i=t.getStorage();if(t.clearStorage(),this.enableSharedStorage&&!1!==n.clearSharedStorage){const r=n.state||i?.state;r&&function qwe(e,n){const t=e.getSharedTansactionStorage(),i=t.getStorage();delete i[n],t.setStorage(i)}(this.storageManager,r)}}save(n,t={}){let i=this.storageManager.getTransactionStorage();zC(i.getStorage())&&!t.muteWarning&&fc("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),i.setStorage(n),this.enableSharedStorage&&n.state&&function zwe(e,n,t){const i=e.getSharedTansactionStorage(),r=i.getStorage();r[n]={dateCreated:Date.now(),transaction:t},i.setStorage(r)}(this.storageManager,n.state,n)}exists(n={}){try{return!!this.load(n)}catch{return!1}}load(n={}){let t;return this.enableSharedStorage&&n.state&&(function jwe(e){const n=e.getSharedTansactionStorage(),t=n.getStorage();Object.keys(t).forEach(i=>{const r=t[i];Date.now()-r.dateCreated>18e5&&delete t[i]}),n.setStorage(t)}(this.storageManager),t=function Gwe(e,n){const r=e.getSharedTansactionStorage().getStorage()[n];return r&&r.transaction&&zC(r.transaction)?r.transaction:null}(this.storageManager,n.state),zC(t))||(t=this.storageManager.getTransactionStorage().getStorage(),zC(t))?t:null}}}();return class extends e{constructor(t){super(t)}clear(t={}){super.clear(t),!1!==t.clearIdxResponse&&this.clearIdxResponse()}saveIdxResponse(t){if(!this.saveLastResponse)return;const i=this.storageManager.getIdxResponseStorage();!i||i.setStorage(t)}loadIdxResponse(t){if(!this.saveLastResponse)return null;const i=this.storageManager.getIdxResponseStorage();if(!i)return null;const r=i.getStorage();if(!r||!R6(r.rawIdxResponse))return null;if(t){const{stateHandle:o,interactionHandle:s}=t;if(!t.useGenericRemediator&&o&&r.stateHandle!==o||s&&r.interactionHandle!==s)return null}return r}clearIdxResponse(){this.saveLastResponse&&this.storageManager.getIdxResponseStorage()?.clearStorage()}}}class hu{constructor(n,t){const{res:i}=t,{headers:r}=i,o=Oh(i,["headers"]);r&&(this.headers=r),Object.keys(o).forEach(s=>{"_links"!==s&&(this[s]=o[s])})}}function ro(e,n){return $O.apply(this,arguments)}function $O(){return($O=V(function*(e,n,t=hu){const{accessToken:i}=e.tokenManager.getTokensSync(),r=n.accessToken||i,o=e.getIssuerOrigin(),{url:s,method:a,payload:l}=n,c=s.startsWith(o)?s:`${o}${s}`;if(!r)throw new Qe("AccessToken is required to request MyAccount API endpoints.");let u=r;const d=Object.assign({headers:{Accept:"*/*;okta-version=1.0.0"},url:c,method:a},l&&{args:l});if(e.options.dpop){if("string"==typeof u)throw new Qe("AccessToken object must be provided when using dp
1op");const{Authorization:b,Dpop:S}=yield e.getDPoPAuthorizationHeaders({method:a,url:c,accessToken:u});d.headers.Authorization=b,d.headers.Dpop=S}else u="string"==typeof u?u:u.accessToken,d.accessToken=u;const f=yield mc(e,d);let y;return y=Array.isArray(f)?f.map(b=>new t(e,{res:b,accessToken:u})):new t(e,{res:f,accessToken:u}),y})).apply(this,arguments)}function zs({oktaAuth:e,accessToken:n,methodName:t,links:i},r=hu){for(const s of["GET","POST","PUT","DELETE"])if(s.toLowerCase()===t){const a=i.self;return function(){var l=V(function*(c){return ro(e,{accessToken:n,url:a.href,method:s,payload:c},r)});return function(c){return l.apply(this,arguments)}}()}const o=i[t];if(!o)throw new Qe(`No link is found with methodName: ${t}`);return function(){var s=V(function*(a){return ro(e,{accessToken:n,url:o.href,method:o.hints.allow[0],payload:a},r)});return function(a){return s.apply(this,arguments)}}()}class F9 extends hu{constructor(n,t){super(n,t);const{createdAt:i,modifiedAt:r,profile:o}=t.res;this.createdAt=i,this.modifiedAt=r,this.profile=o}}class Kwe extends hu{constructor(n,t){super(n,t),this.properties=t.res.properties}}const Ywe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/profile",method:"GET",accessToken:t?.accessToken},F9)});return function(t,i){return e.apply(this,arguments)}}(),Qwe=function(){var e=V(function*(n,t){const{payload:i,accessToken:r}=t;return yield ro(n,{url:"/idp/myaccount/profile",method:"PUT",payload:i,accessToken:r},F9)});return function(t,i){return e.apply(this,arguments)}}(),Jwe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/profile/schema",method:"GET",accessToken:t?.accessToken},Kwe)});return function(t,i){return e.apply(this,arguments)}}();class $9 extends hu{constructor(n,t){super(n,t);const{res:i}=t,{id:r,profile:o,expiresAt:s,status:a}=i;this.id=r,this.expiresAt=s,this.profile=o,this.status=a}}class Hy extends hu{constructor(n,t){super(n,t);const{accessToken:i,res:r}=t,{id:o,expiresAt:s,profile:a,status:l,_links:c}=r;this.id=o,this.expiresAt=s,this.profile=a,this.status=l,this.poll=V(function*(){return yield zs({oktaAuth:n,accessToken:i,methodName:"poll",links:c},$9)()}),this.verify=function(){var u=V(function*(d){return yield zs({oktaAuth:n,accessToken:i,methodName:"verify",links:c},Hy)(d)});return function(d){return u.apply(this,arguments)}}()}}class jy extends hu{constructor(n,t){super(n,t);const{accessToken:i,res:r}=t,{id:o,profile:s,roles:a,status:l,_links:c}=r;this.id=o,this.profile=s,this.roles=a,this.status=l,this.get=V(function*(){return yield zs({oktaAuth:n,accessToken:i,methodName:"get",links:c},jy)()}),this.delete=V(function*(){return yield zs({oktaAuth:n,accessToken:i,methodName:"delete",links:c})()}),this.challenge=V(function*(){return yield zs({oktaAuth:n,accessToken:i,methodName:"challenge",links:c},Hy)()}),c.poll&&(this.poll=V(function*(){return yield zs({oktaAuth:n,accessToken:i,methodName:"poll",links:c},$9)()})),c.verify&&(this.verify=function(){var u=V(function*(d){return yield zs({oktaAuth:n,accessToken:i,methodName:"verify",links:c})(d)});return function(d){return u.apply(this,arguments)}}())}}const Xwe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/emails",method:"GET",accessToken:t?.accessToken},jy)});return function(t,i){return e.apply(this,arguments)}}(),Zwe=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield ro(n,{url:`/idp/myaccount/emails/${i}`,method:"GET",accessToken:r},jy)});return function(t,i){return e.apply(this,arguments)}}(),eCe=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield ro(n,{url:"/idp/myaccount/emails",method:"POST",payload:r,accessToken:i},jy)});return function(t,i){return e.apply(this,arguments)}}(),tCe=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield ro(n,{url:`/idp/myaccount/emails/${i}`,method:"DELETE",accessToken:r})});return function(t,i){return e.apply(this,arguments)}}(),nCe=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield ro(n,{url:`/idp/myaccount/emails/${i}/challenge`,method:"POST",accessToken:r},Hy)});return function(t,i){return e.apply(this,arguments)}}(),iCe=function(){var e=V(function*(n,t){const{emailId:i,challengeId:r,accessToken:o}=t;return yield ro(n,{url:`/idp/myaccount/emails/${i}/challenge/${r}`,method:"POST",accessToken:o},Hy)});return function(t,i){return e.apply(this,arguments)}}(),rCe=function(){var e=V(function*(n,t){const{emailId:i,challengeId:r,payload:o,accessToken:s}=t;return yield ro(n,{url:`/idp/myaccount/emails/${i}/challenge/${r}/verify`,method:"POST",payload:o,accessToken:s})});return function(t,i){return e.apply(this,arguments)}}();class zy extends hu{constructor(n,t){super(n,t);const{res:i,accessToken:r}=t,{id:o,profile:s,status:a,_links:l}=i;this.id=o,this.profile=s,this.status=a,this.get=V(function*(){return yield zs({oktaAuth:n,accessToken:r,methodName:"get",links:l},zy)()}),this.delete=V(function*(){return yield zs({oktaAuth:n,accessToken:r,methodName:"delete",links:l})()}),this.challenge=function(){var c=V(function*(u){return yield zs({oktaAuth:n,accessToken:r,methodName:"challenge",links:l})(u)});return function(u){return c.apply(this,arguments)}}(),l.verify&&(this.verify=function(){var c=V(function*(u){return yield zs({oktaAuth:n,accessToken:r,methodName:"verify",links:l})(u)});return function(u){return c.apply(this,arguments)}}())}}const oCe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/phones",method:"GET",accessToken:t?.accessToken},zy)});return function(t,i){return e.apply(this,arguments)}}(),sCe=function(){var e=V(function*(n,t){const{accessToken:i,id:r}=t;return yield ro(n,{url:`/idp/myaccount/phones/${r}`,method:"GET",accessToken:i},zy)});return function(t,i){return e.apply(this,arguments)}}(),aCe=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield ro(n,{url:"/idp/myaccount/phones",method:"POST",payload:r,accessToken:i},zy)});return function(t,i){return e.apply(this,arguments)}}(),lCe=function(){var e=V(function*(n,t){const{id:i,accessToken:r}=t;return yield ro(n,{url:`/idp/myaccount/phones/${i}`,method:"DELETE",accessToken:r})});return function(t,i){return e.apply(this,arguments)}}(),cCe=function(){var e=V(function*(n,t){const{accessToken:i,id:r,payload:o}=t;return yield ro(n,{url:`/idp/myaccount/phones/${r}/challenge`,method:"POST",payload:o,accessToken:i})});return function(t,i){return e.apply(this,arguments)}}(),uCe=function(){var e=V(function*(n,t){const{id:i,payload:r,accessToken:o}=t;return yield ro(n,{url:`/idp/myaccount/phones/${i}/verify`,method:"POST",payload:r,accessToken:o})});return function(t,i){return e.apply(this,arguments)}}();var GC=(()=>{return(e=GC||(GC={})).NOT_ENROLLED="NOT_ENROLLED",e.ACTIVE="ACTIVE",GC;var e})();class Fh extends hu{constructor(n,t){super(n,t);const{res:i,accessToken:r}=t,{id:o,status:s,created:a,lastUpdated:l,_links:c}=i;this.id=o,this.status=s,this.created=a,this.lastUpdated=l,this.status==GC.NOT_ENROLLED?this.enroll=function(){var u=V(function*(d){return yield zs({oktaAuth:n,accessToken:r,methodName:"enroll",links:c},Fh)(d)});return function(d){return u.apply(this,arguments)}}():(this.get=V(function*(){return yield zs({oktaAuth:n,accessToken:r,methodName:"get",links:c},Fh)()}),this.update=function(){var u=V(function*(d){return yield zs({oktaAuth:n,accessToken:r,methodName:"put",links:c},Fh)(d)});return function(d){return u.apply(this,arguments)}}(),this.delete=V(function*(){return yield zs({oktaAuth:n,accessToken:r,methodName:"delete",links:c})()}))}}const dCe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/password",method:"GET",accessToken:t?.accessToken},Fh)});return function(t,i){return e.apply(this,arguments)}}(),hCe=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield ro(n,{url:"/idp/myaccount/password",method:"POST",payload:r,accessToken:i},Fh)});return function(t,i){return e.apply(this,arguments)}}(),fCe=function(){var e=V(function*(n,t){const{accessToken:i,payload:r}=t;return yield ro(n,{url:"/idp/myaccount/password",method:"PUT",payload:r,accessToken:i},Fh)});return function(t,i){return e.apply(this,arguments)}}(),pCe=function(){var e=V(function*(n,t){return yield ro(n,{url:"/idp/myaccount/password",method:"DELETE",accessToken:t?.accessToken})});return function(t,i){return e.apply(this,arguments)}}();function qC(e,n){var t={};
vendor: 1,159 bytes, line 1
1return Object.assign(t,n),!t.stateToken&&e.stateToken&&(t.stateToken=e.stateToken),t}function V9(e,n){return n=qC(e,n),wd(e,e.getIssuerOrigin()+"/api/v1/authn",n,{withCredentials:!0})}function bCe(e){return!!VO(e)}function B9(e,n,t,i,r){return wd(e,t,i,r=Object.assign({withCredentials:!0},r)).then(function(o){return n.createTransaction(o)})}function VO(e){return e.options.storageUtil.storage.get(Ry)}function U9(e,n,t,i,r,o){if(Array.isArray(r))return function(a,l){if(!a)throw new Qe("Must provide a link name");var c=WM(r,{name:a});if(!c)throw new Qe("No link found for that name");return U9(e,n,t,i,c,o)(l)};if(r.hints&&r.hints.allow&&1===r.hints.allow.length)switch(r.hints.allow[0]){case"GET":return function(){return Jp(e,r.href,{withCredentials:!0})};case"POST":return function(a){o&&o.isPolling&&(o.isPolling=!1);var l=qC(t,a);("MFA_ENROLL"===t.status||"FACTOR_ENROLL"===t.status)&&Object.assign(l,{factorType:i.factorType,provider:i.provider});var c={},u=l.autoPush;if(void 0!==u){if("function"==typeof u)try{c.autoPush=!!u()}catch{return Promise.reject(new Qe("AutoPush resulted in an error."))}else null!==u&&(c.autoPush=!!u);l=Py(l,"autoPush")}
1var d=l.rememberDevice;if(void 0!==d){if("function"==typeof d)try{c.rememberDevice=!!d()}catch{return Promise.reject(new Qe("RememberDevice resulted in an error."))}else null!==d&&(c.rememberDevice=!!d);l=Py(l,"rememberDevice")}else l.profile&&void 0!==l.profile.updatePhone&&(l.profile.updatePhone&&(c.updatePhone=!0),l.profile=Py(l.profile,"updatePhone"));var f=r.href+pc(c);return B9(e,n,f,l)}}}class H9 extends Kp{constructor(){super("The poll was stopped by the sdk")}}function wCe(e,n,t){return function(i){var r,o,s,a;!function Ave(e){return"[object Number]"===Object.prototype.toString.call(e)}(i)?i6(i)&&(r=i.delay,o=i.rememberDevice,s=i.autoPush,a=i.transactionCallBack):r=i,!r&&0!==r&&(r=c6);var l=KM(n,"next","poll");t.isPolling=!0;var u=0,d=function(){return t.isPolling?function c(){var f={};if("function"==typeof s)try{f.autoPush=!!s()}catch{return Promise.reject(new Qe("AutoPush resulted in an error."))}else null!=s&&(f.autoPush=!!s);if("function"==typeof o)try{f.rememberDevice=!!o()}catch{return Promise.reject(new Qe("RememberDevice resulted in an error."))}else null!=o&&(f.rememberDevice=!!o);var y=l.href+pc(f);return wd(e,y,function gCe(e){return qC(e)}(n),{saveAuthnState:!1,withCredentials:!0,pollingIntent:!0})}().then(function(f){if(u=0,f.factorResult&&"WAITING"===f.factorResult){if(!t.isPolling)throw new H9;return"function"==typeof a&&a(f),s6(r).then(d)}return t.isPolling=!1,e.tx.createTransaction(f)}).catch(function(f){if(f.xhr&&(0===f.xhr.status||429===f.xhr.status)&&u<=4){var y=1e3*Math.pow(2,u);return u++,s6(y).then(d)}throw f}):Promise.reject(new H9)};return d().catch(function(f){throw t.isPolling=!1,f})}}function BO(e,n,t,i,r){if(i=sa(i=i||t),Array.isArray(i)){for(var o=[],s=0,a=i.length;s<a;s++)o.push(BO(e,n,t,i[s],r));return o}var l=i._embedded||{};for(var c in l)!Object.prototype.hasOwnProperty.call(l,c)||(i6(l[c])||Array.isArray(l[c]))&&(l[c]=BO(e,n,t,l[c],r));var u=function CCe(e,n,t,i,r){var o={};for(var s in i._links)if(Object.prototype.hasOwnProperty.call(i._links,s)){var a=i._links[s];if("next"===s&&(s=a.name),a.type){o[s]=a;continue}if("poll"===s)o.poll=wCe(e,t,r);else{var l=U9(e,n,t,i,a,r);l&&(o[s]=l)}}return o}(e,n,t,i,r);return Object.assign(l,u),i=Py(i,"_embedded","_links"),Object.assign(i,l),i}class SCe{constructor(n,t,i=null){this.data=void 0,this.status=void 0,i&&(this.data=i,Object.assign(this,BO(n,t,i,i,{})),delete this.stateToken,"RECOVERY_CHALLENGE"===i.status&&!i._links&&(this.cancel=function(){return Promise.resolve(t.createTransaction())}))}}function xCe(e){const n={status:V9.bind(null,e),resume:t=>function yCe(e,n,t){if(!t||!t.stateToken){var i=VO(e);if(!i)return Promise.reject(new Qe("No transaction to resume"));t={stateToken:i}}return V9(e,t).then(function(r){return n.createTransaction(r)})}(e,n,t),exists:bCe.bind(null,e),introspect:t=>function vCe(e,n,t){if(!t||!t.stateToken){var i=VO(e);if(!i)return Promise.reject(new Qe("No transaction to evaluate"));t={stateToken:i}}return function _Ce(e,n){return n=qC(e,n),wd(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",n,{withCredentials:!0})}(e,t).then(function(r){return n.createTransaction(r)})}(e,n,t),createTransaction:t=>new SCe(e,n,t),postToTransaction:(t,i,r)=>B9(e,n,t,i,r)};return n}function j9(e){return class extends e{constructor(...t){super(...t),this.authn=this.tx=xCe(this),this.fingerprint=M9.bind(null,this)}signIn(t){var i=this;return V(function*(){t=sa(t||{});const r=o=>(delete t.sendFingerprint,i.tx.postToTransaction("/api/v1/authn",t,o));return t.sendFingerprint?i.fingerprint().then(function(o){return r({headers:{"X-Device-Fingerprint":o}})}):r()})()}signInWithCredentials(t){var i=this;return V(function*(){return i.signIn(t)})()}forgotPassword(t){return this.tx.postToTransaction("/api/v1/authn/recovery/password",t)}unlockAccount(t){return this.tx.postToTransaction("/api/v1/authn/recovery/unlock",t)}verifyRecoveryToken(t){const{multiOptionalFactorEnroll:i}=t,r=Oh(t,["multiOptionalFactorEnroll"]);return i&&(r.options={multiOptionalFactorEnroll:i}),this.tx.postToTransaction("/api/v1/authn/recovery/token",r)}}}const kCe=I9(),MCe=function Cwe(e,n,t){return O9(function gwe(e,n,t){return function cwe(e){return class extends e{constructor(...t){super(...t),this.authStateManager=new iwe(this),this.serviceManager=new lwe(this,this.options.services)}start(){var t=this;return V(function*(){yield t.serviceManager.start(),t.tokenManager.start(),t.token.isLoginRedirect()||(yield t.authStateManager.updateAuthState())})()}stop(){var t=this;return V(function*(){t.tokenManager.stop(),yield t.serviceManager.stop()})()}handleRedirect(t){var i=this;return V(function*(){yield i.handleLoginRedirect(void 0,t)})()}handleLoginRedirect(t,i){var r=this;return V(function*(){let o=r.options.state;if(t)r.tokenManager.setTokens(t),i=i||r.getOriginalUri(r.options.state);else{if(!r.isLoginRedirect())return;try{o=(yield TO(r,{})).state,i=i||r.getOriginalUri(o),yield r.storeTokensFromRedirect()}catch(a){throw yield r.authStateManager.updateAuthState(),a}}yield r.authStateManager.updateAuthState(),r.removeOriginalUri(o);const{restoreOriginalUri:s}=r.options;s?yield s(r,i):i&&window.location.replace(i)})()}handleIDPPopupRedirect(t=window.location.href){const i=TO(this,{responseMode:"query",url:t});if(!i.state)throw new Qe("Unable to parse auth code params");{const r=new BroadcastChannel(`popup-callback:${i.state}`);r.postMessage(i),r.close()}}}}(C9(A9(r9(i9(n9(n),e))),t))}(e,n,t))}(P9(),kCe,L9()),DCe=function mCe(e){return class extends e{constructor(...t){super(...t),this.myaccount=Object.entries(hi).filter(([i])=>"default"!==i).reduce((i,[r,o])=>(i[r]=o.bind(null,this),i),{})}}}(MCe);j9(DCe);const OCe=I9(),RCe=function ECe(e,n,t){return C9(A9(r9(i9(n9(n),e))),t)}(P9(),OCe,L9()),LCe=j9(O9(RCe));var ca=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
vendor: 5,094 bytes, line 1
1function FCe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var UO={exports:{}};UO.exports=function(){var t="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof ca&&ca.global===ca&&ca||Function("return this")()||{},r=Array.prototype,o=Object.prototype,s=typeof Symbol<"u"?Symbol.prototype:null,a=r.push,l=r.slice,c=o.toString,u=o.hasOwnProperty,d=typeof ArrayBuffer<"u",f=typeof DataView<"u",y=Array.isArray,b=Object.keys,S=Object.create,D=d&&ArrayBuffer.isView,R=isNaN,G=isFinite,H=!{toString:null}.propertyIsEnumerable("toString"),te=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],mt=Math.pow(2,53)-1;function $e(k,L){return L=null==L?k.length-1:+L,function(){for(var Q=Math.max(arguments.length-L,0),ne=Array(Q),ge=0;ge<Q;ge++)ne[ge]=arguments[ge+L];switch(L){case 0:return k.call(this,ne);case 1:return k.call(this,arguments[0],ne);case 2:return k.call(this,arguments[0],arguments[1],ne)}var le=Array(L+1);for(ge=0;ge<L;ge++)le[ge]=arguments[ge];return le[L]=ne,k.apply(this,le)}}function gt(k){var L=typeof k;return"function"===L||"object"===L&&!!k}function nn(k){return void 0===k}function Tn(k){return!0===k||!1===k||"[object Boolean]"===c.call(k)}function gn(k){var L="[object "+k+"]";return function(Q){return c.call(Q)===L}}var on=gn("String"),Ht=gn("Number"),xi=gn("Date"),Nr=gn("RegExp"),br=gn("Error"),Et=gn("Symbol"),St=gn("ArrayBuffer"),pe=gn("Function");"object"!=typeof Int8Array&&"function"!=typeof(i.document&&i.document.childNodes)&&(pe=function(k){return"function"==typeof k||!1});var en=pe,di=gn("Object"),wr=f&&di(new DataView(new ArrayBuffer(8))),lo=typeof Map<"u"&&di(new Map),Qi=gn("DataView"),ya=wr?function(k){return null!=k&&en(k.getInt8)&&St(k.buffer)}:Qi,va=y||gn("Array");function ur(k,L){return null!=k&&u.call(k,L)}var Ws=gn("Arguments");!function(){Ws(arguments)||(Ws=function(k){return ur(k,"callee")})}();var Cr=Ws;function _a(k){return Ht(k)&&R(k)}function Fa(k){return function(){return k}}function Nu(k){return function(L){var Q=k(L);return"number"==typeof Q&&Q>=0&&Q<=mt}}function Nm(k){return function(L){return L?.[k]}}var Lu=Nm("byteLength"),kc=Nu(Lu),O=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,F=d?function(k){return D?D(k)&&!ya(k):kc(k)&&O.test(c.call(k))}:Fa(!1),Y=Nm("length");function fe(k,L){L=function(Ae){for(var Ye={},An=Ae.length,$n=0;$n<An;++$n)Ye[Ae[$n]]=!0;return{contains:function(Mr){return Ye[Mr]},push:function(Mr){return Ye[Mr]=!0,Ae.push(Mr)}}}(L);var Q=te.length,ne=k.constructor,ge=en(ne)&&ne.prototype||o,le="constructor";for(ur(k,le)&&!L.contains(le)&&L.push(le);Q--;)(le=te[Q])in k&&k[le]!==ge[le]&&!L.contains(le)&&L.push(le)}function Ie(k){if(!gt(k))return[];if(b)return b(k);var L=[];for(var Q in k)ur(k,Q)&&L.push(Q);return H&&fe(k,L),L}function Ge(k,L){var Q=Ie(L),ne=Q.length;if(null==k)return!ne;for(var ge=Object(k),le=0;le<ne;le++){var Ae=Q[le];if(L[Ae]!==ge[Ae]||!(Ae in ge))return!1}return!0}function yt(k){return k instanceof yt?k:this instanceof yt?void(this._wrapped=k):new yt(k)}function oi(k){return new Uint8Array(k.buffer||k,k.byteOffset||0,Lu(k))}yt.VERSION=t,yt.prototype.valueOf=yt.prototype.toJSON=yt.prototype.value=function(){return this._wrapped},yt.prototype.toString=function(){return String(this._wrapped)};var Sr="[object DataView]";function Kr(k,L,Q,ne){if(k===L)return 0!==k||1/k==1/L;if(null==k||null==L)return!1;if(k!=k)return L!=L;var ge=typeof k;return("function"===ge||"object"===ge||"object"==typeof L)&&function le(Ae,Ye,An,$n){Ae instanceof yt&&(Ae=Ae._wrapped),Ye instanceof yt&&(Ye=Ye._wrapped);var Mr=c.call(Ae);if(Mr!==c.call(Ye))return!1;if(wr&&"[object Object]"==Mr&&ya(Ae)){if(!ya(Ye))return!1;Mr=Sr}switch(Mr){case"[object RegExp]":case"[object String]":return""+Ae==""+Ye;case"[object Number]":return+Ae!=+Ae?+Ye!=+Ye:0==+Ae?1/+Ae==1/Ye:+Ae==+Ye;case"[object Date]":case"[object Boolean]":return+Ae==+Ye;case"[object Symbol]":return s.valueOf.call(Ae)===s.valueOf.call(Ye);case"[object ArrayBuffer]":case Sr:return le(oi(Ae),oi(Ye),An,$n)}var Ks="[object Array]"===Mr;if(!Ks&&F(Ae)){if(Lu(Ae)!==Lu(Ye))return!1;if(Ae.buffer===Ye.buffer&&Ae.byteOffset===Ye.byteOffset)return!0;Ks=!0}if(!Ks){if("object"!=typeof Ae||"object"!=typeof Ye)return!1;var xf=Ae.constructor,Ef=Ye.constructor;if(xf!==Ef&&!(en(xf)&&xf instanceof xf&&en(Ef)&&Ef instanceof Ef)&&"constructor"in Ae&&"constructor"in Ye)return!1}$n=$n||[];for(var $l=(An=An||[]).length;$l--;)if(An[$l]===Ae)return $n[$l]===Ye;if(An.push(Ae),$n.push(Ye),Ks){if(($l=Ae.length)!==Ye.length)return!1;for(;$l--;)if(!Kr(Ae[$l],Ye[$l],An,$n))return!1}else{var b1,DJ=Ie(Ae);if($l=DJ.length,Ie(Ye).length!==$l)return!1;for(;$l--;)if(!ur(Ye,b1=DJ[$l])||!Kr(Ae[b1],Ye[b1],An,$n))return!1}return An.pop(),$n.pop(),!0}(k,L,Q,ne)}function xr(k){if(!gt(k))return[];var L=[];for(var Q in k)L.push(Q);return H&&fe(k,L),L}function Vi(k){var L=Y(k);return function(Q){if(null==Q)return!1;var ne=xr(Q);if(Y(ne))return!1;for(var ge=0;ge<L;ge++)if(!en(Q[k[ge]]))return!1;return k!==ys||!en(Q[ko])}}
vendor: 3,644 bytes, line 1
1var ko="forEach",Tc=["clear","delete"],Lr=["get","has","set"],Yr=Tc.concat(ko,Lr),ys=Tc.concat(Lr),_f=["add"].concat(Tc,ko,"has"),Lm=lo?Vi(Yr):gn("Map"),Ac=lo?Vi(ys):gn("WeakMap"),Fm=lo?Vi(_f):gn("Set"),bf=gn("WeakSet");function vs(k){for(var L=Ie(k),Q=L.length,ne=Array(Q),ge=0;ge<Q;ge++)ne[ge]=k[L[ge]];return ne}function $m(k){for(var L={},Q=Ie(k),ne=0,ge=Q.length;ne<ge;ne++)L[k[Q[ne]]]=Q[ne];return L}function il(k){var L=[];for(var Q in k)en(k[Q])&&L.push(Q);return L.sort()}function Vm(k,L){return function(Q){var ne=arguments.length;if(L&&(Q=Object(Q)),ne<2||null==Q)return Q;for(var ge=1;ge<ne;ge++)for(var le=arguments[ge],Ae=k(le),Ye=Ae.length,An=0;An<Ye;An++){var $n=Ae[An];L&&void 0!==Q[$n]||(Q[$n]=le[$n])}return Q}}var e_=Vm(xr),Bm=Vm(Ie),t_=Vm(xr,!0);function x(k){if(!gt(k))return{};if(S)return S(k);var L=function(){};L.prototype=k;var Q=new L;return L.prototype=null,Q}function I(k){return gt(k)?va(k)?k.slice():e_({},k):k}function $(k){return va(k)?k:[k]}function X(k){return yt.toPath(k)}function Z(k,L){for(var Q=L.length,ne=0;ne<Q;ne++){if(null==k)return;k=k[L[ne]]}return Q?k:void 0}function ce(k,L,Q){var ne=Z(k,X(L));return nn(ne)?Q:ne}function we(k){return k}function Ne(k){return k=Bm({},k),function(L){return Ge(L,k)}}function Je(k){return k=X(k),function(L){return Z(L,k)}}function He(k,L,Q){if(void 0===L)return k;switch(Q??3){case 1:return function(ne){return k.call(L,ne)};case 3:return function(ne,ge,le){return k.call(L,ne,ge,le)};case 4:return function(ne,ge,le,Ae){return k.call(L,ne,ge,le,Ae)}}return function(){return k.apply(L,arguments)}}function ut(k,L,Q){return null==k?we:en(k)?He(k,L,Q):gt(k)&&!va(k)?Ne(k):Je(k)}function Dt(k,L){return ut(k,L,1/0)}function ht(k,L,Q){return yt.iteratee!==Dt?yt.iteratee(k,L):ut(k,L,Q)}function dn(){}function fn(k,L){return null==L&&(L=k,k=0),k+Math.floor(Math.random()*(L-k+1))}yt.toPath=$,yt.iteratee=Dt;var Nt=Date.now||function(){return(new Date).getTime()};function Dn(k){var L=function(le){return k[le]},Q="(?:"+Ie(k).join("|")+")",ne=RegExp(Q),ge=RegExp(Q,"g");return function(le){return ne.test(le=null==le?"":""+le)?le.replace(ge,L):le}}var Cn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ts=Dn(Cn),rl=Dn($m(Cn)),Fl=yt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},$u=/(.)^/,ol={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Os=/\\|'|\r|\n|\u2028|\u2029/g;function Is(k){return"\\"+ol[k]}var sl=/^\s*(\w|\$)+\s*$/,Ud=0;function Mc(k,L,Q,ne,ge){if(!(ne instanceof L))return k.apply(Q,ge);var le=x(k.prototype),Ae=k.apply(le,ge);return gt(Ae)?Ae:le}var Hd=$e(function(k,L){var Q=Hd.placeholder,ne=function(){for(var ge=0,le=L.length,Ae=Array(le),Ye=0;Ye<le;Ye++)Ae[Ye]=L[Ye]===Q?arguments[ge++]:L[Ye];for(;ge<arguments.length;)Ae.push(arguments[ge++]);return Mc(k,ne,this,this,Ae)};return ne});Hd.placeholder=yt;var n_=$e(function(k,L,Q){if(!en(k))throw new TypeError("Bind must be called on a function");var ne=$e(function(ge){return Mc(k,ne,L,this,Q.concat(ge))});return ne}),ns=Nu(Y);function Ji(k,L,Q,ne){if(ne=ne||[],L||0===L){if(L<=0)return ne.concat(k)}else L=1/0;for(var ge=ne.length,le=0,Ae=Y(k);le<Ae;le++){var Ye=k[le];if(ns(Ye)&&(va(Ye)||Cr(Ye)))if(L>1)Ji(Ye,L-1,Q,ne),ge=ne.length;else for(var An=0,$n=Ye.length;An<$n;)ne[ge++]=Ye[An++];else Q||(ne[ge++]=Ye)}return ne}var Um=$e(function(k,L){var Q=(L=Ji(L,!1,!1)).length;if(Q<1)throw new Error("bindAll must be passed function names");for(;Q--;){var ne=L[Q];k[ne]=n_(k[ne],k)}return k}),i_=$e(function(k,L,Q){return setTimeout(function(){return k.apply(null,Q)},L)}),Hm=Hd(i_,yt,1);
vendor: 4,855 bytes, line 1
1function jd(k){return function(){return!k.apply(this,arguments)}}function Dc(k,L){var Q;return function(){return--k>0&&(Q=L.apply(this,arguments)),k<=1&&(L=null),Q}}var Oc=Hd(Dc,2);function jm(k,L,Q){L=ht(L,Q);for(var ne,ge=Ie(k),le=0,Ae=ge.length;le<Ae;le++)if(L(k[ne=ge[le]],ne,k))return ne}function g1(k){return function(L,Q,ne){Q=ht(Q,ne);for(var ge=Y(L),le=k>0?0:ge-1;le>=0&&le<ge;le+=k)if(Q(L[le],le,L))return le;return-1}}var wf=g1(1),y1=g1(-1);function r_(k,L,Q,ne){for(var ge=(Q=ht(Q,ne,1))(L),le=0,Ae=Y(k);le<Ae;){var Ye=Math.floor((le+Ae)/2);Q(k[Ye])<ge?le=Ye+1:Ae=Ye}return le}function Cf(k,L,Q){return function(ne,ge,le){var Ae=0,Ye=Y(ne);if("number"==typeof le)k>0?Ae=le>=0?le:Math.max(le+Ye,Ae):Ye=le>=0?Math.min(le+1,Ye):le+Ye+1;else if(Q&&le&&Ye)return ne[le=Q(ne,ge)]===ge?le:-1;if(ge!=ge)return(le=L(l.call(ne,Ae,Ye),_a))>=0?le+Ae:-1;for(le=k>0?Ae:Ye-1;le>=0&&le<Ye;le+=k)if(ne[le]===ge)return le;return-1}}var zd=Cf(1,wf,r_),Gd=Cf(-1,y1);function nN(k,L,Q){var ne=(ns(k)?wf:jm)(k,L,Q);if(void 0!==ne&&-1!==ne)return k[ne]}function Vu(k,L,Q){var ne,ge;if(L=He(L,Q),ns(k))for(ne=0,ge=k.length;ne<ge;ne++)L(k[ne],ne,k);else{var le=Ie(k);for(ne=0,ge=le.length;ne<ge;ne++)L(k[le[ne]],le[ne],k)}return k}function Sf(k,L,Q){L=ht(L,Q);for(var ne=!ns(k)&&Ie(k),ge=(ne||k).length,le=Array(ge),Ae=0;Ae<ge;Ae++){var Ye=ne?ne[Ae]:Ae;le[Ae]=L(k[Ye],Ye,k)}return le}function bJ(k){var L=function(Q,ne,ge,le){var Ae=!ns(Q)&&Ie(Q),Ye=(Ae||Q).length,An=k>0?0:Ye-1;for(le||(ge=Q[Ae?Ae[An]:An],An+=k);An>=0&&An<Ye;An+=k){var $n=Ae?Ae[An]:An;ge=ne(ge,Q[$n],$n,Q)}return ge};return function(Q,ne,ge,le){var Ae=arguments.length>=3;return L(Q,He(ne,le,4),ge,Ae)}}var iN=bJ(1),wJ=bJ(-1);function zm(k,L,Q){var ne=[];return L=ht(L,Q),Vu(k,function(ge,le,Ae){L(ge,le,Ae)&&ne.push(ge)}),ne}function CJ(k,L,Q){L=ht(L,Q);for(var ne=!ns(k)&&Ie(k),ge=(ne||k).length,le=0;le<ge;le++){var Ae=ne?ne[le]:le;if(!L(k[Ae],Ae,k))return!1}return!0}function SJ(k,L,Q){L=ht(L,Q);for(var ne=!ns(k)&&Ie(k),ge=(ne||k).length,le=0;le<ge;le++){var Ae=ne?ne[le]:le;if(L(k[Ae],Ae,k))return!0}return!1}function Bu(k,L,Q,ne){return ns(k)||(k=vs(k)),("number"!=typeof Q||ne)&&(Q=0),zd(k,L,Q)>=0}var $Ye=$e(function(k,L,Q){var ne,ge;return en(L)?ge=L:(L=X(L),ne=L.slice(0,-1),L=L[L.length-1]),Sf(k,function(le){var Ae=ge;if(!Ae){if(ne&&ne.length&&(le=Z(le,ne)),null==le)return;Ae=le[L]}return null==Ae?Ae:Ae.apply(le,Q)})});function rN(k,L){return Sf(k,Je(L))}function xJ(k,L,Q){var ne,ge,le=-1/0,Ae=-1/0;if(null==L||"number"==typeof L&&"object"!=typeof k[0]&&null!=k)for(var Ye=0,An=(k=ns(k)?k:vs(k)).length;Ye<An;Ye++)null!=(ne=k[Ye])&&ne>le&&(le=ne);else L=ht(L,Q),Vu(k,function($n,Mr,Ks){((ge=L($n,Mr,Ks))>Ae||ge===-1/0&&le===-1/0)&&(le=$n,Ae=ge)});return le}function EJ(k,L,Q){if(null==L||Q)return ns(k)||(k=vs(k)),k[fn(k.length-1)];var ne=ns(k)?I(k):vs(k),ge=Y(ne);L=Math.max(Math.min(L,ge),0);for(var le=ge-1,Ae=0;Ae<L;Ae++){var Ye=fn(Ae,le),An=ne[Ae];ne[Ae]=ne[Ye],ne[Ye]=An}return ne.slice(0,L)}function v1(k,L){return function(Q,ne,ge){var le=L?[[],[]]:{};return ne=ht(ne,ge),Vu(Q,function(Ae,Ye){var An=ne(Ae,Ye,Q);k(le,Ae,An)}),le}}var VYe=v1(function(k,L,Q){ur(k,Q)?k[Q].push(L):k[Q]=[L]}),BYe=v1(function(k,L,Q){k[Q]=L}),UYe=v1(function(k,L,Q){ur(k,Q)?k[Q]++:k[Q]=1}),HYe=v1(function(k,L,Q){k[Q?0:1].push(L)},!0),jYe=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function zYe(k,L,Q){return L in Q}var kJ=$e(function(k,L){var Q={},ne=L[0];if(null==k)return Q;en(ne)?(L.length>1&&(ne=He(ne,L[1])),L=xr(k)):(ne=zYe,L=Ji(L,!1,!1),k=Object(k));for(var ge=0,le=L.length;ge<le;ge++){var Ae=L[ge],Ye=k[Ae];ne(Ye,Ae,k)&&(Q[Ae]=Ye)}return Q}),GYe=$e(function(k,L){var Q,ne=L[0];return en(ne)?(ne=jd(ne),L.length>1&&(Q=L[1])):(L=Sf(Ji(L,!1,!1),String),ne=function(ge,le){return!Bu(L,le)}),kJ(k,ne,Q)});function TJ(k,L,Q){return l.call(k,0,Math.max(0,k.length-(null==L||Q?1:L)))}function oN(k,L,Q){return null==k||k.length<1?null==L||Q?void 0:[]:null==L||Q?k[0]:TJ(k,k.length-L)}function _1(k,L,Q){return l.call(k,null==L||Q?1:L)}var AJ=$e(function(k,L){return L=Ji(L,!0,!0),zm(k,function(Q){return!Bu(L,Q)})}),qYe=$e(function(k,L){return AJ(k,L)});function sN(k,L,Q,ne){Tn(L)||(ne=Q,Q=L,L=!1),null!=Q&&(Q=ht(Q,ne));for(var ge=[],le=[],Ae=0,Ye=Y(k);Ae<Ye;Ae++){var An=k[Ae],$n=Q?Q(An,Ae,k):An;L&&!Q?(Ae&&le===$n||ge.push(An),le=$n):Q?Bu(le,$n)||(le.push($n),ge.push(An)):Bu(ge,An)||ge.push(An)}return ge}var WYe=$e(function(k){return sN(Ji(k,!0,!0))});function aN(k){for(var L=k&&xJ(k,Y).length||0,Q=Array(L),ne=0;ne<L;ne++)Q[ne]=rN(k,ne);return Q}var KYe=$e(aN);function lN(k,L){return k._chain?yt(L).chain():L}function MJ(k){return Vu(il(k),function(L){var Q=yt[L]=k[L];yt.prototype[L]=function(){var ne=[this._wrapped];return a.apply(ne,arguments),lN(this,Q.apply(yt,ne))}}),yt}Vu(["pop","push","reverse","shift","sort","splice","unshift"],function(k){var L=r[k];
vendor: 11,681 bytes, line 1
1yt.prototype[k]=function(){var Q=this._wrapped;return null!=Q&&(L.apply(Q,arguments),"shift"!==k&&"splice"!==k||0!==Q.length||delete Q[0]),lN(this,Q)}}),Vu(["concat","join","slice"],function(k){var L=r[k];yt.prototype[k]=function(){var Q=this._wrapped;return null!=Q&&(Q=L.apply(Q,arguments)),lN(this,Q)}});var cN=MJ({__proto__:null,VERSION:t,restArguments:$e,isObject:gt,isNull:function(k){return null===k},isUndefined:nn,isBoolean:Tn,isElement:function(k){return!(!k||1!==k.nodeType)},isString:on,isNumber:Ht,isDate:xi,isRegExp:Nr,isError:br,isSymbol:Et,isArrayBuffer:St,isDataView:ya,isArray:va,isFunction:en,isArguments:Cr,isFinite:function(k){return!Et(k)&&G(k)&&!isNaN(parseFloat(k))},isNaN:_a,isTypedArray:F,isEmpty:function(k){if(null==k)return!0;var L=Y(k);return"number"==typeof L&&(va(k)||on(k)||Cr(k))?0===L:0===Y(Ie(k))},isMatch:Ge,isEqual:function(k,L){return Kr(k,L)},isMap:Lm,isWeakMap:Ac,isSet:Fm,isWeakSet:bf,keys:Ie,allKeys:xr,values:vs,pairs:function(k){for(var L=Ie(k),Q=L.length,ne=Array(Q),ge=0;ge<Q;ge++)ne[ge]=[L[ge],k[L[ge]]];return ne},invert:$m,functions:il,methods:il,extend:e_,extendOwn:Bm,assign:Bm,defaults:t_,create:function(k,L){var Q=x(k);return L&&Bm(Q,L),Q},clone:I,tap:function(k,L){return L(k),k},get:ce,has:function(k,L){for(var Q=(L=X(L)).length,ne=0;ne<Q;ne++){var ge=L[ne];if(!ur(k,ge))return!1;k=k[ge]}return!!Q},mapObject:function(k,L,Q){L=ht(L,Q);for(var ne=Ie(k),ge=ne.length,le={},Ae=0;Ae<ge;Ae++){var Ye=ne[Ae];le[Ye]=L(k[Ye],Ye,k)}return le},identity:we,constant:Fa,noop:dn,toPath:$,property:Je,propertyOf:function(k){return null==k?dn:function(L){return ce(k,L)}},matcher:Ne,matches:Ne,times:function(k,L,Q){var ne=Array(Math.max(0,k));L=He(L,Q,1);for(var ge=0;ge<k;ge++)ne[ge]=L(ge);return ne},random:fn,now:Nt,escape:ts,unescape:rl,templateSettings:Fl,template:function(k,L,Q){!L&&Q&&(L=Q),L=t_({},L,yt.templateSettings);var ne=RegExp([(L.escape||$u).source,(L.interpolate||$u).source,(L.evaluate||$u).source].join("|")+"|$","g"),ge=0,le="__p+='";k.replace(ne,function($n,Mr,Ks,xf,Ef){return le+=k.slice(ge,Ef).replace(Os,Is),ge=Ef+$n.length,Mr?le+="'+\n((__t=("+Mr+"))==null?'':_.escape(__t))+\n'":Ks?le+="'+\n((__t=("+Ks+"))==null?'':__t)+\n'":xf&&(le+="';\n"+xf+"\n__p+='"),$n}),le+="';\n";var Ae,Ye=L.variable;if(Ye){if(!sl.test(Ye))throw new Error("variable is not a bare identifier: "+Ye)}else le="with(obj||{}){\n"+le+"}\n",Ye="obj";le="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+le+"return __p;\n";try{Ae=new Function(Ye,"_",le)}catch($n){throw $n.source=le,$n}var An=function($n){return Ae.call(this,$n,yt)};return An.source="function("+Ye+"){\n"+le+"}",An},result:function(k,L,Q){var ne=(L=X(L)).length;if(!ne)return en(Q)?Q.call(k):Q;for(var ge=0;ge<ne;ge++){var le=k?.[L[ge]];void 0===le&&(le=Q,ge=ne),k=en(le)?le.call(k):le}return k},uniqueId:function(k){var L=++Ud+"";return k?k+L:L},chain:function(k){var L=yt(k);return L._chain=!0,L},iteratee:Dt,partial:Hd,bind:n_,bindAll:Um,memoize:function(k,L){var Q=function(ne){var ge=Q.cache,le=""+(L?L.apply(this,arguments):ne);return ur(ge,le)||(ge[le]=k.apply(this,arguments)),ge[le]};return Q.cache={},Q},delay:i_,defer:Hm,throttle:function(k,L,Q){var ne,ge,le,Ae,Ye=0;Q||(Q={});var An=function(){Ye=!1===Q.leading?0:Nt(),ne=null,Ae=k.apply(ge,le),ne||(ge=le=null)},$n=function(){var Mr=Nt();Ye||!1!==Q.leading||(Ye=Mr);var Ks=L-(Mr-Ye);return ge=this,le=arguments,Ks<=0||Ks>L?(ne&&(clearTimeout(ne),ne=null),Ye=Mr,Ae=k.apply(ge,le),ne||(ge=le=null)):ne||!1===Q.trailing||(ne=setTimeout(An,Ks)),Ae};return $n.cancel=function(){clearTimeout(ne),Ye=0,ne=ge=le=null},$n},debounce:function(k,L,Q){var ne,ge,le,Ae,Ye,An=function(){var Mr=Nt()-ge;L>Mr?ne=setTimeout(An,L-Mr):(ne=null,Q||(Ae=k.apply(Ye,le)),ne||(le=Ye=null))},$n=$e(function(Mr){return Ye=this,le=Mr,ge=Nt(),ne||(ne=setTimeout(An,L),Q&&(Ae=k.apply(Ye,le))),Ae});return $n.cancel=function(){clearTimeout(ne),ne=le=Ye=null},$n},wrap:function(k,L){return Hd(L,k)},negate:jd,compose:function(){var k=arguments,L=k.length-1;return function(){for(var Q=L,ne=k[L].apply(this,arguments);Q--;)ne=k[Q].call(this,ne);return ne}},after:function(k,L){return function(){if(--k<1)return L.apply(this,arguments)}},before:Dc,once:Oc,findKey:jm,findIndex:wf,findLastIndex:y1,sortedIndex:r_,indexOf:zd,lastIndexOf:Gd,find:nN,detect:nN,findWhere:function(k,L){return nN(k,Ne(L))},each:Vu,forEach:Vu,map:Sf,collect:Sf,reduce:iN,foldl:iN,inject:iN,reduceRight:wJ,foldr:wJ,filter:zm,select:zm,reject:function(k,L,Q){return zm(k,jd(ht(L)),Q)},every:CJ,all:CJ,some:SJ,any:SJ,contains:Bu,includes:Bu,include:Bu,invoke:$Ye,pluck:rN,where:function(k,L){return zm(k,Ne(L))},max:xJ,min:function(k,L,Q){var ne,ge,le=1/0,Ae=1/0;if(null==L||"number"==typeof L&&"object"!=typeof k[0]&&null!=k)for(var Ye=0,An=(k=ns(k)?k:vs(k)).length;Ye<An;Ye++)null!=(ne=k[Ye])&&ne<le&&(le=ne);else L=ht(L,Q),Vu(k,function($n,Mr,Ks){((ge=L($n,Mr,Ks))<Ae||ge===1/0&&le===1/0)&&(le=$n,Ae=ge)});return le},shuffle:function(k){return EJ(k,1/0)},sample:EJ,sortBy:function(k,L,Q){var ne=0;return L=ht(L,Q),rN(Sf(k,function(ge,le,Ae){return{value:ge,index:ne++,criteria:L(ge,le,Ae)}}).sort(function(ge,le){var Ae=ge.criteria,Ye=le.criteria;if(Ae!==Ye){if(Ae>Ye||void 0===Ae)return 1;if(Ae<Ye||void 0===Ye)return-1}return ge.index-le.index}),"value")},groupBy:VYe,indexBy:BYe,countBy:UYe,partition:HYe,toArray:function(k){return k?va(k)?l.call(k):on(k)?k.match(jYe):ns(k)?Sf(k,we):vs(k):[]},size:function(k){return null==k?0:ns(k)?k.length:Ie(k).length},pick:kJ,omit:GYe,first:oN,head:oN,take:oN,initial:TJ,last:function(k,L,Q){return null==k||k.length<1?null==L||Q?void 0:[]:null==L||Q?k[k.length-1]:_1(k,Math.max(0,k.length-L))},rest:_1,tail:_1,drop:_1,compact:function(k){return zm(k,Boolean)},flatten:function(k,L){return Ji(k,L,!1)},without:qYe,uniq:sN,unique:sN,union:WYe,intersection:function(k){for(var L=[],Q=arguments.length,ne=0,ge=Y(k);ne<ge;ne++){var le=k[ne];if(!Bu(L,le)){var Ae;for(Ae=1;Ae<Q&&Bu(arguments[Ae],le);Ae++);Ae===Q&&L.push(le)}}return L},difference:AJ,unzip:aN,transpose:aN,zip:KYe,object:function(k,L){for(var Q={},ne=0,ge=Y(k);ne<ge;ne++)L?Q[k[ne]]=L[ne]:Q[k[ne][0]]=k[ne][1];return Q},range:function(k,L,Q){null==L&&(L=k||0,k=0),Q||(Q=L<k?-1:1);for(var ne=Math.max(Math.ceil((L-k)/Q),0),ge=Array(ne),le=0;le<ne;le++,k+=Q)ge[le]=k;return ge},chunk:function(k,L){if(null==L||L<1)return[];for(var Q=[],ne=0,ge=k.length;ne<ge;)Q.push(l.call(k,ne,ne+=L));return Q},mixin:MJ,default:yt});return cN._=cN,cN}();var un=UO.exports,gc={defaultLanguage:"en",version:"7.44.1",supportedLanguages:["en","cs","da","de","el","es","eu","fi","fr","ht","hu","id","in","it","ja","ko","ms","nb","nl-NL","ok-PL","ok-SK","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]},z9={AF:"Afghanistan",AX:"\xc5land Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",VG:"Virgin Islands, British",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CO:"Colombia",KM:"Comoros",CG:"Congo",CK:"Cook Islands",CR:"Costa Rica",CI:"C\xf4te d'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",CD:"Congo, the Democratic Republic of the",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",TL:"Timor-Leste",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KR:"Korea, Republic of",XK:"Kosovo, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",KP:"Korea, Democratic People's Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"R\xe9union",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"S\xe3o Tom\xe9 and Pr\xedncipe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",VI:"Virgin Islands, U.S.",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Holy See (Vatican City State)",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"},WC={signout:"Sign Out",signin:"Sign In",signup:"Sign Up",remember:"Remember me",rememberDevice:"Trust this device","rememberDevice.timebased":"Do not challenge me on this device for the next {0}","rememberDevice.devicebased":"Do not challenge me on this device again",autoPush:"Send push automatically",unlockaccount:"Unlock account?",haveaccount:"Already have an account?",needhelp:"Need help signing in?",forgotpassword:"Forgot password?",help:"Help",retry:"Retry",iphone:"iPhone",android:"Android",goback:"Back to sign in",closeWindow:"You can close this window","country.option.label":"{0} ({1})","phone.extention.label":"Extension","select.default_value":"Select an option","select.filter.no_match":'No results found for "{0}
1"',"sensitive.input.show":"Show","sensitive.input.hide":"Hide","processing.alt.text":"Processing...","logo.default.alt.text":"Logo","identifier.icon.alt.text":"User","icon.title.application":"Application","icon.title.browser":"Browser","icon.title.mobileBrowser":"Mobile browser","icon.title.location":"Location","icon.title.mobileDevice":"Mobile Device","skip.to.main.content":"Skip to main content","minutes.oneMinute":"minute",minutes:"{0} minutes",hours:"{0} hours",days:"{0} days","error.config":"There was a configuration error","error.required.authParams":'Missing parameters for the configured authentication scheme - "OAUTH2"',"error.required.baseUrl":'"baseUrl" is a required widget parameter',"error.required.success":"A success handler is required","error.required.el":'"el" is a required widget parameter',"error.invalid.colors.brand":'"colors.brand" must be in six-digit hex format',"error.unsupported.browser":"Unsupported browser","error.unsupported.cors":"Unsupported browser - missing CORS support","error.unsupported.localStorage":"Unsupported browser - missing localStorage support","error.enabled.cors":"There was an error sending the request - have you enabled CORS?","error.expired.session":"Your session has expired. Please try to sign in again.","error.mfa.only.expired.session":"Unable to authenticate at this time.","error.auth.lockedOut":"Your account is locked. Please contact your administrator.","error.oauth.idToken":"There was a problem generating the id_token for the user. Please try again.","error.network.connection":"Unable to connect to the server. Please check your network connection.","error.username.required":"Please enter a username","error.password.required":"Please enter a password","error.mfa.required":"The current sign on policy requires this client to redirect for re-authentication or MFA. Please contact your administrator.","error.unsupported.response":"There was an unsupported response from server.","error.jit_failure":"Unable to sign in, please try another sign in method.","error.unsynced.clock":"Unable to sign in. Please check that your device's clock is accurate and try again.","errors.E0000004":"Unable to sign in","errors.E0000069":"Your account is locked because of too many authentication attempts.","errors.E0000047":"You exceeded the maximum number of requests. Try again in a while.","errors.E0000079":"The operation is not allowed. Please refresh the page to proceed.","errors.E0000001":"Api validation failed: {0}","errors.E0000002":"The request was not valid: {0}","errors.E0000003":"The request body was not well-formed.","errors.E0000005":"Invalid session","errors.E0000006":"You do not have permission to perform the requested action","errors.E0000007":"Not found: {0}","errors.E0000008":"The requested path was not found","errors.E0000009":"Internal Server Error","errors.E0000010":"Service is in read only mode","errors.E0000011":"Invalid token provided","errors.E0000012":"Unsupported media type","errors.E0000013":"Invalid client app id","errors.E0000015":"You do not have permission to access the feature you are requesting","errors.E0000016":"Activation failed because the user is already active","errors.E0000017":"Password reset failed","errors.E0000018":"Bad request. Accept and/or Content-Type headers are likely not set.","errors.E0000019":"Bad request. Accept and/or Content-Type headers likely do not match supported values.","errors.E0000020":"Bad request.","errors.E0000021":"Bad request. Accept and/or Content-Type headers likely do not match supported values.","errors.E0000022":"The endpoint does not support the provided HTTP method","errors.E0000023":"Operation failed because user profile is mastered under another system","errors.E0000024":"Bad request. This operation on app metadata is not yet supported.","errors.E0000025":"App version assignment failed.","errors.E0000026":"This endpoint has been deprecated.","errors.E0000027":"Group push bad request : {0}","errors.E0000028":"The request is missing a required parameter.","errors.E0000029":"Invalid paging request.","errors.E0000030":"Bad request. Invalid date. Dates must be of the form yyyy-MM-dd''T''HH:mm:ss.SSSZZ, e.g. 2013-01-01T12:00:00.000-07:00.","errors.E0000031":"Invalid search criteria.","errors.E0000032":"Unlock is not allowed for this user.","errors.E0000033":"Bad request. Can't specify a search query and filter in the same request.","errors.E0000034":"Forgot password not allowed on specified user.","errors.E0000035":"Change password not allowed on specified user.","errors.E0000036":"Change recovery question not allowed on specified user.","errors.E0000037":"Type mismatch exception.","errors.E0000038":"This operation is not allowed in the user''s current status.","errors.E0000039":"Operation on application settings failed.","errors.E0000040":"Application label must not be the same as an existing application label.","errors.E0000041":"Credentials should not be set on this resource based on the scheme.","errors.E0000042":"Setting the error page redirect URL failed.","errors.E0000043":"Self service application assignment is not enabled.","errors.E0000044":"Self service application assignment is not supported.","errors.E0000045":"Field mapping bad request.","errors.E0000046":"Deactivate application for user forbidden.","errors.E0000048":"Entity not found exception.","errors.E0000049":"Invalid SCIM data from SCIM implementation.","errors.E0000050":"Invalid SCIM data from client.","errors.E0000051":"No response from SCIM implementation.","errors.E0000052":"Endpoint not implemented.","errors.E0000053":"Invalid SCIM filter.","errors.E0000054":"Invalid pagination properties.","errors.E0000055":"Duplicate group.","errors.E0000056":"Delete application forbidden.","errors.E0000057":"Acce
1ss to this application is denied due to a policy.","errors.E0000058":"Access to this application requires MFA: {0}","errors.E0000059":"The connector configuration could not be tested. Make sure that the URL, Authentication Parameters are correct and that there is an implementation available at the URL provided.","errors.E0000060":"Unsupported operation.","errors.E0000061":"Tab error: {0}","errors.E0000062":"The specified user is already assigned to the application.","errors.E0000063":"Invalid combination of parameters specified.","errors.E0000064":"Password is expired and must be changed.","errors.E0000065":"Internal error processing app metadata.","errors.E0000066":"APNS is not configured, contact your admin","errors.E0000067":"Factors Service Error.","errors.E0000070":"Waiting for ACK","errors.E0000071":"Unsupported OS Version: {0}","errors.E0000072":"MIM policy settings have disallowed enrollment for this user","errors.E0000073":"User rejected authentication","errors.E0000074":"Factor Service Error","errors.E0000075":"Cannot modify the {0} attribute because it has a field mapping and profile push is enabled.","errors.E0000076":"Cannot modify the app user because it is mastered by an external app.","errors.E0000077":"Cannot modify the {0} attribute because it is read-only.","errors.E0000078":"Cannot modify the {0} attribute because it is immutable.","errors.E0000081":"Cannot modify the {0} attribute because it is a reserved attribute for this application.","errors.E0000082":"Each code can only be used once. Please wait for a new code and try again.","errors.E0000083":"PassCode is valid but exceeded time window.","errors.E0000084":"App evaluation error.","errors.E0000085":"You do not have permission to access your account at this time.","errors.E0000086":"This policy cannot be activated at this time.","errors.E0000087":"The recovery question answer did not match our records.","errors.E0000090":"The role specified is already assigned to the user.","errors.E0000091":"The provided role type was not the same as required role type.","errors.E0000092":"Access to this application requires re-authentication: {0}","errors.E0000093":"Target count limit exceeded","errors.E0000094":"The provided filter is unsupported.","errors.E0000095":"Recovery not allowed for unknown user.","errors.E0000096":"This certificate has already been uploaded with kid={0}.","errors.E0000097":"There is no verified phone number on file.","errors.E0000098":"This phone number is invalid.","errors.E0000099":"Only numbers located in US and Canada are allowed. Contact your administrator if this is a problem.","errors.E0000100":"Unable to perform search query.","errors.E0000101":"Upload failed because of a problem with your ipa file, {0}","errors.E0000102":"YubiKey cannot be deleted while assigned to an user. Please deactivate YubiKey using reset MFA and try again","errors.E0000103":"Action on device already in queue or in progress","errors.E0000104":"Device is already locked and cannot be locked again","errors.E0000105":"You have accessed an account recovery link that has expired or been previously used.","errors.E0000106":"Wait for token to change, then enter the new tokencode.","errors.E0000107":"The entity is not in the expected state for the requested transition.","errors.E0000109":"An SMS message was recently sent. Please wait 30 seconds before trying again.","errors.E0000110":"You have accessed a link that has expired or has been previously used.","errors.E0000111":"Cannot modify the {0} object because it is read-only.","errors.E0000112":"Cannot update this user because they are still being activated. Please try again in a few minutes.","errors.E0000113":"{0}.","errors.E0000114":"A user with this login already exists in the current organization.","errors.E0000115":"Upload failed, {0}","errors.E0000116":"{0}","errors.E0000119":"Your account is locked. Please contact your administrator.","errors.E0000124":"Could not create user. To create a user and expire their password immediately, a password must be specified","errors.E0000125":'Could not create user. To create a user and expire their password immediately, "activate" must be true',"errors.E0000133":"A phone call was recently made. Please wait 30 seconds before trying again.","errors.E0000207":"The username and/or the password you entered is incorrect. Please try again.","oform.next":"Next","oform.verify":"Verify","oform.send":"Send","oform.back":"Back","oform.title.authenticate":"Authenticate","oform.save":"Save","oform.cancel":"Cancel","oform.edit":"Edit","oform.previous":"Previous","oform.error.icon.ariaLabel":"Error","oform.errorbanner.title":"We found some errors. Please review the form and make corrections.","oform.errormsg.title":"Please review the form to correct the following errors:","oform.error.unexpected":"There was an unexpected internal error. Please try again.","oform.error.webfinger":"Unable to determine user identification method. Please contact your administrator for assistance.","oform.selectInput.country":"{0} selected","model.validation.field.blank":"This field cannot be left blank","model.validation.field.wrong.type":"This field is of the wrong type","model.validation.field.invalid":"This field has an invali
1d value","model.validation.field.value.not.allowed":"This field value is not allowed","model.validation.field.array.minItems":"This array does not have enough items","model.validation.field.array.maxItems":"This array contains too many items","model.validation.field.array.unique":"This array can only have unique values","model.validation.field.string.minLength":"This field cannot be less than the minimum required characters","model.validation.field.string.maxLength":"This field cannot exceed the maximum allowed characters","model.validation.field.invalid.format.email":"This value is not a valid email address","model.validation.field.invalid.format.uri":"This value is not a valid URI","model.validation.field.invalid.format.ipv4":"This value is not a valid IPv4 address","model.validation.field.invalid.format.hostname":"This value is not a valid hostname","model.validation.field.username":"Please check your username","schema.validation.field.value.must.string":"Value must be a string","schema.validation.field.value.must.number":"Value must be a number","schema.validation.field.value.must.integer":"Value must be an integer","schema.validation.field.value.must.object":"Value must be an object","universal-directory.profiles.attribute.source.oktamastered":"Inherit from Okta","universal-directory.profiles.attribute.source.override":"Override profile source","universal-directory.profiles.attribute.form.union.disable.display":"Combine values across groups","universal-directory.profiles.attribute.source.inherit":"Inherit from profile source","universal-directory.profiles.attribute.enduser.permission.readonly":"Read Only","universal-directory.profiles.attribute.enduser.permission.hide":"Hide","universal-directory.profiles.attribute.enduser.permission.readwrite":"Read-Write","universal-directory.profiles.attribute.form.union.enable.display":"Use Group Priority","factor.totpSoft.oktaVerify":"Okta Verify","factor.totpSoft.googleAuthenticator":"Google Authenticator","factor.totpSoft.description":"Enter single-use code from the mobile app.","factor.totpHard.rsaSecurId":"RSA SecurID","factor.totpHard.symantecVip":"Symantec VIP","factor.totpHard.description":"Enter a single-use code from a hardware token.","factor.totpHard.yubikey":"YubiKey","factor.totpHard.yubikey.description":"Insert your YubiKey and tap it to get a verification code.","factor.totpHard.yubikey.placeholder":"Click here, then tap your YubiKey","factor.oktaVerifyPush":"Okta Verify","factor.push.description":"Use a push notification sent to the mobile app.","factor.duo":"Duo Security","factor.duo.description":"Use Push Notification, SMS, or Voice call to authenticate.","factor.sms":"SMS Authentication","factor.sms.description":"Enter a single-use code sent to your mobile phone.","factor.sms.time.warning":"Haven't received an SMS? To try again, click <$1>Re-send code</$1>.","factor.call":"Voice Call Authentication","factor.call.description":"Use a phone to authenticate by following voice instructions.","factor.call.time.warning":"Haven't received a voice call? To try again, click <$1>Redial</$1>.","factor.securityQuestion":"Security Question","factor.securityQuestion.description":"Use the answer to a security question to authenticate.","factor.windowsHello":"Windows Hello","factor.windowsHello.signin.description":"Sign in to Okta using Windows Hello.","factor.windowsHello.signin.description.generic":"Sign in using Windows Hello.","factor.windowsHello.signin.description.specific":"Sign in to {0} using Windows Hello.","factor.u2f":"Security Key (U2F)","factor.u2f.description":"Use a Universal 2nd Factor (U2F) security key to sign on to Okta.","factor.u2f.description.generic":"Use a Universal 2nd Factor (U2F) security key to sign in.","factor.u2f.description.specific":"Use a Universal 2nd Factor (U2F) security key to sign in to {0}.","factor.email":"Email Authentication","factor.email.description":"Enter a verification code sent to your email.","factor.password":"Password","factor.customFactor.description":"Redirect to a third party MFA provider to sign in to Okta.","factor.customFactor.description.generic":"Redirect to a third party MFA provider to sign in.","factor.customFactor.description.specific":"Redirect to a third party MFA provider to sign in to {0}.","factor.webauthn.biometric":"Security Key or Biometric Authenticator","factor.webauthn.biometric.description":"Use a security ke
1y (USB or bluetooth) or a biometric authenticator (Windows Hello, Touch ID, etc.)","factor.hotp.description":"Enter a single-use code from an authenticator.","mfa.challenge.verify":"Verify","mfa.challenge.answer.placeholder":"Answer","mfa.challenge.answer.tooltip":"Answer","mfa.challenge.answer.showAnswer":"Show","mfa.challenge.answer.hideAnswer":"Hide","mfa.challenge.enterCode.placeholder":"Enter Code","mfa.challenge.enterCode.tooltip":"Enter Code","mfa.challenge.password.placeholder":"Password","mfa.backToFactors":"Back to factor list","mfa.enroll":"Enroll","mfa.setupOptions":"Setup Options","mfa.country":"Country/region","mfa.phoneNumber.placeholder":"Phone number","mfa.phoneNumber.ext.placeholder":"Extension","mfa.sendCode":"Send code","mfa.sent":"Sent","mfa.resendCode":"Re-send code","mfa.call":"Call","mfa.calling":"Calling","mfa.redial":"Redial","mfa.sendEmail":"Send email","mfa.resendEmail":"Re-send email","mfa.scanBarcode":"Scan QR code","mfa.altQrCode":"QR code. If you can't scan, click on the link below to select an alternative activation method","mfa.noAccessToEmail":"Can't access email","password.reset":"Reset Password","password.oldPassword.placeholder":"Old password","password.oldPassword.tooltip":"Old password","password.newPassword.placeholder":"New password","password.newPassword.tooltip":"New password","password.confirmPassword.placeholder":"Repeat password","password.confirmPassword.tooltip":"Repeat password","password.error.match":"New passwords must match","password.enroll.error.match":"Passwords must match","recovery.sms.hint":"SMS can only be used if a mobile phone number has been configured.","recovery.mobile.hint":"{0} can only be used if a mobile phone number has been configured.","recovery.sms":"SMS","recovery.call":"Voice Call","recovery.smsOrCall":"SMS or Voice Call","verify.choices.description":"Verify with one of the following factors.","email.button.send":"Send me the code","email.button.resend":"Send again","email.code.label":"Verification code","email.code.not.received":"Haven't received an email?","email.enroll.title":"Set up Email Authentication","email.enroll.description":"Send a verification code to your registered email.","email.enroll.enterCode":"Enter code","email.link.terminal.msg":"To finish signing in, return to the screen where you requested the email link.","email.mfa.title":"Verify with Email Authentication","email.mfa.description":"Send a verification code to {0}.","email.mfa.email.sent.description":"A verification code was sent to {0}. Check your email and enter the code below.","email.mfa.email.sent.description.sentText":"A verification code was sent to","email.mfa.email.sent.description.emailCodeText":"Check your email and enter the code below.","email.unregistered_email.error":"Enter the email where you received the Welcome instructions from your administrator.","enroll.choices.title":"Set up multifactor authentication","enroll.choices.description":"Your company requires multifactor authentication to add an additional layer of security when signing in to your Okta account","enroll.choices.description.generic":"Your company requires multifactor authentication to add an additional layer of security when signing in to your account","enroll.choices.description.specific":"Your company requires multifactor authentication to add an additional layer of security when signing in to your {0} account","enroll.choices.description.gracePeriod.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>{0} day(s)</b>.","enroll.choices.description.gracePeriod.oneDay.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>less than 1 day</b>.","enroll.choices.optional":"You can configure any additional optional factor or click finish","enroll.choices.list.setup":"Setup required","enroll.choices.list.enrolled":"Enrolled factors","enroll.choices.list.optional":"Additional optional factors","enroll.choices.setup":"Setup","enroll.choices.setup.another":"Set up another","enroll.choices.submit.finish":"Finish","enroll.choices.submit.configure":"Configure factor","enroll.choices.submit.next":"C
1onfigure next factor","enroll.choices.cardinality.setup":"({0} set up)","enroll.choices.cardinality.setup.remaining":"({0} of {1} set up)","enroll.choices.setup.skip":"Skip set up","enroll.securityQuestion.setup":"Setup secret question authentication","security.disliked_food":"What is the food you least liked as a child?","security.name_of_first_plush_toy":"What is the name of your first stuffed animal?","security.first_award":"What did you earn your first medal or award for?","security.favorite_security_question":"What is your favorite security question?","security.favorite_toy":"What is the toy/stuffed animal you liked the most as a kid?","security.first_computer_game":"What was the first computer game you played?","security.favorite_movie_quote":"What is your favorite movie quote?","security.first_sports_team_mascot":"What was the mascot of the first sports team you played on?","security.first_music_purchase":"What music album or song did you first purchase?","security.favorite_art_piece":"What is your favorite piece of art?","security.grandmother_favorite_desert":"What was your grandmother's favorite dessert?","security.first_thing_cooked":"What was the first thing you learned to cook?","security.childhood_dream_job":"What was your dream job as a child?","security.first_kiss_location":"Where did you have your first kiss?","security.place_where_significant_other_was_met":"Where did you meet your spouse/significant other?","security.favorite_vacation_location":"Where did you go for your favorite vacation?","security.new_years_two_thousand":"Where were you on New Year's Eve in the year 2000?","security.favorite_speaker_actor":"Who is your favorite speaker/orator?","security.favorite_book_movie_character":"Who is your favorite book/movie character?","security.favorite_sports_player":"Who is your favorite sports player?","enroll.password.setup":"Select a password","save.password":"Save password","enroll.sms.setup":"Receive a code via SMS to authenticate","enroll.sms.try_again":"The number you entered seems invalid. If the number is correct, please try again.","enroll.call.setup":"Follow phone call instructions to authenticate","enroll.onprem.username.placeholder":"Enter {0} username","enroll.onprem.username.tooltip":"Enter {0} username","enroll.onprem.passcode.placeholder":"Enter {0} passcode","enroll.onprem.passcode.tooltip":"Enter {0} passcode","enroll.symantecVip.subtitle":"Enter Credential ID and two consecutive generated codes","enroll.symantecVip.credentialId.placeholder":"Enter credential ID","enroll.symantecVip.credentialId.tooltip":"Enter credential ID","enroll.symantecVip.passcode1.placeholder":"Security code 1","enroll.symantecVip.passcode1.tooltip":"Security code 1","enroll.symantecVip.passcode2.placeholder":"Security code 2","enroll.symantecVip.passcode2.tooltip":"Security code 2","enroll.yubikey.title":"Setup YubiKey","enroll.yubikey.subtitle":"Insert your YubiKey into a USB port and tap it to generate a verification code","enroll.totp.title":"Setup {0}","enroll.totp.selectDevice":"Select your device type","enroll.totp.downloadApp":'Download <a href="{0}" class="inline-link">{1} from the {2}</a> onto your mobile device.',"enroll.hotp.restricted":"Contact your administrator to continue enrollment.","enroll.duo.title":"Setup Duo Security","enroll.windowsHello.title":"Enroll Windows Hello","enroll.windowsHello.subtitle":"Click below to enroll Windows Hello as a second form of authentication","enroll.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","enroll.windowsHello.save":"Enroll Windows Hello","enroll.windowsHello.error.notWindows":"Windows Hello can only be used on Windows Edge with Windows 10. Contact your admin for assistance.","enroll.windowsHello.error.notConfiguredHtml":"Windows Hello is not configured. Select the <b>Start</b> button, then select <b>Settings</b> - <b>Accounts</b> - <b>Sign-in</b> to configure Windows Hello.","verify.windowsHello.subtitle":"Verify your identity with Windows Hello","verify.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","verify.windowsHello.subtitle.signingIn":"Signing in to Okta...","verify.windowsHello.subtitle.signingIn.generic":"Signing in...","verify.windowsHello.subtitle.signingIn.specific":"Signing in to {0}...","verify.windowsHello.save":"Verify with Windows Hello","verify.windowsHello.error.notFound":"Your Windows Hello enrollment does not match our records. Contact your administrator for assistance.","verify.windowsHello.error.notFound.selectAnother":"Your Windows Hello enrollment does not match our records. Select another factor or contact your administrator for assistance.","enroll.u2f.title":"Setup Security Key (U2F)","enroll.u2f.save":"Register Security Key","enroll.u2f.general2":"Make sure you have a Security Key. If already inserted, remove it now.<br>If you have a Bluetooth Security Key, turn on your computer's Bluetooth.","enroll.u2f.general3":"Click the button below to register","enroll.u2f.instructions":"Insert your Security Key into a USB port on this computer. If it has a button or gold disk, tap it.","enroll.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, press the button.","u2f.error.factorNotSupported":"Security Key (U2F) is not supported on this browser. Select another factor or contact your admin for assistance.","u2f.error.factorNotSupported.oneFactor":"Security Key (U2F) is not supported on this browser. Contact your admin for assistance.","u2f.error.other":"An unknown error has occured. Try again or select another factor.","u2f.error.other.oneFactor":"An unknown error has occured. Try again or c
1ontact your admin for assistance.","u2f.error.badRequest":"There was an error with the U2F request. Try again or select another factor.","u2f.error.badRequest.oneFactor":"There was an error with the U2F request. Try again or contact your admin for assistance.","u2f.error.unsupported":"The security key is unsupported. Select another factor.","u2f.error.unsupported.oneFactor":"The security key is unsupported. Contact your admin for assistance.","u2f.error.timeout":"You have timed out of the authentication period. Please try again.","verify.u2f.instructions":"Insert your Security Key. If it has a button or gold disk, tap\xa0it.","verify.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, turn on your computer's Bluetooth and press the button.","verify.u2f.retry":"Retry","enroll.customFactor.subtitle":"Clicking below will redirect to MFA enrollment with {0}","enroll.customFactor.save":"Enroll","verify.customFactor.subtitle":"Clicking below will redirect to verification with {0}","verify.customFactor.subtitle.redirect":"Redirecting to {0}...","enroll.webauthn.biometric.title":"Set up security key or biometric authenticator","enroll.webauthn.save":"Enroll","enroll.webauthn.biometric.instructions":"Your browser will prompt to register a security key or biometric authenticator (Windows Hello, Touch ID, etc.). Follow the instructions to complete enrollment.","enroll.webauthn.biometric.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select '<b>Cancel</b>' in the prompt before continuing.","verify.webauthn.biometric.instructions":"Your browser or device will prompt you to verify with a security key or biometric authenticator. Follow the instructions to complete authentication.","webauthn.biometric.error.factorNotSupported":"Security key or biometric authenticator is not supported on this browser. Select another factor or contact your admin for assistance.","webauthn.biometric.error.factorNotSupported.oneFactor":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","enroll.webauthn.instructions.noSupportForBiometric":"Note: Some browsers may not support biometric authenticators.","authfactor.webauthn.error":"You are currently unable to use a Security key or biometric authenticator. Try again.","passkeys.authfactor.webauthn.error":"You are currently unable to use a passkey. Try again.","enroll.totp.enterCode":"Enter code displayed from the application","enroll.totp.setupApp":"Launch {0} on your mobile device and select \u201cAdd an account\u201d. Scan the QR code to continue.","enroll.totp.setupGoogleAuthApp":'Launch {0}, tap the "+" icon, then select "Scan a QR code".',"enroll.totp.cannotScan":"Can't scan?","enroll.totp.aria.cannotScan":"Setup without scanning a QR code.","enroll.totp.refreshBarcode":"Refresh code","enroll.totp.cannotScanBarcode":"Can't scan QR code?","enroll.totp.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.generic":"To set up manually enter your Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.specific":"To set up manually enter your {0} Account username and then input the following in the Secret Key Field","enroll.totp.sharedSecretInstructions":"Enter your Okta Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.generic":"Enter your Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.specific":"Enter your {0} Account username and enter the following in the Secret Key Field","enroll.totp.sendSms":"Send activation link via SMS","enroll.totp.sendEmail":"Send activation link via email","enroll.totp.setupManually":"Setup manually without push notification","enroll.totp.sharedSecretInstructions.aria.secretKey":"setup key {0}","enroll.totp.enrollViaEmail.title":"Activation email sent!","enroll.totp.enrollViaEmail.msg":"Open the email from your mobile device.","enroll.totp.enrollViaSms.title":"SMS sent!","enroll.totp.enrollViaSms.msg":"View the SMS on your mobile device.","recoveryChallenge.sms.title":"Enter verification code sent via SMS","recoveryChallenge.call.title":"Enter verification code received via Voice Call","mfa.factors.dropdown.title":"Select an authentication factor","mfa.factors.dropdown.sr.text":"Select Authentication Factor - {0} Factor Selected","mfa.duoSecurity.push":"Push \u2014 {0}","mfa.duoSecurity.sms":"SMS \u2014 {0}","mfa.duoSecurity.call":"Call \u2014 {0}","mfa.switch":"Switch Factor","mfa.challenge.title":"Enter your {0} passcode","mfa.challenge.orEnterCode":"Or enter code","mfa.challenge.totp.subtitle.multiple":"Enter code from any registered {0} device.","mfa.emailVerification.checkEmail":"To finish signing in, click the link in your email.","mfa.emailVerification.title":"Sign in using a link sent to your email.","mfa.emailVerification.subtitle":"Emails will be sent to {0}","mfa.emailVerification.otc.finish":"To finish signing in, enter the code which was emailed to you.","oktaverify.send":"Send Push","oktaverify.resend":"Re-send Push","oktaverify.sent":"Push sent!","oktaverify.rejected":"You have chosen to reject this login.","oktaverify.rejected.upgradeRequired.ios":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on the App Store, then try again.","oktaverify.rejected.upgradeRequired.android":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on Google Play, then try again.","oktaverify.timeout":"Your push notification has expired.","oktaverify.warning":"Haven't received a push notification yet? Try opening the Okta Verify App on your phone.","oktaverify.numberchallenge.instruction":'On your phone, tap <span class="challenge-number">{0}</span> on Okta Verify prompt to continue.',"oktaverify.numberchallenge.explain":"This extra step helps us make sure it's really you signing in.","primaryauth.title":"Sign In","primaryauth.username.placeholder":"Username","primaryauth.username.tooltip":"Username","primaryauth.password.placeholder":"Password","primaryauth.password.tooltip":"Password","primaryauth.submit":"Sign In","primaryauth.newUser.tooltip":"This is the first time you are connecting to {0} from this browser","primaryauth.newUser.tooltip.close":"Close","oktaVerify.description":"To access this resource, your organization requires you to sign in with Okta FastPass.","oktaVerify.appDescription":"To access {0}, your organization requires you to sign in with Okta FastPass.","oktaVerify.button":"Sign in with Okta FastPass","signinWithWebAuthn.button":"Sign in with security ke
1y or biometrics","idpDiscovery.email.placeholder":"Email","password.forgot.email.or.username.placeholder":"Email or Username","password.forgot.email.or.username.tooltip":"Email or Username","password.forgot.sendText":"Reset via SMS","password.forgot.sendEmail":"Reset via Email","password.forgot.call":"Reset via Voice Call","password.forgot.emailSent.title":"Email sent!","password.forgot.emailSent.desc":"Email has been sent to {0} with instructions on resetting your password.","password.forgot.question.title":"Answer Forgotten Password Challenge","password.forgot.question.submit":"Reset Password","password.forgot.code.notReceived":"Didn't receive a code? Reset via email","password.forgot.noFactorsEnabled":"No password reset options available. Please contact your administrator.","password.reset.title":"Reset your Okta password","password.reset.title.generic":"Reset your password","password.reset.title.specific":"Reset your {0} password","password.complexity.requirements":"Password requirements: {0}.","password.complexity.history":"Your password cannot be any of your last {0} password(s).","password.complexity.minAgeMinutes":"At least {0} minute(s) must have elapsed since you last changed your password.","password.complexity.minAgeHours":"At least {0} hour(s) must have elapsed since you last changed your password.","password.complexity.minAgeDays":"At least {0} day(s) must have elapsed since you last changed your password.","password.reset.verification":"Verify with one of the following factors to reset your password.","password.reset.revokeSessions":"Sign me out of all other devices.","password.complexity.length":"at least {0} characters","password.complexity.list.element":", {0}","password.complexity.lowercase":"a lowercase letter","password.complexity.uppercase":"an uppercase letter","password.complexity.number":"a number","password.complexity.symbol":"a symbol","password.complexity.no_username":"no parts of your username","password.complexity.no_first_name":"does not include your first name","password.complexity.no_last_name":"does not include your last name","password.complexity.adRequirements":"at least 3 of the following: lowercase letter, uppercase letter, number, symbol","password.complexity.maxConsecutiveRepeatingCharacters":"maximum {0} consecutive repeating characters","password.complexity.requirements.header":"Password requirements:","password.complexity.length.description":"At least {0} characters","password.complexity.lowercase.description":"A lowercase letter","password.complexity.uppercase.description":"An uppercase letter","password.complexity.number.description":"A number","password.complexity.symbol.description":"A symbol","password.complexity.no_username.description":"No parts of your username","password.complexity.no_first_name.description":"Does not include your first name","password.complexity.no_last_name.description":"Does not include your last name","password.complexity.history.one.description":"Password can't be the same as your last password","password.complexity.adRequirements.description":"At least 3 of the following: lowercase letter, uppercase letter, number, symbol","password.complexity.maxConsecutiveRepeatingCharacters.description":"Maximum {0} consecutive repeating characters","password.complexity.history.description":"Password can't be the same as your last {0} passwords","password.complexity.minAgeMinutes.description":"At least {0} minute(s) must have elapsed since you last changed your password","password.complexity.minAgeHours.description":"At least {0} hour(s) must have elapsed since you last changed your password","password.complexity.minAgeDays.description":"At least {0} day(s) must have elapsed since you last changed your password","password.expired.submit":"Change Password","password.expired.title":"Your Okta password has expired","password.expired.title.generic":"Your password has expired","password.expired.title.specific":"Your {0} password has expired","password.expiring.later":"Remind me later","password.expiring.title":"Your password will expire in {0} days","password.expiring.today":"Your password will expire later today","password.expiring.soon":"Your password is expiring soon","password.expiring.subtitle":"When password expires you may be locked out of Okta Mobile, mobile email, and other services.","password.expiring.subtitle.generic":"When password expires you will be locked out of your account.","password.expiring.subtitle.specific":"When password expires you will be locked out of your {0} account.","password.expired.custom.submit":"Go to {0}","password.expired.custom.subtitle":"This password is set on another website. Click the button below to go there and set a new password.","password.expiring.soon.subtitle.generic":"When password expires you will be locked out of your account. This password is set on another website. Click the button below to go there and set a new password.","password.expiring.soon.subtitle.specific":"When password expires you will be locked out of your {0} account. This password is set on another website. Click the button below to go there and set a new password.","hcaptcha.footer.label":"This site is protected by hCaptcha and its <$1>Privacy Policy</$1> and <$2>Terms of Service</$2> apply.","altcha.error.label":"Verification failed. Try again later.","altcha.expired.label":"Verification expired. Try again.","altcha.label.label":"I'm not a robot","altcha.loading.label":"Loading...","altcha.reload.label":"Reload","altcha.verify.label":"Verify","altcha.verificationRequired.label":"Verification required!","altcha.verified.label":"Verified","altcha.verifying.label":"Verifying...","altcha.waitAlert.label":"Verifying... please wait.","account.unlock.title":"Unlock account","account.unlock.email.or.username.placeholder":"Email or username","account.unlock.email.or.username.tooltip":"Email or username","account.unlock.sendText":"Send SMS","account.unlock.voiceCall":"Voice Call","account.unlock.sendEmail":"Send Email","account.unlock.emailSent.title":"Email sent!","account.unlock.emailSent.de
1sc":"Email has been sent to {0} with instructions on unlocking your account.","account.unlock.question.title":"Answer Unlock Account Challenge","account.unlock.question.submit":"Unlock Account","account.unlock.unlocked.title":"Account successfully unlocked!","account.unlock.unlocked.desc":"You can log in using your existing username and password.","account.unlock.code.notReceived":"Didn't receive a code? Unlock via email","account.unlock.noFactorsEnabled":"No unlock options available. Please contact your administrator.","account.unlock.authenticatorRequired.single":"To unlock your account, select the following authenticator.","account.unlock.authenticatorRequired.multiple":"To unlock your account, select one of the following authenticators.","contact.support":"If you didn't provide a secondary email address or don't have access to email, please contact your administrator at {0}","customauth.sign.in.with.label":"Sign in with {0}","socialauth.divider.text":"OR","socialauth.facebook.label":"Sign in with Facebook","socialauth.google.label":"Sign in with Google","socialauth.linkedin.label":"Sign in with LinkedIn","socialauth.microsoft.label":"Sign in with Microsoft","socialauth.apple.label":"Sign in with Apple","socialauth.github.label":"Sign in with GitHub","socialauth.gitlab.label":"Sign in with GitLab","socialauth.yahoo.label":"Sign in with Yahoo","socialauth.line.label":"Sign in with LINE","socialauth.paypal.label":"Sign in with PayPal","socialauth.paypal_sandbox.label":"Sign in with PayPal Sandbox","socialauth.salesforce.label":"Sign in with Salesforce","socialauth.amazon.label":"Sign in with Amazon","socialauth.yahoojp.label":"Sign in with Yahoo Japan","socialauth.discord.label":"Sign in with Discord","socialauth.adobe.label":"Sign in with Adobe","socialauth.orcid.label":"Sign in with ORCiD","socialauth.spotify.label":"Sign in with Spotify","socialauth.xero.label":"Sign in with Xero","socialauth.quickbooks.label":"Sign in with Quickbooks","socialauth.popup.title":"External Identity Provider User Authentication","idps.search.label":"Search for sign in","idps.search.no.results":"No results found","idps.search.typeahead.placeholder":"Type to search","idps.search.results.count":"{0} results found","authbutton.divider.text":"or","registration.signup.label":"Don't have an account?","registration.signup.text":"Sign up","registration.complete.title":"Verification email sent","registration.complete.confirm.text":"To finish signing in, check your email.","registration.form.title":"Create Account","registration.form.submit":"Register","registration.passwordComplexity.minLength":"At least {0} character(s)","registration.passwordComplexity.minLower":"At least {0} lowercase letter(s)","registration.passwordComplexity.minUpper":"At least {0} uppercase letter(s)","registration.passwordComplexity.minNumber":"At least {0} number(s)","registration.passwordComplexity.minSymbol":"At least {0} symbol(s)","registration.passwordComplexity.excludeUsername":"Does not contain part of username","registration.passwordComplexity.excludeAttribute":"Does not contain '{0}'","registration.required.fields.label":"* indicates required field","registration.default.callbackhook.error":"We could not process your registration at this time. Please try again later.","registration.error.userName.invalidEmail":"Invalid email address","registration.error.password.passwordRequirementsNotMet":"Password requirements were not met","registration.error.password.passwordRequirementsNotMet.prefix":"Password requirements were not met:","registration.error.userName.notUniqueWithinOrg":"An account with that {0} already exists","registration.error.notUniqueWithinOrg.Email":"A user with this Email already exists","registration.error.notUniqueWithinOrg.custom":"A user with this {0} already exists","registration.error.invalidLoginEmail.Email":"'Email' must be in the form of an email address","registration.error.invalidLoginEmail.custom":"'{0}' must be in the form of an email address","registration.error.doesNotMatchPattern.Email":"Provided value for property 'Email' does not match required pattern","registration.error.doesNotMatchPattern.custom":"Provided value for property '{0}' does not match required pattern","registration.error.generic":"There was an error creating your account. Please try registering again.","registration.error.request.not.completed":"Your request could not be completed. Try again later.","registration.model.validation.field.string.too.short":"Please enter something at least {0} characters long","registration.model.validation.field.string.too.long":"Please enter something shorter than {0} characters","piv.card":"PIV Card","piv.card.insert":"Please insert your PIV card and select the user certificate.","piv.card.error":"Certificate authentication failed. Contact your admin.","piv.card.error.empty":"No certificate selected. Choose a certificate and try again.","piv.card.error.invali
1d":"Certificate validation failed. Choose another certificate and try again.","piv.cac.card":"Sign in with PIV / CAC card","piv.cac.title":"PIV / CAC card","piv.cac.card.insert":"Please insert your PIV / CAC card and select the user certificate.","piv.cac.error":"There was an error signing in. Click the button below to try again.","unsupported.oneDrive.title":"Your OneDrive version is not supported","unsupported.oneDrive.desc":"Upgrade now by installing the OneDrive for Business Next Generation Sync Client to login to Okta","unsupported.oneDrive.action":"Learn how to upgrade","unsupported.cookies.title":"Cookies are required","unsupported.cookies.desc":"Cookies are disabled on your browser. Please enable Cookies and refresh this page.","unsupported.cookies.action":"Refresh","deviceTrust.sso.text":"Sign in to access company resources","deviceTrust.sso.subtitle.2":"Your company uses Okta Mobile to get you approved to access this app.","deviceTrust.sso.button":"Sign in with Okta Mobile","deviceTrust.sso.expire.title":"Oops let's get you back on track","deviceTrust.sso.redirectText":"Verifying your identity","deviceTrust.sso.expire.subtitle":"Unfortunately the steps required to sign in took longer than expected and your attempt timed out.","deviceTrust.sso.expire.button":"Sign in using Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.title":"Get Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.subtitle":"Go to the {0}AppStore{1}, {0}search{1} for {0}Okta Mobile{1} and tap on {0}GET{1} Okta Mobile. Once installed, sign in to Okta Mobile and follow the instructions to secure your device.","core.auth.factor.signedNonce.error.invalidDevice":"Your device or account was invali
1dated. If this is unexpected, contact your administrator for help.","core.auth.factor.signedNonce.error":"Your device or account was invalidated. Re-enroll your account on Okta Verify and try again.","user.fail.verifyIdentity":"Couldn\u2019t verify your identity","loopback.polling.cancel.link":"Cancel and take me to sign in","loopback.polling.cancel.link.with.form.error":"Take me to sign in","customUri.subtitle":"Launching Okta Verify...","customUri.content":'<div class="skinny-content"> If nothing prompts from the browser, <a href="#" id="launch-ov" class="link">click here</a> to launch Okta Verify, or make sure Okta Verify is installed.</div>',"customUri.title":'Click "Open Okta Verify" on the browser prompt',"customUri.required.content.prompt":"Didn\u2019t get a prompt?","customUri.required.content.download.title":"Don\u2019t have Okta Verify?","customUri.required.content.download.linkText":"Download here","customUri.required.content.button":"Launch Okta Verify","universalLink.title":"Sign in with Okta FastPass","universalLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","appLink.title":"Sign in with Okta FastPass","appLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","oktaVerify.open.button":"Open Okta Verify","oktaVerify.reopen.button":"Reopen Okta Verify","consent.required.text":"<b>{0}</b> would like to access:","consent.required.description":"By clicking Allow Access, you allow the actions listed above.","consent.required.termsOfService":"Terms of Service","consent.required.privacyPolicy":"Privacy Policy","consent.required.consentButton":"Allow Access","consent.required.cancelButton":"Don't Allow","granular.consent.scopes.title":"<$1>{0}</$1> <$2>wants to access your account</$2>","granular.consent.scopes.description":"Allowing access will share","admin.consent.group.user.group":"User and groups","admin.consent.group.resource.policy":"Resource and policies","admin.consent.group.hook":"Hooks","admin.consent.group.system":"System","polling.title":"There are too many users trying to sign in right now. We will automatically retry in {0} seconds.","poll.form.title":"Unable to complete your request","poll.form.message":"We will automatically retry in <$1>{0}</$1> seconds.","cert.authentication.title":"Certificate authentication","common.logo.alt":"aria logo","oie.authenticator.enroll.error.fail":"Unable to enroll authenticator. Try again.","oie.authenticator.verify.error.fail":"Unable to verify authenticator. Try again.","oie.configuration.error":"Something went wrong. Potential misconfiguration detected. Please contact support.","oie.auth.logo.aria.label":"Authenticator logo","oie.challenge.answer.showAnswer":"Show answer","oie.challenge.answer.hideAnswer":"Hide answer","oie.form.field.optional":"Optional","oie.form.field.optional.description":"Fields are required unless marked optional.","oie.password.label":"Password","oie.password.newPasswordLabel":"New password","oie.password.authenticator.description":"Choose a password for your account","oie.password.challenge.title":"Verify with your password","oie.password.enroll.title":"Set up password","oie.password.passwordLabel":"Enter password","oie.password.confirmPasswordLabel":"Re-enter password","oie.password.showPassword":"Show password","oie.password.showConfirmPassword":"Show re-entered password","oie.password.hidePassword":"Hide password","oie.password.hideConfirmPassword":"Hide re-entered password","oie.password.reset.verification":"Verify with one of the following security methods to reset your password.","idx.password.expiring.message":"When your password expires, you will have to change your password before you can login to your {0} account.","oie.password.incorrect.message":"Password is incorrect","oie.selfservice.reset.password.not.allowed":"Reset password is not allowed at this time. Please contact support for assistance.","password.common":"This password was found in a list of commonly used passwords. Please try another password.","idx.recovery.completed":"You can now sign in with your existing username and new password.","oie.phone.label":"Phone","oie.phone.authenticator.de
1scription":"Verify with a code sent to your phone","oie.phone.enroll.sms.label":"SMS","oie.phone.enroll.voice.label":"Voice call","oie.phone.enroll.title":"Set up phone authentication","oie.phone.enroll.call.subtitle":"Enter your phone number to receive a verification code via voice call.","oie.phone.enroll.sms.subtitle":"Enter your phone number to receive a verification code via SMS.","oie.phone.sms.primaryButton":"Receive a code via SMS","oie.phone.sms.secondaryButton":"Receive an SMS instead","oie.phone.call.primaryButton":"Receive a code via voice call","oie.phone.call.secondaryButton":"Receive a voice call instead","oie.phone.verify.sms.resendText":"Haven't received an SMS?","oie.phone.verify.sms.codeSentText":"A code was sent to","oie.phone.verify.sms.sendText":"Send a code via SMS to","oie.phone.verify.call.sendText":"Send a code via voice call to","oie.phone.verify.call.resendText":"Haven't received a call?","oie.phone.verify.call.resendLinkText":"Call again","oie.phone.verify.sms.resendLinkText":"Send again","oie.phone.verify.enterCodeText":"Enter the code below to verify.","oie.phone.verify.title":"Verify with your phone","oie.phone.alternate.title":"your phone","oie.phone.carrier.charges":"Carrier messaging charges may apply","oie.phone.invalid":"Invalid Phone Number.","oie.phone.verify.sms.sendText.with.phone.with.nickname":"Send a code via SMS to <$1>{0}</$1> <$2>({1})</$2>.","oie.phone.verify.call.sendText.with.phone.with.nickname":"Send a code via voice call to <$1>{0}</$1> <$2>({1})</$2>.","oie.phone.verify.sms.sendText.with.phone.without.nickname":"Send a code via SMS to <$1>{0}</$1>.","oie.phone.verify.call.sendText.with.phone.without.nickname":"Send a code via voice call to <$1>{0}</$1>.","oie.phone.verify.sms.sendText.without.phone":"Send a code via SMS to your phone.","oie.phone.verify.call.sendText.without.phone":"Send a code via voice call to your phone.","oie.phone.verify.sms.codeSentText.with.phone.with.nickname":"A code was sent to <$1>{0}</$1> <$2>({1})</$2>. Enter the code below to verify.","oie.phone.verify.mfa.calling.with.phone.with.nickname":"Calling <$1>{0}</$1> <$2>({1})</$2>. Enter the code below to verify.","oie.phone.verify.sms.codeSentText.with.phone.without.nickname":"A code was sent to <$1>{0}</$1>. Enter the code below to verify.","oie.phone.verify.mfa.calling.with.phone.without.nickname":"Calling <$1>{0}</$1>. Enter the code below to verify.","oie.phone.verify.sms.codeSentText.without.phone":"A code was sent to your phone. Enter the code below to verify.","oie.phone.verify.mfa.calling.without.phone":"Calling your phone. Enter the code below to verify.","oie.email.label":"Email","oie.email.authenticator.description":"Verify with a link or code sent to your email","oie.email.mfa.title":"Verify with your email","oie.email.challenge.mfa.title":"Get a verification email","oie.email.verify.primaryButton":"Send me an email","oie.email.verify.subtitle.text.with.email":'Send a verification email to <$1>{0}</$1> by clicking on "Send me an email".',"oie.email.verify.subtitle.text.with.email.and.secondary.email":'Send a verification email to <$1>{0}</$1> and <$2>{1}</$2> by clicking on "Send me an email".',"oie.email.verify.subtitle.text.without.email":'Send a verification email by clicking on "Send me an email".',"oie.email.verify.alternate.magicLinkToEmailAddress":"We sent an email to <$1>{0}</$1>. ","oie.email.verify.alternate.magicLinkToEmailAddress.with.secondary.email":"We sent an email to <$1>{0}</$1> and <$2>{1}</$2>. ","oie.email.verify.alternate.magicLinkToYourEmail":"We sent you a verification email. ","oie.email.verify.alternate.instructions":"Click the verification link in your email to continue or enter the code below.","oie.email.verify.alternate.show.verificationCode.text":"Enter a verification code instead","oie.email.verify.alternate.verificationCode.instructions":"Enter the verification code in the text box.","oie.email.enroll.subtitle":"Please check your email and enter the code below.","oie.email.return.link.expired.title":"Verify with your email","oie.profile.additional.title":"Additional Profile information","oie.profile.additional.secondemail.subtitle":"Use a second email to <$1> recover your account </$1>
1 in case you become locked out. This email must be verified after setup.","signinWithPasskeys.button":"Sign in with a passkey","signin.passkeys.error":"Could not sign in with a passkey. Try again, or sign in another way to add a passkey to your account.","signin.passkeys.error.NotSupportedError":"This browser doesn't support passkeys. Use a supported browser or sign in another way.","signin.passkeys.error.SecurityError":"The relying party ID is not a registrable domain suffix of, nor equal to the current domain. Subsequently, an attempt to fetch the .well-known/webauthn resource of the claimed RP ID failed.","oie.webauthn.label":"Security Key or Biometric Authenticator","oie.webauthn.passkeysRebrand.passkeys.label":"Passkeys","oie.webauthn.description":"Use a security key or a biometric authenticator to sign in","oie.webauthn.passkeysRebrand.passkeys.description":"Use a passkey to sign in with biometrics or a security key.","oie.enroll.webauthn.title":"Set up security key or biometric authenticator","oie.enroll.webauthn.passkeysRebrand.passkeys.title":"Set up a passkey","oie.enroll.webauthn.passkeysRebrand.custom.title":"Set up {0}","oie.enroll.webauthn.instructions":"You will be prompted to register a security key or biometric authenticator (Windows Hello, Touch ID, Face ID, etc.). Follow the instructions to complete set up.","oie.enroll.webauthn.passkeysRebrand.instructions":"You will be prompted to register a passkey. Follow the instructions to complete set up.","oie.enroll.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to setup this authenticator.","oie.enroll.webauthn.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select 'Cancel' in the prompt before continuing.","oie.enroll.webauthn.save":"Set up","oie.webauthn.error.not.supported":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","oie.webauthn.passkeysRebrand.error.not.supported":"Passkeys are not supported on this browser. Contact your admin for assistance.","oie.webauthn.error.invalidPasskey":"Invalid passkey.","oie.verify.webauth.title":"Verify with Security Key or Biometric Authenticator","oie.verify.webauth.passkeysRebrand.passkeys.title":"Verify with a passkey","oie.verify.webauth.passkeysRebrand.custom.title":"Verify with {0}","oie.verify.webauthn.instructions":"You will be prompted to use a security key or biometric verification (Windows Hello, Touch ID, etc.). Follow the instructions to complete verification.","oie.verify.webauthn.passkeysRebrand.instructions":"You will be prompted to use a passkey. Follow the instructions to complete verification.","oie.verify.webauthn.instructions.additional":"Additional instructions from your administrator:","oie.verify.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to sign in with this authenticator.","oie.verify.webauthn.cant.verify":"Can't verify?","oie.verify.webauthn.cant.verify.biometric.authenticator.title":"Are you trying to use a biometric authenticator?","oie.verify.webauthn.cant.verify.biometric.authenticator.description1":"Biometric authenticators (fingerprint, face recognition, PIN) will only work on the same device on which they were set up.","oie.verify.webauthn.cant.verify.biometric.authenticator.description2":"If available, set up another security method on the device you used to set up your biometric authenticator.","oie.verify.webauthn.cant.verify.security.key.title":"Are you trying to use a security key?","oie.verify.webauthn.cant.verify.security.key.description":"If you have set up a security key, insert it in a USB port when prompted by the browser and tap on the button or gold disk. Security keys can work on multiple devices.","oie.verify.webauthn.cant.verify.enrollment.step1":"Open your Okta Dashboard (e.g. yourcompany.okta.com) on the device you used to setup your security key or biometric authenticator","oie.verify.webauthn.passkeysRebrand.cant.verify.enrollment.step1":"Open your Okta Dashboard (e.g. yourcompany.okta.com) on the device you used to setup your passkey","oie.verify.webauthn.cant.verify.enrollment.step2":"Go to Settings > Security Methods","oie.verify.webauthn.cant.verify.enrollment.step3":'On Okta Verify, click "Set up"',"oie.verify.webauthn.cant.verify.enrollment.step4":"Scan the QR code using Okta Verify and follow instructions to finish enrolling your account","oie.enroll.webauthn.rk.link":'If you haven\'t set up your security ke
1y or biometric authentication, you can complete the process after you sign in using <a href="#" class="setup-webauthn-residentkey-link">this link</a>.',"oie.select.authenticator.verify.email.label":"Select Email.","oie.select.authenticator.verify.email.with.email.label":"Select Email - {0}.","oie.select.authenticator.verify.password.label":"Select Password.","oie.select.authenticator.verify.phone.label":"Select Phone.","oie.select.authenticator.verify.phone.with.phone.label":"Select Phone - {0}.","oie.select.authenticator.verify.webauthn.label":"Select Security Key or Biometric Authenticator.","oie.select.authenticator.verify.webauthn.passkeysRebrand.passkeys.label":"Select a passkey.","oie.select.authenticator.verify.webauthn.passkeysRebrand.custom.label":"Select {0}.","oie.select.authenticator.verify.security.question.label":"Select Security Question.","oie.select.authenticator.okta_verify.totp.label":"Select to enter a code from the Okta Verify app.","oie.select.authenticator.okta_verify.push.label":"Select to get a push notification to the Okta Verify app.","oie.select.authenticator.okta_verify.signed_nonce.label":"Select Okta Verify.","oie.select.authenticator.verify.okta_verify.label":"Select Okta Verify.","oie.select.authenticator.verify.named.authenticator.label":"Select {0}.","oie.select.authenticator.enroll.email.label":"Set up Email.","oie.select.authenticator.enroll.password.label":"Set up Password.","oie.select.authenticator.enroll.phone.label":"Set up Phone.","oie.select.authenticator.enroll.webauthn.label":"Set up Security Key or Biometric Authenticator.","oie.select.authenticator.enroll.webauthn.passkeysRebrand.passkeys.label":"Set up a passkey.","oie.select.authenticator.enroll.webauthn.passkeysRebrand.custom.label":"Set up {0}.","oie.select.authenticator.enroll.security.question.label":"Set up Security Question.","oie.select.authenticator.enroll.okta_verify.authenticator.label":"Set up Okta Verify.","oie.select.authenticator.enroll.named.authenticator.label":"Set up {0}.","oie.security.question.label":"Security Question","oie.security.question.enroll.title":"Set up security question","oie.security.question.challenge.title":"Verify with your Security Question","oie.security.question.questionKey.label":"Choose a security question","oie.security.question.createQuestion.label":"Create my own security question","oie.security.question.authenticator.description":"Choose a security question and answer that will be used for signing in","securityQuestion.answer.tooShort.arg":"The security question answer must be at least {0} characters in length","oie.okta_verify.label":"Okta Verify","oie.enroll.okta_verify.setup.subtitle":"To continue, you'll need an Okta Verify account on this device.","oie.enroll.okta_verify.setup.download":"If you don't have Okta Verify installed, <$1>download the app</$1>.","oie.enroll.okta_verify.setup.openOv":"Open Okta Verify and follow the steps to add your account.","oie.enroll.okta_verify.setup.signInUrl":"When prompted, choose Sign In, then enter the sign-in URL:","oie.enroll.okta_verify.setup.instructions":"Follow the instructions to set up Okta Verify on this device, then return here and refresh this page.","oie.okta_verify.authenticator.description":"Okta Verify is an authenticator app, installed on your phone or computer, used to prove your identity","oie.enroll.okta_verify.setup.title":"Set up Okta Verify","oie.enroll.okta_verify.setup.email.title":"Check your email","oie.enroll.okta_verify.setup.sms.title":"Check your text messages","oie.enroll.okta_verify.setup.skipAuth.subtitle":"To set up Okta Verify on additional devices, you can copy an existing Okta Verify account onto a new device.","oie.enroll.okta_verify.setup.skipAuth.openOv":"Open Okta Verify on any of your other Okta Verify devices (<$1>{0}</$1>).","oie.enroll.okta_verify.setup.skipAuth.openOv.suchAs":"Open Okta Verify on any of your other Okta Verify devices (Such as your <$1>{0}</$1>).","oie.enroll.okta_verify.setup.skipAuth.selectAccount":"In the app, select your account.","oie.enroll.okta_verify.setup.skipAuth.addAccount":"Choose <$1>Add Account to Another Device.</$1>","oie.enroll.okta_verify.setup.skipAuth.followInstruction":"Follow the rest of the instructions shown in Okta Verify.","oie.enroll.okta_verify.setup.skipAuth.canBeClosed":"This screen can be closed at any time.","oie.enroll.okta_verify.setup.customUri.makeSureHaveOVToContinue":"To continue, make sure you have the Okta Verify app.","oie.enroll.okta_verify.setup.customUri.setup":"Once Okta Verify is installed, return to this page and tap <$1>Set up Okta Verify</$1>.","oie.enroll.okta_verify.setup.customUri.prompt":'Click <$1>"Open Okta Verify"</$1> on the browser prompt to set up Okta Verify.',"oie.enroll.okta_verify.setup.customUri.noPrompt":"<$1>Didn't see the prompt?</$1>","oie.enroll.okta_verify.setup.customUri.makeSureHaveOV":"Make sure you have Okta Verify installed.","oie.enroll.okta_verify.setup.customUri.orMobile":"Or <$
11>set up Okta Verify on another mobile device</$1>","oie.enroll.okta_verify.setup.customUri.orOnMobile":"Or <$1>set up Okta Verify on a mobile device</$1>","oie.enroll.okta_verify.select.channel.description":"Which option do you want to try?","oie.enroll.okta_verify.select.channel.qrcode.label":"Scan a QR code","oie.enroll.okta_verify.select.channel.subtitle":"How would you like to set up Okta Verify?","oie.enroll.okta_verify.select.channel.email.label":"Email me a setup link","oie.enroll.okta_verify.select.channel.sms.label":"Text me a setup link","oie.enroll.okta_verify.select.channel.ovOnThisDevice":"Or <$1>set up Okta Verify on this device</$1>","oie.enroll.okta_verify.select.channel.title":"More options","oie.enroll.okta_verify.select.channel.title.updated":"Set up Okta Verify on another mobile device","oie.enroll.okta_verify.channel.email.label":"Email","oie.enroll.okta_verify.enroll.channel.email.title":"Set up Okta Verify via email link","oie.enroll.okta_verify.enroll.channel.email.subtitle":"Make sure you can access the email on the receiving device","oie.enroll.okta_verify.enroll.channel.sms.title":"Set up Okta Verify via SMS","oie.enroll.okta_verify.channel.email.description":"Make sure you can access the email on your mobile device.","oie.enroll.okta_verify.channel.sms.description":"Make sure you can access the text on your mobile device.","oie.enroll.okta_verify.channel.sms.description.updated":"Make sure you can access the text on the receiving device","oie.enroll.okta_verify.qrcode.title":"Set up Okta Verify via QR code","oie.enroll.okta_verify.qrcode.step1":"On your mobile device, download the Okta Verify app from the App Store (iPhone and iPad) or Google Play (Android devices).","oie.enroll.okta_verify.qrcode.step1.updated":"On your other device, download the Okta Verify app from the App Store\xae (iPhone\xae and iPad\xae) or on Google Play (Android\xae devices).","oie.enroll.okta_verify.qrcode.step2":"Open the app and follow the instructions to add your account","oie.enroll.okta_verify.qrcode.step3.updated":"When prompted, tap <$1>Scan a QR code</$1>, then scan the QR code below:","oie.enroll.okta_verify.qrcode.step3":"When prompted, tap Scan a QR code, then scan the QR code below:","oie.enroll.okta_verify.qrcode.cannotScan":"Can't scan?","oie.enroll.okta_verify.switch.channel.link.text":'Or <a href="#" class="switch-channel-link">try a different way</a> to set up Okta Verify.',"oie.enroll.okta_verify.email.info":'We sent an email to <span class="strong">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.',"oie.enroll.okta_verify.email.info.updated":"We sent an email to <$1>{0}</$1> with an Okta Verify setup link. To continue, open the link on your receiving device.","oie.enroll.okta_verify.email.notReceived":'Haven\u2019t received an email? Check your spam folder or <a href="#" class="resend-link">send again</a>',"oie.enroll.okta_verify.sms.info":'We sent an SMS to <span class="strong">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.',"oie.enroll.okta_verify.sms.info.updated":"We sent an SMS to <$1>{0}</$1> with an Okta Verify setup link. To continue, open the link on your receiving device.","oie.enroll.okta_verify.sms.notReceived":'Haven\u2019t received an SMS? <a href="#" class="resend-link">Send again</a>',"oie.enroll.okta_verify.setupLink":"Send me the setup link","oie.okta_verify.totp.title":"Enter a code","oie.okta_verify.totp.enterCodeText":"Enter code from Okta Verify app","oie.okta_verify.push.title":"Get a push notification","oie.okta_verify.push.sent":"Push notification sent","oie.okta_verify.push.sent.respond_to_continue":"Respond on your mobile device to continue.","oie.okta_verify.push.resend":"Resend push notification","oie.okta_verify.sendPushButton":"Send push","oie.okta_verify.signed_nonce.label":"Use Okta FastPass","oie.okta_verify.enroll.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible":"The device used to set up Okta Verify does not meet your organization\u2019s security requirements because it is not FIPS compliant. Contact your administrator for help.","oie.authenticator.app.non_fips_compliant_enrollment_app_update_required":"The Okta Verify version on the device used does not meet your organization\u2019s security requirements. To add your account, update Okta Verify to the latest version, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.app.method.push.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.app.method.push.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.app.method.push.enroll.enable.biometrics":"Your organization requires biometrics. To proceed, ensure your device supports biometrics, then add your account and enable biometrics when prompted.","oie.authenticator.app.method.push.enroll.enable.biometrics.title":"Enable biometrics to add an account in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.mobile":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.desktop":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date, biometrics are enabled for your account in Okta Verify and your device's biometric sensors are accessible, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.title":"Biometrics needed for Okta Verify","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4":"Your device's biometric sensors are accessible","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows":"Your response was received, but your organization requires Windows Hello confirmation. Make sure Okta Verify is up-to-date and enable Windows Hello confirmation in Okta Verify, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.title":"Enable Windows Hello confirmation in Okta Verify","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.description":"To meet your organization's requirements, tr
1y the following, then return here and sign in again:","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.point1":"Make sure Okta Verify is up-to-date","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.point2":"In Okta Verify, enable Windows Hello confirmation for your account","oie.google_authenticator.label":"Google Authenticator","oie.google_authenticator.authenticator.description":"Enter a temporary code generated from the Google Authenticator app.","oie.enroll.google_authenticator.setup.title":"Set up Google Authenticator","oie.enroll.google_authenticator.scanBarcode.title":"Scan QR code","oie.enroll.google_authenticator.scanBarcode.description":'Launch Google Authenticator, tap the "+" icon, then select "Scan a QR code".',"oie.enroll.google_authenticator.scanBarcode.cannotScan":"Can't scan?","oie.enroll.google_authenticator.cannotScanBarcode.title":"Can't scan QR code?","oie.enroll.google_authenticator.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","oie.enroll.google_authenticator.enterCode.title":"Enter code displayed from application","oie.verify.google_authenticator.otp.title":"Verify with Google Authenticator","oie.verify.google_authenticator.otp.description":"Enter the temporary code generated in your Google Authenticator app","oie.google_authenticator.otp.enterCodeText":"Enter code","oie.verify.custom_otp.title":"Verify with {0}","oie.verify.custom_otp.description":"Enter the code generated on your authenticator and verify.","oie.custom_otp.description":"Enter a temporary code generated from an authenticator device.","oie.custom_otp.authenticator.default.vendorName":"Custom OTP Authenticator","oie.custom_otp.verify.passcode.label":"Enter code","oie.verify.custom_app.title":"Verify with {0}","oie.custom_app.push.sent":"Push notification sent","oie.custom_app.push.resend":"Resend push notification","oie.custom_app.push.warning":"Haven't received a push notification yet? Try opening {0} on your phone.","oie.authenticator.custom_app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics\u2014like a fingerprint or facial scan\u2014for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.title":"Enable biometrics in {0}","oie.authenticator.custom_app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics\u2014like a fingerprint or facial scan\u2014for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point2":"{0} is up-to-date","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point3":"In {0}, biometrics are enabled for your account","oie.custom_app.sendPushButton":"Send push","oie.custom_app.push.title":"Get a push notification","oie.on_prem.authenticator.description":"Verify by entering a code generated by {0}.","oie.on_prem.authenticator.default.vendorName":"Custom On-prem Authenticator","oie.on_prem.enroll.title":"Set up {0}","oie.on_prem.verify.title":"Verify with {0}","oie.numberchallenge.warning":"Haven't received a push notification yet? Try opening the Okta Verify app on your device, or <$1>resend the push notification</$1>.","oie.numberchallenge.instruction":"On your mobile device, open the Okta Verify prompt, then tap <$1>{0}</$1> in Okta Verify to continue.","oie.numberchallenge.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.method.push.force.upgrade.number_challenge":"Your response was received, but your Okta Verify version is no longer supported by your organization. To verify your identity with push notifications, update Okta Verify to the latest version, then try again.","oie.rsa.authenticator.description":"Verify by entering a code generated by RSA SecurID","oie.duo.authenticator.de
1scription":"Verify your identity using Duo Security.","oie.duo.enroll.title":"Set up Duo Security","oie.duo.verify.title":"Verify with Duo Security","oie.duo.iFrameError":"Error loading Duo. Try again or contact your admin for assistance.","oie.authenticator.duo.error":"We were unable to verify with Duo. Try again.","oie.idp.authenticator.description":"Redirect to verify with {0}.","oie.idp.enroll.title":"Set up {0}","oie.idp.enroll.description":"You will be redirected to enroll in {0}","oie.idp.challenge.title":"Verify with {0}","oie.idp.challenge.description":"You will be redirected to verify with {0}","idx.identity.provider.auth.error":"There was a problem signing you into your identity provider. Please contact your administrator for help.","oie.idv.idp.title":"Verify your identity with {0}","oie.idv.idp.desc":"Verify your identity with {0} to continue and share your verification results with Okta. You may need a valid government-issued ID.","oie.idv.idp.desc.termsOfUse":"{0}'s <$1>Terms of Use</$1> and <$2>Privacy Policy</$2> will apply to {0}'s verification of your identity. ","oie.idv.idp.desc.agreement":'By clicking "Continue", I agree that {0} will share my verification results with Okta.',"oie.idv.persona":"Persona","oie.idv.clear":"Clear","oie.idv.incode":"Incode","oie.idv.customIDV":"Custom IDV","oie.symantecVip.authenticator.description":"Verify by entering a temporary code from the {0} app.","oie.symantecVip.enroll.title":"Set up {0}","oie.symantecVip.enroll.description":"From the {0} app, enter your credential ID and two consecutive generated codes","oie.symantecVip.challenge.title":"Verify with {0}","oie.symantecVip.challenge.description":"Enter the generated security code from the {0} app.","oie.symantecVip.verify.passcode.label":"Enter security code","oie.yubikey.label":"YubiKey Authenticator","oie.yubikey.authenticator.description":"Verify your identity using YubiKey","oie.yubikey.enroll.title":"Set up YubiKey","oie.yubikey.challenge.title":"Verify with YubiKey","oie.yubikey.description":"Use your YubiKey to insert a verification code.","oie.yubikey.passcode.label":"Insert then tap your YubiKey","oie.custom.app.authenticator.title":"Get a push notification","oie.custom.app.authenticator.description":"{0} is an authenticator app, installed on your phone, used to prove your identity","oie.smartcard.authenticator.description":"Use a physical smart card, such as PIV or CAC, to sign in","oie.tac.label":"Temporary Access Code","oie.verify.tac.title":"Verify with Temporary Access Code","oie.verify.tac.description":"Enter the code provided by your administrator. Contact your administrator if you need a new code.","oie.tac.authenticator.description":"Enter a code provided by your administrator to sign in","oie.select.authenticators.enroll.title":"Set up security methods","oie.select.authenticators.enroll.subtitle":"Security methods help protect your account by ensuring only you have access.","oie.select.authenticators.enroll.subtitle.custom":"Security methods help protect your {0} account by ensuring only you have access.","oie.setup.required":"Set up required","oie.setup.optional":"Set up optional","oie.setup.required.now":"Required now","oie.setup.required.soon":"Required soon","oie.setup.optional.short":"Optional","oie.setup.required.soon.description":"When the deadline passes, you won\u2019t be able to sign in until you complete setup.","oie.setup.remind.me.later":"Remind me later","oie.optional.authenticator.button.title":"Continue","oie.verify.authenticator.button.text":"Select","oie.enroll.authenticator.button.text":"Set up","oie.enroll.authenticator.usage.text.access.recovery":"Used for access or recovery","oie.enroll.authenticator.usage.text.recovery":"Used for recovery","oie.enroll.authenticator.usage.text.access":"Used for access","oie.select.authenticators.verify.title":"Verify it's you with a security method","oie.select.authenticators.verify.subtitle":"Select from the following options","oie.success.text.signingIn":"Signing in","oie.success.text.signingIn.with.ellipsis":"Signing in...","oie.success.text.signingIn.with.appName":"Signing in to {0}","oie.success.text.signingIn.with.appName.android.ov.enrollment":'To continue, tap "Open Okta Verify"',"oie.success.text.signingIn.with.appName.and.identifier":"Signing in to {0} as {1}","oie.go.back":"Go back","oie.enroll.switch.authenticator":"Return to authenticator list","oie.enroll.skip.setup":"Skip set up","oie.enroll.skip.profile":"Skip Profile","oie.verification.switch.authenticator":"Verify with something else","oie.remember":"Keep me signed in","oie.try.again":"Try again","enroll.title.oda":"Download Okta Verify","enroll.title.oda.with.account":"Additional setup required to use Okta FastPass","enroll.title.oda.without.account":"Set up an Okta Verify account","enroll.title.mdm":"Additional setup required","enroll.subtitle.fastpass":"On this device, do you already have an Okta Verify account for {0}?","enroll.option.noaccount.fastpass":"No, I don\u2019t have an account","enroll.option.account.fastpass":"Yes, I already have an account","enroll.explanation.p1":"To sign in using Okta Verify, you will need to set up Okta Verify on this device.","enroll.explanation.p2":'In the app, follow the instructions to add an organizational account. When prompted, choose <span class="semi-strong">Sign In</span>, then enter the <span class="semi-strong">sign-in URL</span>:',"enroll.oda.android.step1":"On Google Play, download the Okta Verify app.","enroll.oda.step1":"Open Okta Verify and follow the steps to add your account.","enroll.oda.step2":"When prompted, choose Sign In, then enter the sign-in URL:","enroll.oda.step3":"Download the Okta Verify app.","enroll.oda.step6":"Finish setting up your account in Okta Verify, then try accessing this app again.","enroll.oda.with.account.explanation":"Okta FastPass is a security method that can sign you in without needing your username.","enroll.oda.with.account.subtitile1":"Already have Okta FastPass enabled for your account?","enroll.oda.with.account.subtitile2":"Need to set up Okta FastPass for your account?","enroll.oda.with.account.step1":"Make sure your Okta Verify is up-to-date, then try signing in again.","enroll.oda.with.account.step2":"If your device has a work profile, make sure you are signing in from the same profile that Okta Verify is installed in.","enroll.oda.with.account.step3":"On certain browsers and applications, Okta FastPass is not supported.","enroll.oda.with.account.step4":"On this device, open the Okta Verify app.","enroll.oda.with.account.step5":"On the list of accounts, tap your account for {0}.","enroll.oda.with.account.step6":"Under the \u201cOkta FastPass\u201d section, tap Setup, then follow the instructions.","enroll.oda.with.account.step7":"After your setup is complete, return here to try signing in again.","enroll.oda.without.account.explanation":"To sign in with Okta FastPass, you\u2019ll need to set up Okta Verify on this device.","enroll.oda.without.account.step1":'If you don\u2019t have Okta Verify installed, <a href="{0}" target="_blank" class="download-ov-link" id="download-ov">download the app.</a>',"enroll.oda.without.account.step4":"Finish setting up your account in Okta Verify, then try signing in again.","enroll.appleStore":"the App Store","enroll.googleStore":"Google Play","enroll.copy.ios":"Apple\xae, App Store, and the Apple logo are trademarks of Apple Inc.","enroll.copy.android":"Google Play and the Google Play logo are trademarks of Google LLC.","enroll.explanation.mdm":"To access this app, your device needs to meet your organization's security requirements. Follow the instructions below to continue.","enroll.oda.org.copyLink":"Copy sign-in URL to clipboard","enroll.oda.org.copyLink.success":"Sign-in URL copied.","enroll.mdm.copyLink":"Copy link to clipboard","enroll.mdm.copyLink.success":"Link copied.","enroll.mdm.step.copyLink":"Tap the C
1opy Link button below.","enroll.mdm.step.pasteLink":"On this device, open your browser, then paste the copied link into the address bar.","enroll.mdm.step.followInstructions":"Follow the instructions in your browser to set up <$1>{0}</$1>.","enroll.mdm.step.relogin":"Logout and re-login and then try accessing the app again.","oie.safe.mode.title":"Authenticator set up unavailable","idx.error.server.safe.mode.enrollment.unavailable":"Set up is temporarily unavailable due to server maintenance. Try again later.","oie.primaryauth.submit":"Sign in","oie.registration.form.title":"Sign up","oie.registration.form.submit":"Sign Up","oie.registration.form.update.submit":"Submit","oie.registration.form.customize.label":"{0}","oie.registration.form.customize.buttonLabel":"{0}","oie.user.profile.login":"Username","oie.user.profile.lastname":"Last name","oie.user.profile.firstname":"First name","oie.user.profile.primary.email":"Email","oie.user.profile.secondary.email":"Secondary email","oie.user.profile.middleName":"Middle name","oie.user.profile.honorificPrefix":"Honorific prefix","oie.user.profile.honorificSuffix":"Honorific suffix","oie.user.profile.primaryEmail":"Primary email","oie.user.profile.title":"Title","oie.user.profile.displayName":"Display name","oie.user.profile.nickName":"Nickname","oie.user.profile.profileUrl":"Profile URL","oie.user.profile.mobilePhone":"Mobile phone","oie.user.profile.primaryPhone":"Primary phone","oie.user.profile.streetAddress":"Street address","oie.user.profile.city":"City","oie.user.profile.state":"State","oie.user.profile.zipCode":"ZIP Code","oie.user.profile.postalCode":"Postal code","oie.user.profile.countryCode":"Country code","oie.user.profile.postalAddress":"Postal address","oie.user.profile.preferredLanguage":"Preferred language","oie.user.profile.locale":"Locale","oie.user.profile.timezone":"Time zone","oie.user.profile.userType":"User type","oie.user.profile.employeeNumber":"Employee number","oie.user.profile.costCenter":"Cost center","oie.user.profile.organization":"Organization","oie.user.profile.division":"Division","oie.user.profile.department":"Department","oie.user.profile.managerId":"Manager ID","oie.user.profile.manager":"Manager","oie.selfservice.unlock_user.landing.to.app.success.message":"Account successfully unlocked! Verify your account with a security method to continue.","oie.selfservice.unlock_user.landing.to.app.signing.in.message":"Account successfully unlocked!","oie.selfservice.unlock_user.success.message":"You can log in using your existing username and password.","oie.selfservice.unlock_user.failed.message":"We are unable to unlock your account at this time, please contact your administrator","oie.selfservice.user.unlock.not.allowed":"Self Service Unlock is not allowed at this time. Please contact support for assistance.","oie.kmsi.title":"Keep me signed in","oie.kmsi.subtitle":"Sign in and enter security methods less frequently.","oie.kmsi.accept":"Stay signed in","oie.kmsi.reject":"Don't stay signed in","idx.session.expired":"You have been logged out due to inactivity. Refresh or return to the sign in screen.","oie.registration.is.not.enabled":"Sign up is not enabled for this organization.","oie.forgot.password.is.not.enabled":"Forgot password is not enabled for this organization.","idx.return.error":"Could not process this email link. Return to the screen where you requested it.","idx.return.stale":"This email link is out of date. Return to the screen where you requested it.","idx.invalid.forgot.password.token":"Your reset password token is no longer valid.","idx.invalid.reset.password.token":"Your reset password token is no longer valid. Contact your administrator to obtain a new token.","idx.reset.password.activating.user":"Reset password cannot be performed while the user is activating. Contact your administrator to obtain a new token.","core.system.transaction_resource_not_found":"Verification timed out. Please try again",tagsNotAllowed:"The field must not contain HTML tags","api.authn.error.PASSCODE_INVALID":"Invalid code. Try again.","oie.feature.disabled":"The requested feature is not enabled in this environment.","authfactor.challenge.suspended_factor":"This factor is suspended for your account due to too many failed attempts","oie.post.password.update.auth.failure.error":"Your password has been updated but there was a problem signing you in. Please try again or c
1ontact your administrator.","oie.assurance.unsatisfiable":'Unable to login to "{0}" at this time. For assistance, please contact your administrator.',"errors.E0000150":"You have reached the limit of sms requests, please try again later.","errors.E0000151":"You have reached the limit of call requests, please try again later.","oie.invalid.recovery.token":"The recovery token is invalid.","oie.consent.scopes.admin.title":"would like to access:","oie.consent.scopes.enduser.title":"would like to:","oie.consent.scopes.granular.title":"<$1>{0}</$1> <$2>wants to access</$2>","oie.consent.scopes.granular.description":"Allowing access will share","oie.consent.enduser.accept.label":"Yes, it's me","oie.consent.enduser.deny.label":"No, it's not me","oie.consent.enduser.title":"Did you just try to sign in?","oie.consent.enduser.email.allow.title":"Success! Return to the original tab or window","oie.consent.enduser.email.allow.description":"To continue, please return to the original browser tab or window you used to verify.","oie.consent.enduser.deny.description":"Close this window anytime.","oie.return.to.original.tab":"Close this window anytime.","idx.operation.cancelled.by.user":"Operation cancelled by user.","idx.transferred.to.new.tab":"Flow continued in a new tab.","idx.return.link.expired":"This email link has expired. To resend it, return to the screen where you requested it.","idx.return.link.otponly.your.verification.code":"Your verification code","idx.return.link.otponly.enter.code.on.page":"Enter this code on the {0} page.","idx.return.link.otponly.enter.code.on.page.sign.in":"sign-in","idx.return.link.otponly.enter.code.on.page.password.reset":"password reset","idx.return.link.otponly.enter.code.on.page.account.unlock":"account unlock","idx.return.link.otponly.enter.code.on.page.registration":"sign up","idx.return.link.otponly.enter.code.on.sign.in.page":"Enter this code on the sign-in page.","idx.return.link.otponly.enter.code.on.password.reset.page":"Enter this code on the password reset page.","idx.return.link.otponly.enter.code.on.account.unlock.page":"Enter this code on the account unlock page.","idx.return.link.otponly.enter.code.on.sign.up.page":"Enter this code on the sign up page.","idx.return.link.otponly.request":"Request from:","idx.return.link.otponly.warning.text":"If you didn\u2019t request this code, you can ignore this message. Your account is safe and can only be accessed with this code.","idx.enter.otp.in.original.tab":"Enter the OTP in your original authentication location.","idx.return.link.otponly.app":"{0}","idx.return.link.otponly.browser.on.os":"{0} on {1}","geolocation.formatting.all":"{0}, {1}, {2}","geolocation.formatting.partial":"{0}, {1}","consent.scopes.email.label":"View your email address.","consent.scopes.profile.label":"View your profile information.","consent.scopes.phone.label":"View your phone number.","consent.scopes.address.label":"View your address.","consent.scopes.offlineAccess.label":"Keep you signed in to the app.","consent.scopes.onlineAccess.label":"Keep you signed in to the app.","consent.scopes.deviceSSO.label":"Request device secret.","consent.scopes.openid.desc":"Signals that a request is an OpenID request.","consent.scopes.profile.desc":"The exact data varies based on what profile information you have provided, such as: name, time zone, picture, or birthday.","consent.scopes.email.desc":"This allows the app to view your email address.","consent.scopes.address.desc":"This allows the app to view your address, such as: street address, city, state, and zip code.","consent.scopes.phone.desc":"This allows the app to view your phone number.","consent.scopes.offlineAccess.desc":"This keeps you signed in to the app, even when you are not using it.","consent.scopes.onlineAccess.desc":"This allows the app to access your data only when you are logged in to the application.","consent.scopes.deviceSSO.desc":"This allows you to single sign on between native client applications on your device.","consent.scopes.okta.users.manage.desc":"Allows the app to create new users and to manage all users'' profile and credentials information.","consent.scopes.okta.users.manage.self.desc":"Allows the app to manage the signed-in user''s profile and credentials.","consent.scopes.okta.users.read.desc":"Allows the app to read the existing users'' profiles and credentials.","consent.scopes.okta.users.read.self.desc":"Allows the app to read the signed-in user'
vendor: 7,400 bytes, line 1
1's profile and credentials.","consent.scopes.okta.linkedObjects.manage.desc":"Allows the app to manage linked object definitions in your Okta organization.","consent.scopes.okta.linkedObjects.read.desc":"Allows the app to read linked object definitions in your Okta organization.","consent.scopes.okta.myAccount.manage.desc":"Allows the end-user to manage their account profile.","consent.scopes.okta.myAccount.read.desc":"Allows the end-user to read their account profile.","consent.scopes.okta.riskEvents.manage.desc":"Allows the app to publish risk events to your Okta organization.","consent.scopes.okta.clients.manage.desc":"Allows the app to manage clients in your Okta organization.","consent.scopes.okta.clients.read.desc":"Allows the app to read information about clients in your Okta organization.","consent.scopes.okta.clients.register.desc":"Allows the app to create new clients in your Okta organization.","consent.scopes.okta.authorizationServers.manage.desc":"Allows the app to create and manage Authorization Servers in your Okta organization.","consent.scopes.okta.authorizationServers.read.desc":"Allows the app to read information about Authorization Servers in your Okta organization.","consent.scopes.okta.groups.manage.desc":"Allows the app to manage existing groups in your Okta organization.","consent.scopes.okta.groups.read.desc":"Allows the app to read information about groups and their members in your Okta organization.","consent.scopes.okta.groups.register.desc":"Allows the app to create new groups in your Okta organization.","consent.scopes.okta.events.read.desc":"Allows the app to read information about deprecated Events v1 API entries in your Okta organization.","consent.scopes.okta.logs.read.desc":"Allows the app to read information about System Log entries in your Okta organization.","consent.scopes.okta.inlineHooks.manage.desc":"Allows the app to create and manage Inline Hooks in your Okta organization.","consent.scopes.okta.inlineHooks.read.desc":"Allows the app to read information about Inline Hooks in your Okta organization.","consent.scopes.okta.eventHooks.manage.desc":"Allows the app to create and manage Event Hooks in your Okta organization.","consent.scopes.okta.eventHooks.read.desc":"Allows the app to read information about Event Hooks in your Okta organization.","consent.scopes.okta.apps.manage.desc":"Allows the app to create and manage Apps in your Okta organization.","consent.scopes.okta.apps.read.desc":"Allows the app to read information about Apps in your Okta organization.","consent.scopes.okta.schemas.manage.desc":"Allows the app to create and manage Schemas in your Okta organization.","consent.scopes.okta.schemas.read.desc":"Allows the app to read information about Schemas in your Okta organization.","consent.scopes.okta.idps.manage.desc":"Allows the app to create and manage Identity Providers in your Okta organization.","consent.scopes.okta.idps.read.desc":"Allows the app to read information about Identity Providers in your Okta organization.","consent.scopes.okta.roles.manage.desc":"Allows the app to manage administrative role assignments for users in your Okta organization.","consent.scopes.okta.roles.read.desc":"Allows the app to read administrative role assignments for users in your Okta organization.","consent.scopes.okta.policies.manage.desc":"Allows the app to manage policies in your Okta organization.","consent.scopes.okta.policies.read.desc":"Allows the app to read information about policies in your Okta organization.","consent.scopes.okta.orgs.manage.desc":"Allows the app to manage organization-specific details for your Okta organization.","consent.scopes.okta.orgs.read.desc":"Allows the app to read organization-specific details about your Okta organization.","consent.scopes.okta.captchas.manage.desc":"Allows the app to create and manage CAPTCHAs in your Okta organization.","consent.scopes.okta.captchas.read.desc":"Allows the app to read information about CAPTCHAs in your Okta organization.","consent.scopes.okta.sessions.manage.desc":"Allows the app to manage all sessions in your Okta organization.","consent.scopes.okta.sessions.read.desc":"Allows the app to read all sessions in your Okta organization.","consent.scopes.okta.trustedOrigins.manage.desc":"Allows the app to manage all Trusted Origins in your Okta organization.","consent.scopes.okta.trustedOrigins.read.desc":"Allows the app to read all Trusted Origins in your Okta organization.","consent.scopes.okta.templates.manage.desc":"Allows the app to manage all custom templates in your Okta organization.","consent.scopes.okta.templates.read.desc":"Allows the app to read all custom templates in your Okta organization.","consent.scopes.okta.factors.manage.desc":"Allows the app to manage all admin operations for org factors (e.g. activate, deactivate, read).","consent.scopes.okta.factors.read.desc":"Allows the app to read org factors information.","consent.scopes.okta.authenticators.manage.desc":"Allows the app to manage all security methods (e.g. enrollments, reset).","consent.scopes.okta.authenticators.read.desc":"Allows the app to read org security method information.","consent.scopes.okta.authenticators.manage.self.desc":"Allows the app to manage users own security methods (e.g. enrollments, reset).","consent.scopes.idSnapshot.read.desc":"Allows the app to read your identity snapshot attestation.","consent.scopes.idSnapshot.manage.desc":"Allows the app to create and manage your identity snapshot attestation.","logo.for.the.app.alt.text":"Logo for the app","device.code.activate.title":"Activate your device","device.code.activate.subtitle":"Follow the instructions on your device to get an activation code","device.code.activate.label":"Activation Code","device.code.activated.success.title":"Device activated","device.code.activated.error.title":"Device not activated","idx.device.activated":"Follow the instructions on your device for next steps","idx.device.not.activated.consent.denied":"Your device cannot be activated because you did not allow access","idx.device.not.activated.internal.error":"Your device cannot be activated because of an internal error","idx.invalid.device.code":"Invalid code. Try again.","idx.operation.cancelled.on.other.device":"Access denied on other device.","idx.expired.activation.token":"Your account activation link is no longer valid. Request a new activation email below.","idx.missing.activation.token":"This can happen if you have already activated your account, or if the URL you are trying to use is invalid. Contact your administrator for further assistance.","idx.activating.inactive.user":"Your account has been temporarily suspended. Contact your administrator for further assistance.","idx.request.activation.email":"New activation link requested. If your information matches our records, you will receive a new activation link in your inbox soon.","oie.activation.request.email.title.expire":"Activation link has expired","oie.activation.request.email.title.invalid":"Activation link no longer valid","oie.activation.request.email.title.suspended":"Account suspended","oie.activation.request.email.title.submitted":"Request submitted","oie.activation.request.email.button":"Request activation email","oie.browser.error.NotAllowedError":"The operation either timed out or was not allowed.","authfactor.challenge.soft_token.invalid_passcode":"Your code doesn
1't match our records. Please try again.","authfactor.challenge.soft_token.used_passcode":"Each code can only be used once. Please wait for a new code and try again.","oie.tooManyRequests":"Too many attempts. Try again later.",E0000010:"Server is unable to respond at the moment.","idx.error.registration.unavailable":"Registration is currently unavailable.","idx.error.user.not.assigned.to.app":"User is not assigned to this application.","idx.error.code.user_not_assigned":"You are not allowed to access this app. To request access, contact an admin.","idx.error.code.access_denied.device_assurance.remediation.title":"Your device doesn't meet the security requirements","idx.error.code.access_denied.device_assurance.remediation.explanation_one_rule":"To sign in, make the following updates. Then, access the app again.","idx.error.code.access_denied.device_assurance.remediation.explanation_multiple_rules":"To sign in, pick an option and make the updates. Then, access the app again.","idx.error.code.access_denied.device_assurance.remediation.option_index":"Option {0}:","idx.error.code.access_denied.device_assurance.remediation.android.upgrade_os_version":"Update to Android {0}","idx.error.code.access_denied.device_assurance.remediation.android.upgrade_os_version.at_least":"Update to at least Android {0}","idx.error.code.access_denied.device_assurance.remediation.android.upgrade_os_version.exactly":"Update to exactly Android {0}","idx.error.code.access_denied.device_assurance.remediation.android.upgrade_os_version.one_of_the_following":"Update to one of the following: Android {0}","idx.error.code.access_denied.device_assurance.remediation.android.upgrade_os_version.exactly_one_of_the_following":"Update to exactly one of the following: Android {0}","idx.error.code.access_denied.device_assurance.remediation.android.device_disk_encrypted":"Encrypt your device","idx.error.code.access_denied.device_assurance.remediation.android.use_lock_screen":"Enable lock screen","idx.error.code.access_denied.device_assurance.remediation.android.use_biometric_lock_screen":"Enable lock screen and biometrics","idx.error.code.access_denied.device_assurance.remediation.ios.upgrade_os_version":"Update to iOS {0}","idx.error.code.access_denied.device_assurance.remediation.ios.upgrade_os_version.at_least":"Update to at least iOS {0}","idx.error.code.access_denied.device_assurance.remediation.ios.upgrade_os_version.exactly":"Update to exactly iOS {0}","idx.error.code.access_denied.device_assurance.remediation.ios.upgrade_os_version.one_of_the_following":"Update to one of the following: iOS {0}","idx.error.code.access_denied.device_assurance.remediation.ios.upgrade_os_version.exactly_one_of_the_following":"Update to exactly one of the following: iOS {0}","idx.error.code.access_denied.device_assurance.remediation.ios.use_lock_screen":"Set a passcode for the lock screen","idx.error.code.access_denied.device_assurance.remediation.ios.use_biometric_lock_screen":"Set a passcode for the lock screen and enable Touch ID or Face ID","idx.error.code.access_denied.device_assurance.remediation.macos.upgrade_os_version":"Update to macOS {0}","idx.error.code.access_denied.device_assurance.remediation.macos.upgrade_os_version.at_least":"Update to at least macOS {0}","idx.error.code.access_denied.device_assurance.remediation.macos.upgrade_os_version.exactly":"Update to exactly macOS {0}","idx.error.code.access_denied.device_assurance.remediation.macos.upgrade_os_version.one_of_the_following":"Update to one of the following: macOS {0}","idx.error.code.access_denied.device_assurance.remediation.macos.upgrade_os_version.exactly_one_of_the_following":"Update to exactly one of the following: macOS {0}","idx.error.code.access_denied.device_assurance.remediation.macos.use_lock_screen":"Set a passcode for the lock screen","idx.error.code.access_denied.device_assurance.remediation.macos.device_disk_encrypted":"Turn on FileVault","idx.error.code.access_denied.device_assurance.remediation.windows.upgrade_os_version":"Update to Windows {0}","idx.error.code.access_denied.device_assurance.remediation.windows.upgrade_os_version.at_least":"Update to at least Windows {0}
1","idx.error.code.access_denied.device_assurance.remediation.windows.upgrade_os_version.exactly":"Update to exactly Windows {0}","idx.error.code.access_denied.device_assurance.remediation.windows.upgrade_os_version.one_of_the_following":"Update to one of the following: Windows {0}","idx.error.code.access_denied.device_assurance.remediation.windows.upgrade_os_version.exactly_one_of_the_following":"Update to exactly one of the following: Windows {0}","idx.error.code.access_denied.device_assurance.remediation.windows.device_disk_encrypted":"Encrypt all internal disks with BitLocker","idx.error.code.access_denied.device_assurance.remediation.windows.use_biometric_lock_screen":"Enable Windows Hello for the lock screen","idx.error.code.access_denied.device_assurance.remediation.device.must.be.managed":"Use a device managed by your organization","idx.error.code.access_denied.device_assurance.remediation.additional_help_default":"For more information, follow the instructions on <$1>the help page</$1> or contact your administrator for help","idx.error.code.access_denied.device_assurance.remediation.additional_help_custom":"For more information, follow the instructions on <$1>your organization's help page</$1> or contact your administrator for help","idx.error.code.access_denied.device_assurance.remediation.chrome.antivirus":"Enable antivirus software","idx.error.code.access_denied.device_assurance.remediation.chrome.disk_encrypted":"Turn on disk encryption","idx.error.code.access_denied.device_assurance.remediation.chrome.os_firewall":"Turn on your device's firewall","idx.error.code.access_denied.device_assurance.remediation.chrome.screen_lock_secured":"Turn on automatic screen saver and screen locking when idle","idx.error.code.access_denied.device_assurance.remediation.chrome.upgrade_browser_version":"Update Chrome browser to {0}","idx.error.code.access_denied.device_assurance.remediation.chrome.chromeos.upgrade_os_version":"Update to ChromeOS {0}","idx.error.code.access_denied.device_assurance.remediation.chrome.chromeos.key_trust_level.verified_mode":"Switch your device to verified mode","idx.error.code.access_denied.device_assurance.remediation.chrome.chromeos.key_trust_level.developer_mode":"Switch your device to developer mode","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.play_protect_required":"Please ensure Google Play Protect is enabled and that a scan has been performed, then try accessing this application again","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.play_protect_scan_threshold":"There is a problem with your Google Play Protect system scan. Please open Google Play and take action on the warnings displayed","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.version_update_available":"Your device has an OS update available. Please update your device then log in again","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.disable_usb_debugging":"Turn off USB debugging from Developer Options","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.lock_screen_complexity":"Your lock screen doesn't meet complexity requirements","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.disable_network_proxy":"Your device is using a network proxy. Please disable it then try again","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.unsecured_wifi_network":"Your WiFi network isn't secure. Please disconnect and try again from your phone's mobile cellular connection","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.android_device_policy_app_required":"Install the Android Device Policy app on this device","idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.android_device_policy_app_required_manual_install":"Go to <$1>Settings in Okta Verify</$1> and follow the instructions to install the Android Device Policy app","idx.device_assurance.grace_period.title":"Device assurance reminder","idx.device_assurance.grace_peri
1od.warning.title.due_by_date":"Your device doesn't meet the security requirements. Fix the issue by {0} to prevent lockout.","idx.device_assurance.grace_period.continue_to_app":"Continue to app","oie.enrollment.policy.grace.period.required.today":"Required today","oie.enrollment.policy.grace.period.required.in.days":"Required in {0} days","oie.enrollment.policy.grace.period.required.in.one.day":"Required in 1 day","oie.enrollment.policy.grace.period.required.in.number.of.skips":"{0} skips remaining","oie.enrollment.policy.grace.period.required.in.one.skip":"1 skip remaining","api.policy.okta.account.management.insufficient.authenticators.unable.to.sign.in":"Unable to sign in. Contact support for assistance.","chrome.lna.fastpass.requires.permission.title":"Okta FastPass requires network permission","chrome.lna.error.title":"Unable to sign in","chrome.lna.error.description.intro":"The browser is blocking communication with Okta Verify.","chrome.lna.error.description.step1":"Go to your browser's site settings","chrome.lna.error.description.step2":"Find \u201cLocal network access\u201d or \u201cApps on device\u201d","chrome.lna.error.description.step3":"Change the permission from \u201cBlock\u201d to \u201cAllow\u201d and reload this page","chrome.lna.error.description.more.information":"For more information, follow the instructions on the <$1>Local app access</$1> page or contact your administrator for help."},Re={API_RATE_LIMIT:3e4,WIDGET_LOGIN_CONTAINER_ID:"signin-container",WIDGET_CONTAINER_ID:"okta-sign-in",WIDGET_CONFIG_COLORS_ID:"okta-sign-in-config-colors",DIRECTION_BACK:"DIRECTION_BACK",RECOVERY_TYPE_PASSWORD:"PASSWORD",RECOVERY_TYPE_UNLOCK:"UNLOCK",RECOVERY_FACTOR_TYPE_SMS:"SMS",RECOVERY_FACTOR_TYPE_EMAIL:"EMAIL",RECOVERY_FACTOR_TYPE_CALL:"CALL",IOS:"ios",ANDROID:"android",ODA:"oda",MDM:"mdm",WS1:"ws1",SUCCESS:"SUCCESS",FORGOT_PASSWORD_EMAIL_SENT:"FORGOT_PASSWORD_EMAIL_SENT",UNLOCK_ACCOUNT_EMAIL_SENT:"UNLOCK_ACCOUNT_EMAIL_SENT",CONFIG_ERROR:"CONFIG_ERROR",UNSUPPORTED_BROWSER_ERROR:"UNSUPPORTED_BROWSER_ERROR",OAUTH_ERROR:"OAUTH_ERROR",AUTH_STOP_POLL_INITIATION_ERROR:"AUTH_STOP_POLL_INITIATION_ERROR",U2F_ERROR:"U2F_ERROR",WEB_AUTHN_ERROR:"WEB_AUTHN_ERROR",WEBAUTHN_ABORT_ERROR:"WEBAUTHN_ABORT_ERROR",CONFIGURED_FLOW_ERROR:"CONFIGURED_FLOW_ERROR",CHROME_LOCAL_NETWORK_ACCESS_DENIED_ERROR:"CHROME_LOCAL_NETWORK_ACCESS_DENIED_ERROR",ALL_OPTIONAL_NONE_ENROLLED:"ALL_OPTIONAL_NONE_ENROLLED",ALL_OPTIONAL_SOME_ENROLLED:"ALL_OPTIONAL_SOME_ENROLLED",HAS_REQUIRED_NONE_ENROLLED:"HAS_REQUIRED_NONE_ENROLLED",HAS_REQUIRED_SOME_REQUIRED_ENROLLED:"HAS_REQUIRED_SOME_REQUIRED_ENROLLED",HAS_REQUIRED_ALL_REQUIRED_ENROLLED:"HAS_REQUIRED_ALL_REQUIRED_ENROLLED",PRIMARY_AUTH:"PRIMARY_AUTH",FORGOT_PASSWORD:"FORGOT_PASSWORD",UNLOCK_ACCOUNT:"UNLOCK_ACCOUNT",SESSION_SSO:"SESSION_SSO",SESSION_STEP_UP:"SESSION_STEP_UP",ACTIVATION_EMAIL_SENT:"ACTIVATION_EMAIL_SENT",REGISTRATION_COMPLETE:"REGISTRATION_COMPLETE",REGISTRATION_FAILED:"REGISTRATION_FAILED",IDP_DISCOVERY:"IDP_DISCOVERY",OKTA_VERIFY_APPLE_APP_STORE_URL:"https://apps.apple.com/us/app/okta-verify/id490179405",OKTA_VERIFY_GOOGLE_PLAY_STORE_URL:"https://play.google.com/store/apps/details?id=com.okta.android.auth",LOOPBACK_CHALLENGE:"LOOPBACK",CUSTOM_URI_CHALLENGE:"CUSTOM_URI",UNIVERSAL_LINK_CHALLENGE:"UNIVERSAL_LINK",APP_LINK_CHALLENGE:"APP_LINK",CHROME_DTC:"CHROME_DTC"};class yc extends Error{constructor(n){super(n),Object.setPrototypeOf(this,new.target.prototype)}}class ls extends yc{constructor(n){super(n||ct("error.config")),this.name=Re.CONFIG_ERROR}}class HO extends yc{constructor(n){super(n||ct("error.unsupported.browser")),this.name=Re.UNSUPPORTED_BROWSER_ERROR}}class LEe extends yc{constructor(...n){super(...n),this.name=Re.OAUTH_ERROR}}class G9 extends yc{constructor(...n){super(...n),this.name=Re.REGISTRATION_FAILED}}class FEe extends yc{constructor(...n){super(...n),this.name=Re.AUTH_STOP_POLL_INITIATION_ERROR}}class q9 extends yc{constructor(n){var t,i;super(null===(t=n.xhr)||void 0===t||null===(i=t.responseJSON)||void 0===i?void 0:i.errorSummary),this.xhr=void 0,this.name=Re.U2F_ERROR,this.xhr=n.xhr}}class W9 extends yc{constructor(n){var t,i;super(null===(t=n.xhr)||void 0===t||null===(i=t.responseJSON)||void 0===i?void 0:i.errorSummary),this.xhr=void 0,this.name=Re.WEB_AUTHN_ERROR,this.xhr=n.xhr}}class K9 extends yc{constructor(...n){super(...n),this.name=Re.WEBAUTHN_ABORT_ERROR}}class $Ee extends yc{constructor(n,t){super(n),this.flowSetting=void 0,this.name=Re.CONFIGURED_FLOW_ERROR,this.flowSetting=t}}class Y9 extends yc{constructor(...n){super(...n),this.name=Re.CHROME_LOCAL_NETWORK_ACCESS_DENIED_ERROR}}const mi={},VEe="withCredentials"in new window.XMLHttpRequest,BEe=typeof window.XDomainRequest<"u";function Ja(e,n){var t,i,r;("error"===e||null!==(t=window)&&void 0!==t&&null!==(i=t.OktaSignInDebug)&&void 0!==i&&null!==(r=i.isEnabled)&&void 0!==r&&r.call(i))&&window.console[e].apply(window.console,n)}mi.corsIsNotSupported=function(){return!(VEe||BEe)},mi.corsIsNotEnabled=function(e){return 0===e.status},mi.localStorageIsNotSupported=function(){const e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!1}catch{return!0}},mi.supportsPushState=function(e){return!(!(e=e||window).history||
1!e.history.pushState)},mi.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},mi.isFirefox=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},mi.isEdge=function(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1},mi.isSafari=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("chrome")},mi.isMac=function(){return navigator.platform.toUpperCase().indexOf("MAC")>=0},mi.isAndroid=function(){return/android/i.test(navigator.userAgent)&&!/windows phone/i.test(navigator.userAgent)},mi.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},mi.getChromeLNAPermissionState=function(){var e=V(function*(n){if(navigator.permissions&&"function"==typeof navigator.permissions.query)try{let t;try{t=yield navigator.permissions.query({name:"loopback-network"})}catch{t=yield navigator.permissions.query({name:"local-network-access"})}n(t.state)}catch(t){if(t instanceof Y9)throw t;n(void 0)}else n(void 0)});return function(n){return e.apply(this,arguments)}}(),mi.getUserLanguages=function(){if(navigator.languages)return[...navigator.languages];const e=[];return["language","userLanguage","browserLanguage","systemLanguage"].forEach(function(t){n
1avigator[t]&&e.push(navigator[t])}),e};var zn_info=function(){return Ja("info",arguments)},zn_warn=function(){return Ja("warn",arguments)},zn_error=function(){return Ja("error",arguments)};const Q9="osw.languages";function J9(){let e=JSON.parse(localStorage.getItem(Q9));return(!e||e.version!==gc.version)&&(e={version:gc.version}),e}function HEe(e,n,t){const i=J9();i[e]={login:n,country:t},localStorage.setItem(Q9,JSON.stringify(i))}function X9(e,n,t){const i=n.replace("-","_"),r=t.rewrite(encodeURI(`/labels/json/${e}_${i}.json`));return ofe()(t.baseUrl+r,{method:"GET",headers:{Accept:"application/json"},mode:"cors"}).then(a=>a.text()).then(a=>JSON.parse(a))}function jO(){return(jO=V(function*(e,n,t){if(e===gc.defaultLanguage||!un.contains(t,e))return{};const i=!mi.localStorageIsNotSupported();if(i){const r=J9();if(r[e])return r[e]}try{const[r,o]=yield Promise.all([X9("login",e,n),X9("country",e,n)]);return i&&HEe(e,r,o),{login:r,country:o}}catch{return zn_warn("Unable to load language: "+e),{}}})).apply(this,arguments)}var e,So={login:WC,country:z9,courage:WC,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:(e=V(function*(n,t,i,r){const o=function UEe(e){if(!e)return{};const n={};return un.each(un.keys(e),function(t){n[t.toLowerCase()]=e[t]}),un.mapObject(n,function(t){const i={login:{},country:{}};if(!un.isObject(t))throw new Error('Invalid format for "i18n"');return un.each(t,function(r,o){const s=o.split(/^country\./);s.length>1?i.country[s[1]]=r:i.login[s[0]]=r}),i})}(t),s=n.toLowerCase(),a=yield function jEe(e,n,t){return jO.apply(this,arguments)}(n,i,r);this.login=un.extend({},WC,a.login),this.country=un.extend({},z9,a.country),this.courage=un.extend({},WC,a.login),o[s]&&(un.extend(this.login,o[s].login),un.extend(this.country,o[s].country),un.extend(this.courage,o[s].login)),this.currentLanguage=n}),function(t,i,r,o){return e.apply(this,arguments)})};const ct=function(e,n="login",t=[],i=!1){const r=Z9(n);if(!r)return zO(e,n,"bundle"),"L10N_ERROR["+n+"]";let o=r[e];try{return o=function KEe(e,n){function t(){throw new Error("Mismatch number of variables: "+e+", "+JSON.stringify(n))}let i=e,r=e;for(let o=0,s=n.length;o<s;o++){const a=String(n[o]),l=new RegExp("\\{"+o+"\\}","g");r=r.replace(l,a),(null==a||r===i)&&t(),i=r}return/\{[\d+]\}/.test(r)&&t(),r}(o,t=t&&t.slice?t.slice(0):[]),o||(zO(e,n,"key"),"L10N_ERROR["+e+"]")}catch{return i||zO(e,n,"parameters"),"L10N_ERROR["+e+"]"}};function Z9(e){if(!e){const t=Object.keys(So).filter(i=>"object"==typeof i)[0];return So[t]}const n=(e=>{if(/-/.test(e)){const n=e.split("-");return n[1]=n[1].toUpperCase(),n.join("_")}return e})(function qEe(){var e,n;return(null===(e=window)||void 0===e||null===(n=e.okta)||void 0===n?void 0:n.locale)||"en"}());return So[`${e}_${n}`]||So[e]}function zO(e,n,t){const i=WEe("okta-i18n-error",{detail:{type:"l10n-error",key:e,bundleName:n,reason:t}});i&&document.dispatchEvent(i)}const WEe=function(e,n){if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);if(!window.CustomEvent){n=n||{bubbles:!1,cancelable:!1,detail:null};const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),t}},wt={};function XEe(e){const n=[e],t=e.split("-");for(;t.pop()&&t.length>0;)n.push(t.join("-"));return n}wt.transformErrorXHR=function(e){if(0===e.status&&un.isEmpty(e.responseJSON))return e.responseJSON={errorSummary:ct("error.network.connection","login")},e;if(!e.responseJSON){if(!e.responseText)return e.responseJSON={errorSummary:ct("error.unsupported.response","login")},e;if("string"==typeof e.responseText)try{e.responseJSON=JSON.parse(e.responseText)}catch{return e.responseJSON={errorSummary:ct("error.unsupported.response","login")},e}else"object"==typeof e.responseText&&(e.responseJSON=e.responseText)}if(e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&(e.responseJSON.errorSummary=e.responseJSON.errorCauses[0].errorSummary),!un.isEmpty(e.responseJSON)){const{errorCode:n}=e.responseJSON,t=n&&((e,n="login")=>{const t=Z9(n);return!(null==t||!t[e])}
1)("errors."+n,"login")?ct("errors."+n,"login",[],!0):void 0;-1===t?.indexOf("L10N_ERROR[")&&(e.responseJSON.errorSummary=t,e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&delete e.responseJSON.errorCauses)}return e},wt.toLower=function(e){return un.map(e,function(n){return n.toLowerCase()})},wt.expandLanguages=function(e){return un.chain(e).map(XEe).flatten().uniq().value()},wt.callAfterTimeout=function(e,n){return setTimeout(e,n)},wt.callAfterTimeoutOrWindowRefocus=function(e,n,t=!1){let i,r;const o=()=>{if(document.removeEventListener("visibilitychange",r),!t)return e();setTimeout(e,n)};return r=()=>{document.hidden?clearTimeout(i):o()},document.addEventListener("visibilitychange",r),i=setTimeout(o,n),()=>{clearTimeout(i),document.removeEventListener("visibilitychange",r)}},wt.debugMessage=function(e){zn_warn(`\n${e.replace(/^(\s)+/gm,"")}`)},wt.logConsoleError=function(e){zn_error(e)},wt.triggerAfterError=function(e,n={}){!n.statusCode&&n.xhr&&n.xhr.status&&(n.statusCode=n.xhr.status);const t=un.isFunction(e.className)?e.className():e.className,i=un.pick(n,"name","message","statusCode","xhr");e.trigger("afterError",{controller:t},i),zn_warn("controller: "+t+", error: "+i)},wt.redirect=function(e,n=window,t=!1){mi.isAndroid()&&!t?wt.redirectWithFormGet(e):wt.changeLocation(e,n)},wt.changeLocation=function(e,n=window){e?n.location.href=e:zn_error(`Cannot redirect to empty URL: (${e})`)},wt.executeOnVisiblePage=function(e){if("hidden"===document.visibilityState){const n=()=>{"visible"===document.visibilityState&&(document.removeEventListener("visibilitychange",n),e())};document.addEventListener("visibilitychange",n)}else e()},wt.redirectWithFormGet=function(e){wt.redirectWithForm(e,"get")};{let e=!1;wt.getRedirectWithFormLock=function(){return e},wt.setRedirectWithFormLock=function(){e=!0}}wt.redirectWithForm=function(e,n="post"){if(!e)return void zn_error(`Cannot redirect to empty URL: (${e})`);if(!0===wt.getRedirectWithFormLock())return void zn_error("Cannot redirect with form, already in progress");const t=document.getElementById(Re.WIDGET_CONTAINER_ID);if(!t)return void zn_error("Cannot find okta-sign-in container append to which a form");wt.setRedirectWithFormLock();const i=function(e="",n){const t=e.split("#"),i=t[1],r=(t[0]||"").split("?"),o=r[1];let s=r[0];i&&(s+="#"+i);const a=document.createElement("form");return a.method=n,a.style.display="none",a.action=s,o&&o.length&&o.split("&").forEach(c=>{const u=c.split("="),d=function(e,n){const t=document.createElement("input");return t.name=e,t.value=decodeURIComponent(n),t.type="hidden",t}(u[0],u[1]);a.appendChild(d)}),a.appendChild(function(){const e=document.createElement("input");return e.type="submit",e}()),a}(e,n);t.appendChild(i),i.querySelector('input[type="submit"]').click()},wt.createInputExplain=function(e,n,t,i,r){const o=i?ct(e,t,i):ct(e,t);return o!==(r?ct(n,t,r):ct(n,t))&&o},wt.isV1StateToken=function(e){return!!(e&&un.isString(e)&&e.startsWith("00"))},wt.getAutocompleteValue=function(e,n){return e?.get("features.disableAutocomplete")?"off":n},wt.searchParamsToString=function(e){return Object.keys(e).filter(n=>null!=e[n]).map(n=>encodeURIComponent(n)+"="+encodeURIComponent(e[n])).join("&")};var GO={exports:{}},xl={},oo={__esModule:!0};oo.extend=eH,oo.indexOf=function ike(e,n){for(var t=0,i=e.length;t<i;t++)if(e[t]===n)return t;return-1},oo.escapeExpression=function rke(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return tke.test(e)?e.replace(eke,nke):e},oo.isEmpty=function oke(e){return!e&&0!==e||!(!tH(e)||0!==e.length)},oo.createFrame=function ske(e){var n=eH({},e);return n._parent=e,n},oo.blockParams=function ake(e,n){return e.path=n,e},oo.appendContextPath=function lke(e,n){return(e?e+".":"")+n};var ZEe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},eke=/[&<>"'`=]/g,tke=/[&<>"'`=]/;function nke(e){return ZEe[e]}function eH(e){for(var n=1;n<arguments.length;n++)for(var t in arguments[n])Object.prototype.hasOwnProperty.call(arguments[n],t)&&(e[t]=arguments[n][t]);return e}var qO=Object.prototype.toString;oo.toString=qO;var WO=function(n){return"function"==typeof n};WO(/x/)&&(oo.isFunction=WO=function(e){return"function"==typeof e&&"[object Function]"===qO.call(e)}),oo.isFunction=WO;var tH=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===qO.call(e)};oo.isArray=tH;var fu={exports:{}};
vendor: 1,231 bytes, line 1
1!function(e,n){n.__esModule=!0;var t=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function i(r,o){var s=o&&o.loc,a=void 0,l=void 0,c=void 0,u=void 0;s&&(l=s.end.line,u=s.end.column,r+=" - "+(a=s.start.line)+":"+(c=s.start.column));for(var d=Error.prototype.constructor.call(this,r),f=0;f<t.length;f++)this[t[f]]=d[t[f]];Error.captureStackTrace&&Error.captureStackTrace(this,i);try{s&&(this.lineNumber=a,this.endLineNumber=l,Object.defineProperty?(Object.defineProperty(this,"column",{value:c,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:u,enumerable:!0})):(this.column=c,this.endColumn=u))}catch{}}i.prototype=new Error,n.default=i,e.exports=n.default}(fu,fu.exports);var Gy={},KO={exports:{}};!function(e,n){n.__esModule=!0;var t=oo;n.default=function(i){i.registerHelper("blockHelperMissing",function(r,o){var s=o.inverse,a=o.fn;if(!0===r)return a(this);if(!1===r||null==r)return s(this);if(t.isArray(r))return r.length>0?(o.ids&&(o.ids=[o.name]),i.helpers.each(r,o)):s(this);if(o.data&&o.ids){var l=t.createFrame(o.data);l.contextPath=t.appendContextPath(o.data.contextPath,o.name),o={data:l}}return a(r,o)})},e.exports=n.default}(KO,KO.exports);var YO={exports:{}};
1!function(e,n){n.__esModule=!0;var i=oo,o=function t(s){return s&&s.__esModule?s:{default:s}}(fu.exports);n.default=function(s){s.registerHelper("each",function(a,l){if(!l)throw new o.default("Must pass iterator to #each");var te,c=l.fn,u=l.inverse,d=0,f="",y=void 0,b=void 0;function S(te,mt,$e){y&&(y.key=te,y.index=mt,y.first=0===mt,y.last=!!$e,b&&(y.contextPath=b+te)),f+=c(a[te],{data:y,blockParams:i.blockParams([a[te],te],[b+te,null])})}if(l.data&&l.ids&&(b=i.appendContextPath(l.data.contextPath,l.ids[0])+"."),i.isFunction(a)&&(a=a.call(this)),l.data&&(y=i.createFrame(l.data)),a&&"object"==typeof a)if(i.isArray(a))for(var D=a.length;d<D;d++)d in a&&S(d,d,d===a.length-1);else if(ca.Symbol&&a[ca.Symbol.iterator]){for(var R=[],G=a[ca.Symbol.iterator](),H=G.next();!H.done;H=G.next())R.push(H.value);for(D=(a=R).length;d<D;d++)S(d,d,d===a.length-1)}else te=void 0,Object.keys(a).forEach(function(mt){void 0!==te&&S(te,d-1),te=mt,d++}),void 0!==te&&S(te,d-1,!0);return 0===d&&(f=u(this)),f})},e.exports=n.default}(YO,YO.exports);var QO={exports:{}};
1!function(e,n){n.__esModule=!0;var r=function t(o){return o&&o.__esModule?o:{default:o}}(fu.exports);n.default=function(o){o.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=n.default}(QO,QO.exports);var JO={exports:{}};!function(e,n){n.__esModule=!0;var i=oo,o=function t(s){return s&&s.__esModule?s:{default:s}}(fu.exports);n.default=function(s){s.registerHelper("if",function(a,l){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return i.isFunction(a)&&(a=a.call(this)),!l.hash.includeZero&&!a||i.isEmpty(a)?l.inverse(this):l.fn(this)}),s.registerHelper("unless",function(a,l){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return s.helpers.if.call(this,a,{fn:l.inverse,inverse:l.fn,hash:l.hash})})},e.exports=n.default}(JO,JO.exports);var XO={exports:{}};!function(e,n){n.__esModule=!0,n.default=function(t){t.registerHelper("log",function(){for(var i=[void 0],r=arguments[arguments.length-1],o=0;o<arguments.length-1;o++)i.push(arguments[o]);var s=1;null!=r.hash.level?s=r.hash.level:r.data&&null!=r.data.level&&(s=r.data.level),i[0]=s,t.log.apply(t,i)})},e.exports=n.default}(XO,XO.exports);var ZO={exports:{}};
1!function(e,n){n.__esModule=!0,n.default=function(t){t.registerHelper("lookup",function(i,r,o){return i&&o.lookupProperty(i,r)})},e.exports=n.default}(ZO,ZO.exports);var eI={exports:{}};function $h(e){return e&&e.__esModule?e:{default:e}}(function(e,n){n.__esModule=!0;var i=oo,o=function t(s){return s&&s.__esModule?s:{default:s}}(fu.exports);n.default=function(s){s.registerHelper("with",function(a,l){if(2!=arguments.length)throw new o.default("#with requires exactly one argument");i.isFunction(a)&&(a=a.call(this));var c=l.fn;if(i.isEmpty(a))return l.inverse(this);var u=l.data;return l.data&&l.ids&&((u=i.createFrame(l.data)).contextPath=i.appendContextPath(l.data.contextPath,l.ids[0])),c(a,{data:u,blockParams:i.blockParams([a],[u&&u.contextPath])})})},e.exports=n.default})(eI,eI.exports),Gy.__esModule=!0,Gy.registerDefaultHelpers=function Ske(e){uke.default(e),hke.default(e),pke.default(e),gke.default(e),vke.default(e),bke.default(e),Cke.default(e)},Gy.moveHelperToHooks=function xke(e,n,t){e.helpers[n]&&(e.hooks[n]=e.helpers[n],t||delete e.helpers[n])};var uke=$h(KO.exports),hke=$h(YO.exports),pke=$h(QO.exports),gke=$h(JO.exports),vke=$h(XO.exports),bke=$h(ZO.exports),Cke=$h(eI.exports),tI={},nI={exports:{}};
1(function(e,n){n.__esModule=!0;var t=oo;n.default=function(i){i.registerDecorator("inline",function(r,o,s,a){var l=r;return o.partials||(o.partials={},l=function(c,u){var d=s.partials;s.partials=t.extend({},d,o.partials);var f=r(c,u);return s.partials=d,f}),o.partials[a.args[0]]=a.fn,l})},e.exports=n.default})(nI,nI.exports),tI.__esModule=!0,tI.registerDefaultDecorators=function Ake(e){Tke.default(e)};var Tke=function Eke(e){return e&&e.__esModule?e:{default:e}}(nI.exports),KC={exports:{}};!function(e,n){n.__esModule=!0;var t=oo,i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(o){if("string"==typeof o){var s=t.indexOf(i.methodMap,o.toLowerCase());o=s>=0?s:parseInt(o,10)}return o},log:function(o){if(o=i.lookupLevel(o),typeof console<"u"&&i.lookupLevel(i.level)<=o){var s=i.methodMap[o];console[s]||(s="log");for(var a=arguments.length,l=Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];console[s].apply(console,l)}}};n.default=i,e.exports=n.default}(KC,KC.exports);var nm={},iI={__esModule:!0,createNewLookupObject:function Dke(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return Mke.extend.apply(void 0,[Object.create(null)].concat(n))}},Mke=oo;nm.__esModule=!0,nm.createProtoAccessControl=function Rke(e){var n=Object.create(null);n.constructor=!1,n.__defineGetter__=!1,n.__defineSetter__=!1,n.__lookupGetter__=!1;var t=Object.create(null);return t.__proto__=!1,{properties:{whitelist:nH.createNewLookupObject(t,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:nH.createNewLookupObject(n,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},nm.resultIsAllowed=function Nke(e,n,t){return function iH(e,n){return void 0!==e.whitelist[n]?!0===e.whitelist[n]:void 0!==e.defaultValue?e.defaultValue:(function Lke(e){!0!==YC[e]&&(YC[e]=!0,Pke.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(n),!1)}("function"==typeof e?n.methods:n.properties,t)},nm.resetLoggedProperties=function Fke(){Object.keys(YC).forEach(function(e){delete YC[e]})};var nH=iI,Pke=function Oke(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(KC.exports),YC=Object.create(null);function rH(e){return e&&e.__esModule?e:{default:e}}xl.__esModule=!0,xl.HandlebarsEnvironment=sI;var Vh=oo,rI=rH(fu.exports),Vke=Gy,Bke=tI,QC=rH(KC.exports),Hke=nm;xl.VERSION="4.7.7",xl.COMPILER_REVISION=8,xl.LAST_COMPATIBLE_COMPILER_REVISION=7,xl.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var oI="[object Object]";function sI(e,n,t){this.helpers=e||{},this.partials=n||{},this.decorators=t||{},Vke.registerDefaultHelpers(this),Bke.registerDefaultDecorators(this)}sI.prototype={constructor:sI,logger:QC.default,log:QC.default.log,registerHelper:function(n,t){if(Vh.toString.call(n)===oI){if(t)throw new rI.default("Arg not supported with multiple helpers");Vh.extend(this.helpers,n)}else this.helpers[n]=t},unregisterHelper:function(n){delete this.helpers[n]},registerPartial:function(n,t){if(Vh.toString.call(n)===oI)Vh.extend(this.partials,n);else{if(typeof t>"u")throw new rI.default('Attempting to register a partial called "'+n+'" as undefined');this.partials[n]=t}},unregisterPartial:function(n){delete this.partials[n]},registerDecorator:function(n,t){if(Vh.toString.call(n)===oI){if(t)throw new rI.default("Arg not supported with multiple decorators");Vh.extend(this.decorators,n)}else this.decorators[n]=t},unregisterDecorator:function(n){delete this.decorators[n]},resetLoggedPropertyAccesses:function(){Hke.resetLoggedProperties()}},xl.log=QC.default.log,xl.createFrame=Vh.createFrame,xl.logger=QC.default;var aI={exports:{}};!function(e,n){function t(i){this.string=i}n.__esModule=!0,t.prototype.toString=t.prototype.toHTML=function(){return""+this.string},n.default=t,e.exports=n.default}
vendor: 4,738 bytes, line 1
1(aI,aI.exports);var xd={},lI={__esModule:!0,wrapHelper:function Kke(e,n){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=n(arguments[arguments.length-1]),e.apply(this,arguments)}}};xd.__esModule=!0,xd.checkRevision=function eTe(e){var n=e&&e[0]||1;if(!(n>=gu.LAST_COMPATIBLE_COMPILER_REVISION&&n<=gu.COMPILER_REVISION)){if(n<gu.LAST_COMPATIBLE_COMPILER_REVISION)throw new mu.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+gu.REVISION_CHANGES[gu.COMPILER_REVISION]+") or downgrade your runtime to an older version ("+gu.REVISION_CHANGES[n]+").");throw new mu.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},xd.template=function tTe(e,n){if(!n)throw new mu.default("No environment passed to template");if(!e||!e.main)throw new mu.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,n.VM.checkRevision(e.compiler);var t=e.compiler&&7===e.compiler[0],r={strict:function(a,l,c){if(!a||!(l in a))throw new mu.default('"'+l+'" not defined in '+a,{loc:c});return r.lookupProperty(a,l)},lookupProperty:function(a,l){var c=a[l];if(null==c||Object.prototype.hasOwnProperty.call(a,l)||sH.resultIsAllowed(c,r.protoAccessControl,l))return c},lookup:function(a,l){for(var c=a.length,u=0;u<c;u++)if(null!=(a[u]&&r.lookupProperty(a[u],l)))return a[u][l]},lambda:function(a,l){return"function"==typeof a?a.call(l):a},escapeExpression:pu.escapeExpression,invokePartial:function i(s,a,l){l.hash&&(a=pu.extend({},a,l.hash),l.ids&&(l.ids[0]=!0)),s=n.VM.resolvePartial.call(this,s,a,l);var c=pu.extend({},l,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),u=n.VM.invokePartial.call(this,s,a,c);if(null==u&&n.compile&&(l.partials[l.name]=n.compile(s,e.compilerOptions,n),u=l.partials[l.name](a,c)),null!=u){if(l.indent){for(var d=u.split("\n"),f=0,y=d.length;f<y&&(d[f]||f+1!==y);f++)d[f]=l.indent+d[f];u=d.join("\n")}return u}throw new mu.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")},fn:function(a){var l=e[a];return l.decorator=e[a+"_d"],l},programs:[],program:function(a,l,c,u,d){var f=this.programs[a],y=this.fn(a);return l||d||u||c?f=JC(this,a,y,l,c,u,d):f||(f=this.programs[a]=JC(this,a,y)),f},data:function(a,l){for(;a&&l--;)a=a._parent;return a},mergeIfNeeded:function(a,l){var c=a||l;return a&&l&&a!==l&&(c=pu.extend({},l,a)),c},nullContext:Object.seal({}),noop:n.VM.noop,compilerInfo:e.compiler};function o(s){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=a.data;o._setup(a),!a.partial&&e.useData&&(l=rTe(s,l));var c=void 0,u=e.useBlockParams?[]:void 0;function d(f){return""+e.main(r,f,r.helpers,r.partials,l,u,c)}return e.useDepths&&(c=a.depths?s!=a.depths[0]?[s].concat(a.depths):a.depths:[s]),(d=lH(e.main,d,r,a.depths||[],l,u))(s,a)}return o.isTop=!0,o._setup=function(s){if(s.partial)r.protoAccessControl=s.protoAccessControl,r.helpers=s.helpers,r.partials=s.partials,r.decorators=s.decorators,r.hooks=s.hooks;else{var a=pu.extend({},n.helpers,s.helpers);(function oTe(e,n){Object.keys(e).forEach(function(t){e[t]=function sTe(e,n){var t=n.lookupProperty;return Zke.wrapHelper(e,function(i){return pu.extend({lookupProperty:t},i)})}(e[t],n)})})(a,r),r.helpers=a,e.usePartial&&(r.partials=r.mergeIfNeeded(s.partials,n.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=pu.extend({},n.decorators,s.decorators)),r.hooks={},r.protoAccessControl=sH.createProtoAccessControl(s);var l=s.allowCallsToHelperMissing||t;oH.moveHelperToHooks(r,"helperMissing",l),oH.moveHelperToHooks(r,"blockHelperMissing",l)}},o._child=function(s,a,l,c){if(e.useBlockParams&&!l)throw new mu.default("must pass block params");if(e.useDepths&&!c)throw new mu.default("must pass parent depths");return JC(r,s,e[s],a,0,l,c)},o},xd.wrapProgram=JC,xd.resolvePartial=function nTe(e,n,t){return e?!e.call&&!t.name&&(t.name=e,e=t.partials[e]):e="@partial-block"===t.name?t.data["partial-block"]:t.partials[t.name],e},xd.invokePartial=function iTe(e,n,t){var i=t.data&&t.data["partial-block"];t.partial=!0,t.ids&&(t.data.contextPath=t.ids[0]||t.data.contextPath);var r=void 0;if(t.fn&&t.fn!==aH&&function(){t.data=gu.createFrame(t.data);var o=t.fn;r=t.data["partial-block"]=function(a){var l=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return l.data=gu.createFrame(l.data),l.data["partial-block"]=i,o(a,l)},o.partials&&(t.partials=pu.extend({},t.partials,o.partials))}(),void 0===e&&r&&(e=r),void 0===e)throw new mu.default("The partial "+t.name+" could not be found");if(e instanceof Function)return e(n,t)},xd.noop=aH;
1var pu=function Qke(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(oo),mu=function Yke(e){return e&&e.__esModule?e:{default:e}}(fu.exports),gu=xl,oH=Gy,Zke=lI,sH=nm;function JC(e,n,t,i,r,o,s){function a(l){var c=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u=s;return s&&l!=s[0]&&!(l===e.nullContext&&null===s[0])&&(u=[l].concat(s)),t(e,l,e.helpers,e.partials,c.data||i,o&&[c.blockParams].concat(o),u)}return(a=lH(t,a,e,s,i,o)).program=n,a.depth=s?s.length:0,a.blockParams=r||0,a}function aH(){return""}function rTe(e,n){return(!n||!("root"in n))&&((n=n?gu.createFrame(n):{}).root=e),n}function lH(e,n,t,i,r,o){if(e.decorator){var s={};n=e.decorator(n,s,t,i&&i[0],r,o,i),pu.extend(n,s)}return n}var cI={exports:{}};(function(e,n){n.__esModule=!0,n.default=function(t){var i=typeof ca<"u"?ca:window,r=i.Handlebars;t.noConflict=function(){return i.Handlebars===t&&(i.Handlebars=r),t}},e.exports=n.default})(cI,cI.exports),function(e,n){function t(G){return G&&G.__esModule?G:{default:G}}function i(G){if(G&&G.__esModule)return G;var H={};if(null!=G)for(var te in G)Object.prototype.hasOwnProperty.call(G,te)&&(H[te]=G[te]);return H.default=G,H}n.__esModule=!0;var o=i(xl),a=t(aI.exports),c=t(fu.exports),d=i(oo),y=i(xd),S=t(cI.exports);function D(){var G=new o.HandlebarsEnvironment;return d.extend(G,o),G.SafeString=a.default,G.Exception=c.default,G.Utils=d,G.escapeExpression=d.escapeExpression,G.VM=y,G.template=function(H){return y.template(H,G)},G}var R=D();R.create=D,S.default(R),R.default=R,n.default=R,e.exports=n.default}(GO,GO.exports);var se=FCe(GO.exports);un.mixin({resultCtx:function(e,n,t,i){let r=un.isObject(e)?e[n]:void 0;return un.isFunction(r)&&(r=r.call(t||e)),r||(un.isUndefined(i)?r:i)},isInteger:function(e){return un.isNumber(e)&&e%1==0},template:function(e,n){const t=se.compile(e);if(n)return t(n);const i=function(r){return t(r)};return i.source="",i}});const m=un;var uI_exports={},aTe=Ce(259),Ed=Ce.n(aTe);!function(e,n){const t=Ed();!function(i){var s,r="object"==typeof self&&self.self===self&&self||"object"==typeof ca&&ca.global===ca&&ca,o=UO.exports;try{s=t}catch{}!function(i,r,o,s){var a=i.Backbone,l=Array.prototype.slice;r.VERSION="1.4.0",r.$=s,r.noConflict=function(){return i.Backbone=a,this},r.emulateHTTP=!1,r.emulateJSON=!1;var d,c=r.Events={},u=/\s+/,f=function(O,F,Y,fe,Ie){var yt,Ge=0;if(Y&&"object"==typeof Y)for((void 0!==fe&&"context"in Ie&&void 0===Ie.context&&(Ie.context=fe),yt=o.keys(Y));Ge<yt.length;Ge++)F=f(O,F,yt[Ge],Y[yt[Ge]],Ie);else if(Y&&u.test(Y))for(yt=Y.split(u);Ge<yt.length;Ge++)F=O(F,yt[Ge],fe,Ie);else F=O(F,Y,fe,Ie);return F};c.on=function(O,F,Y){return this._events=f(y,this._events||{},O,F,{context:Y,ctx:this,listening:d}),d&&((this._listeners||(this._listeners={}))[d.id]=d,d.interop=!1),this},c.listenTo=function(O,F,Y){if(!O)return this;var fe=O._listenId||(O._listenId=o.uniqueId("l")),Ie=this._listeningTo||(this._listeningTo={}),Ge=d=Ie[fe];Ge||(this._listenId||(this._listenId=o.uniqueId("l")),Ge=d=Ie[fe]=new H(this,O));var yt=b(O,F,Y,this);if(d=void 0,yt)throw yt;return Ge.interop&&Ge.on(F,Y),this};
vendor: 15,209 bytes, line 1
1var y=function(O,F,Y,fe){if(Y){var Ie=O[F]||(O[F]=[]),Ge=fe.context,yt=fe.ctx,oi=fe.listening;oi&&oi.count++,Ie.push({callback:Y,context:Ge,ctx:Ge||yt,listening:oi})}return O},b=function(O,F,Y,fe){try{O.on(F,Y,fe)}catch(Ie){return Ie}};c.off=function(O,F,Y){return this._events?(this._events=f(S,this._events,O,F,{context:Y,listeners:this._listeners}),this):this},c.stopListening=function(O,F,Y){var fe=this._listeningTo;if(!fe)return this;for(var Ie=O?[O._listenId]:o.keys(fe),Ge=0;Ge<Ie.length;Ge++){var yt=fe[Ie[Ge]];if(!yt)break;yt.obj.off(F,Y,this),yt.interop&&yt.off(F,Y)}return o.isEmpty(fe)&&(this._listeningTo=void 0),this};var S=function(O,F,Y,fe){if(O){var oi,Ie=fe.context,Ge=fe.listeners,yt=0;if(!F&&!Ie&&!Y){for(oi=o.keys(Ge);yt<oi.length;yt++)Ge[oi[yt]].cleanup();return}for(oi=F?[F]:o.keys(O);yt<oi.length;yt++){var Sr=O[F=oi[yt]];if(!Sr)break;for(var Kr=[],xr=0;xr<Sr.length;xr++){var Vi=Sr[xr];if(Y&&Y!==Vi.callback&&Y!==Vi.callback._callback||Ie&&Ie!==Vi.context)Kr.push(Vi);else{var ko=Vi.listening;ko&&ko.off(F,Y)}}Kr.length?O[F]=Kr:delete O[F]}return O}};c.once=function(O,F,Y){var fe=f(D,{},O,F,this.off.bind(this));return"string"==typeof O&&null==Y&&(F=void 0),this.on(fe,F,Y)},c.listenToOnce=function(O,F,Y){var fe=f(D,{},F,Y,this.stopListening.bind(this,O));return this.listenTo(O,fe)};var D=function(O,F,Y,fe){if(Y){var Ie=O[F]=o.once(function(){fe(F,Ie),Y.apply(this,arguments)});Ie._callback=Y}return O};c.trigger=function(O){if(!this._events)return this;for(var F=Math.max(0,arguments.length-1),Y=Array(F),fe=0;fe<F;fe++)Y[fe]=arguments[fe+1];return f(R,this._events,O,void 0,Y),this};var R=function(O,F,Y,fe){if(O){var Ie=O[F],Ge=O.all;Ie&&Ge&&(Ge=Ge.slice()),Ie&&G(Ie,fe),Ge&&G(Ge,[F].concat(fe))}return O},G=function(O,F){var Y,fe=-1,Ie=O.length,Ge=F[0],yt=F[1],oi=F[2];switch(F.length){case 0:for(;++fe<Ie;)(Y=O[fe]).callback.call(Y.ctx);return;case 1:for(;++fe<Ie;)(Y=O[fe]).callback.call(Y.ctx,Ge);return;case 2:for(;++fe<Ie;)(Y=O[fe]).callback.call(Y.ctx,Ge,yt);return;case 3:for(;++fe<Ie;)(Y=O[fe]).callback.call(Y.ctx,Ge,yt,oi);return;default:for(;++fe<Ie;)(Y=O[fe]).callback.apply(Y.ctx,F);return}},H=function(O,F){this.id=O._listenId,this.listener=O,this.obj=F,this.interop=!0,this.count=0,this._events=void 0};H.prototype.on=c.on,H.prototype.off=function(O,F){var Y;this.interop?(this._events=f(S,this._events,O,F,{context:void 0,listeners:void 0}),Y=!this._events):(this.count--,Y=0===this.count),Y&&this.cleanup()},H.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},c.bind=c.on,c.unbind=c.off,o.extend(r,c);var te=r.Model=function(O,F){var Y=O||{};F||(F={}),this.preinitialize.apply(this,arguments),this.cid=o.uniqueId(this.cidPrefix),this.attributes={},F.collection&&(this.collection=F.collection),F.parse&&(Y=this.parse(Y,F)||{});var fe=o.result(this,"defaults");Y=o.defaults(o.extend({},fe,Y),fe),this.set(Y,F),this.changed={},this.initialize.apply(this,arguments)};o.extend(te.prototype,c,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(O){return o.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(O){return this.attributes[O]},escape:function(O){return o.escape(this.get(O))},has:function(O){return null!=this.get(O)},matches:function(O){return!!o.iteratee(O,this)(this.attributes)},set:function(O,F,Y){if(null==O)return this;var fe;if("object"==typeof O?(fe=O,Y=F):(fe={})[O]=F,Y||(Y={}),!this._validate(fe,Y))return!1;var Ie=Y.unset,Ge=Y.silent,yt=[],oi=this._changing;this._changing=!0,oi||(this._previousAttributes=o.clone(this.attributes),this.changed={});var Sr=this.attributes,Kr=this.changed,xr=this._previousAttributes;for(var Vi in fe)o.isEqual(Sr[Vi],F=fe[Vi])||yt.push(Vi),o.isEqual(xr[Vi],F)?delete Kr[Vi]:Kr[Vi]=F,Ie?delete Sr[Vi]:Sr[Vi]=F;if(this.idAttribute in fe&&(this.id=this.get(this.idAttribute)),!Ge){yt.length&&(this._pending=Y);for(var ko=0;ko<yt.length;ko++)this.trigger("change:"+yt[ko],this,Sr[yt[ko]],Y)}if(oi)return this;if(!Ge)for(;this._pending;)Y=this._pending,this._pending=!1,this.trigger("change",this,Y);return this._pending=!1,this._changing=!1,this},unset:function(O,F){return this.set(O,void 0,o.extend({},F,{unset:!0}))},clear:function(O){var F={};for(var Y in this.attributes)F[Y]=void 0;return this.set(F,o.extend({},O,{unset:!0}))},hasChanged:function(O){return null==O?!o.isEmpty(this.changed):o.has(this.changed,O)},changedAttributes:function(O){if(!O)return!!this.hasChanged()&&o.clone(this.changed);var fe,F=this._changing?this._previousAttributes:this.attributes,Y={};for(var Ie in O){var Ge=O[Ie];o.isEqual(F[Ie],Ge)||(Y[Ie]=Ge,fe=!0)}return!!fe&&Y},previous:function(O){return null!=O&&this._previousAttributes?this._previousAttributes[O]:null},previousAttributes:function(){return o.clone(this._previousAttributes)},fetch:function(O){O=o.extend({parse:!0},O);var F=this,Y=O.success;return O.success=function(fe){var Ie=O.parse?F.parse(fe,O):fe;if(!F.set(Ie,O))return!1;Y&&Y.call(O.context,F,fe,O),F.trigger("sync",F,fe,O)},kc(this,O),this.sync("read",this,O)},save:function(O,F,Y){var fe;null==O||"object"==typeof O?(fe=O,Y=F):(fe={})[O]=F;var Ie=(Y=o.extend({validate:!0,parse:!0},Y)).wait;if(fe&&!Ie){if(!this.set(fe,Y))return!1}else if(!this._validate(fe,Y))return!1;var Ge=this,yt=Y.success,oi=this.attributes;Y.success=function(xr){Ge.attributes=oi;var Vi=Y.parse?Ge.parse(xr,Y):xr;if(Ie&&(Vi=o.extend({},fe,Vi)),Vi&&!Ge.set(Vi,Y))return!1;yt&&yt.call(Y.context,Ge,xr,Y),Ge.trigger("sync",Ge,xr,Y)},kc(this,Y),fe&&Ie&&(this.attributes=o.extend({},oi,fe));var Sr=this.isNew()?"create":Y.patch?"patch":"update";"patch"===Sr&&!Y.attrs&&(Y.attrs=fe);var Kr=this.sync(Sr,this,Y);return this.attributes=oi,Kr},destroy:function(O){O=O?o.clone(O):{};var F=this,Y=O.success,fe=O.wait,Ie=function(){F.stopListening(),F.trigger("destroy",F,F.collection,O)};O.success=function(yt){fe&&Ie(),Y&&Y.call(O.context,F,yt,O),F.isNew()||F.trigger("sync",F,yt,O)};var Ge=!1;return this.isNew()?o.defer(O.success):(kc(this,O),Ge=this.sync("delete",this,O)),fe||Ie(),Ge},url:function(){var O=o.result(this,"urlRoot")||o.result(this.collection,"url")||Lu();if(this.isNew())return O;var F=this.get(this.idAttribute);return O.replace(/[^\/]$/,"$&/")+encodeURIComponent(F)},parse:function(O,F){return O},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(O){return this._validate({},o.extend({},O,{validate:!0}))},_validate:function(O,F){if(!F.validate||!this.validate)return!0;O=o.extend({},this.attributes,O);var Y=this.validationError=this.validate(O,F)||null;return!Y||(this.trigger("invalid",this,Y,o.extend(F,{validationError:Y})),!1)}});var mt=r.Collection=function(O,F){F||(F={}),this.preinitialize.apply(this,arguments),F.model&&(this.model=F.model),void 0!==F.comparator&&(this.comparator=F.comparator),this._reset(),this.initialize.apply(this,arguments),O&&this.reset(O,o.extend({silent:!0},F))},$e={add:!0,remove:!0,merge:!0},gt={add:!0,remove:!1},nn=function(O,F,Y){Y=Math.min(Math.max(Y,0),O.length);var Ge,fe=Array(O.length-Y),Ie=F.length;for(Ge=0;Ge<fe.length;Ge++)fe[Ge]=O[Ge+Y];for(Ge=0;Ge<Ie;Ge++)O[Ge+Y]=F[Ge];for(Ge=0;Ge<fe.length;Ge++)O[Ge+Ie+Y]=fe[Ge]};o.extend(mt.prototype,c,{model:te,preinitialize:function(){},initialize:function(){},toJSON:function(O){return this.map(function(F){return F.toJSON(O)})},sync:function(){return r.sync.apply(this,arguments)},add:function(O,F){return this.set(O,o.extend({merge:!1},F,gt))},remove:function(O,F){F=o.extend({},F);var Y=!o.isArray(O);O=Y?[O]:O.slice();var fe=this._removeModels(O,F);return!F.silent&&fe.length&&(F.changes={added:[],merged:[],removed:fe},this.trigger("update",this,F)),Y?fe[0]:fe},set:function(O,F){if(null!=O){(F=o.extend({},$e,F)).parse&&!this._isModel(O)&&(O=this.parse(O,F)||[]);var Y=!o.isArray(O);O=Y?[O]:O.slice();var fe=F.at;null!=fe&&(fe=+fe),fe>this.length&&(fe=this.length),fe<0&&(fe+=this.length+1);var Lr,Yr,Ie=[],Ge=[],yt=[],oi=[],Sr={},Kr=F.add,xr=F.merge,Vi=F.remove,ko=!1,Fu=this.comparator&&null==fe&&!1!==F.sort,Tc=o.isString(this.comparator)?this.comparator:null;for(Yr=0;Yr<O.length;Yr++){var ys=this.get(Lr=O[Yr]);if(ys){if(xr&&Lr!==ys){var _f=this._isModel(Lr)?Lr.attributes:Lr;F.parse&&(_f=ys.parse(_f,F)),ys.set(_f,F),yt.push(ys),Fu&&!ko&&(ko=ys.hasChanged(Tc))}Sr[ys.cid]||(Sr[ys.cid]=!0,Ie.push(ys)),O[Yr]=ys}else Kr&&(Lr=O[Yr]=this._prepareModel(Lr,F))&&(Ge.push(Lr),this._addReference(Lr,F),Sr[Lr.cid]=!0,Ie.push(Lr))}if(Vi){for(Yr=0;Yr<this.length;Yr++)Sr[(Lr=this.models[Yr]).cid]||oi.push(Lr);oi.length&&this._removeModels(oi,F)}var Lm=!1;if(Ie.length&&!Fu&&Kr&&Vi?(Lm=this.length!==Ie.length||o.some(this.models,function(Fm,bf){return Fm!==Ie[bf]}),this.models.length=0,nn(this.models,Ie,0),this.length=this.models.length):Ge.length&&(Fu&&(ko=!0),nn(this.models,Ge,fe??this.length),this.length=this.models.length),ko&&this.sort({silent:!0}),!F.silent){for(Yr=0;Yr<Ge.length;Yr++)null!=fe&&(F.index=fe+Yr),(Lr=Ge[Yr]).trigger("add",Lr,this,F);(ko||Lm)&&this.trigger("sort",this,F),(Ge.length||oi.length||yt.length)&&(F.changes={added:Ge,removed:oi,merged:yt},this.trigger("update",this,F))}return Y?O[0]:O}},reset:function(O,F){F=F?o.clone(F):{};for(var Y=0;Y<this.models.length;Y++)this._removeReference(this.models[Y],F);return F.previousModels=this.models,this._reset(),O=this.add(O,o.extend({silent:!0},F)),F.silent||this.trigger("reset",this,F),O},push:function(O,F){return this.add(O,o.extend({at:this.length},F))},pop:function(O){var F=this.at(this.length-1);return this.remove(F,O)},unshift:function(O,F){return this.add(O,o.extend({at:0},F))},shift:function(O){var F=this.at(0);return this.remove(F,O)},slice:function(){return l.apply(this.models,arguments)},get:function(O){if(null!=O)return this._byId[O]||this._byId[this.modelId(this._isModel(O)?O.attributes:O)]||O.cid&&this._byId[O.cid]},has:function(O){return null!=this.get(O)},at:function(O){return O<0&&(O+=this.length),this.models[O]},where:function(O,F){return this[F?"find":"filter"](O)},findWhere:function(O){return this.where(O,!0)},sort:function(O){var F=this.comparator;if(!F)throw new Error("Cannot sort a set without a comparator");O||(O={});var Y=F.length;return o.isFunction(F)&&(F=F.bind(this)),1===Y||o.isString(F)?this.models=this.sortBy(F):this.models.sort(F),O.silent||this.trigger("sort",this,O),this},pluck:function(O){return this.map(O+"")},fetch:function(O){var F=(O=o.extend({parse:!0},O)).success,Y=this;return O.success=function(fe){Y[O.reset?"reset":"set"](fe,O),F&&F.call(O.context,Y,fe,O),Y.trigger("sync",Y,fe,O)},kc(this,O),this.sync("read",this,O)},create:function(O,F){var Y=(F=F?o.clone(F):{}).wait;if(!(O=this._prepareModel(O,F)))return!1;Y||this.add(O,F);var fe=this,Ie=F.success;return F.success=function(Ge,yt,oi){Y&&fe.add(Ge,oi),Ie&&Ie.call(oi.context,Ge,yt,oi)},O.save(null,F),O},parse:function(O,F){return O},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(O){return O[this.model.prototype.idAttribute||"id"]},values:function(){return new gn(this,on)},keys:function(){return new gn(this,Ht)},entries:function(){return new gn(this,xi)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(O,F){if(this._isModel(O))return O.collection||(O.collection=this),O;(F=F?o.clone(F):{}).collection=this;var Y=new this.model(O,F);return Y.validationError?(this.trigger("invalid",this,Y.validationError,F),!1):Y},_removeModels:function(O,F){for(var Y=[],fe=0;fe<O.length;fe++){var Ie=this.get(O[fe]);if(Ie){var Ge=this.indexOf(Ie);this.models.splice(Ge,1),this.length--,delete this._byId[Ie.cid];var yt=this.modelId(Ie.attributes);null!=yt&&delete this._byId[yt],F.silent||(F.index=Ge,Ie.trigger("remove",Ie,this,F)),Y.push(Ie),this._removeReference(Ie,F)}}return Y},_isModel:function(O){return O instanceof te},_addReference:function(O,F){this._byId[O.cid]=O;var Y=this.modelId(O.attributes);null!=Y&&(this._byId[Y]=O),O.on("all",this._onModelEvent,this)},_removeReference:function(O,F){delete this._byId[O.cid];var Y=this.modelId(O.attributes);null!=Y&&delete this._byId[Y],this===O.collection&&delete O.collection,O.off("all",this._onModelEvent,this)},_onModelEvent:function(O,F,Y,fe){if(F){if(("add"===O||"remove"===O)&&Y!==this)return;if("destroy"===O&&this.remove(F,fe),"change"===O){var Ie=this.modelId(F.previousAttributes()),Ge=this.modelId(F.attributes);Ie!==Ge&&(null!=Ie&&delete this._byId[Ie],null!=Ge&&(this._byId[Ge]=F))}}this.trigger.apply(this,arguments)}});var Tn="function"==typeof Symbol&&Symbol.iterator;Tn&&(mt.prototype[Tn]=mt.prototype.values);var gn=function(O,F){this._collection=O,this._kind=F,this._index=0},on=1,Ht=2,xi=3;Tn&&(gn.prototype[Tn]=function(){return this}),gn.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var F,O=this._collection.at(this._index);if(this._index++,this._kind===on)F=O;else{var Y=this._collection.modelId(O.attributes);F=this._kind===Ht?Y:[Y,O]}return{value:F,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var Nr=r.View=function(O){this.cid=o.uniqueId("view"),this.preinitialize.apply(this,arguments),o.extend(this,o.pick(O,Et)),this._ensureElement(),this.initialize.apply(this,arguments)},br=/^(\S+)\s*(.*)$/,Et=["model","collection","el","id","attributes","className","tagName","events"];o.extend(Nr.prototype,c,{tagName:"div",$:function(O){return this.$el.find(O)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(O){return this.undelegateEvents(),this._setElement(O),this.delegateEvents(),this},_setElement:function(O){this.$el=O instanceof r.$?O:r.$(O),this.el=this.$el[0]},delegateEvents:function(O){if(O||(O=o.result(this,"events")),!O)return this;for(var F in this.undelegateEvents(),O){var Y=O[F];if(o.isFunction(Y)||(Y=this[Y]),Y){var fe=F.match(br);this.delegate(fe[1],fe[2],Y.bind(this))}}return this},delegate:function(O,F,Y){return this.$el.on(O+".delegateEvents"+this.cid,F,Y),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(O,F,Y){return this.$el.off(O+".delegateEvents"+this.cid,F,Y),this},_createElement:function(O){return document.createElement(O)},_ensureElement:function(){if(this.el)this.setElement(o.result(this,"el"));else{var O=o.extend({},o.result(this,"attributes"));this.id&&(O.id=o.result(this,"id")),this.className&&(O.class=o.result(this,"className")),this.setElement(this._createElement(o.result(this,"tagName"))),this._setAttributes(O)}},_setAttributes:function(O){this.$el.attr(O)}});var pe=function(O,F,Y,fe){o.each(Y,function(Ie,Ge){F[Ge]&&(O.prototype[Ge]=function(O,F,Y,fe){switch(F){case 1:return function(){return O[Y](this[fe])};case 2:return function(Ie){return O[Y](this[fe],Ie)};case 3:return function(Ie,Ge){return O[Y](this[fe],Ct(Ie,this),Ge)};case 4:return function(Ie,Ge,yt){return O[Y](this[fe],Ct(Ie,this),Ge,yt)}
vendor: 4,846 bytes, line 1
1;default:return function(){var Ie=l.call(arguments);return Ie.unshift(this[fe]),O[Y].apply(O,Ie)}}}(F,Ie,Ge,fe))})},Ct=function(O,F){return o.isFunction(O)?O:o.isObject(O)&&!F._isModel(O)?en(O):o.isString(O)?function(Y){return Y.get(O)}:O},en=function(O){var F=o.matches(O);return function(Y){return F(Y.attributes)}};o.each([[mt,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[te,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],function(O){var F=O[0],Y=O[1],fe=O[2];F.mixin=function(Ie){var Ge=o.reduce(o.functions(Ie),function(yt,oi){return yt[oi]=0,yt},{});pe(F,Ie,Ge,fe)},pe(F,o,Y,fe)}),r.sync=function(O,F,Y){var fe=lo[O];o.defaults(Y||(Y={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var Ie={type:fe,dataType:"json"};if(Y.url||(Ie.url=o.result(F,"url")||Lu()),null==Y.data&&F&&("create"===O||"update"===O||"patch"===O)&&(Ie.contentType="application/json",Ie.data=JSON.stringify(Y.attrs||F.toJSON(Y))),Y.emulateJSON&&(Ie.contentType="application/x-www-form-urlencoded",Ie.data=Ie.data?{model:Ie.data}:{}),Y.emulateHTTP&&("PUT"===fe||"DELETE"===fe||"PATCH"===fe)){Ie.type="POST",Y.emulateJSON&&(Ie.data._method=fe);var Ge=Y.beforeSend;Y.beforeSend=function(Sr){if(Sr.setRequestHeader("X-HTTP-Method-Override",fe),Ge)return Ge.apply(this,arguments)}}"GET"!==Ie.type&&!Y.emulateJSON&&(Ie.processData=!1);var yt=Y.error;Y.error=function(Sr,Kr,xr){Y.textStatus=Kr,Y.errorThrown=xr,yt&&yt.call(Y.context,Sr,Kr,xr)};var oi=Y.xhr=r.ajax(o.extend(Ie,Y));return F.trigger("request",F,oi,Y),oi};var lo={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var Qi=r.Router=function(O){O||(O={}),this.preinitialize.apply(this,arguments),O.routes&&(this.routes=O.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},ya=/\((.*?)\)/g,va=/(\(\?)?:\w+/g,ur=/\*\w+/g,Ws=/[\-{}\[\]+?.,\\\^$|#\s]/g;o.extend(Qi.prototype,c,{preinitialize:function(){},initialize:function(){},route:function(O,F,Y){o.isRegExp(O)||(O=this._routeToRegExp(O)),o.isFunction(F)&&(Y=F,F=""),Y||(Y=this[F]);var fe=this;return r.history.route(O,function(Ie){var Ge=fe._extractParameters(O,Ie);!1!==fe.execute(Y,Ge,F)&&(fe.trigger.apply(fe,["route:"+F].concat(Ge)),fe.trigger("route",F,Ge),r.history.trigger("route",fe,F,Ge))}),this},execute:function(O,F,Y){O&&O.apply(this,F)},navigate:function(O,F){return r.history.navigate(O,F),this},_bindRoutes:function(){if(this.routes){this.routes=o.result(this,"routes");for(var O,F=o.keys(this.routes);null!=(O=F.pop());)this.route(O,this.routes[O])}},_routeToRegExp:function(O){return O=O.replace(Ws,"\\$&").replace(ya,"(?:$1)?").replace(va,function(F,Y){return Y?F:"([^/?]+)"}).replace(ur,"([^?]*?)"),new RegExp("^"+O+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(O,F){var Y=O.exec(F).slice(1);return o.map(Y,function(fe,Ie){return Ie===Y.length-1?fe||null:fe?decodeURIComponent(fe):null})}});var Cr=r.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},_a=/^[#\/]|\s+$/g,Fa=/^\/+|\/+$/g,Nu=/#.*$/;Cr.started=!1,o.extend(Cr.prototype,c,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(O){return decodeURI(O.replace(/%25/g,"%2525"))},getSearch:function(){var O=this.location.href.replace(/#.*/,"").match(/\?.+/);return O?O[0]:""},getHash:function(O){var F=(O||this).location.href.match(/#(.*)$/);return F?F[1]:""},getPath:function(){var O=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===O.charAt(0)?O.slice(1):O},getFragment:function(O){return null==O&&(O=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),O.replace(_a,"")},start:function(O){if(Cr.started)throw new Error("Backbone.history has already been started");if(Cr.started=!0,this.options=o.extend({root:"/"},this.options,O),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||
1!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(Fa,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var F=this.root.slice(0,-1)||"/";return this.location.replace(F+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var Y=document.body,fe=Y.insertBefore(this.iframe,Y.firstChild).contentWindow;fe.document.open(),fe.document.close(),fe.location.hash="#"+this.fragment}var Ie=window.addEventListener||function(Ge,yt){return attachEvent("on"+Ge,yt)};if(this._usePushState?Ie("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?Ie("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var O=window.removeEventListener||function(F,Y){return detachEvent("on"+F,Y)};this._usePushState?O("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&O("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),Cr.started=!1},route:function(O,F){this.handlers.unshift({route:O,callback:F})},checkUrl:function(O){var F=this.getFragment();if(F===this.fragment&&this.iframe&&(F=this.getHash(this.iframe.contentWindow)),F===this.fragment)return!1;this.iframe&&this.navigate(F),this.loadUrl()},loadUrl:function(O){return!!this.matchRoot()&&(O=this.fragment=this.getFragment(O),o.some(this.handlers,function(F){if(F.route.test(O))return F.callback(O),!0}))},navigate:function(O,F){if(!Cr.started)return!1;(!F||!0===F)&&(F={trigger:!!F}),O=this.getFragment(O||"");var Y=this.root;(""===O||"?"===O.charAt(0))&&(Y=Y.slice(0,-1)||"/");var fe=Y+O;O=O.replace(Nu,"");var Ie=this.decodeFragment(O);if(this.fragment!==Ie){if(this.fragment=Ie,this._usePushState)this.history[F.replace?"replaceState":"pushState"]({},document.title,fe);else{if(!this._wantsHashChange)return this.location.assign(fe);if(this._updateHash(this.location,O,F.replace),this.iframe&&O!==this.getHash(this.iframe.contentWindow)){var Ge=this.iframe.contentWindow;F.replace||(Ge.document.open(),Ge.document.close()),this._updateHash(Ge.location,O,F.replace)}}if(F.trigger)return this.loadUrl(O)}},_updateHash:function(O,F,Y){if(Y){var fe=O.href.replace(/(javascript:|#).*$/,"");O.replace(fe+"#"+F)}else O.hash="#"+F}}),r.history=new Cr;te.extend=mt.extend=Qi.extend=Nr.extend=Cr.extend=function(O,F){var fe,Y=this;return fe=O&&o.has(O,"constructor")?O.constructor:function(){return Y.apply(this,arguments)},o.extend(fe,Y,F),fe.prototype=o.create(Y.prototype,O),fe.prototype.constructor=fe,fe.__super__=Y.prototype,fe};var Lu=function(){throw new Error('A "url" property or function must be specified')},kc=function(O,F){var Y=F.error;F.error=function(fe){Y&&Y.call(F.context,O,fe,F),O.trigger("error",O,fe,F)}}}(r,n,o,s)}()}(0,uI_exports);var Ri=uI_exports,Bh="__STATE__",cH="FETCH_DATA",uH="PAGINATION_DATA",dH="DEFAULT_PARAMS",hH="LINK_BY_HEADER";function lTe(e){return'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.substring(1,e.length-1):e}function uTe(e,n){try{var t=function cTe(e){for(var t=/[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*"))/g,i=e.match(/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*")))*(,|$)/g),r={},o=0;o<i.length;o++){var s=i[o].split(">"),a=s[0].substring(1),l={href:void 0,rel:void 0};l.href=a;for(var c=s[1].match(t),u=0;u<c.length;u++){var d=c[u].split("=");l[d[0]]=lTe(d[1])}void 0!==l.rel&&(r[l.rel]=l)}return r}(n.getResponseHeader("link"));e[Bh].set(hH,!0),e.setPagination(t.next.href)}catch{e[Bh].get(hH)&&e.setPagination(null)}}const hTe={params:{},preinitialize:function(e,n){const t=new Ri.Model,i=m.defaults(n&&n.params||{},m.result(this,"params")||{});t.set(dH,i),this[Bh]=t,m.isFunction(this.model)&&0===this.model.length&&!0!==this.model.isCourageModel&&(this.model=m.result(this,"model")),Ri.Collection.prototype.preinitialize.apply(this,arguments)},sync:function(e,n,t){var i=this,r=t.success;return t.success=function(o,s,a){uTe(i,a),r.apply(null,arguments)},Ri.Collection.prototype.sync.call(this,e,n,t)},fetch:function(e){e||(e={});var n=this[Bh],t=n.get("XHR");return e.data=m.extend({},n.get(dH),e.data||{}),e.fromFetch=!0,n.set(cH,e.data),t&&t.abort&&!1!==e.abort&&t.abort(),t=Ri.Collection.prototype.fetch.call(this,e),n.set("XHR",t),t},setPagination:function(e,n){m.isString(e)&&e&&(e=function dTe(e){for(var n={},t=e&&e.split("?")[1],i=t&&t.split("#")[0],r=i?i.split("&"):[],o=0;o<r.length;o++){var a=decodeURIComponent(r[o]).replace(/\+/g," ").split("=");n[a.shift()]=a.join("=")}return n}(e)),m.isObject(e)&&!m.isArray(e)&&m.size(e)?n&&n.fromFetch&&(e=m.extend({},this.getFetchData(),e)):e=null,this[Bh].set(uH,e)},getFetchData:function(){return this[Bh].get(cH)||{}},getPaginationData:function(){return this[Bh].get(uH)||{}},hasMore:function(){return m.size(this.getPaginationData())>0},fetchMore:function(){if(!this.hasMore())throw new Error("Invalid Request");return this.fetch({data:this.getPaginationData(),add:!0,remove:!1,update:!0})},reset:function(e,n){return n||(n={}),n.fromFetch||this.setPagination(null),Ri.Collection.prototype.reset.apply(this,arguments)}
1,where:function(e,n){return m.isEmpty(e)?n?void 0:[]:this[n?"find":"filter"](function(t){for(var i in e)if(e[i]!==t.get(i))return!1;return!0})},create:function(e,n){return n||(n={}),m.result(e,"urlRoot")||(n.url=m.result(this,"url")),Ri.Collection.prototype.create.call(this,e,n)},_reset:function(){Ri.Collection.prototype._reset.call(this),this._byId=Object.create(null)}},dI=Ri.Collection.extend(hTe);dI.isCourageCollection=!0;const fTe={secureJSON:!1,constructor:function(){dI.apply(this,arguments),m.result(this,"secureJSON")&&(this.sync=m.wrap(this.sync,function(e,n,t,i){return e.call(this,n,t,m.extend({dataType:"secureJSON"},i))}))}};var qy=dI.extend(fTe);function El(e,...n){window.console&&window.okta&&window.okta.debug&&window.console[e](...n)}var kl={trace:function(...e){return El("trace",...e)},dir:function(...e){return El("dir",...e)},time:function(...e){return El("time",...e)},timeEnd:function(...e){return El("timeEnd",...e)},group:function(...e){return El("group",...e)},groupEnd:function(...e){return El("groupEnd",...e)},assert:function(...e){return El("assert",...e)},log:function(...e){return El("log",...e)},info:function(...e){return El("info",...e)},warn:function(...e){return El("warn",...e)},error:function(...e){return El("error",...e)}};function pTe(e){return e&&e.type||e.deps}let ua;function pH(e,n,t,i){var r=m.contains(n,t);return i||(i={}),r||!m.isObject(e)||m.isArray(e)||m.isFunction(e)?void 0!==t&&(i[t]=e):m.each(e,function(o,s){pH(o,n,t?t+"."+s:s,i)}),i}function gTe(e){return m.each(e,function(n,t,i){if(-1!==t.indexOf(".")){for(var r,o=i,s=t.split(".");void 0!==(r=s.shift());)o[r]||(o[r]=s.length?{}:n),o=o[r];delete i[t]}}),e}function mH(e,n){var t={};return t[e.name]=n,t}function hI(e,n){var t;return t=m.isString(e)?{type:e}:m.isArray(e)?{type:e[0],required:e[1],value:e[2]}:m.clone(e),m.defaults(t,{required:!1,name:n}),t}function XC(e,n,t){if(!n.test(e))return t}var vTe={email:function(e){return XC(e,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ua.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return XC(e,/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,ua.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return XC(e,/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ua.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return XC(e,/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/,ua.ERROR_INVALID_FORMAT_HOSTNAME)}};function gH(e,n){var r,o,t=m.partial(mH,e),i=!m.isUndefined(n)&&!m.isNull(n);if(Array.isArray(e.validate)){const l=[];let u,c=!1;return e.validate.forEach(d=>{u=!!n&&("regex"===d.type.toLowerCase()&&new RegExp(d.value.pattern,d.value.flags||"").test(n)),c=c||!u,l.push({message:d.hasOwnProperty("message")?d.message:"",passed:u})}),c?t(l):void 0}if(e.required&&(!i||m.isNull(n)||""===n))return t(ua.ERROR_BLANK);if(r=m["is"+function yTe(e){return e.toLowerCase().replace(/\b[a-z]/g,function(n){return n.toUpperCase()})}(e.type)],i&&"any"!==e.type&&(!m.isFunction(r)||!r(n)))return t(ua.ERROR_WRONG_TYPE);if(n&&"string"===e.type){var s=function bTe(e,n){var t=m.partial(mH,e),i=function _Te(e,n){var t=vTe[e.format];if(e.format&&!t)throw new TypeError(e.format+" is not a supported string format");return t&&t(n)}(e,n);return i?t(i):n&&e.minLength&&n.length<e.minLength?t(ua.ERROR_STRING_STRING_MIN_LENGTH):n&&e.maxLength&&n.length>e.maxLength?t(ua.ERROR_STRING_STRING_MAX_LENGTH):void 0}(e,n);if(s)return s}if(i&&e.values&&!m.contains(e.values,n))return t(ua.ERROR_NOT_ALLOWED);if(m.isFunction(e.validate)){var a=e.validate(n);if(m.isString(a)&&a)return t(a);if(!1===a)return t(ua.ERROR_INVALID)}return i&&"array"===e.type&&(o=function wTe(e,n){if(e.minItems&&n.length<e.minItems)return"model.validation.field.array.minItems";if(e.maxItems&&n.length>
1e.maxItems)return"model.validation.field.array.maxItems";if(e.uniqueItems&&n.length>m.uniq(n).length)return ua.ERROR_IARRAY_UNIQUE;if(e.items)for(var t=hI(e.items,"placeholder"),i=0;i<n.length;i++){var o=gH(t,n[i]);if(o)return o.placeholder}}(e,n))?t(o):void 0}const CTe={props:{},derived:{},local:{},flat:!0,defaults:{},preinitialize:function(e,...n){this.options=e||{};var t=this.__schema__={},i=[];t.computedProperties={},t.props=m.clone(m.result(this,"props")||{}),t.derived=m.clone(m.result(this,"derived")||{}),t.local=m.clone(m.result(this,"local")||{});var r={};if(m.each(m.extend({},t.props,t.local),function(s,a){var l=hI(s,a);m.isUndefined(l.value)||(r[a]=l.value),"object"===l.type&&i.push(a)},this),m.size(r)){var o=m.result(this,"defaults");this.defaults=function(){return m.defaults({},r,o)}}this.validate=m.wrap(this.validate,function(s){var a=m.rest(arguments),l=m.extend(this._validateSchema.apply(this,a),s.apply(this,a));return m.size(l)&&l||void 0}),this.parse=m.wrap(this.parse,function(s){var a=s.apply(this,m.rest(arguments));return m.result(this,"flat")&&(a=pH(a,i)),a}),Ri.Model.prototype.preinitialize.call(this,e,...n)},constructor:function(){Ri.Model.apply(this,arguments);var e=this.__schema__;m.each(e.derived,function(n,t){e.computedProperties[t]=this.__getDerivedValue(t);var i=pTe(n)&&n.deps||[];i.length&&this.on("cache:clear change:"+i.join(" change:"),function(){var r=this.__getDerivedValue(t);r!==e.computedProperties[t]&&(e.computedProperties[t]=r,this.trigger("change:"+t,this,r))},this)},this),this.on("sync",function(){this.__syncedData=this.toJSON()},this)},validate:function(){},allows:function(e){var n=this.__schema__,t=m.extend({},n.props,n.local);return m.has(t,e)||kl.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var n=this.__schema__;return m.reduce([n.props,n.local],function(t,i){return t||hI(i[e],e)},null)},set:function(e,n){var t;"object"==typeof e?t=e:(t={})[e]=n,m.each(t,function(r,o){if(m.has(this.__schema__.derived,o))throw new Error(`overriding derived properties is not supported: ${o}`)},this);var i=[];if(m.each(t,function(r,o){this.allows(o)||i.push(o)},this),i.length)throw new Error(`field not allowed: ${i.join(", ")}`);return Ri.Model.prototype.set.apply(this,arguments)},get:function(e){var n=this.__schema__;return m.has(n.derived,e)?!1!==n.derived[e].cache?n.computedProperties[e]:this.__getDerivedValue(e):Ri.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var n=m.clone(Ri.Model.prototype.toJSON.apply(this,arguments)),t=this.__schema__;return e.verbose?m.each(t.derived,function(i,r){n[r]=this.get(r)},this):n=m.omit(n,m.keys(t.local)),this.flat&&(n=gTe(n)),n},reset:function(e){this.clear(e),this.set(m.result(this,"defaults"),e)},isSynced:function(){return m.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var n=e&&this.getPropertySchema(e);return n&&gH(n,this.get(e))},_validateSchema:function(){var e=this.__schema__;return m.reduce(m.extend({},e.props,e.local),function(n,t,i){return m.extend(n,this.validateField(i)||{})},{},this)},__getDerivedValue:function(e){var n=this.__schema__.derived[e];if(m.isString(n)){var t=n;n={deps:[t],fn:function(){return this.get(t)}}}return n.fn.apply(this,m.map(n.deps||[],this.get,this))}};ua=Ri.Model.extend(CTe,{ERROR_BLANK:"model.validation.field.blank",ERROR_WRONG_TYPE:"model.validation.field.wrong.type",ERROR_NOT_ALLOWED:"model.validation.field.value.not.allowed",ERROR_INVALID:"model.validation.field.invalid",ERROR_IARRAY_UNIQUE:"model.validation.field.array.unique",ERROR_INVALID_FORMAT_EMAIL:"model.validation.field.invalid.format.email",ERROR_INVALID_FORMAT_URI:"model.validation.field.invalid.format.uri",ERROR_INVALID_FORMAT_IPV4:"model.validation.field.invalid.format.ipv4",ERROR_INVALID_FORMAT_HOSTNAME:"model.validation.field.invalid.format.hostname",ERROR_STRING_STRING_MIN_LENGTH:"model.validation.field.string.minLength",ERROR_STRING_STRING_MAX_LENGTH:"model.validation.field.string.maxLength"}),ua.isCourageModel=!0;var fI=ua,_r=fI.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},preinitialize:function(){this.local=m.defaults({},m.result(this,"local"),this._builtInLocalProps),fI.prototype.preinitialize.apply(this,arguments)},constructor:function(){fI.apply(this,arguments),m.result(this,"secureJSON")&&(this.sync=m.wrap(this.sync,function(e,n,t,i){return e.call(this,n,t,m.extend({dataType:"secureJSON"},i))}))}});const STe=function(e){const n=m.omit(e.local,m.keys(e._builtInLocalProps));return m.size(e.props)+m.size(n)>0},xTe={flat:!1,constructor:function(){_r.apply(this,arguments),this.on("sync",this._setSynced)},allows:function(){return!STe(this)||_r.prototype.allows.apply(this,arguments)},set:function(e,n){let t;return"object"==typeof e?t=e:(t={})[e]=n,m(t).each(function(i,r){!i||!m.isArray(i.__attributes)||this.on("change:"+i.__attributes.join(" change:"),function(){const o=this.get(r);o!==this.__schema__.computedProperties[r]&&(this.__schema__.computedProperties[r]=o,this.trigger("change:"+r,o))},this)},this),_r.prototype.set.apply(this,arguments)},get:function(){const e=_r.prototype.get.apply(this,arguments);return m.isFunction(e)?e.apply(this,m.map(e.__attributes||[],this.get,this)):e},toJSON:function(e){e||(e={});const n=_r.prototype.toJSON.apply(this,arguments);return m(n).each(function(t,i){"function"==typeof t&&(e.verbose?n[i]=this.get(i):delete n[i])},this),e.verbose||m(n).each(function(t,i){/^__\w+__$/.test(i)&&delete n[i]}),n},sanitizeAttributes:function(e){const n={};return m.each(e,function(t,i){m.isFunction(t)||(n[i]=t)}),n},reset:function(e){this.clear(e),this.set(this.sanitizeAttributes(this.defaults),e)},clear:function(e){const n={};return m.each(this.sanitizeAttributes(this.attributes),function(t,i){n[i]=void 0}),this.set(n,m.extend({},e,{unset:!0}))},_setSynced:function(e){this._syncedData=e&&m.isFunction(e.toJSON)?e.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return m.isEqual(this._getSynced(),this.toJSON())}};var Hi=_r.extend(xTe,{ComputedProperty:function(e,n){return n||"function"!=typeof e?n.__attributes=e:n=e,n}});Ed().ajaxSetup({beforeSend:function(e){e.setRequestHeader("X-Okta-XsrfToken",Ed()("#_xsrfToken").text())},converters:{"text secureJSON":function(e){return"while(1){};"===e.substring(0,11)&&(e=e.substring(11)),JSON.parse(e)}}});const Qt=Ed();window.jQueryCourage=Qt;
1const kTe={"&":"&","<":"<",">":">",""":'"',"'":"'","'":"'","/":"/"},TTe=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@(?!-)((\[?[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\]?)|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,pI=e=>{if(/-/.test(e)){const n=e.split("-");return n[1]=n[1].toUpperCase(),n.join("_")}return e};function mI(){return window&&window.okta&&window.okta.locale?window.okta.isEnableBcp47OktaUi?window.okta.locale:window.okta.locale.toLowerCase():"en"}function yH(e){if(!e)return So[m.keys(So)[0]];const n=pI(mI());return So[`${e}_${n}`]||So[e]}function ATe(e,n){n=n||{bubbles:!1,cancelable:!1,detail:null};var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),t}function Wy(e,n,t){if(window.CustomEvent||(window.CustomEvent=ATe),"function"==typeof window.CustomEvent){const i=new CustomEvent("okta-i18n-error",{detail:{type:"l10n-error",key:e,bundleName:n,reason:t}});document.dispatchEvent(i)}}const Mi={getRawLocale:function(){return mI()},getParsedLocale:function(){return pI(mI())},isLocaleBundleExist:function(e,n){const t=pI(n);return!!So[`${e}_${t}`]},sprintf:function(){const e=Array.prototype.slice.apply(arguments);let n=e.shift(),t=n;function i(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+JSON.stringify(e))}for(var r=0,o=e.length;r<o;r++){const s=e[r],a=new RegExp("\\{"+r+"\\}","g");n=n.replace(a,s),(null==s||n===t)&&i(),t=n}return/\{[\d+]\}/.test(n)&&i(),n},parseQuery:function(e){const n={},t=decodeURIComponent(e.replace(/\+/g," ")).split("&");for(var i=0;i<t.length;i++){const o=t[i].split("=");n[o.shift()]=o.join("=")}return n},encodeJSObject:function(e){return encodeURIComponent(JSON.stringify(e))},decodeJSObject:function(e){try{return JSON.parse(decodeURIComponent(e))}catch{return null}},unescapeHtml:function(e){return String(e).replace(/&[\w#\d]{2,};/g,function(n){return kTe[n]||n})},getTemplate:function(e,n){const t=yH(n);return t?t[e]?t[e]:(Wy(e,n,"key"),"L10N_ERROR["+e+"]"):(Wy(e,n,"bundle"),"L10N_ERROR["+n+"]")},localize:function(e,n,t){const i=yH(n);if(!i)return Wy(e,n,"bundle"),"L10N_ERROR["+n+"]";let r=i[e];try{return(t=t&&t.slice?t.slice(0):[]).unshift(r),r=Mi.sprintf.apply(null,t),r||(Wy(e,n,"key"),"L10N_ERROR["+e+"]")}catch{return Wy(e,n,"parameters"),"L10N_ERROR["+e+"]"}},parseFloat:function(e){const n=+e;return"string"==typeof e&&n===parseFloat(e)?n:e},parseInt:function(e){const n=+e;return m.isString(e)&&n===parseInt(e,10)?n:e},parseObject:function(e){if(!m.isString(e))return e;try{const n=JSON.parse(e);return Qt.isPlainObject(n)?n:e}catch{return e}},randomString:function(e){const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===e)e=m.random(n.length);else if(0===e)return"";const t=[];for(;e--;)t.push(n[m.random(n.length-1)]);return t.join("")},endsWith:function(e,n){return(e+="").length>=(n+="").length&&e.substring(e.length-n.length)===n},isEmail:function(e){const n=Qt.trim(e);return!m.isEmpty(n)&&TTe.test(n)}},kd=Mi.localize,hn={STRING:"string",NUMBER:"number",INTEGER:"integer",BOOLEAN:"boolean",OBJECT:"object",FORMATDISPLAYTYPE:{"date-time":"date",uri:"uri",email:"email","country-code":"country-code","language-code":"language-code",country_code:"country_code",language_code:"language_code",locale:"locale",timezone:"timezone","ref-id":"reference"},ARRAYDISPLAYTYPE:{arrayofobject:"arrayofobject",arrayofstring:"arrayofstring",arrayofnumber:"arrayofnumber",arrayofinteger:"arrayofinteger","arrayofref-id":"arrayofref-id"},DISPLAYTYPES:{date:{type:"string",format:"date-time"},uri:{type:"string",format:"uri"},email:{type:"string",format:"email"},"country-code":{type:"string",format:"country-code"},"language-code":{type:"string",format:"language-code"},country_code:{type:"string"},language_code:{type:"string"},locale:{type:"string",format:"locale"},timezone:{type:"string",format:"timezone"},string:{type:"string"},number:{type:"number"},boolean:{type:"boolean"},integer:{type:"integer"},reference:{type:"string",format:"ref-id"},arrayofobject:{type:"array",items:{type:"object"}},arrayofstring:{type:"array",items:{type:"string"}},arrayofnumber:{type:"array",items:{type:"number"}},arrayofinteger:{type:"array",items:{type:"integer"}},"arrayofref-id":{type:"array",items:{type:"string",format:"ref-id"}},image:{type:"image"},password:{type:"string"}},SUPPORTSMINMAX:["string","number","integer","password"],SUPPORTENUM:["string","number","integer","object","arrayofstring","arrayofnumber","arrayofinteger","arrayofobject"],DATATYPE:{string:"string",number:"number",boolean:"boolean",integer:"integer",date:"datetime",object:"object",arrayofobject:"object array",arrayofstring:"string array",arrayofnumber:"number array",arrayofinteger:"integer array","arrayofref-id":"reference array","country-code":"country code","language-code":"language code",country_code:"country code",language_code:"language code",reference:"reference",timezone:"timezone",image:"image"},MUTABILITY:{READONLY:"READ_ONLY",WRITEONLY:"WRITE_ONLY",READWRITE:"READ_WRITE",IMMUTABLE:"IMMUTABLE"},SCOPE:{NONE:"NONE",SELF:"SELF",SYSTEM:"SYSTEM"},DISPLAYSCOPE:{SELF:"User personal",SYSTEM:"System",NA:"None"},UNION:{DISABLE:"DISABLE",ENABLE:"ENABLE"},UNION_OPTIONS:{DISABLE:kd("universal-directory.profiles.attribute.form.union.enable.display","courage"),ENABLE:kd("universal-directory.profiles.attribute.form.union.disable.display","courage")},PERMISSION:{HIDE:"HIDE",READ_ONLY:"READ_ONLY",WRITE_ONLY:"WRITE_ONLY",READ_WRITE:"READ_WRITE"},ENDUSER_ATTRIBUTE_PERMISSION_OPTIONS:{HIDE:kd("universal-directory.profiles.attribute.enduser.permission.hide","courage"),READ_ONLY:kd("universal-directory.profiles.attribute.enduser.permission.readonly","courage"),READ_WRITE:kd("universal-directory.profiles.attribute.enduser.permission.readwrite","courage")},ATTRIBUTE_LEVEL_MASTERING_OPTIONS:{INHERIT:kd("universal-directory.profiles.attribute.source.inherit","courage"),OKTA_MASTERED:kd("universal-directory.profiles.attribute.source.oktamastered","courage"),OVERRIDE:kd("universal-directory.profiles.attribute.source.override","courage")},USERNAMETYPE:{NONE:"non-username",OKTA_TO_APP:"okta-to-app-username",OKTA_TO_AD:"okta-to-ad-username",APP_TO_OKTA:"app-to-okta-username",IDP_TO_OKTA:"idp-to-okta-username"},LOGINPATTERNFORMAT:{EMAIL:"EMAIL",CUSTOM:"CUSTOM",NONE:"NONE"},UNIQUENESS:{NOT_UNIQUE:"NOT_UNIQUE",PENDING_UNIQUENESS:"PENDING_UNIQUENESS",UNIQUE_VALIDATED:"UNIQUE_VALIDATED"},getDisplayType:function(e,n,t,i){let r;return e&&(r=n?this.FORMATDISPLAYTYPE[n]:t?this.ARRAYDISPLAYTYPE[e+"of"+t]:e),r||(r=typeof i>"u"?"":i),r},getSourceUsernameType:function(e,n,t){let i=this.USERNAMETYPE.NONE;return"oktaToApp"===e?"userName"===n?i=this.USERNAMETYPE.OKTA_TO_APP:"cn"===n&&(i=this.USERNAMETYPE.OKTA_TO_AD):"appToOkta"===e&&"login"===n&&(i="saml_idp"===t?this.USERNAMETYPE.IDP_TO_OKTA:this.USERNAMETYPE.APP_TO_OKTA),i},isArrayDataType:function(e){return m.contains(m.values(this.ARRAYDISPLAYTYPE),e)},isObjectDataType:function(e){return this.DATATYPE.object===e}},gI="name",yI="_enum_";function vH(e){return _H(e)?m.reduce(e,function(n,t,i){return n[wH(i)]=t.title,n},{}):{}}function vI(e){return m.all(e,Qt.isPlainObject)?_H(e)?e:function ITe(e){const n=m.partial(m.has,m,gI);return m.all(e,n)?m.chain(e).filter(function(t){return Qt.isPlainObject(t)&&m.has(t,gI)}).map(function(t){return{const:t,title:t[gI]}}
1).value():bH(e)}(e):bH(e)}function _H(e){return m.isArray(e)&&m.all(e,function(n){return m.has(n,"const")&&m.has(n,"title")})}function bH(e){return m.map(e,function(n){return{const:n,title:OTe(n)}})}function OTe(e){return m.isObject(e)?JSON.stringify(e):m.isNumber(e)?e+"":e}function wH(e){return`${yI}${e}`}function CH(e){const n=m.findIndex(this.options.params.enumOneOf,function(t){return m.isObject(e)?m.isEqual(t.const,e):t.const===e});return n>-1?wH(n):e}function SH(e){if(!m.isString(e)||0!==e.indexOf(yI))return e;const n=e.replace(yI,""),t=this.options.params&&m.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[n]:null;return m.has(t,"const")?t.const:t}function PTe(e){return m.map(e,SH.bind(this))}function RTe(e){return m.map(e,CH.bind(this))}var _I={getEnumInputOptions:function MTe(e){const n=vI(e.enumValues),t={name:e.name,label:e.title,readOnly:e.readOnly,customExplain:e.explain,params:{enumOneOf:n},options:vH(n)};return hn.isArrayDataType(e.displayType)?(t.type="checkboxset",t.to=PTe,t.from=RTe):(t.type="select",t.to=SH,t.from=CH),t.input=null,t},getDropdownOptions:function DTe(e){return m.isArray(e)?vH(vI(e)):{}},convertToOneOf:vI,isConstraintValueMatchType:function VTe(e,n){switch(n){case hn.STRING:return function NTe(e){return m.isString(e)}(e);case hn.NUMBER:return function LTe(e){return m.isNumber(e)||m.isNumber(Mi.parseFloat(Qt.trim(e)))}(e);case hn.INTEGER:return function FTe(e){const n=m.isNumber(e)?e:Mi.parseInt(Qt.trim(e));return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}(e);case hn.OBJECT:return function $Te(e){if(m.isObject(e)&&!m.isArray(e))return!0;const n=Mi.parseObject(Qt.trim(e));return m.isObject(n)&&!m.isArray(n)}(e)}}};const da=Mi.localize,Ky=hn.STRING,ZC=hn.NUMBER,e0=hn.INTEGER,BTe=hn.OBJECT,HTe=Hi.extend({defaults:{description:void 0,minLength:void 0,maxLength:void 0,format:void 0},parse:function(e){if(m.isString(e.format)){const n=/^\/(.+)\/$/.exec(e.format);n&&(e.format=n[1])}return e}}),bI=qy.extend({model:HTe}),jTe=bI.extend({_type:"allOf"}),zTe=bI.extend({_type:"oneOf"}),GTe=bI.extend({_type:"noneOf"}),qTe={string:da("schema.validation.field.value.must.string","courage"),number:da("schema.validation.field.value.must.number","courage"),integer:da("schema.validation.field.value.must.integer","courage"),object:da("schema.validation.field.value.must.object","courage")},WTe=/[^a-zA-Z0-9-]/,KTe={between:"_checkBetweenConstraints",greaterThan:"_checkGreaterThanConstraint",lessThan:"_checkLessThanConstraint",equals:"_checkEqualsConstraint"},EH=Hi.extend({idAttribute:"name",local:{__oneOf__:{type:"array",minItems:1}},defaults:{name:"",title:void 0,type:void 0,description:void 0,required:!1,format:void 0,union:void 0,subSchemas:void 0,settings:{permissions:{SELF:hn.PERMISSION.READ_ONLY}},unique:void 0,__metadata__:void 0,__isSensitive__:Hi.ComputedProperty(["settings"],function(e){return!(!e||!e.sensitive||"NOT_SENSITIVE"===e.sensitive)}),__isPendingSensitive__:Hi.ComputedProperty(["settings"],function(e){return!(!e||!e.sensitive||"PENDING_SENSITIVE"!==e.sensitive)}),__unique__:!1,__isUniqueValidated__:Hi.ComputedProperty(["unique"],function(e){return e===hn.UNIQUENESS.UNIQUE_VALIDATED}),__isPendingUniqueness__:Hi.ComputedProperty(["unique"],function(e){return e===hn.UNIQUENESS.PENDING_UNIQUENESS}),__isUniqueness__:Hi.ComputedProperty(["__isUniqueValidated__","__isPendingUniqueness__"],function(e,n){return e||n}),__canBeSensitive__:Hi.ComputedProperty(["__metadata__"],function(e){return!(!e||!e.sensitivizable)}),__userPermission__:hn.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:Hi.ComputedProperty(["__displayType__"],function(e){return hn.DATATYPE[e]||e}),__supportsMinMax__:!1,__isReadOnly__:Hi.ComputedProperty(["mutability"],function(e){return e===hn.MUTABILITY.READONLY}),__isWriteOnly__:Hi.ComputedProperty(["mutability"],function(e){return e===hn.MUTABILITY.WRITEONLY}),__displayScope__:void 0,__isScopeSelf__:Hi.ComputedProperty(["scope"],function(e){return e===hn.SCOPE.SELF}),__isNoneScopeArrayType__:Hi.ComputedProperty(["__isScopeSelf__","__displayType__"],function(e,n){return!e&&hn.isArrayDataType(n)}),__isImported__:Hi.ComputedProperty(["externalName"],function(e){return!!e}),__isFromBaseSchema__:Hi.ComputedProperty(["__schemaMeta__"],function(e){return e&&"base"
1===e.name}),__enumDefined__:!1,__supportEnum__:Hi.ComputedProperty(["__displayType__"],function(e){return m.contains(hn.SUPPORTENUM,e)}),__isNumberTypeEnum__:Hi.ComputedProperty(["__displayType__"],function(e){return m.contains([hn.NUMBER,hn.ARRAYDISPLAYTYPE.arrayofnumber],e)}),__isIntegerTypeEnum__:Hi.ComputedProperty(["__displayType__"],function(e){return m.contains([hn.INTEGER,hn.ARRAYDISPLAYTYPE.arrayofinteger],e)}),__isObjectTypeEnum__:Hi.ComputedProperty(["__displayType__"],function(e){return m.contains([hn.OBJECT,hn.ARRAYDISPLAYTYPE.arrayofobject],e)}),__isStringTypeEnum__:Hi.ComputedProperty(["__displayType__"],function(e){return m.contains([hn.STRING,hn.ARRAYDISPLAYTYPE.arrayofstring],e)}),__enumConstraintType__:Hi.ComputedProperty(["__isStringTypeEnum__","__isNumberTypeEnum__","__isIntegerTypeEnum__","__isObjectTypeEnum__"],function(e,n,t,i){return e?Ky:n?ZC:t?e0:i?BTe:void 0}),__isEnumDefinedAndSupported__:Hi.ComputedProperty(["__enumDefined__","__supportEnum__"],function(e,n){return e&&n}),__isLoginOfBaseSchema__:Hi.ComputedProperty(["__isFromBaseSchema__","name"],function(e,n){return e&&"login"===n}),__isLoginFormatRestrictionToEmail__:Hi.ComputedProperty(["__loginFormatRestriction__"],function(e){return e===hn.LOGINPATTERNFORMAT.EMAIL})},initialize:function(){Hi.prototype.initialize.apply(this,arguments),this.listenTo(this,"change:__displayType__",this._updateTypeFormatConstraints),this.listenTo(this,"change:type change:format change:items",this._updateDisplayType),this.listenTo(this,"change:__minVal__ change:__maxVal__",this._updateMinMax),this.listenTo(this,"change:__equals__",this._convertEqualsToMinMax),this.listenTo(this,"change:__constraint__",this._setConstraintText),this._setConstraintText(),this._setLoginPattern()},parse:function(e){return"object"===(e=m.clone(e)).type&&"image"===e.extendedType&&(e.type="image"),e.__displayType__=hn.getDisplayType(e.type,e.format,e.items?e.items.format?e.items.format:e.items.type:void 0),this._setRangeConstraints(e),e.__supportsMinMax__=-1!==hn.SUPPORTSMINMAX.indexOf(e.__displayType__),e.__displayScope__=hn.DISPLAYSCOPE[e.scope]||hn.DISPLAYSCOPE.NA,e.settings&&e.settings.permissions&&e.settings.permissions.SELF&&(e.__userPermission__=e.settings.permissions.SELF),this._setMasterOverride(e),this._setSubSchemas(e),this._setUniqueness(e),e}
1,validate:function(){const e=this._validateEnumOneOf();if(e)return e;if(!this.get("__supportsMinMax__")||!this.get("__constraint__"))return;const n=this.get("__constraint__"),t=this[KTe[n]];if(m.isFunction(t))return t.call(this);kl.warn("No constraint handler found for: "+n)},_checkBetweenConstraints:function(){const e=this.get("__minVal__"),n=this.get("__maxVal__");if(!e&&!n)return;if(!e)return{__minVal__:da("schema.validation.field.enter.minimum.number","courage")};if(!n)return{__maxVal__:da("schema.validation.field.enter.maximum.number","courage")};let t=this._checkIntegerConstraints("__minVal__","Min value");return t||(t=this._checkIntegerConstraints("__maxVal__","Max value"),t)?t:+e>=+n?{__maxVal__:da("schema.validation.field.maximum.must.be.greater.than.minimum","courage")}:void 0},_checkGreaterThanConstraint:function(){if(!this.get("__minVal__"))return;return this._checkIntegerConstraints("__minVal__","Constraint")||void 0},_checkLessThanConstraint:function(){if(!this.get("__maxVal__"))return;return this._checkIntegerConstraints("__maxVal__","Constraint")||void 0},_checkEqualsConstraint:function(){if(!this.get("__equals__"))return;return this._checkIntegerConstraints("__equals__","Constraint")||void 0},_checkIntegerConstraints:function(e,n){const t=this.get(e),i={};return isNaN(t)?("Min value"===n?i[e]=da("schema.validation.field.minimum.value.must.be.number","courage"):"Max value"===n?i[e]=da("schema.validation.field.maximum.value.must.be.number","courage"):"Constraint"===n&&(i[e]=da("schema.validation.field.constraint.must.be.number","courage")),i):+t<0?("Min value"===n?i[e]=da("schema.validation.field.minimum.number.must.be.greater.than.zero","courage"):"Max value"===n?i[e]=da("schema.validation.field.maximum.number.must.be.greater.than.zero","courage"):"Constraint"===n&&(i[e]=da("schema.validation.field.number.must.be.greater.than.zero","courage")),i):void 0},_setMasterOverride:function(e){if(e.settings&&e.settings.masterOverride&&e.settings.masterOverride){const n=e.settings.masterOverride.value;m.isArray(n)&&!m.isEmpty(n)?(e.__masterOverrideType__="OVERRIDE",e.__masterOverrideValue__=n||[]):e.__masterOverrideType__=e.settings.masterOverride.type}else e.__masterOverrideType__="INHERIT"},_setRangeConstraints:function(e){e.__displayType__===Ky?(e.__minVal__=e.minLength,e.__maxVal__=e.maxLength):(e.__displayType__===e0||e.__displayType__===ZC)&&(e.__minVal__=e.minimum,e.__maxVal__=e.maximum),e.__minVal__&&e.__maxVal__?e.__minVal__===e.__maxVal__?(e.__constraint__="equals",e.__equals__=e.__minVal__):e.__constraint__="between":!e.__minVal__&&e.__maxVal__?e.__constraint__="lessThan":!e.__maxVal__&&e.__minVal__&&(e.__constraint__="greaterThan")},_setSubSchemas:function(e){e.allOf?e.subSchemas=new jTe(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new zTe(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new GTe(e.noneOf,{parse:!0}))},_setUniqueness:function(e){const n=e&&e.unique;e.__unique__=!(!n||n!==hn.UNIQUENESS.UNIQUE_VALIDATED&&n!==hn.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(!this.get("__isLoginOfBaseSchema__"))return;const e=this.get("pattern");".+"===e?this.set("__loginFormatRestriction__",hn.LOGINPATTERNFORMAT.NONE):e?(this.set("__loginFormatRestriction__",hn.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(e))):this.set("__loginFormatRestriction__",hn.LOGINPATTERNFORMAT.EMAIL)},_updateDisplayType:function(){const e=this.get("type");if(e===Ky&&this.get("format"))this.set("__displayType__",hn.FORMATDISPLAYTYPE[this.get("format")]);else{const n=this.get("items"),t=n&&(n.format?n.format:n.type);this.set("__displayType__",e&&t?hn.ARRAYDISPLAYTYPE[function(e,n){return e+"of"+n}(e,t)]:e)}},_validateEnumOneOf:function(){if(!this.get("__isEnumDefinedAndSupported__"))return;const e=this.get("__oneOf__")||[];if(m.isEmpty(e))return{__oneOf__:da("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(e)){const n=this.get("__enumConstraintType__");return{__oneOf__:qTe[n]}}},_isValidateOneOfConstraint:function(e){const n=this.get("__enumConstraintType__");return m.all(e,function(t){return _I.isConstraintValueMatchType(t.const,n)})},toJSON:function(){let e=Hi.prototype.toJSON.apply(this,arguments);return e.settings={permissions:{}},e.settings.permissions.SELF=this.get("__userPermission__"),this.get("__isSensitive__")&&(e.settings.sensitive=this.get("__isSensitive__")),"image"===this.get("type")&&(e.type="object",e.extendedType="image"),e=this._enumAssignment(e),e=this._attributeOverrideToJson(e),e=this._normalizeUnionValue(e),e=this._patternAssignment(e),e=this._uniquenessAssignment(e),e},_attributeOverrideToJson:function(e){const n=this.get("__masterOverrideType__"),t=this.get("__masterOverrideValue__");return"OKTA_MASTERED"===n?e.settings.masterOverride={type:"OKTA_MASTERED"}:"OVERRIDE"===n&&(e.settings.masterOverride={type:"ORDERED_LIST",value:[]},t instanceof qy?m.each(t.toJSON(),function(i){e.settings.masterOverride.value.push(i.id)}):t instanceof Array&&(e.settings.masterOverride.value=t),m.isEmpty(e.settings.masterOverride.value)&&delete e.settings.masterOverride),"INHERIT"===n&&delete e.settings.masterOverride,e},_normalizeUnionValue:function(e){return this.get("__isNoneScopeArrayType__")||(e.union=void 0),e},_enumAssignment:function(e){if(!this.get("__isEnumDefinedAndSupported__"))return e;const n=this._getEnumOneOfWithTitleCheck();return"array"===this.get("type")?(delete e.items.enum,e.items.oneOf=n):(delete e.enum,e.oneOf=n),e},_patternAssignment:function(e){if(!this.get("__isLoginOfBaseSchema__")||!this.get("__loginFormatRestriction__"))return e;switch(this.get("__loginFormatRestriction__")){case hn.LOGINPATTERNFORMAT.EMAIL:delete e.pattern;break;case hn.LOGINPATTERNFORMAT.CUSTOM:e.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case hn.LOGINPATTERNFORMAT.NONE:e.pattern=".+"}return e},_uniquenessAssignment:function(e){return this.get("__unique__")?this.get("__isUniqueness__")||(e.unique=hn.UNIQUENESS.UNIQUE_VALIDATED):delete e.unique,e},_escapedRegexChar:function(e,n){const t=e.charAt(n);return WTe.test(t)?"\\"+t:t},_buildLoginPattern:function(e){let n="";for(var t=0;t<e.length;t++)n+=this._escapedRegexChar(e,t);return"["+n+"]+"},_extractLoginPattern:function(e){const t=e.match(/^\[(.*)\]\+/);return t?t[1].replace(/\\(.)/g,"$1"):e},_getEnumOneOfWithTitleCheck:function(){const e=this.get("__oneOf__");return m.map(e,function(n){return""!==Qt.trim(n.title)||(n.title=m.isString(n.const)?n.const:JSON.stringify(n.const)),n})},_updateTypeFormatConstraints:function(){const e=this.get("__displayType__");this.unset("format",{silent:!0}),this.unset("items",{silent:!0}),this.set(hn.DISPLAYTYPES[e]),e!==ZC&&e!==e0&&(this.unset("minimum"),this.unset("maximum")),e!==Ky&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==hn.SUPPORTSMINMAX.indexOf(this.get("__displayType__")))},_updateMinMax:function(){let e,n;const t=this.get("__displayType__");
1t===Ky?(e="minLength",n="maxLength"):(t===e0||t===ZC)&&(e="minimum",n="maximum"),this.get("__minVal__")?this.set(e,parseInt(this.get("__minVal__"),10)):this.unset(e),this.get("__maxVal__")?this.set(n,parseInt(this.get("__maxVal__"),10)):this.unset(n)},_convertEqualsToMinMax:function(){const e=this.get("__equals__");e&&(this.set("__minVal__",e),this.set("__maxVal__",e))},_setConstraintText:function(){const e=this.get("__constraint__"),n=this.get("__minVal__"),t=this.get("__maxVal__"),i=this.get("__equals__");switch(e){case"between":this.set("__constraintText__","Between "+n+" and "+t);break;case"greaterThan":this.set("__constraintText__","Greater than "+n);break;case"lessThan":this.set("__constraintText__","Less than "+t);break;case"equals":this.set("__constraintText__","Equals "+i);break;default:this.set("__constraintText__","")}},cleanup:function(){"lessThan"===this.get("__constraint__")?this.unset("__minVal__"):"greaterThan"===this.get("__constraint__")&&this.unset("__maxVal__"),this.get("scope")!==hn.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:hn.SCOPE.SELF},{silent:!0}):this.unset("scope")),this.get("__unique__")||this.unset("unique")},isEnumType:function(){return!!this.getEnumValues()},getEnumValues:function(){return this.get("oneOf")||this.get("enum")||this.get("items")&&this.get("items").oneOf||this.get("items")&&this.get("items").enum},detectHasEnumDefined:function(){const e=this.getEnumValues();!e||(this.set("__oneOf__",_I.convertToOneOf(e)),this.set("__enumDefined__",!0))}}),YTe=qy.extend({model:EH,clone:function(){return new this.constructor(this.toJSON({verbose:!0}),{parse:!0})},areAllReadOnly:function(){return m.all(this.pluck("__isReadOnly__"))},createModelProperties:function(){return this.reduce(function(e,n){const t=n.get("type");return e[n.id]=m.clone(hn.DISPLAYTYPES[t]),-1!==hn.SUPPORTSMINMAX.indexOf(t)&&(e[n.id].minLength=n.get("minLength"),e[n.id].maxLength=n.get("maxLength")),"string"===t&&(e[n.id].format=n.get("format")),e},{})}});var kH={Model:EH,Collection:YTe};const TH=function(e){const n=m.pick(e,"id","name","displayName"),t=m.map(e.schema.properties,function(i,r){return m.extend({name:r},i)});return m.each(t,function(i){i.__schemaMeta__=n,i.__metadata&&(i.__metadata__=i.__metadata,delete i.__metadata)}),t},AH=Hi.extend({defaults:{id:void 0,displayName:void 0,name:void 0},constructor:function(){this.properties=new kH.Collection,Hi.apply(this,arguments)},getProperties:function(){return this.properties},clone:function(){const e=Hi.prototype.clone.apply(this,arguments);return e.getProperties().set(this.getProperties().toJSON({verbose:!0})),e},parse:function(e){const n=TH(e);return this.properties.set(n,{parse:!0}),m.omit(e,"schema")},trimProperty:function(e){return m.omit(e,"name")},toJSON:function(){const e=Hi.prototype.toJSON.apply(this,arguments);return e.schema={properties:{}},this.getProperties().each(function(n){const t=n.toJSON();e.schema.properties[t.name]=this.trimProperty(t)},this),e},save:function(){return this.getProperties().each(function(e){e.cleanup()}),Hi.prototype.save.apply(this,arguments)}}),QTe=qy.extend({model:AH});var JTe={parseProperties:TH,Model:AH,Collection:QTe};const ZTe={local:function(){const e=window.okta&&window.okta.settings||{},n=window.okta&&window.okta.theme||"";return{orgId:["string",!1,e.orgId],orgName:["string",!1,e.orgName],serverStatus:["string",!1,e.serverStatus],persona:["string",!1,e.persona],isDeveloperConsole:["boolean",!1,e.isDeveloperConsole],isPreview:["boolean",!1,e.isPreview],permissions:["array",!0,e.permissions||[]],theme:["string",!1,n]}},constructor:function(){_r.apply(this,arguments),this.features=window._features||[]},hasFeature:function(e){return m.contains(this.features,e)},hasAnyFeature:function(e){return m.some(e,this.hasFeature,this)},hasPermission:function(e){return m.contains(this.get("permissions"),e)},isDsTheme:function(){return"dstheme"===this.get("theme")}};var wI=_r.extend(ZTe),im="__children__",CI="__rendered__",Uh="__parent__",SI="__children_definitions__",xI="__add_to_container__";function MH(e,n){for(var t=0;t<e[im].length;t++)if(n.cid===e[im][t].cid)return t}function EI(){}let Hh;const nAe={preinitialize:function(e){this.options=e||{},m.extend(this,m.pick(this.options,"state","settings")),this[im]=[],this[CI]=!1,this[Uh]=null,this[SI]=this.children,this.__original_initialize__=this.initialize,this.initialize=EI},constructor:function(e,...n){Ri.View.call(this,e),m.each(m.result(this,SI),function(r){this.add.apply(this,m.isArray(r)?r:[r])},this),delete this[SI];const t=m.result(this,"autoRender");if(t&&this.model){var i=m.isArray(t)?m.map(t,function(r){return"change:"+r}).join(" "):"change";this.listenTo(this.model,i,function(){this.render()})}this.initialize=this.__original_initialize__,this.initialize.call(this,e,...n),function tAe(e){var n=/^(?!(?:delegate|undelegate|_))([a-zA-Z0-9]+)(?:Events)$/;m.each(m.allKeys(e),function(t){var i=t.match(n);if(i){var r=m.result(e,t),o=e.options[i[1]]||e[i[1]];!o||!m.isObject(r)||!m.isFunction(o.trigger)||m.each(r,function(s,a){var l=m.isFunction(s)?[s]:m.reduce(s.split(/\s+/),(c,u)=>(m.isFunction(e[u])&&c.push(e[u]),c),[]);m.each(l,function(c){e.listenTo(o,a,c)})})}})}(this)},unregister:function(e){this.stopListening(e);var n=MH(this,e);m.isNumber(n)&&this[im].splice(n,1)},autoRender:!1,template:null,children:[],add:function(e,n,t,i,r){var l,o={},s=m.toArray(arguments);if(m.isFunction(e)&&(!e.prototype||!e.prototype.render))throw new Error("Type passed to add() is not a View");if(m.isObject(n)?(n=(o=n).selector,t=o.bubble,i=o.prepend,r=o.options):m.isObject(t)&&(t=(o=t).bubble,i=o.prepend,r=o.options),m.isString(e)&&(l=e,e=Hh.extend({constructor:function(){try{var c=Ri.$(l);if(1!==c.length)throw new Error("invalid Element");var u=/&(\w+|#x\d+);/g,d=c.prop("outerHTML").replace(u," ").length,f=l.replace(u," ").length;if(d!==f)throw new Error("invalid Element");this.template=c.html(),this.el=c.empty()[0]}catch{this.template=l}Hh.apply(this,arguments)}})),e.prototype&&e.prototype instanceof Hh){var a=m.omit(m.extend({},this.options,r),"el");return s[0]=new e(a),this.add.apply(this,s)}if(m.isNumber(MH(this,e)))throw new Error("Duplicate child");return e[Uh]=this,e[xI]=function(l){return function(){if(l&&1!==e[Uh].$(l).length)throw new Error("Invalid selector: "+l);var c=l?this[Uh].$(l):this[Uh].$el;this.render(),this.delegateEvents(),i?c.prepend(this.el):c.append(this.el)}}.call(e,n),t&&this.listenTo(e,"all",function(){this.trigger.apply(this,arguments)}),this.rendered()&&e[xI](),this[im].push(e),this},removeChildren:function(){return this.each(function(e){e.remove()}),this},remove:function(){return this.removeChildren(),this[Uh]&&this[Uh].unregister(this),Ri.View.prototype.remove.apply(this,arguments)},compileTemplate:function(e){return m.template(e,void 0)},renderTemplate:function(e){if(m.isString(e)&&(e=this.compileTemplate(e)),m.isFunction(e))return e(this.getTemplateData())},getTemplateData:function(){var e=this.model&&this.model.toJSON({verbose:!0})||{},n=m.omit(this.options,["state","settings","model","collection"]);return m.defaults({}
1,e,n)},render:function(){return this.preRender(),function eAe(e){e[CI]=!0;var n=e.renderTemplate(e.template);n?e.$el.html(n):e.length&&e.$el.empty(),e.each(function(t){t[xI]()})}(this),this.postRender(),this},preRender:EI,postRender:EI,rendered:function(){return this[CI]},getChildren:function(){return this.toArray()},at:function(e){return this.getChildren()[e]},invoke:function(e){var n=m.toArray(arguments);return this.each(function(t){t.size()&&t.invoke.apply(t,n),m.isFunction(t[e])&&t[e].apply(t,n.slice(1))}),this}};Hh=Ri.View.extend(nAe),m.each(["each","map","reduce","reduceRight","find","filter","reject","every","some","contains","toArray","size","first","initial","rest","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain","where","findWhere"],function(e){Hh.prototype[e]=function(){var n=m.toArray(arguments);return n.unshift(m.toArray(this[im])),m[e].apply(m,n)}}),Hh.isCourageView=!0;var rm=Hh,rAe={tpl:m.memoize(function(e){return function(n){return se.compile(e)(n)}})};const t0=m.clone(Ri.Events),DH={constructor:function(e,...n){rm.call(this,e,...n),this.module&&this.$el.attr("data-view",this.module.id)},empty:function(){return this.removeChildren()},compileTemplate:rAe.tpl,broadcast:function(){return t0.trigger.apply(t0,arguments),this},listen:function(e,n){return t0.off(e,n),this.listenTo(t0,e,n),this},notify:function(e,n,t){return this.broadcast("notification",m.defaults({message:n,level:e},t)),this},confirm:function(e,n,t,i){let r;return r="object"==typeof e?e:2===arguments.length&&m.isFunction(n)?{title:"Okta",subtitle:e,ok:n}:{title:e,subtitle:n,ok:t,cancelFn:i},m.isFunction(r.ok)&&(r.ok=m.bind(r.ok,this)),m.isFunction(r.cancelFn)&&(r.cancelFn=m.bind(r.cancelFn,this)),this.broadcast("confirmation",r),this},alert:function(e){return m.isString(e)&&(e={subtitle:e}),this.confirm(m.extend({},e,{noCancelButton:!0})),this}};var Bn=rm.extend(DH,{decorate:function(e){const n=e.extend({});return m.defaults(n.prototype,DH),n}});const oAe={level:"success",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1};var kI=Bn.extend({className:"infobox infobox-confirm infobox-confirm-fixed",events:{"click .infobox-dismiss-link":function(e){e.preventDefault(),this.fadeOut()}},template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a class="infobox-dismiss-link" title="'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:108}}}))+'" href="#"><span class="dismiss-icon"></span></a>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<h3>"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:220},end:{line:1,column:229}}}):o)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return(null!=(o=d(t,"if").call(a,null!=n?d(n,"dismissable"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:164}}}))?o:"")+'<span class="icon '+u(typeof(s=null!=(s=d(t,"level")||(null!=n?d(n,"level"):n))?s:l)===c?s.call(a,{name:"level",hash:{},data:r,loc:{start:{line:1,column:182},end:{line:1,column:191}}}):s)+'-16"></span>'+(null!=(o=d(t,"if").call(a,null!=n?d(n,"title"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:203},end:{line:1,column:241}}}))?o:"")+"<p>"+u(typeof(s=null!=(s=d(t,"message")||(null!=n?d(n,"message"):n))?s:l)===c?s.call(a,{name:"message",hash:{},data:r,loc:{start:{line:1,column:244},end:{line:1,column:255}}}):s)+"</p>"},useData:!0}),initialize:function(){if(this.options=m.defaults({},this.options,oAe),!this.options.message)switch(this.options.level){case"success":this.options.message=Mi.localize("notification.default.message.success","courage");break;case"error":this.options.message=Mi.localize("notification.default.message.error","courage");break;case"warning":this.options.message=Mi.localize("notification.default.message.warning","courage")}this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width)},getTemplateData:function(){return m.extend(m.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){this.options.hide&&m.delay(m.bind(this.fadeOut,this),this.options.delay)},fadeOut:function(){this.$el.fadeOut(this.options.fade,m.bind(this.remove,this))}});function OH(e,n){const t=m.result(e,"root")||"";return t&&m.isString(n)?[t,n].join("/").replace(/\/{2,}/g,"/"):n}const sAe={root:"",listen:kI.prototype.listen,constructor:function(e={}){this.el=e.el,this.settings=new wI(m.omit(e,"el")),e.root&&(this.root=e.root),Ri.Router.apply(this,arguments),this.listen("notification",this._notify),this.listen("confirmation",this._confirm)},_confirm:function(e={}){const t=new(void m.pick(e,"title","subtitle","save","ok","cancel","cancelFn","
1noCancelButton","noSubmitButton","content","danger","type","closeOnOverlayClick","buttonOrder"))({model:this.settings});return t.render(),t},_notify:function(e){const n=new kI(e);return Qt("#content").prepend(n.render().el),n},render:function(e,n){this.unload(),n=m.extend(m.pick(this,"settings","el"),n||{}),this.controller=new e(n),this.controller.render()},start:function(...e){Qt(function(){Ri.History.started?kl.error("History has already been started"):Ri.history.start(...e)})},unload:function(){this.controller&&(this.stopListening(this.controller),this.stopListening(this.controller.state),this.controller.remove())},route:function(e,n,t){return Ri.Router.prototype.route.call(this,OH(this,e),n,t)},navigate:function(e,n){return Ri.Router.prototype.navigate.call(this,OH(this,e),n)}};var TI=Ri.Router.extend(sAe),AI=_r.extend({invoke:function(){const e=m.toArray(arguments);e.unshift("__invoke__"),this.trigger.apply(this,e)}});const lAe={preinitialize:function(e={}){if(this.state=m.result(this,"state"),!(this.state instanceof AI||e.state instanceof AI)){const t=m.defaults(function aAe(e){const n={};return m.each(e,function(t,i){m.isNull(t)||(n[i]=t)}),n}(e.state),this.state||{});this.state=new AI(t),delete e.state}e.settings||(e.settings=new wI(m.omit(e||{},"el")),this.listen("notification",TI.prototype._notify),this.listen("confirmation",TI.prototype._confirm)),Bn.prototype.preinitialize.call(this,e)},constructor:function(e={}){let n;Bn.call(this,e),this.listenTo(this.state,"__invoke__",function(){const t=m.toArray(arguments),i=t.shift();m.isFunction(this[i])&&this[i].apply(this,t)}),this.View&&this.View.isCourageView?n=this.View:m.result(this,"View")&&m.result(this,"View").isCourageView&&(n=m.result(this,"View")),n&&this.add(new n(this.toJSON()))},state:{},View:null,render:function(){const e=arguments,n=this;return Qt(function(){Bn.prototype.render.apply(n,e)}),this},toJSON:function(e){return m.extend(m.pick(this,"state","settings","collection","model"),e||{})},remove:function(){return this.removeChildren(),this.stopListening(),this.$el.empty(),this}};var cAe=Bn.extend(lAe);function dAe(e,n){const t=this.model.get(n);return m.isFunction(e)?e.call(this,t):e===t}var n0_applyDoWhen=function(e,n,t){!(e.model&&m.isObject(n)&&m.size(n)&&m.isFunction(t))||function hAe(e,n,t){const i=m.bind(t,e,e,n);e.render=m.wrap(e.render,function(r){const o=r.call(e);return i({animate:!1}),o}),e.listenTo(e.model,function uAe(e){return"change:"+m.keys(e).join(" change:")}(n),function(){i({animate:!0})})}(e,n,function(i,r,o){const s=m.every(m.map(r,dAe,i));t.call(i,s,o)})};const fAe={click:function(e){e.preventDefault(),e.stopPropagation()}};var pAe=Bn.extend({attributes:function(){const n=this.__getAttribute("attrs");return m.extend({"data-se":"button"},n)},tagName:"a",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon '+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"icon")||(null!=n?s(n,"icon"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"icon",hash:{},data:r,loc:{start:{line:1,column:30},end:{line:1,column:38}}}):o)+'"></span>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:67},end:{line:1,column:76}}}):o)},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"icon"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"title"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:54},end:{line:1,column:83}}}))?o:"")},useData:!0}
1),visible:!0,enabled:!0,enableWhen:{},showWhen:{},constructor:function(e){this.options=e||{};const n=this.getTemplateData();this.disabled=!1,Bn.apply(this,arguments),this.$el.addClass("link-button"),n.icon&&(this.$el.addClass("link-button-icon"),n.title||this.$el.addClass("icon-only"))},getTemplateData:function(){return{href:this.__getAttribute("href"),title:this.__getAttribute("title"),icon:this.__getAttribute("icon")}},initialize:function(){n0_applyDoWhen(this,m.resultCtx(this,"enableWhen",this),this.toggle),n0_applyDoWhen(this,m.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){Bn.prototype.render.apply(this,arguments),m.result(this,"enabled")||this.toggle(!1),m.result(this,"visible")||this.toggleVisible(!1);const e=this.getTemplateData();return this.$el.attr("href",e.href||"#"),this},__getAttribute:function(e,n){let t=m.resultCtx(this.options,e,this);return m.isUndefined(t)&&(t=m.result(this,e)),m.isUndefined(t)?n:t},enable:function(){this.toggle(!0)},disable:function(){this.toggle(!1)},show:function(){this.toggleVisible(!0)},hide:function(){this.toggleVisible(!1)},toggle:function(e){const n=!!e&&m.result(this,"enabled");this.disabled=!n,this.$el.toggleClass("link-button-disabled btn-disabled disabled",this.disabled),this.delegateEvents(this.disabled?fAe:null)},toggleVisible:function(e){const n=!e||!m.result(this,"visible");this.$el.toggleClass("hide",n)}});function mAe(e){const n=m.extend(e.click?{click:e.click}:{},e.events||{}),t={};return m.each(n,function(i,r){t[r]=function(o){e.href||(o.preventDefault(),o.stopPropagation()),this.disabled&&"click"===r||i.apply(this,arguments)}}),t}var MI_create=function(e){return(e=m.clone(e)).attrs=e.attributes,delete e.attributes,pAe.extend(m.extend(e,{events:mAe(e)}))};function r0(e){this.options=m.clone(e||{}),this.cid=m.uniqueId("class"),this.initialize.apply(this,arguments)}m.extend(r0.prototype,Ri.Events,{initialize:function(){}}),r0.extend=Ri.Model.extend;var IH={exports:{}};!function(e,n){e.exports=function(){function t(){for(var r=0,o={};r<arguments.length;r++){var s=arguments[r];for(var a in s)o[a]=s[a]}return o}return function i(r){function o(s,a,l){var c;if(arguments.length>1){if("number"==typeof(l=t({path:"/"},o.defaults,l)).expires){var u=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*l.expires),l.expires=u}try{c=JSON.stringify(a),/^[\{\[]/.test(c)&&(a=c)}catch{}return a=r.write?r.write(a,s):encodeURIComponent(String(a)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),s=(s=(s=encodeURIComponent(String(s))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[s,"=",a,l.expires&&"; expires="+l.expires.toUTCString(),l.path&&"; path="+l.path,l.domain&&"; domain="+l.domain,l.secure?"; secure":""].join("")}s||(c={});for(var d=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,y=0;y<d.length;
1y++){var b=d[y].split("="),S=b[0].replace(f,decodeURIComponent),D=b.slice(1).join("=");'"'===D.charAt(0)&&(D=D.slice(1,-1));try{if(D=r.read?r.read(D,S):r(D,S)||D.replace(f,decodeURIComponent),this.json)try{D=JSON.parse(D)}catch{}if(s===S){c=D;break}s||(c[S]=D)}catch{}}return c}return o.get=o.set=o,o.getJSON=function(){return o.apply({json:!0},[].slice.call(arguments))},o.defaults={},o.remove=function(s,a){o(s,"",t(a,{expires:-1}))},o.withConverter=i,o}(function(){})}()}(IH);var Yy=IH.exports;const gAe=/^https/.test(window.location.href);var yAe={setCookie:function(e,n,t){Yy.set(e,n,m.defaults(t||{},{secure:gAe,path:"/"}))},getCookie:function(){return Yy.get.apply(Yy,arguments)},removeCookie:function(){return Yy.remove.apply(Yy,arguments)}},vAe=Ce(997);const bAe=Ce.n(vAe)(),wAe=["success","error","target","text"],CAe=r0.extend({initialize:function(e,n){let t,i,r;n=m.pick(n||{},wAe),m.isString(e)&&(t=e),m.isElement(e)&&(t=e),e instanceof Qt&&(t=e.selector),e instanceof rm&&(t=e.el),m.isFunction(n.target)&&(i=n.target),m.isElement(n.target)&&(i=m.constant(n.target)),m.isString(n.text)?r=m.constant(n.text):m.isFunction(n.text)&&(r=n.text),this.__instance=new bAe(t,{target:i,text:r}),this.done=m.partial(this.__setCallback,"success"),this.error=m.partial(this.__setCallback,"error"),this.done(n.success),this.error(n.error)},__setCallback:function(e,n){if(m.isFunction(n))return this.__instance.on(e,n),this.__instance}});var SAe={attach:function(e,n){return new CAe(e,n)}},vc={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ENTER:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,SPACE:32,BACKSPACE:8,__isKey:function(e,n){return(e.which||e.keyCode)===this[n]},isEnter:function(e){return this.__isKey(e,"ENTER")},isEsc:function(e){return this.__isKey(e,"ESC")},isSpaceBar:function(e){return this.__isKey(e,"SPACE")}},DI={redirect:function(e){window.location=e},reloadPage:function(){window.location.reload()},constantError:function(e){return function(){throw new Error(e)}},getUrlQueryString:function(e){m.isObject(e)||(e={});const n=m.without(m.map(e,function(t,i){if(null!=t)return i+"="+encodeURIComponent(t)}),void 0).join("&");return m.isEmpty(n)?"":"?"+n},isABaseView:function(e){return e instanceof Bn||e.prototype instanceof Bn||e===Bn},isSafari:function(){return/^((?!chrome|android|crios).)*safari/i.test(navigator.userAgent)}};const xAe=se.Utils.escapeExpression;se.Utils.escapeExpression=function(e){return xAe(e).replace(/=/g,"=")};const OI=se.Utils.escapeExpression;function Qy(e){return e&&e.replace(/^\s+|\s+$/g,"")}se.registerHelper("i18n",function(n){let t;const i=Qy(n.hash.code),r=Qy(n.hash.bundle),o=Qy(n.hash.arguments),s=Object.keys(n.hash).filter(c=>c.match(/^\$\d+/)).map(c=>({tag:c,value:n.hash[c]}));o&&(t=m.map(Qy(o).split(";"),function(u){let d;return u=Qy(u),m.each(u.split("."),f=>{d=d?d[f]:this[f]}),d},this));const a=Mi.localize(i,r,t);if(s.length<1)return a;let l=OI(a);try{return s.forEach(c=>{l=function EAe(e,n,t){const i=OI(`<${n}>`),r=OI(`</${n}>`),[o,s]=t.split(n);if(!e.includes(i)&&!e.includes(r))throw Error(`Parsed tag "${n}" is not present in "${e}"`);if(!t.includes(n))throw Error(`Parsed tag "${n}" is not present in "${t}"`);if(!o||!s)throw Error(`Template value "${t}" must contain beginning and closing tags`);return e.replace(i,o).replace(r,s)}(l,c.tag,c.value)}),new se.SafeString(l)}catch(c){return kl.error(c.toString()),a}});var kAe=rm.extend({constructor:function(){if(rm.apply(this,arguments),!this.collection)throw new Error("Missing collection");this.listenTo(this.collection,"reset sort",this.reset),this.listenTo(this.collection,"add",this.addItem),this.fetchCollection?this.collection.fetch():this.collection.each(this.addItem,this)},item:null,itemSelector:null,reset:function(){return this.removeChildren(),this.collection.each((e,n)=>{this.addItem(e,n)}),this},addItem:function(e){var n=this.add(this.item,this.itemSelector,{options:{model:e}}).last();return this.state&&this.state.get("trackItemAdded")&&this.state.trigger("itemAdded",n),n.listenTo(e,"destroy remove",n.remove),this},addShowMore:m.noop}),o0=Bn.decorate(kAe);const TAe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon '+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"icon")||(null!=n?s(n,"icon"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"icon",hash:{},data:r,loc:{start:{line:1,column:96},end:{line:1,column:104}}}):o)+'"></span>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:133},end:{line:1,column:142}}}):o)},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="option-subtitle">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"subtitle")||(null!=n?s(n,"subtitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:192},end:{line:1,column:204}}}):o)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<a href="" class="icon-16 '+u(typeof(s=null!=(s=d(t,"className")||(null!=n?d(n,"className"):n))?s:l)===c?s.call(a,{name:"className",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):s)+'" data-se="'+u(typeof(s=null!=(s=d(t,"seleniumId")||(null!=n?d(n,"seleniumId"):n))?s:l)===c?s.call(a,{name:"seleniumId",hash:{}
1,data:r,loc:{start:{line:1,column:50},end:{line:1,column:64}}}):s)+'">'+(null!=(o=d(t,"if").call(a,null!=n?d(n,"icon"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:66},end:{line:1,column:120}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"title"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:120},end:{line:1,column:149}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"subtitle"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:149},end:{line:1,column:215}}}))?o:"")+"</a>"},useData:!0}),AAe=Bn.extend({tagName:"li",events:{click:function(e){e.preventDefault(),this.action&&this.action.call(this)}},constructor:function(){Bn.apply(this,arguments),this.$el.addClass("okta-dropdown-option option")},render:function(){return this.$el.html(TAe({icon:m.result(this,"icon"),className:m.result(this,"className")||"",title:m.result(this,"title"),subtitle:m.result(this,"subtitle"),seleniumId:m.result(this,"seleniumId")})),m.result(this,"disabled")&&this.disable(),this},disable:function(){this.$el.addClass("option-disabled"),this.$el.find("a").attr("tabindex","-1")}});var MAe=Bn.extend({events:{"click a.option-selected":function(e){e.preventDefault(),m.result(this,"disabled")&&e.stopPropagation()},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},items:[],constructor:function(){const e=this.className;this.className=null,Bn.apply(this,arguments),this.className=e,this.$el.addClass("dropdown more-actions float-l"),m.each(m.result(this,"items"),function(n){this.addOption(n,this.options)},this)},template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon '+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"icon")||(null!=n?s(n,"icon"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"icon",hash:{},data:r,loc:{start:{line:1,column:176},end:{line:1,column:184}}}):o)+'"></span>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="off-screen">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"screenReaderText")||(null!=n?s(n,"screenReaderText"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"screenReaderText",hash:{},data:r,loc:{start:{line:1,column:249},end:{line:1,column:269}}}):o)+"</span>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<a href="#" class="link-button '+u(typeof(s=null!=(s=d(t,"className")||(null!=n?d(n,"className"):n))?s:l)===c?s.call(a,{name:"className",hash:{},data:r,loc:{start:{line:1,column:31},end:{line:1,column:44}}}):s)+' link-button-icon option-selected center" aria-expanded="false" aria-controls="okta-dropdown-options">'+(null!=(o=d(t,"if").call(a,null!=n?d(n,"icon"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:146},end:{line:1,column:200}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"screenReaderText"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:200},end:{line:1,column:283}}}))?o:"")+'<span class="option-selected-text">'+u(typeof(s=null!=(s=d(t,"title")||(null!=n?d(n,"title"):n))?s:l)===c?s.call(a,{name:"title",hash:{},data:r,loc:{start:{line:1,column:318},end:{line:1,column:327}}}):s)+'</span><span class="icon-dm"></span></a><div id="okta-dropdown-options" class="options clearfix"><ul class="okta-dropdown-list options-wrap clearfix"></ul></div>'},useData:!0}),getTemplateData:function(){const e=[m.result(this,"className")||"",m.result(this,"disabled")?"dropdown-disabled":""];return{icon:m.result(this,"icon"),className:Qt.trim(e.join(" ")),title:m.result(this,"title"),screenReaderText:m.result(this,"screenReaderText")}},addOption:function(e,n){this.add(AAe.extend(e),"ul.options-wrap",{options:n||{}})}});const PH=["model","id","inputId","type","label","sublabel","tooltip","name","group"],RH=["wide","multi","input","label-top","explain","explain-top","customExplain","model","name","type","autoRender","multirowError"],NH=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen","group"],LH=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params","autoComplete","sortByKey"],FH=m.uniq(m.union(PH,RH,NH,LH,["errorField"])),$H=["\u2022 ","\u2022 \u2022 ","\u2022 \u2022 \u2022 ","\u2022 \u2022 \u2022 \u2022"," \u2022 \u2022 \u2022"," \u2022 \u2022"," \u2022"," "," "," "];function VH(e){if(e&&!e.__edit__)return m.extend({__edit__:m.constant(!0)},e)}var cs={LABEL_OPTIONS:PH,CONTAINER_OPTIONS:RH,WRAPPER_OPTIONS:NH,INPUT_OPTIONS:LH,generateInputOptions:function UH(e,n,t){e=m.clone(e),m.contains(["list","group"],e.type)&&(e.params=m.defaults({create:t,inputs:m.map(m.isArray(e.input)?e.input:[e.input],function(r){return m.first(UH(r,n,t))})},e.params||{}),delete e.input);const i=m.isArray(e.input)?m.clone(e.input):[e];return m.map(i,function(r){const o=m.defaults({model:n.model},r,m.omit(e,"input","inputs"),n.options,{id:m.uniqueId("input"),readOnly:n.isReadOnly(),read:n.hasReadMode()});return n.isReadOnly()&&(o.read=o.readOnly=!0),o})},changeEventString:function(e){return"change:"+e.join(" change:")}
1,createReadFormButton:function(e){let n,t,i;return"cancel"===e.type?(t=i=Mi.localize("oform.cancel","courage"),n=function(){this.model.trigger("form:cancel")}):(t=Mi.localize("oform.edit","courage"),i=t+" "+e.formTitle,n=function(){this.model.set("__edit__",!0)}),Bn.extend({tagName:"a",className:e.className,attributes:{href:"#","aria-label":i},template:function(){return m.escape(t)},events:{click:function(r){r.preventDefault(),n.call(this)}}})},createButton:function(e){switch((e=m.clone(e)).type){case"save":m.defaults(e,{className:"button-primary"});break;case"cancel":m.defaults(e,{className:"button-clear",text:Mi.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":m.defaults(e,{text:Mi.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return function OAe(e){let n,t,i;return e=m.pick(e||{},"action","id","className","text","type"),Bn.extend({tagName:"input",className:"button",events:{click:function(){e.action&&!this.disabled()&&e.action.call(this)},keyup:function(r){vc.isEnter(r)&&e.action&&!this.disabled()&&e.action.call(this)}},disabled:function(){return!0===this.$el.prop("disabled")},disable:function(){this.$el.prop("disabled",!0),this.$el.addClass("btn-disabled")},enable:function(){this.$el.prop("disabled",!1),this.$el.removeClass("btn-disabled")},initialize:function(){const r=this;this.$el.attr("type","save"===e.type?"submit":"button"),this.$el.val(e.text),e.id&&this.$el.attr("id",e.id),e.className&&this.$el.addClass(e.className),e.type&&this.$el.attr("data-type",e.type),this.$el.mousedown(function(){r.model.set("__pending__",!0)}),this.$el.mouseup(function(){r.model.set("__pending__",!1)}),this.listenTo(this.model,"form:set-saving-state",function(){this.disable(),"save"===e.type&&(clearTimeout(n),n=setTimeout(m.bind(this.__changeSaveText,this),1e3))}),this.listenTo(this.model,"form:clear-saving-state",function(){this.enable(),"save"===e.type&&(clearTimeout(n),clearInterval(t),this.$el.val(e.text))})},__changeSaveText:function(){i=0,clearInterval(t),t=setInterval(m.bind(this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val($H[i++%$H.length])}})}(e)},validateInput:function BH(e,n){if(e||(e={}),"label"===e.type)return void(e.label||kl.warn('A label input must have a "label" parameter',e));if("button"===e.type)return!e.title&&!e.icon&&kl.warn('A button input must have a "title" and/or an "icon" parameter',e),void(!e.click&&!e.href&&kl.warn('A button input must have a "click" and/or an "href" parameter',e));if(!e.name&&!e.input&&kl.warn('Missing "name" or "input" parameters',e),m.isArray(e.name)&&m.isArray(e.input))throw new Error('Not allowed to have both "name" and "input" defined as array.');if("list"!==e.type&&e.name&&n&&n.allows){let r=[];m.isArray(e.name)?r=e.name:r.push(e.name),m.each(r,function(o){if(!n.allows(o))throw new Error("field not allowed: "+e.name)})}m.isArray(e.input)&&"list"!==e.type&&m.each(e.input,function(r){BH(r,n)});const t=m.keys(e),i=m.intersection(t,FH);if(m.size(i)!==m.size(e)){const r=m.clone(FH);kl.warn("Invalid input parameters",m.without(t,...r),e)}}
1,applyShowWhen:function(e,n){n0_applyDoWhen(e,VH(n),function(i,r){r.animate?e.$el["slide"+(i?"Down":"Up")](200,function(i){return function(){e.$el.toggle(i),e.model.trigger("form:resize")}}(i)):e.$el.toggle(i)})},applyToggleWhen:function(e,n){n0_applyDoWhen(e,VH(n),function(t,i){e.$el.toggle(t),e.model.trigger("form:resize"),i.animate&&e.render()})}},IAe=Bn.extend({el:'<span class="o-form-toggle" data-type="header-btn"></span>',formTitle:"",modelEvents:{"change:__edit__":"toggle"},initialize:function(){this.addButton()},addButton:function(){this.model.get("__edit__")?this.add(cs.createReadFormButton({type:"cancel"})):this.add(cs.createReadFormButton({type:"edit",formTitle:this.formTitle,className:"disable-in-read-only"}))},toggle:function(){this.removeChildren(),this.addButton()}});const PAe={className:function(){return"o-form-button-bar"},buttonOrder:["previous","save","cancel"],initialize:function(e){const n={previous:{type:"previous"},save:{type:"save",text:m.resultCtx(e,"save",this),id:m.resultCtx(e,"saveId",this),className:m.resultCtx(e,"saveClassName",this)},cancel:{type:"cancel",text:m.resultCtx(e,"cancel",this)}};this.__getButtonOrder(e).forEach(t=>{this.addButton(n[t])})},addButton:function(e,n){return this.add(cs.createButton(e),n)},__getButtonOrder:function(e){const n=m.resultCtx(e,"buttonOrder",this,this.buttonOrder),t=[];return e.noSubmitButton&&t.push("save"),e.noCancelButton&&t.push("cancel"),e.hasPrevStep||t.push("previous"),m.without(n,...t)}};var HH=Bn.extend(PAe),RAe=Bn.extend({template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<p>"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"errorSummary")||(null!=n?s(n,"errorSummary"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"errorSummary",hash:{},data:r,loc:{start:{line:1,column:130},end:{line:1,column:146}}}):o)+"</p>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<p>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"courage",code:"oform.errorbanner.title"},data:r,loc:{start:{line:1,column:161},end:{line:1,column:217}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span>'+(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"errorSummary"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:107},end:{line:1,column:228}}}))?o:"")+"</div>"},useData:!0}),modelEvents:{"form:clear-errors":"remove"}});const jH=/^([\S]+): (.+)$/;var zH={getResponseJSON:function(e){try{return e.responseJSON||JSON.parse(e.responseText)}catch{}},parseErrorSummary:function(e){const n=e.match(jH);if(n)return[n[1],n[2]]},parseErrorCauseObject:function(e){if(e.property&&e.errorSummary){const n=e.reason?Mi.localize(e.reason):void 0,t=e.errorSummary;return[e.property,-1===n?.indexOf("L10N_ERROR[")?n:t]}},parseErrors:function(e){const n=this.getResponseJSON(e);return m.map(n&&n.errorCauses||[],function(t){return(""+t.errorSummary).replace(jH,"$2")})},parseFieldErrors:function(e){const n=this.getResponseJSON(e),t={};return n?m.each(n.errorCauses||[],function(i){let r=[];if(r=i.property&&i.errorSummary?this.parseErrorCauseObject(i):i.location&&i.errorSummary?[i.location,i.errorSummary]:this.parseErrorSummary(i&&i.errorSummary||""),r){const o=r[0],s=r[1];t[o]||(t[o]=[]),t[o].push(s)}},this):m.isObject(e)&&m.size(e)&&m.each(e,function(i,r){t[r]=[i]}),m.size(t)?t:void 0}};const GH=DI.isABaseView;var NAe=Bn.extend({attributes:function(){return{"data-se":"o-form-input-container"}},className:function(){let e="o-form-input";return this.options.wide&&(e+=" o-form-wide"),m.contains([1,2,3,4],this.options.multi)&&(e+=" o-form-multi-input-"+this.options.multi,m.isArray(this.options.input)&&m.find(this.options.input,function(t){return m.contains(["text+select","select+text"],t.options.type)})&&(e+=" o-form-multi-input-group-"+this.options.multi)),e},_getNames:function(){const e=m.isArray(this.options.name)?this.options.name:[this.options.name];return"group"===this.options.type?e.push.apply(e,m.pluck(this.options.input[0].options.params.inputs,"name")):m.isArray(this.options.name)?this.options.input&&this.options.input.options&&this.options.input.options.name&&e.push(this.options.input.options.name):this.options.input&&(m.isArray(this.options.input)?m.each(this.options.input,function(n){e.push(n.options.name)}):e.push(this.options.input.options.name)),m.uniq(m.compact(e))},_getInputElement:function(){const e=Array.isArray(this.options.input)?m.last(this.options.input):this.options.input,n=e&&e.options&&e.options.inputId,t=n?this.$("#"+n):null;return t&&t.length?t:null},constructor:function(){Bn.apply(this,arguments);const e=this.options["explain-top"]&&this.options["label-top"];this.options.input&&(m.isArray(this.options.input)?m.each(this.options.input,function(t){this.add(t,{prepend:!e})},this):this.add(this.options.input,{prepend:!e})),this.__setExplain(this.options);const n=this._getNames();this.listenTo(this.model,"form:field-error",function(t,i){m.contains(n,t)&&this.__setError(i,e)}),this.listenTo(this.model,"form:clear-errors change:"+n.join(" change:"),this.__clearError),this.listenTo(this.model,"form:clear-error:"+n.join(" form:clear-error:"),this.__clearError),m.resultCtx(this.options,"autoRender",this)&&this.listenTo(this.model,"change:"+this.options.name,this.render),this.__errorState=!1},__setExplain:function(e){let n;if(e.customExplain)return kl.warn("Deprecated - use explain instead of customExplain"),void this.add(this.options.customExplain);n=e.explain,m.isFunction(n)&&!GH(n)&&(n=m.resultCtx(this.options,"explain",this)),n&&(GH(n)?(this.template=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){return'<p class="o-form-explain"></p>'},useData:!0}
1),this.add(n," > .o-form-explain")):this.template=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<p class="o-form-explain">'+t.escapeExpression("function"==typeof(a=null!=(a=l(r,"explain")||(null!=i?l(i,"explain"):i))?a:t.hooks.helperMissing)?a.call(i??(t.nullContext||{}),{name:"explain",hash:{},data:s,loc:{start:{line:1,column:26},end:{line:1,column:37}}}):a)+"</p>"},useData:!0}))},__setError:function(e,n){this.__errorState=!0,this.$el.addClass("o-form-has-errors");const t=m.uniqueId("input-container-error"),i=this.__getHTMLForError(m.flatten(e),t),r=this.$(".o-form-explain").not(".o-form-input-error").first();r.length&&!n?r.before(i):this.$el.append(i);const o=this._getInputElement()||this.$el;o.attr("aria-describedby",t),o.attr("aria-invalid",!0)},__getHTMLForError:function(e,n){const t=se.template({compiler:[8,">= 4.3.0"],main:function(r,o,s,a,l){var c,u=o??(r.nullContext||{}),d=r.hooks.helperMissing,f="function",y=r.escapeExpression,b=r.lookupProperty||function(S,D){if(Object.prototype.hasOwnProperty.call(S,D))return S[D]};return'<p id="'+y(typeof(c=null!=(c=b(s,"errorId")||(null!=o?b(o,"errorId"):o))?c:d)===f?c.call(u,{name:"errorId",hash:{},data:l,loc:{start:{line:1,column:7},end:{line:1,column:18}}}):c)+'" class="okta-form-input-error o-form-input-error o-form-explain" role="alert"><span class="icon icon-16 error-16-small" role="img" aria-label="'+y(typeof(c=null!=(c=b(s,"iconLabel")||(null!=o?b(o,"iconLabel"):o))?c:d)===f?c.call(u,{name:"iconLabel",hash:{},data:l,loc:{start:{line:1,column:162},end:{line:1,column:175}}}):c)+'"></span>'+y(typeof(c=null!=(c=b(s,"text")||(null!=o?b(o,"text"):o))?c:d)===f?c.call(u,{name:"text",hash:{},data:l,loc:{start:{line:1,column:184},end:{line:1,column:192}}}):c)+"</p>"},useData:!0}),i=Mi.localize("oform.error.icon.ariaLabel","courage");if(this.options.multirowError){let r="";return e.forEach(o=>{r+=t({errorId:n,iconLabel:i,text:o})}),r}return t({errorId:n,iconLabel:i,text:e.join(", ")})},__clearError:function(){if(this.__errorState){this.$(".o-form-input-error").remove();const e=this._getInputElement()||this.$el;e.attr("aria-describedby",null),e.attr("aria-invalid",null),this.$el.removeClass("o-form-has-errors"),this.__errorState=!1,m.defer(()=>{this.model.trigger("form:resize")})}},focus:function(){return this.each(function(e){if(e.focus)return e.focus()}),this}});const II={};function qH(e){return m.isFunction(e)?m.isFunction(e.prototype.editMode)&&m.isFunction(e.prototype.readMode):m.isObject(e)&&m.isFunction(e.editMode)&&m.isFunction(e.readMode)}var s0={isBaseInput:qH,register:function(e,n){II[e]=n},get:function(e){const n=II[e.type];return n&&(qH(n)?n:n(e))},unregister:function(e){delete II[e]}};function WH(e,n){return s0.isBaseInput(e)&&e.prototype?new e(m.omit(n,"input")):e}var KH_create=function LAe(e){if((e=m.clone(e)).input)return WH(e.input,e);const n=s0.get(e);if(!n)throw new Error("unknown input: "+e.type);return WH(n,e)},KH_supports=function FAe(e){return!!e.input||!!s0.get(e)};!function(e,n,t){Ed().fn.qtip||function(i){var G,H,te,mt,en,r=!0,o=!1,s=null,a="x",l="y",c="width",u="height",d="top",f="left",y="bottom",b="right",S="center",R="shift",$e={},gt="qtip",nn="data-hasqtip",Tn="data-qtip-id",gn=["ui-widget","ui-tooltip"],on="."+gt,Ht="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),xi=gt+"-fixed",Nr=gt+"-default",br=gt+"-focus",Et=gt+"-hover",St=gt+"-disabled",pe="_replacedByqTip",Ct="oldtitle",di={ie:function(){var x,I;for(x=4,I=n.createElement("div");(I.innerHTML="\x3c!--[if gt IE "+x+"]><i></i><![endif]--\x3e")&&I.getElementsByTagName("i")[0];x+=1);return x>4?x:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||o};function wr(x,I,$,X){this.id=$,this.target=x,this.tooltip=s,this.elements={target:x},this._id=gt+"-"+$,this.timers={img:{}},this.options=I,this.plugins={},this.cache={event:{},target:i(),disabled:o,attr:X,onTooltip:o,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=o}function lo(x){return x===s||"object"!==i.type(x)}function Qi(x){return!(i.isFunction(x)||x&&x.attr||x.length||"object"===i.type(x)&&(x.jquery||x.then))}function ya(x){var I,$,X,Z;return lo(x)?o:(lo(x.metadata)&&(x.metadata={type:x.metadata}),"content"in x&&(lo(I=x.content)||I.jquery||I.done?($=Qi(I)?o:I,I=x.content={text:$}):$=I.text,"ajax"in I&&(Z=(X=I.ajax)&&X.once!==o,delete I.ajax,I.text=function(ce,we){var Ne=$||i(this).attr(we.options.content.attr)||"Loading...",Je=i.aja
vendor: 4,099 bytes, line 1
1x(i.extend({},X,{context:we})).then(X.success,s,X.error).then(function(He){return He&&Z&&we.set("content.text",He),He},function(He,ut,Dt){we.destroyed||0===He.status||we.set("content.text",ut+": "+Dt)});return Z?Ne:(we.set("content.text",Ne),Je)}),"title"in I&&(i.isPlainObject(I.title)&&(I.button=I.title.button,I.title=I.title.text),Qi(I.title||o)&&(I.title=o))),"position"in x&&lo(x.position)&&(x.position={my:x.position,at:x.position}),"show"in x&&lo(x.show)&&(x.show=x.show.jquery?{target:x.show}:x.show===r?{ready:r}:{event:x.show}),"hide"in x&&lo(x.hide)&&(x.hide=x.hide.jquery?{target:x.hide}:{event:x.hide}),"style"in x&&lo(x.style)&&(x.style={classes:x.style}),i.each($e,function(){this.sanitize&&this.sanitize(x)}),x)}function va(x,I){for(var X,$=0,Z=x,ce=I.split(".");Z=Z[ce[$++]];)$<ce.length&&(X=Z);return[X||x,ce.pop()]}function ur(x,I){var $,X,Z;for($ in this.checks)if(this.checks.hasOwnProperty($))for(X in this.checks[$])!this.checks[$].hasOwnProperty(X)||(Z=new RegExp(X,"i").exec(x))&&(I.push(Z),("builtin"===$||this.plugins[$])&&this.checks[$][X].apply(this.plugins[$]||this,I))}(H=wr.prototype)._when=function(x){return i.when.apply(i,x)},H.render=function(x){if(this.rendered||this.destroyed)return this;var I=this,$=this.options,X=this.cache,Z=this.elements,ce=$.content.text,we=$.content.title,Ne=$.content.button,Je=$.position,He=[];return i.attr(this.target[0],"aria-describedby",this._id),X.posClass=this._createPosClass((this.position={my:Je.my,at:Je.at}).my),this.tooltip=Z.tooltip=i("<div/>",{id:this._id,class:[gt,Nr,$.style.classes,X.posClass].join(" "),width:$.style.width||"",height:$.style.height||"",tracking:"mouse"===Je.target&&Je.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":o,"aria-describedby":this._id+"-content","aria-hidden":r}).toggleClass(St,this.disabled).attr(Tn,this.id).data(gt,this).appendTo(Je.container).append(Z.content=i("<div />",{class:gt+"-content",id:this._id+"-content","aria-atomic":r})),this.rendered=-1,this.positioning=r,we&&(this._createTitle(),i.isFunction(we)||He.push(this._updateTitle(we,o))),Ne&&this._createButton(),i.isFunction(ce)||He.push(this._updateContent(ce,o)),this.rendered=r,this._setWidget(),i.each($e,function(ut){var Dt;"render"===this.initialize&&(Dt=this(I))&&(I.plugins[ut]=Dt)}),this._unassignEvents(),this._assignEvents(),this._when(He).then(function(){I._trigger("render"),I.positioning=o,!I.hiddenDuringWait&&($.show.ready||x)&&I.toggle(r,X.event,o),I.hiddenDuringWait=o}),G.api[this.id]=this,this},H.destroy=function(x){if(this.destroyed)return this.target;function I(){if(!this.destroyed){this.destroyed=r;var Z,$=this.target,X=$.attr(Ct);for(Z in this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),i.each(this.plugins,function(){this.destroy&&this.destroy()}),this.timers)this.timers.hasOwnProperty(Z)&&clearTimeout(this.timers[Z]);$.removeData(gt).removeAttr(Tn).removeAttr(nn).removeAttr("aria-describedby"),this.options.suppress&&X&&$.attr("title",X).removeAttr(Ct),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=s,delete G.api[this.id]}}return x===r&&"hide"!==this.triggering||!this.rendered?I.call(this):(this.tooltip.one("tooltiphidden",i.proxy(I,this)),!this.triggering&&this.hide()),this.target},mt=H.checks={builtin:{"^id$":function(x,I,$,X){var Z=$===r?G.nextid:$,ce=gt+"-"+Z;Z!==o&&Z.length>0&&!i("#"+ce).length?(this._id=ce,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):x[I]=X},"^prerender":function(x,I,$){$&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(x,I,$){this._updateContent($)},"^content.attr$":function(x,I,$,X){this.options.content.text===this.target.attr(X)&&this._updateContent(this.target.attr($))},"^content.title$":function(x,I,$){if(!$)return this._removeTitle();$&&!this.elements.title&&this._createTitle(),this._updateTitle($)},"^content.button$":function(x,I,$){this._updateButton($)},"^content.title.(text|button)$":function(x,I,$){this.set("content."+I,$)}
vendor: 4,783 bytes, line 1
1,"^position.(my|at)$":function(x,I,$){"string"==typeof $&&(this.position[I]=x[I]=new te($,"at"===I))},"^position.container$":function(x,I,$){this.rendered&&this.tooltip.appendTo($)},"^show.ready$":function(x,I,$){$&&(!this.rendered&&this.render(r)||this.toggle(r))},"^style.classes$":function(x,I,$,X){this.rendered&&this.tooltip.removeClass(X).addClass($)},"^style.(width|height)":function(x,I,$){this.rendered&&this.tooltip.css(I,$)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(x,I,$){this.rendered&&this.tooltip.toggleClass(Nr,!!$)},"^events.(render|show|move|hide|focus|blur)$":function(x,I,$){this.rendered&&this.tooltip[(i.isFunction($)?"":"un")+"bind"]("tooltip"+I,$)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var x=this.options.position;this.tooltip.attr("tracking","mouse"===x.target&&x.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},H.get=function(x){if(this.destroyed)return this;var I=va(this.options,x.toLowerCase()),$=I[0][I[1]];return $.precedance?$.string():$};var Ws=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,Cr=/^prerender|show\.ready/i;H.set=function(x,I){if(this.destroyed)return this;var ce,$=this.rendered,X=o,Z=this.options;return"string"==typeof x?(ce=x,(x={})[ce]=I):x=i.extend({},x),i.each(x,function(we,Ne){if($&&Cr.test(we))delete x[we];else{var He,Je=va(Z,we.toLowerCase());He=Je[0][Je[1]],Je[0][Je[1]]=Ne&&Ne.nodeType?i(Ne):Ne,X=Ws.test(we)||X,x[we]=[Je[0],Je[1],Ne,He]}}),ya(Z),this.positioning=r,i.each(x,i.proxy(ur,this)),this.positioning=o,this.rendered&&this.tooltip[0].offsetWidth>0&&X&&this.reposition("mouse"===Z.position.target?s:this.cache.event),this},H._update=function(x,I){var $=this,X=this.cache;return this.rendered&&x?(i.isFunction(x)&&(x=x.call(this.elements.target,X.event,this)||""),i.isFunction(x.then)?(X.waiting=r,x.then(function(Z){return X.waiting=o,$._update(Z,I)},s,function(Z){return $._update(Z,I)})):x===o||!x&&""!==x?o:(x.jquery&&x.length>0?I.empty().append(x.css({display:"block",visibility:"visible"})):I.html(x),this._waitForContent(I).then(function(Z){$.rendered&&$.tooltip[0].offsetWidth>0&&$.reposition(X.event,!Z.length)}))):o},H._waitForContent=function(x){var I=this.cache;return I.waiting=r,(i.fn.imagesLoaded?x.imagesLoaded():(new i.Deferred).resolve([])).done(function(){I.waiting=o}).promise()},H._updateContent=function(x,I){this._update(x,this.elements.content,I)},H._updateTitle=function(x,I){this._update(x,this.elements.title,I)===o&&this._removeTitle(o)},H._createTitle=function(){var x=this.elements,I=this._id+"-title";x.titlebar&&this._removeTitle(),x.titlebar=i("<div />",{class:gt+"-titlebar "+(this.options.style.widget?Fa("header"):"")}).append(x.title=i("<div />",{id:I,class:gt+"-title","aria-atomic":r})).insertBefore(x.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function($){i(this).toggleClass("ui-state-active ui-state-focus","down"===$.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function($){i(this).toggleClass("ui-state-hover","mouseover"===$.type)}),this.options.content.button&&this._createButton()},H._removeTitle=function(x){var I=this.elements;I.title&&(I.titlebar.remove(),I.titlebar=I.title=I.button=s,x!==o&&this.reposition())},H._createPosClass=function(x){return gt+"-pos-"+(x||this.options.position.my).abbrev()},H.reposition=function(x,I){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=r;var Os,Is,sl,Ud,$=this.cache,X=this.tooltip,Z=this.options.position,ce=Z.target,we=Z.my,Ne=Z.at,Je=Z.viewport,He=Z.container,ut=Z.adjust,Dt=ut.method.split(" "),ht=X.outerWidth(o),dn=X.outerHeight(o),fn=0,Nt=0,Dn=X.css("position"),Cn={left:0,top:0},ts=X[0].offsetWidth>0,rl=x&&"scroll"===x.type,Fl=i(e),$u=He[0].ownerDocument,ol=this.mouse;if(i.isArray(ce)&&2===ce.length)Ne={x:f,y:d},Cn={left:ce[0],top:ce[1]};else if("mouse"===ce)Ne={x:f,y:d},(!ut.mouse||this.options.hide.distance)&&$.origin&&$.origin.pageX?x=$.origin:!x||x&&("resize"===x.type||"scroll"===x.type)?x=$.event:ol&&ol.pageX&&(x=ol),"static"!==Dn&&(Cn=He.offset()),$u.body.offsetWidth!==(e.innerWidth||$u.documentElement.clientWidth)&&(Is=i(n.body).offset()),Cn={left:x.pageX-Cn.left+(Is&&Is.left||0),top:x.pageY-Cn.top+(Is&&Is.top||0)},ut.mouse&&rl&&ol&&(Cn.left-=(ol.scrollX||0)-Fl.scrollLeft(),Cn.top-=(ol.scrollY||0)-Fl.scrollTop());else{if("event"===ce?x&&x.target&&"scroll"!==x.type&&"resize"!==x.type?$.target=i(x.target):x.target||($.target=this.elements.target):"event"!==ce&&($.target=i(ce.jquery?ce:this.elements.target)),0===(ce=i(ce=$.target).eq(0)).length)return this;ce[0]===n||ce[0]===e?(fn=di.iOS?e.innerWidth:ce.width(),Nt=di.iOS?e.innerHe
vendor: 8,575 bytes, line 1
1ight:ce.height(),ce[0]===e&&(Cn={top:(Je||ce).scrollTop(),left:(Je||ce).scrollLeft()})):$e.imagemap&&ce.is("area")?Os=$e.imagemap(this,ce,Ne,$e.viewport?Dt:o):$e.svg&&ce&&ce[0].ownerSVGElement?Os=$e.svg(this,ce,Ne,$e.viewport?Dt:o):(fn=ce.outerWidth(o),Nt=ce.outerHeight(o),Cn=ce.offset()),Os&&(fn=Os.width,Nt=Os.height,Is=Os.offset,Cn=Os.position),Cn=this.reposition.offset(ce,Cn,He),(di.iOS>3.1&&di.iOS<4.1||di.iOS>=4.3&&di.iOS<4.33||!di.iOS&&"fixed"===Dn)&&(Cn.left-=Fl.scrollLeft(),Cn.top-=Fl.scrollTop()),(!Os||Os&&Os.adjustable!==o)&&(Cn.left+=Ne.x===b?fn:Ne.x===S?fn/2:0,Cn.top+=Ne.y===y?Nt:Ne.y===S?Nt/2:0)}return Cn.left+=ut.x+(we.x===b?-ht:we.x===S?-ht/2:0),Cn.top+=ut.y+(we.y===y?-dn:we.y===S?-dn/2:0),$e.viewport?(sl=Cn.adjusted=$e.viewport(this,Cn,Z,fn,Nt,ht,dn),Is&&sl.left&&(Cn.left+=Is.left),Is&&sl.top&&(Cn.top+=Is.top),sl.my&&(this.position.my=sl.my)):Cn.adjusted={left:0,top:0},$.posClass!==(Ud=this._createPosClass(this.position.my))&&($.posClass=Ud,X.removeClass($.posClass).addClass(Ud)),this._trigger("move",[Cn,Je.elem||Je],x)?(delete Cn.adjusted,I===o||!ts||isNaN(Cn.left)||isNaN(Cn.top)||"mouse"===ce||!i.isFunction(Z.effect)?X.css(Cn):i.isFunction(Z.effect)&&(Z.effect.call(X,this,i.extend({},Cn)),X.queue(function(Mc){i(this).css({opacity:"",height:""}),di.ie&&this.style.removeAttribute("filter"),Mc()})),this.positioning=o,this):this},H.reposition.offset=function(x,I,$){if(!$[0])return I;var we,Ne,Je,He,X=i(x[0].ownerDocument),Z=!!di.ie&&"CSS1Compat"!==n.compatMode,ce=$[0];function ut(Dt,ht){I.left+=ht*Dt.scrollLeft(),I.top+=ht*Dt.scrollTop()}do{"static"!==(Ne=i.css(ce,"position"))&&("fixed"===Ne?(Je=ce.getBoundingClientRect(),ut(X,-1)):((Je=i(ce).position()).left+=parseFloat(i.css(ce,"borderLeftWidth"))||0,Je.top+=parseFloat(i.css(ce,"borderTopWidth"))||0),I.left-=Je.left+(parseFloat(i.css(ce,"marginLeft"))||0),I.top-=Je.top+(parseFloat(i.css(ce,"marginTop"))||0),!we&&"hidden"!==(He=i.css(ce,"overflow"))&&"visible"!==He&&"BODY"!==i.prop(ce,"tagName")&&(we=i(ce)))}while(ce=ce.offsetParent);return we&&(we[0]!==X[0]||Z)&&ut(we,1),I};var _a=(te=H.reposition.Corner=function(x,I){x=(""+x).replace(/([A-Z])/," $1").replace(/middle/gi,S).toLowerCase(),this.x=(x.match(/left|right/i)||x.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(x.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!I;var $=x.charAt(0);this.precedance="t"===$||"b"===$?l:a}).prototype;function Fa(x){return gn.concat("").join(x?"-"+x+" ":" ")}function Nu(x,I){if(I>0)return setTimeout(i.proxy(x,this),I);x.call(this)}function Nm(x){this.tooltip.hasClass(St)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=Nu.call(this,function(){this.toggle(r,x)},this.options.show.delay))}function Lu(x){if(!this.tooltip.hasClass(St)&&!this.destroyed){var I=i(x.relatedTarget),$=I.closest(on)[0]===this.tooltip[0],X=I[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==I[0]&&"mouse"===this.options.position.target&&$||this.options.hide.fixed&&/mouse(out|leave|move)/.test(x.type)&&($||X)){try{x.preventDefault(),x.stopImmediatePropagation()}catch{}return}this.timers.hide=Nu.call(this,function(){this.toggle(o,x)},this.options.hide.delay,this)}}function kc(x){this.tooltip.hasClass(St)||!this.options.hide.inactive||(clearTimeout(this.timers.inactive),this.timers.inactive=Nu.call(this,function(){this.hide(x)},this.options.hide.inactive))}function O(x){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(x)}function F(x,I,$){i(n.body).delegate(x,(I.split?I:I.join("."+gt+" "))+"."+gt,function(){var X=G.api[i.attr(this,Tn)];X&&!X.disabled&&$.apply(X,arguments)})}function Y(x,I,$){var X,Z,ce,we,Ne,Je=i(n.body),He=x[0]===n?Je:x,ut=x.metadata?x.metadata($.metadata):s,Dt="html5"===$.metadata.type&&ut?ut[$.metadata.name]:s,ht=x.data($.metadata.name||"qtipopts");try{ht="string"==typeof ht?i.parseJSON(ht):ht}catch{}if(Z=(we=i.extend(r,{},G.defaults,$,"object"==typeof ht?ya(ht):s,ya(Dt||ut))).position,we.id=I,"boolean"==typeof we.content.text){if(ce=x.attr(we.content.attr),we.content.attr===o||!ce)return o;we.content.text=ce}if(Z.container.length||(Z.container=Je),Z.target===o&&(Z.target=He),we.show.target===o&&(we.show.target=He),we.show.solo===r&&(we.show.solo=Z.container.closest("body")),we.hide.target===o&&(we.hide.target=He),we.position.viewport===r&&(we.position.viewport=Z.container),Z.container=Z.container.eq(0),Z.at=new te(Z.at,r),Z.my=new te(Z.my),x.data(gt))if(we.overwrite)x.qtip("destroy",!0);else if(we.overwrite===o)return o;return x.attr(nn,I),we.suppress&&(Ne=x.attr("title"))&&x.removeAttr("title").attr(Ct,Ne).attr("title",""),X=new wr(x,we,I,!!ce),x.data(gt,X),X}_a.invert=function(x,I){this[x]=this[x]===f?b:this[x]===b?f:I||this[x]},_a.string=function(x){var I=this.x,$=this.y,X=I!==$?"center"===I||"center"!==$&&(this.precedance===l||this.forceY)?[$,I]:[I,$]:[I];return!1!==x?X.join(" "):X},_a.abbrev=function(){var x=this.string(!1);return x[0].charAt(0)+(x[1]&&x[1].charAt(0)||"")},_a.clone=function(){return new te(this.string(),this.forceY)},H.toggle=function(x,I){var $=this.cache,X=this.options,Z=this.tooltip;if(I){if(/over|enter/.test(I.type)&&$.event&&/out|leave/.test($.event.type)&&X.show.target.add(I.target).length===X.show.target.length&&Z.has(I.relatedTarget).length)return this;$.event=i.event.fix(I)}if(this.waiting&&!x&&(this.hiddenDuringWait=r),!this.rendered)return x?this.render(1):this;if(this.destroyed||this.disabled)return this;var dn,fn,Nt,ce=x?"show":"hide",we=this.options[ce],Ne=this.options.position,Je=this.options.content,He=this.tooltip.css("width"),ut=this.tooltip.is(":visible"),Dt=x||1===we.target.length,ht=!I||we.target.length<2||$.target[0]===I.target;return(typeof x).search("boolean|number")&&(x=!ut),fn=(dn=!Z.is(":animated")&&ut===x&&ht)?s:!!this._trigger(ce,[90]),this.destroyed||(fn!==o&&x&&this.focus(I),!fn||dn||(i.attr(Z[0],"aria-hidden",!x),x?(this.mouse&&($.origin=i.event.fix(this.mouse)),i.isFunction(Je.text)&&this._updateContent(Je.text,o),i.isFunction(Je.title)&&this._updateTitle(Je.title,o),!en&&"mouse"===Ne.target&&Ne.adjust.mouse&&(i(n).bind("mousemove."+gt,this._storeMouse),en=r),He||Z.css("width",Z.outerWidth(o)),this.reposition(I,arguments[2]),He||Z.css("width",""),we.solo&&("string"==typeof we.solo?i(we.solo):i(on,we.solo)).not(Z).not(we.target).qtip("hide",new i.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete $.origin,en&&!i(on+'[tracking="true"]:visible',we.solo).not(Z).length&&(i(n).unbind("mousemove."+gt),en=o),this.blur(I)),Nt=i.proxy(function(){x?(di.ie&&Z[0].style.removeAttribute("filter"),Z.css("overflow",""),"string"==typeof we.autofocus&&i(this.options.show.autofocus,Z).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):Z.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(x?"visible":"hidden")},this),we.effect===o||Dt===o?(Z[ce](),Nt()):i.isFunction(we.effect)?(Z.stop(1,1),we.effect.call(Z,this),Z.queue("fx",function(Dn){Nt(),Dn()})):Z.fadeTo(90,x?1:0,Nt),x&&we.target.trigger("qtip-"+this.id+"-inactive"))),this},H.show=function(x){return this.toggle(r,x)},H.hide=function(x){return this.toggle(o,x)},H.focus=function(x){if(!this.rendered||this.destroyed)return this;var I=i(on),$=this.tooltip,X=parseInt($[0].style.zIndex,10),Z=G.zindex+I.length;return $.hasClass(br)||this._trigger("focus",[Z],x)&&(X!==Z&&(I.each(function(){this.style.zIndex>X&&(this.style.zIndex=this.style.zIndex-1)}),I.filter("."+br).qtip("blur",x)),$.addClass(br)[0].style.zIndex=Z),this},H.blur=function(x){return!this.rendered||this.destroyed||(this.tooltip.removeClass(br),this._trigger("blur",[this.tooltip.css("zIndex")],x)),this},H.disable=function(x){return this.destroyed||("toggle"===x?x=!(this.rendered?this.tooltip.hasClass(St):this.disabled):"boolean"!=typeof x&&(x=r),this.rendered&&this.tooltip.toggleClass(St,x).attr("aria-disabled",x),this.disabled=!!x),this},H.enable=function(){return this.disable(o)},H._createButton=function(){var x=this,I=this.elements,$=I.tooltip,X=this.options.content.button,ce="string"==typeof X?X:"Close tooltip";I.button&&I.button.remove(),I.button=X.jquery?X:i("<a />",{class:"qtip-close "+(this.options.style.widget?"":gt+"-icon"),title:ce,"aria-label":ce}).prepend(i("<span />",{class:"ui-icon ui-icon-close",html:"×"})),I.button.appendTo(I.titlebar||$).attr("role","button").click(function(we){return $.hasClass(St)||x.hide(we),o})},H._updateButton=function(x){if(!this.rendered)return o;var I=this.elements.button;x?this._createButton():I.remove()}
vendor: 4,666 bytes, line 1
1,H._setWidget=function(){var x=this.options.style.widget,I=this.elements,$=I.tooltip,X=$.hasClass(St);$.removeClass(St),$.toggleClass(St=x?"ui-state-disabled":"qtip-disabled",X),$.toggleClass("ui-helper-reset "+Fa(),x).toggleClass(Nr,this.options.style.def&&!x),I.content&&I.content.toggleClass(Fa("content"),x),I.titlebar&&I.titlebar.toggleClass(Fa("header"),x),I.button&&I.button.toggleClass(gt+"-icon",!x)},H._storeMouse=function(x){return(this.mouse=i.event.fix(x)).type="mousemove",this},H._bind=function(x,I,$,X,Z){if(x&&$&&I.length){var ce="."+this._id+(X?"-"+X:"");return i(x).bind((I.split?I:I.join(ce+" "))+ce,i.proxy($,Z||this)),this}},H._unbind=function(x,I){return x&&i(x).unbind("."+this._id+(I?"-"+I:"")),this},H._trigger=function(x,I,$){var X=new i.Event("tooltip"+x);return X.originalEvent=$&&i.extend({},$)||this.cache.event||s,this.triggering=x,this.tooltip.trigger(X,[this].concat(I||[])),this.triggering=o,!X.isDefaultPrevented()},H._bindEvents=function(x,I,$,X,Z,ce){var we=$.filter(X).add(X.filter($)),Ne=[];we.length&&(i.each(I,function(Je,He){var ut=i.inArray(He,x);ut>-1&&Ne.push(x.splice(ut,1)[0])}),Ne.length&&(this._bind(we,Ne,function(Je){(this.rendered&&this.tooltip[0].offsetWidth>0?ce:Z).call(this,Je)}),$=$.not(we),X=X.not(we))),this._bind($,x,Z),this._bind(X,I,ce)},H._assignInitialEvents=function(x){var I=this.options,$=I.show.target,X=I.hide.target,Z=I.show.event?i.trim(""+I.show.event).split(" "):[],ce=I.hide.event?i.trim(""+I.hide.event).split(" "):[];function we(Ne){if(this.disabled||this.destroyed)return o;this.cache.event=Ne&&i.event.fix(Ne),this.cache.target=Ne&&i(Ne.target),clearTimeout(this.timers.show),this.timers.show=Nu.call(this,function(){this.render("object"==typeof Ne||I.show.ready)},I.prerender?0:I.show.delay)}this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(I.show.event)&&!/mouse(out|leave)/i.test(I.hide.event)&&ce.push("mouseleave"),this._bind($,"mousemove",function(Ne){this._storeMouse(Ne),this.cache.onTarget=r}),this._bindEvents(Z,ce,$,X,we,function(){if(!this.timers)return o;clearTimeout(this.timers.show)}),(I.show.ready||I.prerender)&&we.call(this,x)},H._assignEvents=function(){var x=this,I=this.options,$=I.position,X=this.tooltip,Z=I.show.target,ce=I.hide.target,we=$.container,Ne=$.viewport,Je=i(n),He=i(e),ut=I.show.event?i.trim(""+I.show.event).split(" "):[],Dt=I.hide.event?i.trim(""+I.hide.event).split(" "):[];i.each(I.events,function(ht,dn){x._bind(X,"toggle"===ht?["tooltipshow","tooltiphide"]:["tooltip"+ht],dn,null,X)}),/mouse(out|leave)/i.test(I.hide.event)&&"window"===I.hide.leave&&this._bind(Je,["mouseout","blur"],function(ht){!/select|option/.test(ht.target.nodeName)&&!ht.relatedTarget&&this.hide(ht)}),I.hide.fixed?ce=ce.add(X.addClass(xi)):/mouse(over|enter)/i.test(I.show.event)&&this._bind(ce,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+I.hide.event).indexOf("unfocus")>-1&&this._bind(we.closest("html"),["mousedown","touchstart"],function(ht){var dn=i(ht.target),fn=this.rendered&&!this.tooltip.hasClass(St)&&this.tooltip[0].offsetWidth>0,Nt=dn.parents(on).filter(this.tooltip[0]).length>0;dn[0]!==this.target[0]&&dn[0]!==this.tooltip[0]&&!Nt&&!this.target.has(dn[0]).length&&fn&&this.hide(ht)}),"number"==typeof I.hide.inactive&&(this._bind(Z,"qtip-"+this.id+"-inactive",kc,"inactive"),this._bind(ce.add(X),G.inactiveEvents,kc)),this._bindEvents(ut,Dt,Z,ce,Nm,Lu),this._bind(Z.add(X),"mousemove",function(ht){if("number"==typeof I.hide.distance){var dn=this.cache.origin||{},fn=this.options.hide.distance,Nt=Math.abs;(Nt(ht.pageX-dn.pageX)>=fn||Nt(ht.pageY-dn.pageY)>=fn)&&this.hide(ht)}this._storeMouse(ht)}),"mouse"===$.target&&$.adjust.mouse&&(I.hide.event&&this._bind(Z,["mouseenter","mouseleave"],function(ht){if(!this.cache)return o;this.cache.onTarget="mouseenter"===ht.type}),this._bind(Je,"mousemove",function(ht){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(St)&&this.tooltip[0].offsetWidth>0&&this.reposition(ht)})),($.adjust.resize||Ne.length)&&this._bind(i.event.special.resize?Ne:He,"resize",O),$.adjust.scroll&&this._bind(He.add($.container),"scroll",O)},H._unassignEvents=function(){var x=this.options,I=x.show.target,$=x.hide.target,X=i.grep([this.elements.target[0],this.rendered&&this.tooltip[0],x.position.container[0],x.position.viewport[0],x.position.container.closest("html")[0],e,n],function(Z){return"object"==typeof Z});I&&I.toArray&&(X=X.concat(I.toArray())),$&&$.toArray&&(X=X.concat($.toArray())),this._unbind(X)._unbind(X,"destroy")._unbind(X,"inactive")},i(function(){F(on,["mouseenter","mouseleave"],function(x){var I="mouseenter"
vendor: 5,953 bytes, line 1
1===x.type,$=i(x.currentTarget),X=i(x.relatedTarget||x.target),Z=this.options;I?(this.focus(x),$.hasClass(xi)&&!$.hasClass(St)&&clearTimeout(this.timers.hide)):"mouse"===Z.position.target&&Z.position.adjust.mouse&&Z.hide.event&&Z.show.target&&!X.closest(Z.show.target[0]).length&&this.hide(x),$.toggleClass(Et,I)}),F("["+Tn+"]",Ht,kc)}),G=i.fn.qtip=function(x,I,$){var X=(""+x).toLowerCase(),Z=s,ce=i.makeArray(arguments).slice(1),we=ce[ce.length-1],Ne=this[0]?i.data(this[0],gt):s;return!arguments.length&&Ne||"api"===X?Ne:"string"==typeof x?(this.each(function(){var Je=i.data(this,gt);if(!Je)return r;if(we&&we.timeStamp&&(Je.cache.event=we),!I||"option"!==X&&"options"!==X)Je[X]&&Je[X].apply(Je,ce);else{if($===t&&!i.isPlainObject(I))return Z=Je.get(I),o;Je.set(I,$)}}),Z!==s?Z:this):"object"!=typeof x&&arguments.length?void 0:(Ne=ya(i.extend(r,{},x)),this.each(function(Je){var He,ut;if(ut=!(ut=i.isArray(Ne.id)?Ne.id[Je]:Ne.id)||ut===o||ut.length<1||G.api[ut]?G.nextid++:ut,(He=Y(i(this),ut,Ne))===o)return r;G.api[ut]=He,i.each($e,function(){"initialize"===this.initialize&&this(He)}),He._assignInitialEvents(we)}))},i.qtip=wr,G.api={},i.each({attr:function(x,I){if(this.length){var $=this[0],X="title",Z=i.data($,"qtip");if(x===X&&Z&&Z.options&&"object"==typeof Z&&"object"==typeof Z.options&&Z.options.suppress)return arguments.length<2?i.attr($,Ct):(Z&&Z.options.content.attr===X&&Z.cache.attr&&Z.set("content.text",I),this.attr(Ct,I))}return i.fn["attr"+pe].apply(this,arguments)},clone:function(x){var I=i.fn["clone"+pe].apply(this,arguments);return x||I.filter("["+Ct+"]").attr("title",function(){return i.attr(this,Ct)}).removeAttr(Ct),I}},function(x,I){if(!I||i.fn[x+pe])return r;var $=i.fn[x+pe]=i.fn[x];i.fn[x]=function(){return I.apply(this,arguments)||$.apply(this,arguments)}}),i.ui||(i["cleanData"+pe]=i.cleanData,i.cleanData=function(x){for(var $,I=0;($=i(x[I])).length;I++)if($.attr(nn))try{$.triggerHandler("removeqtip")}catch{}i["cleanData"+pe].apply(this,arguments)}),G.version="3.0.3-5-g",G.nextid=0,G.inactiveEvents=Ht,G.zindex=15e3,G.defaults={prerender:o,id:o,overwrite:r,suppress:r,content:{text:r,attr:"title",title:o,button:o},position:{my:"top left",at:"bottom right",target:o,container:o,viewport:o,adjust:{x:0,y:0,mouse:r,scroll:r,resize:r,method:"flipinvert flipinvert"},effect:function(x,I){i(this).animate(I,{duration:200,queue:o})}},show:{target:o,event:"mouseenter",effect:r,delay:90,solo:o,ready:o,autofocus:o},hide:{target:o,event:"mouseleave",effect:r,delay:0,fixed:o,inactive:o,leave:"window",distance:o},style:{classes:"",widget:o,width:o,height:o,def:r},events:{render:s,move:s,show:s,hide:s,toggle:s,visible:s,hidden:s,focus:s,blur:s}};var fe,Ie,Ge,yt,Sr="margin",Kr="border",xr="color",Vi="background-color",ko="transparent",Fu=" !important",Tc=!!n.createElement("canvas").getContext,Lr=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function Yr(x){return x.charAt(0).toUpperCase()+x.slice(1)}var x,ys={},_f=["Webkit","O","Moz","ms"];function Ac(x,I){return Math.ceil(parseFloat(function Lm(x,I){var Z,ce,$=I.charAt(0).toUpperCase()+I.slice(1),X=(I+" "+_f.join($+" ")+$).split(" "),we=0;if(ys[I])return x.css(ys[I]);for(;Z=X[we++];)if((ce=x.css(Z))!==t)return ys[I]=Z,ce}(x,I)))}function Fm(x,I){this._ns="tip",this.options=I,this.offset=I.offset,this.size=[I.width,I.height],this.qtip=x,this.init(x)}Tc?(yt=e.devicePixelRatio||1,x=n.createElement("canvas").getContext("2d"),Ge=yt/(x.backingStorePixelRatio||x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||1)):Ie=function(x,I,$){return"<qtipvml:"+x+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(I||"")+' style="behavior: url(#default#VML); '+($||"")+'" />'},i.extend(Fm.prototype,{init:function(x){var I,$;$=this.element=x.elements.tip=i("<div />",{class:gt+"-tip"}).prependTo(x.tooltip),Tc?((I=i("<canvas />").appendTo(this.element)[0].getContext("2d")).lineJoin="miter",I.miterLimit=1e5,I.save()):(I=Ie("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(I+I),x._bind(i("*",$).add($),["click","mousedown"],function(X){X.stopPropagation()},this._ns)),x._bind(x.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(x){var I=this.qtip.elements.titlebar;return I&&(x.y===d||x.y===S&&this.element.position().top+this.size[1]/2+this.options.offset<I.outerHeight(r))},_parseCorner:function(x){var I=this.qtip.options.position.my;return x===o||I===o?x=o:x===r?x=new te(I.string()):x.string||((x=new te(x)).fixed=r),x},_parseWidth:function(x,I,$){var X=this.qtip.elements,Z=Kr+Yr(I)+"Width";return($?Ac($,Z):Ac(X.content,Z)||Ac(this._useTitle(x)&&X.titlebar||X.content,Z)||Ac(X.tooltip,Z))||0},_parseRadius:function(x){var I=this.qtip.elements,$=Kr+Yr(x.y)+Yr(x.x)+"Radius";return di.ie<9?0:Ac(this._useTitle(x)&&I.titlebar||I.content,$)||Ac(I.tooltip,$)||0},_invalidColour:function(x,I,$){var X=x.css(I);return!X||$&&X===x.css($)||Lr.test(X)?o:X},_parseColours:function(x){var I=this.qtip.elements,$=this.element.css("cssText",""),X=Kr+Yr(x[x.precedance])+Yr(xr),Z=this._useTitle(x)&&I.titlebar||I.content,ce=this._invalidColour,we=[];return we[0]=ce($,Vi)||ce(Z,Vi)||ce(I.content,Vi)||ce(I.tooltip,Vi)||$.css(Vi),we[1]=ce($,X,xr)||ce(Z,X,xr)||ce(I.content,X,xr)||ce(I.tooltip,X,xr)||I.tooltip.css(X),i("*",$).add($).css("cssText",Vi+":"+ko+Fu+";"+Kr+":0"+Fu+";"),we},_calculateSize:function(x){var He,ut,I=x.precedance===l,$=this.options.width,X=this.options.height,Z="c"===x.abbrev(),ce=(I?$:X)*(Z?.5:1),we=Math.pow,Ne=Math.round,Dt=Math.sqrt(we(ce,2)+we(X,2)),ht=[this.border/ce*Dt,this.border/X*Dt];return ht[2]=Math.sqrt(we(ht[0],2)-we(this.border,2)),ht[3]=Math.sqrt(we(ht[1],2)-we(this.border,2)),ut=[Ne((He=(Dt+ht[2]+ht[3]+(Z?0:ht[0])
vendor: 4,194 bytes, line 1
1)/Dt)*$),Ne(He*X)],I?ut:ut.reverse()},_calculateTip:function(x,I,$){var X=(I=I||this.size)[0]*($=$||1),Z=I[1]*$,ce=Math.ceil(X/2),we=Math.ceil(Z/2),Ne={br:[0,0,X,Z,X,0],bl:[0,0,X,0,0,Z],tr:[0,Z,X,0,X,Z],tl:[0,0,0,Z,X,Z],tc:[0,Z,ce,0,X,Z],bc:[0,0,X,0,ce,Z],rc:[0,0,X,we,0,Z],lc:[X,0,X,Z,0,we]};return Ne.lt=Ne.br,Ne.rt=Ne.bl,Ne.lb=Ne.tr,Ne.rb=Ne.tl,Ne[x.abbrev()]},_drawCoords:function(x,I){x.beginPath(),x.moveTo(I[0],I[1]),x.lineTo(I[2],I[3]),x.lineTo(I[4],I[5]),x.closePath()},create:function(){var x=this.corner=(Tc||di.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=x.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(x,I){if(!this.enabled)return this;var He,ut,Dt,ht,dn,fn,Nt,Dn,$=this.qtip.elements,X=this.element,Z=X.children(),ce=this.options,we=this.size,Ne=ce.mimic,Je=Math.round;x||(x=this.qtip.cache.corner||this.corner),Ne===o?Ne=x:((Ne=new te(Ne)).precedance=x.precedance,"inherit"===Ne.x?Ne.x=x.x:"inherit"===Ne.y?Ne.y=x.y:Ne.x===Ne.y&&(Ne[x.precedance]=x[x.precedance])),ut=Ne.precedance,x.precedance===a?this._swapDimensions():this._resetDimensions(),(He=this.color=this._parseColours(x))[1]!==ko?(Dn=this.border=this._parseWidth(x,x[x.precedance]),ce.border&&Dn<1&&!Lr.test(He[1])&&(He[0]=He[1]),this.border=Dn=ce.border!==r?ce.border:Dn):this.border=Dn=0,Nt=this.size=this._calculateSize(x),X.css({width:Nt[0],height:Nt[1],lineHeight:Nt[1]+"px"}),fn=x.precedance===l?[Je(Ne.x===f?Dn:Ne.x===b?Nt[0]-we[0]-Dn:(Nt[0]-we[0])/2),Je(Ne.y===d?Nt[1]-we[1]:0)]:[Je(Ne.x===f?Nt[0]-we[0]:0),Je(Ne.y===d?Dn:Ne.y===y?Nt[1]-we[1]-Dn:(Nt[1]-we[1])/2)],Tc?((Dt=Z[0].getContext("2d")).restore(),Dt.save(),Dt.clearRect(0,0,6e3,6e3),ht=this._calculateTip(Ne,we,Ge),dn=this._calculateTip(Ne,this.size,Ge),Z.attr(c,Nt[0]*Ge).attr(u,Nt[1]*Ge),Z.css(c,Nt[0]).css(u,Nt[1]),this._drawCoords(Dt,dn),Dt.fillStyle=He[1],Dt.fill(),Dt.translate(fn[0]*Ge,fn[1]*Ge),this._drawCoords(Dt,ht),Dt.fillStyle=He[0],Dt.fill()):(ht="m"+(ht=this._calculateTip(Ne))[0]+","+ht[1]+" l"+ht[2]+","+ht[3]+" "+ht[4]+","+ht[5]+" xe",fn[2]=Dn&&/^(r|b)/i.test(x.string())?8===di.ie?2:1:0,Z.css({coordsize:Nt[0]+Dn+" "+Nt[1]+Dn,antialias:""+(Ne.string().indexOf(S)>-1),left:fn[0]-fn[2]*Number(ut===a),top:fn[1]-fn[2]*Number(ut===l),width:Nt[0]+Dn,height:Nt[1]+Dn}).each(function(Cn){var ts=i(this);ts[ts.prop?"prop":"attr"]({coordsize:Nt[0]+Dn+" "+Nt[1]+Dn,path:ht,fillcolor:He[0],filled:!!Cn,stroked:!Cn}).toggle(!(!Dn&&!Cn)),!Cn&&ts.html(Ie("stroke",'weight="'+2*Dn+'px" color="'+He[1]+'" miterlimit="1000" joinstyle="miter"'))})),e.opera&&setTimeout(function(){$.tip.css({display:"inline-block",visibility:"visible"})},1),I!==o&&this.calculate(x,Nt)},calculate:function(x,I){if(!this.enabled)return o;var Ne,Je,$=this,X=this.qtip.elements,Z=this.element,ce=this.options.offset,we={};return Ne=(x=x||this.corner).precedance,I=I||this._calculateSize(x),Je=[x.x,x.y],Ne===a&&Je.reverse(),i.each(Je,function(He,ut){var Dt,ht,dn;ut===S?(we[Dt=Ne===l?f:d]="50%",we[Sr+"-"+Dt]=-Math.round(I[Ne===l?0:1]/2)+ce):(Dt=$._parseWidth(x,ut,X.tooltip),ht=$._parseWidth(x,ut,X.content),dn=$._parseRadius(x),we[ut]=Math.max(-$.border,He?ht:ce+(dn>Dt?dn:-Dt)))}),we[x[Ne]]-=I[Ne===a?0:1],Z.css({margin:"",top:"",bottom:"",left:"",right:""}).css(we),we},reposition:function(x,I,$){if(this.enabled){var ut,ht,X=I.cache,Z=this.corner.clone(),ce=$.adjusted,we=I.options.position.adjust.method.split(" "),Ne=we[0],Je=we[1]||we[0],He={left:o,top:o,x:0,y:0},Dt={};this.corner.fixed!==r&&(dn(Ne,a,l,f,b),dn(Je,l,a,d,y),(Z.string()!==X.corner.string()||X.cornerTop!==ce.top||X.cornerLeft!==ce.left)&&this.update(Z,o)),(ut=this.calculate(Z)).right!==t&&(ut.left=-ut.right),ut.bottom!==t&&(ut.top=-ut.bottom),ut.user=this.offset,He.left=Ne===R&&!!ce.left,He.left&&fn(a,f,b),He.top=Je===R&&!!ce.top,He.top&&fn(l,d,y),this.element.css(Dt).toggle(!(He.x&&He.y||Z.x===S&&He.y||Z.y===S&&He.x)),$.left-=ut.left.charAt?ut.user:Ne!==R||He.top||!He.left&&!He.top?ut.left+this.border:0,$.top-=ut.top.charAt?ut.user:Je!==R||He.left||!He.left&&!He.top?ut.top+this.border:0,X.cornerLeft=ce.left,X.cornerTop=ce.top,X.corner=Z.clone()}
vendor: 13,787 bytes, line 1
1function dn(Nt,Dn,Cn,ts,rl){Nt===R&&Z.precedance===Dn&&ce[ts]&&Z[Cn]!==S?Z.precedance=Z.precedance===a?l:a:Nt!==R&&ce[ts]&&(Z[Dn]=Z[Dn]===S?ce[ts]>0?ts:rl:Z[Dn]===ts?rl:ts)}function fn(Nt,Dn,Cn){Z[Nt]===S?Dt[Sr+"-"+Dn]=He[Nt]=ut[Sr+"-"+Dn]-ce[Dn]:(ht=ut[Cn]!==t?[ce[Dn],-ut[Dn]]:[-ce[Dn],ut[Dn]],(He[Nt]=Math.max(ht[0],ht[1]))>ht[0]&&($[Dn]-=ce[Dn],He[Dn]=o),Dt[ut[Cn]!==t?Cn:Dn]=He[Nt])}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),(fe=$e.tip=function(x){return new Fm(x,x.options.style.tip)}).initialize="render",fe.sanitize=function(x){if(x.style&&"tip"in x.style){var I=x.style.tip;"object"!=typeof I&&(I=x.style.tip={corner:I}),/string|boolean/i.test(typeof I.corner)||(I.corner=r)}},mt.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(x){this.size=[x.width,x.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},i.extend(r,G.defaults,{style:{tip:{corner:r,mimic:o,width:6,height:6,border:r,offset:0}}});var bf,vs,$m="qtip-modal",il="."+$m;function Vm(x,I){this.options=I,this._ns="-modal",this.qtip=x,this.init(x)}vs=new(vs=function(){var $,X,Z,x=this,I={};function we(Je){I.length<1&&Je.length?Je.not("body").blur():I.first().focus()}function Ne(Je){if(Z.is(":visible")){var He=i(Je.target),ut=$.tooltip,Dt=He.closest(on);!(Dt.length<1?o:parseInt(Dt[0].style.zIndex,10)>parseInt(ut[0].style.zIndex,10))&&He.closest(on)[0]!==ut[0]&&we(He)}}i.extend(x,{init:function(){return Z=x.elem=i("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return o}}).hide(),i(n.body).bind("focusin"+il,Ne),i(n).bind("keydown"+il,function(Je){$&&$.options.show.modal.escape&&27===Je.keyCode&&$.hide(Je)}),Z.bind("click"+il,function(Je){$&&$.options.show.modal.blur&&$.hide(Je)}),x},update:function(Je){$=Je,I=Je.options.show.modal.stealfocus!==o?Je.tooltip.find("*").filter(function(){return function ce(Je){if(i.expr[":"].focusable)return i.expr[":"].focusable;var Dt,ht,dn,He=!isNaN(i.attr(Je,"tabindex")),ut=Je.nodeName&&Je.nodeName.toLowerCase();return"area"===ut?(ht=(Dt=Je.parentNode).name,!(!Je.href||!ht||"map"!==Dt.nodeName.toLowerCase())&&!!(dn=i("img[usemap=#"+ht+"]")[0])&&dn.is(":visible")):/input|select|textarea|button|object/.test(ut)?!Je.disabled:"a"===ut&&Je.href||He}(this)}):[]},toggle:function(Je,He,ut){var Dt=Je.tooltip,ht=Je.options.show.modal,dn=ht.effect,fn=He?"show":"hide",Nt=Z.is(":visible"),Dn=i(il).filter(":visible:not(:animated)").not(Dt);return x.update(Je),He&&ht.stealfocus!==o&&we(i(":focus")),Z.toggleClass("blurs",ht.blur),He&&Z.appendTo(n.body),Z.is(":animated")&&Nt===He&&X!==o||!He&&Dn.length||(Z.stop(r,o),i.isFunction(dn)?dn.call(Z,He):dn===o?Z[fn]():Z.fadeTo(parseInt(ut,10)||90,He?1:0,function(){He||Z.hide()}),He||Z.queue(function(Cn){Z.css({left:"",top:""}),i(il).length||Z.detach(),Cn()}),X=He,$.destroyed&&($=s)),x}}),x.init()}),i.extend(Vm.prototype,{init:function(x){var I=x.tooltip;if(!this.options.on)return this;x.elements.overlay=vs.elem,I.addClass($m).css("z-index",G.modal_zindex+i(il).length),x._bind(I,["tooltipshow","tooltiphide"],function($,X,Z){var ce=$.originalEvent;if($.target===I[0])if(ce&&"tooltiphide"===$.type&&/mouse(leave|enter)/.test(ce.type)&&i(ce.relatedTarget).closest(vs.elem[0]).length)try{$.preventDefault()}catch{}else(!ce||ce&&"tooltipsolo"!==ce.type)&&this.toggle($,"tooltipshow"===$.type,Z)},this._ns,this),x._bind(I,"tooltipfocus",function($,X){if(!$.isDefaultPrevented()&&$.target===I[0]){var Z=i(il),ce=G.modal_zindex+Z.length,we=parseInt(I[0].style.zIndex,10);vs.elem[0].style.zIndex=ce-1,Z.each(function(){this.style.zIndex>we&&(this.style.zIndex-=1)}),Z.filter("."+br).qtip("blur",$.originalEvent),I.addClass(br)[0].style.zIndex=ce,vs.update(X);try{$.preventDefault()}catch{}}},this._ns,this),x._bind(I,"tooltiphide",function($){$.target===I[0]&&i(il).filter(":visible").not(I).last().qtip("focus",$)},this._ns,this)},toggle:function(x,I,$){if(x&&x.isDefaultPrevented())return this;vs.toggle(this.qtip,!!I,$)},destroy:function(){this.qtip.tooltip.removeClass($m),this.qtip._unbind(this.qtip.tooltip,this._ns),vs.toggle(this.qtip,o),delete this.qtip.elements.overlay}}),(bf=$e.modal=function(x){return new Vm(x,x.options.show.modal)}).sanitize=function(x){x.show&&("object"!=typeof x.show.modal?x.show.modal={on:!!x.show.modal}:typeof x.show.modal.on>"u"&&(x.show.modal.on=r))},G.modal_zindex=G.zindex-200,bf.initialize="render",mt.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},i.extend(r,G.defaults,{show:{modal:{on:o,effect:r,blur:r,stealfocus:r,escape:r}}}),$e.viewport=function(x,I,$,X,Z,ce,we){var ts,rl,Fl,$u,ol,Os,Is,sl,Ne=$.target,Je=x.elements.tooltip,He=$.my,ut=$.at,Dt=$.adjust,ht=Dt.method.split(" "),dn=ht[0],fn=ht[1]||ht[0],Nt=$.viewport,Dn=$.container,Cn={left:0,top:0};if(!Nt.jquery||Ne[0]===e||Ne[0]===n.body||"none"===Dt.method)return Cn;function Ud(Mc,Hd,n_,ns,Ji,Um,i_,Hm,jd){var Dc=I[Ji],Oc=He[Mc],jm=ut[Mc],wf=Oc===Ji?jd:Oc===Um?-jd:-jd/2,r_=Is[Ji]+sl[Ji]-($u?0:Fl[Ji]),Cf=r_-Dc,zd=Dc+jd-(i_===c?ol:Os)-r_,Gd=wf-(He.precedance===Mc||Oc===He[Hd]?jm===Ji?Hm:jm===Um?-Hm:-Hm/2:0)-(jm===S?Hm/2:0);return n_===R?(Gd=(Oc===Ji?1:-1)*wf,I[Ji]+=Cf>0?Cf:zd>0?-zd:0,I[Ji]=Math.max(-Fl[Ji]+sl[Ji],Dc-Gd,Math.min(Math.max(-Fl[Ji]+sl[Ji]+(i_===c?ol:Os),Dc+Gd),I[Ji],"center"===Oc?Dc-wf:1e9))):(ns*="flipinvert"===n_?2:0,Cf>0&&(Oc!==Ji||zd>0)?(I[Ji]-=Gd+ns,rl.invert(Mc,Ji)):zd>0&&(Oc!==Um||Cf>0)&&(I[Ji]-=(Oc===S?-Gd:Gd)+ns,rl.invert(Mc,Um)),I[Ji]<Is[Ji]&&-I[Ji]>zd&&(I[Ji]=Dc,rl=He.clone())),I[Ji]-Dc}return Fl=Dn.offset()||Cn,$u="static"===Dn.css("position"),ts="fixed"===Je.css("position"),ol=Nt[0]===e?Nt.width():Nt.outerWidth(o),Os=Nt[0]===e?Nt.height():Nt.outerHeight(o),Is={left:ts?0:Nt.scrollLeft(),top:ts?0:Nt.scrollTop()},sl=Nt.offset()||Cn,("shift"!==dn||"shift"!==fn)&&(rl=He.clone()),{left:"none"!==dn?Ud(a,l,dn,Dt.x,f,b,c,X,ce):0,top:"none"!==fn?Ud(l,a,fn,Dt.y,d,y,u,Z,we):0,my:rl}},$e.polys={polygon:function(x,I){var Z,ut,Dt,$={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:o},X=0,ce=[],we=1,Ne=1,Je=0,He=0;for(X=x.length;X--;)(Z=[parseInt(x[--X],10),parseInt(x[X+1],10)])[0]>$.position.right&&($.position.right=Z[0]),Z[0]<$.position.left&&($.position.left=Z[0]),Z[1]>$.position.bottom&&($.position.bottom=Z[1]),Z[1]<$.position.top&&($.position.top=Z[1]),ce.push(Z);if(ut=$.width=Math.abs($.position.right-$.position.left),Dt=$.height=Math.abs($.position.bottom-$.position.top),"c"===I.abbrev())$.position={left:$.position.left+$.width/2,top:$.position.top+$.height/2};else{for(;ut>0&&Dt>0&&we>0&&Ne>0;)for(ut=Math.floor(ut/2),Dt=Math.floor(Dt/2),I.x===f?we=ut:I.x===b?we=$.width-ut:we+=Math.floor(ut/2),I.y===d?Ne=Dt:I.y===y?Ne=$.height-Dt:Ne+=Math.floor(Dt/2),X=ce.length;X--&&!(ce.length<2);)Je=ce[X][0]-$.position.left,He=ce[X][1]-$.position.top,(I.x===f&&Je>=we||I.x===b&&Je<=we||I.x===S&&(Je<we||Je>$.width-we)||I.y===d&&He>=Ne||I.y===y&&He<=Ne||I.y===S&&(He<Ne||He>$.height-Ne))&&ce.splice(X,1);$.position={left:ce[0][0],top:ce[0][1]}}return $},rect:function(x,I,$,X){return{width:Math.abs($-x),height:Math.abs(X-I),position:{left:Math.min(x,$),top:Math.min(I,X)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(x,I,$,X,Z){var ce=$e.polys._angles[Z.abbrev()],we=0===ce?0:$*Math.cos(ce*Math.PI),Ne=X*Math.sin(ce*Math.PI);return{width:2*$-Math.abs(we),height:2*X-Math.abs(Ne),position:{left:x+we,top:I+Ne},adjustable:o}},circle:function(x,I,$,X){return $e.polys.ellipse(x,I,$,$,X)}},$e.svg=function(x,I,$){for(var Ne,Je,He,ut,Dt,ht,dn,fn,Nt,X=I[0],Z=i(X.ownerSVGElement),ce=X.ownerDocument,we=(parseInt(I.css("stroke-width"),10)||0)/2;!X.getBBox;)X=X.parentNode;if(!X.getBBox||!X.parentNode)return o;switch(X.nodeName){case"ellipse":case"circle":fn=$e.polys.ellipse(X.cx.baseVal.value,X.cy.baseVal.value,(X.rx||X.r).baseVal.value+we,(X.ry||X.r).baseVal.value+we,$);break;case"line":case"polygon":case"polyline":for(fn=[],ht=-1,ut=(dn=X.points||[{x:X.x1.baseVal.value,y:X.y1.baseVal.value},{x:X.x2.baseVal.value,y:X.y2.baseVal.value}]).numberOfItems||dn.length;++ht<ut;)Dt=dn.getItem?dn.getItem(ht):dn[ht],fn.push.apply(fn,[Dt.x,Dt.y]);fn=$e.polys.polygon(fn,$);break;default:fn={width:(fn=X.getBBox()).width,height:fn.height,position:{left:fn.x,top:fn.y}}}return Nt=fn.position,(Z=Z[0]).createSVGPoint&&(Je=X.getScreenCTM(),(dn=Z.createSVGPoint()).x=Nt.left,dn.y=Nt.top,He=dn.matrixTransform(Je),Nt.left=He.x,Nt.top=He.y),ce!==n&&"mouse"!==x.position.target&&(Ne=i((ce.defaultView||ce.parentWindow).frameElement).offset())&&(Nt.left+=Ne.left,Nt.top+=Ne.top),ce=i(ce),Nt.left+=ce.scrollLeft(),Nt.top+=ce.scrollTop(),fn},$e.imagemap=function(x,I,$){I.jquery||(I=i(I));var Ne,Je,He,ut,Dt,X=(I.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),Z=i('img[usemap="#'+I.parent("map").attr("name")+'"]'),we=i.trim(I.attr("coords")).replace(/,$/,"").split(",");if(!Z.length)return o;if("polygon"===X)ut=$e.polys.polygon(we,$);else{if(!$e.polys[X])return o;for(He=-1,Dt=we.length,Je=[];++He<Dt;)Je.push(parseInt(we[He],10));ut=$e.polys[X].apply(this,Je.concat($))}return(Ne=Z.offset()).left+=Math.ceil((Z.outerWidth(o)-Z.width())/2),Ne.top+=Math.ceil((Z.outerHeight(o)-Z.height())/2),ut.position.left+=Ne.left,ut.position.top+=Ne.top,ut};function t_(x){this._ns="ie6",this.qtip=x,this.init(x)}i.extend(t_.prototype,{_scroll:function(){var x=this.qtip.elements.overlay;x&&(x[0].style.top=i(e).scrollTop()+"px")},init:function(x){var I=x.tooltip;i("select, object").length<1&&(this.bgiframe=x.elements.bgiframe=i('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(I),x._bind(I,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=i("<div/>",{id:gt+"-rcontainer"}).appendTo(n.body),x.elements.overlay&&x.elements.overlay.addClass("qtipmodal-ie6fix")&&(x._bind(e,["scroll","resize"],this._scroll,this._ns,this),x._bind(I,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var Z,ce,x=this.qtip.tooltip,I={height:x.outerHeight(o),width:x.outerWidth(o)},$=this.qtip.plugins.tip,X=this.qtip.elements.tip;ce={left:-(ce=parseInt(x.css("borderLeftWidth"),10)||0),top:-ce},$&&X&&(ce[(Z="x"===$.corner.precedance?[c,f]:[u,d])[1]]-=X[Z[0]]()),this.bgiframe.css(ce).css(I)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var X,Z,ce,we,x=this.qtip.tooltip,I=this.qtip.options.style,$=this.qtip.options.position.container;return this.qtip.drawing=1,I.height&&x.css(u,I.height),I.width?x.css(c,I.width):(x.css(c,"").appendTo(this.redrawContainer),(Z=x.width())%2<1&&(Z+=1),X=((ce=x.css("maxWidth")||"")+(we=x.css("minWidth")||"")).indexOf("%")>-1?$.width()/100:0,Z=(ce=(ce.indexOf("%")>-1?X:1*parseInt(ce,10))||Z)+(we=(we.indexOf("%")>-1?X:1*parseInt(we,10))||0)?Math.min(Math.max(Z,we),ce):Z,x.css(c,Math.round(Z)).appendTo($)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([e,this.qtip.tooltip],this._ns)}}),($e.ie6=function(x){return 6===di.ie?new t_(x):o}).initialize="render",mt.ie6={"^content|style$":function(){this.redraw()}}}(Ed())}(window,document);var $Ae=Bn.extend({className:"okta-form-label o-form-label",attributes:{"data-se":"o-form-label"},constructor:function(e){m.defaults(e,{inputId:e.id}),delete e.id,Bn.apply(this,arguments)},template:se.template({1:function(e,n,t,i,r){return"<legend>"},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<label for="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"inputId")||(null!=n?s(n,"inputId"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:61},end:{line:1,column:72}}}):o)+'"></label>'},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"label")||(null!=n?s(n,"label"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"label",hash:{},data:r,loc:{start:{line:1,column:116},end:{line:1,column:125}}}):o)},7:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<label for="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:167},end:{line:1,column:178}}}):o)+'">'+c(typeof(o=null!=(o=u(t,"label")||(null!=n?u(n,"label"):n))?o:a)===l?o.call(s,{name:"label",hash:{},data:r,loc:{start:{line:1,column:180},end:{line:1,column:189}}}):o)+" </label>"},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="o-form-explain">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"sublabel")||(null!=n?s(n,"sublabel"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"sublabel",hash:{},data:r,loc:{start:{line:1,column:256},end:{line:1,column:268}}}):o)+"</span>"},11:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="o-form-tooltip icon-16 icon-only form-help-16" title="'+e.escapeExpression(e.lambda(null!=(o=null!=n?s(n,"tooltip"):n)?s(o,"text"):o,n)
1)+'"></span>'},13:function(e,n,t,i,r){return"</legend>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"group"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:28}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"_isLabelView"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:28},end:{line:1,column:89}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"_isRadioOrCheckbox"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:89},end:{line:1,column:132}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"_standardLabel"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:132},end:{line:1,column:210}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"sublabel"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:210},end:{line:1,column:282}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"tooltip"):n,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:282},end:{line:1,column:397}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"group"):n,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:397},end:{line:1,column:426}}}))?o:"")},useData:!0}),getTemplateData:function(){const e={label:""};return m.each(["inputId","label","sublabel","tooltip","group"],function(n){e[n]=m.resultCtx(this.options,n,this)},this),this._isLabelView(e.label)?e._isLabelView=!0:m.contains(["radio","checkbox"],this.options.type)||!e.label?e._isRadioOrCheckbox=!0:e._standardLabel=!0,e.tooltip&&m.isString(e.tooltip)&&(e.tooltip={text:e.tooltip}),e},_isLabelView:function(e){return!m.isUndefined(e)&&e instanceof Bn},postRender:function(){const e=this.getTemplateData();this._isLabelView(e.label)&&(this.removeChildren(),this.add(e.label,"label")),e.tooltip&&this.$(".o-form-tooltip").qtip(m.extend({style:{classes:"qtip-custom qtip-shadow"},position:{my:window.okta&&"dstheme"===window.okta.theme?"bottom center"
1:"bottom left",at:"top center"},hide:{fixed:!0},show:{delay:0}},e.tooltip.options))}});function YH(e,n){e.apply(this,m.map(n.split(/\s+/),function(t){return this.model.get(t)},this))}function QH(e,n){m.isFunction(e)&&e.call(n)}var JH=Bn.extend({tagName:function(){return this.options.group?"fieldset":"div"},className:function(){let e="o-form-fieldset";return this.options["label-top"]&&(e+=" o-form-label-top"),this.options.readOnly&&(e+=" o-form-read-mode"),e},attributes:function(){return{"data-se":this.options["data-se"]||"o-form-fieldset"}},constructor:function(e){e.className&&(this.inputWrapperClassName=this.className,this.optionsClassName=e.className,e.className=function(){return m.result(this,"inputWrapperClassName","")+" "+m.result(this,"optionsClassName")}),Bn.apply(this,arguments),m.each(e.events||{},function(n,t){this.listenTo(this.model,t,n)},this),m.each(e.bindings||{},function(n,t){this.listenTo(this.model,cs.changeEventString(t.split(/\s+/)),m.bind(YH,this,n,t))},this),cs.applyShowWhen(this,e.showWhen),cs.applyToggleWhen(this,e.toggleWhen),QH(e.initialize,this)},postRender:function(){m.each(this.options.bindings||{},YH,this),QH(this.options.render,this)},getLabel:function(){return this.size()>1?this.at(0):null},getInput:function(){return this.getInputContainer()},getInputContainer:function(){return this.at(this.size()>1?1:0)},getInputs:function(){return this.getInputContainer().toArray()},focus:function(){return this.getInput().focus()}});const VAe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h2 class="o-form-title-bar" data-se="o-form-title-bar">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:75},end:{line:1,column:84}}}):o)+"</h2>"},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"title"):n,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:192},end:{line:1,column:288}}}))?o:""},4:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:267},end:{line:1,column:276}}}):o)+"</h2>"},6:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="okta-form-subtitle o-form-explain" data-se="o-form-explain">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"subtitle")||(null!=n?s(n,"subtitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:385},end:{line:1,column:397}}}):o)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return(null!=(o=l(t,"if").call(a,null!=n?l(n,"hasReadMode"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:96}}}))?o:"")+'<div data-se="o-form-content" class="o-form-content '+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"layout")||(null!=n?l(n,"layout"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"layout",hash:{},data:r,loc:{start:{line:1,column:148},end:{line:1,column:158}}}):s)+' clearfix">'+(null!=(o=l(t,"unless").call(a,null!=n?l(n,"hasReadMode"):n,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:169},end:{line:1,column:299}}}))?o:"")+(null!=(o=l(t,"if").call(a,null!=n?l(n,"subtitle"):n,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:299},end:{line:1,column:408}}}))?o:"")+'<div class="o-form-error-container" data-se="o-form-error-container"></div><div class="o-form-fieldset-container" data-se="o-form-fieldset-container"></div></div>'},useData:!0}
1),BAe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h2 class="o-form-head">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):o)+"</h2>"},useData:!0}),UAe="auto"===Qt("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents;function HAe(e){if(!UAe&&this.$el.hasClass("o-form-saving")){const n=Qt(e.currentTarget);n.css("display","none");const t=document.elementFromPoint(e.clientX,e.clientY);return n.css("display","block"),e.target=t,Qt(t).trigger(e),!1}}const XH={submit:function(e){e.preventDefault(),this.__save()}};m.each(["click","dblclick","mousedown","mouseup"],function(e){XH[e+" .o-form-input"]=HAe});const ZH=function(e,n){e||(e="");let t=[];return m.isString(e)&&(t=e.split(" ")),t=m.union(t,n),t.join(" ")};var GAe=Bn.extend({constructor:function(e){e||(e={}),this.options=e,this.settings=e.settings?e.settings:e.settings=new wI,this.id=m.uniqueId("form"),this.tagName="form",m.defaults(this.events,XH),m.defaults(this.attributes,function(e){e||(e={});const n=e&&e.collection||{};return{method:"POST",action:m.result(e,"urlRoot")||m.result(n,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}}(e.model)),this.__buttons=[],this.__errorFields={},this.__saveModelState(e.model);const n=m.result(this,"step");if(n){if(!this.save){const i=m.result(this,"totalSteps");this.save=Mi.localize(i&&n!==i?"oform.button.next":"oform.button.finish","courage")}this.className=m.result(this,"className")+" wizard"}this.className=m.result(this,"className")+" o-form",this.__toolbar=this.__createToolbar(e),Bn.call(this,e),m.each(m.result(this,"inputs")||[],function(i){this.__addLayoutItem(i)},this),this.add(this.__toolbar,""),this.listenTo(this.model,"change:__edit__",this.__applyMode),this.listenTo(this.model,"invalid error",m.throttle(function(i,r,o){this.__showErrors(i,r,!1!==o)},100,{trailing:!1})),this.listenTo(this.model,"form:resize",function(){this.trigger("resize")}),this.listenTo(this.model,"form:cancel",m.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",m.throttle(this.__previous,100,{trailing:!1})),this.__save=m.throttle(this.__save,200,{trailing:!1}),this.listenTo(this.model,"form:save",function(){this.$el.submit()}),this.listenTo(this.model,"sync",function(){this.model.get("__edit__")&&this.model.set("__edit__",!1,{silent:!0}),this.__saveModelState(this.model),this.render()});let t=this.getAttribute("hasSavingState");if(this.getAttribute("autoSave")&&(this.listenTo(this,"save",function(i){const r=i.save();r&&r.done&&r.done(()=>{this.trigger("saved",i)})}),m.isUndefined(t)&&(t=!0)),t){const i=this.getAttribute("customSavingState",{});this.listenTo(this.model,ZH(i.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,ZH(i.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){const t=!0===this.getAttribute("danger")?"button-error":"button-primary",i=m.result(this,"step"),r=new HH(m.extend({save:this.save||Mi.localize("oform.save","courage"),saveId:this.saveId,saveClassName:t,cancel:this.cancel||Mi.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,buttonOrder:this.buttonOrder,hasPrevStep:i&&i>1},e||this.options));return m.each(this.__buttons,function(o){r.addButton.apply(r,o)}),r},className:"",attributes:{},events:{},inputs:[],template:null,read:!1,readOnly:!1,noButtonBar:!1,noCancelButton:!1,noSubmitButton:!1,buttonOrder:["previous","save","cancel"],save:null,cancel:null,danger:!1,layout:"",step:void 0,totalSteps:void 0,title:null,subtitle:null,autoSave:!1,scrollOnError:!0,showErrors:!0,resizeSelector:".o-form-content",getAttribute:function(e,n){let t=m.resultCtx(this.options,e,this);return m.isUndefined(t)&&(t=m.result(this,e)),m.isUndefined(t)?n:t},hasReadMode:function(){return!!this.getAttribute("read")},isReadOnly:function(){return!!this.getAttribute("readOnly")},hasButtonBar:function(){return!(this.getAttribute("noButtonBar")||this.isReadOnly())},render:function(){if(this.__readModeBar&&this.__readModeBar.remove(),this.hasReadMode()&&!this.isReadOnly()){const n=IAe.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(n,".o-form-title-bar").last()}const e=VAe({layout:this.getAttribute("layout",""),title:this.getAttribute("title","",!0),subtitle:this.getAttribute("subtitle","",!0),hasReadMode:this.hasReadMode()});return this.$el.html(e),delete this.template,Bn.prototype.render.apply(this,arguments),this.__applyMode(),this},__setSavingState:function(){this.model.trigger("form:set-saving-state"),this.$el.addClass("o-form-saving")},__clearSavingState:function(){this.model.trigger("form:clear-saving-state"),this.$el.removeClass("o-form-saving")},__toggleToolbar:function(){this.__toolbar&&this.__toolbar.remove(),this.hasButtonBar()&&this._editMode()&&(this.__toolbar=this.__createToolbar(),this.add(this.__toolbar,"")),this.trigger("resize")},__cancel:function(){const e=this.model.get("__edit__");let n;this.model.clear({silent:!0}),n=this.model.sanitizeAttributes?this.model.sanitizeAttributes(this.__originalModel):m.clone(this.__originalModel),this.model.set(n,{silent:!0}),this.trigger("cancel",this.model),this.model.trigger("cache:clear"),e&&(this.model.set("__edit__",!1,{silent:!0}),this.model.trigger("change:__edit__",this.model,!1)),this.clearErrors()},isValid:function(){let e;const n=this;function t(i){return m.reduce(i,function(r,o){return m.extend(r,n.model.validateField(o))},{})}return m.isUndefined(this.validate)?this.model.isValid():(m.isFunction(this.validate)?e=this.validate():m.isArray(this.validate)?e=t(this.validate):"local"===this.validate&&(e=t(this.getInputs().map(function(i){return i.options.name}))),!!m.isEmpty(e)||(this.model.trigger("invalid",this.model,e),!1))},__save:function(){this.clearErrors(),this.isValid()&&this.trigger("save",this.model)},__previous:function(){this.trigger("previous",this.model)},__applyMode:function(){this.clearErrors(),this.__toggleToolbar(),this._editMode()?(this.$el.addClass("o-form-edit-mode"),this.$el.removeClass("o-form-read-mode"),this.$(".o-form-content").removeClass("rounded-btm-4"),this.focus()):(this.$el.removeClass("o-form-edit-mode"),this.$el.addClass("o-form-read-mode"),this.$(".o-form-content").addClass("rounded-btm-4"))},_editMode:function(){return this.model.get("__edit__")||!this.hasReadMode()},parseErrorMessage:m.identity,_handleErrorScroll:function(){if(!this.getAttribute("scrollOnError"))return;const e=Qt("#"+this.id+" .o-form-error-container");if(e.length){let t,n=e.scrollParent();n[0]===document?(n=Qt("html, body"),t=e.offset().top):t=n.scrollTop()+e.offset().top-n.offset().top,n.animate({scrollTop:t},400)}},__showErrors:function(e,n,t){if(this.trigger("error",e),!this.getAttribute("showErrors"))return;let i,r=zH.getResponseJSON(n);const o=zH.parseFieldErrors(n);m.size(o)?m.each(o,function(s,a){this.model.trigger("form:field-error",this.__errorFields[a]||a,m.map(s,function(l){return/^model\.validation/.test(l)?Mi.localize(l,"courage"):l}))},this):(r=this.parseErrorMessage(r),i=function(e={}){return Array.isArray(e.errorCauses)&&e.errorCauses.length>0?e.errorCauses[0].errorSummary:e.errorSummary}(r)),t&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(RAe,".o-form-error-container",{options:{errorSummary:i}})),this._handleErrorScroll(),this.model.trigger("form:resize")},clearErrors:function(){this.$(".o-form-error-container").removeClass("o-form-has-errors"),this.model.trigger("form:clear-errors"),this.model.trigger("form:resize")},toggle:function(){return this.model.set("__edit__",!this.hasReadMode()||!this.model.get("__edit__")),this},__addLayoutItem:function(e){KH_supports(e)?this.addInput(e):this.__addNonInputLayoutItem(e)},__addNonInputLayoutItem:function(e){const n=m.omit(e,"type");switch(e.type){case"sectionTitle":this.addSectionTitle(e.title,m.omit(n,"title"));break;case"divider":this.addDivider(n);break;default:throw new Error("unknown input: "+e.type)}},addButton:function(e,n){this.__toolbar&&this.__toolbar.addButton(e,n),this.__buttons.push([e,n])},addDivider:function(e){return this.add('<div class="okta-form-divider form-divider"></div>'),cs.applyShowWhen(this.last(),e&&e.showWhen),cs.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,n){return this.add(BAe({title:e})),cs.applyShowWhen(this.last(),n&&n.showWhen),cs.applyToggleWhen(this.last(),n&&n.toggleWhen),this},addInput:function(e){e=m.clone(e),cs.validateInput(e,this.model);const n=cs.generateInputOptions(e,this,this.__createInput).reverse();m.isEmpty(this.getInputs().toArray())&&m.extend(n[0],{validateOnlyIfDirty:!0});const t=m.map(n,this.__createInput,this);m.each(n,function(s){s.errorField&&(this.__errorFields[s.errorField]=s.name)},this);const i={inputId:m.last(t).options.inputId,input:t,multi:n.length>1?n.length:void 0};m.extend(i,m.omit(this.options,"input"),m.omit(e,"input"));const r=this.__createWrapper(i);!1!==i.label&&r.add(this.__createLabel(i)),r.add(this._createContainer(i)),r.type=i.type||i.input.type||"custom";const o=[r].concat(m.rest(arguments));return this.add.apply(this,o)},__createInput:function(e){return e=m.pick(e,cs.INPUT_OPTIONS),KH_create(e)},__createWrapper:function(e){return e=m.pick(e,cs.WRAPPER_OPTIONS),new JH(e)},__createLabel:function(e){return e=m.pick(e,cs.LABEL_OPTIONS),new $Ae(e)},_createContainer:function(e){return e=m.pick(e,cs.CONTAINER_OPTIONS),new NAe(e)},__saveModelState:function(e){this.__originalModel=Qt.extend(!0,{},e.attributes)},add:function(...e){return typeof e[1]>"u"&&(e[1]="> div.o-form-content > .o-form-fieldset-container"),Bn.prototype.add.apply(this,e)},focus:function(){const e=this.getInputs().first();return e&&e.focus&&e.focus(),this},disable:function(){return this.invoke("disable"),this},enable:function(){this.invoke("enable")},contentHeight:function(e){const n=this.$(".o-form-content");
1if(!m.isNumber(e))return n.height();n.css("max-height",e)},getInputs:function(){return m(this.filter(function(e){return e instanceof JH}))}});function _c(e,n){return m.resultCtx(e.options,n,e)||m.result(e,n)}function qAe(e){let n="infobox clearfix infobox-"+_c(e,"type");switch(_c(e,"size")){case"standard":n+="";break;case"slim":n+=" infobox-slim";break;case"compact":n+=" infobox-compact";break;case"large":n+=" infobox-md"}return _c(e,"dismissible")&&(n+=" infobox-dismiss"),n}const WAe={"click .infobox-dismiss-link":function(e){e.preventDefault(),this.$el.fadeOut(400,()=>{this.trigger("dismissed"),this.remove()})}},KAe=se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a data-se="dismiss-link" class="infobox-dismiss-link" title="'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:r,loc:{start:{line:1,column:81},end:{line:1,column:131}}}))+'" href="#"><span data-se="icon" class="dismiss-icon"></span></a>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h3 data-se="header">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:286},end:{line:1,column:295}}}):o)+"</h3>"},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};
1return'<p data-se="sub-header">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"subtitle")||(null!=n?s(n,"subtitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:347},end:{line:1,column:359}}}):o)+"</p>"},7:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<ul data-se="list" class="bullets">'+(null!=(o=s(t,"each").call(n??(e.nullContext||{}),null!=n?s(n,"bullets"):n,{name:"each",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:420},end:{line:1,column:483}}}))?o:"")+"</ul>"},8:function(e,n,t,i,r){return'<li data-se="list-item">'+e.escapeExpression(e.lambda(n,n))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return(null!=(o=l(t,"if").call(a,null!=n?l(n,"dismissible"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:202}}}))?o:"")+'<span data-se="icon" class="icon '+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"icon")||(null!=n?l(n,"icon"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"icon",hash:{},data:r,loc:{start:{line:1,column:235},end:{line:1,column:243}}}):s)+'"></span>'+(null!=(o=l(t,"if").call(a,null!=n?l(n,"title"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:252},end:{line:1,column:307}}}))?o:"")+(null!=(o=l(t,"if").call(a,null!=n?l(n,"subtitle"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:307},end:{line:1,column:370}}}))?o:"")+(null!=(o=l(t,"if").call(a,null!=n?l(n,"bullets"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:370},end:{line:1,column:495}}}))?o:"")},useData:!0}),YAe=Bn.extend({attributes:{"data-se":"callout"},content:null,size:"standard",type:"info",dismissible:!1,title:null,subtitle:null,bullets:null,constructor:function(){this.events=m.defaults(this.events||{},WAe),Bn.apply(this,arguments),this.$el.addClass(qAe(this)),this.template=KAe;const e=_c(this,"content");e&&this.add(e)},getTemplateData:function(){let e=_c(this,"type");switch("tip"===e&&(e="light-bulb"),_c(this,"size")){case"slim":e="";break;case"large":e=[e,"-","24"].join("");break;default:e=[e,"-","16"].join("")}return{icon:e,title:_c(this,"title"),subtitle:_c(this,"subtitle"),bullets:_c(this,"bullets"),dismissible:_c(this,"dismissible")}}});var tj_create=function(e){return new YAe(e)};const QAe={tagName:"span",attributes:function(){return{"data-se":"o-form-input-"+this.getNameString()}},defaultPlaceholder:"",constructor:function(e){delete(e=m.defaults(e||{},{inputId:e.id||m.uniqueId("input"),placeholder:this.defaultPlaceholder,inlineValidation:!0,validateOnlyIfDirty:!1})).id;const n=this;m.each({enable:"removeClass",disable:"addClass"},function(t,i){n[i]=m.wrap(n[i],function(r){r.apply(n,arguments),n.$el[t]("o-form-disabled")})}),Bn.call(this,e),!0!==m.result(e,"readOnly")&&!0===m.result(e,"read")&&this.listenTo(this.model,"change:__edit__",this.render),m.isFunction(this.focus)&&(this.focus=m.debounce(m.bind(this.focus,this),50)),m.result(e,"validateOnlyIfDirty")||this.addInlineValidation(),this.addModelListeners(),this.$el.addClass("o-form-input-name-"+this.getNameString())},addAriaLabel:function(){const e=this.options.ariaLabel;e&&this.$(":input").attr("aria-label",e)},addInlineValidation:function(){m.result(this.options,"inlineValidation")&&this.$el.on("focusout",":input",m.bind(this.validate,this))},toModelValue:function(){let e=this.val();return m.isFunction(this.to)&&(e=this.to.call(this,e)),m.isFunction(this.options.to)&&(e=this.options.to.call(this,e)),e},__getDependencyCalloutBtn:function(e){const n=this,t=m.clone(e),i=t.click||function(){};return t.click=function(){Qt(window).one("focus.dependency",function(){n.__showInputDependencies()}),i.call(n)},new(Bn.extend({children:[MI_create(t)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(e){return Bn.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if
1(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<span class="o-form-explain">'+n.escapeExpression("function"==typeof(s=null!=(s=a(i,"msg")||(null!=t?a(t,"msg"):t))?s:n.hooks.helperMissing)?s.call(t??(n.nullContext||{}),{name:"msg",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:36}}}):s)+"</span>"},useData:!0}),getTemplateData:function(){return{msg:e}}})},showCallout:function(e,n){const t=m.clone(e);t.className="dependency-callout",t.btn&&(t.content=this.__getDependencyCalloutBtn(t.btn),delete t.btn);const i=tj_create(t);n||i.add(this.__getCalloutMsgContainer(Mi.localize("dependency.callout.msg","courage"))),this.getCalloutParent().append(i.render().el),"success"===t.type&&m.delay(function(){i.$el.fadeOut(800)},1e3)},removeCallout:function(){this.$el.find(".dependency-callout").remove()},__evaluateCalloutObject:function(e,n){let t;return t=e?{title:Mi.localize("dependency.action.completed","courage"),size:"large",type:"success"}:{title:Mi.localize("dependency.action.required","courage",[n]),size:"large",type:"warning"},t},__handleDependency:function(e,n){const t=this,i=m.isFunction(n)?n(e):m.extend({},n,t.__evaluateCalloutObject(e.resolved,n.title));t.removeCallout(),t.showCallout(i,e.resolved)},__showInputDependencies:function(){const e=this,n=e.options.deps[e.getModelValue()];n&&m.isFunction(n.func)?n.func().done(function(t){e.__handleDependency({resolved:!0,data:t},n.callout)}).fail(function(t){e.__handleDependency({resolved:!1,data:t},n.callout)}):e.removeCallout()},_isEdited:!1,hasIMESupport:!1,update:function(e){var n,t;if(!this._isEdited&&m.result(this.options,"validateOnlyIfDirty")&&(this._isEdited=!0,this.addInlineValidation()),this.model.set(this.options.name,this.toModelValue()),this.options.deps&&this.__showInputDependencies(),this.hasIMESupport&&null!==(n=window)&&void 0!==n&&null!==(t=n.okta)&&void 0!==t&&t.enableIMESupport){if(this.isComposing)return;e&&vc.isEnter(e)&&this.model.trigger("form:save")}},isEditMode:function(){return!m.result(this.options,"readOnly")&&(!0!==m.result(this.options,"read")||!0===this.model.get("__edit__"))},render:function(){this.preRender();const e=this.options.params;return this.options.params=m.resultCtx(this.options,"params",this),this.isEditMode()?(this.editMode(),this.applyEnabledState()):this.readMode(),this.options.params=e,this.addAriaLabel(),this.postRender(),this},applyEnabledState:function(){m.resultCtx(this.options,"disabled",this)?this.disable():this.enable()},validate:function(){if(!this.model.get("__pending__")&&this.isEditMode()&&m.isFunction(this.model.validateField)){const e=this.model.validateField(this.options.name);e&&m.delay(function(){this.model.trigger("form:clear-error:"+this.options.name),this.model.trigger("invalid",this.model,e,!1)}.bind(this),100)}},addModelListeners:function(){this.listenTo(this.model,"form:field-error",function(e){this.options.name===e&&this.__markError()}),this.listenTo(this.model,"form:clear-errors change:"+this.options.name,this.__clearError),this.listenTo(this.model,"form:clear-error:"+this.options.name,this.__clearError)},val:function(){throw new Error("val() is an abstract method")},focus:function(){throw new Error("focus() is an abstract method")},defaultValue:function(){return""},editMode:function(){const e=m.extend({},this.options,{value:this.getModelValue()});return this.$el.html(this.template(e)),this.options.multi&&this.$el.removeClass("margin-r"),this},readMode:function(){return this.$el.text(this.getReadModeString()),this.$el.removeClass("error-field"),this.options.multi&&this.$el.addClass("margin-r"),this},getReadModeString:function(){return m.resultCtx(this.options,"readModeString",this)||this.toStringValue()},getModelValue:function(){let e=this.model.get(this.options.name);return m.isFunction(this.from)&&(e=this.from.call(this,e)),m.isFunction(this.options.from)&&(e=this.options.from.call(this,e)),e},toStringValue:function(){let e=this.getModelValue();return this.options.options&&(e=this.options.options[e]),(Number.isInteger(e)||"boolean"==typeof e)&&(e=String(e)),e||this.defaultValue()},resize:function(){this.model.trigger("form:resize")},disable:function(){this.$(":input").prop("disabled",!0)},enable:function(){this.$(":input").prop("disabled",!1)},changeType:function(e){this.$(":input").prop("type",e),this.options.type=e}
1,getNameString:function(){return m.isArray(this.options.name)?this.options.name.join("-"):this.options.name},getParams:function(e){return m.clone(m.resultCtx(e||this.options||{},"params",this)||{})},getParam:function(e,n){const t=m.resultCtx(this.getParams(),e,this);return m.isUndefined(t)?n:t},getParamOrAttribute:function(e){return this.getParam(e)||m.result(this,e)},__markError:function(){this.$el.addClass("o-form-has-errors")},__clearError:function(){this.$el.removeClass("o-form-has-errors")}};var us=Bn.extend(QAe);const nj=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i){var r,o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a="function",l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<select id="'+l(typeof(r=null!=(r=c(t,"inputId")||(null!=n?c(n,"inputId"):n))?r:s)===a?r.call(o,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:12},end:{line:1,column:23}}}):r)+'" name="'+l(typeof(r=null!=(r=c(t,"name")||(null!=n?c(n,"name"):n))?r:s)===a?r.call(o,{name:"name",hash:{},data:i,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):r)+'"></select>'},useData:!0}),JAe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i){var r,o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a="function",l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<option value="'+l(typeof(r=null!=(r=c(t,"key")||(null!=n?c(n,"key"):n))?r:s)===a?r.call(o,{name:"key",hash:{},data:i,loc:{start:{line:1,column:15},end:{line:1,column:22}}}):r)+'">'+l(typeof(r=null!=(r=c(t,"value")||(null!=n?c(n,"value"):n))?r:s)===a?r.call(o,{name:"value",hash:{},data:i,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):r)+"</option>"},useData:!0});var a0=us.extend({className:"o-form-select",events:{"change select":"update"},constructor:function(){this.template=nj,this.option=this.option||JAe,us.apply(this,arguments),this.params=this.options.params||{}},editMode:function(){this.$el.html(nj(this.options)),this.$select=this.$("select"),this.appendOptions();const e=this.getModelValue();return e?this.$select.val(e):this.$("option:first-child").prop("selected",!0),this.$el.addClass("o-form-control"),this},appendOptions:function(){if(!this.getOptions())return;const e=this.getOptions(),n=Object.keys(e);
1this.applySortByKey(n),n.forEach(t=>{t?this.$select.append(this.option({key:t,value:e[t]})):this.$select.prepend(this.option({key:"",value:Mi.localize("select.default_value","login")}))}),m.defer(m.bind(this.update,this))},applySortByKey:function(e){const n=this.options.sortByKey;!n||(n instanceof Function&&e.sort(n),"asc"===n&&e.sort(),"desc"===n&&(e.sort(),e.reverse()))},val:function(){return this.$select&&this.$select.val()},focus:function(){if(this.$select)return this.$select.focus()},toStringValue:function(){const e=this.getModelValue();let n=e;const t=this.getOptions();return m.isEmpty(t)||(n=t[e]),m.isUndefined(n)&&(n=this.defaultValue()),n||""},getOptions:function(){let e=this.options.options;return m.isFunction(e)&&(e=e.call(this)),m.isObject(e)?e:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),us.prototype.remove.apply(this,arguments)},accessibilityUpdate:function(e,n){const t=this.$select.attr("id")+"_txt";this.$select.attr("id");const i=this.$select.attr("id")+"_ul";if(e?this.$("input[type=text]").attr("id",t).attr("aria-autocomplete","list").attr("aria-activedescendant","").attr("role","combobox").attr("aria-expanded","true").attr("aria-controls",i):this.$("input[type=text]").attr("id",t).attr("role","listbox"),n&&n.aria&&n.aria.label){const r=n.aria.label.trim();this.$("input[type=text]").attr("id",t).attr("aria-label",r)}else{const r=this.$el.parent().prev(".o-form-label").find("label").text().trim();this.$("input[type=text]").attr("id",t).attr("aria-label",r)}}});const XAe={undefined:"undefined",true:"true",false:"false"},ZAe=function(e){return e?"true":!1===e?"false":"undefined"},eMe=function(e){switch(e){case"undefined":default:return null;case"true":return!0;case"false":return!1}};var tMe=a0.extend({initialize:function(){this.options.options=XAe,this.options.from=ZAe,this.options.to=eMe}});const nMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div class="o-form-input-group-controls"><span class="input-fix o-form-control"><input type="text" class="o-form-text" name="'+c(typeof(o=null!=(o=u(t,"key")||(null!=n?u(n,"key"):n))?o:a)===l?o.call(s,{name:"key",hash:{},data:r,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"key")||(null!=n?u(n,"key"):n))?o:a)===l?o.call(s,{name:"key",hash:{},data:r,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):o)+'" value="'+c(typeof(o=null!=(o=u(t,"value")||(null!=n?u(n,"value"):n))?o:a)===l?o.call(s,{name:"value",hash:{},data:r,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):o)+'" placeholder="'+c(typeof(o=null!=(o=u(t,"placeholder")||(null!=n?u(n,"placeholder"):n))?o:a)===l?o.call(s,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:178},end:{line:1,column:193}}}):o)+'"/></span><a href="#" class="link-button link-button-icon icon-only"><span class="icon clear-input-16 "></span></a></div><p class="o-form-input-error o-form-explain"><span class="icon icon-16 error-16-small"></span>'+c(typeof(o=null!=(o=u(t,"errorExplain")||(null!=n?u(n,"errorExplain"):n))?o:a)===l?o.call(s,{name:"errorExplain",hash:{},data:r,loc:{start:{line:1,column:408},end:{line:1,column:424}}}):o)+"</p>"},useData:!0}),ij="o-form-has-errors",rj="updateArray";var iMe=Bn.extend({tagName:"div",className:"o-form-input-group",events:{"click a":function(e){e.preventDefault(),this.remove()},"keyup input":function(){this.update()}},isEditMode:function(){return!this.options.readOnly&&(!0!==this.options.read||!0===this.model.get("__edit__"))},initialize:function(){this.template=nMe(m.extend(this.options,{placeholder:this.getPlaceholderText(),errorExplain:this.getErrorExplainText()})),this.update=m.debounce(this.update,this.options.debounceDelay||200)},render:function(){return this.isEditMode()?this.$el.html(this.template):(this.$el.text(this.options.value),this.$("a").hide()),this},remove:function(){this.trigger(rj,null),this.$el.slideUp(()=>{Bn.prototype.remove.call(this,arguments)})},update:function(){let e=this.$("input").val();const n=m.object([hn.DATATYPE.number,hn.DATATYPE.integer],[Mi.parseFloat,this.parseInt]);m.has(n,this.options.itemType)&&(e=n[this.options.itemType](e),m.isNumber(e)?this.clearInvalid():this.markInvalid()),this.trigger(rj,e)},markInvalid:function(){this.$el.addClass(ij)},clearInvalid:function(){this.$el.removeClass(ij)},getPlaceholderText:function(){let e;switch(this.options.itemType.toLowerCase()){case"string":e=Mi.localize("placeholder.text.string","courage");break;case"number":e=Mi.localize("placeholder.text.number","courage");break;case"integer":e=Mi.localize("placeholder.text.integer","courage");break;default:e=""}return e},getErrorExplainText:function(){let e;switch(this.options.itemType.toLowerCase()){case"string":e=Mi.localize("string.item.type.error.message","courage");break;case"number":e=Mi.localize("number.item.type.error.message","courage");break;case"integer":e=Mi.localize("integer.item.type.error.message","courage");break;default:e=""}return e},parseInt:function(e){if(/^-?\d+$/.test(e)){const n=parseInt(e,10);return m.isNaN(n)?e:n}return e}}),Jy=us.extend({className:"array-input",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="array-inputs-button link-button">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}
1),{name:"i18n",hash:{bundle:"courage",code:"oform.add.another"},data:r,loc:{start:{line:1,column:52},end:{line:1,column:102}}}))+"</a>"},useData:!0}),params:{itemType:"string"},events:{"click .array-inputs-button":function(e){e.preventDefault(),this.isEditMode()&&this.addNewElement()}},initialize:function(e){e||(e={}),this.params=m.defaults(e.params||{},this.params),this.uniqueIdPrefix="array"},from:function(e){return m.isArray(e)?e:[]},editMode:function(){return this._setArrayObject(),this.$el.html(this.template),m.each(this.arrayObject,m.bind(this._addDeletableBox,this)),this},readMode:function(){this.editMode(),this.$(".array-inputs-button").addClass("link-button-disabled")},val:function(){let e=m.values(this.arrayObject);return m.contains([hn.DATATYPE.number,hn.DATATYPE.integer],this.params.itemType)&&(e=m.filter(e,m.isNumber)),e},focus:function(){},addNewElement:function(){const n=m.uniqueId(this.uniqueIdPrefix);this.arrayObject[n]="",this._addDeletableBox("",n),this.update()},_addDeletableBox:function(e,n){const t=new iMe(m.extend(m.pick(this.options,"read","readOnly","model"),{key:n,value:e,itemType:this.params.itemType}));return this.listenTo(t,"updateArray",function(i){m.isNull(i)?(delete this.arrayObject[n],this.stopListening(t)):this.arrayObject[n]=i,this.update()}),t.render().$el.hide(),this.$(".array-inputs-button").before(t.el),t.$el.slideDown(),t},_setArrayObject:function(){const e=this.model.get(this.options.name);if(this.arrayObject={},m.isArray(e)&&!m.isEmpty(e)){const n=[],t=this;m(e.length).times(function(){n.push(m.uniqueId(t.uniqueIdPrefix))}),this.arrayObject=m.object(n,e)}}});function rMe(e){const n=Mi.parseFloat(e);return""===e?null:n}function oj(e){return m.object(e,e)}function sj(e){const n=e.get("items");return n?n.objectName:e.get("objectName")}function aj(e,n,t){const i=e.get("name"),r=t.__nestedProperty__;let o=n[i];const s=t.get(i);let a;r&&e.set("__fieldNamePrefix__",r);const l=n[sj(e)];o&&s&&(o=m.union(o,s)),l&&l.length?a=l:o&&o.length&&(a=o),e.set("__possibleValues__",a)}function lj(e,n,t){return e.each(function(i){aj(i,n,t)}),e}function cj(e,n){return e.filter(function(t){return function sMe(e,n){const t=sj(e);return!(t&&m(n[t]).isEmpty())}(t,n)})}var cMe={createInputOptions:function(e){const n=function lMe(e){let n={};const t=e.get("name"),i=e.get("__displayType__"),r=e.get("__possibleValues__"),o=e.get("__fieldNamePrefix__");if(o&&(n.name=o+t,n.errorField=t),e.isEnumType()){const s={displayType:i,title:e.get("title"),enumValues:e.getEnumValues()};n=m.extend({},_I.getEnumInputOptions(s),n)}else(function oMe(e){return e&&e.indexOf("array")>=0})(i)&&r&&(n.type="checkboxset",n.input=null,n.options=oj(r));return n}(e),t=function aMe(e){const n=e.get("__displayType__"),t=e.get("__possibleValues__"),i=e.get("name"),o={type:"text",name:i,label:e.get("title")||i};switch(n){case"arrayofstring":o.input=Jy,o.params={itemType:"string"};break;case"arrayofnumber":o.input=Jy,o.params={itemType:"number"};break;case"arrayofinteger":o.input=Jy,o.params={itemType:"integer"};break;case"arrayofobject":o.input=Jy,o.params={itemType:e.get("items").type};break;case"arrayofref-id":o.input=Jy,o.params={itemType:e.get("items").format};break;case"boolean":o.input=tMe;break;case"integer":case"number":o.to=rMe;break;case"reference":o.type="select",o.options=oj(t);break;case"image":o.readOnly=!0,o.from=function(s){return m.isEmpty(s)?"":Mi.localize("user.profile.image.image_set","courage")};break;case"password":o.type="password";break;case"date":o.type="date";break;case"uri":case"country-code":case"country_code":case"language-code":case"language_code":case"email":case"locale":case"timezone":case"string":case"object":break;default:throw new Error(`unknown type: ${n}`)}return o}(e);return n.params&&t.params&&(n.params=m.defaults(n.params,t.params)),m.defaults(n,t)},hasValidSchemaProps:function(e,n){return!m.isEmpty(e)&&!!cj(e,n).length},prepareSchema:function(e,n,t){return e.reset(cj(e,n)),lj(e,n,t)},augmentSchemaProps:lj,augmentSchemaProp:aj};!function(){var e=Ed(),n=e;e.fn.customInput=function(){return n(this).each(function(){if(n(this).is("[type=checkbox],[type=radio]")){var t=n(this),i=t.siblings('label[for="'+t.attr("id")+'"]:first');i.length||(i=t.closest('label[for="'+t.attr("id")+'"]:first')),t.add(i).wrapAll('<div class="custom-'+t.attr("type")+'"></div>'),i.hover(function(){n(this).addClass("hover")},function(){n(this).removeClass("hover")}),t.bind("updateState",function(){t.is(":checked")?i.addClass("checked"):i.removeClass("checked checkedHover checkedFocus")}).trigger("updateState").click(function(){n('input[name="'+n(this).attr("name")+'"]').trigger("updateState")}).focus(function(){i.addClass("focus"),t.is(":checked")&&n(this).addClass("checkedFocus")}).blur(function(){i.removeClass("focus checkedFocus")})}})}}();var uj=us.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<input type="checkbox" name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:43}
1,end:{line:1,column:54}}}):o)+'"/><label for="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):o)+'" data-se-for-name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):o)+'">'+c(typeof(o=null!=(o=u(t,"placeholder")||(null!=n?u(n,"placeholder"):n))?o:a)===l?o.call(s,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:110},end:{line:1,column:125}}}):o)+"</label>"},useData:!0}),events:{"change :checkbox":"update",keyup:function(e){e.preventDefault(),vc.isSpaceBar(e)?this.$(":checkbox").click():vc.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){let e=m.resultCtx(this.options,"placeholder",this);return""===e?e=m.resultCtx(this.options,"label",this):!1===e&&(e=""),this.$el.html(this.template(m.extend(m.omit(this.options,"placeholder"),{placeholder:e}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),this},readMode:function(){return this.editMode(),this.$(":checkbox").prop("disabled",!0),this},val:function(){return this.$(":checkbox").prop("checked")},focus:function(){return this.$(":checkbox").focus()}});!function(){var o,s,e=Ed(),n="placeholder"in document.createElement("input"),t="placeholder"in document.createElement("textarea"),i=e.fn,r=e.valHooks;function l(u,d){var f=this,y=e(f);if(f.value==y.attr("placeholder")&&y.hasClass("placeholder"))if(y.data("placeholder-password")){if(y=y.hide().next().show().attr("id",y.removeAttr("id").data("placeholder-id")),!0===u)return y[0].value=d;y.focus()}else f.value="",y.removeClass("placeholder"),f==document.activeElement&&f.select()}function c(){var u,d=this,f=e(d),y=this.id;if(""==d.value){if("password"==d.type){if(!f.data("placeholder-textinput")){try{u=f.clone().attr({type:"text"})}catch{u=e("<input>").attr(e.extend(function a(u){var d={},f=/^jQuery\d+$/;return e.each(u.attributes,function(y,b){b.specified&&!f.test(b.name)&&(d[b.name]=b.value)}),d}(this),{type:"text"}))}u.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":y}).bind("focus.placeholder",l),f.data({"placeholder-textinput":u,"placeholder-id":y}).before(u)}f=f.removeAttr("id").hide().prev().attr("id",y).show()}f.addClass("placeholder"),f[0].value=f.attr("placeholder")}else f.removeClass("placeholder")}n&&t?(s=i.placeholder=function(){return this}).input=s.textarea=!0:((s=i.placeholder=function(){return this.filter((n?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":l,"blur.placeholder":c}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=n,s.textarea=t,o={get:function(u){var d=e(u);return d.data("placeholder-enabled")&&d.hasClass("placeholder")?"":u.value},set:function(u,d){var f=e(u);return f.data("placeholder-enabled")?(""==d?(u.value=d,u!=document.activeElement&&c.call(u)):f.hasClass("placeholder")&&l.call(u,!0,d)||(u.value=d),f):u.value=d}},n||(r.input=o),t||(r.textarea=o),e(function(){e(document).delegate("form","submit.placeholder",function(){var u=e(".placeholder",this).each(l);setTimeout(function(){u.each(c)},10)})}),e(window).bind("beforeunload.placeholder",function(){e(".placeholder").each(function(){this.value=""})}))}();const dj="okta-form-input-field input-fix";var Xy=us.extend({template:se.template({1:function(e,n,t,i,r){return'<span class="input-tooltip icon form-help-16"></span>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon input-icon '+e.escapeExpression(e.lambda(null!=(o=null!=n?s(n,"params"):n)?s(o,"icon"):o,n))+'"></span>'},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"autoComplete")||(null!=n?s(n,"autoComplete"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"autoComplete",hash:{},data:r,loc:{start:{line:1,column:333},end:{line:1,column:349}}}):o)},7:function(e,n,t,i,r){return"off"},9:function(e,n,t,i,r){return'<span class="input-icon-divider"></span>'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return(null!=(o=d(t,"if").call(a,null!=(o=null!=n?d(n,"params"):n)?d(o,"innerTooltip"):o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:87}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=(o=null!=n?d(n,"params"):n)?d(o,"icon"):o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:87},end:{line:1,column:166}
1}}))?o:"")+'<input type="'+u(typeof(s=null!=(s=d(t,"type")||(null!=n?d(n,"type"):n))?s:l)===c?s.call(a,{name:"type",hash:{},data:r,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):s)+'" placeholder="'+u(typeof(s=null!=(s=d(t,"placeholder")||(null!=n?d(n,"placeholder"):n))?s:l)===c?s.call(a,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):s)+'" name="'+u(typeof(s=null!=(s=d(t,"name")||(null!=n?d(n,"name"):n))?s:l)===c?s.call(a,{name:"name",hash:{},data:r,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):s)+'" id="'+u(typeof(s=null!=(s=d(t,"inputId")||(null!=n?d(n,"inputId"):n))?s:l)===c?s.call(a,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):s)+'" value="'+u(typeof(s=null!=(s=d(t,"value")||(null!=n?d(n,"value"):n))?s:l)===c?s.call(a,{name:"value",hash:{},data:r,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):s)+'" aria-label="'+u(typeof(s=null!=(s=d(t,"placeholder")||(null!=n?d(n,"placeholder"):n))?s:l)===c?s.call(a,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:282},end:{line:1,column:297}}}):s)+'" autocomplete="'+(null!=(o=d(t,"if").call(a,null!=n?d(n,"autoComplete"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.program(7,r,0),data:r,loc:{start:{line:1,column:313},end:{line:1,column:367}}}))?o:"")+'" />'+(null!=(o=d(t,"if").call(a,null!=(o=null!=n?d(n,"params"):n)?d(o,"iconDivider"):o,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:371},end:{line:1,column:444}}}))?o:"")},useData:!0}),events:{"input input":"update","change input":"update","keydown input":"update","compositionend input":function(){this.isComposing=!1},"compositionstart input":function(){this.isComposing=!0},"keyup input":function(e){!vc.isEnter(e)||window.okta&&window.okta.enableIMESupport?vc.isEsc(e)&&this.model.trigger("form:cancel"):this.model.trigger("form:save")}},hasIMESupport:!0,constructor:function(){us.apply(this,arguments),this.$el.addClass("o-form-control")},editMode:function(){this.$el.addClass(dj),us.prototype.editMode.apply(this,arguments),this.$("input").placeholder()},readMode:function(){us.prototype.readMode.apply(this,arguments),this.$el.addClass("no-translate"),"password"===this.options.type&&this.$el.text("********"),this.$el.removeClass(dj)},val:function(){let e=this.$('input[type="'+this.options.type+'"]').val();return"password"!==this.options.type&&(e=Qt.trim(e)),e},focus:function(){return this.$("input").focus()},postRender:function(){const{params:e}=this.options;if(e&&e.innerTooltip){const n=function dMe(e){return function uMe(e){const n=e.title,t=e.text;return n&&t&&n!==t}(e)?e:{text:e.text||e}}(e.innerTooltip);this.$(".input-tooltip").qtip({content:n,style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse",adjust:{method:"flip",mouse:!0,y:-5,x:5},viewport:Qt("body")}})}}});const hMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<span class="password-toggle"><span class="eyeicon visibility-16 button-show"></span><span class="eyeicon visibility-off-16 button-hide"></span></span>'},useData:!0});var pMe=Xy.extend({initialize:function(){this.__showPasswordToggle()&&(this.events["click .password-toggle .button-show"]="__showPassword",this.events["click .password-toggle .button-hide"]="__hidePassword"),this.delegateEvents()},postRender:function(){this.isEditMode()&&this.__showPasswordToggle()&&(this.$el.append(hMe),this.$el.find('input[type="password"]').addClass("password-with-toggle")),Xy.prototype.postRender.apply(this,arguments)},val:function(){return this.$('input[type="'+this.options.type+'"]').val()},__showPasswordToggle:function(){return this.options.params&&this.options.params.showPasswordToggle},__showPassword:function(){this.$("input").attr("spellcheck",!1),Xy.prototype.changeType.apply(this,["text"]),this.$(".password-toggle .button-show").hide(),this.$(".password-toggle .button-hide").show(),this.passwordToggleTimer=m.delay(()=>{this.__hidePassword()},3e4)},__hidePassword:function(){Xy.prototype.changeType.apply(this,["password"]),this.$(".password-toggle .button-show").show(),this.$(".password-toggle .button-hide").hide(),this.passwordToggleTimer&&clearTimeout(this.passwordToggleTimer)}});const hj=DI.isABaseView,mMe=Bn.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<input type="radio" name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:34}}}
1):o)+'" data-se-name="'+c(typeof(o=null!=(o=u(t,"realName")||(null!=n?u(n,"realName"):n))?o:a)===l?o.call(s,{name:"realName",hash:{},data:r,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):o)+'" value="'+c(typeof(o=null!=(o=u(t,"value")||(null!=n?u(n,"value"):n))?o:a)===l?o.call(s,{name:"value",hash:{},data:r,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"optionId")||(null!=n?u(n,"optionId"):n))?o:a)===l?o.call(s,{name:"optionId",hash:{},data:r,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):o)+'"><label for="'+c(typeof(o=null!=(o=u(t,"optionId")||(null!=n?u(n,"optionId"):n))?o:a)===l?o.call(s,{name:"optionId",hash:{},data:r,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):o)+'" data-se-for-name="'+c(typeof(o=null!=(o=u(t,"realName")||(null!=n?u(n,"realName"):n))?o:a)===l?o.call(s,{name:"realName",hash:{},data:r,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):o)+'" class="radio-label">'+c(typeof(o=null!=(o=u(t,"label")||(null!=n?u(n,"label"):n))?o:a)===l?o.call(s,{name:"label",hash:{},data:r,loc:{start:{line:1,column:178},end:{line:1,column:187}}}):o)+"</label>"},useData:!0}),initialize:function(e){let n;n=e.explain,m.isFunction(n)&&!hj(n)&&(n=m.resultCtx(this.options,"explain",this)),n&&(hj(n)?(this.add('<p class="o-form-explain"></p>',".radio-label"),this.add(n,".o-form-explain")):this.add(Bn.extend({className:"o-form-explain",tagName:"p",template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return t.escapeExpression("function"==typeof(a=null!=(a=l(r,"explain")||(null!=i?l(i,"explain"):i))?a:t.hooks.helperMissing)?a.call(i??(t.nullContext||{}),{name:"explain",hash:{},data:s,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):a)},useData:!0})}),".radio-label"))}});var fj=us.extend({events:{"change :radio":"update",keyup:function(e){vc.isSpaceBar(e)?Qt(e.target).click():vc.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){const e=[];this.$el.empty(),m.each(this.options.options,function(t,i){const r={optionId:m.uniqueId("option"),name:this.options.inputId,realName:this.options.name,value:i};m.isObject(t)||(t={label:t}),m.extend(r,t),e.push(new mMe(r).render().el)},this),this.$el.append(e);let n=this.getModelValue();return n&&this.$(":radio[value="+n+"]").prop("checked",!0),this.$("input").customInput(),this.model.trigger("form:resize"),!0===this.getParam("inline")&&this.$("div.custom-radio").addClass("inline"),this},readMode:function(){return this.editMode(),this.$(":radio").prop("disabled",!0),this},val:function(){return this.$(":radio:checked").val()},focus:function(){return this.$("label:eq(0)").focus()}});const pj=us.extend({tagName:"span",initialize:function(){this.$el.text(this.getModelValue())},editMode:function(){this.toggle(!0)},readMode:function(){this.toggle(!1)},getModelValue:function(){return this.options.label},toggle:function(e){this.$el.toggleClass("o-form-label-inline",e),this.$el.toggleClass("o-form-control",!e)},focus:m.noop}),PI=Bn.extend({getParams:us.prototype.getParams,getParam:us.prototype.getParam,className:function(){let e;return this.getParam("noBaseClasses")?"":(e="text"===this.getParam("display")?"o-form-input-group-subtle":"o-form-input-group",function gMe(e){return m.filter(e||[],function(n){return!m.contains(["label","button","select"],n.type)}).length}(this.getParam("inputs"))>1&&(e+=" o-form-input-group-2"),e)},initialize:function(){m.each(this.getParam("inputs"),function(e){switch(e.type){case"label":this.add(pj,{options:e});break;case"button":this.add(function yMe(e){return MI_create(m.defaults({getReadModeString:m.constant(" "),focus:m.noop},m.pick(e,"click","title","href","icon")))}(e));break;default:e=m.defaults({model:this.model,params:m.extend({autoWidth:!0},e.params||{})},e),this.add(this.getParams().create(e))}},this)},focus:function(){this.first().focus()}});var mj=us.extend({constructor:function(e){this.inputGroupView=new PI(e),us.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new PI(this.options),this.$el.html(this.inputGroupView.render().el)},readMode:function(){this.getParam("useChildInputsReadMode")?this.editMode():us.prototype.readMode.apply(this,arguments)},toStringValue:function(){const e=this.inputGroupView.map(function(n){return n.getReadModeString()});return e.length&&m.every(e)?e.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:pj,InputGroupView:PI});Qt.fn.scrollParent=function(e){const n=this.css("position"),t="absolute"===n,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){const o=Qt(this);return(!t||"static"!==o.css("position"))&&i.test(o.css("overflow")+o.css("overflow-y")+o.css("overflow-x"))}).eq(0);return"fixed"!==n&&r.length?r:Qt(this[0].ownerDocument||document)};const RI=cAe.extend({render:function(...e){return Bn.prototype.render.apply(this,e),this}});a0.prototype.remove=function(){return us.prototype.remove.apply(this,arguments)},rm.prototype.compileTemplate=function(e){const n=function(){return e};return n.source="",n};const gj={"input input":"update","change input":"update","keydown input":"update","keyup input":function(e){vc.isEsc(e)&&this.model.trigger("form:cancel")}},yj=Xy.extend({events:gj}),vj=pMe.extend({events:gj}),Fo=GAe.extend({scrollOnError:function(){const{settings:e}=this.options;return!1!==e.get("features.scrollOnError")}}),_=Mi.localize,cr=MI_create,Pr=tj_create,om=s0.register,yu=qy,Ee=Bn,Zy=TI,ji={util:{Util:DI,Cookie
1:yAe,Clipboard:SAe,Logger:kl,Class:r0,Keys:vc},views:{components:{BaseDropDown:MAe,Notification:kI},forms:{helpers:{FormUtil:cs,SchemaFormFactory:cMe},components:{Toolbar:HH},inputs:{TextBox:yj,PasswordBox:vj,CheckBox:uj,Radio:fj,Select:a0,InputGroup:mj}}},models:{BaseSchema:JTe,SchemaProperty:kH}};om("text",yj),om("password",vj),om("checkbox",uj),om("radio",fj),om("select",a0),om("group",mj);var vMe=Ce(573),Tr=Ce.n(vMe);const _Me=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"];var sm=_r.extend({doTransaction:function(e,n){const t=this;return e.call(this,this.appState.get("transaction")).then(function(i){return t.trigger("setTransaction",i),i}).catch(function(i){if("AuthPollStopError"!==i.name&&i.name!==Re.AUTH_STOP_POLL_INITIATION_ERROR&&i.name!==Re.WEBAUTHN_ABORT_ERROR&&(t.trigger("error",t,i.xhr),t.trigger("setTransactionError",i),n||-1===m.indexOf(_Me,i.name)))throw i})},manageTransaction:function(e){const n=this,t=e.call(this,this.appState.get("transaction"),m.bind(this.setTransaction,this));return Tr().isPromiseAlike(t)?t.catch(function(i){"AuthPollStopError"===i.name||i.name===Re.AUTH_STOP_POLL_INITIATION_ERROR||i.name===Re.WEBAUTHN_ABORT_ERROR||(n.trigger("error",n,i.xhr),n.trigger("setTransactionError",i))}):Tr().resolve(t)},startTransaction:function(e){const n=this,t=e.call(this,this.settings.getAuthClient());return Tr().isPromiseAlike(t)?t.then(function(i){return n.trigger("setTransaction",i),i}).catch(function(i){throw n.trigger("error",n,i.xhr),n.trigger("setTransactionError",i),i}):Tr().resolve(t)},setTransaction:function(e){this.appState.set("transaction",e)}}),Tl=RI.extend({addListeners:function(){this.listenTo(this.model,"save",function(){const e=function bMe(e){return m.find(e.getChildren(),function(n){return n instanceof Fo})}(this);e.disableSubmitButton&&!e.disableSubmitButton()||this.toggleButtonState(!0)}),this.listenTo(this.model,"error",function(){this.toggleButtonState(!1)}),this.addModelListeners(this.model)},addModelListeners:function(e){const n=r=>{this.options.appState.set("transaction",r)},t=r=>{this.options.appState.set("transactionError",r)};this.listenTo(e,"setTransaction",n),this.listenTo(e,"setTransactionError",t);const i=e.get("backupFactor");i&&(this.listenTo(i,"setTransaction",n),this.listenTo(i,"setTransactionError",t))},fetchInitialData:function(){return Tr()()},trapAuthResponse:function(){return!1},toJSON:function(){const e=RI.prototype.toJSON.apply(this,arguments);return m.extend(m.pick(this.options,"appState"),e)},toggleButtonState:function(e){this.$el.find(".button").toggleClass("link-button-disabled",e).prop("disabled",e)},postRenderAnimation:function(){this.trigger("pageRendered",{page:this.className}),this.trigger("afterRender",{controller:this.className})}});const wj="DIVIDER",Cj="TOOLBAR";function ev(e){return function(n,t){return{type:e,viewOptions:n,addOptions:t}}}var st={Input:ev("INPUT"),Button:ev("BUTTON"),Divider:ev(wj),Toolbar:ev(Cj),View:ev("VIEW"),INPUT:"INPUT",BUTTON:"BUTTON",DIVIDER:wj,TOOLBAR:Cj,VIEW:"VIEW"};let{Toolbar:wMe}=ji.views.forms.components,{FormUtil:NI}=ji.views.forms.helpers;const CMe=Fo.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(e){Fo.call(this,e),m.each(m.result(this,"formChildren")||[],function(n){switch(n.type){case st.INPUT:this.addInput(m.extend({label:!1,"label-top":!0},n.viewOptions));break;case st.BUTTON:this.add(cr(m.extend({model:this.model},n.viewOptions)),n.addOptions),NI.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case st.DIVIDER:this.addDivider(n.viewOptions);break;case st.TOOLBAR:this.add(wMe,{options:n.viewOptions}),NI.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case st.VIEW:this.add(n.viewOptions.View,n.addOptions),NI.applyShowWhen(this.last(),n.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+n.type)}},this)}});var mn=Tl.extend({constructor:function(){const e=this.initialize;if(this.initialize=function(){},Tl.apply(this,arguments),this.Model&&this.Form){const n=sm.extend(m.extend({parse:function(i){return this.settings=i.settings,this.appState=i.appState,m.omit(i,["settings","appState"])}},m.result(this,"Model")));this.model=new n({settings:this.settings,appState:this.options.appState},{parse:!0});const t=CMe.extend(m.result(this,"Form",this));this.form=new t(this.toJSON()),this.add(this.form)}this.Footer&&this.addFooter(this.Footer),this.addListeners(),e.apply(this,arguments)},addFooter:function(e,n){this.footer=new e(m.extend(this.toJSON(),n||{})),this.add(this.footer)},toJSON:function(){const e=Tl.prototype.toJSON.apply(this,arguments);return m.extend(m.pick(this.options,"appState"),e)},back:function(){this.footer&&this.footer.back&&this.footer.back()}}),SMe=mn.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:m.partial(_,"account.unlock.unlocked.title","login"),subtitle:m.partial(_,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[st.Button({title:_("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}}),xMe=Ce(63),EMe=Ce.n(xMe),kMe=Ce(747),TMe=Ce.n(kMe);const LI={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},MMe=Object.keys(LI),DMe=function(e){const n=MMe.filter(t=>LI[t]===e);return 1===n.length?n[0]:e};
1var l0_formatDateToDeviceAssuranceGracePeriodExpiryLocaleString=(e,n,t=!0)=>{try{return e instanceof Date&&!isNaN(e.valueOf())&&null!==n?(t&&e.setMinutes(0,0,0),e.toLocaleString(n,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",timeZoneName:"short"})):null}catch{return null}};const xn={},c0={OKTA_VERIFY:{label:"factor.totpSoft.oktaVerify",description:"factor.totpSoft.description",iconClassName:"mfa-okta-verify",sortOrder:1},OKTA_VERIFY_PUSH:{label:"factor.oktaVerifyPush",description:"factor.push.description",iconClassName:"mfa-okta-verify",sortOrder:1},U2F:{label:"factor.u2f",description:e=>e?"factor.u2f.description.specific":"factor.u2f.description.generic",iconClassName:"mfa-u2f",sortOrder:2},WEBAUTHN:{label:"factor.webauthn.biometric",description:"factor.webauthn.biometric.description",iconClassName:"mfa-webauthn",sortOrder:2},WINDOWS_HELLO:{label:"factor.windowsHello",description:e=>e?"factor.windowsHello.signin.description.specific":"factor.windowsHello.signin.description.generic",iconClassName:"mfa-windows-hello",sortOrder:3},YUBIKEY:{label:"factor.totpHard.yubikey",description:"factor.totpHard.yubikey.description",iconClassName:"mfa-yubikey",sortOrder:4},GOOGLE_AUTH:{label:"factor.totpSoft.googleAuthenticator",description:"factor.totpSoft.description",iconClassName:"mfa-google-auth",sortOrder:5},CUSTOM_HOTP:{label:"",description:"factor.hotp.description",iconClassName:"mfa-hotp",sortOrder:6},SMS:{label:"factor.sms",description:"factor.sms.description",iconClassName:"mfa-okta-sms",sortOrder:7},CALL:{label:"factor.call",description:"factor.call.description",iconClassName:"mfa-okta-call",sortOrder:8},EMAIL:{label:"factor.email",description:"factor.email.description",iconClassName:"mfa-okta-email",sortOrder:9},QUESTION:{label:"factor.securityQuestion",description:"factor.securityQuestion.description",iconClassName:"mfa-okta-security-question",sortOrder:10},DUO:{label:"factor.duo",description:"factor.duo.description",iconClassName:"mfa-duo",sortOrder:11},SYMANTEC_VIP:{label:"factor.totpHard.symantecVip",description:"factor.totpHard.description",iconClassName:"mfa-symantec",sortOrder:12},RSA_SECURID:{label:"factor.totpHard.rsaSecurId",description:"factor.totpHard.description",iconClassName:"mfa-rsa",sortOrder:13},ON_PREM:{label:"",description:"factor.totpHard.description",iconClassName:"mfa-onprem",sortOrder:14},PASSWORD:{label:"factor.password",description:"",iconClassName:"mfa-okta-password",sortOrder:15},CUSTOM_CLAIMS:{label:"",description:"factor.customFactor.description",iconClassName:"mfa-custom-factor",sortOrder:16},GENERIC_SAML:{label:"",description:e=>e?"factor.customFactor.description.specific":"factor.customFactor.description.generic",iconClassName:"mfa-custom-factor",sortOrder:17},GENERIC_OIDC:{label:"",description:e=>e?"factor.customFactor.description.specific":"factor.customFactor.description.generic",iconClassName:"mfa-custom-factor",sortOrder:18}},PMe=function(e,n){return e.age&&e.age.minAgeMinutes>0?function(i){let r;switch(i.unit){case"DAY":r=n.age.days.i18n;break;case"HOUR":r=n.age.hours.i18n;break;case"MINUTE":r=n.age.minutes.i18n}return ct(r,"login",[i.time])}(function(e,n){const t={days:0,hours:0,minutes:0,seconds:0,milliseconds:0},i=LI[n]||n;let r;try{const l=EMe()(Object.assign(t,{[i]:e}));r=TMe()(l)}catch{r={}}const o=Object.keys(r).reduce((l,c)=>(0!==r[c]&&(l[c]=r[c]),l),{});let s,a;return 1===Object.keys(o).length?Object.keys(o).forEach(l=>{a=o[l],s=l}):(a=e,s=i),{time:a,unit:DMe(s)}}(e.age.minAgeMinutes,"MINUTE")):null},xj=function(e,n,t){const i={complexity:[],history:[],age:[]};i.complexity=function(e,n){if(e.complexity){const i=n.complexity,r=function(i){const r=i.excludeAttributes;return i.excludeFirstName=un.contains(r,"firstName"),i.excludeLastName=un.contains(r,"lastName"),un.omit(i,"excludeAttributes")}(e.complexity);let o=r;r.useADComplexityRequirements&&(o=un.pick(r,["minLength","useADComplexityRequirements","excludeUsername","excludeFirstName","excludeLastName","excludeAttributes"]));const s=un.map(o,function(a,l){if(a<=0)return;const c=i[l];return c.args?ct(c.i18n,"login",[a]):ct(c.i18n,"login")});return un.compact(s)}return[]}(e,n);const r=function(e,n,t){return e.age&&e.age.historyCount>0?t?1===e.age.historyCount?ct(n.history.one.i18n,"login"):ct(n.history.many.i18n,"login",[e.age.historyCount]):ct(n.history.i18n,"login",[e.age.historyCount]):null}(e,n,t);r&&i.history.push(r);const o=PMe(e,n);return o&&i.age.push(o),i};xn.getFactorName=function(e,n){return"OKTA"===e&&"token:software:totp"===n?"OKTA_VERIFY":"OKTA"===e&&"push"===n?"OKTA_VERIFY_PUSH":"GOOGLE"===e?"GOOGLE_AUTH":"SYMANTEC"===e&&"token"===n?"SYMANTEC_VIP":"RSA"===e&&"token"===n?"RSA_SECURID":"DEL_OATH"===e&&"token"===n?"ON_PREM":"DUO"===e&&"web"===n?"DUO":"YUBICO"===e&&"token:hardware"===n?"YUBIKEY":"OKTA"===e&&"sms"===n?"SMS":"OKTA"===e&&"call"===n?"CALL":"OKTA"===e&&"question"===n?"QUESTION":"OKTA"===e&&"email"===n?"EMAIL":"OKTA"===e&&"password"===n?"PASSWORD":"GENERIC_SAML"===e&&"assertion:saml2"===n?"G
1ENERIC_SAML":"GENERIC_OIDC"===e&&"assertion:oidc"===n?"GENERIC_OIDC":xn.getFactorNameForFactorType.call(this,n)},xn.getFactorNameForFactorType=function(e){return"u2f"===e?"U2F":"token:software:totp"===e?"OKTA_VERIFY":"webauthn"===e?this.settings.get("features.webauthn")?"WEBAUTHN":"WINDOWS_HELLO":"token:hotp"===e?"CUSTOM_HOTP":"claims_provider"===e?"CUSTOM_CLAIMS":void 0},xn.isOktaVerify=function(e,n){return"OKTA"===e&&("token:software:totp"===n||"push"===n)},xn.getFactorLabel=function(e,n){const t=c0[xn.getFactorName.apply(this,[e,n])].label;return ct(t,"login")},xn.getFactorDescription=function(e,n){const t=c0[xn.getFactorName.apply(this,[e,n])].description;if(un.isFunction(t)){const i=this.settings.get("brandName"),r=t(i);return i?ct(r,"login",[i]):ct(r,"login")}return t?ct(t,"login"):""},xn.getFactorIconClassName=function(e,n){return c0[xn.getFactorName.apply(this,[e,n])].iconClassName},xn.getFactorSortOrder=function(e,n){return c0[xn.getFactorName.apply(this,[e,n])].sortOrder},xn.getRememberDeviceValue=function(e){return e&&e.get("rememberDeviceByDefault")},xn.getSecurityQuestionLabel=function(e){const n=ct("security."+e.question);return n.indexOf("L10N_ERROR")<0?n:e.questionText},xn.removeRequirementsFromError=function(e,n){const t=this.getPasswordComplexityDescription(n);return e.errorCauses&&e.errorCauses.length>0&&un.isString(e.errorCauses[0].errorSummary)&&(e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary.replace(t,"").trim()),e},xn.getPasswordComplexityDescriptionForHtmlList=function(e){const t=xj(e,{complexity:{minLength:{i18n:"password.complexity.length.description",args:!0},minLowerCase:{i18n:"password.complexity.lowercase.description"},minUpperCase:{i18n:"password.complexity.uppercase.description"},minNumber:{i18n:"password.complexity.number.description"},minSymbol:{i18n:"password.complexity.symbol.description"},excludeUsername:{i18n:"password.complexity.no_username.description"},excludeFirstName:{i18n:"password.complexity.no_first_name.description"},excludeLastName:{i18n:"password.complexity.no_last_name.description"},useADComplexityRequirements:{i18n:"password.complexity.adRequirements.description"},maxConsecutiveRepeatingCharacters:{i18n:"password.complexity.maxConsecutiveRepeatingCharacters.description",args:!0}},history:{one:{i18n:"password.complexity.history.one.description"},many:{i18n:"password.complexity.history.description"}},age:{minutes:{i18n:"password.complexity.minAgeMinutes.description"},hours:{i18n:"password.complexity.minAgeHours.description"},days:{i18n:"password.complexity.minAgeDays.description"}}},!0);return un.union(t.complexity,t.history,t.age)},xn.getPasswordComplexityDescription=function(e){const t=[],i=xj(e,{complexity:{minLength:{i18n:"password.complexity.length",args:!0},minLowerCase:{i18n:"password.complexity.lowercase"},minUpperCase:{i18n:"password.complexity.uppercase"},minNumber:{i18n:"password.complexity.number"},minSymbol:{i18n:"password.complexity.symbol"},excludeUsername:{i18n:"password.complexity.no_username"},excludeFirstName:{i18n:"password.complexity.no_first_name"},excludeLastName:{i18n:"password.complexity.no_last_name"},useADComplexityRequirements:{i18n:"password.complexity.adRequirements"},maxConsecutiveRepeatingCharacters:{i18n:"password.complexity.maxConsecutiveRepeatingCharacters",args:!0}},history:{i18n:"password.complexity.history"},age:{minutes:{i18n:"password.complexity.minAgeMinutes"},hours:{i18n:"password.complexity.minAgeHours"},days:{i18n:"password.complexity.minAgeDays"}}},!1);let r=i.complexity;return r.length>0&&(r=un.reduce(r,function(o,s){return o?o+ct("password.complexity.list.element","login",[s]):s}),t.push(ct("password.complexity.requirements","login",[r]))),t.push(i.history[0]),t.push(i.age[0]),un.compact(t).join(" ")},xn.getCardinalityText=function(e,n,t){if(t){if(e)return 1===t.enrolled?"":ct("enroll.choices.cardinality.setup","login",[t.enrolled]);if(n&&t.maximum>1)return ct("enroll.choices.cardinality.setup.remaining","login",[t.enrolled,t.minimum])}return""},xn.findFactorInFactorsArray=function(e,n,t){let i=e.findWhere({provider:n,factorType:t});return void 0===i&&(i=e.findWhere({factorType:t})),i};const{TextBox:FI}=ji.views.forms.inputs;var nr=FI.extend({postRender:function(){"number"===this.options.type&&this.$("input").attr({pattern:"[0-9]*",inputmode:"numeric"}),FI.prototype.postRender.apply(this,arguments)}
1,focus:function(){if(!mi.isIE())return FI.prototype.focus.apply(this,arguments)}});const Ej={title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},subtitle:m.partial(_,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[st.Input({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:nr,type:"tel"}),st.Toolbar({noCancelButton:!0,save:_("oform.verify","login")})]}};var Yo=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.options.appState.trigger("backToFactors"),this.back()}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}}),RMe=mn.extend({className:"activate-totp",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:Ej,Footer:Yo}),NMe=Ee.extend({className:"scope-item",template:se.template({1:function(e,n,t,i,r){return'<span class="scope-item-tooltip icon form-help-16" />'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<p class="scope-item-text no-translate">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"name")||(null!=n?l(n,"name"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"name",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:48}}}):s)+"</p>"+(null!=(o=l(t,"if").call(a,null!=n?l(n,"description"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:52},end:{line:1,column:131}}}))?o:"")},useData:!0}),postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:m.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse"}})}});const LMe={groups:"user",myAccount:"user",users:"user",apps:"resource",authenticators:"resource",authorizationServers:"resource",clients:"resource",domains:"resource",factors:"resource",idps:"resource",linkedObjects:"resource",policies:"resource",templates:"resource",eventHooks:"hook",inlineHooks:"hook",events:"system",logs:"system",orgs:"system",roles:"system",schemas:"system",sessions:"system",trustedOrigins:"system"},$Me=({name:e=""})=>{const t=e.split(".")[1];return LMe[t]||"system"},VMe=Ee.extend({className:"scope-group",events:{click:"expandScopes"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="scope-group--header"><h3>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"groupName")||(null!=n?s(n,"groupName"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"groupName",hash:{},data:r,loc:{start:{line:1,column:37},end:{line:1,column:50}}}):o)+'</h3><span class="scope-group--toggle"><svg class="caret" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="path" fill-rule="evenodd" clip-rule="evenodd" d="M5.99967 4.66663L10.2663 8.66663L11.333 7.66663L5.99967 2.66663L0.666342 7.73636L1.73301 8.66663L5.99967 4.66663Z" fill="#A0A7AC"></path></svg></span></div>'},useData:!0}
1),expandScopes:function(){this.$el.toggleClass("scope-group--is-expanded"),this.$(".caret").toggleClass("caret--is-rotated")},preRender:function(){m.chain(this.options.scopes).sortBy(({name:e})=>e).each(({name:e,displayName:n,description:t})=>{this.add(NMe,{options:{name:n||e,description:t}})})}});var kj=Ee.extend({className:"scope-list detail-row",postRender:function(){const e=this.model.get("scopes"),n=m.groupBy(e,$Me),t={user:_("admin.consent.group.user.group","login"),resource:_("admin.consent.group.resource.policy","login"),hook:_("admin.consent.group.hook","login"),system:_("admin.consent.group.system","login")};m.each(t,(i,r)=>{const o=n[r];!Array.isArray(o)||this.add(VMe,{options:{groupName:i,scopes:o}})})}});const Tj=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<a href="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"clientURI")||(null!=n?s(n,"clientURI"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"clientURI",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):o)+'" class="client-logo-link" target="_blank">'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(o=null!=(o=c(t,"customLogo")||(null!=n?c(n,"customLogo"):n))?o:a)?o.call(s,{name:"customLogo",hash:{},data:r,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):o)+'" alt="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:r,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(o=null!=(o=c(t,"defaultLogo")||(null!=n?c(n,"defaultLogo"):n))?o:a)?o.call(s,{name:"defaultLogo",hash:{},data:r,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):o)+'" alt="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:r,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,n,t,i,r){return"</a>"},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"issuer")||(null!=n?s(n,"issuer"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"issuer",hash:{},data:r,loc:{start:{line:1,column:566},end:{line:1,column:576}}}):o)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"customLogo"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?o:"")+'<h1><span class="title-text">'+(null!=(o=(a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{arguments:"appName",bundle:"login",code:"consent.required.text"},data:r,loc:{start:{line:1,column:445},end:{line:1,column:519}}}))?o:"")+"</span>"+(null!=(o=a(t,"if").call(s,null!=n?a(n,"issuer"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:526},end:{line:1,column:596}}}))?o:"")+"</h1>"},useData:!0}),BMe={props:{scopes:["array",!0]},save:function(){return this.doTransaction(function(e){return e.consent({consent:{scopes:m.pluck(this.get("scopes"),"name")}})})},cancel:function(){var e=this;return this.doTransaction(function(n){return n.cancel()}).then(function(){var n=e.settings.get("consent.cancel");m.isFunction(n)&&n()})}},UMe=Ee.extend({className:"consent-title detail-row",template:Tj,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetL
1ogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href,issuer:e.get("issuer")}}}),HMe={noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:m.partial(_,"consent.required.consentButton","login"),cancel:m.partial(_,"consent.required.cancelButton","login"),formChildren:[st.View({View:UMe}),st.View({View:kj})]},jMe=mn.extend({Model:BMe,Form:HMe,className:"admin-consent-required",initialize:function(){this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",()=>{this.model.cancel()})}});class $I{constructor(){this.inline=!0}}class GMe{constructor(){this.terminal=!0}}class Aj extends LEe{constructor(n,t){super(n.message),this.errorType=void 0,this.orginalError=void 0,this.errorDetails=void 0,this.errorType=new t,this.orginalError=n,this.errorDetails={errorSummary:this.getErrorSummary(),errorCode:n.errorCode,errorCauses:"errorCauses"in n?n.errorCauses:void 0}}getErrorSummary(){return this.orginalError.errorSummary}is(n){var t;return Boolean(null===(t=Object.getOwnPropertyDescriptor(this.errorType,n))||void 0===t?void 0:t.value)}}class tv extends Aj{}class Mj extends Aj{}class qMe extends tv{constructor(n){super(n,GMe)}getErrorSummary(){return ct("error.unsynced.clock","login")}}class WMe extends tv{constructor(n){super(n,$I)}}class KMe extends tv{constructor(n){super(n,$I)}getErrorSummary(){return ct("error.jit_failure","login")}}class YMe extends Mj{constructor(n){super(n,$I)}getErrorSummary(){return ct("error.mfa.required","login")}}
1function Dj(e){switch(e.errorCode){case"access_denied":return new WMe(e);case"jit_failure_missing_fields":case"jit_failure_invalid_login_format":case"jit_failure_values_not_match_pattern":case"jit_failure_values_too_long":case"jit_failure_invalid_locale":return new KMe(e);case"login_required":if("The client specified not to prompt, but the client app requires re-authentication or MFA."===e.message)return new YMe(e);case"INTERNAL":if("The JWT was issued in the future"===e.message)return new qMe(e);default:return new tv(e,Object)}}const nv={},Oj=["responseType","scopes","state","nonce","idp","idpScope","display","prompt","maxAge","loginHint"];nv.AUTH_PARAMS=Oj,nv.getTokens=function(e,n,t){function i(c){e.callGlobalSuccess(Re.SUCCESS,c)}function r(c){const u=Dj(c);u.is("terminal")?(t.model.appState.set("flashError",u),t.model.appState.trigger("navigate","signin/error")):u.is("inline")&&(t.model.trigger("error",t.model,{responseJSON:{errorSummary:u.errorDetails.errorSummary}}),t.model.appState.trigger("removeLoading")),u.is("terminal")||wt.triggerAfterError(t,u,e),u instanceof Mj&&e.callGlobalError(u)}const o=e.getAuthClient(),s=o.isAuthorizationCodeFlow()&&!o.isPKCE(),a=e.toJSON({verbose:!0}),l={};un.extend(l,un.pick(a,"clientId","redirectUri"),un.pick(a.authParams,Oj),n),l.popupTitle=ct("socialauth.popup.title","login"),l.timeout=a.oAuthTimeout,"always"===a.redirect||s?o.token.getWithRedirect(l).catch(r):l.sessionToken?o.token.getWithoutPrompt(l).then(i).catch(r):(a.initialPopupPath&&(l.initialPath=a.initialPopupPath),o.token.getWithPopup(l).then(i).catch(r))};const Fi={},QMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return"signin/verify/"+c(typeof(o=null!=(o=u(t,"provider")||(null!=n?u(n,"provider"):n))?o:a)===l?o.call(s,{name:"provider",hash:{},data:r,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o)+"/"+c(typeof(o=null!=(o=u(t,"factorType")||(null!=n?u(n,"factorType"):n))?o:a)===l?o.call(s,{name:"factorType",hash:{},data:r,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o)},useData:!0}),JMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return"signin/verify/"+c(typeof(o=null!=(o=u(t,"provider")||(null!=n?u(n,"provider"):n))?o:a)===l?o.call(s,{name:"provider",hash:{},data:r,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o)+"/"+c(typeof(o=null!=(o=u(t,"factorType")||(null!=n?u(n,"factorType"):n))?o:a)===l?o.call(s,{name:"factorType",hash:{},data:r,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o)+"/"+c(typeof(o=null!=(o=u(t,"factorIndex")||(null!=n?u(n,"factorIndex"):n))?o:a)===l?o.call(s,{name:"factorIndex",hash:{},data:r,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):o)},useData:!0}),XMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"signin/verify/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"factorType")||(null!=n?s(n,"factorType"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"factorType",hash:{},data:r,loc:{start:{line:1,column:14},end:{line:1,column:28}}}):o)},useData:!0}),ZMe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return"signin/enroll/"+c(typeof(o=null!=(o=u(t,"provider")||(null!=n?u(n,"provider"):n))?o:a)===l?o.call(s,{name:"provider",hash:{},data:r,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o)+"/"+c(typeof(o=null!=(o=u(t,"factorType")||(null!=n?u(n,"factorType"):n))?o:a)===l?o.call(s,{name:"factorType",hash:{},data:r,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o)},useData:!0}
1),eDe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"step")||(null!=n?s(n,"step"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"step",hash:{},data:r,loc:{start:{line:1,column:63},end:{line:1,column:71}}}):o)},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return"signin/enroll-activate/"+u(typeof(s=null!=(s=d(t,"provider")||(null!=n?d(n,"provider"):n))?s:l)===c?s.call(a,{name:"provider",hash:{},data:r,loc:{start:{line:1,column:23},end:{line:1,column:35}}}):s)+"/"+u(typeof(s=null!=(s=d(t,"factorType")||(null!=n?d(n,"factorType"):n))?s:l)===c?s.call(a,{name:"factorType",hash:{},data:r,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):s)+(null!=(o=d(t,"if").call(a,null!=n?d(n,"step"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:50},end:{line:1,column:78}}}))?o:"")},useData:!0}),tDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"signin/recovery/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"recoveryToken")||(null!=n?s(n,"recoveryToken"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"recoveryToken",hash:{},data:r,loc:{start:{line:1,column:16},end:{line:1,column:33}}}):o)},useData:!0}),nDe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"token")||(null!=n?s(n,"token"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"token",hash:{},data:r,loc:{start:{line:1,column:39},end:{line:1,column:48}}}):o)},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"signin/refresh-auth-state"+(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"token"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:25},end:{line:1,column:55}}}))?o:"")},useData:!0}),iDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"signin/okta/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"username")||(null!=n?s(n,"username"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"username",hash:{},data:r,loc:{start:{line:1,column:12},end:{line:1,column:24}}}):o)},useData:!0}),rDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return e.escapeExpression(typeof(s=null!=(s=u(t,"baseUrl")||(null!=n?u(n,"baseUrl"):n))?s:l)===c?s.call(a,{name:"baseUrl",hash:{},data:r,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):s)+"/login/sessionCookieRedirect?checkAccountSetupComplete=true&token="+(null!=(o=typeof(s=null!=(s=u(t,"token")||(null!=n?u(n,"token"):n))?s:l)===c?s.call(a,{name:"token",hash:{},data:r,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):s)?o:"")+"&redirectUrl="+(null!=(o=typeof(s=null!=(s=u(t,"redirectUrl")||(null!=n?u(n,"redirectUrl"):n))?s:l)===c?s.call(a,{name:"redirectUrl",hash:{},data:r,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):s)?o:"")},useData:!0}),oDe=["DEVICE_ACTIVATED","DEVICE_NOT_ACTIVATED_CONSENT_DENIED","DEVICE_NOT_ACTIVATED"];Fi.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},Fi.isDocumentVisible=function(){return"visible"===document.visibilityState},Fi.createVerifyUrl=function(e,n,t){return e&&t?JMe({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(n),factorIndex:encodeURIComponent(t)}):e?QMe({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(n)}):XMe({factorType:encodeURIComponent(n)})},Fi.createEnrollFactorUrl=function(e,n){return ZMe({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(n)})},Fi.createActivateFactorUrl=function(e,n,t){return eDe({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(n),step:!!t&&encodeURIComponent(t)})},Fi.createRecoveryUrl=function(e){return tDe({recoveryToken:encodeURIComponent(e)})},Fi.createRefreshUrl=function(e){const n=e?encodeURIComponent(e):null;return nDe({token:n})},Fi.createSigninUrl=function(e){return e?iDe({username:encodeURIComponent(e)}):"signin"},Fi.routeAfterAuthStatusChangeError=function(e,n){if(n){if(n.xhr&&mi.corsIsNotEnabled(n.xhr))return void e.settings.callGlobalError(new HO(_("error.enabled.cors")));if("E0000011"===n.errorCode)return e.appState.set("flashError",n),e.controller.state.set("navigateDir",Re.DIRECTION_BACK),void(e.settings.get("features.mfaOnlyFlow")?e.navigate("signin/error",{trigger:!0}):e.navigate("",{trigger:!0}));wt.triggerAfterError(e.controller,n)}}
1,Fi.routeAfterAuthStatusChange=function(e,n){n&&n.status?(e.appState.setAuthResponse(n),(!e.controller||!e.controller.trapAuthResponse(n))&&Fi.handleResponseStatus(e,n)):e.appState.clearLastAuthResponse()},Fi.handleResponseStatus=function(e,n){switch(n.status){case"SUCCESS":return void function sDe(e,n){var t,i,r,o,s;if(n.recoveryType===Re.RECOVERY_TYPE_UNLOCK)return void e.navigate("signin/account-unlocked",{trigger:!0});if(m.contains(oDe,null===(t=n._embedded)||void 0===t?void 0:t.deviceActivationStatus))return void e.navigate("signin/device-activate-complete",{trigger:!0});if(e.settings.get("oauth2Enabled"))return void nv.getTokens(e.settings,{sessionToken:n.sessionToken},e.controller);const a={user:n._embedded.user,type:n.type||Re.SESSION_SSO};n.relayState&&(a.relayState=n.relayState);const l=e.settings.get("redirectUtilFn"),c=(null==n||null===(i=n._links)||void 0===i||null===(r=i.original)||void 0===r?void 0:r.href)||(null==n||null===(o=n._links)||void 0===o||null===(s=o.next)||void 0===s?void 0:s.href);if(n.type===Re.SESSION_STEP_UP){var u,d;const f=null==n||null===(u=n._links)||void 0===u||null===(d=u.next)||void 0===d?void 0:d.href;a.stepUp={url:f,finish:function(){l(f)}}}else c?a.next=function(){l(c)}:a.type=Re.SESSION_SSO,n.sessionToken&&(a.session={token:n.sessionToken,setCookieAndRedirect:function(f){if(f&&wt.debugMessage('\n Passing a "redirectUri" to "setCookieAndRedirect" is strongly discouraged.\n It is recommended to set a "redirectUri" option in the config object passed to the widget constructor.\n '),!(f=f||e.settings.get("redirectUri")))throw new ls('"redirectUri" is required');l(rDe({baseUrl:e.settings.get("baseUrl"),token:encodeURIComponent(n.sessionToken),redirectUrl:encodeURIComponent(f)}))}});Fi.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",function f(){Fi.isDocumentVisible()&&(document.removeEventListener("visibilitychange",f),e.settings.callGlobalSuccess(Re.SUCCESS,a))}):e.settings.callGlobalSuccess(Re.SUCCESS,a)}(e,n);case"ADMIN_CONSENT_REQUIRED":return void e.navigate("signin/admin-consent",{trigger:!0});case"CONSENT_REQUIRED":return void e.navigate("signin/consent",{trigger:!0});case"DEVICE_ACTIVATE":return void e.navigate("signin/device-activate",{trigger:!0});case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":{const t=e.appState.get("lastFailedChallengeFactorData");t&&t.factor&&(e.appState.get("factors").lastUsedFactor=t.factor);const i=e.appState.get("factors").getDefaultFactor(),r=Fi.createVerifyUrl(i.get("provider"),i.get("factorType"));return e.navigate(r,{trigger:!0}),void e.appState.clearLastFailedChallengeFactorData()}case"POLL":return void e.navigate("signin/poll",{trigger:!0});case"MFA_CHALLENGE":return e.appState.get("isFactorResultFailed")&&e.appState.setLastFailedChallengeFactorData(),void e.appState.get("transaction").prev().then(function(t){e.appState.set("transaction",t)});case"MFA_ENROLL":case"FACTOR_ENROLL":return void e.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":{const t=Fi.createActivateFactorUrl(e.appState.get("activatedFactorProvider"),e.appState.get("activatedFactorType"));return void e.navigate(t,{trigger:!0})}case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(e.settings.get("features.customExpiredPassword")&&!e.appState.get("isPwdManagedByOkta")?e.navigate("signin/custom-password-expired",{trigger:!0}):e.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":{const t=n.factorType.toLowerCase()===Re.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),r=n.recoveryType===Re.RECOVERY_TYPE_UNLOCK;return void e.navigate(n.recoveryType===Re.RECOVERY_TYPE_PASSWORD&&t?"signin/recovery-emailed":r&&t?"signin/unlock-emailed":"signin/recovery-challenge",{trigger:!0})}case"RECOVERY":return void e.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void e.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":if(e.settings.get("features.selfServiceUnlock"))e.navigate("signin/unlock",{trigger:!0});else{const t=_("error.auth.lockedOut","login"),i={responseJSON:{errorCauses:[],errorSummary:t,errorCode:"E0000119"}}
1,r={name:"AuthApiError",message:t,xhr:i};e.controller.model.appState.trigger("removeLoading"),e.controller.model.trigger("error",e.controller.model,i),wt.triggerAfterError(e.controller,r)}return;case"PROFILE_REQUIRED":return void e.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(e.appState.get("promptForFactorInUnauthenticated")){const t=e.appState.get("factors").getDefaultFactor(),i=Fi.createVerifyUrl(t.get("provider"),t.get("factorType"));return void e.navigate(i,{trigger:!0})}return e.appState.get("usingDeviceFlow")?void e.navigate("signin/idp-discovery-check",{trigger:!0}):void e.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+n.status)}};var Ij=Ee.extend({className:"scan-instructions clearfix",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div class="scan-instructions-details-wrapper"><div class="scan-instructions-details"><p>'+c(typeof(o=null!=(o=u(t,"instructions")||(null!=n?u(n,"instructions"):n))?o:a)===l?o.call(s,{name:"instructions",hash:{},data:r,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):o)+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" alt="'+c(typeof(o=null!=(o=u(t,"altQRCode")||(null!=n?u(n,"altQRCode"):n))?o:a)===l?o.call(s,{name:"altQRCode",hash:{},data:r,loc:{start:{line:1,column:219},end:{line:1,column:232}}}):o)+'" class="qrcode-image" src="'+c(typeof(o=null!=(o=u(t,"qrcode")||(null!=n?u(n,"qrcode"):n))?o:a)===l?o.call(s,{name:"qrcode",hash:{},data:r,loc:{start:{line:1,column:260},end:{line:1,column:270}}}):o)+'"><div data-se="qrcode-success" class="qrcode-success"></div><div data-se="qrcode-error" class="qrcode-error"></div></div><a href="#" data-type="manual-setup" data-se="manual-setup" class="link manual-setup" aria-label="'+c((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.aria.cannotScan"},data:r,loc:{start:{line:1,column:490},end:{line:1,column:549}}}))+'">'+c((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:r,loc:{start:{line:1,column:551},end:{line:1,column:604}}}))+'</a><a href="#" data-type="refresh-qrcode" data-se="refresh-qrcode" class="link refresh-qrcode">'+c((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:r,loc:{start:{line:1,column:700},end:{line:1,column:757}}}))+"</a></div>"},useData:!0}),events:{'click [data-type="manual-setup"]':function(e){e.preventDefault();const n=Fi.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"manual");"push"===this.model.get("__factorType__")?this.model.doTransaction(function(t){return t.prev().then(function(i){return m.findWhere(i.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(()=>{this.options.appState.trigger("navigate",n)}):this.options.appState.trigger("navigate",n)},'click [data-type="refresh-qrcode"]':function(e){e.preventDefault(),this.model.trigger("errors:clear");const n=this;this.model.doTransaction(function(t){return this.appState.get("isWaitingForActivation")?t.poll():t.activate()}).then(function(t){const i=t.data;("MFA_ENROLL_ACTIVATE"===i.status||"FACTOR_ENROLL_ACTIVATE"===i.status)&&"WAITING"===i.factorResult&&m.defer(m.bind(n.render,n))})}},initialize:function(){this.listenTo(this.options.appState,"change:lastAuthResponse",function(){this.options.appState.get("isMfaEnrollActivate")?this.$el.toggleClass("qrcode-expired",!this.options.appState.get("isWaitingForActivation")):this.options.appState.get("isSuccessResponse")&&this.$el.addClass("qrcode-success")}),this.listenTo(this.model,"error",function(){this.options.appState.get("isMfaEnrollActivate")&&this.$el.toggleClass("qrcode-expired",!0)})},getTemplateData:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));let n;return n="GOOGLE"===this.model.get("__provider__")?_("enroll.totp.setupGoogleAuthApp","login",[e]):_("enroll.totp.setupApp","login",[e]),{instructions:n,qrcode:this.options.appState.get("qrcode"),altQRCode:_("mfa.altQrCode","login")}}}),lDe=mn.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",function(){this.clearErrors()})},formChildren:[st.View({View:Ij})]},Footer:Yo,initialize:function(){this.pollForEnrollment().catch(()=>{})},pollForEnrollment:function(){return this.model.doTransaction(function(e){return e.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}}),cDe=mn.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},save:m.partial(_,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[st.View({View:Ij})]},Footer:Yo,initialize:function(){this.listenTo(this.form,"save",function(){const e=Fi.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}}),uDe=Ee.extend({className:"scope-item",template:se.template({1:function(e,n,t,i,r){return'<span class="scope-item-tooltip icon form-help-16"></span>'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<div class="'+u(typeof(s=null!=(s=d(t,"classNames")||(null!=n?d(n,"classNames"):n))?s:l)===c?s.call(a,{name:"classNames",hash:{},data:r,loc:{start:{line:1,column:12},end:{line:1,column:26}}}):s)+'"><p>'+u(typeof(s=null!=(s=d(t,"name")||(null!=n?d(n,"name"):n))?s:l)===c?s.call(a,{name:"name",hash:{},data:r,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):s)+"</p></div>"+(null!=(o=d(t,"if").call(a,null!=n?d(n,"description"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:49},end:{line:1,column:133}}}))?o:"")},useData:!0}
1),getTemplateData:function(){const{name:e,description:n,isCustomized:t}=this.options,i="scope-item-text";return{classNames:"openid"===e||t?`${i} no-translate`:i,name:e,description:n}},postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:m.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}}),Pj=Ee.extend({className:"scope-list detail-row",postRender:function(){this.model.get("scopes").forEach(e=>{this.add(uDe,{options:{name:e.displayName||e.name,description:e.description,isCustomized:e.isCustomized}})})}}),dDe=ji.views.forms.inputs.CheckBox.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<input type="checkbox" name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):o)+'"/><label for="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):o)+'" data-se-for-name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):o)+'"><b>'+c(typeof(o=null!=(o=u(t,"placeholder")||(null!=n?u(n,"placeholder"):n))?o:a)===l?o.call(s,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:113},end:{line:1,column:128}}}):o)+"</b><p>"+c(typeof(o=null!=(o=u(t,"desc")||(null!=n?u(n,"desc"):n))?o:a)===l?o.call(s,{name:"desc",hash:{},data:r,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):o)+"</p></label>"},useData:!0}),enable:function(){this.options.options.optional&&this.$(":input").prop("disabled",!1)},editMode:function(){if(this.$el.html(this.template(m.extend(m.omit(this.options,"placeholder"),{placeholder:this.options.placeholder||this.options.name,desc:this.options.options.description}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),!this.options.options.optional){const e=this.$("input").get(0);this.$(e.parentElement).addClass("o-form-read-mode"),this.$(":checkbox").prop("disabled",!0)}return("openid"===this.options.name||this.options.options.isCustomized)&&(this.$("label > b").addClass("no-translate"),this.options.options.isCustomized&&this.$("label > p").addClass("no-translate")),this}}),hDe=Ee.extend({tagName:"a",className:"skip-to-content-link",attributes:{href:`#${Re.WIDGET_CONTAINER_ID}`},initialize:function(){this.$el.append(_("skip.to.main.content","login"))}});const fDe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<a href="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"clientURI")||(null!=n?s(n,"clientURI"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"clientURI",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):o)+'" class="client-logo-link" target="_blank">'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(o=null!=(o=c(t,"customLogo")||(null!=n?c(n,"customLogo"):n))?o:a)?o.call(s,{name:"customLogo",hash:{},data:r,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):o)+'" alt="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:r,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(o=null!=(o=c(t,"defaultLogo")||(null!=n?c(n,"defaultLogo"):n))?o:a)?o.call(s,{name:"defaultLogo",hash:{},data:r,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):o)+'" alt="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:r,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,n,t,i,r){return"</a>"},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"issuer")||(null!=n?s(n,"issuer"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"issuer",hash:{},data:r,loc:{start:{line:1,column:624},end:{line:1,column:634}}}):o)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"customLogo"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?o:"")+'<h1><span class="title-text">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{$2:"<p>$2</p>",$1:"<b class='no-translate'>$1</b>",arguments:"appName",bundle:"login",code:"granular.consent.scopes.title"},data:r,loc:{start:{line:1,column:445},end:{line:1,column:577}}}))+"</span>"+(null!=(o=a(t,"if").call(s,null!=n?a(n,"issuer"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:584},end:{line:1,column:654}}}))?o:"")+"</h1>"},useData:!0}),Rj=e=>st.View({View:Ee.extend({className:"consent-title detail-row",template:e,getTemplateData:function(){const n=this.options.appState;return{appName:n.escape("targetLabel"),customLogo:n.get("targetLogo")&&n.get("targetLogo").href,defaultLogo:n.get("defaultAppLogo"),clientURI:n.get("targetClientURI")&&n.get("targetClientURI").href}}})}),pDe=st.View({View:Ee.extend({className:"consent-description detail-row",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<p>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})})}),mDe=st.View({View:Ee.extend({className:"consent-description",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<p>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"granular.consent.scopes.description"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:69}}}))+"</p>"},useData:!0})})}),VI=e=>"optional"in e.get("scopes")[0];var yDe=mn.extend({className:"consent-required",initialize:function(){this.model.set("expiresAt",this.options.appState.get("expiresAt")),this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",m.bind(this.model.cancel,this.model));const e=new hDe;Qt(`#${Re.WIDGET_LOGIN_CONTAINER_ID}`).prepend(e.render().$el),VI(this.options.appState)&&(this.$el.addClass("granular-consent").removeClass("consent-required"),this.form.cancel=m.partial(_,"oform.cancel","login"),m.forEach(this.options.appState.get("scopes"),n=>{this.model.set(n.name,!0)}))},postRender:function(){mn.prototype.postRender.apply(this,arguments),this.$(".o-form-button-bar .button-primary").removeClass("button-primary")},Model:{props:{expiresAt:["string",!0],scopes:["array",!0]},save:function(){return this.doTransaction(function(e){let n=m.pluck(this.get("scopes"),"name"),t={expiresAt:this.get("expiresAt")};return VI(this)?t.optedScopes=m.reduce(n,(i,r)=>(i[r]=this.get(r),i),{}):t.scopes=n,e.consent({consent:t})})},cancel:function(){const e=this;return this.doTransaction(function(n){return n.cancel()}).then(function(){const n=e.settings.get("consent.cancel");m.isFunction(n)&&n()})}},Form:{noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:m.partial(_,"consent.required.consentButton","login"),cancel:m.partial(_,"consent.required.cancelButton","login"),formChildren:function(){return VI(this.options.appState)?[Rj(fDe),mDe].concat((e=>{const n=this.options.appState.get("scopes").slice().sort((t,i)=>i.optional-t.optional);return m.map(n,({name:t,displayName:i,description:r,optional:o,isCustomized:s})=>st.Input({name:t,input:dDe,placeholder:i,label:!1,modelType:"boolean",required:!0,options:{description:r,optional:o,isCustomized:s}}))})()):[Rj(Tj),st.View({View:new Pj({model:this.model})}),pDe]}},Footer:Ee.extend({className:"consent-footer",template:se.template({1:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a class="terms-of-service" href="'+c("function"==typeof(s=null!=(s=u(t,"termsOfService")||(null!=n?u(n,"termsOfService"):n))?s:l)?s.call(a,{name:"termsOfService",hash:{}
1,data:r,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):s)+'" target="_blank">'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:r,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(o=u(t,"if").call(a,null!=n?u(n,"privacyPolicy"):n,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:158},end:{line:1,column:194}}}))?o:"")},2:function(e,n,t,i,r){return" • "},4:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<a class="privacy-policy" href="'+l("function"==typeof(o=null!=(o=c(t,"privacyPolicy")||(null!=n?c(n,"privacyPolicy"):n))?o:a)?o.call(s,{name:"privacyPolicy",hash:{},data:r,loc:{start:{line:1,column:254},end:{line:1,column:271}}}):o)+'" target="_blank">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:r,loc:{start:{line:1,column:289},end:{line:1,column:350}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"termsOfService"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:201}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"privacyPolicy"):n,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:201},end:{line:1,column:361}}}))?o:"")},useData:!0}),getTemplateData:function(){const e=this.options.appState;return{termsOfService:e.get("targetTermsOfService")&&e.get("targetTermsOfService").href,privacyPolicy:e.get("targetPrivacyPolicy")&&e.get("targetPrivacyPolicy").href}}})});const{Util:vDe}=ji.util;var Nj=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help js-skip" data-se="skip-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"password.expiring.later"},data:r,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"passwordWarn"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:143}}}
1))?o:"")+'<a href="#" class="link help goto js-signout" data-se="signout-link">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{bundle:"login",code:"signout"},data:r,loc:{start:{line:1,column:212},end:{line:1,column:250}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-signout":function(e){e.preventDefault();const n=this,t=n.settings.getAuthClient();this.model.doTransaction(function(i){return i.cancel()}).then(function(){return t.session.exists()}).then(function(i){if(i)return t.closeSession().catch(()=>{})}).then(function(){n.settings.get("backToSignInUri")?vDe.redirect(n.settings.get("backToSignInUri")):(n.state.set("navigateDir",Re.DIRECTION_BACK),n.options.appState.trigger("navigate",""))})},"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction(function(n){return n.skip()})}},getTemplateData:function(){return{passwordWarn:this.options.appState.get("isPwdExpiringSoon")}}});const{Util:_De}=ji.util;var bDe=mn.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){const e=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return e&&n>0?_("password.expiring.title","login",[n]):e&&0===n?_("password.expiring.today","login"):e?_("password.expiring.soon","login"):this.settings.get("brandName")?_("password.expired.title.specific","login",[this.settings.get("brandName")]):_("password.expired.title.generic","login")},subtitle:function(){return this.options.appState.get("isPwdExpiringSoon")?this.settings.get("brandName")?_("password.expiring.soon.subtitle.specific","login",[this.settings.get("brandName")]):_("password.expiring.soon.subtitle.generic","login"):_("password.expired.custom.subtitle","login")},formChildren:function(){return[st.Button({title:m.partial(_,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){_De.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:Nj});const wDe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"api.authn.error.PASSCODE_INVALID"},data:r,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})});var CDe=mn.extend({className:"device-code-activate",Model:function(){var e,n;return{props:{userCode:["string",!0,null===(e=this.options)||void 0===e||null===(n=e.appState)||void 0===n?void 0:n.get("userCode")],stateToken:"string"},save:function(){const t=this;return this.doTransaction(function(i){return i.deviceActivate({userCode:t.get("userCode")})})}}},Form:{noCancelButton:!0,autoSave:!0,save:function(){return _("oform.next","login")},title:function(){return _("device.code.activate.title","login")},subtitle:function(){return _("device.code.activate.subtitle","login")},formChildren:function(){return"INVALID_USER_CODE"===this.options.appState.get("deviceActivationStatus")&&this.add(wDe,".o-form-error-container"),[st.Input({label:_("device.code.activate.label","login"),"label-top":!0,name:"userCode",input:nr,inputId:"user-code",type:"text",inlineValidation:!1})]},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){const n=e.target.value;n&&4===n.length&&!["Backspace","Delete","-"].includes(e.key)&&(e.target.value=n.concat("-"))}}});const BI="DEVICE_ACTIVATED",Lj="DEVICE_NOT_ACTIVATED_CONSENT_DENIED",Fj="DEVICE_NOT_ACTIVATED",$j=[Lj,Fj];var SDe=mn.extend({className:"device-code-terminal",postRender:function(){mn.prototype.postRender.apply(this,arguments);const e=this.options.appState.get("deviceActivationStatus")===BI?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')},Model:{},Form:{noCancelButton:!0,noButtonBar:!0,title:function(){const e=this.options.appState.get("deviceActivationStatus");return e===BI?_("device.code.activated.success.title","login"):m.contains($j,e)?_("device.code.activated.error.title","login"):void 0},subtitle:function(){const e=this.options.appState.get("deviceActivationStatus");return e===BI?_("idx.device.activated","login"):e===Lj?_("idx.device.not.activated.consent.denied","login"):e===Fj?_("idx.device.not.activated.internal.error","login"):void 0}
1,formChildren:function(){return[st.View({View:Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="/activate" class="button button-primary text-align-c retry-button" data-se="try-again">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.try.again"},data:r,loc:{start:{line:1,column:121},end:{line:1,column:165}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"isDeviceCodeError"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:176}}}))?o:""},useData:!0}),getTemplateData:function(){return{isDeviceCodeError:m.contains($j,this.options.appState.get("deviceActivationStatus"))}}})})]}}});const{Util:xDe}=ji.util;var u0=mn.extend({className:"enroll-custom-factor",Model:{local:{provider:"string",factorType:"string"},save:function(){return this.manageTransaction((e,n)=>m.findWhere(e.factors,{provider:this.get("provider"),factorType:this.get("factorType")}).enroll().then(i=>{n(i);const r=this.appState.get("enrollCustomFactorRedirectUrl");null!==r&&xDe.redirect(r)}).catch(function(i){throw i}))}},Form:function(){const t=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName");return{autoSave:!0,title:t,subtitle:_("enroll.customFactor.subtitle","login",[t]),save:_("enroll.customFactor.save","login")}},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType)},Footer:Yo});const UI=sm.extend({extraProperties:!0,flat:!1,props:{id:"string",factorType:{type:"string",values:["sms","call","email","token","token:software:totp","token:hotp","token:hardware","question","push","u2f","password","assertion:saml2","assertion:oidc","claims_provider","webauthn"]},provider:{type:"string",values:["OKTA","RSA","DEL_OATH","SYMANTEC","GOOGLE","YUBICO","FIDO","CUSTOM","GENERIC_SAML","GENERIC_OIDC"]},enrollment:{type:"string",values:["OPTIONAL","REQUIRED"]},status:{type:"string",values:["NOT_SETUP","ACTIVE"]},profile:["object"],vendorName:"string",policy:["object"],profiles:["object"]},local:{answer:"string",password:"string",backupFactor:"object",showAnswer:"boolean",rememberDevice:"boolean",autoPush:["boolean",!0,!1]},derived:{isOktaFactor:{deps:["provider"],fn:function(e){return"OKTA"===e}},factorName:{deps:["provider","factorType"],fn:xn.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(e,n,t){return m.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],e)?t:xn.getFactorLabel.apply(this,[e,n])}},factorDescription:{deps:["provider","factorType"],fn:xn.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:xn.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:xn.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(e,n){return"question"!==n?null:e&&xn.getSecurityQuestionLabel(e)}},phoneNumber:{deps:["profile","factorType"],fn:function(e,n){return m.contains(["sms","call"],n)?e&&e.phoneNumber:null}},email:{deps:["profile","factorType"],fn:function(e,n){return"email"===n?e&&e.email:null}},deviceName:{deps:["profile","factorType"],fn:function(e,n){return"push"!==n?null:e&&e.name}},enrolled:{deps:["status"],fn:function(e){return"ACTIVE"===e}},cardinality:{deps:["policy","profiles"],fn:function(e,n){if(n&&n.length>0){const t=n[0],i=t._embedded.enrolledFactors.length,r=m.findWhere(t._embedded.features,{type:"adoption"});return!(!r||!r.cardinality)&&{enrolled:i,minimum:r.cardinality.min,maximum:r.cardinality.max}}return!(!e||!e.enrollment)&&e.enrollment}},additionalEnrollment:{deps:["cardinality"],fn:function(e){return!!e&&0!==e.enrolled&&e.enrolled<e.maximum}},required:{deps:["enrollment"],fn:function(e){return"REQUIRED"===e}},canUseResend:{deps:["provider","factorType"],fn:function(e,n){return"OKTA"===e&&m.contains(["push","sms","call","email"],n)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return m.contains(["sms","call","email","token","token:software:totp","question"],e)}},isFactorTypeVerification:{deps:["provider","id"],fn:function(e,n){return void 0===e&&void 0===n}}},parse:function(e){return this.settings=e.settings,this.appState=e.appState,e.rememberDevice=xn.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(e),m.omit(e,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:_("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:_("error.password.required")}},needsPasscode:function(){return!(this.options.appState.get("isIdxStateToken")&&"email"===this.get("factorType"))},resend:function(){return this.trigger("form:clear-errors"),this.manageTransaction(function(e){return e.resend(e.data._links.resend[0].name)})},save:function(){const e=!!this.get("rememberDevice"),n=this;return this.manageTransaction(function(t,i){const r={rememberDevice:e};let o;return"question"===this.get("factorType")?r.answer=this.get("answer"):"password"===this.get("factorType")?r.password=this.get("password"):this.needsPasscode()&&(r.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(r.autoPush=this.get("autoPush")),o="MFA_REQUIRED"===t.status||"FACTOR_REQUIRED"===t.status||this.appState.get("promptForFactorInUnauthenticated")?this._findFactor(t).verify(r):this.get("canUseResend")&&!this.get("answer")&&t.resend?t.resend(t.data._links.resend[0].name):t.verify(r),this.trigger("save"),o.then(function(s){let a=!1;const l={delay:4e3,transactionCallBack:c=>{a=!0,n.options.appState.set("lastAuthResponse",c)}};if(i(s),"MFA_CHALLENGE"===s.status&&s.poll||"FACTOR_CHALLENGE"===s.status&&s.poll){const c=Tr().defer(),u=wt.callAfterTimeoutOrWindowRefocus(c.resolve,4e3);return n.listenToOnce(n.options.appState,"factorSwitched",()=>{u(),c.reject(new FEe)}),c.promise.then(function(){let d;if(n.stopListening(n.options.appState,"factorSwitched"),n.pushFactorHasAutoPush()&&(l.autoPush=function(){return n.get("autoPush")}
1,l.rememberDevice=function(){return n.get("rememberDevice")}),mi.isIOS()){let f;d=Tr().race([s.poll(l),(()=>{const y=Tr().defer();return f=wt.callAfterTimeoutOrWindowRefocus(y.resolve,2e3,!0),y.promise.then(()=>a?Tr().defer().promise:s.poll(l))})()]).then(y=>(f(),y))}else d=s.poll(l);return d.then(function(f){n.options.appState.set("lastAuthResponse",f.data),i(f)})})}})})},_findFactor:function(e){let n;return e.factorTypes&&(n=m.findWhere(e.factorTypes,{factorType:this.get("factorType")})),n||(n=m.findWhere(e.factors,{id:this.get("id")})),n},pushFactorHasAutoPush:function(){return this.settings.get("features.autoPush")&&"push"===this.get("factorType")},setCustomHotpVendorName:function(e){if("token:hotp"===e.factorType&&e.profiles)if("NOT_SETUP"===e.status)e.vendorName=e.profiles[0].name;else if("ACTIVE"===e.status){const n=e.profiles.filter(t=>t._embedded.enrolledFactors.length>0);e.vendorName=n[0].name}return e}}),EDe=yu.extend({model:UI,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];const n=m.findWhere(e,{provider:"OKTA",factorType:"push"});let t;if(t=m.where(e,{factorType:"push"}).length>1?m.findWhere(e,{factorType:"token:software:totp"}):m.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;const i=t===e[0],r=m.reduce(e,function(o,s){const a="OKTA"===s.provider,c=a&&"push"===s.factorType,u="ACTIVE"!==s.status;return a&&"token:software:totp"===s.factorType&&(u||"ACTIVE"===n.status)||c&&u&&"ACTIVE"===t.status||(c&&(s.backupFactor=new UI(t,{parse:!0})),o.push(s)),o},[]);return i&&(this.lastUsedFactor=n),r},getDefaultFactor:function(){const e=m.pick(this.lastUsedFactor,"factorType","provider");return this.findWhere(e)},getFirstUnenrolledRequiredFactor:function(){return this.findWhere({required:!0,enrolled:!1})},_getFactorsOfType:function(e){return this.where({factorType:e})},getFactorIndex:function(e,n){return this._getFactorsOfType(e).findIndex(function(t){return t.get("id")===n})},hasMultipleFactorsOfSameType:function(e){return this._getFactorsOfType(e).length>1},getFactorByTypeAndIndex:function(e,n){return this._getFactorsOfType(e)[n]}});var d0={Model:UI,Collection:EDe};const kDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<span class="icon error-24"></span><h4><strong>'+(null!=(o="function"==typeof(s=null!=(s=a(t,"message")||(null!=n?a(n,"message"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"message",hash:{},data:r,loc:{start:{line:1,column:47},end:{line:1,column:60}}}):s)?o:"")+"</strong></h4>"},useData:!0});var Al=Ee.extend({template:kDe,className:"okta-infobox-error infobox infobox-error infobox-md margin-btm-25",attributes:{"data-se":"o-form-error-html"},message:"",initialize:function(e){e&&e.message&&(this.message=e.message)},getTemplateData:function(){return{message:this.message}}});const{Util:TDe}=ji.util;var ADe=u0.extend({Model:{local:{provider:"string",factorType:"string"},save:function(){return this.manageTransaction(()=>{const e=this.appState.get("enrollCustomFactorRedirectUrl");null!==e&&TDe.redirect(e)})}},Form:function(){const n=new d0.Model(this.options.appState.get("factor"),this.toJSON()).get("vendorName");return{autoSave:!0,title:n,subtitle:_("enroll.customFactor.subtitle","login",[n]),save:_("enroll.customFactor.save","login"),formChildren:function(){const r=[];return this.options.appState.get("isFactorResultFailed")&&r.push(st.View({View:new Al({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),r}}}}),Bj=Ee.extend({className:"hide resend-email-infobox",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="infobox infobox-warning" aria-live="polite"><span class="icon warning-16"></span><p><span>'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"email.code.not.received"},data:r,loc:{start:{line:1,column:102},end:{line:1,column:156}}}))+'</span><a href="#" class="resend-email-btn">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"email.button.resend"},data:r,loc:{start:{line:1,column:200},end:{line:1,column:250}}}))+"</a></p></div>"},useData:!0}
1),events:{"click .resend-email-btn":"resendEmail"},postRender:function(){this.showResendCallout()},showResendCallout:function(){m.delay(()=>{this.$el.removeClass("hide")},Re.API_RATE_LIMIT)},hideResendCallout:function(){this.$el.addClass("hide")},resendEmail:function(e){e.preventDefault(),this.hideResendCallout(),this.model.resend().finally(this.showResendCallout.bind(this))}}),ODe=mn.extend({className:"enroll-activate-email",Model:{props:{passCode:"string"},resend:function(){return this.trigger("form:clear-errors"),this.doTransaction(function(e){return e.resend("email")})},save:function(){this.trigger("save");const e=this.toJSON();return this.doTransaction(function(n){return n.activate(e)})}},Form:function(){return{title:m.partial(_,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:m.partial(_,"oform.verify","login"),formChildren:[st.View({View:Ee.extend({className:"enroll-activate-email-content",attributes:{"data-se":"enroll-activate-email-content"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:""},useData:!0}),getTemplateData:function(){const e=this.options.appState.get("factor"),n=e&&e.profile?e.profile.email:"";return{factorEmail:se.template({compiler:[8,">= 4.3.0"],main:function(i,r,o,s,a){var l,c=i.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<span class="mask-email">'+i.escapeExpression("function"==typeof(l=null!=(l=c(o,"email")||(null!=r?c(r,"email"):r))?l:i.hooks.helperMissing)?l.call(r??(i.nullContext||{}),{name:"email",hash:{},data:a,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):l)+"</span>"},useData:!0})({email:n})}}})}),st.View({View:Bj}),st.Input({label:_("email.code.label","login"),"label-top":!0,name:"passCode",type:"text",wide:!0})]}},Footer:Yo}),IDe={US:"1",AG:"1",AI:"1",AS:"1",BB:"1",BM:"1",BS:"1",CA:"1",DM:"1",DO:"1",GD:"1",GU:"1",JM:"1",KN:"1",KY:"1",LC:"1",MP:"1",MS:"1",PR:"1",SX:"1",TC:"1",TT:"1",VC:"1",VG:"1",VI:"1",RU:"7",KZ:"7",EG:"20",ZA:"27",GR:"30",NL:"31",BE:"32",FR:"33",ES:"34",HU:"36",IT:"39",VA:"39",RO:"40",CH:"41",AT:"43",GB:"44",GG:"44",IM:"44",JE:"44",DK:"45",SE:"46",NO:"47",SJ:"47",PL:"48",DE:"49",PE:"51",MX:"52",CU:"53",AR:"54",BR:"55",CL:"56",CO:"57",VE:"58",MY:"60",AU:"61",CC:"61",CX:"61",ID:"62",PH:"63",NZ:"64",SG:"65",TH:"66",JP:"81",KR:"82",VN:"84",CN:"86",TR:"90",IN:"91",PK:"92",AF:"93",LK:"94",MM:"95",IR:"98",SS:"211",MA:"212",EH:"212",DZ:"213",TN:"216",LY:"218",GM:"220",SN:"221",MR:"222",ML:"223",GN:"224",CI:"225",BF:"226",NE:"227",TG:"228",BJ:"229",MU:"230",LR:"231",SL:"232",GH:"233",NG:"234",TD:"235",CF:"236",CM:"237",CV:"238",ST:"239",GQ:"240",GA:"241",CG:"242",CD:"243",AO:"244",GW:"245",IO:"246",AC:"247",SC:"248",SD:"249",RW:"250",ET:"251",SO:"252",DJ:"253",KE:"254",TZ:"255",UG:"256",BI:"257",MZ:"258",ZM:"260",MG:"261",RE:"262",YT:"262",ZW:"263",NA:"264",MW:"265",LS:"266",BW:"267",SZ:"268",KM:"269",SH:"290",TA:"290",ER:"291",AW:"297",FO:"298",GL:"299",GI:"350",PT:"351",LU:"352",IE:"353",IS:"354",AL:"355",MT:"356",CY:"357",FI:"358",AX:"358",BG:"359",LT:"370",LV:"371",EE:"372",MD:"373",AM:"374",BY:"375",AD:"376",MC:"377",SM:"378",UA:"380",RS:"381",ME:"382",XK:"383",HR:"385",SI:"386",BA:"387",MK:"389",CZ:"420",SK:"421",LI:"423",FK:"500",BZ:"501",GT:"502",SV:"503",HN:"504",NI:"505",CR:"506",PA:"507",PM:"508",HT:"509",GP:"590",BL:"590",MF:"590",BO:"591",GY:"592",EC:"593",GF:"594",PY:"595",MQ:"596",SR:"597",UY:"598",CW:"599",BQ:"599",TL:"670",NF:"672",BN:"673",NR:"674",PG:"675",TO:"676",SB:"677",VU:"678",FJ:"679",PW:"680",WF:"681",CK:"682",NU:"683",WS:"685",KI:"686",NC:"687",TV:"688",PF:"689",TK:"690",FM:"691",MH:"692","001":"979",KP:"850",HK:"852",MO:"853",KH:"855",LA:"856",BD:"880",TW:"886",MV:"960",LB:"961",JO:"962",SY:"963",IQ:"964",KW:"965",SA:"966",YE:"967",OM:"968",PS:"970",AE:"971",IL:"972",BH:"973",QA:"974",BT:"975",MN:"976",NP:"977",TJ:"992",TM:"993",AZ:"994",GE:"995",KG:"996",UZ:"998",GS:"500",PN:"64",AQ:"672",UM:"1",AN:"599"};const ha_getCountries=function(){const e=un.omit(So.country,"HM","BV","TF");let n=un.map(e,function(i,r){return{name:i,code:r}});n=un.sortBy(n,"name");const t={};return un.each(n,function(i){t[i.code]=i.name}),t},ha_getCountryCode=function(){const e=un.omit(So.country,"HM","BV","TF");let n=un.map(e,function(i,r){return{name:i,code:r}});n=un.sortBy(n,"name");const t={};return un.each(n,function(i){t[i.code]=ct("country.option.label","login",[i.name,i.code])}),t},ha_getCallingCodeForCountry=function(e){return IDe[e]};let{TextBox:PDe}=ji.views.forms.inputs;var Uj=PDe.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<span class="okta-form-label-inline o-form-label-inline">'+c(typeof(o=null!=(o=u(t,"countryCallingCode")||(null!=n?u(n,"countryCallingCode"):n))?o:a)===l?o.call(s,{name:"countryCallingCode",hash:{}
1,data:r,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):o)+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c(typeof(o=null!=(o=u(t,"type")||(null!=n?u(n,"type"):n))?o:a)===l?o.call(s,{name:"type",hash:{},data:r,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):o)+'" placeholder="'+c(typeof(o=null!=(o=u(t,"placeholder")||(null!=n?u(n,"placeholder"):n))?o:a)===l?o.call(s,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):o)+'" name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):o)+'" value="'+c(typeof(o=null!=(o=u(t,"value")||(null!=n?u(n,"value"):n))?o:a)===l?o.call(s,{name:"value",hash:{},data:r,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):o)+'" autocomplete="'+c(typeof(o=null!=(o=u(t,"autocomplete")||(null!=n?u(n,"autocomplete"):n))?o:a)===l?o.call(s,{name:"autocomplete",hash:{},data:r,loc:{start:{line:1,column:265},end:{line:1,column:281}}}):o)+'"></span>'},useData:!0}),initialize:function(){this.listenTo(this.model,"change:countryCallingCode",function(){this.$(".o-form-label-inline").text(this.model.get("countryCallingCode"))})},preRender:function(){this.options.countryCallingCode=this.model.get("countryCallingCode"),this.options.autocomplete=wt.getAutocompleteValue(this.options.model.settings,"tel")},postRender:function(){this.$el.removeClass("input-fix o-form-control"),m.defer(()=>{this.$el.parent().addClass("o-form-input-group")})}});let{Keys:RDe}=ji.util;const NDe=Ee.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<span class="icon warning-16"></span><p>'+(null!=(o="function"==typeof(s=null!=(s=a(t,"warning")||(null!=n?a(n,"warning"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"warning",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):s)?o:"")+"</p>"},useData:!0})}),HI={factorId:function(e){return!m.isUndefined(e)}};function h0(e){return"call"===e}function Hj(e){return h0(e)?"enroll-call":"enroll-sms"}function jI(e){RDe.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var jj=mn.extend({className:function(){return Hj(this.options.factorType)},Model:function(){return{props:{phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+ha_getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,n){return n?e+n:""}},enrolled:{deps:["lastEnrolledPhoneNumber","fullPhoneNumber"],fn:function(e,n){return e===n}}},limitResending:function(){this.set({ableToResend:!1}),m.delay(m.bind(this.set,this),Re.API_RATE_LIMIT,{ableToResend:!0})},sendCode:function(){const e=this,n=this.get("fullPhoneNumber"),t=this.get("phoneExtension");if(e.trigger("errors:clear"),n.length)return this.doTransaction(function(i){const r="MFA_ENROLL"===i.status||"FACTOR_ENROLL"===i.status,o={phoneNumber:n,updatePhone:!r||e.get("hasExistingPhones")};h0(e.get("factorType"))&&(o.phoneExtension=t),e.get("skipPhoneValidation")&&(o.validatePhone=!1);const s=function(a){return m.findWhere(a.factors,{factorType:e.get("factorType"),provider:"OKTA"}).enroll({profile:o}).catch(function(c){throw"E0000098"===c.errorCode&&(e.set("skipPhoneValidation",!0),c.xhr.responseJSON.errorSummary=_("enroll.sms.try_again","login")),c})};return r?s(i):(e.set("trapEnrollment",!0),i.prev().then(s).then(function(a){return e.set("trapEnrollment",!1),a}))},!0).then(function(){e.set("lastEnrolledPhoneNumber",n),e.limitResending()}).catch(function(){e.set("trapEnrollment",!1)});e.trigger("invalid",e,{phoneNumber:"model.validation.field.blank"})},resendCode:function(){return this.trigger("errors:clear"),this.limitResending(),this.doTransaction(function(e){return e.resend(this.get("factorType"))})},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:function(){const e=this.options.factorType,n=h0(e),t=_(n?"enroll.call.setup":"enroll.sms.setup","login"),i=_(n?"mfa.call":"mfa.sendCode","login"),r=_(n?"mfa.redial":"mfa.resendCode","login"),o=_(n?"mfa.calling":"mfa.sent","login"),s=n?"enroll-call-phone":"enroll-sms-phone",a=n?"call-request-button":"sms-request-button",l=[st.Input({name:"countryCode",type:"select",wide:!0,options:ha_getCountries()}),st.Input({label:_("mfa.phoneNumber.placeholder","login"),"label-top":!0,
1className:s,name:"phoneNumber",input:Uj,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",jI).keydown(jI).keyup({model:this.model},jI)}})];return n&&l.push(st.Input({label:_("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:nr,type:"text"})),l.push(st.Button({title:i,attributes:{"data-se":a},className:"button button-primary js-enroll-phone margin-top-30 "+a,click:function(){this.model.sendCode()}}),st.Button({title:r,attributes:{"data-se":a},className:"button js-enroll-phone margin-top-30 "+a,click:function(){this.model.resendCode()},initialize:function(){this.$el.css({display:"none"}),this.listenTo(this.model,"change:ableToResend",function(c,u){u?(this.options.title=r,this.enable()):(this.options.title=o,this.disable()),this.render()})}}),st.Divider({showWhen:HI}),st.Input({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:nr,type:"tel",showWhen:HI}),st.Toolbar({noCancelButton:!0,save:_("mfa.challenge.verify","login"),showWhen:HI})),{title:t,noButtonBar:!0,autoSave:!0,className:Hj(e),showWarning:function(c){this.clearWarnings(),this.add(NDe,".o-form-error-container",{options:{warning:c}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){const c=se.template({compiler:[8,">= 4.3.0"],main:function(d,f,y,b,S){var D=d.lookupProperty||function(R,G){if(Object.prototype.hasOwnProperty.call(R,G))return R[G]};return d.escapeExpression((D(y,"i18n")||f&&D(f,"i18n")||d.hooks.helperMissing).call(f??(d.nullContext||{}),{name:"i18n",hash:{$1:"<b>$1</b>",bundle:"login",code:"factor.call.time.warning"},data:S,loc:{start:{line:1,column:0},end:{line:1,column:71}}}))},useData:!0}),u=se.template({compiler:[8,">= 4.3.0"],main:function(d,f,y,b,S){var D=d.lookupProperty||function(R,G){if(Object.prototype.hasOwnProperty.call(R,G))return R[G]};return d.escapeExpression((D(y,"i18n")||f&&D(f,"i18n")||d.hooks.helperMissing).call(f??(d.nullContext||{}),{name:"i18n",hash:{$1:"<b>$1</b>",bundle:"login",code:"factor.sms.time.warning"},data:S,loc:{start:{line:1,column:0},end:{line:1,column:70}}}))},useData:!0});this.listenTo(this.model,"change:ableToResend",function(d,f){f?this.showWarning(n?c:u):this.clearWarnings()}),this.listenTo(this.model,"error errors:clear",function(){this.clearWarnings(),this.clearErrors()}),this.listenTo(this.model,"change:enrolled",function(){this.$(".js-enroll-phone").toggle()})},formChildren:l}},Footer:Yo,trapAuthResponse:function(){return this.options.appState.get("isMfaEnrollActivate")?(this.model.set("factorId",this.options.appState.get("activatedFactorId")),!0):!(!this.options.appState.get("isMfaEnroll")||!this.model.get("trapEnrollment"))||void 0},initialize:function(){h0(this.options.factorType)?this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhonesForCall")):this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhones")),this.model.set("factorType",this.options.factorType)}});const LDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="factor-cardinality">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"cardinalityText")||(null!=n?s(n,"cardinalityText"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"cardinalityText",hash:{},data:r,loc:{start:{line:1,column:33},end:{line:1,column:52}}}):o)+"</span>"},useData:!0}),FDe=Ee.extend({tagName:"li",className:"enroll-factor-row clearfix",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<p>"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"factorDescription")||(null!=n?s(n,"factorDescription"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"factorDescription",hash:{},data:r,loc:{start:{line:1,column:235},end:{line:1,column:256}}}):o)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<div class="enroll-factor-icon-container"><div class="factor-icon enroll-factor-icon '+u(typeof(s=null!=(s=d(t,"iconClassName")||(null!=n?d(n,"iconClassName"):n))?s:l)===c?s.call(a,{name:"iconClassName",hash:{},data:r,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):s)+'"></div></div><div class="enroll-factor-description"><h3 class="enroll-factor-label">'+u(typeof(s=null!=(s=d(t,"factorLabel")||(null!=n?d(n,"factorLabel"):n))?s:l)===c?s.call(a,{name:"factorLabel",hash:{},data:r,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):s)+"</h3>"+(null!=(o=d(t,"if").call(a,null!=n?d(n,"factorDescription"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?o:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}
1),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){const e=[],n=this.model.get("enrolled"),t=this.model.get("required"),i=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[cr({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",Fi.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];n?e.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):t&&e.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);const r=xn.getCardinalityText(n,t,i);return r&&e.push([LDe({cardinalityText:r}),".enroll-factor-description"]),e},minimize:function(){this.$el.addClass("enroll-factor-row-min")},maximize:function(){this.$el.removeClass("enroll-factor-row-min")},getSetupButtonText:function(){return this.model.get("additionalEnrollment")?_("enroll.choices.setup.another","login"):_("enroll.choices.setup","login")}});var iv=o0.extend({className:"enroll-factor-list",item:FDe,itemSelector:".list-content",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h3 class="list-title">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"listTitle")||(null!=n?s(n,"listTitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"listTitle",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):o)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"listTitle"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:65}}}))?o:"")+'<ul class="list-content"></ul>'},useData:!0}),getTemplateData:function(){const e=o0.prototype.getTemplateData.call(this);return m.extend(e,this),e},postRender:function(){this.options.minimize&&this.invoke("minimize")}}),$De=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link goto js-skip" data-se="skip-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"enroll.choices.setup.skip"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:114}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction(function(n){return n.skip()})}}}),VDe=iv.extend({listTitle:m.partial(_,"enroll.choices.list.setup","login"),className:function(){return iv.prototype.className+" enroll-required-factor-list"},postRender:function(){let e,n;iv.prototype.postRender.apply(this,arguments),e=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),n=this.find(function(t){return t.model===e}),n.maximize()}});const BDe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return"<span>"+(null!=(o="function"==typeof(s=null!=(s=a(t,"subtitle")||(null!=n?a(n,"subtitle"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:6},end:{line:1,column:20}}}):s)?o:"")+"</span>"},useData:!0});var UDe=mn.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:m.partial(_,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===Re.ALL_OPTIONAL_NONE_ENROLLED},subtitle:" ",getSubtitle:function(){switch(this.state.get("pageType")){case Re.ALL_OPTIONAL_SOME_ENROLLED:case Re.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return _("enroll.choices.optional","login");case Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:{const e=this.options.appState.get("gracePeriodRemainingDays");return null!==e&&e>=0?this.getGracePeriodSubtitle(e):this.getDefaultSubtitle()}default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?_("enroll.choices.description.specific","login",[this.settings.get("brandName")]):_("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(e){return e>=1?_("enroll.choices.description.gracePeriod.bold","login",[e]):_("enroll.choices.description.gracePeriod.oneDay.bold","login")},save:function(){switch(this.state.get("pageType")){case Re.ALL_OPTIONAL_SOME_ENROLLED:case Re.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return _("enroll.choices.submit.finish","login");case Re.HAS_REQUIRED_NONE_ENROLLED:return _("enroll.choices.submit.configure","login");case Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return _("enroll.choices.submit.next","login");default:return""}},initialize:function(e){this.listenTo(this,"save",function(){let n;switch(this.state.get("pageType")){case Re.HAS_REQUIRED_NONE_ENROLLED:case Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:n=e.appState.get("factors").getFirstUnenrolledRequiredFactor(),e.appState.trigger("navigate",Fi.createEnrollFactorUrl(n.get("provider"),n.get("factorType")));break;default:return this.model.doTransaction(function(t){return t.skip()})}})},preRender:function(){this.add(BDe({subtitle:this.getSubtitle()}),"p.okta-form-subtitle");const e=this.options.appState.get("factors");switch(this.state.get("pageType")){case Re.HAS_REQUIRED_NONE_ENROLLED:case Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new VDe({minimize:!0,collection:new yu(e.where({required:!0})),appState:this.options.appState}));break;case Re.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case Re.ALL_OPTIONAL_SOME_ENROLLED:case Re.ALL_OPTIONAL_NONE_ENROLLED:{const n=e.where({enrolled:!0}),t=e.filter(function(r){return!r.get("enrolled")||r.get("additionalEnrollment")});let i;n.length>0&&(i=_("enroll.choices.list.optional","login"),this.add(new iv({listTitle:_("enroll.choices.list.enrolled","login"),minimize:!0,collection:new yu(n),appState:this.options.appState}))),this.add(new iv({listTitle:i,collection:new yu(t),appState:this.options.appState,showInlineSetupButton:!0}));break}}}},initialize:function(e){let o,s,n=0,t=0,i=0,r=0;e.appState.get("factors").each(function(a){const l=a.get("required"),
1c=a.get("enrolled"),u=a.get("additionalEnrollment");l&&c?n++:l&&!c?t++:!l&&c?i++:!l&&!c&&r++,c&&u&&r++}),o=n>0||t>0,o&&0===n?s=Re.HAS_REQUIRED_NONE_ENROLLED:o&&t>0?s=Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:o&&r>0?s=Re.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===i&&r>0?s=Re.ALL_OPTIONAL_NONE_ENROLLED:r>0?s=Re.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction(function(a){return a.skip()}),this.state.set("pageType",s),this.options.appState.get("skipLink")&&s===Re.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new $De(this.toJSON()))}}),zj=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"&&self,{exports:{}});zj.exports=function(){var r,o,s,a,l,c,e=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,n=/^ERR\|[\w\s\.\(\)]+$/,t=/^DUO_OPEN_WINDOW\|/,i=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];function u(){r="",o="sig_response",s=void 0,a=void 0,l=void 0,c=void 0}function d(pe,Ct){var en=Ct||"https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe";throw new Error("Duo Web SDK error: "+pe+(en?"\nSee "+en+" for more information":""))}function y(pe,Ct){return"dataset"in pe?pe.dataset[Ct]:pe.getAttribute("data-"+function f(pe){return pe.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}(Ct))}function b(pe,Ct,en,di){"addEventListener"in window?pe.addEventListener(Ct,di,!1):pe.attachEvent(en,di)}function S(pe,Ct,en,di){"removeEventListener"in window?pe.removeEventListener(Ct,di,!1):pe.detachEvent(en,di)}function D(pe){b(document,"DOMContentLoaded","onreadystatechange",pe)}function R(pe){S(document,"DOMContentLoaded","onreadystatechange",pe)}function te(pe){if(pe){0===pe.indexOf("ERR|")&&d(pe.split("|")[1]),(-1===pe.indexOf(":")||2!==pe.split(":").length)&&d("Duo was given a bad token. This might indicate a configuration problem with one of Duo's client libraries.");var Ct=pe.split(":");return a=Ct[0],l=Ct[1],{sigRequest:pe,duoSig:Ct[0],appSig:Ct[1]}}}function mt(pe){return Boolean(pe.origin==="https://"+s&&"string"==typeof pe.data&&(pe.data.match(e)||pe.data.match(n)||pe.data.match(t)))}function gt(pe){var Ct;return pe.iframe&&pe.iframeContainer?d("Passing both `iframe` and `iframeContainer` arguments at the same time is not allowed."):pe.iframe?function gn(pe){pe&&!Tn(pe)&&d("`iframe` only accepts an iframe element or the id of an iframe. To use a non-iframe element, use the `iframeContainer` argument.")}(Ct=nn(pe.iframe)):pe.iframeContainer?function on(pe){pe&&Tn(pe)&&d("`iframeContainer` only accepts a non-iframe element or the id of a non-iframe. To use a non-iframe element, use the `iframeContainer` argument on Duo.init().")}(Ct=nn(pe.iframeContainer)):Ct=document.getElementById("duo_iframe"),Ct}function nn(pe){return pe.tagName?pe:"string"==typeof pe?document.getElementById(pe):null}function Tn(pe){return pe&&pe.tagName&&"iframe"===pe.tagName.toLowerCase()}function Ht(){return["https://",s,"/frame/web/v1/auth?tx=",a,"&parent=",encodeURIComponent(document.location.href),"&v=2.8"].join("")}function xi(pe){if(mt(pe))if(pe.data.match(t)){var Ct=pe.data.substring(16);(function Nr(pe){if(!pe)return!1;var Ct=document.createElement("a");if(Ct.href=pe,"duotrustedendpoints:"===Ct.protocol)return!0;if("https:"!==Ct.protocol)return!1;for(var en=0;en<i.length;en++)if(Ct.hostname.endsWith("."+i[en])||Ct.hostname===i[en])return!0;return!1})(Ct)&&window.open(Ct,"_self")}else St(pe.data),function H(pe){S(window,"message","onmessage",pe)}(xi)}function Et(pe,Ct){if(s||(s=y(pe,"host"))||d("No API hostname is given for Duo to use. Be sure to pass a `host` parameter to Duo.init, or through the `data-host` attribute on the iframe element."),(!a||!l)&&(te(y(pe,"sigRequest")),(!a||!l)&&d("No valid signed request is given. Be sure to give the `sig_request` parameter to Duo.init, or use the `data-sig-request` attribute on the iframe element.")),""===r&&(r=y(pe,"postAction")||r),"sig_response"===o&&(o=y(pe,"postArgument")||o),Tn(pe))(c=pe).src=Ht();else{for(;pe.firstChild;)pe.removeChild(pe.firstChild);for(var en in c=document.createElement("iframe"),Ct.src=Ht(),Ct)c.setAttribute(en,Ct[en]);pe.appendChild(c)}!function G(pe){b(window,"message","onmessage",pe)}(xi)}function St(pe){r(pe+":"+l)}return u(),{init:function $e(pe){u(),pe&&(pe.host&&(s=pe.host),pe.sig_request&&te(pe.sig_request),pe.post_action&&(r=pe.post_action),pe.post_argument&&(o=pe.post_argument));var Ct=gt(pe);Ct?Et(Ct,pe.iframeAttributes||{}):function br(pe){var Ct=function(){var en=gt(pe);en||d('This page does not contain an iframe for Duo to use. Add an element like <iframe id="duo_iframe"></iframe> to this page.'),Et(en,pe.iframeAttributes||{}),R(Ct)};D(Ct)}(pe),R($e)},_onReady:D,_parseSigRequest:te,_isDuoMessage:mt,_doPostBack:St}}();var zI=zj.exports,jDe=mn.extend({className:"enroll-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string"},getInitOptions:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()})},activate:function(e){const n=this.get("postAction"),t=this.get("factorId"),i=this,r={id:t,stateToken:this.get("stateToken"),sig_response:e};return Tr()(Qt.post(n,r)).then(function(){return i.doTransaction(function(o){return o.poll()})}).catch(function(o){i.trigger("error",i,o.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:m.partial(_,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),zI.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:m.bind(this.model.activate,this.model)})}},Footer:Yo,fetchInitialData:function(){const e=this;return this.model.getInitOptions(this.options.appState).then(function(n){const t=n.data;if(!(t&&t._embedded&&t._embedded.factor&&t._embedded.factor._embedded&&t._embedded.factor._embedded.activation))throw new Error("Response does not have duo activation options");const i=t._embedded.factor,r=i._embedded.activation;e.model.set({host:r.host,signature:r.signature,postAction:r._links.complete.href,factorId:i.id,stateToken:t.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});const zDe={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");const e=this.pick("factorType","provider");return this.doTransaction(function(n){return m.findWhere(n.factors,e).enroll()})}};var qDe=mn.extend({className:"enroll-email",Model:zDe,Form:function(){return{title:m.partial(_,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:m.partial(_,"email.button.send","login"),formChildren:[st.View({View:Ee.extend({attributes:{"data-se":"enroll-email-content"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"email.enroll.description"},data:r,loc:{start:{line:1,column:0}
1,end:{line:1,column:55}}}))},useData:!0})})})]}},Footer:Yo,initialize:function(){this.model.set(m.pick(this.options,"factorType","provider"))}}),WDe=mn.extend({className:"enroll-hotp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){const n=this.options.appState.get("factors").findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return _("enroll.totp.title","login",[n.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[st.View({View:new Al({message:_("enroll.hotp.restricted","login")})})]}},Footer:Yo});function Gj(e){return"RSA"===e}function qj(e){return Gj(e)?"enroll-rsa":"enroll-onprem"}var Wj=mn.extend({className:function(){return qj(this.options.provider)},Model:function(){const e=this.options.provider,i=this.options.appState.get("factors").findWhere(m.pick(this.options,"provider","factorType")).get("profile");return{props:{credentialId:["string",!0,i&&i.credentialId?i.credentialId:""],passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(o){return m.findWhere(o.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})})}}},Form:function(){const e=this.options.provider,i=this.options.appState.get("factors").findWhere(m.pick(this.options,"provider","factorType")).get("vendorName");return{title:Gj(e)?_("factor.totpHard.rsaSecurId","login"):i,noButtonBar:!0,autoSave:!0,className:qj(e),initialize:function(){this.listenTo(this.model,"error",(o,s)=>{s&&409===s.status&&(this.$(".o-form-input-name-passCode input").val(""),this.$(".o-form-input-name-passCode input").trigger("change"),this.$(".o-form-input-name-passCode input").focus())})},formChildren:[st.Input({label:_("enroll.onprem.username.placeholder","login",[i]),"label-top":!0,explain:wt.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[i],[i]),"explain-top":!0,name:"credentialId",input:nr,type:"text"}),st.Input({label:_("enroll.onprem.passcode.placeholder","login",[i]),"label-top":!0,explain:wt.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[i],[i]),"explain-top":!0,name:"passCode",input:nr,type:"password"}),st.Toolbar({noCancelButton:!0,save:_("mfa.challenge.verify","login")})]}},Footer:Yo});const vu={validateUsername:function(e){const n=e.get("username");if(n&&n.length>256)return{username:_("model.validation.field.username","login")}},validateFieldsMatch:function(e,n,t,i){if(e.get(n)!==e.get(t)){const r={};return r[t]=i,r}},validatePasswordMatch:function(e){return vu.validateFieldsMatch(e,"newPassword","confirmPassword",_("password.error.match","login"))}};var KDe=mn.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return vu.validateFieldsMatch(this,"password","confirmPassword",_("password.enroll.error.match","login"))},save:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})})}},Form:{autoSave:!0,title:m.partial(_,"enroll.password.setup","login"),inputs:function(){return[{label:_("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:nr,type:"password"},{label:_("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:nr,type:"password"}]}},Footer:Yo}),YDe=mn.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})})}},Form:{autoSave:!0,title:m.partial(_,"enroll.securityQuestion.setup","login"),inputs:function(){return[{label:!1,"label-top":!0,name:"question",type:"select",wide:!0,options:function(){return this.model.get("securityQuestions")},params:{searchThreshold:25}},{label:_("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("mfa.challenge.answer.tooltip","mfa.challenge.answer.placeholder","login"),"explain-top":!0,
1className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:nr,type:"text"}]}},Footer:Yo,fetchInitialData:function(){const e=this;return this.model.manageTransaction(function(n){return m.findWhere(n.factors,{factorType:"question",provider:"OKTA"}).questions()}).then(function(n){const t={};m.each(n,function(i){t[i.question]=xn.getSecurityQuestionLabel(i)}),e.model.set("securityQuestions",t)})}}),QDe=mn.extend({className:"enroll-symantec",Model:{props:{credentialId:["string",!0],passCode:["string",!0],nextPassCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})})}},Form:{title:m.partial(_,"factor.totpHard.symantecVip","login"),subtitle:m.partial(_,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[st.Input({label:_("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:nr,type:"text"}),st.Input({label:_("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:nr,type:"text"}),st.Input({label:_("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:nr,type:"text"}),st.Toolbar({noCancelButton:!0,save:_("mfa.challenge.verify","login")})]}},Footer:Yo}),GI={OKTA:{APPLE:"https://itunes.apple.com/us/app/okta-verify/id490179405",ANDROID:"https://play.google.com/store/apps/details?id=com.okta.android.auth"},GOOGLE:{APPLE:"https://itunes.apple.com/us/app/google-authenticator/id388497605",ANDROID:"https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2"},STORE:{APPLE:"App Store",ANDROID:"Google Play Store"}};const qI={__deviceType__:function(e){return void 0!==e}},JDe=Ee.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<span class="app-logo '+e.escapeExpression(typeof(s=null!=(s=u(t,"appIcon")||(null!=n?u(n,"appIcon"):n))?s:l)===c?s.call(a,{name:"appIcon",hash:{},data:r,loc:{start:{line:1,column:22},end:{line:1,column:33}}}):s)+'"></span><p class="instructions">'+(null!=(o=typeof(s=null!=(s=u(t,"appStoreLinkText")||(null!=n?u(n,"appStoreLinkText"):n))?s:l)===c?s.call(a,{name:"appStoreLinkText",hash:{},data:r,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):s)?o:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},postRender:function(){const e=this.$el.find(".instructions a");e.length&&(e[0].setAttribute("target","_blank"),e[0].setAttribute("rel","noreferer noopener"))},getTemplateData:function(){let e,n,t;const i=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return t=GI.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(e=GI.GOOG
1LE[this.model.get("__deviceType__")],n="google-auth-38"):(e=GI.OKTA[this.model.get("__deviceType__")],n="okta-verify-download-icon"),{appStoreLinkText:t?_("enroll.totp.downloadApp","login",[e,i,t]):null,appIcon:n}}}),XDe=mn.extend({className:"enroll-totp",Model:function(){return{local:{__deviceType__:"string",__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()})}}},Form:{title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){const e={APPLE:_("iphone","login"),ANDROID:_("android","login")};return[st.Input({name:"__deviceType__",type:"radio",options:e,group:!0,label:m.partial(_,"enroll.totp.selectDevice","login")}),st.Divider({showWhen:qI}),st.View({View:JDe,showWhen:qI}),st.Button({title:_("oform.next","login"),attributes:{"data-type":"save"},className:"button button-primary default-custom-button",click:function(){this.model.save()},showWhen:qI})]}},Footer:Yo});Ce(998);const Qo={getU2fEnrollErrorMessageKeyByCode:function(e){switch(e){default:case 1:return"u2f.error.other";case 2:case 3:return"u2f.error.badRequest";case 4:return"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},getU2fVerifyErrorMessageKeyByCode:function(e,n){switch(e){case 1:return n?"u2f.error.other.oneFactor":"u2f.error.other";case 2:case 3:return n?"u2f.error.badRequest.oneFactor":"u2f.error.badRequest";case 4:return n?"u2f.error.unsupported.oneFactor":"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},getU2fEnrollErrorMessageByCode:function(e){return ct(Qo.getU2fEnrollErrorMessageKeyByCode(e),"login")},getU2fVerifyErrorMessageByCode:function(e,n){return ct(Qo.getU2fVerifyErrorMessageKeyByCode(e,n),"login")},getU2fVersion:function(){return"U2F_V2"},isU2fAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"u2f")}};var ZDe=mn.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction(function(e){const n=e.factor.activation,t=n.appId,i=[{version:Qo.getU2fVersion(),challenge:n.nonce}],r=this,o=Tr().defer();return u2f.register(t,i,[],function(s){r.trigger("errors:clear"),s.errorCode&&0!==s.errorCode?o.reject(new q9({xhr:{responseJSON:{errorSummary:Qo.getU2fEnrollErrorMessageByCode(s.errorCode)}}})):o.resolve(e.activate({registrationData:s.registrationData,version:s.version,challenge:s.challenge,clientData:s.clientData}))}),o.promise})}},Form:{title:m.partial(_,"enroll.u2f.title","login"),save:m.partial(_,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!Qo.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){const e=[];if(Qo.isU2fAvailable())e.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=t??(n.nullContext||{}),l=n.hooks.helperMissing,c=n.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="u2f-instructions"><ol><li>'+(null!=(s=(c(i,"i18n")||t&&c(t,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general2"},data:o,loc:{start:{line:1,column:38},end:{line:1,column:90}}}))?s:"")+"</li><li>"+n.escapeExpression((c(i,"i18n")||t&&c(t,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general3"},data:o,loc:{start:{line:1,column:99},end:{line:1,column:149}}}))+"</li></ol></div>"},useData:!0})})})),e.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=t??(n.nullContext||{}),a=n.hooks.helperMissing,l=n.escapeExpression,c=n.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="u2f-enroll-text hide"><p>'+l((c(i,"i18n")||t&&c(t,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:91}}}))+"</p><p>"+l((c(i,"i18n")||t&&c(t,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:98},end:{line:1,column:161}}}))+'</p><div data-se="u2f-devices" class="u2f-devices-images"><div class="u2f-usb"></div><div class="u2f-bluetooth"></div></div><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0}
1)})}));else{let n="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="u2f.error.factorNotSupported.oneFactor"),e.push(st.View({View:new Al({message:_(n,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".u2f-instructions").addClass("hide"),this.$(".u2f-enroll-text").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".u2f-instructions").removeClass("hide"),this.$(".u2f-enroll-text").addClass("hide"),this.$(".o-form-button-bar").show()}},Footer:Yo,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}}),eOe=sm.extend({initialize:function(e){this.options=e||{},this.appState=this.options.appState},constructPostData:function(e){const n={registration:{profile:e}};return this.appState.get("policy").registration.createNewAccount&&(n.registration.createNewAccount=!0),n},getEnrollFormData:function(){return this.manageTransaction(function(e,n){return e.enroll().then(function(t){n(t)})})},save:function(){let e=sm.prototype.toJSON.apply(this,arguments);if(e=m.omit(e,["appState","settings","createNewAccount"]),!m.isEmpty(e))return this.manageTransaction(function(n,t){n.enroll(this.constructPostData(e)).then(function(i){t(i)})});{const n={errorSummary:_("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:n})}}});let{BaseSchema:tOe}=ji.models;var nOe=tOe.Model.extend({expand:["schema"],setFieldPlaceholder:function(e){return m.each(e,function(n){n.title=n.label}),e},initialize:function(e){let n=e.profileSchemaAttributes;if(n=this.setFieldPlaceholder(n),n){const i={properties:{}};for(var t=0;t<n.length;t++){const r=n[t];i.properties[r.name]=r}this.parse.apply(this,[{schema:i}])}}});let{SchemaFormFactory:iOe}=ji.views.forms.helpers,{CheckBox:rOe}=ji.views.forms.inputs;const Yj=function(e,n){if(!e)return!1;e=e.toLowerCase(),n=n.toLowerCase();const t=function(e){const n=e.split(""),i=[],r=[",",".","-","_","#","@"];let o="";return m.each(n,function(s){-1===r.indexOf(s)?o+=s:(o.length>=4&&i.push(m.clone(o)),o="")}),o.length>=4&&i.push(m.clone(o)),i.filter(Boolean)}(e);for(var i=0;i<t.length;i++)if(-1!==n.indexOf(t[i]))return!0;return!1},am=function(e,n,t,i){const r=n.get(e);!m.isString(r)||t.each(function(o,s){const a=Qt("#subschemas-"+e+" .subschema-"+s);r?a.children("p").removeClass("default-schema"):a.children("p").addClass("default-schema"),a.children("p").removeAttr("role").removeAttr("aria-live"),a.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),function(e,n,t){const i=e.get("minLength"),r=e.get("maxLength"),o=e.get("format");if(m.isNumber(i)&&n.length<i||m.isNumber(r)&&n.length>r)return!1;const s=n;
1if(m.isString(o)){if("^[#/userName]"===o||"^[#/firstName]"===o||"^[#/lastName]"===o){const a=o.split("^[#/")[1].split("]")[0];let l=t.get(a);return"userName"===a?(l=t.has("userName")?t.get("userName"):t.get("email"),!Yj(l,s)):!l||-1===s.indexOf(l)}if(!new RegExp(o).test(n))return!1}return!0}(o,r,n)?(a.addClass("subschema-satisfied"),a.find("p span").removeClass("error error-16-small"),a.find("p span").addClass("confirm-16")):i&&(a.find("p span").removeClass("confirm-16"),a.find("p span").addClass("error error-16-small"),a.addClass("subschema-error subschema-unsatisfied"),a.find("p").attr("role","alert").attr("aria-live","polite"))})};var Jj_createInputOptions=function(e){var n;let t=iOe.createInputOptions(e);if("boolean"===(null===(n=e.options)||void 0===n?void 0:n.type)&&(t.input=rOe),"select"===t.type)t=m.extend(t,{label:e.get("title")});else{let o=e.get("title");e.get("required")&&(o+=" *"),t=m.extend(t,{label:!1,"label-top":!0,placeholder:o})}const i=e.get("name");switch(i){case"userName":t.input=nr,t.params={icon:"person-16-gray"};break;case"password":t.type="password",t.input=nr,t.params={icon:"remote-lock-16"}}const r=e.get("subSchemas");return r&&(t.events={input:function(){am(i,this.model,r,!0)},focusout:function(){am(i,this.model,r,!0)},"change:userName":function(){am(i,this.model,r,!0)},"change:firstName":function(){am(i,this.model,r,!0)},"change:lastName":function(){am(i,this.model,r,!0)},"change:email":function(){am(i,this.model,r,!0)}}),t},oOe=Fo.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:function(){return _("registration.form.title","login")},save:function(){return _("registration.form.submit","login")},initialize:function(e){this.options=e||{},this.schema=new nOe({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each(t=>{const i=Jj_createInputOptions(t);this.addInput(i)});const n=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<span class="required-fields-label">'+t.escapeExpression("function"==typeof(a=null!=(a=l(r,"label")||(null!=i?l(i,"label"):i))?a:t.hooks.helperMissing)?a.call(i??(t.nullContext||{}),{name:"label",hash:{},data:s,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):a)+"</span>"},useData:!0})({label:_("registration.required.fields.label","login")});this.add(n)}}),WI=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),sOe=Tl.extend({className:"enroll-user",initialize:function(e){this.options=e||{},this.model=new eOe(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():Tl.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){const e=new oOe(this.toJSON());this.add(e),this.add(new WI(this.toJSON())),this.addListeners()}});const ir={};function Xj(e){return new(Tr())(e)}ir.getStringHash=function(e){let n=5381,t=e.length;for(;t;)n=33*n^e.charCodeAt(--t);return n>>>0},ir.base64UrlSafeToBase64=function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},ir.binToStr=function(e){return btoa(new Uint8Array(e).reduce((n,t)=>n+String.fromCharCode(t),""))},ir.strToBin=function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),n=>n.charCodeAt(0))};var zi={makeCredential:function aOe(e,n,t){return n=n.map(function(r){return{type:"FIDO_2_0",algorithm:r.algorithm}}),Xj(window.msCredentials.makeCredential(e,n,t).then(function(r){return Object.freeze({credential:{id:r.id},publicKey:JSON.parse(r.publicKey),attestation:r.attestation})}))},getAssertion:function lOe(e,n){const i={accept:n.map(function(o){return{type:"FIDO_2_0",id:o.id}})};return Xj(window.msCredentials.getAssertion(e,i).then(function(o){const s=o.signature;return Object.freeze({credential:{id:o.id},clientData:s.clientData,authenticatorData:s.authnrData,signature:s.signature})}))},processWebAuthnResponse:function cOe(e,n){if(typeof e>"u")return null;const t=e.apply(n);return null==t?null:JSON.stringify(t)},isAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||Qo.isU2fAvailable()},isConditionalMediationAvailable:function(){return typeof PublicKeyCredential<"u"&&typeof PublicKeyCredential.isConditionalMediationAvailable<"u"},isPasskeyAutofillAvailable:function(){var e=V(function*(){let n=!1;return this.isConditionalMediationAvailable()&&(n=yield PublicKeyCredential.isConditionalMediationAvailable()),n});return function(){return e.apply(this,arguments)}}(),isPasskeyAvailable:function(){var e;const n=(null===(e=navigator)||void 0===e?void 0:e.credentials)||{};return typeof PublicKeyCredential<"u"&&"function"==typeof n.get&&"function"==typeof n.create},isRelyingPartyIdMismatchError:function(e){return"SecurityError"===e?.name&&18===e?.code},isAbortError:function(e){return"AbortError"===e?.name&&20===e?.code},isNotAllowedError:function(e){return"NotAllowedError"===e?.name&&0===e?.code}};function uOe(e){const n=[];return m.each(e,function(t){n.push({type:"public-key",id:ir.strToBin(t.id)})}),n}var dOe=mn.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.appState.on("backToFactors",()=>{this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)}),this.doTransaction(function(e){const n=e.factor.activation,t=this;if(zi.isNewApiAvailable()){const i=m.extend({},n,{challenge:ir.strToBin(n.challenge),user:{id:ir.strToBin(n.user.id),name:n.user.n
1ame,displayName:n.user.displayName},excludeCredentials:uOe(n.excludeCredentials)});return typeof AbortController<"u"&&(t.webauthnAbortController=new AbortController),new(Tr())(navigator.credentials.create({publicKey:i,signal:t.webauthnAbortController&&t.webauthnAbortController.signal})).then(function(r){return e.activate({attestation:ir.binToStr(r.response.attestationObject),clientData:ir.binToStr(r.response.clientDataJSON),transports:zi.processWebAuthnResponse(r.response.getTransports,r.response),clientExtensions:zi.processWebAuthnResponse(r.getClientExtensionResults,r)})}).catch(function(r){throw t.trigger("errors:clear"),t.webauthnAbortController?new W9({xhr:{responseJSON:{errorSummary:r.message}}}):new K9}).finally(function(){t.webauthnAbortController=null})}})}},Form:{title:m.partial(_,"enroll.webauthn.biometric.title","login"),save:m.partial(_,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!zi.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){const e=[];if(zi.isNewApiAvailable())e.push(st.View({View:Ee.extend({className:"webauthn-enroll-text",template:se.template({1:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="webauthn-edge-text"><p>'+(null!=(s=(a(i,"i18n")||t&&a(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions.edge"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:249}}}))?s:"")+"</p></div>"},3:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="webauthn-restrictions-text"><p>'+(null!=(s=(a(i,"i18n")||t&&a(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.instructions.noSupportForBiometric"},data:o,loc:{start:{line:1,column:340},end:{line:1,column:423}}}))?s:"")+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=t??(n.nullContext||{}),l=n.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="webauthn-enroll-instructions"><p>'+n.escapeExpression((l(i,"i18n")||t&&l(t,"i18n")||n.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:114}}}))+"</p></div>"+(null!=(s=l(i,"if").call(a,null!=t?l(t,"isEdge"):t,{name:"if",hash:{},fn:n.program(1,o,0),inverse:n.noop,data:o,loc:{start:{line:1,column:124},end:{line:1,column:266}}}))?s:"")+(null!=(s=l(i,"if").call(a,null!=t?l(t,"onlySupportsSecurityKey"):t,{name:"if",hash:{},fn:n.program(3,o,0),inverse:n.noop,data:o,loc:{start:{line:1,column:266},end:{line:1,column:440}}}))?s:"")+'<div data-se="webauthn-waiting" class="okta-waiting-spinner hide"></div>'},useData:!0}),getTemplateData:function(){return{isEdge:mi.isEdge(),onlySupportsSecurityKey:(mi.isFirefox()||mi.isSafari())&&mi.isMac()}}})}));else{let n="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(st.View({View:new Al({message:_(n,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}},Footer:Yo,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}}),KI=Ee.extend({className:"okta-waiting-spinner",attributes:{"data-se":"o-form-okta-waiting-spinner"},modelEvents:{"spinner:show":"show","spinner:hide":"hide"},initialize:function(e){e&&!1===e.visible&&this.hide()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")}}),hOe=mn.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(zi.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction(function(e){return this._enroll(e)})},_enroll:function(e){return m.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()},activate:function(){return this.set("__isEnrolled__",!0),this.doTransaction(function(e){const n=e.factor.activation,t=e.user,i=this;return zi.makeCredential({rpDisplayName:n.rpDisplayName,userDisplayName:t.profile.displayName,accountName:t.profile.login,userId:t.id},[{algorithm:n.algorithm}],n.nonce).then(function(a){return e.activate({credentialId:a.credential.id,publicKey:a.publicKey,attestation:null})}).catch(function(a){switch(a.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return i.trigger("abort",a.message),e}throw a})})}},Form:{autoSave:!0,hasSavingState:!1,title:m.partial(_,"enroll.windowsHello.title","login"),subtitle:function(){return zi.isAvailable()?_("enroll.windowsHello.subtitle","login"):""},save:m.partial(_,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return zi.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!zi.isAvailable()},formChildren:function(){const e=[];return zi.isAvailable()||e.push(st.View({View:new Al({message:_("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(st.View({View:new KI({model:this.model,visible:!1})}
1)),e},_startEnrollment:function(){this.subtitle=_("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){let n;if(this.subtitle=_("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),"NotSupportedError"===e&&(n=_("enroll.windowsHello.error.notConfiguredHtml","login")),this._resetErrorMessage(),n){const t=new Al({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(t,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render(),this.$(".o-form-button-bar").removeClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},Footer:Yo,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}}),fOe=mn.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return m.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})})}},Form:{title:m.partial(_,"enroll.yubikey.title","login"),subtitle:m.partial(_,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[st.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),st.Input({name:"passCode",input:nr,type:"password"})]},Footer:Yo});const mOe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){const e=Fi.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),gOe={title:m.partial(_,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<p>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaEmail.msg"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:64}}}))+'</p><p class="email-address">'+l("function"==typeof(o=null!=(o=c(t,"email")||(null!=n?c(n,"email"):n))?o:a)?o.call(s,{name:"email",hash:{},data:r,loc:{start:{line:1,column:93},end:{line:1,column:102}}}):o)+"</p>"},useData:!0}),getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},yOe={title:m.partial(_,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<p>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaSms.msg"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+'</p><p class="phone-number">'+l("function"==typeof(o=null!=(o=c(t,"phoneNumber")||(null!=n?c(n,"phoneNumber"):n))?o:a)?o.call(s,{name:"phoneNumber",hash:{},data:r,loc:{start:{line:1,column:90},end:{line:1,column:105}}}):o)+"</p>"},useData:!0}
1),getTemplateData:function(){return{phoneNumber:this.model.get("fullPhoneNumber")}}})})]};var vOe=mn.extend({className:"enroll-activation-link-sent",Model:function(){return{local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:["string",!1,this.options.appState.get("userPhoneNumber")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+ha_getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,n){return e+n}}}}},Form:function(){const e=this.options.appState.get("factorActivationType");switch(e){case"SMS":return yOe;case"EMAIL":return gOe;default:throw new Error("Unknown activation option: "+e)}},Footer:mOe,initialize:function(){this.pollForEnrollment()},remove:function(){return mn.prototype.remove.apply(this,arguments)},pollForEnrollment:function(){return this.model.doTransaction(function(e){return e.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isWaitingForActivation"))return this.pollForEnrollment(),!0}});const _Oe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){const e=Fi.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",e)}});var bOe=mn.extend({className:"activate-push",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:Ej,Footer:_Oe}),Zj=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="infobox"><span class="icon info-16"></span><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{arguments:"helpSupportNumber",bundle:"login",code:"contact.support"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:134}}}))+"</p></div>"},useData:!0}),className:"contact-support",getTemplateData:function(){return this.settings.pick("helpSupportNumber")}});const wOe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"password.forgot.noFactorsEnabled"},data:r,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),COe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:94},end:{line:1,column:131}}}))+"</a>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:r,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"unless").call(s,null!=n?a(n,"hideBackToSignInForReset"):n,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:146}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"helpSupportNumber"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:146},end:{line:1,column:281}}}))?o:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return{hideBackToSignInForReset:this.settings.get("features.hideBackToSignInForReset"),helpSupportNumber:this.settings.get("helpSupportNumber")}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});var SOe=mn.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return vu.validateUsername(this)},save:function(){const e=this,n=this.settings.get("relayState");this.startTransaction(function(t){return t.forgotPassword({username:e.settings.transformUsername(e.get("username"),Re.FORGOT_PASSWORD),factorType:e.get("factorType"),relayState:n})}).catch(function(){})}},Form:{noButtonBar:!0,title:m.partial(_,"password.reset","login"),formChildren:function(){const e=this.settings.get("features.smsRecovery"),n=this.settings.get("features.callRecovery"),t=this.settings.get("features.emailRecovery"),r=[];return e||n||t?(r.push(st.Input({label:_("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:nr,inputId:"account-recovery-username",autoComplete:wt.getAutocompleteValue(this.settings,"username"),type:"text",inlineValidation:!1})),(e||n)&&r.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(o,s,a,l,c){var u=o.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<p class="mobile-recovery-hint">'+o.escapeExpression((u(a,"i18n")||s&&u(s,"i18n")||o.hooks.helperMissing).call(s??(o.nullContext||{}),{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:c,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){let o;return o=_(e&&n?"recovery.smsOrCall":n?"recovery.call":"recovery.sms"),{mobileFactors:o}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),r.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",Re.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_SMS)),n&&(this.$el.addClass("forgot-password-call-enabled"),r.push(this.createRecoveryFactorButton("call-button","password.forgot.call",Re.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_CALL)),t&&(this.$el.addClass("forgot-password-email-enabled"),r.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",Re.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_EMAIL))):this.add(wOe,".o-form-error-container"),r},initialize:function(){this.listenTo(this.state,"contactSupport",function(){this.add(Zj,".o-form-error-container")}),this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()})},setDefaultFactorType:function(e){m.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,n,t,i){return st.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:_(n,"login"),click:function(){i.clearErrors(),this.model.isValid()&&(this.model.set("factorType",t),i.trigger("save",this.model))}})}},Footer:COe,initialize:function(){this.options.appState.unset("username")}});const YI=ji.util.Cookie,fa_getCookieUsername=function(){return YI.getCookie("ln")},fa_setUsernameCookie=function(e){YI.setCookie("ln",e,{expires:365,path:"/"})},fa_removeUsernameCookie=function(){YI.removeCookie("ln",{path:"/"})};var JI=sm.extend({props:function(){const e=fa_getCookieUsername(),n=this.getUsernameAndRemember(e),t={username:{type:"string",validate:function(i){if(m.isEmpty(i))return _("error.username.required","login")},value:n.username},lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,n.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(t.password={type:"string",validate:function(i){if(m.isEmpty(i))return _("error.password.required","login")}}),t},getUsernameAndRemember:function(e){const n=this.settings&&this.settings.get("username"),t=this.settings&&this.settings.get("features.rememberMe");let r,i=!1;return n?(r=n,i=t&&r===e):t&&e&&(r=e,i=!0),{username:r,remember:i}},constructor:function(e){this.settings=e&&e.settings,this.appState=e&&e.appState,_r.apply(this,arguments),this.listenTo(this,"change:username",function(n,t){this.set({remember:t===this.get("lastUsername")})})},parse:function(e){return m.omit(e,["settings","appState"])},save:function(){const e=this.settings.transformUsername(this.get("username"),Re.PRIMARY_AUTH),n=this.get("remember"),t=this.get("lastUsername");this.setUsernameCookie(e,n,t),this.trigger("save"),this.appState.trigger("loading",!0);const i=this.getSignInArgs(e);let r;if(this.appState.get("isUnauthenticated")){const o=this.appState.settings.getAuthClient();r=this.appState.get("isIdxStateToken")?this.doTransaction(function(s){return this.doPr
1imaryAuth(o,i,s.login)}):this.doTransaction(function(s){return this.doPrimaryAuth(o,i,s.authenticate)},!0)}else r=this.startTransaction(function(o){return this.doPrimaryAuth(o,i,m.bind(o.signInWithCredentials,o))});return r.catch(()=>{this.appState.trigger("removeLoading"),fa_removeUsernameCookie()}).finally(()=>{this.appState.trigger("loading",!1)})},getSignInArgs:function(e){const n=this.get("multiOptionalFactorEnroll"),t={};return this.settings.get("features.passwordlessAuth")||(t.password=this.get("password")),this.appState.get("isIdxStateToken")?t.identifier=e:(t.username=e,t.options={warnBeforePasswordExpired:!0,multiOptionalFactorEnroll:n}),t},setUsernameCookie:function(e,n,t){this.settings.get("features.rememberMe")&&(n||t!==e?n&&fa_setUsernameCookie(e):fa_removeUsernameCookie())},doPrimaryAuth:function(e,n,t){const i=this.settings.get("features.deviceFingerprinting"),r=this.settings.get("features.trackTypingPattern");i&&this.appState.get("deviceFingerprint")&&e.http.setRequestHeader("X-Device-Fingerprint",this.appState.get("deviceFingerprint")),r&&this.appState.get("typingPattern")&&e.http.setRequestHeader("X-Typing-Pattern",this.appState.get("typingPattern"));const o=this;return t(n).finally(function(){i&&(e.http.setRequestHeader("X-Device-Fingerprint",void 0),o.appState.unset("deviceFingerprint")),r&&(e.http.setRequestHeader("X-Typing-Pattern",void 0),o.appState.unset("typingPattern"))})}}),XI_generateDeviceFingerprint=function(e,n){return e.fingerprint({timeout:2e3,container:n})};const EOe=ji.util.Util,kOe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="auth-divider"><span class="auth-divider-text">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"text")||(null!=n?s(n,"text"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"text",hash:{},data:r,loc:{start:{line:1,column:58},end:{line:1,column:66}}}):o)+"</span></div>"},useData:!0}),TOe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:62},end:{line:1,column:71}}}):o)+"</h2>"},useData:!0});var e7=Ee.extend({className:"primary-auth-container",children:function(){const e=[],n=this.settings.get("configuredSocialIdps"),t=this.settings.get("piv"),i=this.settings.get("customButtons"),r=kOe({text:_("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&e.push(this._createPivButton(t)),m.each(n,function(o){e.push(this._createSocialIdpButton(o))},this),m.each(i,function(o){e.push(this._createCustomButton(o))},this),this.settings.get("socialAuthPositionTop")?(e.unshift(TOe({title:_("primaryauth.title","login")})),e.push(r)):e.unshift(r),e},_createSocialIdpButton:function(e){return cr({attributes:{"data-se":e.dataAttr},className:e.className,title:function(){return e.text||_(e.i18nKey)},click:function(n){if(n.preventDefault(),this.settings.get("oauth2Enabled"))nv.getTokens(this.settings,{idp:e.id},this.options.currentController);else{const t=this.settings.get("baseUrl");let i;const r=this.options.appState.get("lastAuthResponse");i=this.options.appState.get("usingDeviceFlow")?Qt.param({stateToken:r?.stateToken}):Qt.param({fromURI:this.settings.get("relayState")}),EOe.redirect(`${t}/sso/idps/${e.id}?${i}`)}}})},_createPivButton:function(e){return cr({attributes:{"data-se":"piv-card-button"},className:(e.className||"")+" piv-button",title:e.text||_("piv.cac.card","login"),click:function(t){t.preventDefault(),this.options.appState.trigger("navigate","signin/verify/piv")}})},_createCustomButton:function(e){return cr({attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:function(){return e.title||_(e.i18nKey)},click:e.click})}}),AOe=function e(){if(1==e.initialized)return e.instance;for(var n in e.prototype.start=function(){return e.start.apply(this,arguments)},e.prototype.stop=function(){return e.stop.apply(this,arguments)},e.prototype.reset=function(){return e.reset.apply(this,arguments)},e.prototype.addTarget=function(){return e.addTarget.apply(this,arguments)},e.prototype.removeTarget=function(){return e.removeTarget.apply(this,arguments)},e.prototype.getTypingPattern=function(){return e.getTypingPattern.apply(this,arguments)},e.prototype.get=function(){return e.get.apply(this,arguments)},e.prototype.startDiagram=function(){},e.prototype.stopDiagram=function(){},e.prototype.getDiagram=function(){return e.getDiagram.apply(this,arguments)},e.prototype.getExtendedDiagram=function(){return e.getExtendedDiagram.apply(this,arguments)},e.prototype.getMouseDiagram=function(){return e.getMouseDiagram.apply(this,arguments)},e.prototype.startMouse=function(){return e.startMouse.apply(this,arguments)},e.prototype.stopMouse=function(){return e.stopMouse.apply(this,arguments)},e.prototype.getQuality=function(){return e.getQuality.apply(this,arguments)},e.prototype.getLength=function(){return e.getLength.apply(this,arguments)},e.prototype.isMobile=function(){return e.isMobile.apply(this,arguments)},e.prototype.getTextId=function(){return e.getTextId.apply(this,arguments)},e.initialized=!0,e.prototype.maxHistoryLength=e.maxHistoryLength,e.prototype.defaultHistoryLength=e.defaultHistoryLength,e.prototype.maxSeekTime=e.maxSeekTime,e.prototype.maxPressTime=e.maxPressTime,e.version=2.15,e.flags=0,e.instance=this,e.document=document,e.maxHistoryLength=2e3,e.maxSeekTime=1500,e.maxPressTime=300,e.defaultHistoryLength=160,e.spKeyCodes=[8,13,32],e.spKeyCodesObj={8:1,13:1,32:1},e.keyCodes=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,32,222,188,190,186,187,189,191,48,49,50,51,52,53,54,55,56,57],e.keyCodesObj={},e.keyCodes)e.keyCodesObj[e.keyCodes[n]]=1;e.pt1=e.ut1=(new Date).getTime(),e.wfk=[],e.sti=[],e.skt=[],e.recording=!0,e.mouseRecording=!0,e.mouseMoveRecording=!1,e.spKeyRecording=!0,e.diagramRecording=!0,e.dwfk=[],e.dsti=[],e.dskt=[],e.drkc=[],e.prevKeyCode=0,e.maxMoveDeltaT
1ime=600,e.maxScrollDeltaTime=800,e.maxStopTime=1500,e.maxClickTime=600,e.maxMouseHistoryLength=500,e.lastMouseMoveTime=e.lastMouseDownTime=(new Date).getTime(),e.stopTimes=[],e.clickTimes=[],e.lastMouseStop=!0,e.zl=1e-7,e.isAndroidChrome=!1,e.ACLastTime=(new Date).getTime(),e.ACSeekTime=0,e.ACPressTime=0,e.ACLastCharCode=0,e.ACLastKeyCode=0,e.ACInputLengths={inputs:[],lastLength:[]},e.ACPreviousKeyCode=0,e.targetIds=[],e.lastTarget="",e.lastTargetFound=!1,e.replaceMissingKeys=!0,e.replaceMissingKeysPerc=7,e.keyDown=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var i=t.keyCode;if(229==i&&e.isMobile()&&!e.isAndroidChrome)e.isAndroidChrome=!0,e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.document.removeEventListener("keydown",e.keyDown),e.document.removeEventListener("keyup",e.keyUp),e.document.removeEventListener("keypress",e.keyPress),e.document.addEventListener("keydown",e.ACKeyDown),e.document.addEventListener("keyup",e.ACKeyUp);else{var r=e.pt1,o=(e.pt1=(new Date).getTime())-r,s=e.pt1;(1==e.recording||e.spKeyCodesObj[i]&&1==e.spKeyRecording)&&(!t.shiftKey||e.isMobile())&&(e.wfk[i]=1,e.skt[i]=o,e.sti[i]=s),1==e.diagramRecording&&(e.dwfk[i]=1,e.dskt[i]=o,e.dsti[i]=s,e.dlastDownKey=i)}}},e.keyPress=function(t){(e.recording||e.diagramRecording)&&e.isTarget(t.target.id)&&1==e.diagramRecording&&(e.drkc[e.dlastDownKey]=t.charCode)},e.keyUp=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var i=(new Date).getTime(),r=t.keyCode;(1==e.recording||e.spKeyCodesObj[r]&&1==e.spKeyRecording)&&(t.shiftKey&&!e.isMobile()||1!=e.wfk[r]||(e.history.add([r,e.skt[r],i-e.sti[r],e.prevKeyCode,i,t.target.id]),e.prevKeyCode=r),e.wfk[r]=0),1==e.diagramRecording&&(null!=e.drkc[r]&&0!=e.drkc[r]&&1==e.dwfk[r]&&e.history.addDiagram([r,e.dskt[r],i-e.dsti[r],e.drkc[r],i,t.target.id]),e.dwfk[r]=0)}},e.mouseScroll=function(t){if(1==e.mouseRecording&&1==e.mouseMoveRecording)if(1==e.mouse.scrollStarted){var i=(new Date).getTime();e.mouse.scrollTimes.push(i),e.mouse.scrollTopArr.push(e.document.body.scrollTop),clearInterval(e.scrollInterval),e.scrollInterval=setInterval(e.mouse.checkScroll,e.maxScrollDeltaTime)}else e.mouse.scrollStarted=!0},e.mouseMove=function(t){if(1==e.mouseRecording){var i=(new Date).getTime();1==e.mouseMoveRecording&&(1==e.mouse.started?(e.mouse.times.push(i),e.mouse.xPositions.push(t.screenX),e.mouse.yPositions.push(t.screenY),clearInterval(e.moveInterval),e.moveInterval=setInterval(e.mouse.checkMove,e.maxMoveDeltaTime)):e.mouse.started=!0),e.lastMouseMoveTime=i}},e.mouseDown=function(t){if(1==e.mouseRecording&&(e.mouse.checkMove(),e.mouse.checkScroll(),1==t.which)){var i=(e.lastMouseDownTime=(new Date).getTime())-e.lastMouseMoveTime;i<e.maxStopTime&&0==e.lastMouseStop&&(e.stopTimes.push(i),1==e.mouseMoveRecording)&&(e.mouse.history.add([3,i]),e.lastMouseStop=!0)}},e.mouseUp=function(t){if(1==e.mouseRecording&&1==t.which){var i=(new Date).getTime()-e.lastMouseDownTime;i<e.maxClickTime&&e.lastMouseDownTime>e.lastMouseMoveTime&&(e.clickTimes.push(i),1==e.mouseMoveRecording)&&e.mouse.history.add([4,i])}},e.ACKeyDown=function(t){!e.recording&&!e.diagramRecording||(e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id)&&-1===e.ACInputLengths.inputs.indexOf(t.target)&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0)))},e.ACKeyUp=function(t){if((e.recording||e.diagramRecording)&&(e.ACPressTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id))){var i=t.keyCode,r=e.ACInputLengths.inputs.indexOf(t.target);if(-1===r&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0),r=e.ACInputLengths.inputs.indexOf(t.target)),229==i&&t.target.value.length>=e.ACInputLengths.lastLength[r]){var o=t.target.value.substr(t.target.selectionStart-1||0,1);i=o.toUpperCase().charCodeAt(0),e.ACLastCharCode=o.charCodeAt(0),e.ACLastKeyCode=o.toUpperCase().charCodeAt(0)}e.ACInputLengths.lastLength[r]=t.target.value.length,e.history.add([i,e.ACSeekTime,e.ACPressTime,e.ACPreviousKeyCode,e.ACLastTime]),e.ACPreviousKeyCode=i,1==e.diagramRecording&&e.history.addDiagram([i,e.ACSeekTime,e.ACPressTime,e.ACLastCharCode])}},e.isTarget=function(t){if(e.lastTarget==t&&e.lastTargetFound)return!0;var i=e.targetIds.length,r=!1;if(i>0){for(var o=0;o<i;o++)if(e.targetIds[o]==t){r=!0;break}return e.lastTarget=t,e.lastTargetFound=r,r}return e.lastTarget=t,e.lastTargetFound=!0,!0},e.document.addEventListener?(e.document.addEventListener("keydown",e.keyDown),e.document.addEventListener("keyup",e.keyUp),e.document.addEventListener("keypress",e.keyPress),e.document.addEventListener("mousemove",e.mouseMove),e.document.addEventListener("mousedown",e.mouseDown),e.document.addEventListener("mouseup",e.mouseUp),e.document.addEventListener("scroll",e.mouseScroll)):e.document.attachEvent&&(e.document.attachEvent("onkeydown",e.keyDown),e.document.attachEvent("onkeyup",e.keyUp),e.document.attachEvent("onkeypress",e.keyPress),e.document.attachEvent("onmousemove",e.mouseMove),e.document.attachEvent("onmousedown",e.mouseDown),e.document.attachEvent("onmouseup",e.mouseUp),e.document.attachEvent("onscroll",e.mouseScroll)),(e.mouse={}).times=[],e.mouse.xPositions=[],e.mouse.yPositions=[],e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[],(e.mouse.history={}).stack=[],e.mouse.getDistance=function(t,i){return Math.sqrt(t*t+i*i)},e.mouse.getTotalDistance=function(t,i){var r=0,o=t.length;for(n=1;n<o-1;n++)r+=e.mouse.getDistance(t[n]-t[n-1],i[n]-i[n-1]);return r},e.mouse.getAngle=function(t,i){var s=i<0;return t>=0?s?180+Math.round(Math.atan(Math.abs(t)/(Math.abs(i)+1e-7))/.01745329251):90-Math.round(Math.atan(Math.abs(t)/(Math.abs(i)+1e-7))/.01745329251)+270:s?90-Math.round(Math.atan(Math.abs(t)/(Math.abs(i)+1e-7))/.01745329251)+90:Math.round(Math.atan(Math.abs(t)/(Math.abs(i)+1e-7))/.01745329251)},e.mouse.recordMoveAction=function(){var t=e.mouse.times.length;if(!(t<3)){var i=e.mouse.times[t-1]-e.mouse.times[0],r=e.mouse.xPositions[t
vendor: 4,250 bytes, line 1
1-1]-e.mouse.xPositions[0],o=e.mouse.yPositions[t-1]-e.mouse.yPositions[0],s=Math.round(e.mouse.getDistance(r,o)),a=Math.round(e.mouse.getTotalDistance(e.mouse.xPositions,e.mouse.yPositions)),l=Math.round(100*a/s),f=[1,i,s,Math.round(100*s/i),e.mouse.getAngle(r,o),l];for(n in f)if(isNaN(f[n]))return;e.mouse.history.add(f),e.lastMouseStop=!1}},e.mouse.recordScrollAction=function(){var t=e.mouse.scrollTimes.length;if(!(t<2)){var i=e.mouse.scrollTimes[t-1]-e.mouse.scrollTimes[0],r=e.mouse.scrollTopArr[t-1]-e.mouse.scrollTopArr[0],a=[2,i,r,Math.round(100*r/i)];for(n in a)if(isNaN(a[n])&&!isFinite(a[n]))return;e.mouse.history.add(a)}},e.mouse.history.add=function(t){this.stack.push(t),this.stack.length>e.maxMouseHistoryLength&&this.stack.shift()},e.mouse.history.getDiagram=function(){var t=this.stack.join("|");return[String(e.isMobile())+","+String(e.version),t].join("|")},e.mouse.clearLastMove=function(){e.mouse.times=[],e.mouse.xPositions=[],e.mouse.yPositions=[]},e.mouse.checkMove=function(){clearInterval(e.moveInterval),1==e.mouse.started&&(e.mouse.started=!1,e.mouse.recordMoveAction(),e.mouse.clearLastMove())},e.mouse.clearLastScroll=function(){e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[]},e.mouse.checkScroll=function(){clearInterval(e.scrollInterval),1==e.mouse.scrollStarted&&(e.mouse.scrollStarted=!1,e.mouse.recordScrollAction(),e.mouse.clearLastScroll())},e.addTarget=function(t){var i=e.targetIds.length,r=!1;if(i>0){for(var o=0;o<i;o++)if(e.targetIds[o]==t){r=!0;break}r||e.targetIds.push(t)}else e.targetIds.push(t)},e.removeTarget=function(t){var i=e.targetIds.length;if(i>0)for(var r=0;r<i;r++)if(e.targetIds[r]==t){e.targetIds.splice(r,1);break}},e.reset=function(t){e.history.stack=[],e.history.stackDiagram=[],e.clickTimes=[],e.stopTimes=[],e.ACInputLengths={inputs:[],lastLength:[]},1==t&&(e.mouse.history.stack=[])},e.start=function(){return e.diagramRecording=!0,e.recording=!0},e.stop=function(){return e.diagramRecording=!1,e.recording=!1},e.startMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!0},e.stopMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!1},e.getTypingPattern=function(t){if("object"!=typeof t)return e.get();switch(t.type){case 0:return e.get(t.length,t.targetId);case 1:return e.history.getDiagram(t.extended,null!=t.text?t.text:t.length,t.textId,t.targetId,t.caseSensitive);case 2:return e.history.getDiagram(!0,null!=t.text?t.text:t.length,t.textId,t.targetId,t.caseSensitive);default:return e.get(t.length)}},e.getDiagram=function(t,i){return e.history.getDiagram(!1,t,i,void 0,!1)},e.getExtendedDiagram=function(t,i){return e.history.getDiagram(!0,t,i,void 0,!1)},e.getMouseDiagram=function(){return e.mouse.history.getDiagram()},e.get=function(t,i){var r=e.history.stack.length;(null==t||0==t)&&(t=e.defaultHistoryLength),t>r&&(t=r);var o={};[o.arr,targetLength]=e.history.get(t,"",i),null!=i&&""!=i&&(t=targetLength);var s=e.zl,a=t,l=e.math.fo(e.history.get(t,"seek",i)),c=e.math.fo(e.history.get(t,"press",i)),u=Math.round(e.math.avg(c)),d=Math.round(e.math.avg(l)),f=Math.round(e.math.sd(c)),y=Math.round(e.math.sd(l)),b=d+u,S=e.math.rd((u+s)/(b+s),4),D=e.math.rd((1-S)/S,4),R=e.math.rd((f+s)/(u+s),4),G=e.math.rd((y+s)/(u+s),4),H=Math.round(6e4/(b+s));for(var te in 0==a&&(H=0),o.arr){var mt=o.arr[te][1].length,$e=0,gt=0,nn=0,Tn=0,gn=0,on=0;switch(o.arr[te][0].length){case 0:break;case 1:$e=e.math.rd((o.arr[te][0][0]+s)/(d+s),4);break;default:var Ht=e.math.fo(o.arr[te][0]);$e=e.math.rd((e.math.avg(Ht)+s)/(d+s),4),Tn=e.math.rd((e.math.sd(Ht)+s)/(y+s),4)}switch(o.arr[te][1].length){case 0:break;case 1:gt=e.math.rd((o.arr[te][1][0]+s)/(u+s),4);break;default:Ht=e.math.fo(o.arr[te][1]);gt=e.math.rd((e.math.avg(Ht)+s)/(u+s),4),gn=e.math.rd((e.math.sd(Ht)+s)/(f+s),4)}switch(o.arr[te][2].length){case 0:break;case 1:nn=e.math.rd((o.arr[te][2][0]+s)/(d+s),4);break;default:Ht=e.math.fo(o.arr[te][2]),nn=e.math.rd((e.math.avg(Ht)+s)/(d+s),4),on=e.math.rd((e.math.sd(Ht)+s)/(y+s),4)}delete o.arr[te][2],delete o.arr[te][1],delete o.arr[te][0],o.arr[te][0]=mt,o.arr[te][1]=$e,o.arr[te][2]=gt,o.arr[te][3]=nn,o.arr[te][4]=Tn,o.arr[te][5]=gn,o.arr[te][6]=on}e.apu(Ht=[],a),e.apu(Ht,H),e.apu(Ht,b),e.apu(Ht,S),e.apu(Ht,D),e.apu(Ht,R),e.apu(Ht,G),e.apu(Ht,u),e.a
1pu(Ht,d),e.apu(Ht,f),e.apu(Ht,y);for(var xi=0;xi<=6;xi++)for(te=0;te<44;te++){var br=o.arr[e.keyCodes[te]][xi];0==br&&xi>0&&(br=1),e.apu(Ht,br)}return e.apu(Ht,e.isMobile()),e.apu(Ht,e.version),e.apu(Ht,e.flags),Ht.push(e.history.getSpecialKeys()),Ht.join(",")},e.apu=function(t,i){"NaN"==String(i)&&(i=0),t.push(i)},(e.math={}).rd=function(t,i){return Number(t.toFixed(i))},e.math.avg=function(t){var i=t.length;if(i>0){for(var r=0,o=0;o<i;o++)r+=t[o];return this.rd(r/i,4)}return 0},e.math.sd=function(t){var i=t.length;if(i<2)return 0;for(var r=0,o=this.avg(t),s=0;s<i;s++)r+=(t[s]-o)*(t[s]-o);return Math.sqrt(r/i)},e.math.fo=function(t){if(t.length>1){var i=t.concat(),r=t.length;i.sort(function(y,b){return y-b});var o=this.sd(i),s=i[Math.ceil(t.length/2)],l=s+2*o,c=s-2*o;r<20&&(c=0);for(var u=[],d=0;d<r;d++){var f=i[d];f<l&&f>c&&u.push(f)}return u}return t},e.math.fnv1aHash=function(t){if(null==t&&"string"!=typeof t)return 0;var i,r,o=1914395348;for(i=0,r=(t=t.toLowerCase()).length;i<r;i++)o^=t.charCodeAt(i),o+=(o<<1)+(o<<4)+(o<<7)+(o<<8)+(o<<24);return o>>>0},(e.history={}).stack=[],e.history.stackDiagram=[],e.history.add=function(t){this.stack.push(t),this.stack.length>e.maxHistoryLength&&this.stack.shift()},e.history.addDiagram=function(t){this.stackDiagram.push(t)},e.history.getDiagram=function(t,i,r,o,a){a=a??(null==i||""==i);var l=[],c=1==t?1:0,u=this.stackDiagram;if(null!=o&&""!=o&&u.length>0)u=e.sliceStackByTargetId(u,o),(null==i||""==i)&&null!=(d=e.document.getElementById(o))&&(i=d.value);else{var f=e.targetIds.length;if((null==i||""==i)&&f>0){i="";for(var y=0;y<f;y++){var d;null!=(d=e.document.getElementById(e.targetIds[y]))&&(i+=d.value)}}}var b=0,S=u.length,D=S;"string"==typeof i?D=i.length:"number"==typeof i&&i<S&&(D=i);var R=0;if(null!=r?R=isNaN(parseInt(r))?e.math.fnv1aHash(r):parseInt(r):"string"==typeof i&&(R=e.math.fnv1aHash(i)),l.push([e.isMobile(),e.version,e.flags,c,D,R,e.history.getSpecialKeys()]),null!=i&&i.length>0&&"string"==typeof i){var $e,gt,G=i.toLowerCase(),H=i.toUpperCase(),te=[],mt=0;for(y=0;y<i.length;y++){var nn=i.charCodeAt(y);a||(gt=($e=H.charCodeAt(y))!=nn?$e:G.charCodeAt(y));for(var Tn=mt,gn=S,on=!1;0==on;){for(var Ht=Tn;Ht<gn;Ht++)if((Nr=(xi=u[Ht])[3])==nn||!a&&Nr==gt){if(on=!0,Ht==mt)mt++,te=[];else{te.push(Ht);var br=te.length;br>1&&te[br-1]==te[br-2]+1&&(mt=Ht+1,te=[])}var Et=xi[0],St=xi[1],pe=xi[2];l.push(t?[Nr,St,pe,Et]:[St,pe]);break}if(0==on)if(0!=Tn)Tn=0,gn=mt;else if(on=!0,e.replaceMissingKeys){if(b++,"object"!=typeof e.savedMissingAvgValues||e.savedMissingAvgValues.historyLength!=S){var Ct=e.math.fo(e.history.get(0,"seek")),en=e.math.fo(e.history.get(0,"press"));St=Math.round(e.math.avg(Ct)),pe=Math.round(e.math.avg(en)),e.savedMissingAvgValues={seekTime:St,pressTime:pe,historyLength:S}}else St=e.savedMissingAvgValues.seekTime,pe=e.savedMissingAvgValues.pressTime;l.push(t?[nn,St,pe,nn,1]:[St,pe,1]);break}}if(e.replaceMissingKeysPerc<100*b/D)return null}}else{var wr=0;for("number"==typeof i&&(wr=S-i),wr<0&&(wr=0),y=wr;y<S;y++){var xi,Nr;Et=(xi=u[y])[0],St=xi[1],pe=xi[2],l.push(t?[Nr=xi[3],St,pe,Et]:[St,pe])}}return l.join("|")},e.sliceStackByTargetId=function(t,i){var r=t.length,o=[];for(n=0;n<r;n++){var s=t[n];s[5]==i&&o.push(s)}return o},e.history.get=function(t,i,r){var o=this.stack;null!=r&&""!=r&&o.length>0&&(o=e.sliceStackByTargetId(o,r));var s=o.length;switch((0==t||null==t)&&(t=e.defaultHistoryLength),t>s&&(t=s),i){case"seek":var a=[];for(f=1;f<=t;f++)(l=o[s-f][1])<=e.maxSeekTime&&a.push(l);return a;case"press":var c=[];for(f=1;f<=t;f++)(u=o[s-f][2])<=e.maxPressTime&&c.push(u);return c;default:var d={};for(var f in e.keyCodes)d[e.keyCodes[f]]=[[],[],[]];for(f=1;f<=t;f++){var y=o[s-f],b=y[0],l=y[1],u=y[2],S=y[3];e.keyCodesObj[b]&&(l<=e.maxSeekTime&&(d[b][0].push(l),0!=S&&e.keyCodesObj[S]&&d[S][2].push(l)),u<=e.maxPressTime&&d[b][1].push(u))}return[d,t]}},e.history.getSpecialKeys=function(){var t=[],i=this.stack.length,r={};for(var o in e.spKeyCodes)r[e.spKeyCodes[o]]=[[]];for(o=1;o<=i;o++)if(e.spKeyCodesObj[(s=this.stack[i-o])[0]]){var l=s[2];l<=e.maxPressTime&&r[s[0]][0].push(l)}for(var o in e.spKeyCodes){var s,c=(s=e.math.fo(r[e.spKeyCodes[o]][0])).length;t.push(c),c>1?(t.push(Math.round(e.math.avg(s))),t.push(Math.round(e.math.sd(s)))):t.push(1==c?[s[0],-1]:[-1,-1])}var u=e.clickTimes.length;t.push(u),u>1?(t.push(Math.round(e.math.avg(e.clickTimes))),t.push(Math.round(e.math.sd(e.clickTimes)))):1==u?t.push(e.clickTimes[0],-1):t.push([-1,-1]);var d=e.stopTimes.length;return t.push(d),d>1?(t.push(Math.round(e.math.avg(e.stopTimes))),t.push(Math.round(e.math.sd(e.stopTimes)))):1==d?t.push(e.stopTimes[0],-1):t.push([-1,-1]),t},e.getQuality=function(t){var i=t.split(",");for(a=0;a<i.length;a++)i[a]=Number(i[a]);var r=rec=avgAcc=0,o=e.math.avg(i),s=i.slice(11,55);for(var a in s)rec+=Number(s[a]>0),r+=Number(s[a]>4),avgAcc+=Number(s[a]>o);var l=Math.sqrt(rec*r*avgAcc)/80;return l>1?1:l},e.checkMobileValidity=function(t){var i=t.split(","),r=i[0];if(0==r)return 0;var o=0,s=i.slice(11,55);for(var a in s)o+=Number(s[a]);return o/r},e.getLength=function(t){return Number(t.split(",")[1])},e.isMobile=function(){if(null!=e.mobile)return e.mobile;var i,t=0;return i=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4)))&&(t=1),e.mobile=t,t},e.getTextId=function(t){return e.math.fnv1aHash(t)}};let f0;var n7=Fo.extend({className:"primary-auth-form",noCancelButton:!0,attributes:{novalidate:"novalidate"},save:function(){return this.settings.get("features.passwordlessAuth")?_("oform.next","login"):_("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){let e=_("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(e=""),e},initialize:function(){const e=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",V(function*(){const{appState:n}=this.options;if(e){const i=function(){try{return f0.getTypingPattern({type:1})}catch{return null}}();n.set("typingPattern",i)}const t={username:this.model.get("username")};if(this.settings.get("features.passwordlessAuth")||(t.password=this.model.get("password")),n.trigger("loading",!0),this.state.trigger("togglePrimaryAuthButton",!0),yield this.settings.processCreds(t),this.settings.get("features.deviceFingerprinting"))try{const i=yield XI_generateDeviceFingerprint(this.settings.getAuthClient(),this.$el[0]);n.set("deviceFingerprint",i)}catch{}this.model.save()})),this.stateEnableChange(),this.stateUsernameChange()},stateEnableChange:function(){this.listenTo(this.state,"change:enabled",function(e,n){
1n?this.enable():this.disable()})},stateUsernameChange:function(){this.listenTo(this.state,"change:disableUsername",function(e,n){n?this.$el.find("#okta-signin-username").attr("disabled",!0):this.$el.find("#okta-signin-username").removeAttr("disabled")})},inputs:function(){const e=[];return e.push(this.getUsernameField()),this.settings.get("features.passwordlessAuth")||e.push(this.getPasswordField()),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},getUsernameField:function(){return{className:"margin-btm-5",label:_("primaryauth.username.placeholder","login"),"label-top":!0,explain:()=>!!this.isCustomized("primaryauth.username.tooltip")&&wt.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login"),"explain-top":!0,name:"username",input:nr,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername"),autoComplete:wt.getAutocompleteValue(this.settings,"username"),render:function(){const n=this;function t(){n.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$(`input[name=${this.options.name}]`).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}}},getPasswordField:function(){const e={className:"margin-btm-30",label:_("primaryauth.password.placeholder","login"),"label-top":!0,explain:()=>!!this.isCustomized("primaryauth.password.tooltip")&&wt.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login"),"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password",autoComplete:wt.getAutocompleteValue(this.settings,"current-password"),render:function(){const n=this;function t(){n.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$(`input[name=${this.options.name}]`).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(e.params={},e.params.showPasswordToggle=!0),e},isCustomized:function(e){const n=this.settings.get("language"),t=this.settings.get("i18n");return!!(t&&t[n]&&t[n][e])},getRemeberMeCheckbox:function(){return{label:!1,placeholder:_("remember","login"),name:"remember",type:"checkbox","label-top":!0,className:"margin-btm-0",initialize:function(){this.listenTo(this.model,"change:remember",function(e,n){this.$(":checkbox").prop("checked",n).trigger("updateState")})}}},focus:function(){this.model.get("username")?this.settings.get("features.passwordlessAuth")||this.getInputs().toArray()[1].focus():this.getInputs().first().focus(),this.settings.get("features.trackTypingPattern")&&function(e){try{f0=new AOe,f0.addTarget(e),f0.start()}catch{}}("okta-signin-username")}});const{Util:i7}=ji.util;var MOe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<li><a href="#" data-se="unlock" class="link js-unlock">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"unlockaccount"},data:r,loc:{start:{line:1,column:440},end:{line:1,column:484}}}))+"</a></li>"},3:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<li><a href="'+u(typeof(s=null!=(s=d(t,"href")||(null!=n?d(n,"href"):n))?s:l)===c?s.call(a,{name:"href",hash:{},data:r,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):s)+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(o=d(t,"if").call(a,null!=n?d(n,"target"):n,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?o:"")+">"+u(typeof(s=null!=(s=d(t,"text")||(null!=n?d(n,"text"):n))?s:l)===c?s.call(a,{name:"text",hash:{},data:r,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):s)+"</a></li>"},4:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'target="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"target")||(null!=n?s(n,"target"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"target",hash:{},data:r,loc:{start:{line:1,column:620},end:{line:1,column:630}}}):o)+'"'}
1,compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="#" data-se="needhelp" aria-expanded="false" aria-controls="help-links-container" class="link help js-help">'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"needhelp"},data:r,loc:{start:{line:1,column:116},end:{line:1,column:155}}}))+'</a><ul class="help-links js-help-links" id="help-links-container"><li><a href="#" data-se="forgot-password" class="link js-forgot-password">'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"forgotpassword"},data:r,loc:{start:{line:1,column:296},end:{line:1,column:341}}}))+"</a></li>"+(null!=(o=u(t,"if").call(a,null!=(o=null!=n?u(n,"features"):n)?u(o,"selfServiceUnlock"):o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:350},end:{line:1,column:500}}}))?o:"")+(null!=(o=u(t,"each").call(a,null!=(o=null!=n?u(n,"helpLinks"):n)?u(o,"custom"):o,{name:"each",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:500},end:{line:1,column:665}}}))?o:"")+'<li><a href="'+c("function"==typeof(s=null!=(s=u(t,"helpLinkUrl")||(null!=n?u(n,"helpLinkUrl"):n))?s:l)?s.call(a,{name:"helpLinkUrl",hash:{},data:r,loc:{start:{line:1,column:678},end:{line:1,column:693}}}):s)+'" data-se="help-link" class="link js-help-link" rel="noopener noreferrer" target="_blank">'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"help"},data:r,loc:{start:{line:1,column:783},end:{line:1,column:818}}}))+"</a></li></ul>"},useData:!0}),className:"auth-footer",initialize:function(){this.listenTo(this.state,"change:enabled",function(e,n){this.$(".link").toggleClass("o-form-disabled",!n)})},getTemplateData:function(){let e;return e=this.settings.get("helpLinks.help")||se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return t.escapeExpression("function"==typeof(a=null!=(a=l(r,"baseUrl")||(null!=i?l(i,"baseUrl"):i))?a:t.hooks.helperMissing)?a.call(i??(t.nullContext||{}),{name:"baseUrl",hash:{},data:s,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):a)+"/help/login"},useData:!0})({baseUrl:this.settings.get("baseUrl")}),m.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:e})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(e){e.preventDefault(),this.$(".js-help-links").slideToggle(200,()=>{this.$(".js-help").attr("aria-expanded",this.$(".js-help-links").is(":visible"))})},events:{"click .js-help":function(e){e.preventDefault(),this.state.get("enabled")&&this.toggleLinks(e)},"click .js-forgot-password":function(e){if(e.preventDefault(),!this.state.get("enabled"))return;const n=this.settings.get("helpLinks.forgotPassword");n?i7.redirect(n):this.options.appState.trigger("navigate","signin/forgot-password")},"click .js-unlock":function(e){if(e.preventDefault(),!this.state.get("enabled"))return;const n=this.settings.get("helpLinks.unlock");n?i7.redirect(n):this.options.appState.trigger("navigate","signin/unlock")}}}),DOe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div class="content-container"><span class="registration-label">'+c(typeof(o=null!=(o=u(t,"label")||(null!=n?u(n,"label"):n))?o:a)===l?o.call(s,{name:"label",hash:{},data:r,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):o)+'</span><a title="'+c(typeof(o=null!=(o=u(t,"text")||(null!=n?u(n,"text"):n))?o:a)===l?o.call(s,{name:"text",hash:{},data:r,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):o)+'" aria-label="'+c(typeof(o=null!=(o=u(t,"text")||(null!=n?u(n,"text"):n))?o:a)===l?o.call(s,{name:"text",hash:{},data:r,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):o)+'" class="registration-link" href="#">'+c(typeof(o=null!=(o=u(t,"text")||(null!=n?u(n,"text"):n))?o:a)===l?o.call(s,{name:"text",hash:{},data:r,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):o)+"</a></div>"},useData:!0}
1),className:"registration-container",events:{"click a.registration-link":"handleClickEvent"},handleClickEvent:function(e){e.preventDefault();const n=this.settings.get("registration.click");n?n():this.options.appState.get("isIdxStateToken")?this.options.appState.trigger("navigate","signin/enroll-user"):this.options.appState.trigger("navigate","signin/register")},getTemplateData:function(){return{label:_("registration.signup.label","login"),text:_("registration.signup.text","login")}}}),ZI=Tl.extend({className:"primary-auth",state:{enabled:!0},View:n7,constructor:function(e){e.appState.unset("username"),this.model=new JI({multiOptionalFactorEnroll:e.settings.get("features.multiOptionalFactorEnroll"),settings:e.settings,appState:e.appState},{parse:!0}),Tl.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(e7,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.options.appState.get("disableUsername")&&this.addFooterWithBackLink(this.options),this.setUsername()},addFooter:function(e){this.add(new MOe(this.toJSON({appState:e.appState}))),(e.settings.get("features.registration")||e.appState.get("isIdxStateToken"))&&this.add(new DOe({settings:this.settings,appState:e.appState}))},addFooterWithBackLink:function(e){this.$el.find(".footer-back-link").length||this.add(new WI(this.toJSON({appState:e.appState,className:"auth-footer footer-back-link"})))},setUsername:function(){const e=this.model.get("username");e&&this.options.appState.set("username",e)},setUsernameFromIdpDiscovery:function(){const e=this.options.username;e&&(this.model.set("username",e),this.options.appState.set("disableUsername",!0))},events:{"focusout input[name=username]":function(){if(this.shouldComputeDeviceFingerprint()&&this.model.get("username")){const e=this;this.options.appState.trigger("loading",!0),XI_generateDeviceFingerprint(this.settings.getAuthClient(),this.$el[0]).then(function(n){e.options.appState.set("deviceFingerprint",n),e.options.appState.set("username",e.model.get("username"))}).catch(function(){e.options.appState.set("username",e.model.get("username"))}).finally(function(){e.options.appState.trigger("loading",!1)})}else this.options.appState.set("username",this.model.get("username"))},"focusin input":function(e){Qt(e.target.parentElement).addClass("focused-input")},"focusout input":function(e){Qt(e.target.parentElement).removeClass("focused-input")}},initialize:function(){this.options.appState.unset("deviceFingerprint"),this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.setUsernameFromIdpDiscovery(),this.listenTo(this.model,"change:username",function(e,n){
1n||this.options.appState.set("username","")}),this.listenTo(this.model,"save",function(){this.state.set("enabled",!1)}),this.listenTo(this.model,"error",function(){this.state.set("enabled",!0),this.options.appState.get("disableUsername")&&(this.state.set("disableUsername",!0),this.addFooterWithBackLink(this.options))}),this.listenTo(this.state,"togglePrimaryAuthButton",function(e){this.toggleButtonState(e)})},shouldComputeDeviceFingerprint:function(){return this.settings.get("features.securityImage")&&this.settings.get("features.deviceFingerprinting")&&this.settings.get("features.useDeviceFingerprintForSecurityImage")}}),OOe=JI.extend({props:function(){const e=fa_getCookieUsername(),n=this.getUsernameAndRemember(e);return{username:["string",!0,n.username],lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,n.remember]}},local:{},save:function(){const e=this.settings.transformUsername(this.get("username"),Re.IDP_DISCOVERY),n=this.get("remember"),t=this.get("lastUsername"),i="okta:acct:"+e,r=this.get("requestContext");this.setUsernameCookie(e,n,t),this.trigger("save"),this.appState.trigger("loading",!0);const o={resource:i,requestContext:r};this.appState.settings.getAuthClient().webfinger(o).then(a=>{a&&a.links&&a.links[0]&&("OKTA"===a.links[0].properties["okta:idp:type"]?this.trigger("goToPrimaryAuth"):a.links[0].href&&(a.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?wt.redirectWithFormGet.bind(wt):this.settings.get("redirectUtilFn"))(a.links[0].href))}).catch(()=>{const a={errorSummary:_("oform.error.webfinger","login")};this.trigger("error",this,{responseJSON:a}),this.appState.trigger("removeLoading"),fa_removeUsernameCookie()}).finally(()=>{this.appState.trigger("loading",!1)})}}),IOe=n7.extend({className:"idp-discovery-form",save:function(){return _("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",m.bind(this.model.save,this.model)),this.stateEnableChange()},inputs:function(){const e=[],n={className:"margin-btm-30",label:_("primaryauth.username.placeholder","login"),inputId:"idp-discovery-username",disabled:!1};return e.push(m.extend(this.getUsernameField(),n)),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}}),POe=ZI.extend({className:"idp-discovery",View:IOe,constructor:function(e){e.appState.unset("username");let n=e.settings.get("idpDiscovery.requestContext");const t=e.appState.get("lastAuthResponse"),i=t&&t?.stateToken;wt.isV1StateToken(n)&&(n=i),this.model=new OOe({requestContext:n,settings:e.settings,appState:e.appState},{parse:!0}),Tl.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(e7,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},initialize:function(){ZI.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",function(){this.settings.set("username",this.model.get("username"));const e=this;this.settings.get("features.deviceFingerprinting")?XI_generateDeviceFingerprint(this.settings.getAuthClient(),this.$el[0]).then(function(n){e.options.appState.set("deviceFingerprint",n),e.options.appState.set("username",e.model.get("username"))}).catch(function(){e.options.appState.set("username",e.model.get("username"))}).finally(function(){e.doPrimaryAuth()}):e.doPrimaryAuth()})},doPrimaryAuth:function(){if(this.settings.get("features.passwordlessAuth")){const e=new JI({username:this.model.get("username"),multiOptionalFactorEnroll:this.options.settings.get("features.multiOptionalFactorEnroll"),settings:this.options.settings,appState:this.options.appState},{parse:!0});this.listenTo(e,"error",function(n,t){this.toggleButtonState(!1),this.model.trigger("error",this.model,t)}),this.addModelListeners(e),e.save()}else{this.options.appState.set("disableUsername",!0);const e=Fi.createSigninUrl(this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.model.get("username"));this.options.appState.trigger("navigate",e)}}}),ROe=Tl.extend({className:"force-idp-discovery",View:KI,Model:{},initialize:function(){const t=this.options,i=t.appState.get("lastAuthResponse"),o={resource:"okta:acct:",requestContext:i&&i?.stateToken};t.appState.settings.getAuthClient().webfinger(o).then(s=>
1{null!=s&&s.links&&s.links[0]&&"OKTA"!==s.links[0].properties["okta:idp:type"]&&s.links[0].href?(s.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?wt.redirectWithFormGet.bind(wt):this.settings.get("redirectUtilFn"))(s.links[0].href):t.appState.trigger("navigate","")}).catch(()=>{t.appState.trigger("navigate","")})}});function NOe(e){const n=Fi.createActivateFactorUrl(e.get("activatedFactorProvider"),e.get("activatedFactorType"));e.trigger("navigate",n)}var LOe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<a href="#" class="link help js-back" data-se="back-link">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:r,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault();const n=m.partial(NOe,this.options.appState);this.options.appState.unset("factorActivationType"),this.model.doTransaction(function(t){return t.prev().then(function(i){return m.findWhere(i.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(n)}},back:function(){const e=this;e.options.appState.unset("factorActivationType"),e.options.appState.get("prevLink")?this.model.doTransaction(function(n){return n.prev()}).then(function(){e.options.appState.trigger("navigate","signin/enroll")}):e.options.appState.trigger("navigate","signin/enroll")}});function r7(e,n){const t=Fi.createActivateFactorUrl(e.options.appState.get("activatedFactorProvider"),e.options.appState.get("activatedFactorType"),n);e.options.appState.trigger("navigate",t)}const FOe={sharedSecret:function(e){return!m.isUndefined(e)},activationType:"MANUAL"};function o7(e){let n,t;"SMS"===e.model.get("activationType")&&(t=e.model.get("countryCode"),n=e.model.get("phoneNumber")),e.options.appState.set({factorActivationType:e.model.get("activationType"),userCountryCode:t,userPhoneNumber:n})}function s7(e,n){return e.model.doTransaction(function(t){return t.prev().then(function(i){return m.findWhere(i.factors,{factorType:n,provider:"OKTA"}).enroll()}).then(function(i){let r,o,s;const a=i.data;if(a&&a._embedded&&a._embedded.factor&&a._embedded.factor._embedded&&a._embedded.factor._embedded.activation){const l=a._embedded.factor;if(s=l._embedded.activation.sharedSecret,l._embedded.activation._links&&l._embedded.activation._links.send){const c=l._embedded.activation._links.send,u=m.findWhere(c,{name:"sms"});r=u?u.href:null;const d=m.findWhere(c,{name:"email"});o=d?d.href:null}}return e.model.set({SMS:r,EMAIL:o,sharedSecret:s}),i})})}var $Oe=mn.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:"string",SMS:["string",!1,this.options.appState.get("textActivationLinkUrl")],EMAIL:["string",!1,this.options.appState.get("emailActivationLinkUrl")],sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+ha_getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,n){return e+n}}}}},Form:{title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},subtitle:m.partial(_,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){const e=this.settings.get("brandName")?_("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):_("enroll.totp.sharedSecretInstructions.generic","login");return[st.Input({name:"activationType",label:_("mfa.setupOptions","login"),type:"select",wide:!0,options:{SMS:_("enroll.totp.sendSms","login"),EMAIL:_("enroll.totp.sendEmail","login"),MANUAL:_("enroll.totp.setupManually","login")}}),st.Input({label:_("mfa.country","login"),name:"countryCode",type:"select",wide:!0,options:ha_getCountries(),showWhen:{activationType:"SMS"}}),st.Input({label:_("mfa.phoneNumber.placeholder","login"),"label-top":!0,
1className:"enroll-sms-phone",name:"phoneNumber",input:Uj,type:"text",showWhen:{activationType:"SMS"}}),st.View({View:Ee.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=i??(t.nullContext||{}),c=t.hooks.helperMissing,u="function",d=t.escapeExpression,f=t.lookupProperty||function(y,b){if(Object.prototype.hasOwnProperty.call(y,b))return y[b]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+d(typeof(a=null!=(a=f(r,"instructions")||(null!=i?f(i,"instructions"):i))?a:c)===u?a.call(l,{name:"instructions",hash:{},data:s,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):a)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+d((f(r,"i18n")||i&&f(i,"i18n")||c).call(l,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:s,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+d(typeof(a=null!=(a=f(r,"sharedSecretKey")||(null!=i?f(i,"sharedSecretKey"):i))?a:c)===u?a.call(l,{name:"sharedSecretKey",hash:{},data:s,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):a)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:e,sharedSecretKey:this.model.get("sharedSecret")}}}),showWhen:{activationType:"MANUAL"}}),st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){return'<div data-type="next-button-wrap"></div>'},useData:!0})}),showWhen:FOe}),st.Button({title:_("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:()=>{o7(this),r7(this,"passcode")}},'[data-type="next-button-wrap"]'),st.Toolbar({noCancelButton:!0,save:_("oform.send","login"),showWhen:{activationType:function(t){return"SMS"===t||"EMAIL"===t}}})]}},Footer:LOe,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",function(){const e=this;this.model.doTransaction(function(n){const t=this.get("activationType").toLowerCase(),i={};return"sms"===t&&(i.profile={phoneNumber:this.get("fullPhoneNumber")}),n.factor.activation.send(t,i).then(function(r){return o7(e),m.defer(function(){r7(e,"sent")}),r})})}),this.listenTo(this.model,"change:activationType",function(e,n){this.form.clearErrors(),"MANUAL"===n&&"token:software:totp"!==this.options.appState.get("activatedFactorType")?s7(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&s7(this,"push")})},setInitialModel:function(){"SMS"===this.options.appState.get("factorActivationType")&&this.model.set({countryCode:this.options.appState.get("userCountryCode")||"US",phoneNumber:this.options.appState.get("userPhoneNumber")})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate")||this.options.appState.get("isMfaEnroll"))return!0}}),VOe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<a href="#" class="link help js-back" data-se="back-link">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:r,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault(),this.model.startTransaction(function(n){return n.tx.resume()})}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}}),BOe=mn.extend({className:"enroll-manual-totp",Model:function(){return{local:{sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){const e=xn.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return _("enroll.totp.title","login",[e])},subtitle:m.partial(_,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){const e=this.settings.get("brandName")?_("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):_("enroll.totp.manualSetupInstructions.generic","login");
1return[st.View({View:Ee.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=t??(n.nullContext||{}),l=n.hooks.helperMissing,c="function",u=n.escapeExpression,d=n.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+u(typeof(s=null!=(s=d(i,"instructions")||(null!=t?d(t,"instructions"):t))?s:l)===c?s.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):s)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+u((d(i,"i18n")||t&&d(t,"i18n")||l).call(a,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:o,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+u(typeof(s=null!=(s=d(i,"sharedSecretKey")||(null!=t?d(t,"sharedSecretKey"):t))?s:l)===c?s.call(a,{name:"sharedSecretKey",hash:{},data:o,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):s)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:e,sharedSecretKey:this.model.get("sharedSecret")}}})}),st.Toolbar({noCancelButton:!0,save:_("oform.next","login")})]}},Footer:VOe,initialize:function(){this.listenTo(this.form,"save",function(){const e=Fi.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}}),UOe=Fo.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){const e=this;this.title=this.model.get("factorLabel");const n=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+n+")",this.add(cr({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:_("mfa.sendEmail","login"),click:function(){e.clearErrors(),this.disable(),this.options.title=_("mfa.sent","login"),this.render(),this.model.save().then(()=>Tr().delay(Re.API_RATE_LIMIT)).then(()=>{this.options.title=_("mfa.resendEmail","login"),this.enable(),this.render()})}}))}}),jOe=Fo.extend({autoSave:!0,noButtonBar:!0,scrollOnError:!1,layout:"o-form-theme",className:"mfa-verify-totp-inline",attributes:{"data-se":"factor-inline-totp"},initialize:function(){const e=this;this.listenTo(this.model,"error",function(){this.clearErrors()}),this.add(cr({className:"link",attributes:{"data-se":"inline-totp-add"},title:_("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),function HOe(e){e.addDivider(),e.addInput({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:nr,type:"tel"}),e.add(cr({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:_("mfa.challenge.verify","login"),click:function(){e.clearErrors(),e.isValid()&&e.model.manageTransaction(function(n,t){if("MFA_CHALLENGE"===n.status&&n.prev)return e.options.appState.set("trapMfaRequiredResponse",!0),n.prev().then(function(i){t(i),e.model.save()});e.model.save()})}})),e.at(1).focus()}(e)}}))}});const eP=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"("+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"subtitle")||(null!=n?s(n,"subtitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:1},end:{line:1,column:13}}}):o)+")"},useData:!0}),zOe=Ee.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if
1(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<span class="icon warning-16"></span><p>'+(null!=(o="function"==typeof(s=null!=(s=a(t,"warning")||(null!=n?a(n,"warning"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"warning",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):s)?o:"")+"</p>"},useData:!0})});function GOe(e){switch(e){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:_("mfa.sendCode","login"),formRetry:_("mfa.resendCode","login"),formSubmitted:_("mfa.sent","login"),subtitle:eP({subtitle:this.model.get("phoneNumber")}),warning:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=n.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return n.escapeExpression((s(i,"i18n")||t&&s(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{$1:"<b>$1</b>",bundle:"login",code:"factor.sms.time.warning"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:70}}}))},useData:!0})};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:_("mfa.call","login"),formRetry:_("mfa.redial","login"),formSubmitted:_("mfa.calling","login"),subtitle:eP({subtitle:this.model.get("phoneNumber")}),warning:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=n.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return n.escapeExpression((s(i,"i18n")||t&&s(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{$1:"<b>$1</b>",bundle:"login",code:"factor.call.time.warning"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:71}}}))},useData:!0})};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:_("mfa.sendEmail","login"),formRetry:_("mfa.resendEmail","login"),formSubmitted:_("mfa.sent","login"),subtitle:eP({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var qOe=Fo.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",disableSubmitButton:function(){return this.model.appState.get("isMfaChallenge")&&this.model.get("answer")},showWarning:function(e){this.clearWarnings(),this.add(zOe,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){const e=this;this.title=this.model.get("factorLabel");const n=this.model.get("factorType"),t=GOe.call(this,n),i=t.warning;this.$el.attr("data-se","factor-"+n),this.subtitle=t.subtitle,this.listenTo(this.model,"error",function(){this.clearErrors()}),this.addInput({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:nr,type:"tel"}),this.add(cr({attributes:{"data-se":t.buttonDataSe},className:"button "+t.buttonClassName,title:t.formSubmit,click:function(){e.clearErrors(),this.disable(),e.clearWarnings(),this.options.title=t.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then(function(){return e.getInputs().first().render().focus(),Tr().delay(Re.API_RATE_LIMIT)}).then(()=>{this.options.title=t.formRetry,this.enable(),("call"===n||"sms"===n)&&e.showWarning(i),this.render()})}})),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}}),WOe=Fo.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-password"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:_("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"auth-passcode",name:"password",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}}),KOe=Ee.extend({className:"number-challenge-view",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};
1return'<p data-se="number-challenge-instruction">'+(null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{arguments:"number",bundle:"login",code:"oktaverify.numberchallenge.instruction"},data:r,loc:{start:{line:1,column:73},end:{line:1,column:163}}}))?o:"")+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return(null!=(o=u(t,"if").call(a,null!=n?u(n,"number"):n,{name:"if",hash:{includeZero:!0},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:174}}}))?o:"")+'<div class="phone"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+c("function"==typeof(s=null!=(s=u(t,"number")||(null!=n?u(n,"number"):n))?s:l)?s.call(a,{name:"number",hash:{},data:r,loc:{start:{line:1,column:300},end:{line:1,column:310}}}):s)+'</span></div><div class="phone--home-button"></div></div></div><p>'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"oktaverify.numberchallenge.explain"},data:r,loc:{start:{line:1,column:376},end:{line:1,column:441}}}))+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",()=>{"SUCCESS"!==this.options.appState.get("lastAuthResponse").status&&this.render()})},getTemplateData:function(){const e=this.options.appState.get("lastAuthResponse");return this.options.appState.get("isWaitingForNumberChallenge")?{number:e._embedded.factor._embedded.challenge.correctAnswer}:{number:null}}});const YOe=se.template({1:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return" ("+(null!=(o="function"==typeof(s=null!=(s=a(t,"deviceName")||(null!=n?a(n,"deviceName"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"deviceName",hash:{},data:r,loc:{start:{line:1,column:34},end:{line:1,column:50}}}):s)?o:"")+")"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return e.escapeExpression("function"==typeof(s=null!=(s=l(t,"factorName")||(null!=n?l(n,"factorName"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"factorName",hash:{},data:r,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s)+(null!=(o=l(t,"if").call(a,null!=n?l(n,"deviceName"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:14},end:{line:1,column:58}}}))?o:"")},useData:!0}),JOe=Ee.extend({className:"okta-form-infobox-warning infobox infobox-warning",attributes:{"aria-live":"polite"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"warning")||(null!=n?s(n,"warning"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"warning",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):o)+"</p>"},useData:!0})});var XOe=Fo.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:m.partial(_,"oktaverify.send","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-push"},events:{submit:"submit"},initialize:function(){this.enabled=!0,this.listenTo(this.options.appState,"change:isMfaRejected",this.handleRejectStateChange),this.numberChallengeView=this.add(KOe).last(),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",function(e,n){
1n||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.clearWarnings(),this.$el.find(".button").hide(),this.numberChallengeView.$el.show()):(this.numberChallengeView.$el.hide(),this.$el.find(".button").show())}),this.listenTo(this.options.appState,"change:isMfaTimeout",function(e,n){this.setSubmitState(n),n&&this.showError(_("oktaverify.timeout","login"))}),this.listenTo(this.options.appState,"change:isMfaRequired",function(e,n){n&&(this.clearErrors(),this.clearWarnings())}),this.title=YOe({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(e){const n=this.$el.find(".button"),t=this.$el.find(".accessibility-text");this.enabled=e,e?(n.removeClass("link-button-disabled"),n.prop("value",_("oktaverify.send","login")),n.prop("disabled",!1),t&&t.remove()):(n.addClass("link-button-disabled"),n.prop("value",_("oktaverify.sent","login")),n.prop("disabled",!0),this.add(`<span class='accessibility-text' role='alert'>${_("oktaverify.sent","login")}</span>`))},submit:function(e){void 0!==e&&e.preventDefault(),this.enabled&&(this.setSubmitState(!1),this.doSave())},postRender:function(){const e=this.options.appState.get("factorsPolicyInfo"),n=this.model.get("id");this.settings.get("features.autoPush")&&e&&e[n]&&e[n].autoPushEnabled&&(this.model.set("autoPush",!0),m.defer(m.bind(this.submit,this)))},doSave:function(){let e;this.clearErrors(),this.clearWarnings(),this.model.isValid()&&(this.listenToOnce(this.model,"error",function(){this.setSubmitState(!0),this.clearWarnings(),clearTimeout(e)}),this.trigger("save",this.model),e=wt.callAfterTimeout(()=>{this.options.appState.get("isWaitingForNumberChallenge")||this.showWarning(_("oktaverify.warning","login"))},3e4))},showError:function(e){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},showWarning:function(e){this.clearWarnings(),this.add(JOe,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()}
1,handleRejectStateChange:function(e,n){n&&(this.setSubmitState(n),this.setRejectedErrorMessage())},setRejectedErrorMessage:function(){"OKTA_VERIFY_UPGRADE_REQUIRED"===this.options.appState.get("lastAuthResponse").factorResultMessage?"IOS"===this.options.appState.get("factor").profile.platform?this.showError(_("oktaverify.rejected.upgradeRequired.ios","login")):this.showError(_("oktaverify.rejected.upgradeRequired.android","login")):this.showError(_("oktaverify.rejected","login"))}}),ZOe=Fo.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-question"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:this.model.get("securityQuestion"),"label-top":!0,placeholder:_("mfa.challenge.answer.placeholder","login"),className:"auth-passcode",name:"answer",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});const a7=function(){const e=this.model.get("email");return{factorEmail:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<span class="mask-email">'+t.escapeExpression("function"==typeof(a=null!=(a=l(r,"email")||(null!=i?l(i,"email"):i))?a:t.hooks.helperMissing)?a.call(i??(t.nullContext||{}),{name:"email",hash:{},data:s,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):a)+"</span>"},useData:!0})({email:e})}},eIe=Fo.extend({layout:"o-form-theme",className:"mfa-verify-email",title:m.partial(_,"email.mfa.title","login"),noButtonBar:!1,autoSave:!0,noCancelButton:!0,attributes:{"data-se":"factor-email"},save:function(){return this.options.appState.get("isMfaChallenge")?_("mfa.challenge.verify","login"):_("email.button.send","login")},events:Object.assign({},Fo.prototype.events,{submit:function(e){e.preventDefault(),this.handleSubmit()}}),handleSubmit:function(){this.clearErrors(),this.options.appState.get("isMfaChallenge")?this.isValid()&&this.model.save():(this.model.set("answer",""),this.model.save().then(this.renderChallengView.bind(this)))},initialize:function(){Fo.prototype.initialize.apply(this,arguments),this.add(Ee.extend({attributes:{"data-se":"mfa-send-email-content"},className:"mfa-send-email-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.description"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:78}}}))?o:""},useData:!0}),getTemplateData:a7}))},renderChallengView:function(){this.removeChildren(),this.add(Ee.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:""},useData:!0}),getTemplateData:a7})),this.add(Bj),this.addInput({label:_("email.code.label","login"),"label-top":!0,name:"answer",input:nr,wide:!0,type:"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),this.render()}});var tIe=Fo.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){const e=this.model.get("factorLabel"),n="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=e,this.subtitle=this.model.get("isFactorTypeVerification")?_("mfa.challenge.totp.subtitle.multiple","login",[e]):_("mfa.challenge.title","login",[e]),this.addInput({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,
1className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:nr,type:n?"password":"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),("RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider"))&&this.listenTo(this.model,"error",(t,i)=>{i&&409===i.status&&(this.$(".auth-passcode input").val(""),this.$(".auth-passcode input").trigger("change"),this.$(".auth-passcode input").focus())})}}),nIe=Fo.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){const e=this.model.get("factorLabel");this.title=e,this.subtitle=_("factor.totpHard.yubikey.description","login"),this.addInput({label:_("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:nr,inputId:"mfa-answer",type:"password"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,className:"margin-btm-0",placeholder:this.options.appState.get("rememberDeviceLabel"),name:"rememberDevice",type:"checkbox"})}});const{Util:iIe}=ji.util;var rv=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="#" class="link '+c(typeof(o=null!=(o=u(t,"linkClassName")||(null!=n?u(n,"linkClassName"):n))?o:a)===l?o.call(s,{name:"linkClassName",hash:{},data:r,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):o)+'" data-se="signout-link">'+c(typeof(o=null!=(o=u(t,"linkText")||(null!=n?u(n,"linkText"):n))?o:a)===l?o.call(s,{name:"linkText",hash:{},data:r,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):o)+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{'click a[data-se="signout-link"]':"handleSignout"},handleSignout:function(e){e.preventDefault();const n=this.options.appState;n.trigger("signOut");const t=n.get("isSMSPasswordRecovery");this.model.doTransaction(function(i){return i.cancel().then(rIe)}).then(()=>{this.settings.get("backToSignInUri")&&!t?iIe.redirect(this.settings.get("backToSignInUri")):(this.state.set("navigateDir",Re.DIRECTION_BACK),n.trigger("navigate",""))})},getTemplateData:function(){return{linkClassName:m.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||_("goback","login")}}});function rIe(e){return{...e,data:null}}var lm=rv.extend({template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="'+c(typeof(o=null!=(o=u(t,"factorPageCustomLinkHref")||(null!=n?u(n,"factorPageCustomLinkHref"):n))?o:a)===l?o.call(s,{name:"factorPageCustomLinkHref",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:68}}}):o)+'" data-se="factor-page-custom-link" class="link js-factor-page-custom-link" rel="noopener noreferrer" target="_blank">'+c(typeof(o=null!=(o=u(t,"factorPageCustomLinkText")||(null!=n?u(n,"factorPageCustomLinkText"):n))?o:a)===l?o.call(s,{name:"factorPageCustomLinkText",hash:{},data:r,loc:{start:{line:1,column:186},end:{line:1,column:214}}}):o)+"</a>"},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="#" class="link '+c(typeof(o=null!=(o=u(t,"linkClassName")||(null!=n?u(n,"linkClassName"):n))?o:a)===l?o.call(s,{name:"linkClassName",hash:{},data:r,loc:{start:{line:1,column:265},end:{line:1,column:282}}}):o)+'" data-se="signout-link">'+c(typeof(o=null!=(o=u(t,"linkText")||(null!=n?u(n,"linkText"):n))?o:a)===l?o.call(s,{name:"linkText",hash:{},data:r,loc:{start:{line:1,column:307},end:{line:1,column:319}}}):o)+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"hasFactorPageCustomLink"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:225}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"showLink"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:225},end:{line:1,column:330}}}))?o:"")},useData:!0}),className:"auth-footer clearfix",getTemplateData:function(){const e=rv.prototype.getTemplateData.apply(this,arguments),n=this.settings.get("helpLinks.factorPage.href"),t=this.settings.get("helpLinks.factorPage.text"),i=!this.settings.get("features.hideSignOutLinkInMFA")&&!this.settings.get("features.mfaOnlyFlow");return Object.assign({},e,{hasFactorPageCustomLink:t&&n,factorPageCustomLinkHref:n,factorPageCustomLinkText:t,showLink:i})}});let{CheckBox:l7}=ji.views.forms.inputs;var c7=Tl.extend({className:"mfa-verify",initialize:function(e){const n=e.factorType;let t;switch(n){case"question":t=ZOe;break;case"email":t=this.options.appState.get("isIdxStateToken")?UOe:eIe;break;case"sms":case"call":t=qOe;break;case"token":case"token:software:totp":case"token:hotp":t=tIe;break;case"token:hardware":t=nIe;break;case"push":t=XOe;break;case"password":t=WOe;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(n,e),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new t(this.toJSON())),"push"===n&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&(this.inlineTotpForm=this.add(jOe,{options:{model:this.model.get("backupFactor")}}).last()),this.settings.get("features.autoPush")&&(this.autoPushCheckBox=this.add(l7,{options:{model:this.model,name:"autoPush",placeholder:_("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}).last()),this.options.appState.get("allowRememberDevice")&&(this.rememberDeviceCheckbox=this.add(l7,{options:{model:this.model,name:"rememberDevice",placeholder:this.options.appState.get("rememberDeviceLabel"),label:!1,"label-top":!0,className:"margin-btm-0"}}).last()),this.model.get("backupFactor")&&this.listenTo(this.model,"change:rememberDevice",function(i,r){i.get("backupFactor").set("rememberDevice",r)})),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",function(i,r){r||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.autoPushCheckBox&&this.autoPushCheckBox.$el.hide(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.hide(),this.inlineTotpForm&&this.inlineTotpForm.$el.hide()):(this.autoPushCheckBox&&this.autoPushCheckBox.$el.show(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.show(),this.inlineTotpForm&&this.inlineTotpForm.$el.show())}),this.add(new lm(this.toJSON()))},findModel:function(e,n){const t=n.appState.get("factors"),i=n.provider,r=n.factorIndex;return i?t.hasMultipleFactorsOfSameType(e)&&r?t.getFactorByTypeAndIndex(e,r):t.findWhere({provider:i,factorType:e}):t.findWhere({factorType:e,isFactorTypeVerification:!0})},trapAuthResponse:function(){return!!(this.options.appState.get("isMfaRequired")&&this.options.appState.get("trapMfaRequiredResponse")||this.options.appState.get("isMfaChallenge"))&&(this.options.appState.set("trapMfaRequiredResponse",!1),!0)},back:function(){}}),u7=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="password-requirements--header">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:r,loc:{start:{line:1,column:63},end:{line:1,column:133}}}))+'</div><ul class="password-requirements--list">'+(null!=(o=a(t,"each").call(s,null!=n?a(n,"requirements"):n,{name:"each",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:179},end:{line:1,column:268}}}))?o:"")+"</ul>"},2:function(e,n,t,i,r){return'<li class="password-requirements--list-item">'+e.escapeExpression(e.lambda(n,n))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"requirements"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:280}}}))?o:""},useData:!0}
1),attributes:{"data-se":"password-requirements-html"},allRequirements:[],initialize:function(e){const n=e.policy;!n||(this.allRequirements=xn.getPasswordComplexityDescriptionForHtmlList(n))},getTemplateData:function(){return{requirements:this.allRequirements}}}),oIe=mn.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return vu.validatePasswordMatch(this)},save:function(){return this.trigger("save"),this.doTransaction(function(e){return e.changePassword({oldPassword:this.get("oldPassword"),newPassword:this.get("newPassword")})})}},Form:{save:m.partial(_,"password.expired.submit","login"),title:function(){const e=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return e&&n>0?_("password.expiring.title","login",[n]):e&&0===n?_("password.expiring.today","login"):e?_("password.expiring.soon","login"):this.settings.get("brandName")?_("password.expired.title.specific","login",[this.settings.get("brandName")]):_("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?_("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):_("password.expiring.subtitle.generic","login");const e=this.options.appState.get("policy");return e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList")?xn.getPasswordComplexityDescription(e):void 0},parseErrorMessage:function(e){const n=this.options.appState.get("policy");return!!n&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=xn.removeRequirementsFromError(e,n)),e},formChildren:function(){let e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(st.View({View:new u7({policy:this.options.appState.get("policy")})})),e=e.concat([st.Input({"label-top":!0,label:_("password.oldPassword.placeholder","login"),explain:wt.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:nr,type:"password"}),st.Divider(),st.Input({className:"margin-btm-5","label-top":!0,label:_("password.newPassword.placeholder","login"),explain:wt.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:nr,type:"password"}),st.Input({"label-top":!0,label:_("password.confirmPassword.placeholder","login"),explain:wt.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:nr,type:"password"})]),e}},Footer:Nj,initialize:function(){this.listenTo(this.form,"save",function(){const e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then(m.bind(this.model.save,this.model))})}});let{CheckBox:sIe}=ji.views.forms.inputs;var aIe=mn.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0],revokeSessions:["boolean",!1]},validate:function(){return vu.validatePasswordMatch(this)},save:function(){this.trigger("save");const e=this;return this.doTransaction(function(n){const t={newPassword:e.get("newPassword")};return e.settings.get("features.showSessionRevocation")&&(t.revokeSessions=e.get("revokeSessions")),n.resetPassword(t)})}},Form:{save:m.partial(_,"password.reset","login"),title:function(){return this.settings.get("brandName")?_("password.reset.title.specific","login",[this.settings.get("brandName")]):_("password.reset.title.generic","login")},subtitle:function(){const e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return xn.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){const n=this.options.appState.get("policy");return!!n&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=xn.removeRequirementsFromError(e,n)),e},formChildren:function(){let e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(st.View({View:new u7({policy:this.options.appState.get("policy")})})),e=e.concat([st.Input({className:"margin-btm-5",label:_("password.newPassword.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:nr,type:"password",autoComplete:wt.getAutocompleteValue(this.settings,"new-password")}),st.Input({label:_("password.confirmPassword.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:nr,type:"password",autoComplete:wt.getAutocompleteValue(this.settings,"new-password")})]),this.settings.get("features.showSessionRevocation")&&(e=e.concat([st.Input({placeholder:_("password.reset.revokeSessions","login"),name:"revokeSessions",input:sIe,type:"checkbox"})])),e}},initialize:function(){this.listenTo(this.form,"save",function(){const e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then(m.bind(this.model.save,this.model))}),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(rv)}}),lIe=mn.extend({className:"poll",Model:{save:function(){return this.trigger("cancelRequest"),this.appState.get("transaction").cancel().then(()=>{this.options.appState.trigger("navigate","")}).catch(()=>{this._stopCountDown()})}},Form:{autoSave:!0,hasSavingState:!1,title:function(){return this.title},className:"poll-controller",noCancelButton:!0,save:_("oform.cancel","login"),modelEvents:{cancelRequest:"_stopCountDown"},formChildren:[st.View({View:'<div > <div data-se="poll-waiting" class="hide okta-waiting-spinner"></div> </div>'})],_checkStatus:function(){this.transactionObject.poll().then(e=>{if(e.data&&"POLL"!==e.status)return void this.options.appState.set("transaction",e);this.$(".okta-waiting-spinner").hide();let n=Math.ceil(e.transaction.profile.refresh/1e3);this._startCountDown(n)}).catch(()=>{this._stopCountDown()})},_startCountDown:function(e){this.countDown=setInterval(()=>{this._updateTitle(e),0===e?(this._stopCountDown(),this.$(".okta-waiting-spinner").show(),this.checkStatusTimeout=setTimeout(()=>{this._checkStatus()},200)):e-=1},1e3)},_updateTitle:function(e){this.title=_("polling.title","login",[e]),this.$el.find(".okta-form-title").text(this.title)},_stopCountDown:function(){this.countDown&&clearInterval(this.countDown),this.checkStatusTimeout&&clearInterval(this.checkStatusTimeout)},initialize:function(e){this.transactionObject=e.appState.get("transaction"),this.factorPollingIntervalSeconds=Math.ceil(this.transactionObject.transaction.profile.refresh/1e3),this._updateTitle(this.factorPollingIntervalSeconds),this._startCountDown(this.factorPollingIntervalSeconds)}},back:function(){},remove:function(){this.form._stopCountDown()}}),cIe=mn.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:m.partial(_,"password.forgot.emailSent.title","login"),subtitle:function(){const e=this.options.appState.get("username");
1return _("password.forgot.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){let e=[st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<span class="accessibility-text" role="status">'+n.escapeExpression("function"==typeof(s=null!=(s=a(i,"alert")||(null!=t?a(t,"alert"):t))?s:n.hooks.helperMissing)?s.call(t??(n.nullContext||{}),{name:"alert",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:56}}}):s)+"</span>"},useData:!0}),getTemplateData:function(){return{alert:_("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||e.push(st.Button({title:_("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){const n=this;return this.model.doTransaction(function(t){return t.cancel()}).then(function(){n.state.set("navigateDir",Re.DIRECTION_BACK),n.options.appState.trigger("navigate","")})}})),e}},initialize:function(e){this.settings.callGlobalSuccess(Re.FORGOT_PASSWORD_EMAIL_SENT,{username:e.appState.get("username")})}}),uIe=mn.extend({className:"recovery-challenge",Model:{props:{passCode:["string",!0]},local:{ableToResend:"boolean"},resendCode:function(){return this.limitResending(),this.doTransaction(function(e){return e.resend()})},limitResending:function(){this.set({ableToResend:!1}),m.delay(m.bind(this.set,this),Re.API_RATE_LIMIT,{ableToResend:!0})},save:function(){return this.doTransaction(function(e){return e.verify({passCode:this.get("passCode")})})}},Form:{autoSave:!0,save:m.partial(_,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===Re.RECOVERY_FACTOR_TYPE_CALL?_("recoveryChallenge.call.title","login"):_("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",function(){this.clearErrors()})},formChildren:function(){return[st.Button({title:_("mfa.resendCode","login"),attributes:{"data-se":"resend-button"},className:"button sms-request-button margin-top-30",click:function(){this.model.resendCode()},initialize:function(){this.listenTo(this.model,"change:ableToResend",function(e,n){
1n?(this.options.title=_("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=_("mfa.sent","login"),this.disable(),this.render())})}}),st.Input({label:_("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:nr,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();const n=this.model.settings,t=this.options.appState.get("username"),i=this.options.appState.get("recoveryType");this.model.startTransaction(function(r){switch(i){case Re.RECOVERY_TYPE_PASSWORD:return r.forgotPassword({username:n.transformUsername(t,Re.FORGOT_PASSWORD),factorType:Re.RECOVERY_FACTOR_TYPE_EMAIL});case Re.RECOVERY_TYPE_UNLOCK:return r.unlockAccount({username:n.transformUsername(t,Re.UNLOCK_ACCOUNT),factorType:Re.RECOVERY_FACTOR_TYPE_EMAIL});default:return}}).catch(()=>{})}},initialize:function(){let n;switch(this.options.appState.get("recoveryType")){case Re.RECOVERY_TYPE_PASSWORD:n=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a=t.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return t.escapeExpression((a(r,"i18n")||i&&a(i,"i18n")||t.hooks.helperMissing).call(i??(t.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"password.forgot.code.notReceived"},data:s,loc:{start:{line:1,column:0},end:{line:1,column:63}}}))},useData:!0});break;case Re.RECOVERY_TYPE_UNLOCK:n=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a=t.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return t.escapeExpression((a(r,"i18n")||i&&a(i,"i18n")||t.hooks.helperMissing).call(i??(t.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"account.unlock.code.notReceived"},data:s,loc:{start:{line:1,column:0},end:{line:1,column:62}}}))},useData:!0})}n&&this.settings.get("features.emailRecovery")&&this.add(Ee.extend({className:"link send-email-link",tagName:"a",attributes:{href:"#","data-se":"send-email-link"},template:n})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(rv)},postRender:function(){this.model.limitResending()}}),dIe=mn.extend({className:"recovery-loading",Model:{},Form:{noButtonBar:!0},initialize:function(e){const n=this,t=this.options.settings.get("features.multiOptionalFactorEnroll");return this.model.startTransaction(function(i){return i.verifyRecoveryToken({recoveryToken:e.token,...t&&{multiOptionalFactorEnroll:t}})}).catch(function(){n.options.appState.trigger("loading",!1),n.options.appState.trigger("removeLoading")})},preRender:function(){this.options.appState.trigger("loading",!0)},trapAuthResponse:function(){return this.options.appState.trigger("loading",!1),!1}}),hIe=mn.extend({className:"recovery-question",Model:{props:{answer:["string",!0],showAnswer:"boolean"},save:function(){return this.doTransaction(function(e){return e.answer({answer:this.get("answer")})})}},Form:{autoSave:!0,save:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return _("password.forgot.question.submit","login");case"UNLOCK":return _("account.unlock.question.submit","login");default:return _("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return _("password.forgot.question.title","login");case"UNLOCK":return _("account.unlock.question.title","login");default:return""}},formChildren:function(){return[st.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:_("mfa.challenge.answer.placeholder","login"),name:"answer",input:nr,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",function(){const e=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(e)})}}),st.Input({label:!1,"label-top":!0,placeholder:_("mfa.challenge.answer.showAnswer","login"),className:"recovery-question-show margin-btm-0",name:"showAnswer",type:"checkbox"})]}},initialize:function(){this.settings.get("features.hideBackToSignInForReset")||this.addFooter(rv)}}),fIe=mn.extend({className:"refresh-auth-state",Model:{},Form:{noButtonBar:!0},preRender:function(){const e=this.options.appState,n=this.options.token;this.model.startTransaction(function(t){return e.trigger("loading",!0),n?t.tx.introspect({stateToken:n}):t.tx.exists()?t.tx.resume():void e.trigger("navigate","")})},remove:function(){return this.options.appState.trigger("loading",!1),mn.prototype.remove.apply(this,arguments)}}),pIe=mn.extend({events:{"click .back-btn":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(Re.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})}
1,Form:{noButtonBar:!0,formChildren:function(){return[st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div class="container"><span class="title-icon icon icon-16 confirm-16-green"></span><h2 class="title">'+c(typeof(o=null!=(o=u(t,"title")||(null!=n?u(n,"title"):n))?o:a)===l?o.call(s,{name:"title",hash:{},data:r,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):o)+'</h2><div class="desc">'+c(typeof(o=null!=(o=u(t,"desc")||(null!=n?u(n,"desc"):n))?o:a)===l?o.call(s,{name:"desc",hash:{},data:r,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):o)+'</div></div><a href="#" class="back-btn" data-se="back-link">'+c((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:_("registration.complete.confirm.text","login"),title:_("registration.complete.title","login")}}})})]}}}),mIe=sm.extend({constructor:function(e){this.settings=e&&e.settings,_r.apply(this,arguments)},loginWithActivationToken:function(e){return this.startTransaction(function(n){return n.signInWithCredentials({token:e})})}});let{BaseSchema:d7,SchemaProperty:h7}=ji.models;const gIe=h7.Collection.extend({createModelProperties:function(){const e=h7.Collection.prototype.createModelProperties.apply(this);return m.each(e,function(n,t){n.required=!!this.get(t).get("required")},this),e}});var yIe=d7.Model.extend({expand:["schema"],constructor:function(){this.properties=new gIe,Hi.apply(this,arguments)},parse:function(e){const n=i=>{const r=i.schema.required;m.isArray(r)&&m.each(r,function(s){const a=this.properties.get(s);a&&a.set("required",!0)},this);const o=i.schema.fieldOrder;return m.isArray(o)&&(m.each(o,function(s,a){const l=this.properties.get(s);l&&l.set("sortOrder",a)},this),this.properties.comparator="sortOrder",this.properties.sort()),this.properties.defaultPolicyId=i.policyId,i},t=this;this.settings.parseRegistrationSchema(e,function(i){i.profileSchema&&(i.schema=i.profileSchema,d7.Model.prototype.parse.apply(t,[i]),i=n(i)),t.trigger("parseComplete",{properties:t.properties})},function(i){t.trigger("parseComplete",{properties:t.properties,error:i})})}});const vIe=Ee.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="default-schema"><span class="icon icon-16"></span>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"message")||(null!=n?s(n,"message"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"message",hash:{},data:r,loc:{start:{line:1,column:60},end:{line:1,column:71}}}):o)+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}});var _Ie=Ee.extend({className:"subschema",children:function(){return this.subSchemas.map(function(e,n){const i=e.get("description");return vIe.extend({index:n,message:i})})}});const bIe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});var wIe=Tl.extend({className:"registration",initialize:function(){const n=new(yIe.extend({settings:this.options.settings,url:this.options.settings.get("baseUrl")+"/api/v1/registration/form"}));this.state.set("schema",n)},getRegistrationApiUrl:function(){const e=this.settings.get("defaultPolicyId"),n=this.options.settings.get("policyId");return this.getRegistrationPolicyApi(e||n)},getRegistrationPolicyApi:function(e){return this.options.settings.get("baseUrl")+"/api/v1/registration/"+e},doPostSubmit:function(){if(this.model.get("activationToken")){const e=this;e.settings.callGlobalSuccess(Re.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")}),new mIe({settings:e.model.appState.settings}).loginWithActivationToken(this.model.get("activationToken")).then(function(t){e.model.trigger("setTransaction",t)})}else this.model.appState.set("username",this.model.get("email")),this.model.appState.trigger("navigate","signin/register-complete")},registerUser:function(e){const n=this;Object.keys(e).forEach(t=>(m.isNull(e[t])||m.isUndefined(e[t])||""===e[t])&&delete e[t]),this.model.attributes=e,Ri.Model.prototype.save.call(this.model).then(function(){n.model.trigger("startSaving");const i=n.model.get("activationToken")||n.model.get("email");n.settings.postRegistrationSubmit(i,function(){n.doPostSubmit()},function(r){n.showErrors(r)})}).fail(t=>{const i=t.responseJSON;if(i&&i.errorCauses.length){const{errorCode:r,errorCauses:o}=i,{errorSummary:s,reason:a,location:l}=o[0];"E0000001"===r&&"UNIQUE_CONSTRAINT"===a&&this.renderIsNotUniqueError(i),this.renderLegacyLocationErrorIfNeeded(l,s),wt.triggerAfterError(this,new G9(s))}})},renderIsNotUniqueError:function(e){const{location:n}=e.errorCauses[0],t=_("registration.error.userName.notUniqueWithinOrg","login",[n]);this.$el.find(".okta-form-infobox-error p").text(t)},renderLegacyLocationErrorIfNeeded:function(e,n){e&&/^data\.userProfile.*/.test(e)&&this.$el.find(".okta-form-infobox-error p").text(n)},createRegistrationModel:function(e){const n=this,t=_r.extend({url:n.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:e,local:{activationToken:"string"},toJSON:function(){return{userProfile:_r.prototype.toJSON.apply(this,arguments),relayState:this.settings.get("relayState")}},parse:function(i){return this.set("activationToken",i.activationToken),delete i.activationToken,i},save:function(){this.settings.preRegistrationSubmit(this.attributes,function(i){n.registerUser(i)},function(i){n.showErrors(i)})}});return new t},showErrors:function(e,n){"parseRegistrationSchema"===e.callback&&e.errorCauses&&(e.errorSummary=m.clone(e.errorCauses[0].errorSummary),delete e.errorCauses),this.model.trigger("error",this.model,{responseJSON:e}),wt.triggerAfterError(this,new G9(e.callback?e.callback+":"+e.errorSummary:e.errorSummary)),n&&this.$el.find(".button-primary").hide()},fetchInitialData:function(){const e=this;return e.state.get("schema").on("parseComplete",function(n){const t=n.properties.createModelProperties();e.settings.set("defaultPolicyId",n.properties.defaultPolicyId),e.model=e.createRegistrationModel(t);
1const r=new(Fo.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:_("registration.form.title","login"),save:_("registration.form.submit","login"),modelEvents:{invalid:"modifyErrors"},hasSavingState:!0,customSavingState:{start:"startSaving",stop:"stopSaving"},modifyErrors:function(o,s){for(let a in s)"model.validation.field.string.minLength"===s[a]?s[a]=_("registration.model.validation.field.string.too.short","login",[o.props[a].minLength]):"model.validation.field.string.maxLength"===s[a]&&(s[a]=_("registration.model.validation.field.string.too.long","login",[o.props[a].maxLength+1]))}}))(e.toJSON());if(e.add(r),e.footer=new e.Footer(e.toJSON()),e.add(e.footer),e.addListeners(),n.error)e.showErrors(n.error,!0);else{n.properties.each(function(s){const a=Jj_createInputOptions(s),l=s.get("subSchemas"),c=s.get("name");r.addInput(a),"password"===c&&l&&r.add(_Ie.extend({id:"subschemas-"+c,subSchemas:l}))});const o=se.template({compiler:[8,">= 4.3.0"],main:function(s,a,l,c,u){var d,f=s.lookupProperty||function(y,b){if(Object.prototype.hasOwnProperty.call(y,b))return y[b]};return'<span class="required-fields-label">'+s.escapeExpression("function"==typeof(d=null!=(d=f(l,"label")||(null!=a?f(a,"label"):a))?d:s.hooks.helperMissing)?d.call(a??(s.nullContext||{}),{name:"label",hash:{},data:u,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):d)+"</span>"},useData:!0})({label:_("registration.required.fields.label","login")});r.add(o)}}),Tr()(this.state.get("schema").fetch())},Footer:bIe});const CIe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"account.unlock.noFactorsEnabled"},data:r,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),SIe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:r,loc:{start:{line:1,column:173},end:{line:1,column:223}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:95}}}))+"</a>"+(null!=(o=a(t,"if").call(s,null!=n?a(n,"helpSupportNumber"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:99},end:{line:1,column:234}}}))?o:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return this.settings.pick("helpSupportNumber")},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});var xIe=mn.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return vu.validateUsername(this)},save:function(){const e=this;return this.startTransaction(function(n){return n.unlockAccount({username:e.settings.transformUsername(e.get("username"),Re.UNLOCK_ACCOUNT),factorType:e.get("factorType")})}).catch(function(){})}},Form:{noButtonBar:!0,title:m.partial(_,"account.unlock.title","login"),formChildren:function(){const e=this.settings.get("features.smsRecovery"),n=this.settings.get("features.callRecovery"),t=this.settings.get("features.emailRecovery"),r=[],o=this;return e||n||t?(r.push(st.Input({label:_("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:wt.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:nr,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||n)&&r.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(s,a,l,c,u){var d=s.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<p class="mobile-recovery-hint">'+s.escapeExpression((d(l,"i18n")||a&&d(a,"i18n")||s.hooks.helperMissing).call(a??(s.nullContext||{}),{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:u,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}
1),getTemplateData:function(){let s;return s=_(e&&n?"recovery.smsOrCall":n?"recovery.call":"recovery.sms"),{mobileFactors:s}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),r.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",Re.RECOVERY_FACTOR_TYPE_SMS,o)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_SMS)),n&&(this.$el.addClass("forgot-password-call-enabled"),r.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",Re.RECOVERY_FACTOR_TYPE_CALL,o)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_CALL)),t&&(this.$el.addClass("forgot-password-email-enabled"),r.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",Re.RECOVERY_FACTOR_TYPE_EMAIL,o)),this.setDefaultFactorType(Re.RECOVERY_FACTOR_TYPE_EMAIL))):this.add(CIe,".o-form-error-container"),r},initialize:function(){this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()}),this.listenTo(this.state,"contactSupport",function(){this.add(Zj,".o-form-error-container")})},setDefaultFactorType:function(e){m.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,n,t,i){return st.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:_(n,"login"),click:function(){i.clearErrors(),this.model.isValid()&&(this.model.set("factorType",t),i.trigger("save",this.model))}})}},Footer:SIe}),EIe=mn.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:m.partial(_,"account.unlock.emailSent.title","login"),subtitle:function(){const e=this.options.appState.get("username");return _("account.unlock.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[st.Button({title:_("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(e){this.settings.callGlobalSuccess(Re.UNLOCK_ACCOUNT_EMAIL_SENT,{username:e.appState.get("username")})}});const{Util:kIe}=ji.util;var tP=mn.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){const e=xn.getRememberDeviceValue(this.appState);this.set("rememberDevice",e),this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.appState.get("lastFailedChallengeFactorData")&&(this.set("provider","CUSTOM"),this.set("factorType","claims_provider"),this.save())},save:function(){const e=!!this.get("rememberDevice");return this.manageTransaction((n,t)=>{const i={rememberDevice:e};return m.findWhere(n.factors,{provider:this.get("provider"),factorType:this.get("factorType")}).verify(i).then(o=>{t(o);const s=this.appState.get("verifyCustomFactorRedirectUrl");null!==s&&kIe.redirect(s)}).catch(function(o){throw o})})}},Form:function(){const t=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName"),i=_("mfa.challenge.verify","login"),r=this.options.appState.get("lastFailedChallengeFactorData");let o=_("verify.customFactor.subtitle","login",[t]);return this.settings.get("features.skipIdpFactorVerificationBtn")&&!r&&(o=_("verify.customFactor.subtitle.redirect","login",[t]),this.listenTo(this.model,"error",()=>{o=_("verify.customFactor.subtitle","login",[t]),this.$(".o-form-explain").text(o)})),{autoSave:!0,title:t,save:i,subtitle:o,attributes:{"data-se":"factor-custom"},initialize:function(){this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})},formChildren:function(){const s=[],a=this.options.appState.get("lastFailedChallengeFactorData");return this.settings.get("features.skipIdpFactorVerificationBtn")&&!a&&s.push(st.View({View:'<div data-se="custom-factor-waiting" class="okta-waiting-spinner"></div>'})),a&&s.push(st.View({View:new Al({message:a.errorMessage})},{selector:".o-form-error-container"})),s}}},postRender:function(){this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.options.appState.get("lastFailedChallengeFactorData")&&(this.$(".o-form-button-bar").hide(),this.$(".okta-waiting-spinner").show())},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType),this.settings.get("features.skipIdpFactorVerificationBtn")&&this.listenTo(this.model,"error",()=>{this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}),this.addFooter(lm)}}),TIe=mn.extend({className:"mfa-verify-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string",rememberDevice:"boolean"},initialize:function(){const e=xn.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},getInitOptions:function(){const e=!!this.get("rememberDevice");return this.doTransaction(function(n){const t={rememberDevice:e};return m.findWhere(n.factors,{provider:"DUO",factorType:"web"}
1).verify(t).catch(function(r){throw r})},!0)},verify:function(e){const n=this.get("postAction"),t=this.get("factorId"),i=this;let r={id:t,stateToken:this.get("stateToken"),sig_response:e};const o=this.get("rememberDevice");return Tr()(Qt.post(n,r)).then(function(){return i.doTransaction(function(s){let a;return o&&(a={rememberDevice:o}),s.poll(a)})}).catch(function(s){i.trigger("error",i,s.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:m.partial(_,"factor.duo"),attributes:{"data-se":"factor-duo"},postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),zI.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:m.bind(this.model.verify,this.model)})}},fetchInitialData:function(){const e=this;return this.model.getInitOptions().then(function(n){const t=n.data;if(!(t._embedded&&t._embedded.factor&&t._embedded.factor._embedded&&t._embedded.factor._embedded.verification))throw new Error("Response does not have duo verification options");const i=t._embedded.factor._embedded.verification;e.model.set({host:i.host,signature:i.signature,postAction:i._links.complete.href,factorId:t._embedded.factor.id,stateToken:t.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},Footer:lm});let{Util:AIe}=ji.util;var MIe=mn.extend({className:"piv-cac-card",Model:{save:function(){var e=V(function*(){this.trigger("request");const n=this,t=this.settings.get("piv"),i={fromURI:this.settings.get("relayState"),isCustomDomain:t.isCustomDomain,customDomain:t.customDomain};try{yield this.getCert(t.certAuthUrl);const r=yield this.postCert(t.certAuthUrl,i);AIe.redirect(r.redirectUrl)}catch(r){m.isEmpty(r.responseJSON)&&!r.responseText&&(r.responseJSON={errorSummary:_("piv.cac.error","login")}),n.trigger("error",n,r)}});return function(){return e.apply(this,arguments)}}(),getCert:function(e){return Qt.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,n){return Qt.post({url:e,xhrFields:{withCredentials:!0},data:JSON.stringify(n),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:m.partial(_,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:m.partial(_,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="piv-verify-text"><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"piv.cac.card.insert"},data:r,loc:{start:{line:1,column:32},end:{line:1,column:82}}}))+'</p><div data-se="piv-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})})],_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()},postRender:function(){m.defer(()=>{this.model.save()})}},back:function(){},Footer:WI}),OIe=mn.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){const e=xn.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){return this.trigger("request"),this.doTransaction(function(e){let n;n=e.factorTypes?m.findWhere(e.factorTypes,{factorType:"u2f"}):m.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"});const t=this;return n.verify().then(function(i){let r,o,s;if(i.factors){const l=i.factors;o=l[0].profile.appId,s=i.challenge.nonce,r=function DIe(e){const n=[];return m.each(e,function(t){n.push({version:t.profile.version,keyHandle:t.profile.credentialId})}),n}(l)}else{const l=i.factor;o=l.profile.appId,s=l.challenge.nonce,r=[{version:Qo.getU2fVersion(),keyHandle:l.profile.credentialId}]}t.trigger("request");const a=Tr().defer();return u2f.sign(o,s,r,function(l){if(t.trigger("errors:clear"),!l.errorCode||0===l.errorCode){const c=!!t.get("rememberDevice");return n.verify({clientData:l.clientData,signatureData:l.signatureData,rememberDevice:c}).then(a.resolve)}{const c=1===t.options.appState.get("factors").length;a.reject(new q9({xhr:{responseJSON:{errorSummary:Qo.getU2fVerifyErrorMessageByCode(l.errorCode,c)}}}))}}),a.promise})}).catch(()=>{})}},Form:{autoSave:!0,hasSavingState:!1,title:m.partial(_,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:m.partial(_,"verify.u2f.retry","login"),noButtonBar:function(){return!Qo.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){const e=[];
1if(Qo.isU2fAvailable())e.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=t??(n.nullContext||{}),a=n.hooks.helperMissing,l=n.escapeExpression,c=n.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="u2f-verify-text"><p>'+l((c(i,"i18n")||t&&c(t,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructions"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:86}}}))+"</p><p>"+l((c(i,"i18n")||t&&c(t,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:93},end:{line:1,column:156}}}))+'</p><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{let n="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="u2f.error.factorNotSupported.oneFactor"),e.push(st.View({View:new Al({message:_(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(st.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){m.defer(()=>{Qo.isU2fAvailable()?this.model.save():this.$('[data-se="u2f-waiting"]').addClass("hide")})},_startEnrollment:function(){this.$(".okta-waiting-spinner").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").addClass("hide"),this.$(".o-form-button-bar").show()}},back:function(){},Footer:lm});function f7(e){const n=[];return m.each(e,function(t){n.push({type:"public-key",id:ir.strToBin(t.profile.credentialId)})}),n}var IIe=mn.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){const e=xn.getRememberDeviceValue(this.appState);this.set("rememberDevice",e),this.appState.on("factorSwitched signOut",()=>{this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)})},save:function(){return this.trigger("request"),this.doTransaction(function(e){let n;n=e.factorTypes?m.findWhere(e.factorTypes,{factorType:"webauthn"}):m.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});const t=this;return n.verify().then(function(i){let r,o;if(i.factors)o=i.challenge,r=f7(i.factors);else{const a=i.factor;o=a.challenge,r=f7([a])}t.trigger("request");const s=m.extend({},o,{allowCredentials:r,challenge:ir.strToBin(o.challenge)});return typeof AbortController<"u"&&(t.webauthnAbortController=new AbortController),new(Tr())(navigator.credentials.get({publicKey:s,signal:t.webauthnAbortController&&t.webauthnAbortController.signal})).then(function(a){const l=!!t.get("rememberDevice");return n.verify({clientData:ir.binToStr(a.response.clientDataJSON),authenticatorData:ir.binToStr(a.response.authenticatorData),signatureData:ir.binToStr(a.response.signature),rememberDevice:l})}).catch(function(a){throw t.trigger("errors:clear"),t.webauthnAbortController?new W9({xhr:{responseJSON:{errorSummary:a.message}}}):new K9}).finally(function(){t.webauthnAbortController=null})})}).catch(()=>{})}},Form:{autoSave:!0,hasSavingState:!1,title:m.partial(_,"factor.webauthn.biometric","login"),className:"verify-webauthn-form",noCancelButton:!0,save:m.partial(_,"mfa.challenge.verify","login"),noButtonBar:function(){return!zi.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){const e=[];if(zi.isNewApiAvailable())e.push(st.View({View:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=n.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="webauthn-verify-text"><p>'+n.escapeExpression((s(i,"i18n")||t&&s(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:106}}}))+'</p><div data-se="webauthn-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0}
1)})}));else{let n="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(st.View({View:new Al({message:_(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(st.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$('.o-form-button-bar [type="submit"]')[0].value=_("verify.u2f.retry","login"),this.$(".o-form-button-bar").show()}},postRender:function(){m.defer(()=>{zi.isNewApiAvailable()&&!mi.isSafari()&&this.model.save()})},back:function(){},Footer:lm}),PIe=mn.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(!zi.isAvailable())return;this.trigger("request");const e=this;return this.doTransaction(function(n){const t=m.findWhere(n.factors,{factorType:"webauthn",provider:"FIDO"});return t.verify().then(function(i){const r=i.factor;return zi.getAssertion(r.challenge.nonce,[{id:r.profile.credentialId}]).then(function(o){return t.verify({authenticatorData:o.authenticatorData,clientData:o.clientData,signatureData:o.signature})}).then(function(o){return e.trigger("sync"),e.trigger("signIn"),o}).catch(function(o){switch(o.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return e.trigger("abort",o.message),n}throw o})})})}},Form:{autoSave:!0,hasSavingState:!1,title:m.partial(_,"factor.windowsHello","login"),subtitle:function(){return zi.isAvailable()?_("verify.windowsHello.subtitle","login"):""},save:m.partial(_,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return zi.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!zi.isAvailable()},formChildren:function(){const e=[];return zi.isAvailable()||e.push(st.View({View:new Al({message:_("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(st.View({View:new KI({model:this.model,visible:!1})})),e},postRender:function(){1===this.options.appState.get("factors").length&&!this.model.get("__autoTriggered__")&&(this.model.set("__autoTriggered__",!0),this.model.save())},_startEnrollment:function(){this.subtitle=_("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){let n;switch(this.subtitle=_("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide"),e){case"NotFoundError":n=this.options.appState.get("factors").length>1?_("verify.windowsHello.error.notFound.selectAnother","login"):_("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":n=_("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),n){const t=new Al({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(t,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?_("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):_("verify.windowsHello.subtitle.signingIn.generic","login"),this.render(),this.$(".o-form-button-bar").addClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},back:function(){},Footer:lm}),RIe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"goback"},data:r,loc:{start:{line:1,column:66},end:{line:1,column:103}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"showLink"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:114}}}))?o:""},useData:!0}
1),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",Re.DIRECTION_BACK),this.options.appState.trigger("navigate","")},getTemplateData:function(){const e=this.model.appState.get("flashError");return{showLink:e.is&&e.is("terminal")}}}),NIe=mn.extend({className:"error-state",Model:{},Form:{noButtonBar:!0},Footer:RIe});const nP="/img/security/default.png",p7="/img/security/unknown-device.png";function BIe(e,n){return`${e}/login/getimage?username=${encodeURIComponent(n)}`}var GIe=_r.extend({initialize:function(){if(this.settings.get("features.securityImage")){const e=this;this.listenTo(this,"change:username",function(n,t){(function UIe(e,n,t){if(m.isEmpty(n)||m.isUndefined(n))return Tr()({securityImage:nP,securityImageDescription:""});const r={url:BIe(e,n),dataType:"json"};return t&&(r.headers={"X-Device-Fingerprint":t}),Tr()(Qt.ajax(r)).then(function(o){return"/img/security/unknown.png"===o.pwdImg?{securityImage:p7,securityImageDescription:""}:{securityImage:o.pwdImg,securityImageDescription:o.imageDescription||""}})})(this.get("baseUrl"),t,this.get("deviceFingerprint")).then(function(i){n.set("securityImage",i.securityImage),n.set("securityImageDescription",i.securityImageDescription),n.unset("deviceFingerprint")}).fail(function(i){mi.corsIsNotEnabled(i)?e.settings.callGlobalError(new HO(_("error.enabled.cors"))):e.settings.callGlobalError(new Error(`Failed to fetch security image: ${i.statusText}`))}).done()})}},local:{baseUrl:"string",lastAuthResponse:["object",!0,{}],transaction:"object",transactionError:"object",username:"string",factors:"object",policy:"object",securityImage:["string",!0,nP],securityImageDescription:["string",!0,""],userCountryCode:"string",userPhoneNumber:"string",factorActivationType:"string",flashError:"object",beaconType:"string",deviceFingerprint:"string",typingPattern:"string",languageCode:["string",!0],disableUsername:["boolean",!1,!1],trapMfaRequiredResponse:["boolean",!1,!1],lastFailedChallengeFactorData:["object",!1]},setAuthResponse:function(e){if(e._embedded&&e._embedded.policy&&this.set("policy",e._embedded.policy),e._embedded&&e._embedded.factors){let n=e._embedded.factors;e._embedded.factorTypes&&(n=function zIe(e,n){const t=[],i=[];return m.each(n,function(r){const o=r.factorType;if(!m.contains(t,o)){const s=m.findWhere(e,{factorType:o});s?(t.push(o),i.push(s)):i.push(r)}}),i}(e._embedded.factorTypes,n));const t=m.map(n,i=>(i.settings=this.settings,i.appState=this,i));this.set("factors",new d0.Collection(t,{parse:!0}))}this.set("lastAuthResponse",e)},clearLastAuthResponse:function(){this.set("lastAuthResponse",{})},setLastFailedChallengeFactorData:function(){this.set("lastFailedChallengeFactorData",{factor:this.get("factor"),errorMessage:this.get("factorResultErrorMessage")})},clearLastFailedChallengeFactorData:function(){this.unset("lastFailedChallengeFactorData")},getUser:function(){return this.get("user")},derived:{isSuccessResponse:{deps:["lastAuthResponse"],fn:function(e){return"SUCCESS"===e.status}},isMfaRequired:{deps:["lastAuthResponse"],fn:function(e){return"MFA_REQUIRED"===e.status||"FACTOR_REQUIRED"===e.status}},isProfileRequired:{deps:["lastAuthResponse"],fn:function(e){return"PROFILE_REQUIRED"===e.status}},isMfaEnroll:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL"===e.status||"FACTOR_ENROLL"===e.status}},isMfaChallenge:{deps:["lastAuthResponse"],fn:function(e){return"MFA_CHALLENGE"===e.status||"FACTOR_CHALLENGE"===e.status}},isSMSPasswordRecovery:{deps:["lastAuthResponse"],fn:function({status:e,factorType:n,recoveryType:t}){return"RECOVERY_CHALLENGE"===e&&"sms"===n?.toLowerCase()&&"password"===t?.toLowerCase()}},isUnauthenticated:{deps:["lastAuthResponse"],fn:function(e){return"UNAUTHENTICATED"===e.status}},isMfaRejected:{deps:["lastAuthResponse"],fn:function(e){return"REJECTED"===e.factorResult}},isMfaTimeout:{deps:["lastAuthResponse"],fn:function(e){return"TIMEOUT"===e.factorResult}},isMfaEnrollActivate:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL_ACTIVATE"===e.status||"FACTOR_ENROLL_ACTIVATE"===e.status}},isWaitingForActivation:{deps:["isMfaEnrollActivate","lastAuthResponse"],fn:function(e,n){return e&&"WAITING"===n.factorResult}},isWaitingForNumberChallenge:{deps:["lastAuthResponse","isMfaChallenge"],fn:function(e,n){return!!(n&&e&&"WAITING"===e.factorResult&&e._embedded&&e._embedded.factor&&e._embedded.factor._embedded&&e._embedded.factor._embedded.challenge)}},hasMultipleFactorsAvailable:{deps:["factors","isMfaRequired","isMfaChallenge","isUnauthenticated"],fn:function(e,n,t,i){return!!(n||t||i)&&e&&e.length>1}},promptForFactorInUnauthenticated:{deps:["lastAuthResponse","factors"],fn:function(e,n){return"UNAUTHENTICATED"===e.status&&n&&n.length>0}},userId:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user.id:null}},isIdxStateToken:{deps:["lastAuthResponse"],fn:function(e){return e&&m.isString(e.stateToken)&&e.stateToken.startsWith("01")}},isPwdExpiringSoon:{deps:["lastAuthResponse"],fn:function(e){return"PASSWORD_WARN"===e.status}},passwordExpireDays:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.policy&&e._embedded.policy.expiration?e._embedded.policy.expiration.passwordExpireDays:null}},isPwdManagedByOkta:{deps:["lastAuthResponse"],fn:function(e){return!e._links||!e._links.next||!e._links.next.title}},passwordExpiredWebsiteName:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title?e._links.next.title:null}},passwordExpiredLinkUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title&&e._links.next.href?e._links.next.href:null}},recoveryType:{deps:["lastAuthResponse"],fn:function(e){return e.recoveryType}},factorType:{deps:["lastAuthResponse"],fn:function(e){return e.factorType}},factor:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.factor?e._embedded.factor:null}},activatedFactorId:{deps:["factor"],fn:function(e){return e?e.id:null}},activatedFactorType:{deps:["factor"],fn:function(e){return e?e.factorType:null}},activatedFactorProvider:{deps:["factor"],fn:function(e){return e?e.provider:null}},qrcode:{deps:["factor"],fn:function(e){try{return e._embedded.activation._links.qrcode.href}catch{return null}}},activationSendLinks:{deps:["factor"],fn:function(e){let n;try{n=e._embedded.activation._links.send}catch{n=[]}return n}},textActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){const n=m.findWhere(e,{name:"sms"});return n?n.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){const n=m.findWhere(e,{name:"email"});return n?n.href:null}},sharedSecret:{deps:["factor"],fn:function(e){try{return e._embedded.activation.sharedSecret}catch{return null}}},duoEnrollActivation:{deps:["factor"],fn:function(e){return e&&e._embedded&&e._embedded.activation?e._embedded.activation:null}},prevLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.prev?e._links.prev.href:null}},skipLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.skip?e._links.skip.href:null}},gracePeriodRemainingDays:{deps:["policy"],fn:function(e){return e&&e.gracePeriod&&e.gracePeriod.endDate?function jIe(e){const n=new Date(e).getTime();return Math.floor((n-(new Date).getTime())/864e5)}(e.gracePeriod.endDate):null}},user:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user:null}},recoveryQuestion:{deps:["user"],fn:function(e){return e&&e.recovery_question?e.recovery_question.question:null}},userProfile:{deps:["user"],fn:function(e){return e&&e.profile?e.profile:null}},userConsentName:{deps:["userProfile","username"],fn:function(e,n){return!e||m.isEmpty(e.firstName)?n:m.isEmpty(e.lastName)?e.firstName:e.firstName+" "+e.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(e){return e&&e.login?e.login:null}},userFullName:{deps:["userProfile"],fn:function(e){return e&&(e.firstName||e.lastName)?e.firstName+" "+e.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(e){return e+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(e){return e.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.target:null}},targetLabel:{deps:["target"],fn:function(e){return e?e.label:null}}
1,targetLogo:{deps:["target"],fn:function(e){return e&&e._links?e._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(e){return e&&e._links?e._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(e){return e&&e._links?e._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(e){return e&&e._links?e._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.scopes:null}},issuer:{deps:["lastAuthResponse"],fn:function(e){var n,t,i;return null==e||null===(n=e._embedded)||void 0===n||null===(t=n.authentication)||void 0===t||null===(i=t.issuer)||void 0===i?void 0:i.uri}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;const t=m.findWhere(e._embedded.factors,{factorType:"sms",provider:"OKTA"});return!(!t||!t._embedded||!t._embedded.phones.length)}},hasExistingPhonesForCall:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;const t=m.findWhere(e._embedded.factors,{factorType:"call",provider:"OKTA"});return!(!t||!t._embedded||!t._embedded.phones.length)}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===nP}},isNewUser:{deps:["securityImage"],fn:function(e){return e===p7}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(e){if(e&&e.rememberDeviceLifetimeInMinutes>0){const n=function HIe(e){return e>60&&e<=1440?_("hours","login",[e/60]):e>1440?_("days","login",[e/1440]):1===e?_("minutes.oneMinute","login"):_("minutes","login",[e])}(e.rememberDeviceLifetimeInMinutes);return _("rememberDevice.timebased","login",[n])}return _(e&&0===e.rememberDeviceLifetimeInMinutes?"rememberDevice.devicebased":"rememberDevice","login")}},rememberDeviceByDefault:{deps:["policy"],fn:function(e){return e&&e.rememberDeviceByDefault}},factorsPolicyInfo:{deps:["policy"],fn:function(e){return e&&e.factorsPolicyInfo?e.factorsPolicyInfo:null}},verifyCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"redirect"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},enrollCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"activate"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},isFactorResultFailed:{deps:["lastAuthResponse"],fn:function(e){return"FAILED"===e.factorResult}},factorResultErrorMessage:{deps:["lastAuthResponse","isFactorResultFailed"],fn:function(e,n){return n?e.factorResultMessage||_("oform.error.unexpected","login"):null}},deviceActivationStatus:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.deviceActivationStatus:null}},usingDeviceFlow:{deps:["lastAuthResponse"],fn:function(e){return!(!e._embedded||!e._embedded.usingDeviceFlow)}},userCode:{deps:["lastAuthResponse"],fn:function(e){var n;return null==e||null===(n=e._embedded)||void 0===n?void 0:n.userCode}}},parse:function(e){return this.settings=e.settings,m.extend(m.omit(e,"settings"),{languageCode:this.settings.get("languageCode"),userCountryCode:this.settings.get("countryCode")})}}),g7_SUPPORTED_SOCIAL_IDPS=["facebook","google","linkedin","microsoft","apple","github","gitlab","yahoo","line","paypal","paypal_sandbox","salesforce","amazon","yahoojp","discord","adobe","orcid","spotify","xero","quickbooks"];const y7=(e,n)=>{const t=e.get("languageCode")||n.get("languageCode")||gc.defaultLanguage,i=n.get("i18n"),r=n.get("assets.baseUrl"),o=n.get("assets.rewrite"),s=n.get("supportedLanguages"),a=setTimeout(function(){e.trigger("loading",!0)},200);return So.loadLanguage(t,i,{baseUrl:r,rewrite:o},s).then(function(){clearTimeout(a),e.trigger("loading",!1),e.trigger("removeLoading")})},v7=ji.util.Util,WIe=se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"https://global.oktacdn.com/okta-signin-widget/"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"version")||(null!=n?s(n,"version"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"version",hash:{},data:r,loc:{start:{line:1,column:46}
1,end:{line:1,column:57}}}):o)},useData:!0}),KIe={authClient:["object",!1,void 0],baseUrl:["string",!0],recoveryToken:["string",!1,void 0],stateToken:["string",!1,void 0],username:["string",!1],relayState:["string",!1],signOutLink:["string",!1],backToSignInLink:["string",!1],redirect:{type:"string",values:["never","always","auto"],value:"auto"},flow:["string",!1,"default"],transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",hooks:"object",logo:"string",logoText:["string",!1],helpSupportNumber:"string",proxyIdxResponse:["object",!1],overrideExistingStateToken:["boolean",!1,!1],"features.router":["boolean",!0,!1],"features.securityImage":["boolean",!0,!1],"features.rememberMe":["boolean",!0,!0],"features.autoPush":["boolean",!0,!1],"features.smsRecovery":["boolean",!0,!1],"features.callRecovery":["boolean",!0,!1],"features.emailRecovery":["boolean",!1,!0],"features.webauthn":["boolean",!0,!1],"features.selfServiceUnlock":["boolean",!0,!1],"features.multiOptionalFactorEnroll":["boolean",!0,!1],"features.deviceFingerprinting":["boolean",!1,!1],"features.hideSignOutLinkInMFA":["boolean",!1,!1],"features.skipIdpFactorVerificationBtn":["boolean",!1,!1],"features.hideBackToSignInForReset":["boolean",!1,!1],"features.customExpiredPassword":["boolean",!0,!1],"features.registration":["boolean",!1,!1],"features.idpDiscovery":["boolean",!1,!1],"features.passwordlessAuth":["boolean",!1,!1],"features.showPasswordToggleOnSignInPage":["boolean",!1,!1],"features.trackTypingPattern":["boolean",!1,!1],"features.redirectByFormSubmit":["boolean",!1,!1],"features.useDeviceFingerprintForSecurityImage":["boolean",!1,!0],"features.showPasswordRequirementsAsHtmlList":["boolean",!1,!1],"features.mfaOnlyFlow":["boolean",!1,!1],"features.scrollOnError":["boolean",!1,!0],"features.showKeepMeSignedIn":["boolean",!1,!0],"features.showIdentifier":["boolean",!1,!0],"features.autoFocus":["boolean",!1,!0],"features.sameDeviceOVEnrollmentEnabled":["boolean",!1,!1],"features.showSessionRevocation":["boolean",!1,!1],"features.disableAutocomplete":["boolean",!1,!1],defaultCountryCode:["string",!1,"US"],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:m.identity},"assets.languages":["array",!1],issuer:"string",clientId:"string",redirectUri:"string",state:"string",nonce:"string",scopes:"array",codeChallenge:"string",codeChallengeMethod:["string",!1],oAuthTimeout:["number",!1],authScheme:["string",!1,"OAUTH2"],idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},initialPopupPath:["string",!1],"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array","helpLinks.factorPage.href":"string","helpLinks.factorPage.text":"string","helpLinks.gracePeriodRequiredSoon.href":"string","helpLinks.gracePeriodRequiredSoon.text":"string",customButtons:["array",!1,[]],policyId:"string","registration.click":"function","registration.parseSchema":"function","registration.preSubmit":"function","registration.postSubmit":"function","consent.cancel":"function","idpDiscovery.requestContext":"string","colors.brand":"string",cspNonce:"string",brandName:"string",piv:["object",!1,{}],otp:"string",useClassicEngine:["boolean",!1,!1],"hcaptcha.scriptSource":["string",!1],"hcaptcha.scriptParams":["object",!1,{}],"recaptcha.scriptSource":["string",!1]},YIe={backToSignInUri:{deps:["backToSignInLink","signOutLink"],fn:function(e,n){return e||n}},showPasswordToggle:{deps:["features.showPasswordToggleOnSignInPage"],fn:function(){var e,n,t,i;return(null!==(e=null===(n=this.options)||void 0===n||null===(t=n.features)||void 0===t?void 0:t.showPasswordToggleOnSignInPage)&&void 0!==e?e:null===(i=this.options)||void 0===i?void 0:i["features.showPasswordToggleOnSignInPage"])??!0},cache:!0},redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(e){return e?wt.redirectWithFormGet.bind(wt):v7.redirect.bind(v7)},cache:!0},supportedLanguages:{deps:["i18n","language","assets.languages"],fn:function(e,n,t){return m.union(t||gc.supportedLanguages,m.keys(e),m.isString(n)?[n]:[])},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,n){const t=mi.getUserLanguages();t.forEach((l,c)=>{"nl"===l?t[c]="nl-NL":"pt"===l&&(t[c]="pt-BR")});const i=m.clone(t),r=wt.toLower(n);m.isString(e)?i.unshift(e):m.isFunction(e)&&i.unshift(e(n,t)),i.push(gc.defaultLanguage);const o=wt.toLower(wt.expandLanguages(i));let s,a;for(s=0;s<o.length;
1s++)if(a=r.indexOf(o[s]),a>-1)return n[a]}},languageTags:{deps:["language","supportedLanguages"],fn:(e,n)=>{const t=mi.getUserLanguages().map(u=>"nl"===u?"nl-nl":"pt"===u?"pt-br":u.toLowerCase()),i=new Map,r=u=>{if(!u)return;const[d]=u.split("-");if(i.has(d)){var f;const y=null!==(f=i.get(d))&&void 0!==f?f:new Set;y.add(u),i.set(d,y)}else i.set(d,new Set([u]))},o=t.filter(u=>n.some(d=>u.startsWith(d.toLowerCase())));let s;if(o.forEach(r),wt.expandLanguages(o).forEach(r),typeof e<"u"){if("string"==typeof e)s=e.toLowerCase();else if("function"==typeof e){var a;s=null===(a=e(n,t))||void 0===a?void 0:a.toLowerCase()}wt.expandLanguages([s]).forEach(r)}wt.expandLanguages([gc.defaultLanguage.toLowerCase()]).forEach(r);const l=[];if(s){var c;const[u]=s.split("-");l.push(...null!==(c=i.get(u))&&void 0!==c?c:[]),i.delete(u)}return i.forEach(u=>{l.push(...u)}),l}},countryCode:{deps:["defaultCountryCode"],fn:function(e){const n=ha_getCountries();return Object.keys(n).includes(e)?e:"US"}},mode:{deps:["codeChallenge"],fn:function(e){return e?"remediation":"relying-party"}},oauth2Enabled:{deps:["clientId","authScheme","authClient"],fn:function(e,n,t){return!e&&t&&(e=t.options.clientId),!!e&&"oauth2"===n.toLowerCase()},cache:!0},oauthRedirectUri:{deps:["redirectUri"],fn:function(e){if(e)return e;let n=window.location.origin;if(!n){const t=window.location.href,i=window.location.pathname;""!==i&&(n=t.substring(0,t.lastIndexOf(i)))}return encodeURI(n)}},configuredSocialIdps:{deps:["idps"],fn:function(e){return m.map(e,function(n){const t=m.clone(n);let i=t.type&&t.type.toLowerCase();return i&&m.contains(g7_SUPPORTED_SOCIAL_IDPS,i)||(i="general-idp",t.text=t.text||"{ Please provide a text value }"),t.className=["social-auth-button","social-auth-"+i+"-button ",t.className?t.className:""].join(" "),t.dataAttr="social-auth-"+i+"-button",t.i18nKey="socialauth."+i+".label",t})},cache:!0},hasPivCard:{deps:["piv"],fn:function(e){return e&&e.certAuthUrl},cache:!0},socialAuthPositionTop:{deps:["configuredSocialIdps","hasPivCard","idpDisplay"],fn:function(e,n,t){return(!m.isEmpty(e)||n)&&"PRIMARY"===t.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,n,t){return!m.isEmpty(e)||!m.isEmpty(n)||t},cache:!0}};class _7 extends _r{constructor(n,t){super(n,t),this.authClient=void 0;const i=this.getAuthClient();this.setAcceptLanguageHeader(i)}get(n){return _r.prototype.get.call(this,n)}preinitialize(...n){this.local=KIe,this.derived=YIe,_r.prototype.preinitialize.apply(this,n)}initialize(n){n=n||{};const{colors:t,authClient:i,flow:r}=n;let{baseUrl:o}=n;if(!o){if(i)o=i.getIssuerOrigin();else{var s;const{authParams:a}=n;let{issuer:l}=n;l=l||a?.issuer,o=null===(s=l)||void 0===s?void 0:s.split("/oauth2/")[0]}this.set("baseUrl",o)}i&&r&&i.idx.setFlow(r),o?t&&m.isString(t.brand)&&!t.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new ls(_("error.invalid.colors.brand"))):mi.corsIsNotSupported()&&this.callGlobalError(new HO(_("error.unsupported.cors"))):this.callGlobalError(new ls(_("error.required.baseUrl")))}setAcceptLanguageHeader(n){n&&n.http.setRequestHeader("Accept-Language",this.get("languageCode"))}setAuthClient(n){this.set("authClient",n),this.setAcceptLanguageHeader(n)}getAuthClient(){return this.get("authClient")}set(...n){try{return _r.prototype.set.apply(this,n)}catch(t){this.callGlobalError(new ls(t.message?t.message:t))}}callGlobalSuccess(n,t){const i=m.extend(t,{status:n});m.defer(m.partial(this.get("globalSuccessFn"),i))}callGlobalError(n){const t=this.get("globalErrorFn")||this.options.globalErrorFn;if(!t)throw n;t(n)}transformUsername(n,t){const i=this.get("transformUsername");return i&&m.isFunction(i)?i(n,t):n}processCreds(n){const t=this.get("processCreds");return Tr().Promise(function(i){m.isFunction(t)?2===t.length?t(n,i):(t(n),i()):i()})}parseRegistrationSchema(n,t,i){const r=this.get("registration.parseSchema");m.isFunction(r)?r(n,function(o){t(o)},function(o){(o=o||{errorSummary:_("registration.default.callbackhook.error")}).callback="parseSchema",i(o)}):t(n)}preRegistrationSubmit(n,t,i){const r=this.get("registration.preSubmit");m.isFunction(r)?r(n,function(o){t(o)},function(o){(o=o||{errorSummary:_("registration.default.callbackhook.error")}).callback="preSubmit",i(o)}):t(n)}postRegistrationSubmit(n,t,i){const r=this.get("registration.postSubmit");m.isFunction(r)?r(n,function(o){t(o)},function(o){(o=o||{errorSummary:_("registration.default.callbackhook.error")}).callback="postSubmit",i(o)}):t(n)}parse(n){if(n.labels||n.country){!function(e){Ja("warn",["[okta-signin-widget] DEPRECATED:",e])}('Use "i18n" instead of "labels" and "country"');const i=n.labels||{};m.each(n.country,function(r,o){i["country."+o]=r}),n.i18n={},m.each(gc.supportedLanguages,function(r){n.i18n[r]=i}),delete n.labels,delete n.country}n.assets||(n.assets={});const t=n.assets.baseUrl;return t?"/"===t[t.length-1]&&(n.assets.baseUrl=t.substring(0,t.length-1)):n.assets.baseUrl=WIe({version:gc.version}),n}isDsTheme(){return!1}}var b7=Ee.extend({tagName:"main",className:"auth-container main-container",id:Re.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container",tabindex:"-1"},initialize:function(e){this.listenTo(e.appState,"change:beaconType",function(n,t){this.$el.toggleClass("can-remove-beacon","security"===t)})}});const Ra={};function C7(e,n,t){const i=Tr().defer();return e.animate({"text-indent":1},{duration:200,easing:"swing",step:function(r,o){o.start=n,o.end=t,e.css("transform","scale("+r+", "+r+")")},always:function(){i.resolve(e)}}),i.promise}function S7(e,n,t){const i=Tr().defer();return e.animate({"text-indent":1},{duration:150,easing:"swing",step:function(r,o){o.start=n,o.end=t,e.css("transform","rotate("+r+"deg)")},always:function(){i.resolve(e)}}),i.promise}Ra.swapPages=function(e){const n=Tr().defer(),t=e.$parent,i=e.$oldRoot,r=e.$newRoot,o=e.success,s=e.ctx;let a="transition-from-right";e.dir&&e.dir===Re.DIRECTION_BACK&&(a="transition-from-left"),r.addClass(a),t.append(r),t.addClass("animation-container-overflow");const l={left:"0px",top:"0px",opacity:1};return r.animate(l,200,function(){t.removeClass("animation-container-overflow"),r.removeClass(a);const c=Object.keys(l).reduce((u,d)=>({...u,[d]:""}),{});r.css(c),o.call(s),n.resolve()}),i.animate({height:r.height(),opacity:0}
1,160),n.promise},Ra.swapBeacons=function(e){const n=e.$el,t=e.swap,i=e.ctx;return this.implode(n).then(function(){return t.call(i),n}).then(this.explode)},Ra.explode=function(e){return C7(e,0,1)},Ra.implode=function(e){return C7(e,1,0)},Ra.radialProgressBar=function(e){const n=e.$el,t=e.swap,i=n.children();return S7(i,0,180).then(function(){n.css({clip:"auto"})}).then(function(){const r=i.eq(0);return t(),S7(r,180,360)}).then(function(){n.css({clip:"rect(0px, 96px, 96px, 48px)"}),i.css({transform:"rotate(0deg)","text-indent":"1px"})})};var x7=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div class="beacon-blank"></div><div class="bg-helper auth-beacon auth-beacon-security" data-se="loading-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});const ov="no-beacon",iP="beacon-small beacon-loading";function p0(e){return e&&e.equals(x7)}function m0(e){!e.currentBeacon||(e.currentBeacon.remove(),e.currentBeacon=null)}function g0(e,n,t,i){e.add(n,{selector:t,options:i}),e.currentBeacon=e.first()}class E7 extends Ee{constructor(...n){super(...n),this.currentBeacon=void 0}preinitialize(...n){this.currentBeacon=null,this.template=se.template({1:function(t,i,r,o,s){var a,l=i??(t.nullContext||{}),c=t.hooks.helperMissing,u="function",d=t.escapeExpression,f=t.lookupProperty||function(y,b){if(Object.prototype.hasOwnProperty.call(y,b))return y[b]};return'<h1><img src="'+d(typeof(a=null!=(a=f(r,"logo")||(null!=i?f(i,"logo"):i))?a:c)===u?a.call(l,{name:"logo",hash:{},data:s,loc:{start:{line:1,column:71},end:{line:1,column:79}}}):a)+'" class="auth-org-logo" alt="'+d(typeof(a=null!=(a=f(r,"logoText")||(null!=i?f(i,"logoText"):i))?a:c)===u?a.call(l,{name:"logoText",hash:{},data:s,loc:{start:{line:1,column:108},end:{line:1,column:120}}}):a)+' logo" aria-label="'+d(typeof(a=null!=(a=f(r,"logoText")||(null!=i?f(i,"logoText"):i))?a:c)===u?a.call(l,{name:"logoText",hash:{},data:s,loc:{start:{line:1,column:139},end:{line:1,column:151}}}):a)+' logo"></h1>'},compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="okta-sign-in-header auth-header">'+(null!=(a=l(r,"if").call(i??(t.nullContext||{}),null!=i?l(i,"logo"):i,{name:"if",hash:{},fn:t.program(1,s,0),inverse:t.noop,data:s,loc:{start:{line:1,column:45},end:{line:1,column:170}}}))?a:"")+'<div data-type="beacon-container" class="beacon-container"></div></div><div class="auth-content"><div class="auth-content-inner"></div></div>'},useData:!0}),Ee.prototype.preinitialize.apply(this,n)}initialize(n){n.settings.get("features.securityImage")||(this.$el.addClass(ov),this.listenTo(n.appState,"loading",this.setLoadingBeacon),this.listenTo(n.appState,"removeLoading",this.removeLoadingBeacon))}setBeacon(n,t){const i='[data-type="beacon-container"]',r=this.$(i),o=function JIe(e,n,t){return e||n?!e&&t.loading?"load":e&&p0(e)?n?"swap":"unload":e&&e.equals(n,t)?"same":!e&&n?"add":e&&!n?"remove":e instanceof n?"fade":"swap":"none"}(this.currentBeacon,n,t);switch(o){case"none":return void this.$el.addClass(ov);case"same":return;case"add":return this.$el.removeClass(ov),g0(this,n,i,t),Ra.explode(r);case"remove":return this.$el.addClass(ov),Ra.implode(r).then(()=>{m0(this)}).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return t.animate=!0,this.currentBeacon.fadeOut().then(()=>{m0(this),g0(this,n,i,t)}).done();case"swap":return Ra.swapBeacons({$el:r,swap:()=>{const s=p0(this.currentBeacon);m0(this),this.$el.removeClass(ov),s&&r.removeClass(iP),g0(this,n,i,t)}}).done();case"load":return r.addClass(iP),g0(this,n,i,t),Ra.explode(r);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+o+'" is not recognized')}}setLoadingBeacon(n){!n||p0(this.currentBeacon)||this.setBeacon(x7,{loading:!0})}removeLoadingBeacon(){if(!p0(this.currentBeacon))return;const n=this.$('[data-type="beacon-container"]');return Ra.implode(n).then(()=>{m0(this),n.removeClass(iP)}).done()}getTemplateData(){return this.settings.toJSON({verbose:!0})}getContentEl(){return this.$(".auth-content-inner")}}function rP(e,n){const t=n.get("securityImage"),i=n.get("securityImageDescription"),r=n.get("isUndefinedUser"),o=n.get("isNewUser"),s=!r&&!o;
1if(e.css("background-image",""),e.removeClass("new-user undefined-user"),o)e.addClass("new-user");else{if(!r)return s?(e.removeAttr("aria-describedby"),e.find(".accessibility-text").text(i),void e.css("background-image","url("+m.escape(t)+")")):void 0;e.addClass("undefined-user")}}function XIe(e,n){Qt(window).on("resize.securityBeaconQtip",m.debounce(function(){e.is(":visible")&&e.qtip("show")},300)),e.qtip({prerender:!0,content:{text:_("primaryauth.newUser.tooltip","login",[m.escape(n)]),button:_("primaryauth.newUser.tooltip.close","login")},style:{classes:"okta-security-image-tooltip security-image-qtip qtip-custom qtip-shadow qtip-rounded",tip:{height:12,width:16}},position:{my:"top center",at:"center",target:Qt(".auth-beacon-security"),adjust:{method:"flip",scroll:!1,resize:!0},effect:!1},hide:{event:!1,fixed:!0},show:{event:!1,delay:200},events:{move:function(t,i){i.elements.target.is(":visible")||(i.set("hide.effect",!1),i.hide(),i.set("hide.effect",!0))}}}),setTimeout(()=>{e.qtip("toggle",e.is(":visible"))},0)}function ZIe(e){e.qtip("destroy"),Qt(window).off("resize.securityBeaconQtip")}function ePe(e,n,t){return oP.apply(this,arguments)}function oP(){return oP=V(function*(e,n,t){const i=e.find(".auth-beacon-security"),r=e.find(".js-auth-beacon-border"),o=!n.get("isUndefinedUser"),s=n.get("isNewUser"),a=e.find(".radial-progress-bar"),l=n.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],c=200;if(!t)return rP(i,n),void r.toggleClass("auth-beacon-border",o);ZIe(i),o?(r.removeClass("auth-beacon-border"),yield Ra.radialProgressBar({$el:a,swap:function(){i.fadeOut(c,()=>{rP(i,n),i.fadeIn(c)})}}),r.addClass("auth-beacon-border"),s&&XIe(i,l)):i.fadeOut(c,function(){rP(i,n),r.removeClass("auth-beacon-border"),i.fadeIn(c)})}),oP.apply(this,arguments)}var Ts=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div class="beacon-blank"><div class="radial-progress-bar"><div class="circle left"></div><div class="circle right"></div></div></div><div aria-live="polite" role="img" class="bg-helper auth-beacon auth-beacon-security" data-se="security-beacon"><span class="accessibility-text"></span><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),className:"js-security-beacon",initialize:function(e){this.update=m.partial(ePe,this.$el,e.appState),this.listenTo(e.appState,"change:securityImage",this.update),this.listenTo(e.appState,"loading",function(n){this.$el.toggleClass("beacon-loading",n),this.removeAntiPhishingMessage()}),this.options.appState.set("beaconType","security"),this.listenTo(e.appState,"navigate",this.removeAntiPhishingMessage)},postRender:function(){this.update(!1)},equals:function(e){return e&&this instanceof e},removeAntiPhishingMessage:function(){this.$el.find(".auth-beacon-security").qtip("destroy")}});
1const Td={lighten:function(e,n){n=n||0,e=e.substr(1);let t="#";for(var i=0;i<3;i++){let r=parseInt(e.substr(2*i,2),16);r=Math.round(Math.min(Math.max(0,r+r*n),255)).toString(16),t+=("00"+r).substr(r.length)}return t},addStyle:function(e,n){const t=function(e){return`\n#okta-sign-in.auth-container .button-primary,\n#okta-sign-in.auth-container .button-primary:active,\n#okta-sign-in.auth-container .button-primary:focus { background: ${e.brand}; }\n#okta-sign-in.auth-container .button-primary:hover { background: ${Td.lighten(e.brand,.05)}; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n background: ${e.brand};\n opacity: 0.5;\n}\n `}(e),i=document.getElementById(Re.WIDGET_CONTAINER_ID),r=document.createElement("style");r.id=Re.WIDGET_CONFIG_COLORS_ID,r.type="text/css",n&&(r.nonce=n),r.appendChild(document.createTextNode(t)),i.appendChild(r)},isLoaded:function(){return!!document.getElementById(Re.WIDGET_CONFIG_COLORS_ID)}};var rPe=Zy.extend({Events:Ri.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(t){zn_error(t)}),this.settings=new _7(m.omit(e,"el"),{parse:!0}),e.el||this.settings.callGlobalError(new ls(_("error.required.el"))),Qt("body > div").on("click",function(){}),this.appState=new GIe({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});const n=new b7({appState:this.appState});Qt(e.el).append(n.render().$el),this.el=`#${Re.WIDGET_CONTAINER_ID}`,this.header=new E7({el:this.el,appState:this.appState,settings:this.settings}),this.hide(),this.listenTo(this.appState,"change:transactionError",function(t,i){Fi.routeAfterAuthStatusChangeError(this,i)}),this.listenTo(this.appState,"change:transaction",function(t,i){Fi.routeAfterAuthStatusChange(this,i.data)}),this.listenTo(this.appState,"navigate",function(t){this.navigate(t,{trigger:!0})})},execute:function(e,n){const t=this.settings.get("recoveryToken");if(t)return this.settings.unset("recoveryToken"),void this.navigate(Fi.createRecoveryUrl(t),{trigger:!0});const i=this.settings.get("stateToken");if(i)return this.settings.unset("stateToken"),void this.navigate(Fi.createRefreshUrl(i),{trigger:!0});const r=this.appState.get("transaction");r&&r.data||function nPe(e,n){return m.find(e.stateLessRouteHandlers,function(t){return n===e[t]})}(this,e)?e.apply(this,n):this.settings.getAuthClient().tx.exists()?this.navigate(Fi.createRefreshUrl(),{trigger:!0}):this.navigate("",{trigger:!0})},navigate:function(e,n){return this.settings.get("features.router")?Zy.prototype.navigate.apply(this,arguments):n&&n.trigger?Ri.history.loadUrl(e):void 0}
1,render:function(e,n){n||(n={});let t=n.Beacon;const i=m.extend({settings:this.settings,appState:this.appState},m.omit(n,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!So.isLoaded(this.appState.get("languageCode")))return y7(this.appState,this.settings).then(m.bind(this.render,this,e,n));if(this.settings.get("colors.brand")&&!Td.isLoaded()){const o={brand:this.settings.get("colors.brand")},s=this.settings.get("cspNonce");Td.addStyle(o,s)}const r=this.controller;return this.controller=new e(i),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then(()=>(function iPe(e,n){return!!e&&(e!==Ts||n.get("features.securityImage"))}(t,this.settings)||(t=null),this.header.setBeacon(t,i),this.show(),this.controller.render(),r?Ra.swapPages({$parent:this.el,$oldRoot:r.$el,$newRoot:this.controller.$el,dir:r.state.get("navigateDir"),ctx:this,success:function(){const o=this.appState.get("flashError"),s=this.controller.model;if(r.remove(),r.$el.remove(),this.controller.postRenderAnimation(),o){let a;a=o.is&&o.is("terminal")?o.errorDetails.errorSummary:_(this.settings.get("features.mfaOnlyFlow")?"error.mfa.only.expired.session":"error.expired.session"),s.trigger("error",s,{responseJSON:{errorSummary:a}}),this.appState.unset("flashError"),wt.triggerAfterError(this.controller,o)}}}):(this.el.append(this.controller.el),void this.controller.postRenderAnimation()))).catch(function(){r&&(r.remove(),r.$el.remove())})},start:function(){let e=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",n=>{this.controller.back&&(n.preventDefault(),n.stopImmediatePropagation(),this.controller.back())}),e=mi.supportsPushState()),Zy.prototype.start.call(this,{pushState:e})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller&&this.controller.remove(),this.header.$el.remove(),So.remove(),Ri.history.stop()}});const oPe=se.template({1:function(e,n,t,i,r){var o,s,a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return" ("+(null!=(o="function"==typeof(s=null!=(s=a(t,"deviceName")||(null!=n?a(n,"deviceName"):n))?s:e.hooks.helperMissing)?s.call(n??(e.nullContext||{}),{name:"deviceName",hash:{},data:r,loc:{start:{line:1,column:34},end:{line:1,column:50}}}):s)?o:"")+")"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return e.escapeExpression("function"==typeof(s=null!=(s=l(t,"factorName")||(null!=n?l(n,"factorName"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"factorName",hash:{},data:r,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s)+(null!=(o=l(t,"if").call(a,null!=n?l(n,"deviceName"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:14},end:{line:1,column:58}}}))?o:"")},useData:!0}),xo=function(e){let n;const t=e.get("factorType"),i=this.options.appState.get("factors");i.hasMultipleFactorsOfSameType(t)&&(n=i.getFactorIndex(t,e.get("id")));const r=Fi.createVerifyUrl(e.get("provider"),t,n),o=this;this.options.appState.trigger("factorSwitched"),this.model.manageTransaction(function(s,a){if("FACTOR_CHALLENGE"===s.status&&this.options.appState.set("trapMfaRequiredResponse",!0),"MFA_CHALLENGE"===s.status&&s.prev)return this.options.appState.set("trapMfaRequiredResponse",!0),s.prev().then(function(l){o.trigger("options:toggle"),a(l),o.options.appState.trigger("navigate",r)});o.trigger("options:toggle"),o.options.appState.trigger("navigate",r)})},sPe={TITLE:{title:m.partial(_,"mfa.factors.dropdown.title","login"),className:"dropdown-list-title",disabled:!0},OKTA_VERIFY:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return oPe({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){xo.call(this,this.model)}},GOOGLE_AUTH:{icon:"factor-icon mfa-google-auth-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:m.partial(_,"factor.totpHard.rsaSecurId","login"),action:function(){xo.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:m.partial(_,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:m.partial(_,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:m.partial(_,"mfa.duoSecurity.call","login",["XXX-XXX-7890"])},YUBIKEY:{icon:"factor-icon mfa-yubikey-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},WINDOWS_HELLO:{icon:"factor-icon mfa-windows-hello-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}}
1,GENERIC_SAML:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},GENERIC_OIDC:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}},CUSTOM_CLAIMS:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){xo.call(this,this.model)}}};var k7_getDropdownOption=function(e){return sPe[e]};const{BaseDropDown:aPe}=ji.views.components;Qt(document).click(function(e){const n=Qt(e.target);n.closest(".option-selected").length>0&&n.closest(".dropdown").length>0||(Qt(".dropdown .options").hide(),Qt(".dropdown a.option-selected").attr("aria-expanded",!1))});var lPe=aPe.extend({className:"bg-helper icon-button",screenReaderText:function(){const e=this.options.appState.get("factors");let n,t;return n=e?xn.findFactorInFactorsArray(e,this.options.provider,this.options.factorType):new d0.Model(this.options.appState.get("factor"),this.toJSON()),t=n.get("factorLabel"),_("mfa.factors.dropdown.sr.text","login",[t])},events:{"click a.option-selected":function(e){if(e.preventDefault(),m.result(this,"disabled"))e.stopPropagation();else{const n=this.$(".options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",n),n&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},initialize:function(){this.addOption(k7_getDropdownOption("TITLE"));const e=this.options.appState.get("factors"),n=e.hasMultipleFactorsOfSameType("push");e.each(function(t){"token:software:totp"===t.get("factorType")&&n||(this.addOption(k7_getDropdownOption(t.get("factorName")),{model:t}),this.listenTo(this.last(),"options:toggle",function(){this.$(".options").hide(),this.$("a.option-selected").attr("aria-expanded",!1)}))},this)}}),Si=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"className")||(null!=n?s(n,"className"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"className",hash:{},data:r,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):o)+'" data-se="factor-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div><div data-type="factor-types-dropdown" class="factors-dropdown-wrap"></div>'},useData:!0}),events:{"click .auth-beacon-factor":function(e){e.preventDefault(),e.stopPropagation();const n=this.$(".dropdown .options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",n),n&&this.$("#okta-dropdown-options").find("li.factor-option:first a").focus()}},initialize:function(){this.options.appState.set("beaconType","factor")},getTemplateData:function(){const e=this.options.appState.get("factors");let n,t;return n=e?xn.findFactorInFactorsArray(e,this.options.provider,this.options.factorType):new d0.Model(this.options.appState.get("factor")),t=n.get("iconClassName"),{className:t||""}},postRender:function(){this.options.animate&&this.$(".auth-beacon-factor").fadeIn(200),this.options.appState.get("hasMultipleFactorsAvailable")&&this.add(lPe,'[data-type="factor-types-dropdown"]')},fadeOut:function(){const e=Tr().defer();return this.$(".auth-beacon-factor").fadeOut(200,function(){e.resolve()}),e.promise},equals:function(e,n){return e&&this instanceof e&&n.provider===this.options.provider&&(n.factorType===this.options.factorType||xn.isOktaVerify(n.provider,n.factorType)&&xn.isOktaVerify(this.options.provider,this.options.factorType))}}),cPe=Ee.extend({className:"piv-beacon",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon smartcard" data-se="piv-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div>'},useData:!0}
1),equals:function(e){return e&&this instanceof e}}),uPe=rPe.extend({routes:{"":"defaultAuth",signin:"primaryAuth","signin/okta/:username":"primaryAuth","signin/verify/duo/web":"verifyDuo","signin/verify/piv":"verifyPIV","signin/poll":"poll","signin/verify/fido/webauthn":"verifyWebauthn","signin/verify/webauthn":"verifyWebauthn","signin/verify/fido/u2f":"verifyU2F","signin/verify/u2f":"verifyU2F","signin/verify/generic_saml/assertion:saml2":"verifySAMLFactor","signin/verify/generic_oidc/assertion:oidc":"verifyOIDCFactor","signin/verify/custom/claims_provider":"verifyClaimsFactor","signin/verify/:factorType":"verifyNoProvider","signin/verify/:provider/:factorType(/:factorIndex)":"verify","signin/enroll":"enrollChoices","signin/enroll/duo/web":"enrollDuo","signin/enroll/okta/question":"enrollQuestion","signin/enroll/okta/password":"enrollPassword","signin/enroll/okta/sms":"enrollSms","signin/enroll/okta/call":"enrollCall","signin/enroll/okta/email":"enrollEmail","signin/enroll-activate/okta/sms":"enrollSms","signin/enroll-activate/okta/call":"enrollCall","signin/enroll/rsa/token":"enrollRsa","signin/enroll/del_oath/token":"enrollOnPrem","signin/enroll/symantec/token":"enrollSymantecVip","signin/enroll/yubico/token:hardware":"enrollYubikey","signin/enroll/fido/webauthn":"enrollWebauthn","signin/enroll/fido/u2f":"enrollU2F","signin/enroll/generic_saml/assertion:saml2":"enrollSAMLFactor","signin/enroll/generic_oidc/assertion:oidc":"enrollOIDCFactor","signin/enroll/custom/claims_provider":"enrollClaimsFactor","signin/enroll/custom/token:hotp":"enrollHotpFactor","signin/enroll/:provider/:factorType":"enrollTotpFactor","signin/enroll-activate/okta/email":"enrollActivateEmail","signin/enroll-activate/okta/push":"scanBarcodePushFactor","signin/enroll-activate/okta/push/manual":"manualSetupPushFactor","signin/enroll-activate/okta/push/sent":"activationLinkSent","signin/enroll-activate/okta/token:software:totp/passcode":"enterPasscodeInPushEnrollmentFlow","signin/enroll-activate/custom/claims_provider":"enrollActivateClaimsFactor","signin/enroll-activate/:provider/:factorType":"scanBarcodeTotpFactor","signin/enroll-activate/:provider/:factorType/activate":"activateTotpFactor","signin/enroll-activate/:provider/:factorType/manual":"manualSetupTotpFactor","signin/password-expired":"passwordExpired","signin/custom-password-expired":"customPasswordExpired","signin/forgot-password":"forgotPassword","signin/recovery-challenge":"recoveryChallenge","signin/recovery-emailed":"recoveryEmailSent","signin/recovery-question":"recoveryQuestion","signin/password-reset":"passwordReset","signin/reset-password/:token":"recoveryLoading","signin/user-unlock/:token":"recoveryLoading","signin/recovery/:token":"recoveryLoading","signin/unlock-emailed":"unlockEmailSent","signin/unlock":"unlockAccount","signin/account-unlocked":"accountUnlocked","signin/refresh-auth-state(/:token)":"refreshAuthState","signin/register":"register","signin/register-complete":"registerComplete","signin/error":"errorState","signin/consent":"consentRequired","signin/admin-consent":"adminConsentRequired","signin/enroll-user":"enrollUser","signin/device-activate-complete":"deviceActivateComplete","signin/device-activate":"deviceActivate","signin/idp-discovery-check":"idpDiscoveryCheck","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete","errorState","verifyPIV"],defaultAuth:function(){window.location.hash!==`#${Re.WIDGET_CONTAINER_ID}`?this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth():document.getElementById(Re.WIDGET_CONTAINER_ID).focus()},idpDiscoveryCheck:function(){this.render(ROe,{Beacon:Ts})},idpDiscovery:function(){this.render(POe,{Beacon:Ts})},primaryAuth:function(e){this.render(ZI,{Beacon:Ts,username:e})},verifyDuo:function(){this.render(TIe,{provider:"DUO",factorType:"web",Beacon:Si})},verifyPIV:function(){this.render(MIe,{Beacon:cPe})},poll:function(){this.render(lIe)},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(IIe,{provider:"FIDO",factorType:"webauthn",Beacon:Si}):this.render(PIe,{provider:"FIDO",factorType:"webauthn",Beacon:Si})},verifyU2F:function(){this.render(OIe,{provider:"FIDO",factorType:"u2f",Beacon:Si})},verifySAMLFactor:function(){this.render(tP,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:Si})},verifyOIDCFactor:function(){this.render(tP,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:Si})},verifyClaimsFactor:function(){this.render(tP,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Si})},verify:function(e,n,t){this.render(c7,{provider:e.toUpperCase(),factorType:n,factorIndex:t,Beacon:Si})},verifyNoProvider:function(e){this.render(c7,{factorType:e,Beacon:Si})},enrollChoices:function(){this.render(UDe,{Beacon:Ts})},enrollDuo:function(){this.render(jDe,{provider:"DUO",factorType:"web",Beacon:Si})},enrollQuestion:function(){this.render(YDe,{provider:"OKTA",factorType:"question",Beacon:Si})},enrollPassword:function(){this.render(KDe,{provider:"OKTA",factorType:"password",Beacon:Si})},enrollSms:function(){this.render(jj,{provider:"OKTA",factorType:"sms",Beacon:Si})},enrollCall:function(){this.render(jj,{provider:"OKTA",factorType:"call",Beacon:Si})},enrollEmail:function(){this.render(qDe,{provider:"OKTA",factorType:"email",Beacon:Si})},enrollActivateEmail:function(){this.render(ODe,{provider:"OKTA",factorType:"email",Beacon:Si})},enrollRsa:function(){this.render(Wj,{provider:"RSA",factorType:"token",Beacon:Si})},enrollOnPrem:function(){this.render(Wj,{provider:"DEL_OATH",factorType:"token",Beacon:Si})},enrollSymantecVip:function(){this.render(QDe,{provider:"SYMANTEC",factorType:"token",Beacon:Si})}
1,enrollYubikey:function(){this.render(fOe,{provider:"YUBICO",factorType:"token:hardware",Beacon:Si})},enrollSAMLFactor:function(){this.render(u0,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:Si})},enrollOIDCFactor:function(){this.render(u0,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:Si})},enrollClaimsFactor:function(){this.render(u0,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Si})},enrollActivateClaimsFactor:function(){this.render(ADe,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Si})},enrollTotpFactor:function(e,n){this.render(XDe,{provider:e.toUpperCase(),factorType:n,Beacon:Si})},enrollHotpFactor:function(){this.render(WDe,{provider:"CUSTOM",factorType:"token:hotp",Beacon:Si})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(dOe,{provider:"FIDO",factorType:"webauthn",Beacon:Si}):this.render(hOe,{provider:"FIDO",factorType:"webauthn",Beacon:Si})},enrollU2F:function(){this.render(ZDe,{provider:"FIDO",factorType:"u2f",Beacon:Si})},scanBarcodeTotpFactor:function(e,n){this.render(cDe,{provider:e.toUpperCase(),factorType:n,Beacon:Si})},scanBarcodePushFactor:function(){this.render(lDe,{provider:"OKTA",factorType:"push",Beacon:Si})},activateTotpFactor:function(e,n){this.render(RMe,{provider:e.toUpperCase(),factorType:n,Beacon:Si})},manualSetupTotpFactor:function(e,n){this.render(BOe,{provider:e.toUpperCase(),factorType:n,Beacon:Si})},manualSetupPushFactor:function(){this.render($Oe,{provider:"OKTA",factorType:"push",Beacon:Si})},activationLinkSent:function(){this.render(vOe,{provider:"OKTA",factorType:"push",Beacon:Si})},enterPasscodeInPushEnrollmentFlow:function(){this.render(bOe,{provider:"OKTA",factorType:"token:software:totp",Beacon:Si})},passwordExpired:function(){this.render(oIe,{Beacon:Ts})},customPasswordExpired:function(){this.render(bDe,{Beacon:Ts})},forgotPassword:function(){this.render(SOe)},recoveryChallenge:function(){this.render(uIe,{Beacon:Ts})},recoveryEmailSent:function(){this.render(cIe,{Beacon:Ts})},unlockEmailSent:function(){this.render(EIe,{Beacon:Ts})},recoveryQuestion:function(){this.render(hIe,{Beacon:Ts})},passwordReset:function(){this.render(aIe,{Beacon:Ts})},recoveryLoading:function(e){this.render(dIe,{token:e,Beacon:Ts})},unlockAccount:function(){this.render(xIe)},accountUnlocked:function(){this.render(SMe,{Beacon:Ts})},refreshAuthState:function(e){this.render(fIe,{token:e,Beacon:Ts})},register:function(){this.render(wIe)},registerComplete:function(){this.render(pIe)},errorState:function(){this.render(NIe,{Beacon:Ts})},consentRequired:function(){this.render(yDe)},adminConsentRequired:function(){this.render(jMe)},enrollUser:function(){this.render(sOe)},deviceActivate:function(){this.render(CDe)},deviceActivateComplete:function(){this.render(SDe)}});const xe={IDENTIFY:"identify",SELECT_IDENTIFY:"select-identify",IDENTIFY_RECOVERY:"identify-recovery",SELECT_ENROLL_PROFILE:"select-enroll-profile",ENROLL_PROFILE:"enroll-profile",ENROLL_PROFILE_UPDATE:"profile-update",UNLOCK_ACCOUNT:"unlock-account",REQUEST_ACTIVATION:"request-activation-email",CONSENT_ADMIN:"admin-consent",CONSENT_ENDUSER:"consent",CONSENT_GRANULAR:"granular-consent",CONSENT_EMAIL_CHALLENGE:"email-challenge-consent",SELECT_AUTHENTICATOR_AUTHENTICATE:"select-authenticator-authenticate",SELECT_AUTHENTICATOR_UNLOCK:"select-authenticator-unlock-account",AUTHENTICATOR_VERIFICATION_DATA:"authenticator-verification-data",CHALLENGE_AUTHENTICATOR:"challenge-authenticator",CHALLENGE_WEBAUTHN_AUTOFILLUI_AUTHENTICATOR:"challenge-webauthn-autofillui-authenticator",CHALLENGE_POLL:"challenge-poll",RESEND:"resend",SELECT_AUTHENTICATOR_ENROLL:"select-authenticator-enroll",SELECT_AUTHENTICATOR_ENROLL_DATA:"select-authenticator-enroll-data",AUTHENTICATOR_ENROLLMENT_DATA:"authenticator-enrollment-data",ENROLL_AUTHENTICATOR:"enroll-authenticator",SELECT_ENROLLMENT_CHANNEL:"select-enrollment-channel",ENROLLMENT_CHANNEL_DATA:"enrollment-channel-data",ENROLL_POLL:"enroll-poll",REENROLL_AUTHENTICATOR:"reenroll-authenticator",REENROLL_AUTHENTICATOR_WARNING:"reenroll-authenticator-warning",REENROLL_CUSTOM_PASSWORD_EXPIRY:"reenroll-custom-password-expiry",REENROLL_CUSTOM_PASSWORD_EXPIRY_WARNING:"reenroll-custom-password-expiry-warning",RESET_AUTHENTICATOR:"reset-authenticator",
1SKIP:"skip",POLL:"poll",FAILURE_REDIRECT:"failure-redirect",SUCCESS_REDIRECT:"success-redirect",REDIRECT_IDP:"redirect-idp",REDIRECT_IDVERIFY:"redirect-idverify",PIV_IDP:"piv-idp",DEVICE_CHALLENGE_POLL:"device-challenge-poll",DEVICE_APPLE_SSO_EXTENSION:"device-apple-sso-extension",CANCEL_TRANSACTION:"cancel-transaction",LAUNCH_AUTHENTICATOR:"launch-authenticator",LAUNCH_WEBAUTHN_AUTHENTICATOR:"launch-webauthn-authenticator",ENROLL_WEBAUTHN_RESIDENTKEY:"enroll-webauthn-residentkey",LAUNCH_PASSKEYS_AUTHENTICATOR:"launch-passkeys-authenticator",DEVICE_ENROLLMENT_TERMINAL:"device-enrollment-terminal",USER_CODE:"user-code",KEEP_ME_SIGNED_IN:"keep-me-signed-in",DEVICE_ASSURANCE_GRACE_PERIOD:"device-assurance-grace-period",TERMINAL:"terminal"},dPe=[xe.IDENTIFY,xe.SUCCESS_REDIRECT,xe.ENROLL_PROFILE,xe.DEVICE_ENROLLMENT_TERMINAL,xe.CONSENT_ADMIN,xe.CONSENT_ENDUSER,xe.CONSENT_GRANULAR,xe.CONSENT_EMAIL_CHALLENGE,xe.USER_CODE,xe.KEEP_ME_SIGNED_IN],hPe=[xe.SELECT_AUTHENTICATOR_ENROLL,xe.SELECT_AUTHENTICATOR_AUTHENTICATE],fPe=[xe.SELECT_AUTHENTICATOR_AUTHENTICATE,xe.CHALLENGE_AUTHENTICATOR,xe.CHALLENGE_POLL,xe.RESEND],ze_EMAIL="okta_email",ze_PASSWORD="okta_password",ze_PHONE="phone_number",ze_OV="okta_verify",ze_RSA="rsa_token",ze_IDP="external_idp",pPe={[xe.SELECT_AUTHENTICATOR_UNLOCK]:Re.UNLOCK_ACCOUNT,[xe.IDENTIFY]:Re.PRIMARY_AUTH,[xe.IDENTIFY_RECOVERY]:Re.FORGOT_PASSWORD},A7="currentAuthenticator-recover",gPe={ENROLLED_PASSWORD_RECOVERY_LINK:"currentAuthenticatorEnrollment-recover",ORG_PASSWORD_RECOVERY_LINK:A7},vPe=[xe.TERMINAL,xe.DEVICE_ENROLLMENT_TERMINAL];function D7(e=[]){var n,t,i;const r=e.find(l=>l.relatesTo.key===ze_OV),o=null==r||null===(n=r.value)||void 0===n||null===(t=n.form)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.find(l=>"methodType"===l.name),s=o?.options;let a;if(s){const l=[];s.forEach(u=>{const d=[...r.value.form.value],f=r.value.form.value.findIndex(S=>"methodType"===S.name),y=Object.assign(m.omit(o,"options"),u);y.required=!0,y.mutable=!1,d.splice(f,1,y);const b=Object.assign({},r,{label:u.label,value:{form:{value:d}}});"signed_nonce"===u.value?a=b:l.push(b)});const c=e.findIndex(u=>u.relatesTo.key===ze_OV);e.splice(c,1,...l),a&&(r.relatesTo.deviceKnown?e.unshift(a):e.push(a))}}function O7(e=[]){return D7(e),e.map(n=>{var t,i,r;const s=((null===(t=n.value)||void 0===t||null===(i=t.form)||void 0===i?void 0:i.value)||[]).filter(a=>!0===a.required&&!1===a.mutable).reduce((a,l)=>Object.assign(a,{[l.name]:l.value}),{});return{label:n.label,value:s,relatesTo:n.relatesTo,authenticatorKey:null===(r=n.relatesTo)||void 0===r?void 0:r.key}})}function I7(e){return sP.apply(this,arguments)}function sP(){return sP=V(function*(e){for(let n=0;n<e.length;n++)yield e[n]()}),sP.apply(this,arguments)}function aP(){return aP=V(function*(e){!e||!e.before||!e.before.length||(yield I7(e.before))}),aP.apply(this,arguments)}function lP(){return lP=V(function*(e){!e||!e.after||!e.after.length||(yield I7(e.after))}),lP.apply(this,arguments)}m.mixin({nestedOmit:function(e,n){let t=m.omit(e,n);return n.includes(t.name)&&(t=m.omit(t,"value")),m.each(t,function(i,r){Array.isArray(i)?t[r]=i.map(o=>m.nestedOmit(o,n)):"object"==typeof i&&(t[r]=m.nestedOmit(i,n))}),t}});const APe={user:"object",currentFormName:"string",previousFormName:"string",idx:"object",remediations:"array",dynamicRefreshInterval:"number",deviceFingerprint:"string",hooks:"object"},MPe={authenticatorProfile:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(e={profile:void 0},n={profile:void 0}){return e.profile||n.profile||{}}},authenticatorKey:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(e={key:void 0},n={key:void 0}){return e.key||n.key||""}},authenticatorMethodType:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(e={methods:void 0},n={methods:void 0}){return e.methods&&e.methods[0].type||n.methods&&n.methods[0].type||""}},isPasswordRecovery:{deps:["recoveryAuthenticator"],fn:function(e={type:void 0}){return"password"===e?.type}}};class DPe extends _r{constructor(n,t){super(n,t),this.settings=void 0,this.hooks=void 0,this.settings=t.settings,this.hooks=t.hooks}get(n){return _r.prototype.get.call(this,n)}preinitialize(...n){this.local=APe,this.derived=MPe,_r.prototype.preinitialize.apply(this,n)}isIdentifierOnlyView(){var n,t,i;return!(null!==(n=this.get("remediations"))&&void 0!==n&&null!==(t=n.find(({name:r})=>"identify"===r))&&void 0!==t&&null!==(i=t.uiSchema)&&void 0!==i&&i.find(({name:r})=>"credentials.passcode"===r))}hasRemediationObject(n){return this.get("idx").neededToProceed.find(t=>t.name===n)}hasActionObject(n){var t,i;return!(null===(t=this.get("idx"))||void 0===t||null===(i=t.actions)||void 0===i||!i[n])}getRemediationAuthenticationOptions(n){const t=this.hasRemediationObject(n);if(!t)return[];let r=t.value.find(o=>"authenticator"===o.name)?.options||[];return r=[...r],D7(r),r}getActionByPath(n){const t=n.split(".");let i;i=1===t.length?this.get("idx").actions:this.get(t.shift());const r=t.shift();return i&&m.isFunction(i[r])?i[r]:null}getCurrentViewState(){const n=this.get("currentFormName");if(!n)return;const t=this.get("remediations").filter(i=>i.name===n)[0];if(!t){zn_error("Panic!!"),zn_error(`\tCannot find view state for form ${n}.`);const i=this.get("remediations").map(r=>r.name);zn_error(`\tAll available form names: ${i}`)}return t}getSchemaByName(n){const t=this.getCurrentViewState();if(t)return t.uiSchema.find(({name:r})=>r===n)}getAuthenticatorDisplayName(){const n=this.get("currentAuthenticator")||{},t=this.get("currentAuthenticatorEnrollment")||{};
1return n.displayName||t.displayName}isAuthenticatorChallenge(){const n=this.get("currentFormName");return fPe.includes(n)}shouldReRenderView(n){var t;if(null!=n&&null!==(t=n.idx)&&void 0!==t&&t.hasFormError)return!1;const i=this.has("idx")?this.get("idx").rawIdxState:null,r=m.isEqual(m.nestedOmit(n.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),m.nestedOmit(i,["expiresAt","refresh","stateHandle","headers"]));return r&&this.set("dynamicRefreshInterval",this.getRefreshInterval(n)),this._isReRenderRequired(r,n,i)}getRefreshInterval(n){var t,i,r,o;const s=this.get("currentFormName");return n.remediations.filter(l=>l.name===s)[0].refresh||(null===(t=n.currentAuthenticatorEnrollment)||void 0===t||null===(i=t.poll)||void 0===i?void 0:i.refresh)||(null===(r=n.currentAuthenticator)||void 0===r||null===(o=r.poll)||void 0===o?void 0:o.refresh)}shouldShowSignOutLinkInCurrentForm(n){const t=this.get("idx")&&this.get("idx").actions,i=this.get("currentFormName");return!n&&m.isFunction(t?.cancel)&&!dPe.includes(i)}containsMessageWithI18nKey(n){Array.isArray(n)||(n=[n]);const t=this.get("messages");return t&&Array.isArray(t.value)&&t.value.some(i=>{var r;return m.contains(n,null===(r=i.i18n)||void 0===r?void 0:r.key)})}containsMessageStartingWithI18nKey(n){const t=this.get("messages");return t&&Array.isArray(t.value)&&t.value.some(i=>{var r;return null===(r=i.i18n)||void 0===r?void 0:r.key.startsWith(n)})}clearAppStateCache(){const n={};for(const t in this.attributes)"currentFormName"!==t&&(n[t]=void 0);this.set(n,Object.assign({},{unset:!0,silent:!0})),this.trigger("cache:clear")}chooseRemediation(n){var t,i;if(m.isEmpty(n.remediations))return;const r=n.remediations[0];return"enroll-poll"===r.name&&this.get("authenticatorKey")===ze_OV&&(mi.isAndroid()||mi.isIOS())&&"qrcode"===(null===(t=n.currentAuthenticator)||void 0===t||null===(i=t.contextualData)||void 0===i?void 0:i.selectedChannel)?n.remediations.find(o=>"select-enrollment-channel"===o.name):r}setIonResponse(n){var t=this;return V(function*(){const i=t.shouldReRenderView(n);if(t.clearAppStateCache(),t.set(n),i){var r;const o=t.chooseRemediation(n);let s=null;o?s=o.name:(zn_error("Panic!!"),zn_error("\tNo remediation found."),zn_error("\tHere is the entire response"),zn_error(JSON.stringify(n,null,2)));const a=null===(r=t.hooks)||void 0===r?void 0:r.getHook(s);yield function xPe(e){return aP.apply(this,arguments)}(a);const l=t.get("currentFormName");t.unset("currentFormName",{silent:!0}),t.set({currentFormName:s,previousFormName:l}),yield function EPe(e){return lP.apply(this,arguments)}(a)}})()}setNonIdxError(n){this.set("remediations",[{name:xe.TERMINAL}]),this.set("messages",{value:[{message:n.errorDetails.errorSummary,class:"ERROR"}]}),this.set("currentFormName",xe.TERMINAL)}getUser(){return this.get("user")}_isReRenderRequired(n,t,i){var r;let o=!0;return(null===(r=this.get("idx"))||void 0===r?void 0:r.hasFormError)&&this._isChallengeAuthenticatorPoll(t,i)&&(o=!1),n&&(o=!1,("poll"===this.get("currentFormName")||hPe.includes(this.get("currentFormName"))||this.containsMessageWithI18nKey("idx.unknown.user"))&&(o=!0)),o}_isChallengeAuthenticatorPoll(n,t){var i;const r=m.isEqual(m.nestedOmit(n.idx.rawIdxState,["expiresAt","refresh","stateHandle","headers"]),m.nestedOmit(t,["expiresAt","refresh","stateHandle","messages","headers"])),o="challenge-authenticator"===this.get("currentFormName"),s=(null===(i=this.get("currentAuthenticatorEnrollment"))||void 0===i?void 0:i.key)===ze_EMAIL;return r&&o&&s}}const cP="osw-oie-state-handle",uP="osw-oie-last-initiated-login-url",dP="osw-oie-resend-timestamp";var ds_removeStateHandle=()=>{sessionStorage.removeItem(cP),sessionStorage.removeItem(uP)},ds_setStateHandle=e=>{sessionStorage.setItem(cP,e),sessionStorage.setItem(uP,window.location.href)},ds_getStateHandle=()=>sessionStorage.getItem(cP),ds_removeResendTimestamp=()=>{sessionStorage.removeItem(dP)},ds_getResendTimestamp=()=>sessionStorage.getItem(dP);function OPe(e){return hP.apply(this,arguments)}function hP(){return hP=V(function*(e){const n=e.getAuthClient(),i=yield n.idx.getSavedTransactionMeta();if(!i||!i.interactionHandle){const s={type:"array",value:[{message:"Enter the OTP in your original browser or device.",i18n:{key:"idx.enter.otp.in.original.tab"},class:"INFO"}]};return{neededToProceed:[],rawIdxState:{messages:s},context:{messages:s}}}const r=e.get("otp");return yield n.idx.proceed({exchangeCodeForTokens:!1,otp:r})}),hP.apply(this,arguments)}const IPe=function(){var e=V(function*(n){return Promise.resolve({rawIdxState:n.get("proxyIdxResponse"),context:n.get("proxyIdxResponse"),neededToProceed:[]})});return function(t){return e.apply(this,arguments)}}();function P7(e){return fP.apply(this,arguments)}function fP(){return fP=V(function*(e){const n=e.getAuthClient(),{authParams:t}=e.toJSON({verbose:!0}),i=e.get("nonce")||t?.nonce,r={exchangeCodeForTokens:!1,...i&&{nonce:i}};if(e.get("proxyIdxResponse"))return IPe(e);if(e.get("overrideExistingStateToken")&&ds_removeStateHandle(),e.get("otp"))return OPe(e);
1if(e.get("oauth2Enabled")){if(!(yield n.idx.getSavedTransactionMeta())){const u=n.idx.getFlow();if(u&&"proceed"===u)throw new $Ee("Unable to proceed: saved transaction could not be loaded",u);return n.idx.start(r)}return n.idx.proceed(r)}const o=ds_getStateHandle();if(o)try{var s,a;const c=yield n.idx.start({...r,stateHandle:o});if((null===(s=c.context)||void 0===s||null===(a=s.messages)||void 0===a?void 0:a.value.length)>0)throw new Error("saved stateToken is invalid");return e.set("stateToken",o),c}catch{return ds_removeStateHandle(),P7(e)}const l=e.get("stateToken");if(l)return n.idx.start({...r,stateHandle:l});throw new ls('Invalid OIDC configuration. Set "clientId" and "redirectUri" in the widget options.')}),fP.apply(this,arguments)}function PPe(e,n,t){return pP.apply(this,arguments)}function pP(){return pP=V(function*(e,n,t){if(!e.neededToProceed.find(r=>r.name===n))return zn_warn("Expected remediation not found, Org may be misconfigured for this flow"),e;try{return yield e.proceed(n)}catch(r){if("string"==typeof r&&r.startsWith("Unknown remediation choice"))return zn_warn(`flow [${t}] not valid with current Org configurations`),e;throw r}}),pP.apply(this,arguments)}function RPe(e){return mP.apply(this,arguments)}function mP(){return mP=V(function*(e,n="default"){switch(n){case"default":case"proceed":case"login":case"signup":case"resetPassword":return e;case"unlockAccount":return yield PPe(e,xe.UNLOCK_ACCOUNT,n);default:throw zn_warn(`Unknown \`flow\` value: ${n}`),new ls('Invalid "flow" configuration')}}),mP.apply(this,arguments)}function gP(){return gP=V(function*(e,n){const i=n.getAuthClient().idx.getFlow();return yield RPe(e,i)}),gP.apply(this,arguments)}function LPe(e,n){return yP.apply(this,arguments)}function yP(){return yP=V(function*(e,n){const{interactionCode:t}=n,i=e.getAuthClient(),r=yield i.idx.getSavedTransactionMeta(),o=i.options.state||r?.state,s="remediation"===e.get("mode");if(s&&i.idx.clearTransactionMeta(),"always"===e.get("redirect")){const c=e.get("redirectUri");if(!c)throw new ls('"redirectUri" is required');const u=pc({interaction_code:t,state:o});return void window.location.assign(c+u)}if(s)return void e.callGlobalSuccess(Re.SUCCESS,{interaction_code:t,state:o});if(!r)throw new ls("Could not load transaction data from storage");const{codeVerifier:l}=r;return i.token.exchangeCodeForTokens({codeVerifier:l,interactionCode:t}).then(({tokens:c})=>{e.callGlobalSuccess(Re.SUCCESS,{tokens:c})}).catch(c=>{const u=Dj(c);if(u instanceof tv&&u.is("terminal"))throw u;e.callGlobalError(c)}).finally(()=>{i.idx.clearTransactionMeta()})}),yP.apply(this,arguments)}const R7=e=>!!e.messages,GPe=(e,n={},t=null)=>{if(!(e=>m.isObject(e))(n.rawIdxState))return null;const i=(e=>{const n={};return m.each(e,(t={},i)=>{"remediation"!==i&&("array"===t.type&&(n[i]={value:t.value}),"object"===t.type&&(n[i]=t.value))}),n})(n.rawIdxState),r=(e=>{const n=[],t=1===e.neededToProceed.length&&"skip"===e.neededToProceed[0].name;return(m.isEmpty(e.neededToProceed)||t)&&(e.context.success?n.push({name:e.context.success.name,href:e.context.success.href,value:[]}):e.context.messages?n.push({name:xe.TERMINAL,value:[]}):e.context.deviceEnrollment&&n.push({name:xe.DEVICE_ENROLLMENT_TERMINAL,value:[]})),{remediations:[...n,...e.neededToProceed]}})(n),o=Object.assign({},i,r,{idx:n});return R7(o)&&(e=>{const n=e.idx.context;return n.failure&&"failure-redirect"===n.failure.name})(o)&&((e,n)=>{const t=n.idx.context,i=e.get("oauth2Enabled"),r="always"===e.get("redirect");i&&!r||(n.remediations=[{name:xe.FAILURE_REDIRECT,href:t.failure.href,value:[]}])})(e,o),((e,n)=>{const t=n.remediations;if(0===t.filter(o=>"identify"===o.name).length)return n;const r=e.get("idps");if(Array.isArray(r)){const o={};t.forEach(c=>{c.name===xe.REDIRECT_IDP&&c.idp&&(o[c.idp.id]=!0)});const s=e.get("baseUrl"),a=n.idx.context.stateHandle,l=r.filter(c=>!o[c.id]).map(c=>{const u={id:c.id,name:c.text},d=`${s}/sso/idps/${c.id}?stateToken=${a}`;return c.className&&(u.className=c.className),{name:xe.REDIRECT_IDP,type:c.type,idp:u,href:d}});n.remediations=t.concat(l)}})(e,o),(e=>{Array.isArray(e.remediations)&&e.remediations.forEach(n=>{var t,i;if(n.name===xe.REDIRECT_IDP&&(null==n||null===(t=n.relatesTo)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.key)===ze_IDP){const r=Object.prototype.hasOwnProperty.call(e,"currentAuthenticatorEnrollment");n.name=r?"challenge-authenticator":"enroll-authenticator"}n.name===xe.REDIRECT_IDP&&"X509"===n.type&&(n.name=xe.PIV_IDP)})})(o),R7(o)||((e,n,t)=>{if(Array.isArray(n.remediations)){const i=n.remediations.filter(s=>s.name===xe.REDIRECT_IDP);if(1!==i.length||1!==n.remediations.length||e.get("oauth2Enabled")&&!t)return;n.remediations=[{name:xe.SUCCESS_REDIRECT,href:i[0].href,value:[]}]}})(e,o,t),o};var QPe={GMT:"UTC",WET:"WET",CET:"CET",MET:"CET",ECT:"CET",EET:"EET",MIT:"Pacific/Apia",HST:"Pacific/Honolulu",AST:"America/Anchorage",PST:"America/Los_Angeles",MST:"America/Denver",PNT:"America/Phoenix",CST:"America/Chicago",EST:"America/Ne
1w_York",IET:"America/Indiana/Indianapolis",PRT:"America/Puerto_Rico",CNT:"America/St_Johns",AGT:"America/Argentina/Buenos_Aires",BET:"America/Sao_Paulo",ART:"Africa/Cairo",CAT:"Africa/Harare",EAT:"Africa/Addis_Ababa",NET:"Asia/Yerevan",PLT:"Asia/Karachi",IST:"Asia/Kolkata",BST:"Asia/Dhaka",VST:"Asia/Ho_Chi_Minh",CTT:"Asia/Shanghai",JST:"Asia/Tokyo",ACT:"Australia/Darwin",AET:"Australia/Sydney",SST:"Pacific/Guadalcanal",NST:"Pacific/Auckland"};const N7=e=>{const n={};return e.forEach(({value:t,label:i})=>{n[t]=i}),n},ZPe={type:"select",wide:!0},tRe=["text","radio","select"],oRe={string:(e,n,t,i,r)=>{const o={type:"text"};if(!0===e.secret&&Object.assign(o,(e=>({type:"password",params:{showPasswordToggle:e.get("showPasswordToggle")}}))(r)),"captcha"===e.hint&&Object.assign(o,{type:"captcha"}),"userProfile.timezone"===e.name&&(Object.assign(o,ZPe),o.options=Object.assign({"":""},QPe)),Array.isArray(e.options)&&e.options[0]&&e.options[0].value){const s=e.options[0];"display"===s.label?((e,n)=>{var t;const i=null==n||null===(t=n.value)||void 0===t?void 0:t.value;e.type=i.inputType,"radio"===i.inputType?e.options=i.options:"select"===i.inputType&&(e.wide=!0,e.options=Object.assign({"":""},"country-code"===i.format?ha_getCountryCode():N7(i.options)))})(o,s):(e=>e.indexOf("methodType")>=0||e.indexOf("channel")>=0)(e.name)?((e,n)=>{e.type="radio",n.value=n.options[0].value})(o,e):(o.type="select",o.wide=!0,o.options=N7(e.options))}return!1===e.required&&tRe.includes(o.type)&&(o.sublabel=_("oie.form.field.optional","login")),o},boolean:(e,n)=>{var t,i,r,o,s,a;if([xe.CONSENT_ENDUSER,xe.CONSENT_ADMIN].includes(n.name)){const l=n.scopes.map(({name:u,label:d,desc:f})=>({name:u,displayName:d,description:f}));return{type:n.name,scopes:l,options:e.options}}return Array.isArray(e.options)&&"radio"===(null===(t=e.options[0])||void 0===t||null===(i=t.value)||void 0===i||null===(r=i.value)||void 0===r?void 0:r.inputType)?(({label:e,required:n,options:t})=>({displayName:e,type:"radio",required:n,options:t[0].value.value.options,sublabel:n?null:_("oie.form.field.optional","login")}))(e):Array.isArray(e.options)&&"checkbox"===(null===(o=e.options[0])||void 0===o||null===(s=o.value)||void 0===s||null===(a=s.value)||void 0===a?void 0:a.inputType)?(({label:e,type:n})=>({placeholder:e,label:!1,modelType:n,type:"checkbox",required:!0,value:!1}))(e):(({label:e,type:n,required:t})=>({placeholder:e,label:!1,modelType:n,type:"checkbox",required:t||!1}))(e)},object:function SPe(e,n,t,i,r){const o={};return"authenticator"!==e.name||"select-authenticator-authenticate"!==n.name&&"select-authenticator-unlock-account"!==n.name?"authenticator"===e.name&&"select-authenticator-enroll"===n.name?Object.assign(o,function wPe({options:e}){return{type:"authenticatorEnrollSelect",options:O7(e)}}(e)):Array.isArray(e.options)&&(o.optionsUiSchemas=e.options.map(s=>i(t,{value:[{name:e.name,value:s.value}]},r)),o.options=e.options.map((s,a)=>({label:s.label,value:a})),o.type="radio",o.value="0",o.name=`sub_schema_local_${e.name}`):Object.assign(o,function CPe({options:e}){return{type:"authenticatorVerifySelect",options:O7(e)}}(e)),o}},L7=(e,n,t)=>m.chain(n.value||[]).filter(r=>!1!==r.visible).map(r=>{var o;let s;if(r.form?s=r.form:null!==(o=r.value)&&void 0!==o&&o.form&&(s=r.value.form),s){const a=r.name;return s.value.map(l=>Object.assign({},l,{name:a+"."+l.name}))}return r}).flatten().value().map(r=>{const o={"label-top":!0,multirowError:!0,"data-se":`o-form-fieldset-${r.name}`},l=(0,oRe[r.type||"string"])(r,n,e,L7,t);return Object.assign({},r,o,l)}),sRe=(e,n)=>(n&&(n.remediations=n.remediations.map(t=>(t.uiSchema=L7(n,t,e),t))),n),zh={ENROLL_TITLE:{DEFAULT:"oie.enroll.webauthn.title",PASSKEYS:"oie.enroll.webauthn.passkeysRebrand.passkeys.title",CUSTOM:"oie.enroll.webauthn.passkeysRebrand.custom.title"},VERIFY_TITLE:{DEFAULT:"oie.verify.webauth.title",PASSKEYS:"oie.verify.webauth.passkeysRebrand.passkeys.title",CUSTOM:"oie.verify.webauth.passkeysRebrand.custom.title"},DESCRIPTION:{DEFAULT:"oie.webauthn.description",PASSKEYS:"oie.webauthn.passkeysRebrand.passkeys.description",CUSTOM:"oie.webauthn.description"},SELECT_ENROLL_LABEL:{DEFAULT:"oie.select.authenticator.enroll.webauthn.label",PASSKEYS:"oie.select.authenticator.enroll.webauthn.passkeysRebrand.passkeys.label",CUSTOM:"oie.select.authenticator.enroll.webauthn.passkeysRebrand.custom.label"},SELECT_VERIFY_LABEL:{DEFAULT:"oie.select.authenticator.verify.webauthn.label",PASSKEYS:"oie.select.authenticator.verify.webauthn.passkeysRebrand.passkeys.label",CUSTOM:"oie.select.authenticator.verify.webauthn.passkeysRebrand.custom.label"},LABEL:{DEFAULT:"oie.webauthn.label",PASSKEYS:"oie.webauthn.passkeysRebrand.passkeys.label",CUSTOM:"oie.webauthn.label"},ENROLL_INSTRUCTIONS:{DEFAULT:"oie.enroll.webauthn.instructions",PASSKEYS:"oie.enroll.webauthn.passkeysRebrand.instructions",CUSTOM:"oie.enroll.webauthn.passkeysRebrand.instructions"},VERIFY_INSTRUCTIONS:{DEFAULT:"oie.verify.webauthn.instructions",PASSKEYS:"oie.verify.webauthn.passkeysRebrand.instructions",CUSTOM:"oie.verify.webauthn.passkeysRebrand.instructions"}},sv=e=>Boolean(e&&"Security Key or Biometric"!==e&&"Passkeys"!==e),Ml=(e,n)=>"string"==typeof e?e:e&&"object"==typeof e?"Passkeys"===n&&e.PASSKEYS?e.PASSKEYS:sv(n)&&e.CUSTOM?e.CUSTOM:e.DEFAULT||null:null,F7=e=>sv(e)&&e?[e]:[],{getPasswordComplexityDescriptionForHtmlList:$7}=xn,V7=(e,n=!1)=>{var t,i;const r=null==e||null===(t=e.relatesTo)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.displayName,o=F7(r),a=Ml(n?zh.VERIFY_TITLE:zh.ENROLL_TITLE,r);return ct(a,"login",o)},B7=e=>{var n,t;return(null==e||null===(n=e.relatesTo)||void 0===n||null===(t=n.value)||void 0===t?void 0:t.description)||null},hs=function(e){if(e.authenticatorKey){var n,t;const i=null!==(n=e.value)&&void 0!==n&&n.methodType?"-"+(null===(t=e.value)||void 0===t?void 0:t.methodType):"";return e.authenticatorKey+i}return""},vP=function(e,n){var t,i,r,o,s,a,l,c,u,d;const f=e.authenticatorKey,y=un.isString(f)?f.toLowerCase():"";let b={},S=n?null===(t=e.relatesTo)||void 0===t?void 0:t.nickname:void 0;switch(y){case ze_EMAIL:Object.assign(b,{description:n?(null===(i=e.relatesTo)||void 0===i||null===(r=i.profile)||void 0===r?void 0:r.email)||"":ct("oie.email.authenticator.de
1scription","login"),iconClassName:"mfa-okta-email",noTranslateClassName:n?"no-translate":"",buttonDataSeAttr:hs(e),ariaLabel:n?cRe(null===(o=e.relatesTo)||void 0===o||null===(s=o.profile)||void 0===s?void 0:s.email):ct("oie.select.authenticator.enroll.email.label","login")});break;case ze_PASSWORD:Object.assign(b,{description:n?"":ct("oie.password.authenticator.description","login"),iconClassName:"mfa-okta-password",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.password.label":"oie.select.authenticator.enroll.password.label","login")});break;case ze_PHONE:Object.assign(b,{nickname:S,description:n?null===(a=e.relatesTo)||void 0===a||null===(l=a.profile)||void 0===l?void 0:l.phoneNumber:ct("oie.phone.authenticator.description","login"),iconClassName:"mfa-okta-phone",noTranslateClassName:n?"no-translate":"",buttonDataSeAttr:hs(e),ariaLabel:n?uRe(null===(c=e.relatesTo)||void 0===c||null===(u=c.profile)||void 0===u?void 0:u.phoneNumber):ct("oie.select.authenticator.enroll.phone.label","login")});break;case"security_question":Object.assign(b,{description:n?"":ct("oie.security.question.authenticator.description","login"),iconClassName:"mfa-okta-security-question",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.security.question.label":"oie.select.authenticator.enroll.security.question.label","login")});break;case"webauthn":{var D;const nn=null===(D=e.relatesTo)||void 0===D?void 0:D.displayName,Tn=F7(nn),gn=((e,n,t)=>{if(t)return"";if(sv(n)){var i;const s=null===(i=e.relatesTo)||void 0===i?void 0:i.description;if(s)return s;const a=Ml(zh.DESCRIPTION,"Security Key or Biometric");return ct(a,"login")}const o=Ml(zh.DESCRIPTION,n);return ct(o,"login",[])})(e,nn,n),on="Passkeys"===nn?"mfa-passkeys":"mfa-webauthn",Ht=Ml(n?zh.SELECT_VERIFY_LABEL:zh.SELECT_ENROLL_LABEL,nn);Object.assign(b,{description:gn,iconClassName:on,buttonDataSeAttr:hs(e),ariaLabel:ct(Ht,"login",Tn)});break}case ze_OV:Object.assign(b,{description:ct(n?"oie.okta_verify.label":"oie.okta_verify.authenticator.description","login"),iconClassName:"mfa-okta-verify",buttonDataSeAttr:hs(e),ariaLabel:dRe(n,null==e||null===(d=e.value)||void 0===d?void 0:d.methodType)});break;case"google_otp":Object.assign(b,{description:n?"":ct("oie.google_authenticator.authenticator.description","login"),iconClassName:"mfa-google-auth",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"onprem_mfa":{var R;const nn=(null===(R=e.relatesTo)||void 0===R?void 0:R.displayName)||ct("oie.on_prem.authenticator.default.vendorName","login");Object.assign(b,{description:n?"":ct("oie.on_prem.authenticator.description","login",[nn]),iconClassName:"mfa-onprem",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break}case ze_RSA:Object.assign(b,{description:n?"":ct("oie.rsa.authenticator.description","login"),iconClassName:"mfa-rsa",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"duo":Object.assign(b,{description:n?"":ct("oie.duo.authenticator.description","login"),iconClassName:"mfa-duo",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case ze_IDP:{var G,H;const nn=null===(G=e.relatesTo)||void 0===G?void 0:G.displayName;Object.assign(b,{description:n?"":ct("oie.idp.authenticator.description","login",[nn]),iconClassName:"mfa-custom-factor",buttonDataSeAttr:hs(e),logoUri:(null==e||null===(H=e.relatesTo)||void 0===H?void 0:H.logoUri)||"",ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break}case"custom_otp":Object.assign(b,{description:n?"":ct("oie.custom_otp.description","login"),iconClassName:"mfa-hotp",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"symantec_vip":{var te;const nn=null===(te=e.relatesTo)||void 0===te?void 0:te.displayName;Object.assign(b,{description:n?"":ct("oie.symantecVip.authenticator.de
1scription","login",[nn]),iconClassName:"mfa-symantec",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break}case"yubikey_token":Object.assign(b,{description:n?"":ct("oie.yubikey.authenticator.description","login"),iconClassName:"mfa-yubikey",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"custom_app":var mt,$e,gt;Object.assign(b,{description:n?null==e||null===(mt=e.relatesTo)||void 0===mt?void 0:mt.displayName:ct("oie.custom.app.authenticator.description","login",[e.label]),noTranslateClassName:n?"no-translate":"",buttonDataSeAttr:hs(e),iconClassName:"mfa-custom-app-logo",logoUri:(null==e||null===($e=e.relatesTo)||void 0===$e?void 0:$e.logoUri)||"",ariaLabel:n?ct("oie.select.authenticator.verify.named.authenticator.label","login",[null==e||null===(gt=e.relatesTo)||void 0===gt?void 0:gt.dis
1playName]):ct("oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"smart_card_idp":Object.assign(b,{description:n?"":ct("oie.smartcard.authenticator.description","login"),iconClassName:"mfa-smartcard",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])});break;case"tac":Object.assign(b,{description:n?"":ct("oie.tac.authenticator.description","login"),iconClassName:"mfa-tac",buttonDataSeAttr:hs(e),ariaLabel:ct(n?"oie.select.authenticator.verify.named.authenticator.label":"oie.select.authenticator.enroll.named.authenticator.label","login",[e.label])})}return b};function cRe(e){return e?ct("oie.select.authenticator.verify.email.with.email.label","login",[e]):ct("oie.select.authenticator.verify.email.label","login")}function uRe(e){return e?ct("oie.select.authenticator.verify.phone.with.phone.label","login",[e]):ct("oie.select.authenticator.verify.phone.label","login")}function dRe(e,n){if(!e)return ct("oie.select.authenticator.enroll.okta_verify.authenticator.label","login");const t=ct("oie.select.authenticator.verify.okta_verify.label","login");return typeof n>"u"?t:{push:ct("oie.select.authenticator.okta_verify.push.label","login"),totp:ct("oie.select.authenticator.okta_verify.totp.label","login"),signed_nonce:ct("oie.select.authenticator.okta_verify.signed_nonce.label","login")}[n]||t}function U7(e){return vP(e,!0)}function H7(e){var n,t;return null===(n=e.relatesTo)||void 0===n||null===(t=n.value)||void 0===t?void 0:t.displayName}const j7="authfactor.webauthn.error",z7="passkeys.authfactor.webauthn.error",G7="oie.webauthn.label",yRe=["enroll-authenticator.security_question.credentials.questionKey.","challenge-authenticator.security_question.credentials.questionKey."],y0={"identify.identifier":"primaryauth.username.placeholder","select-authenticator-unlock-account.identifier":"primaryauth.username.placeholder","unlock-account.identifier":"primaryauth.username.placeholder","identify.credentials.passcode":"primaryauth.password.placeholder","identify.rememberMe":"oie.remember","enroll-profile.userProfile.rememberMe":"oie.remember","identify-recovery.identifier":"password.forgot.email.or.username.placeholder","select-authenticator-enroll.authenticator.duo":"factor.duo","select-authenticator-enroll.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-enroll.authenticator.okta_email":"oie.email.label","select-authenticator-enroll.authenticator.okta_password":"oie.password.label","select-authenticator-enroll.authenticator.okta_verify":"oie.okta_verify.label","select-authenticator-enroll.authenticator.phone_number":"oie.phone.label","select-authenticator-enroll.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-enroll.authenticator.security_question":"oie.security.question.label","select-authenticator-enroll.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-enroll.authenticator.webauthn":G7,"select-authenticator-enroll.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-authenticate.authenticator.duo":"factor.duo","select-authenticator-authenticate.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-authenticate.authenticator.okta_email":"oie.email.label","select-authenticator-authenticate.authenticator.okta_password":"oie.password.label","select-authenticator-authenticate.authenticator.okta_verify.push":"oie.okta_verify.push.title","select-authenticator-authenticate.authenticator.okta_verify.signed_nonce":"oie.okta_verify.signed_nonce.label","select-authenticator-authenticate.authenticator.okta_verify.totp":"oie.okta_verify.totp.title","select-authenticator-authenticate.authenticator.phone_number":"oie.phone.label","select-authenticator-authenticate.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-authenticate.authenticator.security_question":"oie.security.question.label","select-authenticator-authenticate.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-authenticate.authenticator.webauthn":G7,"select-authenticator-authenticate.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-authenticate.authenticator.custom_app":"oie.custom.app.authenticator.title","select-authenticator-authenticate.authenticator.tac":"oie.tac.label","select-authenticator-unlock-account.authenticator.okta_email":"oie.email.label","select-authenticator-unlock-account.authenticator.phone_number":"oie.ph
1one.label","select-authenticator-unlock-account.authenticator.okta_verify.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.signed_nonce":"oie.okta_verify.signed_nonce.label","authenticator-verification-data.okta_verify.authenticator.methodType.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.totp":"oie.okta_verify.totp.title","authenticator-enrollment-data.phone_number.authenticator.phoneNumber":"mfa.phoneNumber.placeholder","authenticator-enrollment-data.phone_number.authenticator.methodType.sms":"oie.phone.enroll.sms.label","authenticator-enrollment-data.phone_number.authenticator.methodType.voice":"oie.phone.enroll.voice.label","enroll-authenticator.okta_password.credentials.passcode":"oie.password.passwordLabel","enroll-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.security_question.sub_schema_local_credentials.0":"oie.security.question.questionKey.label","enroll-authenticator.security_question.sub_schema_local_credentials.1":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","enroll-authenticator.security_question.credentials.question":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.questionKey":"oie.security.question.questionKey.label","enroll-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","enroll-authenticator.onprem_mfa.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.onprem_mfa.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.rsa_token.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.rsa_token.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.symantec_vip.credentials.credentialId":"enroll.symantecVip.credentialId.placeholder","enroll-authenticator.symantec_vip.credentials.passcode":"enroll.symantecVip.passcode1.placeholder","enroll-authenticator.symantec_vip.credentials.nextPasscode":"enroll.symantecVip.passcode2.placeholder","enroll-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","enrollment-channel-data.email":"oie.enroll.okta_verify.channel.email.label","enrollment-channel-data.phoneNumber":"mfa.phoneNumber.placeholder","select-enrollment-channel.authenticator.channel.qrcode":"oie.enroll.okta_verify.select.channel.qrcode.label","select-enrollment-channel.authenticator.channel.email":"oie.enroll.okta_verify.select.channel.email.label","select-enrollment-channel.authenticator.channel.sms":"oie.enroll.okta_verify.select.channel.sms.label","challenge-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.okta_password.credentials.passcode":"mfa.challenge.password.placeholder","challenge-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","challenge-authenticator.okta_verify.credentials.totp":"oie.okta_verify.totp.enterCodeText","challenge-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","challenge-authenticator.onprem_mfa.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.rsa_token.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.custom_otp.credentials.passcode":"oie.custom_otp.verify.passcode.label","challenge-authenticator.symantec_vip.credentials.passcode":"oie.symantecVip.verify.passcode.label","challenge-authenticator.tac.credentials.passcode":"oie.custom_otp.verify.passcode.label","challenge-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","challenge-authenticator.credentials.passcode":"oie.password.label","reset-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reset-authenticator.okta_password.confirmPassword":"oie.password.confirmPasswordLabel","reset-authenticator.okta_password.credentials.revokeSessions":"password.reset.revokeSessions","reenroll-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator.okta_password.confirmPassword":"oie.password.confirmPasswordLabel","reenroll-authenticator.okta_password.credentials.revokeSessions":"password.reset.revokeSessions","reenroll-authenticator-warning.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator-warning.okta_password.confirmPassword":"oie.password.confirmPasswordLabel","reenroll-authenticator-warning.okta_password.credentials.revokeSessions":"password.reset.revokeSessions","enroll-authenticator.okta_password.confirmPassword":"oie.password.confirmPasswordLabel","enroll-authenticator.okta_password.credentials.revokeSessions":"password.reset.revokeSessions",incorrectPassword:"oie.password.incorrect.message","profile-update.userProfile.secondEmail":"oie.user.profile.secondary.email","user-code.userCode":"device.code.activate.label","api.authn.poll.error.push_rejected":"oktaverify.rejected","oie.authenticator.duo.method.duo.verification_timeout":"oie.authenticator.duo.error","oie.authenticator.duo.method.duo.verification_failed":"oie.authenticator.duo.error","idx.email.verification.required":"registration.complete.confirm.text",tooManyRequests:"oie.tooManyRequests","api.users.auth.error.POST_PASSWORD_UPDATE_AUTH_FAILURE":"oie.post.password.update.auth.failure.error","security.access_de
1nied":"errors.E0000006",E0000009:"errors.E0000009",E0000020:"errors.E0000020","api.factors.error.sms.invalid_phone":"oie.phone.invalid","app.ldap.password.reset.failed":"errors.E0000017","oie.selfservice.unlock_user.challenge.failed.permissions":"errors.E0000006","core.auth.factor.signedNonce.error.invalidEnrollment":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.invalidFactor":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.deletedDevice":"core.auth.factor.signedNonce.error","core.auth.factor.signedNonce.error.invalidDeviceStatus":"core.auth.factor.signedNonce.error.invalidDevice","challenge-poll.custom_app.autoChallenge":"autoPush","challenge-poll.okta_verify.autoChallenge":"autoPush","authenticator-verification-data.authenticator.autoChallenge":"autoPush","authenticator-verification-data.okta_verify.authenticator.autoChallenge":"autoPush","authenticator-verification-data.custom_app.authenticator.autoChallenge":"autoPush","enroll-profile.userProfile.login":"oie.user.profile.login","enroll-profile.userProfile.lastName":"oie.user.profile.lastname","enroll-profile.userProfile.firstName":"oie.user.profile.firstname","enroll-profile.userProfile.email":"oie.user.profile.primary.email","enroll-profile.userProfile.secondEmail":"oie.user.profile.secondary.email","enroll-profile.userProfile.middleName":"oie.user.profile.middleName","enroll-profile.userProfile.honorificPrefix":"oie.user.profile.honorificPrefix","enroll-profile.userProfile.honorificSuffix":"oie.user.profile.honorificSuffix","enroll-profile.userProfile.title":"oie.user.profile.title","enroll-profile.userProfile.displayName":"oie.user.profile.displayName","enroll-profile.userProfile.nickName":"oie.user.profile.nickName","enroll-profile.userProfile.profileUrl":"oie.user.profile.profileUrl","enroll-profile.userProfile.mobilePhone":"oie.user.profile.mobilePhone","enroll-profile.userProfile.primaryPhone":"oie.user.profile.primaryPhone","enroll-profile.userProfile.streetAddress":"oie.user.profile.streetAddress","enroll-profile.userProfile.city":"oie.user.profile.city","enroll-profile.userProfile.state":"oie.user.profile.state","enroll-profile.userProfile.zipCode":"oie.user.profile.zipCode","enroll-profile.userProfile.postalCode":"oie.user.profile.postalCode","enroll-profile.userProfile.countryCode":"oie.user.profile.countryCode","enroll-profile.userProfile.postalAddress":"oie.user.profile.postalAddress","enroll-profile.userProfile.preferredLanguage":"oie.user.profile.preferredLanguage","enroll-profile.userProfile.locale":"oie.user.profile.locale","enroll-profile.userProfile.timezone":"oie.user.profile.timezone","enroll-profile.userProfile.userType":"oie.user.profile.userType","enroll-profile.userProfile.employeeNumber":"oie.user.profile.employeeNumber","enroll-profile.userProfile.costCenter":"oie.user.profile.costCenter","enroll-profile.userProfile.organization":"oie.user.profile.organization","enroll-profile.userProfile.division":"oie.user.profile.division","enroll-profile.userProfile.department":"oie.user.profile.department","enroll-profile.userProfile.managerId":"oie.user.profile.managerId","enroll-profile.userProfile.manager":"oie.user.profile.manager","enroll-profile.credentials.passcode":"oie.password.label"},_P={[xe.ENROLL_AUTHENTICATOR]:{onprem_mfa:{getParam:H7},[ze_RSA]:{getParam:H7}}},q7={"registration.error.invalidLoginEmail":{Email:"Email"},"registration.error.doesNotMatchPattern":{Email:"Email"},"registration.error.notUniqueWithinOrg":{Email:"Email"}},W7=(e,n)=>{const t=[],i=e.name;if("webauthn"===n){var r,o;const s=null==e||null===(r=e.relatesTo)||void 0===r||null===(o=r.value)||void 0===o?void 0:o.displayName;if(sv(s))return t.push(s),t}if(_P[i]&&_P[i][n]){const a=_P[i][n].getParam(e);t.push(a)}return t},av=e=>!!So.login[e],v0=(e,n,t=[],i=null)=>{const r=((e,n=null)=>{let t;if(yRe.forEach(o=>{0===e.indexOf(o)&&(t=`security.${e.replace(o,"")}`)}),"select-authenticator-enroll.authenticator.webauthn"===e||"select-authenticator-authenticate.authenticator.webauthn"===e){var i,r;const o=null==n||null===(i=n.relatesTo)||void 0===i||null===(r=i.value)||void 0===r?void 0:r.displayName;if(sv(o))return null;t=Ml(zh.LABEL,o)}else y0[e]&&(t=y0[e]);return t&&!So.login[t]&&(zn_warn(`expect i18n key ${t} for ${e} but not found in 'login' bundle.`),t=null),t})(e,i);return r?ct(r,"login",t):(zn_warn(`Avoid rendering unlocalized text sent from the API: ${n}`),n)},Gh=e=>{var n;if(null!==(n=e.i18n)&&void 0!==n&&n.key){var t;let o=e.i18n.key,s=e.i18n.params||[];var i;if(1===s.length&&""===s[0]&&(s=[]),y0[null===(t=e.i18n)||void 0===t?void 0:t.key])o=y0[null===(i=e.i18n)||void 0===i?void 0:i.key];else if(q7[o]){var r;const a=null===(r=e.i18n.params)||void 0===r?void 0:r[0];o=((e,n)=>{let t=e;return t+=q7[t][n]?`.${n}`:".custom",t})(o,a),s=o.endsWith("custom")?[a]:[]}if(So.login[o])return zn_info(`Override messages using i18n key ${o}`),ct(o,"login",s);if((e=>e.startsWith(j7))(o))return ct(j7,"login");if((e=>e.startsWith(z7))(o))return ct(z7,"login");if(o.startsWith("device.assurance.custom.remediation."))return e.message}return zn_warn(`Avoid rendering unlocalized text sent from the API: ${e.message}`),e.message},bP=e=>{if(e.name){const n=`oie.browser.error.${e.name}`;if(So.login[n])return zn_info(`Override messages using i18n key ${n}`),ct(n,"login")}return e.message},K7=e=>{var n;return(null==e||null===(n=e.i18n)||void 0===n?void 0:n.key)||""},lv=(e,n)=>{var t;const i=null===(t=n.get("languageCode"))||void 0===t?void 0:t.toLowerCase(),r=n.get("i18n");return!(typeof r>"u"||null===r)&&Object.entries(r).some(([o,s])=>o.toLowerCase()===i&&!!s[e])},Y7=(e,n)=>{var t,i;if(!1===n.mutable&&n.name.indexOf("questionKey")<0)return;zn_info("i18n label transformer"),zn_info("\t remediationName: ",e.name),zn_info("\t uiSchema: ",JSON.stringify(n));const r=null===(t=e.relatesTo)||void 0===t||null===(i=t.value)||void 0===i?void 0:i.key;let a=`${e.name}${r?`.${e.relatesTo.value.key}`:""}.${n.name}`;if("text"===n.type&&n.name.indexOf("questionKey")>
1=0&&"custom"!==n.value&&(a=`${a}.${n.value}`),"checkbox"===n.type&&n.placeholder&&(zn_info("\t 1: ",a),n.placeholder=v0(a,n.placeholder)),n.label){zn_info("\t 2: ",a);const l=W7(e,r);n.label=n.customLabel?n.label:v0(a,n.label,l,e)}Qt.isPlainObject(n.options)&&(n.options=m.mapObject(n.options,(l,c)=>{const u=`${a}.${c}`;return zn_info("\t 3: ",u),v0(u,l)})),Array.isArray(n.options)&&n.options.forEach(l=>{if(!l.label)return;let c;if(l.authenticatorKey){var u;c=`${a}.${l.authenticatorKey}`;const y=null===(u=l.value)||void 0===u?void 0:u.methodType;l.authenticatorKey===ze_OV&&y&&(c=`${c}.${y}`)}else c="string"==typeof l.value||"number"==typeof l.value?`${a}.${l.value}`:a;zn_info("\t 4: ",c);const d=l.relatesTo?{...e,relatesTo:{value:l.relatesTo}}:e,f=W7(d,l.authenticatorKey);l.label=v0(c,l.label,f,d)}),Array.isArray(n.optionsUiSchemas)&&n.optionsUiSchemas.forEach(l=>{l.forEach(c=>Y7(e,c))})};var CRe=e=>{var n;return Array.isArray(e.remediations)&&e.remediations.filter(t=>Array.isArray(t.uiSchema)&&t.uiSchema.length).forEac
1h(t=>{t.uiSchema.forEach(i=>Y7(t,i))}),Array.isArray(null===(n=e.messages)||void 0===n?void 0:n.value)&&e.messages.value.forEach(t=>{t.message=Gh(t)}),e};function SRe(e,n,t){return m.compose(CRe,sRe.bind({},e),GPe.bind({},e))(n,t)}function _0(e,n){return wP.apply(this,arguments)}function wP(){return wP=V(function*(e,n){const t=e.settings,i=e.get("idx");var o;if(t.get("oauth2Enabled")){if(n.interactionCode){ds_removeStateHandle();const a=yield LPe(t,n);return e.unset("currentFormName",{silent:!0}),a}}else i&&ds_setStateHandle(null==n||null===(o=n.context)||void 0===o?void 0:o.stateHandle),e.get("currentFormName")===xe.CANCEL_TRANSACTION&&ds_removeStateHandle();const s=SRe(t,n,i);yield e.setIonResponse(s)}),wP.apply(this,arguments)}function cv(e){const n=e;n.details=n.details||{};const{details:t}=n;if(t.rawIdxState=t.rawIdxState||{},t.context=t.context||{},t.neededToProceed=t.neededToProceed||[],!t.rawIdxState.messages){const i={type:"array",value:[{message:_("oform.error.unexpected","login"),class:"ERROR",i18n:void 0}]};t.rawIdxState.messages=i,t.context.messages=i}return n}function Q7(e){return"string"==typeof e&&(e=new Error(e)),function xRe(e){return"invalid_request"===e?.error&&"The recovery token is invalid"===e.error_description}(e)?function kRe(e){const n=cv(e),{details:t}=n,i={type:"array",value:[{message:e.error_description,i18n:{key:"oie.invalid.recovery.token"},class:"ERROR"}]};return t.rawIdxState.messages=i,t.context.messages=i,n}(e):function ERe(e){return"invalid_request"===e?.error&&"The activation token is invalid"===e.error_description}(e)?function TRe(e){const n=cv(e),{details:t}=n,i={type:"array",value:[{message:e.error_description,i18n:{key:"idx.missing.activation.token"},class:"ERROR"}]};return t.rawIdxState.messages=i,t.context.messages=i,n}(e):function ARe(e){return"access_denied"===e?.error&&e.error_description}(e)?function MRe(e){const n=cv(e),{details:t}=n,i={type:"array",value:[{message:e.error_description,i18n:{key:"oie.feature.disabled"},class:"ERROR"}]};return t.rawIdxState.messages=i,t.context.messages=i,e}(e):function DRe(e){return e?.error&&e.error_description}(e)?function ORe(e){const n=cv(e),{details:t}=n,i={type:"array",value:[{message:_("oie.configuration.error","login"),class:"ERROR",i18n:void 0}]};return t.rawIdxState.messages=i,t.context.messages=i,e}(e):e=cv(e)}const CP=(e,n=[])=>un.chain(n).filter(t=>{var i;return Array.isArray(null===(i=t.messages)||void 0===i?void 0:i.value)&&t.messages.value.length}).map(t=>({property:e?`${e}.${t.name}`:t.name,errorSummary:t.messages.value.map(Gh),errorKey:t.messages.value.map(K7)})).value(),PRe=e=>{let n=[];if(!e.remediation||!Array.isArray(e.remediation.value)||0===e.remediation.value.length)return n;let t=e.remediation.value[0].value;return Array.isArray(t)?(n.push(CP(null,t)),un.each(t,i=>{var r;const o=i.name;Array.isArray(null===(r=i.form)||void 0===r?void 0:r.value)&&n.push(CP(o,i.form.value)),Array.isArray(i.options)&&un.each(i.options,s=>{var a,l;Array.isArray(null===(a=s.value)||void 0===a||null===(l=a.form)||void 0===l?void 0:l.value)&&n.push(CP(o,s.value.form.value))})}),((e,n)=>{if(!Array.isArray(e))return[];if(!un.isFunction(n)||1===e.length)return e;const t=[];for(let i=0;i<e.length;i++){let r=!1;for(let o=i+1;o<e.length;o++)if(n(e[i],e[o])){r=!0;break}r||t.push(e[i])}return t})(un.flatten(n),un.isEqual)):n},RRe=e=>{var n;let t=[];return Array.isArray(null===(n=e.messages)||void 0===n?void 0:n.value)&&(t=e.messages.value.map(Gh)),t.join(". ")},NRe=e=>{var n;let t=[];return Array.isArray(null===(n=e.messages)||void 0===n?void 0:n.value)&&(t=e.messages.value.map(K7)),t};var uv_isIonErrorResponse=(e={})=>e.version,uv_isIdxSessionExpiredError=e=>{var n,t,i,r;const o=null==e||null===(n=e.context)||void 0===n||null===(t=n.messages)||void 0===t||null===(i=t.value[0])||void 0===i||null===(r=i.i18n)||void 0===r?void 0:r.key;return o&&"idx.session.expired"===o};class J7 extends Zy{constructor(n){super(n),this.Events=Ri.Events,this.hasControllerRendered=!1,this.settings=void 0,this.appState=void 0,this.hooks=void 0,this.header=void 0,n.globalSuccessFn||(n.globalSuccessFn=function(){}),n.globalErrorFn||(n.globalErrorFn=function(i){zn_error(i)}),this.settings=new _7(m.omit(n,"el","hooks"),{parse:!0}),n.el||this.settings.callGlobalError(new ls(_("error.required.el"))),Qt("body > div").on("click",function(){}),this.hooks=n.hooks,this.appState=new DPe({},{settings:this.settings,hooks:this.hooks});const t=new b7({appState:this.appState});Qt(n.el).append(t.render().$el),this.el=`#${Re.WIDGET_CONTAINER_ID}`,this.header=new E7({el:this.el,appState:this.appState,settings:this.settings}),this.hide(),this.listenTo(this.appState,"change:deviceFingerprint",this.updateDeviceFingerprint),this.listenTo(this.appState,"restartLoginFlow",this.restartLoginFlow)}updateDeviceFingerprint(){const n=this.settings.getAuthClient(),t=this.appState.get("deviceFingerprint");t&&n.http.setRequestHeader("X-Device-Fingerprint",t)}handleIdxResponseFailure(){var n=this;return V(function*(t={error:"unknown",details:void 0}){t=Q7(t),yield _0(n.appState,t.details)}).apply(this,arguments)}handleError(){var n=this;return V(function*(t={error:"unknown",details:void 0}){const i=Q7({...t});yield _0(n.appState,i.details)}).apply(this,arguments)}render(n){var t=this;return V(function*(i,r={}){let o;sessionStorage.getItem(uP)!==window.location.href&&ds_removeStateHandle(),t.header.rendered()||(t.el=t.header.render().getContentEl()),So.isLoaded(t.settings.get("languageCode"))||(yield y7(t.appState,t.settings));try{let l=yield P7(t.settings);l.error?yield t.handleIdxResponseFailure(l.error):(t.settings.get("flow")&&!t.hasControllerRendered&&(l=yield function NPe(e,n){return gP.apply(this,arguments)}(l,t.settings)),!l.requestDidSucceed&&uv_isIdxSessionExpiredError(l)&&t.settings.getAuthClient().transactionManager.clear(),yield _0(t.appState,l))}catch(l){var s;null!==(s=l.is)&&void 0!==s&&s.call(l,"terminal")?t.appState.setNonIdxError(l):(o=l,yield t.handleError(l))}finally{t.settings.unset("stateToken"),t.settings.unset("proxyIdxResponse")}if(t.settings.get("colors.brand")&&!Td.isLoaded()){const l={brand:t.settings.get("colors.brand")},c=t.settings.get("cspNonce");Td.addStyle(l,c)}t.show(),t.unload();const a=m.extend({el:t.el,settings:t.settings,appState:t.appState},r);t.controller=new i(a),t.listenTo(t.controller,"all",t.trigger),t.controller.render(),t.hasControllerRendered=!0,o&&t.settings.callGlobalError(o)}).apply(this,arguments)}updateIdentifierCookie(n){if(this.settings.get("features.rememberMe")){var t;const i=null==n||null===(t=n.context)||void 0===t?void 0:t.user,{identifier:r}=i?.value||{};r&&fa_setUsernameCookie(r)}else fa_removeUsernameCookie()}hasAuthenticationSucceeded(n){var t,i;return(null==n||null===(t=n.rawIdxState)||void 0===t?void 0:t.success)||(null==n||null===(i=n.rawIdxState)||void 0===i?void 0:i.successWithInteractionCode)}restartLoginFlow(n){var t;this.settings.getAuthClient().transactionManager.clear(),this.appState.set("idx",void 0);const i=this.settings.getAuthClient();delete i.options.recoveryToken,this.settings.unset("recoveryToken"),this.settings.unset("otp"),this.controller.stopListening(),i.idx.setFlow(null!==(t=n??this.settings.get("flow"))&&void 0!==t?t:"default"),this.render(this.controller.constructor)}start(){const n=mi.supportsPushState();Zy.prototype.start.call(this,{pushState:n})}hide(){this.header.$el.hide()}show(){this.header.$el.show()}remove(){this.unload(),this.header.$el.remove(),this.stopListening(this.appState),this.stopListening(this.settings),So.remove(),Ri.history.stop()}}J7.prototype.Events=Ri.Events;var dv=Ee.extend({HeaderBeacon:null,initialize:function(){this.HeaderBeacon&&this.add(this.HeaderBeacon)},postRender:function(){const e=Qt(`#${Re.WIDGET_CONTAINER_ID}`);if(this.HeaderBeacon){e.removeClass("no-beacon");const n=this.$el.find('[data-type="beacon-container"]');Ra.explode(n)}else e.addClass("no-beacon")}}),qh=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"label")||(null!=n?s(n,"label"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"label",hash:{},data:r,loc:{start:{line:1,column:0},end:{line:1,column:9}}}):o)},useData:!0}
1),tagName:"a",attributes:function(){return{"data-se":this.options.name,href:this.options.href||"#",target:this.options.target,rel:"_blank"!==this.options.target||this.options.rel?this.options.rel:"noopener noreferrer"}},className:function(){const e=["link"];if(this.options.name){const n=this.options.name.replace(/[ ]/g,"-");e.push(`js-${n}`)}return e.join(" ")},postRender:function(){this.options.href||this.$el.click(e=>{e.preventDefault();const{appState:n,formName:t,actionPath:i,clickHandler:r}=this.options;r?r():t?n.trigger("switchForm",t):i&&n.trigger("invokeAction",i)})}}),LRe=Ee.extend({initialize:function(){Ee.prototype.initialize.apply(this,arguments);const e=this.options.additionalOptions,n=this.options.name,t=Object.assign({},this.options,{type:"link","aria-expanded":!1,clickHandler:function(){Qt(e.selector).slideToggle(200,()=>{Qt(`.js-${n}`).attr("aria-expanded",Qt(e.selector).is(":visible"))})}});this.add(qh,{options:t}),this.add(e.view)},postRender:function(){this.$(this.options.additionalOptions.selector).hide()}});const{ENROLLED_PASSWORD_RECOVERY_LINK:X7,ORG_PASSWORD_RECOVERY_LINK:Z7}=gPe,SP=(e,n)=>{const t={type:"link",label:_("forgotpassword","login"),name:"forgot-password"},i=n.get("helpLinks.forgotPassword");return i?[Object.assign({},{href:i,label:_("forgotpassword","login"),name:"forgot-password"})]:e.getActionByPath(Z7)?[Object.assign({},t,{actionPath:Z7})]:e.getActionByPath(X7)?[Object.assign({},t,{actionPath:X7})]:[]},ez=(e,n)=>e.hasRemediationObject(xe.SKIP)?[{type:"link",label:n??_("oie.enroll.skip.setup","login"),name:"skip-setup",actionPath:xe.SKIP}]:[],tz=(e,n={})=>null!=e&&e.get("backToSignInUri")?[{label:_("goback","login"),name:"cancel",href:e.get("backToSignInUri")}]:[{actionPath:"cancel",label:n.label?n.label:_("goback","login"),name:"cancel",type:"link"}],URe=e=>{let n;const t=e.get("helpLinks.gracePeriodRequiredSoon.text"),i=e.get("helpLinks.gracePeriodRequiredSoon.href");return t&&i&&(n={type:"link",label:t,name:"gracePeriodRequiredSoonCustomLink",href:i,target:"_blank"}),n},nz=(e,n)=>{const t=[],i=[xe.CHALLENGE_AUTHENTICATOR,xe.SELECT_AUTHENTICATOR_AUTHENTICATE,xe.CHALLENGE_POLL,xe.AUTHENTICATOR_VERIFICATION_DATA];if(!e.get("isPasswordRecovery")&&i.includes(e.get("currentFormName"))){const r=n.get("helpLinks.factorPage.text"),o=n.get("helpLinks.factorPage.href");r&&o&&t.push({type:"link",label:r,name:"factorPageHelpLink",href:o,target:"_blank"})}return t};var pa=Ee.extend({className:"auth-footer",links:[],footerInfo:null,hasBackToSignInLink:!0,initialize:function(){let e=m.resultCtx(this,"links",this);const n=m.resultCtx(this,"footerInfo",this),t=m.resultCtx(this,"hasBackToSignInLink",this);e=Array.isArray(e)?e.filter(i=>Qt.isPlainObject(i)):[],this.options.appState.shouldShowSignOutLinkInCurrentForm(this.options.settings.get("features.hideSignOutLinkInMFA")||this.settings.get("features.mfaOnlyFlow"))&&t&&(e=e.concat(tz(this.options.settings))),e.forEach(i=>{let r=qh;"toggle-text-link"===i.type&&(r=LRe),this.add(r,{options:i})}),n&&(this.add(Ee.extend({className:"footer-info"})),this.add(n,".footer-info"))}});const xP=1e3,rz="authenticatorChallenge-cancel",EP="IDENTIFIER",kP="oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.desktop",sz="oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows",TP="oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.mobile",YRe=Ee.extend({className:"authenticator-row clearfix",template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(o=null!=(o=c(t,"iconClassName")||(null!=n?c(n,"iconClassName"):n))?o:a)?o.call(s,{name:"iconClassName",hash:{},data:r,loc:{start:{line:1,column:100},end:{line:1,column:117}}}):o)+' custom-app-logo" role="img" aria-label="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:r,loc:{start:{line:1,column:158},end:{line:1,column:213}}}))+'"></div>'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(o=null!=(o=c(t,"iconClassName")||(null!=n?c(n,"iconClassName"):n))?o:a)?o.call(s,{name:"iconClassName",hash:{},data:r,loc:{start:{line:1,column:272},end:{line:1,column:289}}}):o)+'" role="img" aria-label="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:r,loc:{start:{line:1,column:314},end:{line:1,column:369}}}))+'"></div>'},5:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<span class="authenticator-grace-period-required-icon"></span><div class="authenticator-grace-period-text-container"><p class="authenticator-grace-period-required-description">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"gracePeriodRequiredDescription")||(null!=n?l(n,"gracePeriodRequiredDescription"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"gracePeriodRequiredDescription",hash:{},data:r,loc:{start:{line:1,column:702},end:{line:1,column:736}}}):s)+"</p>"+(null!=(o=l(t,"if").call(a,null!=n?l(n,"gracePeriodExpiry"):n,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:740},end:{line:1,column:847}}}))?o:"")+"</div>"},6:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="authenticator-grace-period-expiry-date">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"gracePeriodExpiry")||(null!=n?s(n,"gracePeriodExpiry"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"gracePeriodExpiry",hash:{},data:r,loc:{start:{line:1,column:815},end:{line:1,column:836}}}):o)+"</p>"},8:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"gracePeriodRemainingSkipsDescription"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.program(11,r,0),data:r,loc:{start:{line:1,column:853},end:{line:1,column:1335}}}))?o:""},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="authenticator-grace-period-required-icon"></span><div class="authenticator-grace-period-text-container"><p class="authenticator-grace-period-skip-count-description">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"gracePeriodRemainingSkipsDescription")||(null!=n?s(n,"gracePeriodRemainingSkipsDescription"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"gracePeriodRemainingSkipsDescription",hash:{},data:r,loc:{start:{line:1,column:1079},end:{line:1,column:1119}}}):o)+"</p></div></span>"},11:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"description"):n,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1144},end:{line:1,column:1232}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"authenticatorUsageText"):n,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1232},end:{line:1,column:1335}}}))?o:"")},12:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="authenticator-description--text">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"description")||(null!=n?s(n,"description"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"description",hash:{},data:r,loc:{start:{line:1,column:1206},end:{line:1,column:1221}}}):o)+"</p>"},14:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="authenticator-usage-text">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"authenticatorUsageText")||(null!=n?s(n,"authenticatorUsageText"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"authenticatorUsageText",hash:{},data:r,loc:{start:{line:1,column:1298},end:{line:1,column:1324}}}):o)+"</p>"},16:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'data-se="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"buttonDataSeAttr")||(null!=n?s(n,"buttonDataSeAttr"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"buttonDataSeAttr",hash:{},data:r,loc:{start:{line:1,column:1409},end:{line:1,column:1429}}}):o)+'"'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="authenticator-icon-container">'+(null!=(o=l(t,"if").call(a,null!=n?l(n,"logoUri"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:42},end:{line:1,column:384}}}))?o:"")+'</div><div class="authenticator-description"><h3 class="authenticator-label no-translate">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"label")||(null!=n?l(n,"label"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"label",hash:{},data:r,loc:{start:{line:1,column:474},end:{line:1,column:483}}}):s)+"</h3>"+(null!=(o=l(t,"if").call(a,null!=n?l(n,"gracePeriodRequiredDescription"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.program(8,r,0),data:r,loc:{start:{line:1,column:488},end:{line:1,column:1342}}}))?o:"")+'<div class="authenticator-button" '+(null!=(o=l(t,"if").call(a,null!=n?l(n,"buttonDataSeAttr"):n,{name:"if",hash:{},fn:e.program(16,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1376},end:{line:1,column:1437}}}))?o:"")+"></div></div>"},useData:!0}),postRender:function(){Ee.prototype.postRender.apply(this,arguments),this.model.get("logoUri")&&(this.el.querySelector(".custom-app-logo").style.backgroundImage=`url(${this.model.get("logoUri")})`)},children:function(){return[[cr({className:"button select-factor",title:function(){return _("oie.enroll.authenticator.button.text","login")},attributes:{"aria-label":this.model.get("ariaLabel")},click:function(){this.model.trigger("selectAuthenticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")},getTemplateData:function(){let e;const n=this.model.get("relatesTo").allowedFor;if(n)switch(n){case"any":e=_("oie.enroll.authenticator.usage.text.access.recovery","login");break;case"recovery":e=_("oie.enroll.authenticator.usage.text.recovery","login");break;case"sso":e=_("oie.enroll.authenticator.usage.text.access","login")}const t=Ee.prototype.getTemplateData.apply(this,arguments);t.authenticatorUsageText=e;const i=this._getGracePeriodData();return{...t,...i}},_getGracePeriodData:function(){var e,n,t,i,r,o;const s={},a=Date.now(),l=new Date(null===(e=this.model.get("relatesTo"))||void 0===e||null===(n=e.gracePeriod)||void 0===n?void 0:n.expiry).getTime();if(!isNaN(l)&&a<l){const y=function(e,n){try{if("number"==typeof e&&"number"==typeof n){const t=Math.abs(n-e);return Math.floor(t/864e5)}}catch{}return null}(a,l);s.gracePeriodRequiredDescription=1===y?_("oie.enrollment.policy.grace.period.required.in.one.day","login"):y>1?_("oie.enrollment.policy.grace.period.required.in.days","login",[y]):_("oie.enrollment.policy.grace.period.required.today","login"),l&&(s.gracePeriodExpiry=l0_formatDateToDeviceAssuranceGracePeriodExpiryLocaleStr
1ing(new Date(l),this.settings.get("languageTags"),!1))}else if(null!==(t=this.model.get("relatesTo"))&&void 0!==t&&null!==(i=t.gracePeriod)&&void 0!==i&&i.remainingSkips&&(null===(r=this.model.get("relatesTo"))||void 0===r||null===(o=r.gracePeriod)||void 0===o?void 0:o.remainingSkips)>0){var c,u,d,f;s.gracePeriodRemainingSkipsDescription=1===(null===(c=this.model.get("relatesTo"))||void 0===c||null===(u=c.gracePeriod)||void 0===u?void 0:u.remainingSkips)?_("oie.enrollment.policy.grace.period.required.in.one.skip","login"):_("oie.enrollment.policy.grace.period.required.in.number.of.skips","login",[null===(d=this.model.get("relatesTo"))||void 0===d||null===(f=d.gracePeriod)||void 0===f?void 0:f.remainingSkips])}return s}});var az=o0.extend({className:"authenticator-enroll-list authenticator-list",item:YRe,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAuthenticator",function(e){this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model)}),this.hasOptionalFactors=this.options.appState.hasRemediationObject(xe.SKIP)},template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<p class="authenticator-list-subtitle">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"subtitle")||(null!=n?s(n,"subtitle"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"subtitle",hash:{},data:r,loc:{start:{line:1,column:134},end:{line:1,column:146}}}):o)+"</p>"},3:function(e,n,t,i,r){var o,s=e.lambda,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="authenticator-list-subtitle-link-container"><a href='+a(s(null!=(o=null!=n?l(n,"subtitleLinkOptions"):n)?l(o,"href"):o,n))+' target="_blank" rel="noopener noreferrer">'+a(s(null!=(o=null!=n?l(n,"subtitleLinkOptions"):n)?l(o,"label"):o,n))+"</a></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="list-content"><div class="authenticator-list-title">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"title")||(null!=n?l(n,"title"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"title",hash:{},data:r,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):s)+"</div>"+(null!=(o=l(t,"if").call(a,null!=n?l(n,"subtitle"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:79},end:{line:1,column:157}}}))?o:"")+(null!=(o=l(t,"if").call(a,null!=n?l(n,"subtitleLinkOptions"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:157},end:{line:1,column:365}}}))?o:"")+"</div>"},useData:!0}),getTemplateData:function(){const e=_(this.hasOptionalFactors?"oie.setup.optional":"oie.setup.required","login");return{title:this.options.listTitle||e,subtitle:this.options.listSubtitle||null,subtitleLinkOptions:this.options.listSubtitleLinkOptions||null}}});const QRe=cr({className:"button-primary button skip-all",title:function(){return _("oie.setup.remind.me.later","login")},click:function(){this.options.appState.trigger("invokeAction",xe.SKIP)}}),JRe=cr({className:"button-primary button skip-all",title:function(){return _("oie.optional.authenticator.button.title","login")},click:function(){this.options.appState.trigger("invokeAction",xe.SKIP)}});var XRe=Ee.extend({className:"authenticator-enroll-list-container",initialize:function(){var e;const n=[],t=[];this.options.optionItems.forEach(r=>{var o,s,a,l,c,u,d,f;const y=(null===(o=r.relatesTo)||void 0===o||null===(s=o.gracePeriod)||void 0===s?void 0:s.expiry)&&(r=>{const o=Date.now(),s=new Date(r).getTime();return!isNaN(s)&&o<s})(null===(a=r.relatesTo)||void 0===a||null===(l=a.gracePeriod)||void 0===l?void 0:l.expiry),b=(null===(c=r.relatesTo)||void 0===c||null===(u=c.gracePeriod)||void 0===u?void 0:u.remainingSkips)&&(null===(d=r.relatesTo)||void 0===d||null===(f=d.gracePeriod)||void 0===f?void 0:f.remainingSkips)>0;y||b?n.push(r):t.push(r)}),this.hasSkipRemediation=!!this.options.appState.hasRemediationObject(xe?.SKIP),this.hasOnlyOptional=this.hasSkipRemediation&&0===n?.length,this.hasOnlyGracePeriod=this.hasSkipRemediation&&(null===(e=this.options.optionItems)||void 0===e?void 0:e.length)===n?.length,t.length&&this.add(new az({...this.options,collection:new yu(t),optionItems:t,listTitle:_(this.hasOnlyOptional?"oie.setup.optional.short":"oie.setup.required.now","login")})),n.length&&this.add(new az({...this.options,collection:new yu(n),optionItems:n,listTitle:_("oie.setup.required.soon","login"),listSubtitle:_("oie.setup.required.soon.description","login"),listSubtitleLinkOptions:URe(this.options.settings)})),this.hasOnlyGracePeriod?this.add(QRe):this.hasOnlyOptional&&this.add(JRe)}});const ZRe=Ee.extend({className:"authenticator-row clearfix",template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(o=null!=(o=c(t,"iconClassName")||(null!=n?c(n,"iconClassName"):n))?o:a)?o.call(s,{name:"iconClassName",hash:{},data:r,loc:{start:{line:1,column:100},end:{line:1,column:117}}}):o)+' custom-logo" role="img" aria-label="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:r,loc:{start:{line:1,column:154},end:{line:1,column:209}}}
1))+'"></div>'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="factor-icon authenticator-icon '+l("function"==typeof(o=null!=(o=c(t,"iconClassName")||(null!=n?c(n,"iconClassName"):n))?o:a)?o.call(s,{name:"iconClassName",hash:{},data:r,loc:{start:{line:1,column:268},end:{line:1,column:285}}}):o)+'" role="img" aria-label="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:r,loc:{start:{line:1,column:310},end:{line:1,column:365}}}))+'"></div>'},5:function(e,n,t,i,r){return"authenticator-label--small"},7:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<p class="authenticator-description--text '+c(typeof(o=null!=(o=u(t,"noTranslateClassName")||(null!=n?u(n,"noTranslateClassName"):n))?o:a)===l?o.call(s,{name:"noTranslateClassName",hash:{},data:r,loc:{start:{line:1,column:603},end:{line:1,column:627}}}):o)+'">'+c(typeof(o=null!=(o=u(t,"description")||(null!=n?u(n,"description"):n))?o:a)===l?o.call(s,{name:"description",hash:{},data:r,loc:{start:{line:1,column:629},end:{line:1,column:644}}}):o)+"</p>"},9:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<p class="authenticator-enrollment-nickname '+c(typeof(o=null!=(o=u(t,"noTranslateClassName")||(null!=n?u(n,"noTranslateClassName"):n))?o:a)===l?o.call(s,{name:"noTranslateClassName",hash:{},data:r,loc:{start:{line:1,column:715},end:{line:1,column:739}}}):o)+'">'+c(typeof(o=null!=(o=u(t,"nickname")||(null!=n?u(n,"nickname"):n))?o:a)===l?o.call(s,{name:"nickname",hash:{},data:r,loc:{start:{line:1,column:741},end:{line:1,column:753}}}):o)+"</p>"},11:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'data-se="'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"buttonDataSeAttr")||(null!=n?s(n,"buttonDataSeAttr"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"buttonDataSeAttr",hash:{},data:r,loc:{start:{line:1,column:837},end:{line:1,column:857}}}):o)+'"'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="authenticator-icon-container">'+(null!=(o=l(t,"if").call(a,null!=n?l(n,"logoUri"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:42},end:{line:1,column:380}}}))?o:"")+'</div><div class="authenticator-description"><div><h3 class="authenticator-label no-translate '+(null!=(o=l(t,"if").call(a,null!=n?l(n,"description"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:474},end:{line:1,column:526}}}))?o:"")+'">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"label")||(null!=n?l(n,"label"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"label",hash:{},data:r,loc:{start:{line:1,column:528},end:{line:1,column:537}}}):s)+"</h3>"+(null!=(o=l(t,"if").call(a,null!=n?l(n,"description"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:542},end:{line:1,column:655}}}))?o:"")+(null!=(o=l(t,"if").call(a,null!=n?l(n,"nickname"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:655},end:{line:1,column:764}}}))?o:"")+'</div><div class="authenticator-button" '+(null!=(o=l(t,"if").call(a,null!=n?l(n,"buttonDataSeAttr"):n,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:804},end:{line:1,column:865}}}))?o:"")+"></div></div>"},useData:!0}),postRender:function(){Ee.prototype.postRender.apply(this,arguments);const e=this.model.get("logoUri");e&&(this.el.querySelector(".custom-logo").style.backgroundImage=`url(${e})`)},children:function(){return[[cr({className:"button select-factor",title:function(){return _("oie.verify.authenticator.button.text","login")},attributes:{"aria-label":this.model.get("ariaLabel")},click:function(){this.model.trigger("selectAuthenticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")}});var lz=o0.extend({className:"authenticator-verify-list authenticator-list",item:ZRe,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAuthenticator",this.handleSelect),this.listenTo(this.model,"invali
1d",this.handleModelInvalid)},handleModelInvalid:function(e,n){this.options.name in n&&!this.model.get(this.options.name)&&this.showAuthenticatorRequiredError()},showAuthenticatorRequiredError:function(){const e=_(this.collection.length>1?"account.unlock.authenticatorRequired.multiple":"account.unlock.authenticatorRequired.single","login");this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},handleSelect:function(e){var n;const t=this.model.validateField("identifier");this.model.trigger("clearFormError"),null!==(n=this.model.getPropertySchema("identifier"))&&void 0!==n&&n.required&&t?this.model.trigger("invalid",this.model,t):(this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model))},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div class="list-content"></div>'},useData:!0})});const w0="OktaSignInWidgetOnCaptchaLoaded",cz="OktaSignInWidgetOnCaptchaSolved";var r2e=Ee.extend({className:"captcha-view",template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div id ="captcha-container" class="'+c(typeof(o=null!=(o=u(t,"className")||(null!=n?u(n,"className"):n))?o:a)===l?o.call(s,{name:"className",hash:{},data:r,loc:{start:{line:1,column:63},end:{line:1,column:76}}}):o)+'" data-sitekey="'+c(typeof(o=null!=(o=u(t,"siteKey")||(null!=n?u(n,"siteKey"):n))?o:a)===l?o.call(s,{name:"siteKey",hash:{},data:r,loc:{start:{line:1,column:92},end:{line:1,column:103}}}):o)+'" data-callback="'+c(typeof(o=null!=(o=u(t,"onCaptchaSolvedCallback")||(null!=n?u(n,"onCaptchaSolvedCallback"):n))?o:a)===l?o.call(s,{name:"onCaptchaSolvedCallback",hash:{},data:r,loc:{start:{line:1,column:120},end:{line:1,column:147}}}):o)+'" data-size="invisible"></div>'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"isCaptchaConfigured"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:184}}}))?o:""},useData:!0}),getTemplateData:function(){if(this.captchaConfig){let e;return e="ALTCHA"===this.captchaConfig.type?"altcha-captcha":"HCAPTCHA"===this.captchaConfig.type?"h-captcha":"g-recaptcha",{siteKey:this.captchaConfig.siteKey,isCaptchaConfigured:!0,onCaptchaSolvedCallback:cz,className:e}}return{}},initialize:function(){this.options.appState.get("captcha")&&(this.captchaConfig=this.options.appState.get("captcha"),this._addCaptcha())},remove:function(){Ee.prototype.remove.apply(this,arguments),"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha=void 0:"RECAPTCHA_V2"===this.captchaConfig.type&&(window.grecaptcha=void 0)},_addCaptcha:function(){var e=this;const n=c=>{const u=this._getCaptchaOject(),d=this.$el.find("#captcha-container").attr("data-captcha-id");u.reset(d),this.model.set(this.options.name,c)},t=c=>{n(c),this.options.appState.trigger("saveForm",this.model)},i=c=>{n(c),this.options.appState.trigger("altchaSolved")},r=()=>{this.$el.find("#captcha-container").attr("data-captcha-id")||this.model.set(this.options.name,"tempToken")},s=function(){var c=V(function*(u,d){const{challengeUrlForm:f}=e.captchaConfig;if(!f)return fetch(u,d);const{accepts:y,method:b,value:S}=f,D={...d};return y&&(D.headers={...D.headers,"Content-Type":y}),b&&(D.method=b),null!=S&&S.find(R=>"stateHandle"===R?.name)&&(D.body=JSON.stringify({stateHandle:e.options.appState.settings.options.stateToken})),fetch(u,D)});return function(d,f){return c.apply(this,arguments)}}();window[w0]="ALTCHA"===this.captchaConfig.type?()=>{var c,u;r();const d=this.$el.find("#captcha-container"),f=document.createElement("altcha-widget"),y=`${null!==(c=this.options.settings.get("baseUrl"))&&void 0!==c?c:""}/api/v1/altcha`,{challengeUrlForm:b}=this.captchaConfig;Object.entries({floating:!0,hidefooter:!0,hidelogo:!0,challengeurl:null!==(u=b?.href)&&void 0!==u?u:y,strings:JSON.stringify({error:_("altcha.error.label","login"),expired:_("altcha.expired.label","login"),label:_("altcha.label.label","login"),loading:_("altcha.loading.label","login"),reload:_("altcha.reload.label","login"),verify:_("altcha.verify.label","login"),verificationRequired:_("altcha.verificationRequired.label","login"),verified:_("altcha.verified.label","login"),verifying:_("altcha.verifying.label","login"),waitAlert:_("altcha.waitAlert.label","login")})}
1).forEach(([S,D])=>f.setAttribute(S,D)),f.customfetch=s,f.addEventListener&&f.addEventListener("verified",S=>{i(S&&S.detail&&S.detail.payload||S),d.empty()}),window.altcha=f,d.empty().append(f),d.attr("data-captcha-id","altcha"),this.options.appState.trigger("onCaptchaLoaded",f)}:()=>{r();const c=this._getCaptchaOject(),u=c.render("captcha-container",{sitekey:this.captchaConfig.siteKey,callback:t});this.$el.find("#captcha-container").attr("data-captcha-id",u),this.options.appState.trigger("onCaptchaLoaded",c),"HCAPTCHA"===this.captchaConfig.type&&this._addHCaptchaFooter()},window[cz]=t,"HCAPTCHA"===this.captchaConfig.type?this._loadCaptchaLib(this._getCaptchaUrl("https://hcaptcha.com/1/api.js","hcaptcha")):"RECAPTCHA_V2"===this.captchaConfig.type&&this._loadCaptchaLib(this._getCaptchaUrl("https://www.google.com/recaptcha/api.js","recaptcha")),"ALTCHA"===this.captchaConfig.type&&this._loadCaptchaLib(this._getCaptchaUrl("https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/altcha.min.js","altcha"))},_loadCaptchaLib:function(e){let n=document.createElement("script");n.src=e,n.async=!0,n.defer=!0,-1!==e.indexOf("altcha")&&(n.type="module",n.onload=window[w0]),document.getElementById(Re.WIDGET_CONTAINER_ID).appendChild(n)},_addHCaptchaFooter:function(){const e=document.getElementsByClassName("siw-main-footer");if(e.length){const n=se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a=t.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="captcha-footer"><span class="footer-text">'+t.escapeExpression((a(r,"i18n")||i&&a(i,"i18n")||t.hooks.helperMissing).call(i??(t.nullContext||{}),{name:"i18n",hash:{$2:"<a href='https://hcaptcha.com/terms' target='_blank'>$2</a>",$1:"<a href='https://hcaptcha.com/privacy' target='_blank'>$1</a>",bundle:"login",code:"hcaptcha.footer.label"},data:s,loc:{start:{line:1,column:54},end:{line:1,column:238}}}))+"</span></div>"},useData:!0});e[0].insertAdjacentHTML("beforeend",n())}},_getCaptchaOject:function(){return"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha:"RECAPTCHA_V2"===this.captchaConfig.type?window.grecaptcha:"ALTCHA"===this.captchaConfig.type&&null!==(e=window.altcha)&&void 0!==e?e:null;var e},_getCaptchaUrl:function(e,n){const t=this.options.settings.get("language"),i=this.options.settings.get(`${n}.scriptSource`),r=this.options.settings.get(`${n}.scriptParams`),o=i||e;if("altcha"===n)return o;const s={...r,onload:w0,render:"explicit",hl:t||navigator.language};return o+"?"+wt.searchParamsToString(s)}});const d2e={authenticatorEnrollSelect:e=>{const n=(e.options||[]).map(t=>Object.assign({},t,function hRe(e){return vP(e)}(t)));return{View:XRe,options:{name:e.name,optionItems:n,collection:new yu(n)}}},authenticatorVerifySelect:e=>{let n=e.options||[];const t=new Set;return n=n.filter(i=>{let r;if("webauthn"===i.authenticatorKey)r=t.has(i.authenticatorKey),t.add(i.authenticatorKey);else if("custom_app"===i.authenticatorKey){var o,s;r=t.has(null==i||null===(o=i.value)||void 0===o?void 0:o.id),t.add(null==i||null===(s=i.value)||void 0===s?void 0:s.id)}return!r}),n=n.map(i=>Object.assign({},i,U7(i))),{View:lz,options:{name:e.name,collection:new yu(n)}}},"admin-consent":()=>({View:kj}),consent:()=>({View:Pj}),captcha:e=>({View:r2e,options:{name:e.name}})},h2e=function(e){return(d2e[e.type]||m.identity)(e)},MP=({settings:e,appState:n})=>{const i=n.get("remediations").filter(s=>s.name===xe.REDIRECT_IDP);if(!Array.isArray(i))return[];const r=((e,n)=>{if(n.get("remediations").filter(o=>o.name===xe.PIV_IDP).length<1)return[];const i=e.get("piv");return[{attributes:{"data-se":"piv-card-button"},className:(i.className||"")+" piv-button",title:i.text||_("piv.cac.card","login"),click:o=>{o.preventDefault(),n.trigger("switchForm",xe.PIV_IDP)}}]})(e,n),o=i.map(s=>{var a;let c,l=null===(a=s.type)||void 0===a?void 0:a.toLowerCase();var u;m.contains(g7_SUPPORTED_SOCIAL_IDPS,l)?c=_(`socialauth.${l}.label`,"login"):(l="general-idp",c=_("customauth.sign.in.with.label","login",[null===(u=s.idp)||void 0===u?void 0:u.name]));const d=["social-auth-button",`social-auth-${l}-button`];"general-idp"===l&&d.push("no-translate"),s.idp.className&&d.push(s.idp.className);const f={attributes:{"data-se":`social-auth-${l}-button`},className:d.join(" "),title:c,href:s.href};return((e,n)=>{const t=document.createElement("div");t.style.position="absolute",t.style.left="-9999px",t.style.whiteSpace="nowrap",t.innerHTML=e,document.body.appendChild(t);const i=t.clientWidth;return document.body.removeChild(t),i>186})(c)&&(f.attributes.title=c),f});return[...r,...o]},p2e=e=>e.get("customButtons").map(t=>({attributes:{"data-se":t.dataAttr},className:t.className+" default-custom-button",title:t.title||_(t.i18nKey,"login"),click:t.click})),uz=e=>cr({...e,className:`${e.className} default-custom-button button-primary`}),{FormUtil:m2e}=ji.views.forms.helpers;var qe=Fo.extend({layout:"o-form-theme",className:"ion-form",hasSavingState:!0,autoSave:!1,noCancelButton:!0,title:function(){return _("oform.title.authenticate","login")},save:function(){return _("oform.next","login")},modelEvents:{clearFormError:"handleClearFormError",error:"triggerAfterError"},initialize:function(){const n=this.getUISchema().map(h2e);this.showMessages(),this.listenTo(this.options.appState,"onCaptchaLoaded",t=>{this.captchaObject=t}),this.listenTo(this.options.appState,"altchaSolved",()=>{this.trigger("save",this.model)}
1),n.forEach(t=>{this.addInputOrView(t)}),this.listenTo(this,"save",this.saveForm),this.listenTo(this,"cancel",this.cancelForm)},focus:function(...e){this.settings.get("features.autoFocus")&&Fo.prototype.focus.apply(this,e)},handleClearFormError:function(){const e=this.$(".o-form-error-container");e.empty(),e.hasClass("o-form-has-errors")&&this.clearErrors()},triggerAfterError:function(e,n){this.options.appState.trigger("afterError",n)},saveForm:function(e){this.$el.find(".o-form-error-container").empty(),this.captchaObject&&"ALTCHA-WIDGET"!==(this.captchaObject.tagName||"").toUpperCase()?this.captchaObject.execute():this.options.appState.trigger("saveForm",e)},postRender:function(){let e=this.$el.find(".o-form-info-container");e.length||(this.add('<div class="o-form-info-container"></div>'),e=this.$el.find(".o-form-info-container")),this.$el.find(".o-form-error-container").attr("role","alert").before(e),this.addIdentifier()},addIdentifier:function(){const{identifier:e}=this.options.appState.get("user")||{};if(!e)return;if(!this.settings.get("features.showIdentifier"))return;const n=this.$el.find('[data-se="o-form-head"]'),t=se.template({compiler:[8,">= 4.3.0"],main:function(i,r,o,s,a){var l,c=r??(i.nullContext||{}),u=i.hooks.helperMissing,d="function",f=i.escapeExpression,y=i.lookupProperty||function(b,S){if(Object.prototype.hasOwnProperty.call(b,S))return b[S]};return'<div class="identifier-container"><span class="identifier no-translate" data-se="identifier" title="'+f(typeof(l=null!=(l=y(o,"identifier")||(null!=r?y(r,"identifier"):r))?l:u)===d?l.call(c,{name:"identifier",hash:{},data:a,loc:{start:{line:1,column:100},end:{line:1,column:114}}}):l)+'">'+f(typeof(l=null!=(l=y(o,"identifier")||(null!=r?y(r,"identifier"):r))?l:u)===d?l.call(c,{name:"identifier",hash:{},data:a,loc:{start:{line:1,column:116},end:{line:1,column:130}}}):l)+"</span></div>"},useData:!0})({identifier:e});n.length?n.after(t):this.$el.find(".o-form-error-container").after(t)},cancelForm:function(){this.options.appState.trigger("invokeAction","cancel")},getUISchema:function(){return Array.isArray(this.options.currentViewState.uiSchema)?this.options.currentViewState.uiSchema:[]},addInputOrView:function(e){if(!1!==e.visible&&(!1!==e.mutable||!0===e.visible)&&(e.View?(this.add(e.View,m.omit(e,"View","showWhen")),e.showWhen&&m2e.applyShowWhen(this.last(),e.showWhen)):this.addInput(e),Array.isArray(e.optionsUiSchemas)&&this.options.optionUiSchemaConfig[e.name])){const n=Number(this.options.optionUiSchemaConfig[e.name]);(e.optionsUiSchemas[n]||[]).forEach(this.addInputOrView.bind(this))}},showCustomFormErrorCallout:null,showMessages:function(e){const n=this.options.appState.get("messages")||{},t=".o-form-error-container";!Array.isArray(n.value)||e instanceof Ee?e instanceof Ee&&this.add(e,t):(this.add('<div class="ion-messages-container"></div>',t),n.value.forEach(i=>{if(null!=i&&i.class&&"INFO"!==i.class){var r;const o={class:null!==(r=i?.class)&&void 0!==r?r:"",message:i?.message,title:"",...e};this.add(Pr({content:o.message,type:o.class.toLowerCase(),title:o.title}),t),e=null}else this.add(`<p>${i.message}</p>`,".ion-messages-container")}))}}),C0={startPolling:function(e){this.fixedPollingInterval=this.options.currentViewState.refresh,this.dynamicPollingInterval=e,this.countDownCounterValue=Math.ceil(this.pollingInterval/xP),this.fixedPollingInterval?this._startRemediationPolling():this._startAuthenticatorPolling()},_startAuthenticatorPolling:function(){["currentAuthenticator","currentAuthenticatorEnrollment"].some(e=>{if(this.options.appState.has(e)){var n;const t=this.options.appState.get(e),i=`${e}-poll`,r=this.dynamicPollingInterval||(null==t||null===(n=t.poll)||void 0===n?void 0:n.refresh);return m.isNumber(r)&&(this.polling=setTimeout(()=>{this.options.appState.trigger("invokeAction",i)},r)),!0}return!1})},_startRemediationPolling:function(){const e=this.dynamicPollingInterval||this.fixedPollingInterval;m.isNumber(e)&&(this.polling=setTimeout(()=>{this.options.appState.trigger("saveForm",this.model)},e))},stopPolling:function(){this.polling&&(clearTimeout(this.polling),this.polling=null)}},$o=qe.extend(Object.assign({initialize:function(){qe.prototype.initialize.apply(this,arguments),this.listenTo(this.options.appState,"change:dynamicRefreshInterval",this.updateRefresh
1Interval)},updateRefreshInterval:function(){this.polling&&(this.stopPolling(),this.startPolling(this.options.appState.get("dynamicRefreshInterval")))}},C0));function hv(e,n){return e&&n&&(e+="&login_hint="+n),e}const y2e=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"chrome.lna.error.description.intro"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:65}}}))+'<ol class="chrome-lna-error-steps"><li>'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"chrome.lna.error.description.step1"},data:r,loc:{start:{line:1,column:104},end:{line:1,column:169}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"chrome.lna.error.description.step2"},data:r,loc:{start:{line:1,column:178},end:{line:1,column:243}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"chrome.lna.error.description.step3"},data:r,loc:{start:{line:1,column:252},end:{line:1,column:317}}}))+"</li></ol>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{$1:"<a href='#' target='_blank' rel='noopener noreferrer' class='chrome-lna-help-link'>$1</a>",bundle:"login",code:"chrome.lna.error.description.more.information"},data:r,loc:{start:{line:1,column:327},end:{line:1,column:498}}}))},useData:!0}),getTemplateData:function(){this.chromeLNAHelpLink=this.options.chromeLNAHelpLink},render:function(){Ee.prototype.render.apply(this,arguments),this.chromeLNAHelpLink&&this.$el.find(".chrome-lna-help-link").attr("href",this.chromeLNAHelpLink)}});function S0(e,n){e.add(Ee.extend({className:"loopback-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){return'<div class="spinner"></div>'},useData:!0})})),e.doLoopback(n)}function x0(e,n){e.title=n,e.$&&e.$(".okta-form-title").length&&e.$(".okta-form-title").text(n)}function dz(e,n){var t,i;const r=e.getDeviceChallengePayload(),{chromeLocalNetworkAccessDetails:o}=r||{},s=null===(t=e.options)||void 0===t||null===(i=t.settings)||void 0===i?void 0:i.get("identifier"),a="hide";switch(r.challengeMethod){case Re.LOOPBACK_CHALLENGE:e.title=_("deviceTrust.sso.redirectText","login"),o?mi.getChromeLNAPermissionState(l=>function _2e(e,n,t){switch(e.removeChildren(),n){case"prompt":case"granted":default:x0(e,_("deviceTrust.sso.redirectText","login")),S0(e,t);break;case"denied":var i,r,o;
1if(void 0!==(null===(i=e.options)||void 0===i||null===(r=i.appState)||void 0===r?void 0:r.get("previousFormName")))throw x0(e,_("chrome.lna.fastpass.requires.permission.title","login")),function v2e(e,n){e.add(Pr({title:_("chrome.lna.error.title","login"),content:new y2e({chromeLNAHelpLink:n}),type:"error"}))}(e,null===(o=t.chromeLocalNetworkAccessDetails)||void 0===o?void 0:o.chromeLNAHelpLink),new Y9("Chrome Local Network Access permission was denied for FastPass.");x0(e,_("deviceTrust.sso.redirectText","login")),S0(e,t)}}(e,l,r)):S0(e,r);break;case Re.CUSTOM_URI_CHALLENGE:e.title=_("customUri.title","login"),e.add(Ee.extend({className:"skinny-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(l,c,u,d,f){var y=l.lookupProperty||function(b,S){if(Object.prototype.hasOwnProperty.call(b,S))return b[S]};return"<p>"+l.escapeExpression((y(u,"i18n")||c&&y(c,"i18n")||l.hooks.helperMissing).call(c??(l.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.prompt"},data:f,loc:{start:{line:1,column:3},end:{line:1,column:67}}}))+"</p>"},useData:!0})})),e.add(cr({className:"ul-button button button-wide button-primary",title:_("oktaVerify.open.button","login"),id:"launch-ov",click:()=>{e.doCustomURI()}})),e.add(Ee.extend({className:"skinny-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(l,c,u,d,f){var y,b=c??(l.nullContext||{}),S=l.hooks.helperMissing,D=l.escapeExpression,R=l.lookupProperty||function(G,H){if(Object.prototype.hasOwnProperty.call(G,H))return G[H]};return"<p>"+D((R(u,"i18n")||c&&R(c,"i18n")||S).call(b,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.title"},data:f,loc:{start:{line:1,column:3},end:{line:1,column:75}}}))+'</p><p><a href="'+D("function"==typeof(y=null!=(y=R(u,"downloadOVLink")||(null!=c?R(c,"downloadOVLink"):c))?y:S)?y.call(b,{name:"downloadOVLink",hash:{},data:f,loc:{start:{line:1,column:91},end:{line:1,column:109}}}):y)+'" target="_blank" id="download-ov" class="link">'+D((R(u,"i18n")||c&&R(c,"i18n")||S).call(b,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.linkText"},data:f,loc:{start:{line:1,column:157},end:{line:1,column:232}}}))+"</a></p>"},useData:!0}),getTemplateData:function(){return{downloadOVLink:r.downloadHref}}})),e.customURI=hv(r.href,s),e.doCustomURI();break;case Re.UNIVERSAL_LINK_CHALLENGE:e.title=_("universalLink.title","login"),e.add(Ee.extend({className:"universal-link-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(l,c,u,d,f){var y=l.lookupProperty||function(b,S){if(Object.prototype.hasOwnProperty.call(b,S))return b[S]};return'<div class="spinner"></div>'+l.escapeExpression((y(u,"i18n")||c&&y(c,"i18n")||l.hooks.helperMissing).call(c??(l.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"universalLink.content"},data:f,loc:{start:{line:1,column:27},end:{line:1,column:79}}}))},useData:!0})})),e.add(cr({className:"ul-button button button-wide button-primary",title:_("oktaVerify.open.button","login"),click:()=>{let l=hv(r.href,s);wt.redirect(l)}}));break;case Re.APP_LINK_CHALLENGE:e.title=_("appLink.title","login"),e.add(Ee.extend({className:"app-link-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(l,c,u,d,f){var y,b=c??(l.nullContext||{}),S=l.hooks.helperMissing,D="function",R=l.escapeExpression,G=l.lookupProperty||function(H,te){if(Object.prototype.hasOwnProperty.call(H,te))return H[te]};return'<div class="spinner '+R(typeof(y=null!=(y=G(u,"hideClass")||(null!=c?G(c,"hideClass"):c))?y:S)===D?y.call(b,{name:"hideClass",hash:{},data:f,loc:{start:{line:1,column:20},end:{line:1,column:33}}}):y)+'"></div><div class="appLinkContent '+R(typeof(y=null!=(y=G(u,"hideClass")||(null!=c?G(c,"hideClass"):c))?y:S)===D?y.call(b,{name:"hideClass",hash:{},data:f,loc:{start:{line:1,column:68},end:{line:1,column:81}}}):y)+'">
1'+R((G(u,"i18n")||c&&G(c,"i18n")||S).call(b,{name:"i18n",hash:{bundle:"login",code:"appLink.content"},data:f,loc:{start:{line:1,column:83},end:{line:1,column:129}}}))+"</div>"},useData:!0}),getTemplateData:function(){return{hideClass:a}},postRender:function(){n===EP?(this.$(".spinner").removeClass(a),setTimeout(m.bind(()=>{const l={label:_("goback","login")};this.options.appState.trigger("updateFooterLink",l),this.$(".spinner").addClass(a),this.$(".appLinkContent").removeClass(a)},this),4e3)):this.$(".appLinkContent").removeClass(a)}})),e.add(cr({className:"hide al-button button button-wide button-primary",title:_("oktaVerify.open.button","login"),click:()=>{let l=hv(r.href,s);wt.redirect(l,window,!0)},postRender:function(){n===EP?setTimeout(m.bind(()=>{this.$el.removeClass(a)},this),4e3):this.$el.removeClass(a)}}));break;case Re.CHROME_DTC:e.title=_("deviceTrust.sso.redirectText","login"),e.add(Ee.extend({className:"chrome-dtc-content",template:se.template({compiler:[8,">= 4.3.0"],main:function(l,c,u,d,f){return'<div class="spinner"></div>'},useData:!0})})),e.doChromeDTC(r)}}function E0(e,n,t,i,r){const o={};o.reason=t,o.statusCode=i,e.trigger("invokeAction",n,o,r)}function k0(e,n){let t;var i,r;t=n?Object.values(null==e||null===(i=e.value[0])||void 0===i?void 0:i.i18n):null==e||null===(r=e.responseJSON)||void 0===r?void 0:r.errorSummaryKeys;const o=t&&t.includes(TP),s=t&&t.includes(kP),a=t&&t.includes(sz);let l=[];if(!o&&!s&&!a)return l;if(a)return l={type:"error",className:"okta-verify-uv-callout-content",title:_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.title","login"),subtitle:_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.description","login"),bullets:[_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.point1","login"),_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.windows.point2","login")]},l;const c=[_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point1","login"),_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point2","login"),_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point3","login")];return s&&c.push(_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4","login")),l={type:"error",className:"okta-verify-uv-callout-content",title:_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.title","login"),subtitle:_("oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.description","login"),bullets:c},l}function DP(e,n){return Ee.extend({tagName:"iframe",id:e,attributes:{src:n},initialize:function(){this.el.style.display="none"}})}const hz=e=>{const n=Object.assign({method:"GET",contentType:"application/json"},e);return Qt.ajax(n)},fv=$o.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",removed:!1,events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},pollingCancelAction:"currentAuthenticator-cancel",initialize:function(){$o.prototype.initialize.apply(this,arguments),this.removed=!1,this.listenTo(this.model,"error",this.onPollingFail),this.doChallenge(),this.startPolling()},doChallenge:function(){dz(this)},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling()},remove:function(){$o.prototype.remove.apply(this,arguments),this.removed=!0,this.stopProbing(),this.stopPolling()},getDeviceChallengePayload:function(){throw new Error("getDeviceChallengePayload needs to be implemented")},doLoopback:function(e){let a,n=void 0!==e.domain?e.domain:"",t=void 0!==e.httpsDomain?e.httpsDomain:"",i=void 0!==e.ports?e.ports:[],r=i.length,o=void 0!==e.challengeRequest?e.challengeRequest:"",s=void 0!==e.probeTimeoutMillis?e.probeTimeoutMillis:100,l=!1,c=!1,u=0;const d=(G,H)=>`${H}:${a}/${G}`,b=()=>(zn_error(`Something unexpected happened while we were checking port ${a}.`),Qt.Deferred().reject()),S=G=>(G=>hz({url:G,timeout:mi.isAndroid()?3e3:s}))(d("probe",G)).then(()=>(G=>hz({url:G,method:"POST",data:JSON.stringify({challengeRequest:o}),timeout:3e5}))(d("challenge",G)).then(()=>(l=!0,!1!==e.enhancedPollingEnabled?(this.stopPolling(),void this.startPolling(1)):this.trigger("save",this.model))).catch(H=>{u++,503!==H.status?(c=!0,E0(this.options.appState,this.pollingCancelAction,"OV_RETURNED_ERROR",H.status,!this.removed)):u===r&&E0(this.options.appState,this.pollingCancelAction,"OV_UNREACHABLE_BY_LOOPBACK",null,!this.removed)})).catch(b);let D=Promise.resolve();const R=(G,H,te)=>{D=D.then(()=>
1{if(!l&&!c)return a=G,S(H)}).catch(()=>{u++,zn_error(`Authenticator is not listening on port ${a}.`),te&&u===r&&(zn_error("No available ports. Loopback server failed and polling is cancelled."),this.stopPolling(),E0(this.options.appState,this.pollingCancelAction,"OV_UNREACHABLE_BY_LOOPBACK",null,!this.removed))})};t&&(zn_info("httpsDomain enabled, will probe and challenge https first"),r+=r,i.forEach(G=>{R(G,t,!1)})),i.forEach(G=>{R(G,n,!0)})},doCustomURI:function(){this.ulDom&&this.ulDom.remove();const e=DP("custom-uri-container",this.customURI);this.ulDom=this.add(e).last()},doChromeDTC:function(e){this.ulDom&&this.ulDom.remove();const n=DP("chrome-dtc-container",e.href);this.ulDom=this.add(n).last()},stopProbing:function(){this.checkPortXhr&&this.checkPortXhr.abort(),this.probingXhr&&this.probingXhr.abort()}}),fz=e=>{const n=Object.assign({},m.chain(e).pick("minLength","maxLength","required","value").defaults({type:"string",required:!0}).value());return e.modelType&&(n.type=e.modelType),{[e.name]:n}},pz=function(e={},n={},t={},i={}){(e.uiSchema||[]).forEach(o=>{if(Array.isArray(o.optionsUiSchemas)){let s,a={};Number(o.value)>=0&&(s=o.value),n[o.name]&&(a={value:n[o.name]},s=Number(a.value)),Object.assign(i,fz(Object.assign({},o,a))),s&&pz({uiSchema:o.optionsUiSchemas[s]},n,t,i)}else Object.assign(t,fz(o))})};const OP={[xe.IDENTIFY]:{[xe.IDENTIFY]:"primary-auth",[ze_PASSWORD]:"primary-auth"},[xe.IDENTIFY_RECOVERY]:{[xe.IDENTIFY_RECOVERY]:"forgot-password"},[xe.ENROLL_PROFILE]:{[xe.ENROLL_PROFILE]:"registration"},[xe.CHALLENGE_AUTHENTICATOR]:{[ze_EMAIL]:"mfa-verify-passcode",[ze_PASSWORD]:"mfa-verify-password",sms:"mfa-verify-passcode",voice:"mfa-verify-passcode",security_question:"mfa-verify-question",webauthn:"mfa-verify-webauthn",onprem_mfa:"mfa-verify-totp",[ze_RSA]:"mfa-verify-totp",[ze_OV]:"mfa-verify",google_otp:"mfa-verify",duo:"mfa-verify-duo",symantec_vip:"mfa-verify",yubikey_token:"mfa-verify",custom_app:"mfa-verify"},[xe.CHALLENGE_POLL]:{[ze_OV]:"mfa-verify",custom_app:"mfa-verify"},[xe.RESEND_PUSH]:{[ze_OV]:"mfa-verify",custom_app:"mfa-verify"},[xe.ENROLL_AUTHENTICATOR]:{[ze_EMAIL]:"enroll-email",[ze_PASSWORD]:"enroll-password",sms:"enroll-sms",voice:"enroll-call",security_question:"enroll-question",webauthn:"enroll-webauthn",onprem_mfa:"enroll-onprem",[ze_RSA]:"enroll-rsa",duo:"enroll-duo",symantec_vip:"enroll-symantec",yubikey_token:"enroll-yubikey"},[xe.SELECT_AUTHENTICATOR_ENROLL]:{"select-authenticator-enroll":"enroll-choices"},[xe.SELECT_AUTHENTICATOR_AUTHENTICATE]:{[ze_PASSWORD]:"forgot-password"},[xe.REENROLL_AUTHENTICATOR]:{[ze_PASSWORD]:"password-expired"},[xe.REENROLL_CUSTOM_PASSWORD_EXPIRY]:{[ze_PASSWORD]:"custom-password-expired"},[xe.REENROLL_CUSTOM_PASSWORD_EXPIRY_WARNING]:{[ze_PASSWORD]:"custom-password-expiry-warning"},[xe.RESET_AUTHENTICATOR]:{[ze_PASSWORD]:"forgot-password"},[xe.CONSENT_ADMIN]:{[xe.CONSENT_ADMIN]:"admin-consent-required"},[xe.CONSENT_ENDUSER]:{[xe.CONSENT_ENDUSER]:"consent-required"}},mz=(e,n,t,i)=>{if(i&&e===xe.IDENTIFY)return"forgot-password";{let r=e;return n===ze_PHONE?r=`${t}`:n&&(r=`${n}`),OP[e]&&OP[e][r]?OP[e][r]:null}};var Wn=Ee.extend({Header:dv,Body:qe,Footer:pa,className:function(){const e=this.options.appState,o=((e,n,t,i)=>{let r=e;n&&(r=r+"--"+n);let o=mz(e,n,t,i);const s=[r];return o&&s.push(o),s})(e.get("currentFormName"),e.get("authenticatorKey"),e.get("authenticatorMethodType"),e.get("isPasswordRecoveryFlow"));return["siw-main-view"].concat(o).join(" ")},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div class="siw-main-header"></div><div class="siw-main-body"></div><div class="siw-main-footer"></div>'},useData:!0}),preRender:function(){Ee.prototype.preRender.apply(this,arguments),null!==this.Header&&this.add(this.Header,{selector:".siw-main-header",options:this.options}),this.renderForm(),this.add(this.Footer,{selector:".siw-main-footer",options:this.options})},renderForm:function(){let e;this.form&&(this.form.remove(),e=this.form.model.toJSON({verbose:!0}));const t=new(this.createModelClass(this.options.currentViewState,e,this.settings))({formName:this.options.currentViewState.name});e||(e=t.toJSON({verbose:!0})),this.model=t,this.form=this.add(this.Body,{selector:".siw-main-body",options:Object.assign({},this.options,{model:t,optionUiSchemaConfig:e})}).last(),m.each(t.attributes,(i,r)=>{r.match(/sub_schema_local_[^ ]+/)&&this.listenTo(t,`change:${r}`,()=>{this.renderForm()})})},createModelClass:function(e,n={}){return function(e={},n={}){const t={},i={formName:"string",useRedirect:"boolean"};return pz(e,n,t,i),_r.extend({props:t,local:i})}(e,n)}}),C2e_generateDeviceFingerprint=function(e,n){return e.fingerprint({timeout:2e3,container:n})},gz=pa.extend({showForgotPasswordLink:function(){return!this.options.appState.isIdentifierOnlyView()},footerInfo:function(){const e=((e,n)=>{const t=[];if(this.options.appState.hasRemediationObject(xe.SELECT_ENROLL_PROFILE)){const i={type:"link",label:_("oie.registration.form.title","login"),name:"enroll"};m.isFunction(n.get("registration.click"))?i.clickHandler=n.get("registration.click"):i.actionPath=xe.SELECT_ENROLL_PROFILE,t.pu
1sh(i)}return t})(0,this.options.settings);let n;return e.length&&(n=Ee.extend({className:"signup-info",template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a=t.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return"<span>"+t.escapeExpression((a(r,"i18n")||i&&a(i,"i18n")||t.hooks.helperMissing).call(i??(t.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"registration.signup.label"},data:s,loc:{start:{line:1,column:6},end:{line:1,column:62}}}))+'</span><span class="signup-link"></span>'},useData:!0}),initialize:function(){this.add(qh,".signup-link",{options:e[0]})}})),n},links:function(){const{appState:e,settings:n}=this.options;let t;t=n.get("helpLinks.help")?n.get("helpLinks.help"):n.get("baseUrl")+"/help/login";const i=[{name:"help",label:_("help","login"),href:t,target:"_blank"}];let r=[];this.showForgotPasswordLink()&&(r=SP(e,n));const o=[];n.get("helpLinks.custom")&&n.get("helpLinks.custom").forEach(a=>{a.name="custom",a.label=a.text,o.push(a)});const s=[];return n.get("helpLinks.unlock")?s.push({type:"link",label:_("unlockaccount","login"),name:"unlock",href:n.get("helpLinks.unlock")}):e.hasRemediationObject(xe.UNLOCK_ACCOUNT)&&s.push({type:"link",label:_("unlockaccount","login"),name:"unlock",actionPath:xe.UNLOCK_ACCOUNT}),r.concat(s).concat(i).concat(o)}}),vz=Ee.extend({className:"sign-in-with-idp",template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="separation-line"><span>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"},data:r,loc:{start:{line:1,column:64},end:{line:1,column:118}}}))+"</span></div>"},3:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="okta-piv-container"></div><div class="idp-discovery-container"><label class="idp-discovery-search-label">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"idps.search.label"},data:r,loc:{start:{line:1,column:282},end:{line:1,column:330}}}))+'</label><div class="idp-discovery-search-wrapper"><input type="search" class="idp-discovery-search-input" data-se="idp-search-input" aria-label="'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"idps.search.label"},data:r,loc:{start:{line:1,column:475},end:{line:1,column:523}}}))+'" placeholder="'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"idps.search.typeahead.placeholder"},data:r,loc:{start:{line:1,column:538},end:{line:1,column:602}}}))+'" autocomplete="off"></div><div class="okta-idps-container" data-se="idp-list-container"></div><div class="idp-no-results" data-se="idp-no-results">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"idps.search.no.results"},data:r,loc:{start:{line:1,column:750},end:{line:1,column:803}}}))+"</div></div>"},5:function(e,n,t,i,r){return'<div class="okta-idps-container"></div>'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"isSecondaryIdpDisplay"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:138}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"showSearchContainer"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r,loc:{start:{line:1,column:138},end:{line:1,column:869}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"isPrimaryIdpDisplay"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:869},end:{line:1,column:1005}}}))?o:"")},useData:!0}),events:{"input .idp-discovery-search-input":"_filterIdps"},initialize:function(){const{idpButtons:e}=this.options,n=e.length>10;e.forEach(t=>{const i=t.className&&t.className.includes("piv-button"),r=n&&i?".okta-piv-container":".okta-idps-container";this.add(cr(t),r)})},_filterIdps:function(e){const n=e.target.value.toLowerCase().trim();let t=0;this.$(".okta-idps-container .link-button").each((i,r)=>{const o=(r.textContent||"").toLowerCase().trim(),s=!n||o.includes(n);r.style.display=s?"":"none",s&&t++}),t>0?(this.$(".okta-idps-container").show(),this.$(".idp-no-results").hide()):(this.$(".okta-idps-container").hide(),this.$(".idp-no-results").show())},getTemplateData:function(){const e=Ee.prototype.getTemplateData.apply(this,arguments),{idpButtons:n}=this.options,t=n.length>0;return Object.assign(e,{isPrimaryIdpDisplay:t&&this.options.isPrimaryIdpDisplay,isSecondaryIdpDisplay:t&&!this.options.isPrimaryIdpDisplay,showSearchContainer:n.length>10})}}),S2e=Ee.extend({className:"custom-buttons",template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="separation-line"><span>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"}
1,data:r,loc:{start:{line:1,column:58},end:{line:1,column:112}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"addSeparateLine"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:132}}}))?o:"")+'<div class="okta-custom-buttons-container primary-auth-container"></div>'},useData:!0}),initialize:function(e){e.customButtons.forEach(n=>{this.add(cr(n),".okta-custom-buttons-container")})},getTemplateData:function(){const e=Ee.prototype.getTemplateData.apply(this,arguments);return Object.assign(e,{addSeparateLine:this.options.addSeparateLine})}}),_z=Ee.extend({className:"sign-in-with-device-option",template:se.template({1:function(e,n,t,i,r){return'<div class="signin-with-ov-description"></div>'},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="separation-line"><span>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:r,loc:{start:{line:1,column:201},end:{line:1,column:255}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="okta-verify-container">'+(null!=(o=a(t,"if").call(s,null!=n?a(n,"signInWithDeviceIsRequired"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:35},end:{line:1,column:122}}}))?o:"")+"</div>"+(null!=(o=a(t,"unless").call(s,null!=n?a(n,"signInWithDeviceIsRequired"):n,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:128},end:{line:1,column:279}}}))?o:"")},useData:!0}),initialize:function(){var e;const n=this.options.appState,t=n.hasRemediationObject(xe.LAUNCH_AUTHENTICATOR),i=null==t||null===(e=t.relatesTo)||void 0===e?void 0:e.value;this.add(cr({className:"button",icon:"okta-verify-authenticator",title:_("oktaVerify.button","login"),click:function(){this.model.get("identifier")&&this.options.settings.set("identifier",encodeURIComponent(this.model.get("identifier")));const r=i?.challengeMethod===Re.UNIVERSAL_LINK_CHALLENGE;if(r){var o,s;let u=hv(i.href,null===(o=this.options)||void 0===o||null===(s=o.settings)||void 0===s?void 0:s.get("identifier"));wt.redirect(u)}const a=i?.challengeMethod===Re.APP_LINK_CHALLENGE;if(a){var l,c;let u=hv(i.href,null===(l=this.options)||void 0===l||null===(c=l.settings)||void 0===c?void 0:c.get("identifier"));wt.redirect(u,window,!0)}wt.callAfterTimeout(()=>{this.options.isRequired?n.trigger("saveForm",this.model):n.trigger("invokeAction",xe.LAUNCH_AUTHENTICATOR,{rememberMe:this.model.get("rememberMe")})},r||a?500:0)}}),".okta-verify-container")},getTemplateData:function(){return{signInWithDeviceIsRequired:!!this.options.isRequired}},postRender:function(){if(this.options.isRequired){var e,n;const t=null===(e=this.options.appState.attributes)||void 0===e||null===(n=e.app)||void 0===n?void 0:n.label,i=t?_("oktaVerify.appDescription","login",[t]):_("oktaVerify.description","login");this.$el.find(".signin-with-ov-description").text(i)}}}),x2e=Ee.extend({className:"sign-in-with-webauthn-option",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-webauthn-container"></div><div class="separation-line"><span>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:r,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</span></div>"},useData:!0}),initialize:function(){this.add(cr({className:"button",icon:"okta-webauthn-authenticator",title:_("signinWithWebAuthn.button","login"),click:()=>{this.options.appState.trigger("invokeAction",xe.LAUNCH_WEBAUTHN_AUTHENTICATOR)}}),".okta-webauthn-container")}}),E2e=Ee.extend({className:"sign-in-with-passkeys-option",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-passkeys-container"></div><div class="separation-line"><span>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:r,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</span></div>"},useData:!0}
1),initialize:function(){this.add(cr({className:"button",icon:"okta-passkeys-authenticator",title:_("signinWithPasskeys.button","login"),click:()=>{this.options.getCredentialsAndInvokeAction.call(this.options.formView)}}),".okta-passkeys-container")}}),T0=Ee.extend({className:"custom-access-denied-error-message",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<p>"+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"message")||(null!=n?s(n,"message"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"message",hash:{},data:r,loc:{start:{line:1,column:18},end:{line:1,column:29}}}):o)+"</p>"},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<ul class="custom-links">'+(null!=(o=s(t,"each").call(n??(e.nullContext||{}),null!=n?s(n,"links"):n,{name:"each",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:78},end:{line:1,column:182}}}))?o:"")+"</ul>"},4:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return"<li><a href="+c(typeof(o=null!=(o=u(t,"url")||(null!=n?u(n,"url"):n))?o:a)===l?o.call(s,{name:"url",hash:{},data:r,loc:{start:{line:1,column:105},end:{line:1,column:112}}}):o)+' target="_blank" rel="noopener noreferrer">'+c(typeof(o=null!=(o=u(t,"label")||(null!=n?u(n,"label"):n))?o:a)===l?o.call(s,{name:"label",hash:{},data:r,loc:{start:{line:1,column:155},end:{line:1,column:164}}}):o)+"</a></li>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"message"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:40}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"links"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:40},end:{line:1,column:194}}}))?o:"")},useData:!0}),getTemplateData:function(){return{message:this.options.message,links:this.options.links}}});const bz="security.access_denied_custom_message",wz="WebAuthNAutofill component cleanup",k2e=qe.extend({title:function(){return _("primaryauth.title","login")},save:function(){return _("oform.next","login")},focus:function(){if(qe.prototype.focus.apply(this,arguments),this.settings.get("features.autoFocus")){const e=this.getInputs().filter(t=>"identifier"===t.options.name)[0],n=this.getInputs().filter(t=>"credentials.passcode"===t.options.name)[0];e&&e.model.get("identifier")&&n&&n.focus()}},initialize:function(){qe.prototype.initialize.apply(this,arguments);const e=this.getUISchema();e.find(n=>"credentials.passcode"===n.name)&&(this.save=_("oie.primaryauth.submit","login")),this.listenTo(this.model,"errors:clear",function(){this.clearErrors()}),this._shouldAddUsername(e)?this.model.set("identifier",this.settings.get("username")):!this.model.get("identifier")&&this._shouldApplyRememberMyUsername(e)&&this._applyRememberMyUsername()},saveForm:function(){if(!this.settings.get("features.deviceFingerprinting"))return void qe.prototype.saveForm.apply(this,arguments);this.model.trigger("request");const e=this.settings.getAuthClient();C2e_generateDeviceFingerprint(e,this.$el[0]).then(n=>{this.options.appState.set("deviceFingerprint",n)}).catch(()=>{}).finally(()=>{qe.prototype.saveForm.apply(this,arguments)})},render:function(){qe.prototype.render.apply(this,arguments),this.options.appState.hasRemediationObject(xe.LAUNCH_AUTHENTICATOR)&&this.add(_z,".o-form-fieldset-container",!1,!0,{isRequired:!1}),this.options.appState.hasRemediationObject(xe.LAUNCH_WEBAUTHN_AUTHENTICATOR)&&this.add(x2e,".o-form-fieldset-container",!1,!0,{isRequired:!1}),this.options.appState.hasRemediationObject(xe.LAUNCH_PASSKEYS_AUTHENTICATOR)&&this.add(E2e,{selector:".o-form-fieldset-container",options:{getCredentialsAndInvokeAction:this.getCredentialsForModalAndInvokeAction,formView:this},prepend:!0});const e=MP(this.options);Array.isArray(e)&&e.length&&(this._addForgotPasswordView(),this._addIdpView(e));const n=p2e(this.options.settings);Array.isArray(n)&&n.length&&this.add(S2e,{selector:".o-form-button-bar",options:{customButtons:n,addSeparateLine:!0}})},postRender:function(){qe.prototype.postRender.apply(this,arguments),this.$el.find(".
1identifier-container").remove(),this._hasAutofillUIChallenge()&&this.getCredentialsAndInvokeAction()},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),{settings:n}=this.options,t="primaryauth.username.tooltip",i="primaryauth.password.tooltip";let r=e.map(o=>{let s={...o};if("identifier"===o.name){lv(t,n)&&(s={...s,explain:_(t,"login"),"explain-top":!0});const a=this._hasAutofillUIChallenge()&&zi.isConditionalMediationAvailable()?"username webauthn":"username";s={...s,autoComplete:wt.getAutocompleteValue(this.options.settings,a)}}else"credentials.passcode"===o.name&&(s={...s,autoComplete:wt.getAutocompleteValue(this.options.settings,"current-password")},lv(i,n)&&(s={...s,explain:_(i,"login"),"explain-top":!0}));return s});return!1===this.settings.get("features.showKeepMeSignedIn")&&(r=r.filter(o=>"rememberMe"!==o.name)),r},showCustomFormErrorCallout:function(e,n){var t,i;if(null==e||null===(t=e.responseJSON)||void 0===t||null===(i=t.errorSummaryKeys)||void 0===i||!i.includes(bz))return!1;const r=n?.find(a=>a.i18n.key===bz);if(!r)return!1;const{errorSummary:o}=e.responseJSON,s={type:"error",content:new T0({message:o,links:r.links})};return this.showMessages(Pr(s)),!0},remove:function(){qe.prototype.remove.apply(this,arguments),this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)},remediateWithAssertion:function(e,n){var t;if(!e||!n)return;const i=ir.binToStr(null!==(t=e.response.userHandle)&&void 0!==t?t:"");if(m.isEmpty(i)){const o=_("oie.webauthn.error.invalidPasskey","login");return void this.model.trigger("error",this.model,this._generateErrorObject(o))}const r={clientData:ir.binToStr(e.response.clientDataJSON),authenticatorData:ir.binToStr(e.response.authenticatorData),signatureData:ir.binToStr(e.response.signature),userHandle:i};this.options.appState.trigger("invokeAction",n,{credentials:r})},getCredential:function(){var e=V(function*(n){var t;const i=null===(t=this.options.appState.get("webauthnAutofillUIChallenge"))||void 0===t?void 0:t.challengeData;if(!i||typeof AbortController>"u")return;this.webauthnAbortController&&this.webauthnAbortController.abort(wz),this.webauthnAbortController=new AbortController;const r=m.extend({},i,{challenge:ir.strToBin(i.challenge)});return navigator.credentials.get({mediation:n,publicKey:r,signal:this.webauthnAbortController.signal})});return function(t){return e.apply(this,arguments)}}(),_handleWebAuthnError:function(e){if(e!==wz&&!zi.isAbortError(e)){if(zi.isNotAllowedError(e)){const n=_("signin.passkeys.error","login");return void this.model.trigger("error",this.model,this._generateErrorObject(n))}if(this.webauthnAbortController){const n=bP(e);this.model.trigger("error",this.model,this._generateErrorObject(n))}}},getCredentialsAndInvokeAction:function(){var e=V(function*(){if(yield zi.isPasskeyAutofillAvailable())return this.getCredential("conditional").then(n=>{this.remediateWithAssertion(n,xe.CHALLENGE_WEBAUTHN_AUTOFILLUI_AUTHENTICATOR)},n=>{zi.isRelyingPartyIdMismatchError(n)||this._handleWebAuthnError(n)})});return function(){return e.apply(this,arguments)}}(),getCredentialsForModalAndInvokeAction:function(){var e=V(function*(){if(!this._isModalPasskeyInFlight){if(this._isModalPasskeyInFlight=!0,this.model.trigger("errors:clear"),!zi.isPasskeyAvailable()){this._isModalPasskeyInFlight=!1;const n=_("signin.passkeys.error.NotSupportedError","login");return void this.model.trigger("error",this.model,this._generateErrorObject(n))}return this.getCredential("optional").then(n=>{this.remediateWithAssertion(n,xe.LAUNCH_PASSKEYS_AUTHENTICATOR)},n=>{this._handleWebAuthnError(n)}).finally(()=>{this._isModalPasskeyInFlight=!1})}});return function(){return e.apply(this,arguments)}}(),_generateErrorObject:function(e){return{responseJSON:{errorSummary:e}}},_addForgotPasswordView:function(){const e=SP(this.options.appState,this.options.settings);e.length&&(this.add('<div class="links-primary"></div>',{selector:".o-form-button-bar"}),this.add(qh,{selector:".links-primary",options:e[0]}))},_addIdpView:function(e){const n=this.options.settings.get("idpDisplay"),t=n&&"PRIMARY"===n.toUpperCase();this.add(vz,{prepend:t,selector:t?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:t}})},_shouldAddUsername:function(e){return e.find(n=>"identifier"===n.name)&&this.settings.get("username")}
1,_shouldApplyRememberMyUsername:function(e){return e.find(n=>"identifier"===n.name)&&this.settings.get("features.rememberMe")},_applyRememberMyUsername:function(){const e=fa_getCookieUsername();e&&this.model.set("identifier",e)},_hasAutofillUIChallenge:function(){return this.options.appState.hasRemediationObject(xe.CHALLENGE_WEBAUTHN_AUTOFILLUI_AUTHENTICATOR)}});var IP=Wn.extend({Body:k2e,createModelClass:function(){const e=Wn.prototype.createModelClass.apply(this,arguments),n="error.username.required",t="error.password.required",i=e.prototype.props,r=o=>{const s={},l=i["credentials.passcode"]&&!(null!=o&&o["credentials.passcode"]);return i.identifier&&!(null!=o&&o.identifier)&&lv(n,this.settings)&&(s.identifier=_(n,"login")),l&&lv(t,this.settings)&&(s["credentials.passcode"]=_(t,"login")),s};return e.extend({validate:r})},initialize:function(){this.Footer=gz.extend({showForgotPasswordLink:()=>{const e=MP(this.options);return!(this.options.appState.isIdentifierOnlyView()||Array.isArray(e)&&0!==e.length)}})},postRender:function(){Wn.prototype.postRender.apply(this,arguments);const e=this.options.appState;this.$el.find(".js-sign-up").click(function(){return e.trigger("invokeAction",xe.SELECT_ENROLL_PROFILE),!1})}}),T2e=IP.extend({render:function(){IP.prototype.render.apply(this,arguments),this.$el.find(".sign-in-with-idp .separation-line").hide(),this.$el.find(".button-primary").hide()}}),pv=pa.extend({links:function(){return nz(this.options.appState,this.options.settings).concat((e=>e.getRemediationAuthenticationOptions(xe.SELECT_AUTHENTICATOR_AUTHENTICATE).length>1?[{type:"link",label:_("oie.verification.switch.authenticator","login"),name:"switchAuthenticator",formName:xe.SELECT_AUTHENTICATOR_AUTHENTICATE}]:e.getRemediationAuthenticationOptions(xe.SELECT_AUTHENTICATOR_ENROLL).length>=1?[{type:"link",label:_("oie.enroll.switch.authenticator","login"),name:"switchAuthenticator",formName:xe.SELECT_AUTHENTICATOR_ENROLL}]:[])(this.options.appState))}});function A0(e){return e.find(t=>t.name===xe.REDIRECT_IDVERIFY).idp.name}function Cz(e){var n,t;const i=e.find(r=>r.name===xe.REDIRECT_IDVERIFY);return("IDV_STANDARD"===(null==i||null===(n=i.idp)||void 0===n?void 0:n.id)||"IDV_OIN"===(null==i||null===(t=i.idp)||void 0===t?void 0:t.id))&&i?.idvMetadata||void 0}var Sz=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="bg-helper auth-beacon auth-beacon-factor '+l("function"==typeof(o=null!=(o=c(t,"className")||(null!=n?c(n,"className"):n))?o:a)?o.call(s,{name:"className",hash:{},data:r,loc:{start:{line:1,column:245},end:{line:1,column:258}}}):o)+' custom-app-logo" data-se="factor-beacon" role="img" aria-label="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.auth.logo.aria.label"},data:r,loc:{start:{line:1,column:323},end:{line:1,column:378}}}))+'">'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"className")||(null!=n?s(n,"className"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"className",hash:{},data:r,loc:{start:{line:1,column:441},end:{line:1,column:454}}}):o)+'" data-se="factor-beacon">'},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div data-type="beacon-container" class="beacon-container"><div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div>'+(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"logoUri"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:177},end:{line:1,column:487}}}))?o:"")+'<div class="okta-sign-in-beacon-border auth-beacon-border"></div></div></div >'},useData:!0}
1),postRender:function(){Ee.prototype.postRender.apply(this,arguments);const e=this.getTemplateData();e.logoUri&&(this.el.querySelector(".custom-app-logo").style.backgroundImage=`url(${e.logoUri})`)},getTemplateData:function(){var e,n,t;const i=null===(e=this.options)||void 0===e?void 0:e.appState,r=i?.get("remediations");let o=(null==i||null===(n=i.get("currentAuthenticator"))||void 0===n?void 0:n.logoUri)||(null==i||null===(t=i.get("currentAuthenticatorEnrollment"))||void 0===t?void 0:t.logoUri);return!o&&r&&(o=Cz(r)?.logoLink),{className:this.getBeaconClassName()||"",logoUri:o}},getBeaconClassName:function(){return"undefined-user"}});const PP=Sz.extend({authenticatorKey:function(){return this.options.appState.get("authenticatorKey")},idvName:function(){var e,n;const t=null===(e=this.options.appState.get("remediations"))||void 0===e?void 0:e.find(i=>i.name===xe.REDIRECT_IDVERIFY);return null==t||null===(n=t.idp)||void 0===n?void 0:n.id},displayName:function(){var e,n;return(null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:e.displayName)||(null===(n=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===n?void 0:n.displayName)},getBeaconClassName:function(){return function fRe(e,n,t){return"webauthn"===e&&"Passkeys"===t?"mfa-passkeys":vP({authenticatorKey:e}).iconClassName||function(e){let n={};switch(e){case"IDV_PERSONA":n={iconClassName:"mfa-idv-persona"};break;case"IDV_CLEAR":n={iconClassName:"mfa-idv-clear"};break;case"IDV_INCODE":n={iconClassName:"mfa-idv-incode"};break;case"IDV_STANDARD":n={iconClassName:"mfa-idv-standard"};break;case"IDV_OIN":n={iconClassName:"mfa-idv-oin"}}return n}(n).iconClassName}(m.result(this,"authenticatorKey"),m.result(this,"idvName"),m.result(this,"displayName"))}});var Jn=Wn.extend({Header:dv.extend({HeaderBeacon:PP}),Footer:pv});const RP=qe.extend({initialize:function(){qe.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0),this.add('<div class="okta-waiting-spinner"></div>')}}),NP=Jn.extend({postRender:function(){Jn.prototype.postRender.apply(this,arguments);const e=this.options.appState.get("messages")||{};if(this.settings.get("features.skipIdpFactorVerificationBtn")&&!Array.isArray(e.value)&&this.model.get("formName")!==xe.REDIRECT_IDVERIFY){const n=this.options.appState,t=n.get("authenticatorKey"),i=n.get("currentAuthenticator")||n.get("currentAuthenticatorEnrollment");mi.isSafari()&&"external_idp"===t&&null!=i&&i.logoUri&&(Qt(`#${Re.WIDGET_CONTAINER_ID}`).addClass("no-beacon"),this.$(".beacon-container").hide()),this.$(".o-form-button-bar").hide(),this.$(".okta-waiting-spinner").show(),this.form.trigger("save",this.model)}else this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}}),M2e=Ee.extend({tagName:"p",className:"privacy-footer",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return"<p>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{$2:"<a class='inline-link' data-se='privacy-policy' target='_blank' rel='noopener noreferrer'>$2</a>",$1:"<a class='inline-link' data-se='terms-of-use' target='_blank' rel='noopener noreferrer'>$1</a>",arguments:"idpName",bundle:"login",code:"oie.idv.idp.desc.termsOfUse"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:283}}}))+"</p><p>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{arguments:"idpName",bundle:"login",code:"oie.idv.idp.desc.agreement"},data:r,loc:{start:{line:1,column:290},end:{line:1,column:367}}}))+"</p>"},useData:!0}),getTemplateData:function(){return{idpName:A0(this.options.appState.get("remediations"))}}}),D2e=RP.extend({title:function(){return _("oie.idv.idp.title","login",[A0(this.options.appState.get("remediations"))])},subtitle:function(){return _("oie.idv.idp.desc","login",[A0(this.options.appState.get("remediations"))])},save:function(){return _("oie.optional.authenticator.button.title","login")}});var O2e=NP.extend({Body:D2e,Footer:pa.extend({postRender:function(){this.add(M2e);const{termsOfUse:e,privacyPolicy:n}=function A2e(e){let t,i;switch(A0(e)?.toUpperCase()){case"PERSONA":t="https://withpersona.com/legal/terms-of-use",i="https://withpersona.com/legal/privacy-policy";break;case"CLEAR":t="https://www.clearme.com/member-terms",i="https://www.clearme.com/privacy-policy";break;case"INCODE":t="https://incode.id/terms",i="https://incode.id/privacy";break;default:{const r=Cz(e);t=r?.termsOfUse,i=r?.privacyPolicy;break}}return{termsOfUse:t,privacyPolicy:i}}(this.options.appState.get("remediations"));
1this.$el.find('[data-se="terms-of-use"]').attr("href",e),this.$el.find('[data-se="privacy-policy"]').attr("href",n)}})});const I2e=qe.extend({title:function(){return _("password.reset.title.generic","login")},save:function(){return _("oform.next","login")},getUISchema:function(){return qe.prototype.getUISchema.apply(this,arguments).map(t=>{let i={...t};return"identifier"===t.name&&(i={...i,autoComplete:wt.getAutocompleteValue(this.options.settings,"username")}),i})}});var P2e=Wn.extend({Body:I2e,Footer:pa}),xz=dv.extend({HeaderBeacon:PP.extend({authenticatorKey:ze_EMAIL})});const N2e={AUTHENTICATION:"idx.return.link.otponly.enter.code.on.sign.in.page",RECOVERY:"idx.return.link.otponly.enter.code.on.password.reset.page",UNLOCK_ACCOUNT:"idx.return.link.otponly.enter.code.on.account.unlock.page",ENROLLMENT:"idx.return.link.otponly.enter.code.on.sign.up.page"},F2e=Ee.extend({getTemplateData:function(){return((e,n)=>{var t,i;const r=n.get("app"),o=n.get("client"),s=N2e[n.get("idx").context.intent],a=_(s||"idx.enter.otp.in.original.tab","login");let l,c,u,d;return null!=r&&r.label&&(l=_("idx.return.link.otponly.app","login",[r.label])),o&&(c=_("idx.return.link.otponly.browser.on.os","login",[o.browser,o.os]),u=c.includes("Android")||c.includes("iOS"),d=((e={})=>e.city||e.country?e.state?_("geolocation.formatting.all","login",[e.city,e.state,e.country]):_("geolocation.formatting.partial","login",[e.city,e.country]):null)(o.location)),{showRequestInfo:l||c||d,appName:l,browserOnOsString:c,isMobileDevice:u,geolocation:d,otp:e.get("otp")||(null===(t=n.get("currentAuthenticator"))||void 0===t||null===(i=t.contextualData)||void 0===i?void 0:i.otp),enterCodeOnFlowPage:a}})(this.options.settings,this.options.appState)}}).extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="enduser-email-otp-only--info"><div class="okta-form-label">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"idx.return.link.otponly.request"},data:r,loc:{start:{line:1,column:198},end:{line:1,column:260}}}))+"</div></div>"},3:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="enduser-email-otp-only--info">'+(null!=(o=l(t,"if").call(a,null!=n?l(n,"isMobileDevice"):n,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.program(6,r,0),data:r,loc:{start:{line:1,column:346},end:{line:1,column:540}}}))?o:"")+'<div data-se="otp-browser-os">'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"browserOnOsString")||(null!=n?l(n,"browserOnOsString"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"browserOnOsString",hash:{},data:r,loc:{start:{line:1,column:570},end:{line:1,column:591}}}):s)+"</div></div>"},4:function(e,n,t,i,r){return'<i class="enduser-email-otp-only--icon icon--smartphone" aria-hidden="true"></i>'},6:function(e,n,t,i,r){return'<i class="enduser-email-otp-only--icon icon--desktop" aria-hidden="true"></i>'},8:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="enduser-email-otp-only--info"><i class="enduser-email-otp-only--icon icon--app" aria-hidden="true"></i><div data-se="otp-app">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"appName")||(null!=n?s(n,"appName"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"appName",hash:{},data:r,loc:{start:{line:1,column:763},end:{line:1,column:774}}}):o)+"</div></div>"},10:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="enduser-email-otp-only--info"><i class="enduser-email-otp-only--icon icon--location" aria-hidden="true"></i><div data-se="otp-geolocation">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"geolocation")||(null!=n?s(n,"geolocation"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"geolocation",hash:{},data:r,loc:{start:{line:1,column:963},end:{line:1,column:978}}}):o)+"</div></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<p class="enter-code-on-page">'+u(typeof(s=null!=(s=d(t,"enterCodeOnFlowPage")||(null!=n?d(n,"enterCodeOnFlowPage"):n))?s:l)===c?s.call(a,{name:"enterCodeOnFlowPage",hash:{},data:r,loc:{start:{line:1,column:30}
1,end:{line:1,column:53}}}):s)+"</p><h1 class='otp-value no-translate'>"+u(typeof(s=null!=(s=d(t,"otp")||(null!=n?d(n,"otp"):n))?s:l)===c?s.call(a,{name:"otp",hash:{},data:r,loc:{start:{line:1,column:92},end:{line:1,column:99}}}):s)+"</h1>"+(null!=(o=d(t,"if").call(a,null!=n?d(n,"showRequestInfo"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:104},end:{line:1,column:279}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"browserOnOsString"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:279},end:{line:1,column:610}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"appName"):n,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:610},end:{line:1,column:793}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"geolocation"):n,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:793},end:{line:1,column:997}}}))?o:"")+"<br><p class='otp-warning'>"+u((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"idx.return.link.otponly.warning.text"},data:r,loc:{start:{line:1,column:1024},end:{line:1,column:1091}}}))+"</p>"},useData:!0})}),Ez=e=>{const n=Object.assign({method:"GET",contentType:"application/json"},e);return Qt.ajax(n)},kz=e=>e.deviceRemediation&&e.deviceRemediation.value&&e.deviceRemediation.value.action,mv="idx.error.code.access_denied.device_assurance.remediation",K2e=`${mv}.additional_help_`,Y2e=`${mv}.additional_help_custom`,Q2e=`${mv}.option_index`,J2e=`${mv}.title`,Z2e=`${mv}.explanation_`;var Tz=Ee.extend({className:"end-user-remediation-messages-view",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="end-user-remediation-title">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"title")||(null!=n?s(n,"title"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"title",hash:{},data:r,loc:{start:{line:1,column:53},end:{line:1,column:62}}}):o)+"</div>"},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="end-user-remediation-explanation">'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"explanation")||(null!=n?s(n,"explanation"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"explanation",hash:{},data:r,loc:{start:{line:1,column:140},end:{line:1,column:155}}}):o)+"</div>"},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="end-user-remediation-options">'+(null!=(o=s(t,"each").call(n??(e.nullContext||{}),null!=n?s(n,"remediationOptions"):n,{name:"each",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:236},end:{line:1,column:605}}}))?o:"")+"</div>"},6:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="'+e.escapeExpression("function"==typeof(s=null!=(s=l(t,"className")||(null!=n?l(n,"className"):n))?s:e.hooks.helperMissing)?s.call(a,{name:"className",hash:{},data:r,loc:{start:{line:1,column:276},end:{line:1,column:289}}}):s)+'">'+(null!=(o=l(t,"if").call(a,null!=n?l(n,"link"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(9,r,0),data:r,loc:{start:{line:1,column:291},end:{line:1,column:590}}}))?o:"")+"</div>"},7:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="'+c(typeof(o=null!=(o=u(t,"link")||(null!=n?u(n,"link"):n))?o:a)===l?o.call(s,{name:"link",hash:{},data:r,loc:{start:{line:1,column:312},end:{line:1,column:320}}}):o)+'" target="_blank" rel="noopener noreferrer">'+c(typeof(o=null!=(o=u(t,"message")||(null!=n?u(n,"message"):n))?o:a)===l?o.call(s,{name:"message",hash:{},data:r,loc:{start:{line:1,column:364},end:{line:1,column:375}}}):o)+"</a>"},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"deviceRemediationAction"):n,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.program(12,r,0),data:r,loc:{start:{line:1,column:387}
1,end:{line:1,column:583}}}))?o:""},10:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<button class="enduser-remediation-button-link" id="'+c(typeof(o=null!=(o=u(t,"deviceRemediationAction")||(null!=n?u(n,"deviceRemediationAction"):n))?o:a)===l?o.call(s,{name:"deviceRemediationAction",hash:{},data:r,loc:{start:{line:1,column:470},end:{line:1,column:497}}}):o)+'" data-se="'+c(typeof(o=null!=(o=u(t,"deviceRemediationAction")||(null!=n?u(n,"deviceRemediationAction"):n))?o:a)===l?o.call(s,{name:"deviceRemediationAction",hash:{},data:r,loc:{start:{line:1,column:508},end:{line:1,column:535}}}):o)+'">'+c(typeof(o=null!=(o=u(t,"message")||(null!=n?u(n,"message"):n))?o:a)===l?o.call(s,{name:"message",hash:{},data:r,loc:{start:{line:1,column:537},end:{line:1,column:548}}}):o)+"</button>"},12:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return e.escapeExpression("function"==typeof(o=null!=(o=s(t,"message")||(null!=n?s(n,"message"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"message",hash:{},data:r,loc:{start:{line:1,column:565},end:{line:1,column:576}}}):o)},14:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a href='#' target='_blank' rel='noopener noreferrer' class='additional-help'>$1</a>",bundle:"login",code:"idx.error.code.access_denied.device_assurance.remediation.additional_help_custom"},data:r,loc:{start:{line:1,column:695},end:{line:1,column:897}}}))},16:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a href='#' target='_blank' rel='noopener noreferrer' class='additional-help'>$1</a>",bundle:"login",code:"idx.error.code.access_denied.device_assurance.remediation.additional_help_default"},data:r,loc:{start:{line:1,column:905},end:{line:1,column:1108}}}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"title"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:75}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"explanation"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:75},end:{line:1,column:168}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"remediationOptions"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:168},end:{line:1,column:618}}}))?o:"")+'<div class="end-user-remediation-help-and-contact">'+(null!=(o=a(t,"if").call(s,null!=n?a(n,"useCustomHelpText"):n,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.program(16,r,0),data:r,loc:{start:{line:1,column:669},end:{line:1,column:1115}}}))?o:"")+"</div>"},useData:!0}),getTemplateData:function(){const n=[];let t=null,i=null,r=!1;return this.options.messages.forEach(o=>{const{i18n:{key:s,params:a=[]},links:l,message:c}=o;if(s===J2e)t=Gh(o);else if(s.startsWith("idx.device_assurance.grace_period.warning.title")){if(a.length>0){const d=new Date(a[0]),f=l0_formatDateToDeviceAssuranceGracePeriodExpiryLocaleString(d,this.options.languageTags);t=f?ct(s,"login",[f]):c}}else s.startsWith(Z2e)?i=Gh(o):s.startsWith(K2e)?(r=s===Y2e,l&&l[0]&&l[0].url&&(this.additionalHelpUrl=l[0].url)):n.push(function eNe(e){let n=null,t=null;return e.links&&e.links[0]&&e.links[0].url?n=e.links[0].url:kz(e)&&(t=e.deviceRemediation.value.action),{message:Gh(e),link:n,deviceRemediationAction:t,className:e.i18n.key===Q2e?"end-user-remediation-option":"end-user-remediation-action"}}(o))}),{title:t,explanation:i,remediationOptions:n,useCustomHelpText:r}},render:function(){Ee.prototype.render.apply(this,arguments),this.additionalHelpUrl&&this.$el.find(".additional-help").attr("href",this.additionalHelpUrl)},postRender:function(){Array.isArray(this.options.messages)&&this.options.messages.filter(n=>kz(n)).map(n=>n.deviceRemediation.value).forEach(n=>{this.$el.find(`#${n.action}`).click(function(t){t.preventDefault(),(e=>e&&"LOOPBACK"===e.remediationType)(n)&&(e=>{const n=e.domain,t=e.ports,i=t.length;let r=0;const o={remediationPath:e.remediationPath,actionPath:e.action,probeTimeoutMillis:e.probeTimeoutMillis,isSuccess:!1};let s=Promise.resolve();t.map(l=>`${n}:${l}`).forEach(l=>{o.isSuccess||(s=s.then(()=>((e,n)=>((e,n)=>Ez({url:e,timeout:n}))(`${e}/probe`,n.probeTimeoutMillis).then(()=>((e,n)=>Ez({url:e,method:"GET",timeout:n}))(`${e}/${n.remediationPath}/${n.actionPath}`,n.probeTimeoutMillis).then(()=>{n.isSuccess=!0}
1)).catch(()=>(zn_error(`Something unexpected happened while we were checking url: ${e}.`),Qt.Deferred().reject())))(l,o)).catch(()=>{r+=1,zn_error(`Authenticator is not listening on: ${l}.`),r>=i&&!o.isSuccess&&(zn_error("No available ports. Loopback server failed and using fallback mechanism."),((e,n)=>{switch(e.type){case"APP_LINK":wt.executeOnVisiblePage(()=>{wt.redirect(e.href,window,!0)});break;case"MESSAGE":{const t=document.getElementById(Re.WIDGET_CONTAINER_ID);if(!t)return void zn_error("Cannot find okta-sign-in container to display message");const i=t.querySelectorAll(`[data-se="${n}"]`);i&&i[0]&&(i[0].outerHTML=(e=>"idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.android_device_policy_app_required_manual_install"===e.message.i18n.key?se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=n.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return n.escapeExpression((s(i,"i18n")||t&&s(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"idx.error.code.access_denied.device_assurance.remediation.android.zero.trust.android_device_policy_app_required_manual_install"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:194}}}))},useData:!0})():Gh(e.message))(e));break}}})(e.fallback,e.action))}))})})(n)})})}});const LP="idx.return.link.expired",M0="idx.enter.otp.in.original.tab",Az="idx.error.server.safe.mode",Mz="oie.selfservice.unlock_user.success.message",D0="idx.return.to.original.tab",FP="idx.operation.cancelled.on.other.device",$P="idx.device.activated",Dz="idx.device.not.activated.consent.denied",Oz="idx.device.not.activated.internal.error",Iz="idx.transferred.to.new.tab",mNe=[Iz,"idx.return.stale","idx.return.error","idx.email.verification.required",D0,LP,FP,"idx.operation.cancelled.by.user",M0],Pz=[Dz,Oz],Rz=[$P,...Pz],gNe=[Mz,D0,Iz,FP,...Rz,"oie.selfservice.unlock_user.challenge.failed.permissions","oie.selfservice.reset.password.not.allowed",M0],Nz={[LP]:"oie.email.return.link.expired.title",[Mz]:"account.unlock.unlocked.title",[$P]:"device.code.activated.success.title","oie.registration.is.not.enabled":"oie.registration.form.title","oie.forgot.password.is.not.enabled":"password.reset.title.generic","idx.expired.activation.token":"oie.activation.request.email.title.expire","idx.request.activation.email":"oie.activation.request.email.title.submitted","idx.activating.inactive.user":"oie.activation.request.email.title.suspended","idx.missing.activation.token":"oie.activation.request.email.title.invalid",[Dz]:"device.code.activated.error.title",[Oz]:"device.code.activated.error.title",[D0]:"oie.consent.enduser.email.allow.title",[M0]:"idx.return.link.otponly.your.verification.code"},yNe=qe.extend({noButtonBar:!0,postRender:function(){if(qe.prototype.postRender.apply(this,arguments),this.$el.addClass("terminal-state"),this.options.appState.containsMessageWithI18nKey(Rz)){const e=this.options.appState.containsMessageWithI18nKey($P)?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')}},title:function(){return this.getTerminalViewTitle()},getTerminalViewTitle:function(){if(this.options.appState.containsMessageStartingWithI18nKey(Az))return _("oie.safe.mode.title","login");const n=Object.keys(Nz).find(t=>this.options.appState.containsMessageWithI18nKey(t));return n?_(Nz[n],"login"):void 0},prepareMessageForCustomView:function(e){let n=!1;return this.options.appState.containsMessageWithI18nKey(M0)?(this.add(F2e),n=!0):this.options.appState.containsMessageStartingWithI18nKey("security.access_denied_custom_message")?(this.add(Pr({type:"error",content:new T0({message:e.value[0].message,links:e.value[0].links})})),n=!0):this.options.appState.containsMessageStartingWithI18nKey("idx.error.code.access_denied.device_assurance.remediation.")&&(this.add(Pr({type:"error",content:new Tz({messages:e.value})})),n=!0),n},showMessages:function(){const e=this.options.appState.get("messages");let t,n=!1;this.options.appState.containsMessageWithI18nKey(FP)?(t=_("idx.operation.cancelled.on.other.device","login"),e.value.push({message:_("oie.consent.enduser.deny.description","login")})):this.options.appState.containsMessageWithI18nKey(D0)?(t=_("oie.consent.enduser.email.allow.description","login"),e.value.push({message:_("oie.return.to.original.tab","login")})):this.options.appState.containsMessageWithI18nKey("tooManyRequests")?t=_("oie.tooManyRequests","login"):this.options.appState.containsMessageWithI18nKey(LP)?e.value[0].class="ERROR":n=this.prepareMessageForCustomView(e),t&&Array.isArray(e?.value)&&(e.value[0].message=t),this.options.appState.set("messages",e),n||qe.prototype.showMessages.call(this)}}),vNe=pa.extend({links:function(){return this.options.appState.containsMessageStartingWithI18nKey(Az)?ez(this.options.appState):this.options.appState.containsMessageWithI18nKey(Pz)?[{type:"link",label:_("oie.try.again","login"),name:"try-again",href:window.location,className:"button button-primary text-align-c"}]:this.options.appState.hasActionObject("cancel")||this.options.appState.containsMessageWithI18nKey(gNe)||this.options.settings.get("features.hideSignOutLinkInMFA")||this.options.settings.get("features.mfaOnlyFlow")?void 0:(({settings:e,appState:n})=>{const t={};return null!=e&&e.get("backToSignInUri")?t.href=e.get("backToSignInUri"):null!=e&&e.get("oauth2Enabled")?t.clickHandler=()=>{n.trigger("restartLoginFlow")}:t.href=e?.get("baseUrl"),[{type:"link",label:_("goback","login"),name:"go-back",...t}]})(this.options)}});var _Ne=Wn.extend({initialize:function(){Wn.prototype.initialize.apply(this,arguments),this.options.appState.containsMessageWithI18nKey(mNe)&&(this.Header=xz)},Body:yNe,Footer:vNe});
1const Lz="security.access_denied_custom_message",wNe=qe.extend({title:function(){let e=_("oie.success.text.signingIn","login");const n=this.options.appState.get("app"),t=this.options.appState.get("user");if(!this.redirectView||"NONE"===this.redirectView)return e=_("oie.success.text.signingIn.with.ellipsis","login"),e;if(m.isEmpty(n))return e;const{label:i,name:r}=n,{identifier:o}=t||{},s=i||r;return s&&o&&!this.settings.get("features.showIdentifier")?e=_("oie.success.text.signingIn.with.appName.and.identifier","login",[s,o]):s&&(e=_("oie.success.text.signingIn.with.appName","login",[s])),e},showMessages:function(){if(this.isUnlockSuccess()){const e=".o-form-error-container",n=_("oie.selfservice.unlock_user.landing.to.app.signing.in.message","login");this.add(`<div class="ion-messages-container"><p>${n}</p></div>`,e)}else if(this.options.appState.containsMessageStartingWithI18nKey(Lz)){const{message:e,links:n}=this.options.appState.get("messages").value.find(t=>t.i18n.key===Lz);this.add(Pr({type:"error",content:new T0({message:e,links:n})}))}else qe.prototype.showMessages.call(this)},isUnlockSuccess:function(){return this.options.appState.containsMessageWithI18nKey("oie.selfservice.unlock_user.landing.to.app.success.message")},noButtonBar:!0,initialize:function(){qe.prototype.initialize.apply(this,arguments),this.redirectView=this.settings.get("interstitialBeforeLoginRedirect"),this.model.set("useRedirect",!0),this.trigger("save",this.model)},render:function(){qe.prototype.render.apply(this,arguments),"DEFAULT"===this.redirectView&&this.add('<div class="okta-waiting-spinner"></div>')}});var Fz=Wn.extend({Body:wNe});const CNe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="ion-messages-container"><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"countDownCounterValue",bundle:"login",code:"poll.form.message"},data:r,loc:{start:{line:1,column:39},end:{line:1,column:157}}}))+'</p></div><div class="hide okta-waiting-spinner"></div>'},useData:!0}),getTemplateData:function(){return{countDownCounterValue:this.options}}}),SNe=qe.extend(Object.assign({title:function(){return _("poll.form.title","login")},noButtonBar:!0,initialize:function(){qe.prototype.initialize.apply(this,arguments);const e=this.options.appState.getCurrentViewState().refresh;this.refreshTimeout=setTimeout(()=>{this.$el.find(".okta-waiting-spinner").show(),setTimeout(()=>this.saveForm(this.model),200)},e)},render:function(){qe.prototype.render.apply(this,arguments),this.countDownCounterValue=Math.ceil(this.options.appState.getCurrentViewState().refresh/xP),this.add(new CNe(this.countDownCounterValue)),this.startCountDown(".ion-messages-container span",xP)},remove:function(){qe.prototype.remove.apply(this,arguments),clearTimeout(this.refreshTimeout)},triggerAfterError:function(){qe.prototype.triggerAfterError.apply(this,arguments),clearTimeout(this.refreshTimeout),this.stopCountDown(),this.$el.find(".o-form-fieldset-container").empty()},startCountDown:function(e,n){this.countDown&&clearInterval(this.countDown),this.counterEl=this.$el.find(e),this.countDown=setInterval(()=>{"0"!==this.counterEl.text()&&this.counterEl.text(this.counterEl.text()-1)},n,this)},stopCountDown:function(){this.countDown&&clearInterval(this.countDown)}}));var xNe=Wn.extend({Body:SNe});const VP=Ee.extend({className:"consent-title detail-row",titleText:()=>_("oie.consent.scopes.admin.title","login"),hasIssuer:!0,template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="'+c(typeof(o=null!=(o=u(t,"clientURI")||(null!=n?u(n,"clientURI"):n))?o:a)===l?o.call(s,{name:"clientURI",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):o)+'" class="client-logo-link" title="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:73},end:{line:1,column:84}}}):o)+'" target="_blank">'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<img class="client-logo custom-logo" src="'+c(typeof(o=null!=(o=u(t,"customLogo")||(null!=n?u(n,"customLogo"):n))?o:a)===l?o.call(s,{name:"customLogo",hash:{},data:r,loc:{start:{line:1,column:169},end:{line:1,column:183}}}):o)+'" alt="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:190},end:{line:1,column:201}}}):o)+'" aria-hidden="true" />'},5:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<img class="client-logo default-logo" src="'+c(typeof(o=null!=(o=u(t,"defaultLogo")||(null!=n?u(n,"defaultLogo"):n))?o:a)===l?o.call(s,{name:"defaultLogo",hash:{},data:r,loc:{start:{line:1,column:275},end:{line:1,column:290}}}):o)+'" alt="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:297},end:{line:1,column:308}}}):o)+'" aria-hidden="true" />'},7:function(e,n,t,i,r){return"</a>"},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="issuer no-translate"><span>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"issuer")||(null!=n?s(n,"issuer"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"issuer",hash:{}
1,data:r,loc:{start:{line:1,column:513},end:{line:1,column:523}}}):o)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return(null!=(o=d(t,"if").call(a,null!=n?d(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:109}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"customLogo"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r,loc:{start:{line:1,column:109},end:{line:1,column:338}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:338},end:{line:1,column:366}}}))?o:"")+'<h1><span class="title-text"><b class="no-translate">'+u(typeof(s=null!=(s=d(t,"appName")||(null!=n?d(n,"appName"):n))?s:l)===c?s.call(a,{name:"appName",hash:{},data:r,loc:{start:{line:1,column:419},end:{line:1,column:430}}}):s)+"</b> "+u(typeof(s=null!=(s=d(t,"titleText")||(null!=n?d(n,"titleText"):n))?s:l)===c?s.call(a,{name:"titleText",hash:{},data:r,loc:{start:{line:1,column:440},end:{line:1,column:453}}}):s)+"</span>"+(null!=(o=d(t,"if").call(a,null!=n?d(n,"issuer"):n,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:460},end:{line:1,column:543}}}))?o:"")+"</h1>"},useData:!0}),getTemplateData:function(){const{appState:e}=this.options,{label:n,clientUri:t,logo:i}=e.get("app"),{issuer:r}=e.get("authentication"),o=i?.href,s=_("logo.for.the.app.alt.text","login"),a=m.escape(n),l=t?.href;return{customLogo:o,defaultLogo:"/img/logos/default.png",clientURI:l,issuer:this.hasIssuer?r?.uri:null,altText:s,appName:a,titleText:this.titleText()}}});var BP=qe.extend({noButtonBar:!1,noCancelButton:!1,buttonOrder:["cancel","save"],save:()=>_("consent.required.consentButton","login"),cancel:()=>_("consent.required.cancelButton","login"),title:!1,events:{'click input[data-type="save"]':function(){this.setConsent(!0)}},setConsent:function(e){this.model.set("consent",e)},cancelForm:function(){this.setConsent(!1),this.options.appState.trigger("saveForm",this.model)}}),$z=Wn.extend({Header:VP,Body:BP,createModelClass:function(e){const n=Wn.prototype.createModelClass.apply(this,arguments),{uiSchema:t}=e,{scopes:i}=t[0],r="consent.scopes",o=i.map(({name:s,displayName:a,description:l})=>{const c=`${r}.${s}`,u=`${c}.label`,d=`${c}.desc`,f=av(u),y=av(d);return{name:s,displayName:f?_(u,"login"):a,description:y?_(d,"login"):l,isCustomized:!f}});return n.extend({props:{scopes:{type:"array",value:o}},local:{consent:{type:"boolean",value:!1}},toJSON:function(){return{consent:this.get("consent")}}})}});const Vz=Ee.extend({className:"consent-footer",template:se.template({1:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a class="terms-of-service" href="'+c("function"==typeof(s=null!=(s=u(t,"termsOfService")||(null!=n?u(n,"termsOfService"):n))?s:l)?s.call(a,{name:"termsOfService",hash:{},data:r,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):s)+'" target="_blank">'+c((u(t,"i18n")||n&&u(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:r,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(o=u(t,"if").call(a,null!=n?u(n,"privacyPolicy"):n,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:158},end:{line:1,column:226}}}))?o:"")},2:function(e,n,t,i,r){return'<span class="no-translate">•</span>'},4:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<a class="privacy-policy" href="'+l("function"==typeof(o=null!=(o=c(t,"privacyPolicy")||(null!=n?c(n,"privacyPolicy"):n))?o:a)?o.call(s,{name:"privacyPolicy",hash:{},data:r,loc:{start:{line:1,column:286},end:{line:1,column:303}}}):o)+'" target="_blank">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:r,loc:{start:{line:1,column:321},end:{line:1,column:382}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"termsOfService"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:233}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"privacyPolicy"):n,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:233},end:{line:1,column:393}}}))?o:"")},useData:!0}),getTemplateData:function(){const n=this.options.appState.get("app");return{termsOfService:n.termsOfService&&n.termsOfService.href,privacyPolicy:n.privacyPolicy&&n.privacyPolicy.href}}});var kNe=VP.extend({titleText:()=>_("oie.consent.scopes.enduser.title","login"),hasIssuer:!1}),TNe=Ee.extend({className:"consent-description detail-row",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<p>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})}),ANe=$z.extend({Header:kNe,Footer:Vz,postRender:function(){const e=this.$el.find(".scope-list"),n=(new TNe).render().el;e.after(n)}}),MNe=ji.views.forms.inputs.CheckBox.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<input type="checkbox" name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):o)+'" id="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):o)+'"/><label for="'+c(typeof(o=null!=(o=u(t,"inputId")||(null!=n?u(n,"inputId"):n))?o:a)===l?o.call(s,{name:"inputId",hash:{},data:r,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):o)+'" data-se-for-name="'+c(typeof(o=null!=(o=u(t,"name")||(null!=n?u(n,"name"):n))?o:a)===l?o.call(s,{name:"name",hash:{},data:r,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):o)+'"><b>'+c(typeof(o=null!=(o=u(t,"placeholder")||(null!=n?u(n,"placeholder"):n))?o:a)===l?o.call(s,{name:"placeholder",hash:{},data:r,loc:{start:{line:1,column:113},end:{line:1,column:128}}}):o)+"</b><p>"+c(typeof(o=null!=(o=u(t,"desc")||(null!=n?u(n,"desc"):n))?o:a)===l?o.call(s,{name:"desc",hash:{},data:r,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):o)+"</p></label>"},useData:!0}),getLocalizedLabel:function(){const e=`consent.scopes.${this.options.options.scopeName}.label`;return av(e)?_(e,"login"):this.options.placeholder||this.options.options.scopeName},getLocalizedDesc:function(){const e=`consent.scopes.${this.options.options.scopeName}.desc`;return av(e)?_(e,"login"):this.options.options.desc},isCustomizedScope:function(){return!av(`consent.scopes.${this.options.options.scopeName}.label`)},enable:function(){this.options.options.mutable&&this.$(":input").prop("disabled",!1)},editMode:function(){if(this.$el.html(this.template(m.extend(m.omit(this.options,"placeholder"),{placeholder:this.getLocalizedLabel(),desc:this.getLocalizedDesc()}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),!this.options.options.mutable){const e=this.$("input").get(0);this.$(e.parentElement).addClass("o-form-read-mode"),this.$(":checkbox").prop("disabled",!0)}return("openid"===this.options.options.scopeName||this.isCustomizedScope())&&(this.$("label > b").addClass("no-translate"),this.isCustomizedScope()&&this.$("label > p").addClass("no-translate")),this}});const DNe=VP.extend({hasIssuer:!1,template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<a href="'+c(typeof(o=null!=(o=u(t,"clientURI")||(null!=n?u(n,"clientURI"):n))?o:a)===l?o.call(s,{name:"clientURI",hash:{},data:r,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):o)+'" class="client-logo-link" title="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:73},end:{line:1,column:84}}}):o)+'" target="_blank">'},3:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<img class="client-logo custom-logo" src="'+c(typeof(o=null!=(o=u(t,"customLogo")||(null!=n?u(n,"customLogo"):n))?o:a)===l?o.call(s,{name:"customLogo",hash:{},data:r,loc:{start:{line:1,column:169},end:{line:1,column:183}}}):o)+'" alt="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:190},end:{line:1,column:201}}}):o)+'" aria-hidden />'},5:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l="function",c=e.escapeExpression,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<img class="client-logo default-logo" src="'+c(typeof(o=null!=(o=u(t,"defaultLogo")||(null!=n?u(n,"defaultLogo"):n))?o:a)===l?o.call(s,{name:"defaultLogo",hash:{},data:r,loc:{start:{line:1,column:268},end:{line:1,column:283}}}):o)+'" alt="'+c(typeof(o=null!=(o=u(t,"altText")||(null!=n?u(n,"altText"):n))?o:a)===l?o.call(s,{name:"altText",hash:{},data:r,loc:{start:{line:1,column:290},end:{line:1,column:301}}}):o)+'" aria-hidden />'},7:function(e,n,t,i,r){return"</a>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:109}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"customLogo"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r,loc:{start:{line:1,column:109},end:{line:1,column:324}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"clientURI"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:324},end:{line:1,column:352}}}))?o:"")+'<h1><span class="title-text">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{$2:"<p>$2</p>",$1:"<b class='no-translate'>$1</b>",arguments:"appName",bundle:"login",code:"oie.consent.scopes.granular.title"},data:r,loc:{start:{line:1,column:381},end:{line:1,column:517}}}))+"</span></h1>"},useData:!0})}),ONe=BP.extend({cancel:qe.prototype.cancel,getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments);return e.forEach(n=>{"checkbox"===n.type&&m.assign(n,{input:MNe,options:{desc:n.desc,mutable:n.mutable,scopeName:n.name.substring(n.name.indexOf(".")+1)}})}),e}}),INe=Ee.extend({className:"consent-description",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<p>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.consent.scopes.granular.description"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:73}}}))+"</p>"},useData:!0})});var PNe=Wn.extend({Header:DNe,Body:ONe,Footer:Vz,postRender:function(){const e=this.$el.find(".o-form-fieldset-container");e.before((new INe).render().el),this.$(":disabled").each(function(){e.append(Qt(this).closest(".o-form-fieldset"))})}});const RNe=se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--desktop"></i><div>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"browser")||(null!=n?s(n,"browser"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"browser",hash:{},data:r,loc:{start:{line:1,column:131},end:{line:1,column:142}}}):o)+"</div></div>"},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--app"></i><div>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"app")||(null!=n?s(n,"app"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"app",hash:{},data:r,loc:{start:{line:1,column:284},end:{line:1,column:291}}}):o)+"</div></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"browser"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:161}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"app"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:161},end:{line:1,column:310}}}))?o:"")},useData:!0}),NNe=BP.extend({className:"enduser-email-consent",title:function(){return _("oie.consent.enduser.title","login")},save:function(){return _("oie.consent.enduser.accept.label","login")},cancel:function(){return _("oie.consent.enduser.deny.label","login")},initialize:function(){qe.prototype.initialize.apply(this,arguments);const e=RNe(this.model.pick("browser","app"));this.add(e)},getUISchema:function(){return qe.prototype.getUISchema.apply(this,arguments).filter(n=>"consent"!==n.name)}});var LNe=Jn.extend({Header:xz,buttonOrder:["cancel","save"],postRender:function(){this.$el.find(".o-form-button-bar").find(".button-primary").removeClass("button-primary")},Body:NNe,createModelClass:function({requestInfo:e}){const n=Jn.prototype.createModelClass.apply(this,arguments),t=e.find(({name:o})=>"browser"===o),i=e.find(({name:o})=>"appName"===o),r=Object.assign({browser:{type:"string",value:t?.value},app:{type:"string",value:i?.value}},n.prototype.local);return n.extend({local:r,toJSON:function(){return{consent:this.get("consent")}}})}}),Bz=dv.extend({HeaderBeacon:PP.extend({authenticatorKey:ze_OV})});const $Ne=fv.extend({pollingCancelAction:rz,getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value},doChallenge:function(){dz(this,EP)},onPollingFail:function(){fv.prototype.onPollingFail.apply(this,arguments);const e={label:_("loopback.polling.cancel.link.with.form.error","login")};this.options.appState.trigger("updateFooterLink",e)},showCustomFormErrorCallout:function(e,n){const t=e.responseJSON;let i={type:"error",className:"okta-verify-uv-callout-content",subtitle:t.errorSummary};if(t.errorSummaryKeys&&t.errorSummaryKeys.some(s=>s.includes("auth.factor.signedNonce.error"))&&(i.title=_("user.fail.verifyIdentity","login")),t.errorSummaryKeys&&t.errorSummaryKeys.some(s=>
1s.includes("security.access_denied_custom_message"))){const s=n?.find(a=>"security.access_denied_custom_message"===a.i18n.key);if(!s)return!1;i={type:"error",content:new T0({message:t.errorSummary,links:s.links})}}return this.showMessages(Pr(i)),!0}}),VNe=pa.extend({initialize:function(){this.listenTo(this.options.appState,"updateFooterLink",this.handleUpdateFooterLink),this.isFallbackApproach()&&!this.isFallbackDelayed()?pa.prototype.initialize.apply(this,arguments):this.backLink=this.add(qh,{options:{name:"cancel-authenticator-challenge",label:_("loopback.polling.cancel.link","login"),clickHandler:()=>{E0(this.options.appState,rz,"USER_CANCELED",null)}}}).last()},handleUpdateFooterLink:function(e){(!this.isFallbackApproach()||this.isFallbackDelayed())&&(this.backLink&&this.backLink.remove(),this.backLink=this.add(qh,{options:tz(this.options.settings,e)[0]}).last())},isFallbackApproach:function(){return[Re.CUSTOM_URI_CHALLENGE,Re.UNIVERSAL_LINK_CHALLENGE,Re.APP_LINK_CHALLENGE].includes(this.options.currentViewState.relatesTo.value.challengeMethod)},isFallbackDelayed:function(){return this.options.currentViewState.relatesTo.value.challengeMethod===Re.APP_LINK_CHALLENGE}});var BNe=Wn.extend({Header:Bz,Body:$Ne,Footer:VNe});const UNe=qe.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return _("deviceTrust.sso.redirectText","login")},initialize:function(){var e,n;qe.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",()=>{this.$(".spinner").hide()}),this.add('<div class="spinner"></div>');const t="get"===(null===(e=this.options.currentViewState)||void 0===e||null===(n=e.method)||void 0===n?void 0:n.toLowerCase());this.model.set("useRedirect",t),this.trigger("save",this.model)}});var Uz=Wn.extend({Body:UNe});const HNe=qe.extend({title:function(){return _("primaryauth.title","login")},noButtonBar:!0,initialize:function(){qe.prototype.initialize.apply(this,arguments),this.add(_z,{selector:".o-form-fieldset-container",bubble:!1,prepend:!0,options:{isRequired:!0}})}}),jNe=gz.extend({hasBackToSignInLink:!1});var zNe=Wn.extend({Body:HNe,Footer:jNe});const{Notification:UP}=ji.views.components,{Clipboard:HP}=ji.util,jP=e=>{const n=(e.platform||"").toLowerCase(),t=e.challengeMethod,r=n===Re.IOS;return{signInUrl:e.signInUrl,isIOS:r,enrollmentType:e.name,isAndroidLoopback:n===Re.ANDROID&&"LOOPBACK"===t,isAndroidAppLink:n===Re.ANDROID&&"APP_LINK"===t,appStoreLink:r?Re.OKTA_VERIFY_APPLE_APP_STORE_URL:Re.OKTA_VERIFY_GOOGLE_PLAY_STORE_URL,orgName:e.orgName}},zP=Ee.extend({getTemplateData:function(){const e=this.options.appState.get("deviceEnrollment");return jP(e)}}),GNe=zP.extend({template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.copyLink"},data:r,loc:{start:{line:1,column:120},end:{line:1,column:175}}}))+'<a data-clipboard-text="'+l("function"==typeof(o=null!=(o=c(t,"appStoreLink")||(null!=n?c(n,"appStoreLink"):n))?o:a)?o.call(s,{name:"appStoreLink",hash:{},data:r,loc:{start:{line:1,column:199},end:{line:1,column:215}}}):o)+'" class="button link-button copy-clipboard-button">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:r,loc:{start:{line:1,column:266},end:{line:1,column:316}}}))+"</a></li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.pasteLink"},data:r,loc:{start:{line:1,column:329},end:{line:1,column:385}}}))+"</li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step3"},data:r,loc:{start:{line:1,column:394},end:{line:1,column:441}}}))+"</li>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<li>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"enroll.oda.android.step1"},data:r,loc:{start:{line:1,column:482}
1,end:{line:1,column:537}}}))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u="function",d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<p class="explanation" data-se="subheader">'+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.p1"},data:r,loc:{start:{line:1,column:43},end:{line:1,column:95}}}))+"</p><ol>"+(null!=(o=d(t,"if").call(a,null!=n?d(n,"isIOS"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:103},end:{line:1,column:453}}}))?o:"")+(null!=(o=d(t,"if").call(a,null!=n?d(n,"isAndroidLoopback"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:453},end:{line:1,column:549}}}))?o:"")+"<li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step1"},data:r,loc:{start:{line:1,column:553},end:{line:1,column:600}}}))+"</li><li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step2"},data:r,loc:{start:{line:1,column:609},end:{line:1,column:656}}}))+'<p class="org-signin-link"><span class="no-translate">'+c(typeof(s=null!=(s=d(t,"signInUrl")||(null!=n?d(n,"signInUrl"):n))?s:l)===u?s.call(a,{name:"signInUrl",hash:{},data:r,loc:{start:{line:1,column:710},end:{line:1,column:723}}}):s)+'</span></p><a data-clipboard-text="'+c(typeof(s=null!=(s=d(t,"signInUrl")||(null!=n?d(n,"signInUrl"):n))?s:l)===u?s.call(a,{name:"signInUrl",hash:{},data:r,loc:{start:{line:1,column:758},end:{line:1,column:771}}}):s)+'" class="button link-button copy-org-clipboard-button">'+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:r,loc:{start:{line:1,column:826},end:{line:1,column:880}}}))+"</a></li><li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step6"},data:r,loc:{start:{line:1,column:893},end:{line:1,column:940}}}))+"</li></ol>"},useData:!0}),postRender:function(){HP.attach(".copy-clipboard-button").done(()=>{let e=new UP({message:_("enroll.mdm.copyLink.success","login"),level:"success"});return this.el.prepend(e.render().el),!1}),HP.attach(".copy-org-clipboard-button").done(()=>{let e=new UP({message:_("enroll.oda.org.copyLink.success","login"),level:"success"});return this.el.prepend(e.render().el),!1})}}),qNe=zP.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<p class="explanation" data-se="subheader">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.explanation"},data:r,loc:{start:{line:1,column:43},end:{line:1,column:109}}}))+'</p><p class="subtitle">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.subtitile1 "},data:r,loc:{start:{line:1,column:133},end:{line:1,column:199}}}))+"</p><ul><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step1"},data:r,loc:{start:{line:1,column:211},end:{line:1,column:271}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step2"},data:r,loc:{start:{line:1,column:280},end:{line:1,column:340}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step3"},data:r,loc:{start:{line:1,column:349},end:{line:1,column:409}}}))+'</li></ul><p class="subtitle">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.subtitile2 "},data:r,loc:{start:{line:1,column:439},end:{line:1,column:505}}}))+"</p><ol><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step4"}
1,data:r,loc:{start:{line:1,column:517},end:{line:1,column:577}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{arguments:"signInUrl",bundle:"login",code:"enroll.oda.with.account.step5"},data:r,loc:{start:{line:1,column:586},end:{line:1,column:668}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step6"},data:r,loc:{start:{line:1,column:677},end:{line:1,column:737}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.with.account.step7"},data:r,loc:{start:{line:1,column:746},end:{line:1,column:806}}}))+"</li></ol>"},useData:!0})}),WNe=zP.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s,a=n??(e.nullContext||{}),l=e.hooks.helperMissing,c=e.escapeExpression,u="function",d=e.lookupProperty||function(f,y){if(Object.prototype.hasOwnProperty.call(f,y))return f[y]};return'<p class="explanation" data-se="subheader">'+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.without.account.explanation"},data:r,loc:{start:{line:1,column:43},end:{line:1,column:112}}}))+"</p><ol><li>"+(null!=(o=(d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{arguments:"appStoreLink",bundle:"login",code:"enroll.oda.without.account.step1"},data:r,loc:{start:{line:1,column:124},end:{line:1,column:214}}}))?o:"")+"</li><li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step1"},data:r,loc:{start:{line:1,column:223},end:{line:1,column:270}}}))+"</li><li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step2"},data:r,loc:{start:{line:1,column:279},end:{line:1,column:326}}}))+'<p class="org-signin-link"><span class="no-translate">'+c(typeof(s=null!=(s=d(t,"signInUrl")||(null!=n?d(n,"signInUrl"):n))?s:l)===u?s.call(a,{name:"signInUrl",hash:{},data:r,loc:{start:{line:1,column:380},end:{line:1,column:393}}}):s)+'</span></p><a data-clipboard-text="'+c(typeof(s=null!=(s=d(t,"signInUrl")||(null!=n?d(n,"signInUrl"):n))?s:l)===u?s.call(a,{name:"signInUrl",hash:{},data:r,loc:{start:{line:1,column:428},end:{line:1,column:441}}}):s)+'" class="button link-button copy-org-clipboard-button">'+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:r,loc:{start:{line:1,column:496},end:{line:1,column:550}}}))+"</a></li><li>"+c((d(t,"i18n")||n&&d(n,"i18n")||l).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.without.account.step4"},data:r,loc:{start:{line:1,column:563},end:{line:1,column:626}}}))+"</li></ol>"},useData:!0}),postRender:function(){HP.attach(".copy-org-clipboard-button").done(()=>{let e=new UP({message:_("enroll.oda.org.copyLink.success","login"),level:"success"});return this.el.prepend(e.render().el),!1})}}),{Notification:KNe}=ji.views.components,{Clipboard:YNe}=ji.util;var QNe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<div>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.mdm"},data:r,loc:{start:{line:1,column:5},end:{line:1,column:58}}}))+"</div><ol><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.copyLink"},data:r,loc:{start:{line:1,column:72},end:{line:1,column:127}}}))+'<a data-clipboard-text="'+l("function"==typeof(o=null!=(o=c(t,"enrollmentLink")||(null!=n?c(n,"enrollmentLink"):n))?o:a)?o.call(s,{name:"enrollmentLink",hash:{},data:r,loc:{start:{line:1,column:151},end:{line:1,column:169}}}):o)+'" class="button link-button copy-clipboard-button">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:r,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a></li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.pasteLink"},data:r,loc:{start:{line:1,column:283},end:{line:1,column:339}}}))+"</li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",arguments:"vendor",bundle:"login",code:"enroll.mdm.step.followInstructions"},data:r,loc:{start:{line:1,column:348},end:{line:1,column:473}}}))+"</li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step.relogin"},data:r,loc:{start:{line:1,column:482}
1,end:{line:1,column:536}}}))+"</li></ol>"},useData:!0}),getTemplateData:function(){return this.options.appState.get("deviceEnrollment")},postRender:function(){YNe.attach(".copy-clipboard-button").done(()=>{let e=new KNe({message:_("enroll.mdm.copyLink.success","login"),level:"success"});return this.el.prepend(e.render().el),!1})}});const Ad=qe.extend({noButtonBar:!0,className:"device-enrollment-terminal"}),Hz=qe.extend({attributes:{"data-se":"android-app-link-setup-options-terminal"},title:function(){return _("enroll.title.oda.with.account","login")},initialize:function(){qe.prototype.initialize.apply(this,arguments);const e=jP(this.options.appState.get("deviceEnrollment"));this.model.set("hasOVAccount","no"),this.addInput({label:()=>_("enroll.subtitle.fastpass","login",[e.orgName]),"label-top":!0,options:{no:_("enroll.option.noaccount.fastpass","login"),yes:_("enroll.option.account.fastpass","login")},name:"hasOVAccount",type:"radio"})},saveForm:function(){this.$el.find(".o-form-error-container").empty(),this.options.appState.trigger("updateDeviceEnrollmentView","yes"===this.model.get("hasOVAccount"))}}),JNe=Ad.extend({attributes:{"data-se":"android-oda-app-link-with-ov-account-terminal"},title:function(){return _("enroll.title.oda.with.account","login")},initialize:function(){Ad.prototype.initialize.apply(this,arguments),this.add(qNe)}}),XNe=Ad.extend({attributes:{"data-se":"android-oda-app-link-without-ov-account-terminal"},title:function(){return _("enroll.title.oda.without.account","login")},initialize:function(){Ad.prototype.initialize.apply(this,arguments),this.add(WNe)}}),ZNe=Ad.extend({attributes:{"data-se":"loopback-terminal"},title:function(){return _("enroll.title.oda","login")},initialize:function(){Ad.prototype.initialize.apply(this,arguments),this.add(GNe)}}),jz=Ad.extend({attributes:{"data-se":"mdm-terminal"},title:function(){return _("enroll.title.mdm","login")},initialize:function(){Ad.prototype.initialize.apply(this,arguments),this.add(QNe)}}),eLe=qh.extend({postRender:function(){this.$el.click(e=>{e.preventDefault(),this.options.appState.trigger("switchBackToPreselect")})}});var tLe=Wn.extend({initialize:function(){Wn.prototype.initialize.apply(this,arguments),this.listenTo(this.options.appState,"updateDeviceEnrollmentView",this.handleUpdateDeviceEnrollmentView),this.listenTo(this.options.appState,"switchBackToPreselect",this.handleSwitchBackToPreselect);const e=jP(this.options.appState.get("deviceEnrollment"));switch(this.enrollmentType=(e.enrollmentType||"").toLowerCase(),this.enrollmentType){case Re.ODA:this.Header=Bz,this.Body=e.isAndroidAppLink?Hz:ZNe;break;case Re.MDM:case Re.WS1:this.Body=jz}},handleUpdateDeviceEnrollmentView:function(e){this.Body=e?JNe:XNe,this.backLink=this.add(eLe,{options:{name:"back-to-preselect",label:_("oform.back","login")}}).last(),this.renderForm()},handleSwitchBackToPreselect:function(){this.Body=Hz,this.backLink&&this.backLink.remove(),this.render()}});const zz=function(e,n,t){e.add(Ee.extend({tagName:"section",template:se.template({1:function(i,r,o,s,a){return"<li>"+i.escapeExpression(i.lambda(r,r))+"</li>"},compiler:[8,">= 4.3.0"],main:function(i,r,o,s,a){var l,c=r??(i.nullContext||{}),u=i.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<div class="password-authenticator--heading">'+i.escapeExpression((u(o,"i18n")||r&&u(r,"i18n")||i.hooks.helperMissing).call(c,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:a,loc:{start:{line:1,column:45},end:{line:1,column:115}}}))+'</div><ul class="password-authenticator--list">'+(null!=(l=u(o,"each").call(c,null!=r?u(r,"rulesList"):r,{name:"each",hash:{},fn:i.program(1,a,0),inverse:i.noop,data:a,loc:{start:{line:1,column:162},end:{line:1,column:207}}}))?l:"")+"</ul>"},useData:!0}),getTemplateData:()=>({rulesList:n}),attributes:{"data-se":"password-authenticator--rules"}}),{prepend:t,selector:".o-form-fieldset-container"})},nLe=qe.extend({title:function(){if(this.options.appState.getCurrentViewState().href.endsWith("idp/idx/enroll/update")){var e;const n=this.options.appState.attributes;return null!=n&&null!==(e=n.uiDisplay)&&void 0!==e&&e.label?_("oie.registration.form.customize.label","login",[n.uiDisplay.label]):_("oie.primaryauth.submit","login")}return _("oie.registration.form.title","login")},save:function(){if(this.options.appState.getCurrentViewState().href.endsWith("idp/idx/enroll/update")){var e;const n=this.options.appState.attributes;return null!=n&&null!==(e=n.uiDisplay)&&void 0!==e&&e.buttonLabel?_("oie.registration.form.customize.buttonLabel","login",[n.uiDisplay.buttonLabel]):_("oie.registration.form.update.submit","login")}return _("oie.registration.form.submit","login")},saveForm:function(){this.settings.preRegistrationSubmit(this.model.toJSON(),e=>{this.model.attributes={...this.model.attributes,...this.model.parse(e)},qe.prototype.saveForm.call(this,this.model)},e=>this.model.trigger("error",this.model,{responseJSON:e}))},triggerAfterError:function(e,n){var t;(null==n||null===(t=n.responseJSON)||void 0===t?void 0:t.errorCauses)&&Array.isArray(n.responseJSON.errorCauses)&&n.responseJSON.errorCauses.forEac
1h(r=>{var o;null!==(o=r.errorKey)&&void 0!==o&&o.includes("password.passwordRequirementsNotMet")&&(r.errorSummary=_("registration.error.password.passwordRequirementsNotMet","login"))}),this.options.appState.trigger("afterError",n)}}),iLe=pa.extend({links:function(){const e=[];return this.options.appState.hasRemediationObject(xe.SELECT_IDENTIFY)&&e.push({type:"link",label:_("haveaccount","login"),name:"back",actionPath:xe.SELECT_IDENTIFY}),e}});var rLe=Wn.extend({Body:nLe,Footer:iLe,createModelClass:function(e,n,t){const i=JSON.parse(JSON.stringify(e.uiSchema));let r=Wn.prototype.createModelClass.apply(this,arguments,e);return r=r.extend({toJSON:function(){const o=_r.prototype.toJSON.call(this,arguments,e);if(o.userProfile){const s=e.uiSchema,a=o.userProfile;m.each(a,(l,c)=>{if(m.isEmpty(l)){const u=s.find(d=>d.name===`userProfile.${c}`);!m.isUndefined(u)&&!u.required&&delete a[c]}})}return o}}),t.parseRegistrationSchema(i,o=>{m.isEqual(o,e.uiSchema)||(e.uiSchema=o,r=Wn.prototype.createModelClass.call(this,e,n))},o=>{r=r.extend({local:{parseSchemaError:{value:o,type:"object"},...r.prototype.local}})}),r},postRender:function(){Wn.prototype.postRender.apply(this,arguments);const e=this.model.get("parseSchemaError");e&&this.model.trigger("error",this.model,{responseJSON:e}),this.renderPasswordPolicySettings();const n=MP(this.options);Array.isArray(n)&&n.length&&this._addIdpView(n)},renderPasswordPolicySettings:function(){var e;const t=this.options.currentViewState.value.filter(s=>"credentials"===s.name)[0],i=null==t||null===(e=t.form)||void 0===e?void 0:e.value;var r,o;i&&i.filter(s=>"passcode"===s.name)&&zz(this,$7(null==t||null===(r=t.relatesTo)||void 0===r||null===(o=r.value)||void 0===o?void 0:o.settings),!1)},_addIdpView:function(e){const n=this.options.settings.get("idpDisplay"),t=n&&"PRIMARY"===n.toUpperCase();this.add(vz,{prepend:t,selector:t?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:t}})}});const oLe=qe.extend({className:"profile-update",title:function(){return _("oie.profile.additional.title","login")},save:function(){return _("enroll.choices.submit.finish","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments);return e.forEach(n=>{"userProfile.secondEmail"===n.name&&(n.explain=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(t,i,r,o,s){var a,l=t.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return null!=(a=(l(r,"i18n")||i&&l(i,"i18n")||t.hooks.helperMissing).call(i??(t.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"oie.profile.additional.secondemail.subtitle"},data:s,loc:{start:{line:1,column:0},end:{line:1,column:112}}}))?a:""},useData:!0})}))}),e},initialize:function(){qe.prototype.initialize.apply(this,arguments)}}),sLe=pa.extend({className:"auth-footer side-by-side-links",links:function(){const{uiSchema:e}=this.options.currentViewState,n=e.filter(t=>!1===t.required);if(e.length===n.length)return ez(this.options.appState,_("oie.enroll.skip.profile","login"));this.$el.removeClass(".side-by-side-links")}});var aLe=Wn.extend({Body:oLe,Footer:sLe,postRender:function(){Wn.prototype.postRender.apply(this,arguments),this.options.appState.getSchemaByName("userProfile.secondEmail")&&this.model.set("userProfile.secondEmail","")}});const lLe=qe.extend({title:function(){return _("oie.activation.request.email.title.expire","login")},save:function(){return _("oie.activation.request.email.button","login")}});var cLe=Wn.extend({Body:lLe});const uLe=qe.extend({title:function(){return _("oie.select.authenticators.enroll.title","login")},subtitle:function(){return this.options.settings.get("brandName")?_("oie.select.authenticators.enroll.subtitle.custom","login",[this.options.settings.get("brandName")]):_("oie.select.authenticators.enroll.subtitle","login")},noButtonBar:!0});var dLe=Wn.extend({Body:uLe});const Gz=qe.extend({title:function(){return this.isPasswordRecoveryFlow()?_("password.reset.title.generic","login"):_("oie.select.authenticators.verify.title","login")},subtitle:function(){if(this.isPasswordRecoveryFlow())return _("oie.password.reset.verification","login");if(!this.isUnlockSuccess())return _("oie.select.authenticators.verify.subtitle","login");{const e=".o-form-error-container",n=_("oie.select.authenticators.verify.subtitle","login");this.add(`<div class="ion-messages-container"><p>${n}</p></div>`,e)}},isPasswordRecoveryFlow:function(){return this.options.appState.get("isPasswordRecovery")},noButtonBar:!0,showMessages:function(){if(this.isUnlockSuccess()){let e={};return e.subtitle=_("oie.selfservice.unlock_user.landing.to.app.success.message","login"),e.type="success",e=Pr(e),void qe.prototype.showMessages.call(this,e)}qe.prototype.showMessages.call(this)},isUnlockSuccess:function(){return this.options.appState.containsMessageWithI18nKey("oie.selfservice.unlock_user.landing.to.app.success.message")}});var fLe=Wn.extend({Body:Gz,Footer:pa.extend({links:function(){return nz(this.options.appState,this.options.settings)}})});const pLe=qe.extend({noButtonBar:!0,title:function(){return _("oie.select.authenticators.verify.title","login")},subtitle:function(){return _("oie.select.authenticators.verify.subtitle","login")}});var mLe=Wn.extend({Body:pLe});const gLe=qe.extend({title:function(){return _("oie.password.enroll.title","login")},save:function(){return _("oform.next","login")},initialize:function(){qe.prototype.initialize.apply(this,arguments);const e=this.getPasswordPolicySettings();this.displayPasswordPolicy(e)},displayPasswordPolicy:function(e){if(e){const n=$7(e);zz(this,n,!0)}}
1,triggerAfterError:function(e,n){n.responseJSON=function pRe(e){var n,t;return(null===(n=e.errorCauses)||void 0===n?void 0:n.length)>0&&Array.isArray(e.errorCauses[0].errorSummary)&&e.errorCauses[0].errorSummary.length>0&&(e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary[0],"password.passwordRequirementsNotMet"===((null===(t=e.errorCauses[0].errorKey)||void 0===t?void 0:t.length)>0&&e.errorCauses[0].errorKey[0])&&(e.errorCauses[0].errorSummary=ct("registration.error.password.passwordRequirementsNotMet","login"))),e}(n.responseJSON),this.options.appState.trigger("afterError",n)},getPasswordPolicySettings:function(){var e;const n=this.options.currentViewState.relatesTo;return null==n||null===(e=n.value)||void 0===e?void 0:e.settings},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),n={name:"confirmPassword",label:_("oie.password.confirmPasswordLabel","login"),type:"password","label-top":!0,params:{showPasswordToggle:this.settings.get("showPasswordToggle")}},t=[];for(let i of e)t.push(i),"credentials.passcode"===i.name&&t.push(n);return t}});var Md=Jn.extend({Body:gLe,createModelClass:function(){const e=Wn.prototype.createModelClass.apply(this,arguments),n=Object.assign({confirmPassword:{type:"string",required:!0}},e.prototype.local);return e.extend({local:n,validate:function(){return this.get("credentials.passcode")!==this.get("confirmPassword")&&this.get("credential.value")!==this.get("confirmPassword")?{confirmPassword:_("password.error.match","login")}:null}})}});const yLe=qe.extend({title:function(){return _("oie.password.challenge.title","login")},save:function(){return _("mfa.challenge.verify","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),{settings:n}=this.options,t="primaryauth.password.tooltip",i=e.find(({name:r})=>"credentials.passcode"===r);return i&&lv(t,n)&&(i.explain=_(t,"login"),i["explain-top"]=!0),e}}),vLe=pv.extend({links:function(){let e=pv.prototype.links.apply(this,arguments);return e=SP(this.options.appState,this.options.settings).concat(e),e}});var _Le=Jn.extend({Body:yLe,Footer:vLe});const bLe=Md.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?_("password.expired.title.specific","login",[this.options.settings.get("brandName")]):_("password.expired.title.generic","login")},save:function(){return _("password.expired.submit","login")},getPasswordPolicySettings:function(){var e,n;return(null===(e=this.options.appState.get("recoveryAuthenticator"))||void 0===e?void 0:e.settings)||(null===(n=this.options.appState.get("enrollmentAuthenticator"))||void 0===n?void 0:n.settings)}});var wLe=Md.extend({Body:bLe});const CLe=Md.prototype.Body.extend({className:"password-authenticator",subtitle:function(){if(this.options.settings.get("brandName"))return _("password.expiring.subtitle.specific","login",[this.options.settings.get("brandName")])},title:function(){const n=(this.getPasswordPolicySettings()||{}).daysToExpiry;return n>0?_("password.expiring.title","login",[n]):_(0===n?"password.expiring.today":"password.expiring.soon","login")},save:function(){return _("password.expired.submit","login")},showMessages:function(){if(this.options.settings.get("brandName"))return null;Md.prototype.Body.prototype.showMessages.apply(this,arguments)}}),SLe=pa.extend({links:function(){const e=[];return this.options.appState.hasRemediationObject("skip")&&e.push({type:"link",label:_("password.expiring.later","login"),name:"skip",actionPath:"skip"}),e}});var xLe=Md.extend({Body:CLe,Footer:SLe});const ELe=Md.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?_("password.reset.title.specific","login",[this.options.settings.get("brandName")]):_("password.reset.title.generic","login")},save:function(){return _("password.reset","login")}});var kLe=Md.extend({Body:ELe}),GP=Ee.extend({postRender:function(){this.showCalloutAfterTimeout()},showCalloutAfterTimeout:function(){ds_getResendTimestamp()||(e=>{sessionStorage.setItem(dP,e)})(Date.now()),this.showMeInterval=setInterval(()=>{const n=ds_getResendTimestamp();Date.now()-n>=3e4&&(this.$el.removeClass("hide"),clearInterval(this.showMeInterval),ds_removeResendTimestamp())},250)},remove:function(){var e,n;Ee.prototype.remove.apply(this,arguments),clearInterval(this.showMeInterval);const t=this.options.appState.get("currentFormName"),i=(null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:e.resend)||(null===(n=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===n?void 0:n.resend),r=this.options.model.get("formName")!==t;ds_getResendTimestamp()&&(!i||r)&&ds_removeResendTimestamp()}});const qz=GP.extend({className:"phone-authenticator-challenge__resend-warning hide",events:{"click a.resend-link":"handleResendLink"},modelEvents:{error:"handleError"},resendActionKey:"currentAuthenticatorEnrollment-resend",initialize:function(){const e="sms"===this.model.get("mode")?_("oie.ph
1one.verify.sms.resendText","login"):_("oie.phone.verify.call.resendText","login"),n="sms"===this.model.get("mode")?_("oie.phone.verify.sms.resendLinkText","login"):_("oie.phone.verify.call.resendLinkText","login");this.add(Pr({content:`${e} <a class='resend-link'>${n}</a>`,type:"warning"}))},hideResendViewAndShowAfterTimeout:function(){this.el.classList.contains("hide")||this.el.classList.add("hide"),this.showCalloutAfterTimeout()},handleResendLink:function(e){e?.preventDefault(),this.options.appState.trigger("invokeAction",this.resendActionKey),this.hideResendViewAndShowAfterTimeout()},handleError:function(){this.hideResendViewAndShowAfterTimeout()}}),TLe=qe.extend(Object.assign({className:"phone-authenticator-challenge",title:function(){return _("oie.phone.verify.title","login")},save:function(){return _("mfa.challenge.verify","login")},initialize:function(){qe.prototype.initialize.apply(this,arguments);const e="sms"===this.model.get("mode")?_("oie.phone.verify.sms.codeSentText","login"):_("mfa.calling","login"),n=_("oie.phone.verify.enterCodeText","login"),t=_("oie.phone.carrier.charges","login"),i=this.model.get("phoneNumber")!==_("oie.phone.alternate.title","login"),r=i?"strong no-translate nowrap":"",o=i?this.model.get("nickname"):"",s=o?` (${o})`:"",l=s?`<span class="${(s?"no-translate authenticator-verify-nickname":"")||""}"}>${s}.</span>`:'<span class="no-translate">.</span>';this.add(`<div class="okta-form-subtitle" data-se="o-form-explain">${e} <span class="${r}">${this.model.escape("phoneNumber")}</span>${l} ${n}<p>${t}</p></div>`,{prepend:!0,selector:".o-form-fieldset-container"})},postRender:function(){qe.prototype.postRender.apply(this,arguments),this.add(qz,{selector:".o-form-info-container",prepend:!0})}}));var qP=Jn.extend({Body:TLe,createModelClass:function(){const e=this.options.currentViewState.relatesTo,{methods:n,profile:t,nickname:i}=e?.value||{},r=Wn.prototype.createModelClass.apply(this,arguments),o=Object.assign({mode:{value:n[0].type,type:"string"},phoneNumber:{value:null!=t&&t.phoneNumber?t.phoneNumber:_("oie.phone.alternate.title","login"),type:"string"},nickname:{value:i||"",type:"string"}},r.prototype.local);return r.extend({local:o})}});const ALe=qz.extend({className:"phone-authenticator-enroll--warning hide",resendActionKey:"currentAuthenticator-resend"}),MLe=qP.prototype.Body.extend({className:"phone-authenticator-enroll",title:function(){return _("oie.phone.enroll.title","login")},postRender:function(){qe.prototype.postRender.apply(this,arguments),this.add(ALe,{selector:".o-form-info-container",prepend:!0})}});var DLe=qP.extend({Body:MLe});const OLe=qe.extend({className:"phone-authenticator-enroll",title:function(){return _("oie.phone.enroll.title","login")},subtitle:function(){return"voice"===this.model.get("authenticator.methodType")?_("oie.phone.enroll.call.subtitle","login"):_("oie.phone.enroll.sms.subtitle","login")},render:function(){qe.prototype.render.apply(this,arguments),this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText=`+${this.model.get("phoneCode")}`},handlePhoneCodeChange:function(){this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText=`+${this.model.get("phoneCode")}`},save:function(){return"voice"===this.model.get("authenticator.methodType")?_("oie.phone.call.primaryButton","login"):_("oie.phone.sms.primaryButton","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),n=m.findIndex(e,({name:a})=>"authenticator.phoneNumber"===a),t={"label-top":!0,label:_("mfa.country","login"),type:"select",options:ha_getCountries(),name:"country",wide:!0},i="okta-phone-number-input",r={label:_("mfa.phoneNumber.placeholder","login"),inputId:i,type:"group",modelType:"string","label-top":!0,name:"phoneCode",className:"phone-authenticator-enroll__phone",input:[{type:"label",label:`+${this.model.get("phoneCode")}`,className:"phone-authenticator-enroll__phone-code no-translate"},Object.assign({inputId:i},e[n])]},o={label:_("phone.extention.label","login"),type:"text",className:"phone-authenticator-enroll__phone-ext","label-top":!0,name:"extension",showWhen:{"authenticator.methodType":"voice"}};-1!==n&&(e.splice(n,1,r),e.splice(n,0,t),e.splice(n+2,0,o));const s=m.find(e,({name:a})=>"authenticator.methodType"===a);return s&&1===s.options.length&&(s.className="hide"),e},updateConditionalText:function(){this.el.querySelector(".okta-form-subtitle").innerText=this.subtitle(),this.el.querySelector('input[type="submit"]').value=this.save()},initialize:function(){qe.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:authenticator.methodType",this.updateConditionalText),this.listenTo(this.model,"change:phoneCode",this.handlePhoneCodeChange.bind(this))}});var ILe=Jn.extend({Body:OLe,createModelClass:function(){const e=Wn.prototype.createModelClass.apply(this,arguments),n=Object.assign({country:{value:this.settings.get("defaultCountryCode"),type:"string"},extension:{type:"string"}},e.prototype.local),t=Object.assign({phoneCode:{deps:["country"],fn:function(i){return ha_getCallingCodeForCountry(i)}}},e.prototype.derived);return e.extend({local:n,derived:t,toJSON:function(){const i=_r.prototype.toJSON.call(this,arguments),r=this.get("extension");let s=`+${this.get("phoneCode")}${i.authenticator.phoneNumber}`;return"voice"===i.authenticator.methodType&&null!=r&&r.trim().length&&(s=`${s}x${r}`),i.authenticator.phoneNumber=s,i}})}});const PLe=qe.extend({className:"phone-authenticator-challenge",events:{"click a.phone-authenticator-challenge__link":"handleSecondaryLinkClick"}
1,title:function(){return _("oie.phone.verify.title","login")},save:function(){return"sms"===this.model.get("primaryMode")?_("oie.phone.sms.primaryButton","login"):_("oie.phone.call.primaryButton","login")},handleSecondaryLinkClick:function(e){e.preventDefault();const n=this.model.get("secondaryMode");this.model.set("authenticator.methodType",n),this.saveForm(this.model)},initialize:function(){this.model.on("error",()=>this.model.set("authenticator.methodType",this.model.get("primaryMode"))),qe.prototype.initialize.apply(this,arguments);const e="sms"===this.model.get("primaryMode")?_("oie.phone.verify.sms.sendText","login"):_("oie.phone.verify.call.sendText","login"),n=_("oie.phone.carrier.charges","login"),t=this.model.get("phoneNumber")!==_("oie.phone.alternate.title","login"),i=t?"strong no-translate nowrap":"",r=t?this.model.get("nickname"):"",o=r?` (${r})`:"",a=o?`<span class="${(o?"no-translate authenticator-verify-nickname":"")||""}">${o}.</span>`:'<span class="no-translate">.</span>',l=`${e} <span ${i?` class="${i}"`:""}>${this.model.escape("phoneNumber")}</span>${a}`;this.add(`<div class="okta-form-subtitle" data-se="o-form-explain">${l}<p>${n}</p></div>`)},getUISchema:function(){return qe.prototype.getUISchema.apply(this,arguments).filter(n=>"authenticator.methodType"!==n.name)},render:function(){qe.prototype.render.apply(this,arguments);const e=this.model.get("secondaryMode");if(e){const n=_("sms"===e?"oie.phone.sms.secondaryButton":"oie.phone.call.secondaryButton","login");this.add(`<a href="#"\n class="link phone-authenticator-challenge__link"\n data-se="phone-authenticator-challenge__link">${n}</a>`,".o-form-button-bar")}}});var RLe=Jn.extend({Body:PLe,createModelClass:function({uiSchema:e}){const{options:n}=m.find(e,a=>"authenticator.methodType"===a.name),t=this.options.currentViewState.relatesTo,{profile:i,nickname:r}=t?.value||{},o=Wn.prototype.createModelClass.apply(this,arguments),s=Object.assign({primaryMode:{value:n[0].value,type:"string"},secondaryMode:{value:n[1]&&n[1].value,type:"string"},phoneNumber:{value:null!=i&&i.phoneNumber?i.phoneNumber:_("oie.phone.alternate.title","login"),type:"string"},nickname:{value:r||"",type:"string"}},o.prototype.local);return o.extend({local:s})}});const NLe=qe.extend({title:function(){return _("oie.security.question.enroll.title","login")},save:function(){return _("mfa.challenge.verify","login")}});var LLe=Jn.extend({Body:NLe});const FLe=qe.extend({title:function(){return _("oie.security.question.challenge.title","login")},save:function(){return _("mfa.challenge.verify","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),n=e.filter(i=>i.name.indexOf("questionKey")>=0),t=e.filter(i=>i.name.indexOf("answer")>=0);return 1===n.length&&1===t.length&&(t[0].label=n[0].label),e}});var $Le=Jn.extend({Body:FLe}),Wz=Ee.extend({className:"oie-webauthn-additional-instructions",initialize:function(){const{description:e}=this.options;e&&(this.add(Ee.extend({className:"additional-instructions-title",template:se.template({compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s=n.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<p>"+n.escapeExpression((s(i,"i18n")||t&&s(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.instructions.additional"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:77}}}))+"</p>"},useData:!0})})),this.add(Pr({subtitle:e,className:"additional-instructions-callout"})))}}),VLe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<p class="idx-webauthn-enroll-text">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:null!=n?o(n,"enrollI18nKey"):n},data:r,loc:{start:{line:1,column:57},end:{line:1,column:99}}}))+"</p>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<p class="idx-webauthn-enroll-text">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions"},data:r,loc:{start:{line:1,column:147},end:{line:1,column:210}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"enrollI18nKey"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:0},end:{line:1,column:221}}}))?o:""},useData:!0}
1),initialize:function(){const n=this.options.currentViewState.relatesTo?.value.contextualData.activationData;mi.isEdge()&&this.add(Ee.extend({tagName:"p",className:"idx-webauthn-enroll-text-edge",template:se.template({compiler:[8,">= 4.3.0"],main:function(i,r,o,s,a){var l=i.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return i.escapeExpression((l(o,"i18n")||r&&l(r,"i18n")||i.hooks.helperMissing).call(r??(i.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions.edge"},data:a,loc:{start:{line:1,column:0},end:{line:1,column:68}}}))},useData:!0})})),"required"===n.authenticatorSelection.userVerification&&this.add(Pr({className:"uv-required-callout",size:"slim",type:"warning",subtitle:_("oie.enroll.webauthn.uv.required.instructions","login")}));const t=B7(this.options.currentViewState);t&&this.add(Wz,{options:{description:t}}),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')},getTemplateData:function(){var e,n;return{enrollI18nKey:Ml({DEFAULT:"oie.enroll.webauthn.instructions",PASSKEYS:"oie.enroll.webauthn.passkeysRebrand.instructions",CUSTOM:"oie.enroll.webauthn.passkeysRebrand.instructions"},null===(e=this.options.currentViewState.relatesTo)||void 0===e||null===(n=e.value)||void 0===n?void 0:n.displayName)}}});const ULe=qe.extend({title:function(){return V7(this.options.currentViewState,!1)},className:"oie-enroll-webauthn",modelEvents:{error:"_stopEnrollment"},getUISchema:function(){const e=[];var n,t;return zi.isNewApiAvailable()?(e.push({View:VLe}),e.push({View:cr({className:"webauthn-setup button button-primary button-wide",title:_("oie.enroll.webauthn.save","login"),click:()=>{this.triggerWebauthnPrompt()}})})):e.push({View:Pr({className:"webauthn-not-supported",type:"error",subtitle:Ml({DEFAULT:_("oie.webauthn.error.not.supported","login"),PASSKEYS:_("oie.webauthn.passkeysRebrand.error.not.supported","login"),CUSTOM:_("oie.webauthn.passkeysRebrand.error.not.supported","login")},null===(n=this.options.currentViewState.relatesTo)||void 0===n||null===(t=n.value)||void 0===t?void 0:t.displayName)})}),e},triggerWebauthnPrompt:function(){this.$el.find(".o-form-error-container").empty(),this._startEnrollment();const n=this.options.currentViewState.relatesTo?.value.contextualData.activationData;if(zi.isNewApiAvailable()){var t;const i=!0===(null===(t=n.authenticatorSelection)||void 0===t?void 0:t.requireResidentKey)?[]:function BLe(e=[]){const n=[];return e.forEach(t=>{"webauthn"===t.key&&n.push({type:"public-key",id:ir.strToBin(t.credentialId)})}),n}(this.options.appState.get("authenticatorEnrollments").value),r=m.extend({},n,{challenge:ir.strToBin(n.challenge),user:{id:ir.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName},excludeCredentials:i});typeof AbortController<"u"&&(this.webauthnAbortController=new AbortController),navigator.credentials.create({publicKey:r,signal:this.webauthnAbortController&&this.webauthnAbortController.signal}).then(o=>{this.model.set({credentials:{clientData:ir.binToStr(o.response.clientDataJSON),attestation:ir.binToStr(o.response.attestationObject),transports:zi.processWebAuthnResponse(o.response.getTransports,o.response),clientExtensions:zi.processWebAuthnResponse(o.getClientExtensionResults,o)}}),this.saveForm(this.model)}).catch(o=>{this.model.trigger("error",this.model,{responseJSON:{errorSummary:bP(o)}})}).finally(()=>{this.webauthnAbortController=null})}},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".webauthn-setup").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".webauthn-setup").show()}});var HLe=Jn.extend({Body:ULe,postRender:function(){Jn.prototype.postRender.apply(this,arguments),this.$el.find('.o-form-button-bar [type="submit"]').remove()}}),jLe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<p class="idx-webauthn-verify-text">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:null!=n?o(n,"verifyI18nKey"):n}
1,data:r,loc:{start:{line:1,column:57},end:{line:1,column:99}}}))+"</p>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<p class="idx-webauthn-verify-text">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.instructions"},data:r,loc:{start:{line:1,column:147},end:{line:1,column:210}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"verifyI18nKey"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:0},end:{line:1,column:221}}}))?o:""},useData:!0}),initialize:function(){"required"===this.options.currentViewState.relatesTo?.value.contextualData.challengeData.userVerification&&this.add(Pr({className:"uv-required-callout",size:"slim",type:"warning",subtitle:_("oie.verify.webauthn.uv.required.instructions","login")}));const t=B7(this.options.currentViewState);t&&this.add(Wz,{options:{description:t}}),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')},getTemplateData:function(){var e,n;return{verifyI18nKey:Ml({DEFAULT:"oie.verify.webauthn.instructions",PASSKEYS:"oie.verify.webauthn.passkeysRebrand.instructions",CUSTOM:"oie.verify.webauthn.passkeysRebrand.instructions"},null===(e=this.options.currentViewState.relatesTo)||void 0===e||null===(n=e.value)||void 0===n?void 0:n.displayName)}}});const zLe="Okta_Authenticator",GLe=Ee.extend({id:"help-description-container",className:"help-description js-help-description",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return"<h3>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.title"},data:r,loc:{start:{line:1,column:4},end:{line:1,column:96}}}))+"</h3><br><p>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description1"},data:r,loc:{start:{line:1,column:108},end:{line:1,column:207}}}))+"</p><br><p>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description2"},data:r,loc:{start:{line:1,column:218},end:{line:1,column:317}}}))+"</p><br><h3>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.title"},data:r,loc:{start:{line:1,column:329},end:{line:1,column:410}}}))+"</h3><br><p>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.description"},data:r,loc:{start:{line:1,column:422},end:{line:1,column:509}}}))+"</p><br>"},useData:!0})}),qLe=Ee.extend({id:"help-description-container",className:"help-description js-help-description",template:se.template({1:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<li>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:null!=n?o(n,"enrollmentStep1"):n},data:r,loc:{start:{line:1,column:58},end:{line:1,column:102}}}))+"</li><br>"},3:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return"<li>"+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step1"},data:r,loc:{start:{line:1,column:123},end:{line:1,column:202}}}))+"</li><br>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<ol class="ov-enrollment-info">'+(null!=(o=c(t,"if").call(s,null!=n?c(n,"enrollmentStep1"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r,loc:{start:{line:1,column:31},end:{line:1,column:218}}}))?o:"")+"<li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step2"},data:r,loc:{start:{line:1,column:222},end:{line:1,column:301}}}))+"</li><br><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step3"},data:r,loc:{start:{line:1,column:314},end:{line:1,column:393}}}))+"</li><br><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step4"},data:r,loc:{start:{line:1,column:406},end:{line:1,column:485}}}))+"</><br></ol>"},useData:!0}
1),getTemplateData:function(){var e,n;return{enrollmentStep1:Ml({DEFAULT:"oie.verify.webauthn.cant.verify.enrollment.step1",PASSKEYS:"oie.verify.webauthn.passkeysRebrand.cant.verify.enrollment.step1",CUSTOM:"oie.verify.webauthn.passkeysRebrand.cant.verify.enrollment.step1"},null===(e=this.options.currentViewState.relatesTo)||void 0===e||null===(n=e.value)||void 0===n?void 0:n.displayName)}}});var WLe=pv.extend({links:function(){const e=pv.prototype.links.apply(this,arguments),n=this.options.appState.get("app")&&this.options.appState.get("app").name===zLe?qLe:GLe;return e.unshift({label:_("oie.verify.webauthn.cant.verify","login"),name:"cant-verify","aria-controls":"help-description-container",class:"link help js-help",type:"toggle-text-link",additionalOptions:{view:n,selector:".js-help-description"}}),e}}),KLe=Ee.extend({className:"setup-webauthn-residentkey-text",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<div>"+(null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.rk.link"},data:r,loc:{start:{line:1,column:5},end:{line:1,column:65}}}))?o:"")+"</div>"},useData:!0}),events:{"click .setup-webauthn-residentkey-link":function(e){e.preventDefault(),this.options.appState.trigger("invokeAction",xe.ENROLL_WEBAUTHN_RESIDENTKEY)}}});const YLe=qe.extend({title:function(){return V7(this.options.currentViewState,!0)},className:"oie-verify-webauthn",getUISchema:function(){const e=[];if(zi.isNewApiAvailable()){const i=cr({className:"retry-webauthn button-primary default-custom-button",title:_("mfa.challenge.verify","login"),click:()=>{this.getCredentialsAndSave()}});e.push({View:jLe},{View:i}),this._canSetupWebAuthnResidentKey()&&e.push({View:KLe})}else{var n,t;e.push({View:Pr({className:"webauthn-not-supported",type:"error",subtitle:_(Ml({DEFAULT:"oie.webauthn.error.not.supported",PASSKEYS:"oie.webauthn.passkeysRebrand.error.not.supported",CUSTOM:"oie.webauthn.passkeysRebrand.error.not.supported"},null===(n=this.options.currentViewState.relatesTo)||void 0===n||null===(t=n.value)||void 0===t?void 0:t.displayName)||"oie.webauthn.error.not.supported","login")})})}return e},remove:function(){qe.prototype.remove.apply(this,arguments),this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)},noButtonBar:!0,modelEvents:{error:"_stopVerification"},getCredentialsAndSave:function(){var e;this.clearErrors(),this._startVerification(),typeof AbortController<"u"&&(this.webauthnAbortController=new AbortController);const t=this.options.currentViewState.relatesTo?.value||{},i=[];((null===(e=this.options.appState.get("authenticatorEnrollments"))||void 0===e?void 0:e.value)||[]).forEach(a=>{"webauthn"===a.key&&i.push({type:"public-key",id:ir.strToBin(a.credentialId)})});const o=t.contextualData.challengeData,s=m.extend({},o,{allowCredentials:i,challenge:ir.strToBin(o.challenge)});navigator.credentials.get({publicKey:s,signal:this.webauthnAbortController&&this.webauthnAbortController.signal}).then(a=>{const l={clientData:ir.binToStr(a.response.clientDataJSON),authenticatorData:ir.binToStr(a.response.authenticatorData),signatureData:ir.binToStr(a.response.signature)};var u;this.options.appState.getSchemaByName("credentials.userHandle")&&m.extend(l,{userHandle:ir.binToStr(null!==(u=a.response.userHandle)&&void 0!==u?u:"")}),this.model.set({credentials:l}),this.saveForm(this.model)},a=>{this.webauthnAbortController&&this.model.trigger("error",this.model,{responseJSON:{errorSummary:bP(a)}})}).finally(()=>{this.webauthnAbortController=null})},_startVerification:function(){this.$(".okta-waiting-spinner").show(),this.$(".retry-webauthn").hide(),this.$(".setup-webauthn-residentkey-text").hide(),this.$(".retry-webauthn")[0].textContent=_("retry","login")},_stopVerification:function(){this.$(".okta-waiting-spinner").hide(),this.$(".retry-webauthn").show(),this.$(".setup-webauthn-residentkey-text").show()},_canSetupWebAuthnResidentKey:function(){return this.options.appState.hasRemediationObject(xe.ENROLL_WEBAUTHN_RESIDENTKEY)}});var QLe=Jn.extend({Body:YLe,Footer:WLe,postRender:function(){Jn.prototype.postRender.apply(this,arguments),zi.isNewApiAvailable()&&!mi.isSafari()&&this.form.getCredentialsAndSave()}}),JLe={title:function(){return _("oie.email.mfa.title","login")}},O0_buildErrorObject=(e,n)=>uv_isIonErrorResponse(e)?(e=>({responseJSON:{errorCauses:PRe(e),errorSummary:RRe(e),errorSummaryKeys:NRe(e),errorIntent:e.intent}}))(e):e.errorSummary?{responseJSON:e}:("function"==typeof n&&n(e),{responseJSON:{errorSummary:_("error.unsupported.response","login")}}),O0_isRateLimitError=e=>{var n,t,i,r;return!((null===(n=e.responseJSON)||void 0===n||null===(t=n.errorSummaryKeys)||void 0===t||!t.includes("tooManyRequests"))&&("E0000047"!==(null===(i=e.responseJSON)||void 0===i?void 0:i.errorCode)||null!==(r=e.responseJSON)&&void 0!==r&&r.errorIntent))};const XLe=GP.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handleResendLink"},modelEvents:{error:"handleError"},initialize:function(){this.add(Pr({content:`${_("email.code.not.received","login")}\n <a class='resend-link'>${_("email.button.resend","login")}</a>`,type:"warning"}))},hideResendViewAndShowAfterTimeout:function(){this.$el.hasClass("hide")||this.$el.addClass("hide"),this.showCalloutAfterTimeout()},handleResendLink:function(e){e?.preventDefault(),this.options.appState.trigger("invokeAction",this.options.resendEmailA
1ction),this.hideResendViewAndShowAfterTimeout()},handleError:function(){this.hideResendViewAndShowAfterTimeout()}}),ZLe=$o.extend(Object.assign({save:function(){return _("mfa.challenge.verify","login")},initialize:function(){$o.prototype.initialize.apply(this,arguments),this.startPolling()},postRender:function(){qe.prototype.postRender.apply(this,arguments),this.$el.find(".resend-email-view").length||this.add(XLe,{selector:".o-form-info-container",prepend:!0,options:{resendEmailAction:this.resendEmailAction}})},saveForm:function(){qe.prototype.saveForm.apply(this,arguments),this.stopPolling()},remove:function(){qe.prototype.remove.apply(this,arguments),this.stopPolling()},triggerAfterError:function(e,n){var t,i;qe.prototype.triggerAfterError.apply(this,arguments);const r=!!this.polling;this.stopPolling(),(null===(t=n.responseJSON)||void 0===t||null===(i=t.errorSummaryKeys)||void 0===i||!i.includes("idx.session.expired"))&&(O0_isRateLimitError(n)?(r&&setTimeout(()=>{e.trigger("clearFormError")},0),this.startPolling(6e4)):this.startPolling(this.options.appState.get("dynamicRefreshInterval")))}},JLe));var I0=Jn.extend({Body:ZLe});const eFe=Ee.extend({className:"okta-form-subtitle",attributes:{"data-se":"o-form-explain"},template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"secondaryEmail"):n,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.program(4,r,0),data:r,loc:{start:{line:1,column:13},end:{line:1,column:433}}}))?o:""},2:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$2:"<span class='strong no-translate'>$2</span>",$1:"<span class='strong no-translate'>$1</span>",arguments:"email;secondaryEmail",bundle:"login",code:"oie.email.verify.alternate.magicLinkToEmailAddress.with.secondary.email"},data:r,loc:{start:{line:1,column:35},end:{line:1,column:269}}}))},4:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong no-translate'>$1</span>",arguments:"email",bundle:"login",code:"oie.email.verify.alternate.magicLinkToEmailAddress"},data:r,loc:{start:{line:1,column:277},end:{line:1,column:426}}}))},6:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.magicLinkToYourEmail"},data:r,loc:{start:{line:1,column:441},end:{line:1,column:520}}}))},8:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.instructions"},data:r,loc:{start:{line:1,column:557},end:{line:1,column:628}}}))},10:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.verificationCode.instructions"},data:r,loc:{start:{line:1,column:636},end:{line:1,column:724}}}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"email"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(6,r,0),data:r,loc:{start:{line:1,column:0},end:{line:1,column:527}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"useEmailMagicLinkValue"):n,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(10,r,0),data:r,loc:{start:{line:1,column:
1527},end:{line:1,column:731}}}))?o:"")},useData:!0}),getTemplateData:function(){return this.options}}),tFe=Ee.extend({className:"okta-form-subtitle",attributes:{"data-se":"o-form-explain"},template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.email.enroll.subtitle"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:56}}}))},useData:!0})}),nFe=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<button class="button-link enter-auth-code-instead-link" >'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{code:"oie.email.verify.alternate.show.verificationCode.text"},data:r,loc:{start:{line:1,column:58},end:{line:1,column:127}}}))+"</button>"},useData:!0})});function Kz(){return eFe}function iFe(){return tFe}function Yz(){return nFe}const WP=I0.prototype.Body,rFe=WP.extend(Object.assign({resendEmailAction:"currentAuthenticator-resend",initialize:function(){var e,n,t;WP.prototype.initialize.apply(this,arguments);const i=(null===(e=this.options.appState.get("user"))||void 0===e||null===(n=e.profile)||void 0===n?void 0:n.email)||(null===(t=this.options.appState.get("user"))||void 0===t?void 0:t.identifier)||{},r=this.isUseEmailMagicLink();void 0!==r?(this.noButtonBar=!0,this.events["click .enter-auth-code-instead-link"]="showAuthCodeEntry",r&&this.add(Yz(),{prepend:!0,selector:".o-form-error-container"}),this.add(Kz(),{prepend:!0,selector:".o-form-error-container",options:{email:i,useEmailMagicLinkValue:r}})):this.add(iFe(),{prepend:!0,selector:".o-form-error-container"})},postRender:function(){WP.prototype.postRender.apply(this,arguments),void 0!==this.isUseEmailMagicLink()&&(this.isUseEmailMagicLink()?this.showCodeEntryField(!1):this.noButtonBar=!1)},isUseEmailMagicLink:function(){var e,n;return null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e||null===(n=e.contextualData)||void 0===n?void 0:n.useEmailMagicLink},showAuthCodeEntry:function(){this.noButtonBar=!1,this.render(),this.showCodeEntryField(!0),this.removeEnterAuthCodeInsteadLink()},showCodeEntryField:function(e=!0){this.$el.find(".o-form-fieldset-container").toggle(e)},removeEnterAuthCodeInsteadLink:function(){this.$el.find(".enter-auth-code-instead-link").remove()}}));var oFe=I0.extend({Body:rFe});const KP=I0.prototype.Body,sFe=KP.extend(Object.assign({noButtonBar:!0,resendEmailAction:"currentAuthenticatorEnrollment-resend",events:{"click .enter-auth-code-instead-link":"showAuthCodeEntry"},initialize:function(){var e,n;KP.prototype.initialize.apply(this,arguments);const{email:t,secondaryEmail:i}=(null===(e=this.options.currentViewState.relatesTo)||void 0===e||null===(n=e.value)||void 0===n?void 0:n.profile)||{},r=this.isUseEmailMagicLink();r&&this.add(Yz(),{prepend:!0,selector:".o-form-error-container"}),this.add(Kz(),{prepend:!0,selector:".o-form-error-container",options:{email:t,secondaryEmail:i,useEmailMagicLinkValue:r}})},postRender:function(){KP.prototype.postRender.apply(this,arguments),this.isUseEmailMagicLink()?this.showCodeEntryField(!1):this.noButtonBar=!1},isUseEmailMagicLink:function(){var e,n;const t=null===(e=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===e||null===(n=e.contextualData)||void 0===n?void 0:n.useEmailMagicLink;return void 0===t||t},showAuthCodeEntry:function(){this.noButtonBar=!1,this.render(),this.showCodeEntryField(!0),this.removeEnterAuthCodeInsteadLink()},showCodeEntryField:function(e=!0){this.$el.find(".o-form-fieldset-container").toggle(e)},removeEnterAuthCodeInsteadLink:function(){this.$el.find(".enter-auth-code-instead-link").remove()}}));var aFe=I0.extend({Body:sFe});const YP=Jn.prototype.Body,lFe=Ee.extend({template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"secondaryEmail"):n,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.program(4,r,0),data:r,loc:{start:{line:1,column:70},end:{line:1,column:471}}}))?o:""},2:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$2:"<span class='strong no-translate'>$2</span>",$1:"<span class='strong no-translate'>$1</span>",arguments:"email;secondaryEmail",bundle:"login",code:"oie.email.verify.subtitle.text.with.email.and.secondary.email"},data:r,loc:{start:{line:1,column:92},end:{line:1,column:316}}}))},4:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong no-translate'>$1</span>",arguments:"email",bundle:"login",code:"oie.email.verify.subtitle.text.with.email"},data:r,loc:{start:{line:1,column:324},end:{line:1,column:464}}}))},6:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.subtitle.text.without.email"},data:r,loc:{start:{line:1,column:479}
1,end:{line:1,column:555}}}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<div class="okta-form-subtitle" data-se="o-form-explain">'+(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"email"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(6,r,0),data:r,loc:{start:{line:1,column:57},end:{line:1,column:562}}}))?o:"")+"</div>"},useData:!0}),getTemplateData:function(){var e,n,t,i;return{email:null===(e=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===e||null===(n=e.profile)||void 0===n?void 0:n.email,secondaryEmail:null===(t=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===t||null===(i=t.profile)||void 0===i?void 0:i.secondaryEmail}}}),cFe=YP.extend({title:function(){return _("oie.email.challenge.mfa.title","login")},save:function(){return _("oie.email.verify.primaryButton","login")},postRender:function(){YP.prototype.postRender.apply(this,arguments),this.add(lFe,{prepend:!0,selector:".o-form-info-container"})},getUISchema:function(){return YP.prototype.getUISchema.apply(this,arguments).filter(n=>"authenticator.methodType"!==n.name)}});var Qz=Jn.extend({Body:cFe}),uFe=GP.extend({className:"hide resend-ov-link-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){const e=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;this.add(Pr({content:se.template("email"===e?{compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return null!=(s=(a(i,"i18n")||t&&a(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:73}}}))?s:""},useData:!0}:{compiler:[8,">= 4.3.0"],main:function(n,t,i,r,o){var s,a=n.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return null!=(s=(a(i,"i18n")||t&&a(t,"i18n")||n.hooks.helperMissing).call(t??(n.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:71}}}))?s:""},useData:!0}),type:"warning"}))},handelResendLink:function(e){e?.preventDefault(),this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.$el.addClass("hide"),this.showCalloutAfterTimeout()}}),Jz=Ee.extend({className:"switch-channel-text",template:se.template({1:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.program(4,r,0),data:r,loc:{start:{line:1,column:23},end:{line:1,column:325}}}))?o:""},2:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.switch.channel.link.text"},data:r,loc:{start:{line:1,column:60},end:{line:1,column:140}}}))?o:""},4:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<a href="#" class="switch-channel-link" aria-label="'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.aria.cannotScan"},data:r,loc:{start:{line:1,column:200},end:{line:1,column:259}}}))+'">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:r,loc:{start:{line:1,column:261},end:{line:1,column:314}}}))+"</a>"},6:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"isSameDeviceChannel"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(9,r,0),data:r,loc:{start:{line:1,column:325},end:{line:1,column:480}}}))?o:""},7:function(e,n,t,i,r){return""},9:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"isDeviceBootstrapChannel"):n,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(2,r,0),data:r,loc:{start:{line:1,column:356},end:{line:1,column:480}}}))?o:""},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"isQRcodeChannel"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(6,r,0),data:r,loc:{start:{line:1,column:0},end:{line:1,column:487}}}))?o:""},useData:!0}
1),getTemplateData:function(){const e=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;return{sameDeviceOVEnrollmentEnabled:this.settings.get("features.sameDeviceOVEnrollmentEnabled"),isQRcodeChannel:"qrcode"===e,isSameDeviceChannel:"samedevice"===e,isDeviceBootstrapChannel:"devicebootstrap"===e}},postRender:function(){this.$el.find(".switch-channel-link").on("click",e=>{const n=this.options.appState;e.preventDefault(),n.trigger("switchForm",xe.SELECT_ENROLLMENT_CHANNEL)})}});const{Notification:dFe}=ji.views.components,{Clipboard:hFe}=ji.util;var fFe=Ee.extend({initialize:function(){let e=Xz(this.options.appState);if(e&&e.setupOVUrl&&e.isDesktop){this.ulDom&&this.ulDom.remove();const n=DP("custom-uri-container",e.setupOVUrl);this.ulDom=this.add(n).last()}},template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<ol class="qrcode-info ov-info"><li>'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step1.updated"},data:r,loc:{start:{line:1,column:48},end:{line:1,column:122}}}))+"</li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step2"},data:r,loc:{start:{line:1,column:131},end:{line:1,column:197}}}))+"</li><li>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"oie.enroll.okta_verify.qrcode.step3.updated"},data:r,loc:{start:{line:1,column:206},end:{line:1,column:316}}}))+'</li></ol><div class="qrcode-container"><img class="qrcode" src='+l("function"==typeof(o=null!=(o=c(t,"href")||(null!=n?c(n,"href"):n))?o:a)?o.call(s,{name:"href",hash:{},data:r,loc:{start:{line:1,column:380},end:{line:1,column:388}}}):o)+' alt="'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"mfa.altQrCode"},data:r,loc:{start:{line:1,column:394},end:{line:1,column:439}}}))+'"></img></div>'},3:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<ul class="email-info ov-info"><li>'+(null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"email",bundle:"login",code:"oie.enroll.okta_verify.email.info.updated"},data:r,loc:{start:{line:1,column:508},end:{line:1,column:636}}}))?o:"")+'</li><li class="switch-channel-content"></li></ul>'},5:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<ul class="sms-info ov-info"><li>'+(null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"phoneNumber",bundle:"login",code:"oie.enroll.okta_verify.sms.info.updated"},data:r,loc:{start:{line:1,column:745},end:{line:1,column:877}}}))?o:"")+'</li><li class="switch-channel-content"></li></ul>'},7:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="sameDevice-setup'+(null!=(o=l(t,"if").call(s,null!=n?l(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:990},end:{line:1,column:1056}}}))?o:"")+'"><p class="explanation" data-se="subheader">'+(null!=(o=l(t,"if").call(s,null!=(o=null!=n?l(n,"deviceMap"):n)?l(o,"isDesktop"):o,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.program(17,r,0),data:r,loc:{start:{line:1,column:1101},end:{line:1,column:1874}}}))?o:"")+'</p><ol class="ov-info">'+(null!=(o=l(t,"unless").call(s,null!=n?l(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"unless",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1898},end:{line:1,column:2312}}}))?o:"")+'<li><a href="'+a(e.lambda(null!=(o=null!=n?l(n,"deviceMap"):n)?l(o,"setupOVUrl"):o,n)
vendor: 10,990 bytes, line 1
1)+'" class="button button-primary setup-button">'+a((l(t,"i18n")||n&&l(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.title"},data:r,loc:{start:{line:1,column:2394},end:{line:1,column:2459}}}))+"</a></li>"+(null!=(o=l(t,"if").call(s,null!=n?l(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"if",hash:{},fn:e.program(22,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:2468},end:{line:1,column:2786}}}))?o:"")+(null!=(o=l(t,"if").call(s,null!=n?l(n,"showAnotherDeviceLink"):n,{name:"if",hash:{},fn:e.program(24,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:2786},end:{line:1,column:3125}}}))?o:"")+"</ol></div>"},8:function(e,n,t,i,r){return" ov-enrollment-enabled"},10:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return'<div class="desktop-instructions ov-info">'+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.prompt"},data:r,loc:{start:{line:1,column:1170},end:{line:1,column:1287}}}))+'</div><div class="desktop-instructions">'+(null!=(o=a(t,"if").call(s,null!=n?a(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.program(13,r,0),data:r,loc:{start:{line:1,column:1327},end:{line:1,column:1583}}}))?o:"")+"</div>"+(null!=(o=a(t,"unless").call(s,null!=n?a(n,"sameDeviceOVEnrollmentEnabled"):n,{name:"unless",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1589},end:{line:1,column:1765}}}))?o:"")},11:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span>$1</span>",bundle:"login",code:"customUri.required.content.prompt"},data:r,loc:{start:{line:1,column:1364},end:{line:1,column:1449}}}))},13:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.noPrompt"},data:r,loc:{start:{line:1,column:1457},end:{line:1,column:1576}}}))},15:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="desktop-instructions">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.makeSureHaveOV"},data:r,loc:{start:{line:1,column:1664},end:{line:1,column:1748}}}))+"</div>"},17:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.makeSureHaveOVToContinue"},data:r,loc:{start:{line:1,column:1773},end:{line:1,column:1867}}}))},19:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=(o=null!=n?a(n,"deviceMap"):n)?a(o,"platformLC"):o,{name:"if",hash:{},fn:e.program(20,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:1939},end:{line:1,column:2176}}}))?o:"")+"<li>"+e.escapeExpression((a(t,"i18n")||n&&a(n,"i18n")||e.hooks.helperMissing).call(s,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.setup"},data:r,loc:{start:{line:1,column:2180},end:{line:1,column:2296}}}))+"</li>"},20:function(e,n,t,i,r){var o,s=e.escapeExpression,a=e.lambda,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return"<li><a aria-label='"+s((l(t,"i18n")||n&&l(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.linkText"},data:r,loc:{start:{line:1,column:1986},end:{line:1,column:2061}}}))+"' href=\""+s(a(null!=(o=null!=n?l(n,"deviceMap"):n)?l(o,"downloadHref"):o,n))+'" class="app-store-logo '+s(a(null!=(o=null!=n?l(n,"deviceMap"):n)?l(o,"platformLC"):o,n))+'-app-store-logo"></a></li>'},22:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<li><span>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.title"},data:r,loc:{start:{line:1,column:2515},end:{line:1,column:2587}}}))+'</span> <a href="'+l(e.lambda(null!=(o=null!=n?c(n,"deviceMap"):n)?c(o,"downloadHref"):o,n))+'" target="_blank" id="download-ov" class="download-ov-link">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.linkText"},data:r,loc:{start:{line:1,column:2695},end:{line:1,column:2770}}}))+"</a></li>"},24:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return"<li>"+(null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=(o=null!=n?s(n,"deviceMap"):n)?s(o,"isDesktop"):o,{name:"if",hash:{},fn:e.program(25,r,0),inverse:e.program(27,r,0),data:r,loc:{start:{line:1,column:2819},end:{line:1,column:3113}}}))?o:"")+"</li>"},25:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a class='orOnMobileLink' href='#'>$1</a>",bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.orOnMobile"},data:r,loc:{start:{line:1,column:2846},end:{line:1,column:2973}}}))},27:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a class='orOnMobileLink' href='#'>$1</a>",bundle:"login",code:"oie.enroll.okta_verify.setup.customUri.orMobile"},data:r,loc:{start:{line:1,column:2981},end:{line:1,column:3106}}}))},29:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"sameDevice"):n,{name:"if",hash:{},fn:e.program(30,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:3144},end:{line:1,column:4021}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"deviceBootstrap"):n,{name:"if",hash:{},fn:e.program(32,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:4021},end:{line:1,column:4802}}}))?o:"")},30:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lambda,u=e.lookupProperty||function(d,f){if(Object.prototype.hasOwnProperty.call(d,f))return d[f]};return'<p class="explanation" data-se="subheader">'+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.subtitle "},data:r,loc:{start:{line:1,column:3205},end:{line:1,column:3274}}}))+'</p><ol class="sameDevice-info ov-info"><li>'+(null!=(o=(u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{arguments:"sameDevice.downloadHref",bundle:"login",code:"enroll.oda.without.account.step1"},data:r,loc:{start:{line:1,column:3318},end:{line:1,column:3419}}}))?o:"")+"</li><li>"+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.openOv"},data:r,loc:{start:{line:1,column:3428},end:{line:1,column:3494}}}))+"</li><li>"+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.signInUrl"},data:r,loc:{start:{line:1,column:3503},end:{line:1,column:3572}}}))+"<br><br/><span class='semi-strong no-translate'>"+l(c(null!=(o=null!=n?u(n,"sameDevice"):n)?u(o,"orgUrl"):o,n))+'</span><a data-clipboard-text="'+l(c(null!=(o=null!=n?u(n,"sameDevice"):n)?u(o,"orgUrl"):o,n))+'" class="button link-button copy-org-clipboard-button">'+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:r,loc:{start:{line:1,column:3748},end:{line:1,column:3802}}}))+"</a></li><li>"+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.followInstruction"},data:r,loc:{start:{line:1,column:3815},end:{line:1,column:3901}}}))+'</li></ol><p class="closing">'+l((u(t,"i18n")||n&&u(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.canBeClosed"},data:r,loc:{start:{line:1,column:3930},end:{line:1,column:4010}}}))+"</p>"},32:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<p class="explanation" data-se="subheader">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.subtitle"},data:r,loc:{start:{line:1,column:4087},end:{line:1,column:4164}}}))+'</p><ol class="deviceBootstrap-info ov-info"><li>'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",arguments:"enrolledDeviceName",bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.openOv.suchAs"},data:r,loc:{start:{line:1,column:4213},end:{line:1,column:4367}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.selectAccount"},data:r,loc:{start:{line:1,column:4376},end:{line:1,column:4458}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{$1:"<span class='semi-strong'>$1</span>",bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.addAccount"},data:r,loc:{start:{line:1,column:4467},end:{line:1,column:4587}}}))+"</li><li>"+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.followInstruction"},data:r,loc:{start:{line:1,column:4596},end:{line:1,column:4682}}}))+'</li></ol><p class="closing">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.setup.skipAuth.canBeClosed"},data:r,loc:{start:{line:1,column:4711},end:{line:1,column:4791}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}
1),a=e.lookupProperty||function(l,c){if(Object.prototype.hasOwnProperty.call(l,c))return l[c]};return(null!=(o=a(t,"if").call(s,null!=n?a(n,"href"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:1,column:460}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"email"):n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:460},end:{line:1,column:693}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=n?a(n,"phoneNumber"):n,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:693},end:{line:1,column:934}}}))?o:"")+(null!=(o=a(t,"if").call(s,null!=(o=null!=n?a(n,"deviceMap"):n)?a(o,"setupOVUrl"):o,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.program(29,r,0),data:r,loc:{start:{line:1,column:934},end:{line:1,column:4809}}}))?o:"")},useData:!0}),getTemplateData:function(){var e;const n=this.options.appState.get("currentAuthenticator").contextualData;let t="",i=Xz(this.options.appState),r=!1;if(n&&null!=n&&n.devicebootstrap&&null!=n&&n.devicebootstrap.enrolledDevices){const s=n?.devicebootstrap.enrolledDevices;t=Array.isArray(s)&&!m.isEmpty(s)?s[0]:s}i.securityLevel&&"ANY"===i.securityLevel&&(r=!0);const o=this.options.settings.get("features.sameDeviceOVEnrollmentEnabled");return{href:null===(e=n.qrcode)||void 0===e?void 0:e.href,email:m.escape(n?.email),phoneNumber:m.escape(n?.phoneNumber),sameDevice:n?.samedevice,deviceBootstrap:n?.devicebootstrap,enrolledDeviceName:t,deviceMap:i,showAnotherDeviceLink:r,sameDeviceOVEnrollmentEnabled:o}},postRender:function(){const e=this.options&&this.options.appState,n=this.model;this.$(".orOnMobileLink").click(function(){var t;if(!e||!n)return;const i="qrcode",o=e.get("remediations").find(l=>l.name===xe.SELECT_ENROLLMENT_CHANNEL);if(!o)return;const s=m.find(o.uiSchema,l=>"authenticator.id"===l.name);if(!s)return;const a=m.find(o.uiSchema,l=>"authenticator.channel"===l.name);!a||(a.options=m.filter(a?.options,l=>l.value===i),a.value=(null===(t=a.options[0])||void 0===t?void 0:t.value)||i,a.sublabel=null,n.set("authenticator.channel",a.value),n.set("authenticator.id",s.value),n.set("formName",o.name),e.trigger("saveForm",n))}),hFe.attach(".copy-org-clipboard-button").done(()=>{let t=new dFe({message:_("enroll.oda.org.copyLink.success","login"),level:"success"});return this.el.prepend(t.render().el),!1})}});function Xz(e){var n,t;if(!e)return null;const i=e.get("currentAuthenticator").contextualData;let r={};return null!==(n=i.samedevice)&&void 0!==n&&n.setupOVUrl?r={...i.samedevice}:null!==(t=i.devicebootstrap)&&void 0!==t&&t.setupOVUrl&&(r={...i.devicebootstrap}),r.platform&&(r.platformLC=r.platform.toLowerCase(),r.isDesktop=!("ios"===r.platformLC||"android"===r.platformLC)),r}let gv=!0;const yFe=$o.extend(Object.assign({title:function(){let n;switch(this.options.appState.get("currentAuthenticator").contextualData.selectedChannel){case"email":n=_("oie.enroll.okta_verify.setup.email.title","login");break;case"sms":n=_("oie.enroll.okta_verify.setup.sms.title","login");break;default:n=_("oie.enroll.okta_verify.setup.title","login")}return n},className:"oie-enroll-ov-poll",noButtonBar:!0,initialize:function(){$o.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPolling),gv&&this.startPolling()},showMessages:function(){const e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible")||this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_app_update_required")?e.title=_("oie.okta_verify.enroll.force.upgrade.title","login"):this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.enroll.enable.biometrics")&&(e.title=_("oie.authenticator.app.method.push.enroll.enable.biometrics.title","login")),$o.prototype.showMessages.call(this,e)},getUISchema:function(){const e=[],t=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;let i;return"qrcode"===t?(i=".qrcode-container",gv=!0):["email","sms"].includes(t)?(i=".switch-channel-content",gv=!0):["samedevice"].includes(t)?gv=!0:["devicebootstrap"].includes(t)&&(gv=!1),e.push({View:fFe}),e.push({View:Jz,options:{selectedChannel:t},selector:i}),["email","sms"].includes(t)&&e.push({View:uFe,selector:".o-form-error-container"}),e},remove:function(){$o.prototype.remove.apply(this,arguments),this.stopPolling()}},C0));var vFe=Jn.extend({Body:yFe}),_Fe=Ee.extend({className:"ov-same-device-enroll-text",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=(s(t,"i18n")||n&&s(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a class='ov-same-device-enroll-link' href='#'>$1</a>",bundle:"login",code:"oie.enroll.okta_verify.select.channel.ovOnThisDevice"},data:r,loc:{start:{line:1,column:0},end:{line:1,column:144}}}))?o:""},useData:!0}
1),postRender:function(){const e=this.options&&this.options.appState,n=this.model;this.$(".ov-same-device-enroll-link").click(function(){var t,i,r,o;if(!e||!n)return;const s="samedevice",l=e.get("remediations").find(d=>d.name===xe.SELECT_ENROLLMENT_CHANNEL);if(!l)return;const c=null===(t=l.uiSchema)||void 0===t?void 0:t.find(d=>"authenticator.id"===d.name);if(!c)return;const u=null===(i=l.uiSchema)||void 0===i?void 0:i.find(d=>"authenticator.channel"===d.name);!u||(u.options=null===(r=u.options)||void 0===r?void 0:r.filter(d=>d.value===s),u.value=(null===(o=u.options[0])||void 0===o?void 0:o.value)||s,u.sublabel=null,n.set("authenticator.channel",u.value),n.set("authenticator.id",c.value),n.set("formName",l.name),e.trigger("saveForm",n))})}});const bFe=qe.extend({title:function(){return mi.isAndroid()||mi.isIOS()?_("oie.enroll.okta_verify.setup.title","login"):_("oie.enroll.okta_verify.select.channel.title.updated","login")},getUISchema:function(){var e;const n=qe.prototype.getUISchema.apply(this,arguments),t=m.find(n,r=>"authenticator.channel"===r.name);return t.options=m.filter(t?.options,r=>{var o,s;return r.value!==(null===(o=this.options.appState.get("currentAuthenticator"))||void 0===o||null===(s=o.contextualData)||void 0===s?void 0:s.selectedChannel)&&"samedevice"!==r.value}),t.value=null===(e=t.options[0])||void 0===e?void 0:e.value,t.sublabel=null,this.model.set("authenticator.channel",t.value),[{View:_("oie.enroll.okta_verify.select.channel.subtitle","login"),selector:".o-form-fieldset-container"},...n]}});var wFe=Jn.extend({Body:bFe,postRender:function(){var e,n;const t=null===(e=this.options.currentViewState.value)||void 0===e?void 0:e.find(r=>"authenticator"===r.name).value.form.value;(null==t||null===(n=t.find(r=>"channel"===r.name).options)||void 0===n?void 0:n.find(r=>"samedevice"===r.value))&&this.add(new _Fe({model:this.model,settings:this.settings,appState:this.options.appState}),"form")}});const CFe=qe.extend({className:"oie-enroll-ov-data",title:function(){return"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?_("oie.enroll.okta_verify.enroll.channel.email.title","login"):_("oie.enroll.okta_verify.enroll.channel.sms.title","login")},save:function(){return _("oie.enroll.okta_verify.setupLink","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),n=m.find(e,({name:s})=>"phoneNumber"===s),t=m.findIndex(e,({name:s})=>"phoneNumber"===s),i={"label-top":!0,label:_("mfa.country","login"),type:"select",options:ha_getCountries(),name:"country",wide:!0},r={label:_("mfa.phoneNumber.placeholder","login"),type:"group",modelType:"string","label-top":!0,name:"phoneCode",input:[{type:"label",label:`+${this.model.get("phoneCode")}`,className:"country-code-label no-translate"},Object.assign({},n)]};-1!==t&&e.splice(t,1,i,r);const o={View:"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?_("oie.enroll.okta_verify.enroll.channel.email.subtitle","login"):_("oie.enroll.okta_verify.channel.sms.description.updated","login"),selector:".o-form-fieldset-container"};return e.push(o),e},handlePhoneCodeChange:function(){this.el.querySelector(".country-code-label").innerText=`+${this.model.get("phoneCode")}`},initialize:function(){qe.prototype.initialize.apply(this,arguments),"sms"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&this.listenTo(this.model,"change:phoneCode",this.handlePhoneCodeChange.bind(this))}});var SFe=Jn.extend({Body:CFe,createModelClass:function(){const e=Wn.prototype.createModelClass.apply(this,arguments);if("sms"!==this.options.appState.get("currentAuthenticator").contextualData.selectedChannel)return e;const n=Object.assign({country:{value:this.settings.get("defaultCountryCode"),type:"string"}},e.prototype.local),t=Object.assign({phoneCode:{deps:["country"],fn:function(i){return ha_getCallingCodeForCountry(i)}}},e.prototype.derived);return e.extend({local:n,derived:t,toJSON:function(){const i=_r.prototype.toJSON.call(this,arguments);let o=`+${this.get("phoneCode")}${i.phoneNumber}`;return i.phoneNumber=o,i}})},postRender:function(){this.add(Jz,"form")}});
1const xFe=Ee.extend({className:"okta-form-infobox-warning infobox infobox-warning",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression("function"==typeof(o=null!=(o=s(t,"warning")||(null!=n?s(n,"warning"):n))?o:e.hooks.helperMissing)?o.call(n??(e.nullContext||{}),{name:"warning",hash:{},data:r,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):o)+"</p>"},useData:!0})}),Zz=$o.extend(Object.assign({noButtonBar:!0,title:function(){return this.isOV()?_("oie.okta_verify.push.title","login"):_("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},initialize:function(){$o.prototype.initialize.apply(this,arguments),(this.isOV()||this.isCustomApp())&&this.isAutoChallengeSupported()&&(this.hasSavingState=!1),this.listenTo(this.model,"error",this.stopPoll),this.addView()},addView:function(){this.add(cr({className:"button button-wide button-primary send-push link-button-disabled",title:this.isOV()?_("oie.okta_verify.push.sent","login"):_("oie.custom_app.push.sent","login"),click:e=>{e.preventDefault()}})),this.add(`<span class='accessibility-text' role='alert'>\n ${this.isOV()?_("oie.okta_verify.push.sent","login"):_("oie.custom_app.push.sent","login")}</span>`)},render:function(){$o.prototype.render.apply(this,arguments);const e=this.$el.find('[data-se="o-form-fieldset-autoChallenge"]');this.isAutoChallengeSupported()?(this.isOV()||this.isCustomApp())&&e.length&&this.$el.find(".o-form-fieldset-container").append(e):e.length&&e.hide()},postRender:function(){$o.prototype.postRender.apply(this,arguments);const e=this.isOV()?"okta-verify-push-challenge":" custom-app-push-challenge";this.$el.addClass(e),this.startPoll()},startPoll:function(){this.startPolling(),this.warningTimeout=setTimeout(()=>{const e=this.isOV()?_("oktaverify.warning","login"):_("oie.custom_app.push.warning","login",[this.options.appState.getAuthenticatorDisplayName()]);this.showWarning(e)},3e4)},stopPoll:function(){this.stopPolling(),this.clearWarning()},showWarning:function(e){this.clearWarning(),this.add(xFe,".o-form-error-container",{options:{warning:e}})},clearWarning:function(){this.$(".o-form-error-container div").hasClass("okta-form-infobox-warning")&&this.$(".okta-form-infobox-warning").remove(),clearTimeout(this.warningTimeout)},remove:function(){$o.prototype.remove.apply(this,arguments),this.stopPoll()},isOV:function(){return this.options.appState.get("authenticatorKey")===ze_OV},isCustomApp:function(){return"custom_app"===this.options.appState.get("authenticatorKey")},isAutoChallengeSupported:function(){return null!==this.options.appState.getSchemaByName("autoChallenge")&&void 0!==this.options.appState.getSchemaByName("autoChallenge")}},C0)),EFe=Jn.extend({Body:Zz}),kFe=fv.extend({getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value.contextualData.challenge.value},showMessages:function(e){if(e instanceof Ee)fv.prototype.showMessages.call(this,e);else{if(this.options.appState.containsMessageWithI18nKey([TP,kP,sz])){const t=k0(this.options.appState.get("messages"),!0);m.isEmpty(t)||(e=Pr(t))}fv.prototype.showMessages.call(this,e)}},showCustomFormErrorCallout:function(e){const n=k0(e,!1);return!m.isEmpty(n)&&(this.showMessages(Pr(n)),!0)}}),TFe=Ee.extend({initialize:function(){this.listenTo(this.options.appState,"showNumberChallengeWarning",()=>{this.startWarningTimeout()}),this.listenTo(this.options.appState,"hideNumberChallengeWarning",()=>{this.clearWarning()})},className:"resend-number-challenge-warning hide",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="okta-form-infobox-warning infobox infobox-warning"><span class="icon warning-16"></span><p>'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{$1:"<a href='#' class='resend-number-challenge'>$1</a>",bundle:"login",code:"oie.numberchallenge.warning"},data:r,loc:{start:{line:1,column:103},end:{line:1,column:217}}}))+"</p></div>"},useData:!0}
1),showWarning:function(){this.$el.removeClass("hide")},clearWarning:function(){this.$el.addClass("hide"),clearTimeout(this.warningTimeout),this.startWarningTimeout()},startWarningTimeout:function(){this.warningTimeout=setTimeout(m.bind(function(){this.showWarning()},this),3e4)}}),AFe=Ee.extend({className:"number-challenge-section",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return"<p>"+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"correctAnswer",bundle:"login",code:"oie.numberchallenge.instruction"},data:r,loc:{start:{line:1,column:3},end:{line:1,column:127}}}))+'</p><div class="phone no-translate"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+l("function"==typeof(o=null!=(o=c(t,"correctAnswer")||(null!=n?c(n,"correctAnswer"):n))?o:a)?o.call(s,{name:"correctAnswer",hash:{},data:r,loc:{start:{line:1,column:270},end:{line:1,column:287}}}):o)+'</span></div><div class="phone--home-button"></div></div></div>'},useData:!0}),getTemplateData:function(){var e,n;return{correctAnswer:null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e||null===(n=e.contextualData)||void 0===n?void 0:n.correctAnswer}}}),MFe=$o.extend(Object.assign({noButtonBar:!0,className:"okta-verify-number-challenge",events:{"click a.resend-number-challenge":"handleResendNumberChallenge"},handleResendNumberChallenge:function(){this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.options.appState.trigger("hideNumberChallengeWarning")},title:function(){return _("oie.okta_verify.push.sent","login")},initialize:function(){$o.prototype.initialize.apply(this,arguments),this.add(AFe)},triggerAfterError:function(){$o.prototype.triggerAfterError.apply(this,arguments),this.stopPolling(),this.$el.find(".o-form-fieldset-container").empty()},postRender:function(){$o.prototype.postRender.apply(this,arguments),this.startPoll()},startPoll:function(){this.startPolling(),this.addWarning()},stopPoll:function(){this.stopPolling()},addWarning:function(){this.add(TFe,".o-form-error-container"),this.options.appState.trigger("showNumberChallengeWarning")},remove:function(){$o.prototype.remove.apply(this,arguments),this.stopPolling()}},C0));var DFe=Jn.extend({initialize:function(){var e,n,t;Jn.prototype.initialize.apply(this,arguments);const i=null===(e=this.options)||void 0===e||null===(n=e.appState)||void 0===n?void 0:n.get("currentAuthenticator"),r=i?.methods[0];this.Body="push"===r?.type&&null!=i&&null!==(t=i.contextualData)&&void 0!==t&&t.correctAnswer?MFe:"push"===r?.type?Zz:kFe}});const IFe=qe.extend(Object.assign({className:"okta-verify-totp-challenge",title:function(){return _("oie.okta_verify.totp.title","login")},save:function(){return _("mfa.challenge.verify","login")},showCustomFormErrorCallout:function(e){var n;const t=null==e||null===(n=e.responseJSON)||void 0===n?void 0:n.errorSummaryKeys;let i;if(t&&t.includes("oie.authenticator.oktaverify.method.totp.verify.enable.biometrics"))return i={type:"error",className:"okta-verify-uv-callout-content",title:_("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),subtitle:_("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),bullets:[_("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),_("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),_("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")]},this.showMessages(Pr(i)),!0}}));var PFe=Jn.extend({Body:IFe});const LFe=qe.extend(Object.assign({className:"okta-verify-resend-push",title:function(){return _("oie.okta_verify.push.title","login")},save:function(){return _("oie.okta_verify.push.resend","login")},showMessages:function(){let e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.force.upgrade.number_challenge")?e.title=_("oie.numberchallenge.force.upgrade.title","login"):this.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.verify.enable.biometrics")&&(e.content=null,e.className="okta-verify-uv-callout-content",e.title=_("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),e.subtitle=_("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),e.type="error",e.bullets=[_("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),_("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),_("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")],e=Pr(e)),qe.prototype.showMessages.call(this,e)}}));var FFe=Jn.extend({Body:LFe});const $Fe=qe.extend(Object.assign({className:function(){return this.isOV()?"okta-verify-send-push-form":"custom-app-send-push-form"},save:function(){return this.options.appState.get("authenticatorKey")===ze_OV?_("oie.okta_verify.sendPushButton","login"):_("oie.custom_app.sendPushButton","login")},title:function(){return this.isOV()?_("oie.okta_verify.push.title","login"):_("oie.custom_app.push.title","login")},render:function(){qe.prototype.render.apply(this,arguments);
1const e=this.$el.find('[data-se="o-form-fieldset-authenticator.autoChallenge"]');e.length&&this.$el.find(".o-form-button-bar").after(e)},getUISchema:function(){return qe.prototype.getUISchema.apply(this,arguments).filter(n=>"authenticator.methodType"!==n.name)},isOV:function(){return this.options.appState.get("authenticatorKey")===ze_OV}})),VFe=Gz.extend({getUISchema:function(){const n=qe.prototype.getUISchema.apply(this,arguments).find(i=>"authenticator.methodType"===i.name);this._sortMethodOptionsIfDeviceKnown(n.options);const t=n.options.map(i=>Object.assign({},i,U7({authenticatorKey:this.isOV()?ze_OV:"custom_app",value:{methodType:i.value}})));return[{View:lz,options:{name:n.name,collection:new yu(t)}}]},_sortMethodOptionsIfDeviceKnown:function(e){var n,t,i,r;if(null===(n=this.options)||void 0===n||null===(t=n.currentViewState)||void 0===t||null===(i=t.relatesTo)||void 0===i||null===(r=i.value)||void 0===r?void 0:r.deviceKnown){const s=e.findIndex(a=>"signed_nonce"===a.value);if(s>0){const a=e[s];e.splice(s,1),e.unshift(a)}}},isOV:function(){return this.options.appState.get("authenticatorKey")===ze_OV}});var eG=Jn.extend({initialize:function(){Jn.prototype.initialize.apply(this,arguments),this.isPushOnlyWithAutoChallengeFlow()?this.Body=$Fe:(this.Body=VFe,this.Footer=pa)},isPushOnlyWithAutoChallengeFlow:function(){const e=this.options.appState.getSchemaByName("authenticator.methodType"),n=this.options.appState.getSchemaByName("authenticator.autoChallenge"),t=e?.options;return n&&1===t.length&&"push"===t[0].value}});const BFe=qe.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return _("deviceTrust.sso.redirectText","login")},initialize:function(){var e,n;qe.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",()=>{this.$(".spinner").hide()}),this.add('<div class="credential-sso-extension"><div class="spinner"></div></div>');const t="get"===(null===(e=this.options.currentViewState)||void 0===e||null===(n=e.method)||void 0===n?void 0:n.toLowerCase());this.model.set("useRedirect",t),this.trigger("save",this.model)},showMessages:function(e){if(e instanceof Ee)qe.prototype.showMessages.call(this,e);else{if(this.options.appState.containsMessageWithI18nKey([TP,kP])){const t=k0(this.options.appState.get("messages"),!0);m.isEmpty(t)||(e=Pr(t))}qe.prototype.showMessages.call(this,e)}},showCustomFormErrorCallout:function(e){const n=k0(e,!1);return!m.isEmpty(n)&&(this.showMessages(Pr(n)),!0)}});var UFe=Jn.extend({Body:BFe}),HFe=Ee.extend({className:"oie-enroll-google-authenticator-barcode",template:se.template({1:function(e,n,t,i,r){var o,s=n??(e.nullContext||{}),a=e.hooks.helperMissing,l=e.escapeExpression,c=e.lookupProperty||function(u,d){if(Object.prototype.hasOwnProperty.call(u,d))return u[d]};return'<div class="google-authenticator-setup-info-title barcode-setup-title">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.title"},data:r,loc:{start:{line:1,column:83},end:{line:1,column:163}}}))+'</div><div class="qrcode-info-container"><p class="google-authenticator-setup-info">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.description"},data:r,loc:{start:{line:1,column:247},end:{line:1,column:333}}}))+'</p><div class="qrcode-container"><img class="qrcode" src='+l("function"==typeof(o=null!=(o=c(t,"href")||(null!=n?c(n,"href"):n))?o:a)?o.call(s,{name:"href",hash:{},data:r,loc:{start:{line:1,column:391},end:{line:1,column:399}}}):o)+' alt="qr code"></img><a href="#" class="cannot-scan-link">'+l((c(t,"i18n")||n&&c(n,"i18n")||a).call(s,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.cannotScan"},data:r,loc:{start:{line:1,column:457},end:{line:1,column:542}}}))+"</a></div></div>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o,s=e.lookupProperty||function(a,l){if(Object.prototype.hasOwnProperty.call(a,l))return a[l]};return null!=(o=s(t,"if").call(n??(e.nullContext||{}),null!=n?s(n,"href"):n,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0}
1,end:{line:1,column:565}}}))?o:""},useData:!0}),getTemplateData:function(){var e;return{href:null===(e=this.options.appState.get("currentAuthenticator").contextualData.qrcode)||void 0===e?void 0:e.href}},events:{"click .cannot-scan-link":function(e){e.preventDefault(),this.options.model.set("viewToDisplay","manual")}}}),jFe=Ee.extend({className:"oie-enroll-google-authenticator-manual-setup",template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=n??(e.nullContext||{}),s=e.hooks.helperMissing,a=e.escapeExpression,l=e.lookupProperty||function(c,u){if(Object.prototype.hasOwnProperty.call(c,u))return c[u]};return'<div class="google-authenticator-setup-info-title manual-setup-title">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.cannotScanBarcode.title"},data:r,loc:{start:{line:1,column:70},end:{line:1,column:156}}}))+'</div><p class="google-authenticator-setup-info">'+a((l(t,"i18n")||n&&l(n,"i18n")||s).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.manualSetupInstructions"},data:r,loc:{start:{line:1,column:205},end:{line:1,column:291}}}))+"</p>"},useData:!0})});const zFe="viewToDisplay",GFe=qe.extend({title:function(){return _("oie.enroll.google_authenticator.setup.title","login")},noButtonBar:!0,className:"oie-enroll-google-authenticator",enterCodeSubtitle:Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){var o=e.lookupProperty||function(s,a){if(Object.prototype.hasOwnProperty.call(s,a))return s[a]};return'<div class="google-authenticator-setup-info-title enter-code-title">'+e.escapeExpression((o(t,"i18n")||n&&o(n,"i18n")||e.hooks.helperMissing).call(n??(e.nullContext||{}),{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.enterCode.title"},data:r,loc:{start:{line:1,column:68},end:{line:1,column:146}}}))+"</div>"},useData:!0})}),getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments),n=uz({className:"google-authenticator-next",title:_("oform.next","login"),click:()=>{this.model.set(zFe,"enterCode")}}),t=uz({className:"google-authenticator-verify",title:_("oform.verify","login"),click:()=>{this.$el.submit()}});return e[0].showWhen={viewToDisplay:"enterCode"},e.unshift({View:this.enterCodeSubtitle,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:"enterCode"}}),e.push({View:HFe,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:"barcode"}},{View:jFe,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:"manual"}},{label:!1,className:"shared-secret no-translate",type:"text",placeholder:this.options.appState.get("currentAuthenticator").contextualData.sharedSecret,disabled:!0,showWhen:{viewToDisplay:"manual"}},{View:n,showWhen:{viewToDisplay:i=>"barcode"===i||"manual"===i}},{View:t,showWhen:{viewToDisplay:i=>"enterCode"===i}}),e}});var tG=Jn.extend({Body:GFe,createModelClass:function(){const e=Wn.prototype.createModelClass.apply(this,arguments),n=Object.assign({viewToDisplay:{value:"barcode",type:"string",required:!0,values:["barcode","manual","enterCode"]}},e.prototype.local);return e.extend({local:n})}});const qFe=qe.extend(Object.assign({className:"google-authenticator-challenge",title:function(){return _("oie.verify.google_authenticator.otp.title","login")},subtitle:function(){return _("oie.verify.google_authenticator.otp.description","login")},save:function(){return _("mfa.challenge.verify","login")}}));var WFe=Jn.extend({Body:qFe});const YFe=qe.extend({className:"on-prem-authenticator-enroll",modelEvents:{error:"_checkTokenChange"},title:function(){const e=this.options.appState.getAuthenticatorDisplayName()||_("oie.on_prem.authenticator.default.vendorName","login");return _("oie.on_prem.enroll.title","login",[e])},_checkTokenChange:function(e,n){var t;const i=null==n||null===(t=n.responseJSON)||void 0===t?void 0:t.errorSummaryKeys;i&&i.includes("errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return _("mfa.challenge.verify","login")}});var nG=Jn.extend({Body:YFe});const JFe=qe.extend({className:"on-prem-authenticator-verify",modelEvents:{error:"_checkTokenChange"},title:function(){const e=this.options.appState.getAuthenticatorDisplayName()||_("oie.on_prem.authenticator.default.vend
1orName","login");return _("oie.on_prem.verify.title","login",[e])},_checkTokenChange:function(e,n){var t;const i=null==n||null===(t=n.responseJSON)||void 0===t?void 0:t.errorSummaryKeys;i&&i.includes("errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return _("mfa.challenge.verify","login")}});var iG=Jn.extend({Body:JFe}),rG=qe.extend({noButtonBar:!0,postRender:function(){const e=this.getContextualData(),n=this.add(`<iframe frameborder="0" title="'${this.title()}'"></iframe>`).last();try{zI.init({host:e.host,sig_request:e.signedToken,iframe:n.el,post_action:t=>{this.model.set("credentials.signatureData",t),this.saveForm(this.model)}})}catch{n.remove(),this.add(Pr({type:"error",subtitle:_("oie.duo.iFrameError","login")}),".o-form-error-container")}},getContextualData:function(){}});const XFe=rG.extend({title:function(){return _("oie.duo.enroll.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticator").contextualData}});var ZFe=Jn.extend({Body:XFe});const e3e=rG.extend({title:function(){return _("oie.duo.verify.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticatorEnrollment").contextualData}});var t3e=Jn.extend({Body:e3e});const n3e=RP.extend({title:function(){const e=this.options.appState.getAuthenticatorDisplayName();return _("oie.idp.challenge.title","login",[e])},subtitle:function(){const e=this.options.appState.getAuthenticatorDisplayName();return _("oie.idp.challenge.description","login",[e])},save:function(){return _("mfa.challenge.verify","login")}});var i3e=NP.extend({Body:n3e});const r3e=RP.extend({title:function(){const e=this.options.appState.getAuthenticatorDisplayName();return _("oie.idp.enroll.title","login",[e])},subtitle:function(){const e=this.options.appState.getAuthenticatorDisplayName();return _("oie.idp.enroll.description","login",[e])},save:function(){return _("mfa.enroll","login")}});var o3e=NP.extend({Body:r3e});const s3e=qe.extend(Object.assign({className:"mfa-verify-custom-otp",title:function(){const e=this.options.appState.getAuthenticatorDisplayName()||_("oie.custom_otp.authenticator.default.vendorName","login");return _("oie.verify.custom_otp.title","login",[e])},subtitle:function(){return _("oie.verify.custom_otp.description","login")},save:function(){return _("mfa.challenge.verify","login")}}));var a3e=Jn.extend({Body:s3e});const l3e=qe.extend({title:function(){const e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?_("oie.symantecVip.challenge.title","login",[e]):_("oie.symantecVip.enroll.title","login",[e])},subtitle:function(){const e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?_("oie.symantecVip.challenge.description","login",[e]):_("oie.symantecVip.enroll.description","login",[e])},save:function(){return this.options.appState.isAuthenticatorChallenge()?_("mfa.challenge.verify","login"):_("mfa.enroll","login")}});var oG=Jn.extend({Body:l3e});const c3e=qe.extend({title:function(){return _("device.code.activate.title","login")},subtitle:function(){return _("device.code.activate.subtitle","login")},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){const n=e.target.value;n&&4===n.length&&!["Backspace","Delete","-"].includes(e.key)&&(e.target.value=n.concat("-"))}});var u3e=Wn.extend({Body:c3e}),d3e=dv.extend({HeaderBeacon:Sz.extend({getBeaconClassName:function(){return"smartcard"}})});const h3e=qe.extend({className:"piv-cac-card",modelEvents:{request:"startAuthentication",error:"stopAuthentication"},initialize:function(){qe.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0),this.addInstructions()},title:function(){return _("piv.cac.title","login")},save:function(){return _("retry","login")},addInstructions:function(){this.add(`<div class='piv-verify-text'>\n <p>${_("piv.cac.card.insert","login")}</p>\n <div data-se='piv-waiting' class='okta-waiting-spinner'></div>\n </div>`)},startAuthentication:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},stopAuthentication:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}});var f3e=Jn.extend({Header:d3e,Body:h3e,postRender:function(){Jn.prototype.postRender.apply(this,arguments);const e=this.options.appState.get("messages")||{};Array.isArray(e.value)?this.form.stopAuthentication():(this.form.startAuthentication(),this.form.trigger("save",this.model))}});const p3e=Ee.extend({template:se.template({compiler:[8,">= 4.3.0"],main:function(e,n,t,i,r){return'<div aria-hidden="true" class="yubikey-demo"></div>'},useData:!0}
1)}),m3e=qe.extend({title:function(){return this.options.appState.isAuthenticatorChallenge()?_("oie.yubikey.challenge.title","login"):_("oie.yubikey.enroll.title","login")},subtitle:function(){return _("oie.yubikey.description","login")},save:function(){return _("mfa.challenge.verify","login")},getUISchema:function(){const e=qe.prototype.getUISchema.apply(this,arguments);return e.unshift({View:p3e,selector:".o-form-fieldset-container"}),e}});var sG=Jn.extend({Body:m3e});const y3e=qe.extend(Object.assign({className:"custom-app-verify-resend-push",title:function(){return _("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},save:function(){return _("oie.custom_app.push.resend","login")},showMessages:function(){let e={};this.options.appState.containsMessageWithI18nKey("oie.authenticator.custom_app.method.push.verify.enable.biometrics")&&(e.content=null,e.className="okta-verify-uv-callout-content",e.title=_("oie.authenticator.custom_app.method.push.verify.enable.biometrics.title","login",[this.options.appState.getAuthenticatorDisplayName()]),e.subtitle=_("oie.authenticator.custom_app.method.push.verify.enable.biometrics.description","login"),e.type="error",e.bullets=[_("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point1","login"),_("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point2","login",[this.options.appState.getAuthenticatorDisplayName()]),_("oie.authenticator.custom_app.method.push.verify.enable.biometrics.point3","login",[this.options.appState.getAuthenticatorDisplayName()])],e=Pr(e)),qe.prototype.showMessages.call(this,e)}}));var v3e=Jn.extend({Body:y3e});const _3e=qe.extend({title:function(){return _("password.expired.title.generic","login")},subtitle:function(){return _("password.expired.custom.subtitle","login")},noSubmitButton:!0,initialize:function(){const{customExpiredPasswordName:e,customExpiredPasswordURL:n}=this.options.currentViewState;this.add(cr({className:"button button-primary button-wide",title:m.partial(_,"password.expired.custom.submit","login",[e]),click:()=>{wt.redirect(n)}}))}});var b3e=Wn.extend({Body:_3e});const w3e=qe.extend({className:"password-authenticator",subtitle:function(){return this.settings.get("brandName")?_("password.expiring.soon.subtitle.specific","login",[this.settings.get("brandName")]):_("password.expiring.soon.subtitle.generic","login")},title:function(){var e;const t=(null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:e.settings).daysToExpiry;return t>0?_("password.expiring.title","login",[t]):_(0===t?"password.expiring.today":"password.expiring.soon","login")},noSubmitButton:!0,initialize:function(){const{customExpiredPasswordName:e,customExpiredPasswordURL:n}=this.options.currentViewState;this.add(cr({className:"button button-primary button-wide",title:m.partial(_,"password.expired.custom.submit","login",[e]),click:()=>{wt.redirect(n)}}))}}),C3e=pa.extend({links:function(){const e=[];return this.options.appState.hasRemediationObject("skip")&&e.push({type:"link",label:_("password.expiring.later","login"),name:"skip",actionPath:"skip"}),e}});var S3e=Wn.extend({Body:w3e,Footer:C3e});const x3e=qe.extend(Object.assign({className:"tac-authenticator-challenge",title:function(){return _("oie.verify.tac.title","login")},subtitle:function(){return _("oie.verify.tac.description","login")},save:function(){return _("mfa.challenge.verify","login")}}));var E3e=Jn.extend({Body:x3e});const k3e=qe.extend({noSubmitButton:!0,title:function(){return _("oie.kmsi.title","login")},subtitle:function(){return _("oie.kmsi.subtitle","login")},saveForm:function(e){this.model.set("keepMeSignedIn",e),this.options.appState.trigger("saveForm",this.model)},getUISchema:function(){const e=this;return[{View:cr({className:"button button-secondary",title:_("oie.kmsi.accept","login"),attributes:{"data-se":"stay-signed-in-btn"},click:function(){e.saveForm(!0)}})},{View:cr({className:"button button-secondary",title:_("oie.kmsi.reject","login"),attributes:{"data-se":"do-not-stay-signed-in-btn"},click:function(){e.saveForm(!1)}})}]}});var T3e=Wn.extend({Body:k3e});const A3e=qe.extend({title:()=>_("account.unlock.title","login")});var M3e=Wn.extend({initialize:function(){Wn.prototype.initialize.apply(this,arguments),this.Body=A3e}});const D3e=qe.extend({title:function(){return _("idx.device_assurance.grace_peri
1od.title","login")},save:function(){return _("idx.device_assurance.grace_period.continue_to_app","login")},showMessages:function(){const e=this.options.appState.get("messages").value,n=this.settings.get("languageTags");e&&this.add(Pr({content:new Tz({messages:e,languageTags:n}),type:"warning"}))}});var O3e=Wn.extend({initialize:function(){Wn.prototype.initialize.apply(this,arguments),this.Body=D3e}});const rr="_",I3e={[xe.IDENTIFY]:{[rr]:IP},[xe.IDENTIFY_RECOVERY]:{[rr]:P2e},[xe.DEVICE_CHALLENGE_POLL]:{[rr]:BNe},[xe.LAUNCH_AUTHENTICATOR]:{[rr]:zNe},[xe.DEVICE_APPLE_SSO_EXTENSION]:{[rr]:Uz,[ze_OV]:UFe},[xe.CANCEL_TRANSACTION]:{[rr]:Uz},[xe.ENROLL_PROFILE]:{[rr]:rLe},[xe.ENROLL_PROFILE_UPDATE]:{[rr]:aLe},[xe.POLL]:{[rr]:xNe},[xe.REQUEST_ACTIVATION]:{[rr]:cLe},[xe.SELECT_AUTHENTICATOR_ENROLL]:{[rr]:dLe},[xe.AUTHENTICATOR_ENROLLMENT_DATA]:{[ze_PHONE]:ILe,[ze_EMAIL]:Qz},[xe.CONSENT_ADMIN]:{[rr]:$z},[xe.CONSENT_ENDUSER]:{[rr]:ANe},[xe.CONSENT_GRANULAR]:{[rr]:PNe},[xe.CONSENT_EMAIL_CHALLENGE]:{[rr]:LNe},[xe.ENROLL_AUTHENTICATOR]:{duo:ZFe,[ze_EMAIL]:oFe,google_otp:tG,[ze_IDP]:o3e,onprem_mfa:nG,[ze_PASSWORD]:Md,[ze_PHONE]:DLe,[ze_RSA]:nG,security_question:LLe,symantec_vip:oG,webauthn:HLe,yubikey_token:sG},[xe.CHALLENGE_AUTHENTICATOR]:{custom_otp:a3e,duo:t3e,[ze_EMAIL]:aFe,google_otp:WFe,[ze_IDP]:i3e,onprem_mfa:iG,[ze_OV]:PFe,[ze_PASSWORD]:_Le,[ze_PHONE]:qP,[ze_RSA]:iG,security_question:$Le,symantec_vip:oG,tac:E3e,webauthn:QLe,yubikey_token:sG},[xe.ENROLL_POLL]:{[ze_OV]:vFe},[xe.SELECT_ENROLLMENT_CHANNEL]:{[ze_OV]:wFe},[xe.ENROLLMENT_CHANNEL_DATA]:{[ze_OV]:SFe},[xe.REENROLL_AUTHENTICATOR]:{[ze_PASSWORD]:wLe},[xe.REENROLL_CUSTOM_PASSWORD_EXPIRY]:{[ze_PASSWORD]:b3e},[xe.REENROLL_CUSTOM_PASSWORD_EXPIRY_WARNING]:{[ze_PASSWORD]:S3e},[xe.REENROLL_AUTHENTICATOR_WARNING]:{[ze_PASSWORD]:xLe},[xe.RESET_AUTHENTICATOR]:{[ze_PASSWORD]:kLe,google_otp:tG},[xe.SELECT_AUTHENTICATOR_AUTHENTICATE]:{[rr]:fLe},[xe.SELECT_AUTHENTICATOR_UNLOCK]:{[rr]:mLe},[xe.UNLOCK_ACCOUNT]:{[rr]:M3e},[xe.CHALLENGE_POLL]:{[ze_OV]:DFe,custom_app:EFe},[xe.RESEND]:{[ze_OV]:FFe,custom_app:v3e},[xe.AUTHENTICATOR_VERIFICATION_DATA]:{[ze_PHONE]:RLe,[ze_OV]:eG,[ze_EMAIL]:Qz,custom_app:eG},[xe.FAILURE_REDIRECT]:{[rr]:Fz},[xe.SUCCESS_REDIRECT]:{[rr]:Fz},[xe.REDIRECT_IDP]:{[rr]:T2e},[xe.REDIRECT_IDVERIFY]:{[rr]:O2e},[xe.PIV_IDP]:{[rr]:f3e},[xe.DEVICE_ENROLLMENT_TERMINAL]:{[rr]:tLe},[xe.USER_CODE]:{[rr]:u3e},[xe.KEEP_ME_SIGNED_IN]:{[rr]:T3e},[xe.TERMINAL]:{[rr]:_Ne},[xe.DEVICE_ASSURANCE_GRACE_PERIOD]:{[rr]:O3e}};const aG=e=>{let n={};return Object.keys(e).forEach(t=>{if("object"!=typeof e[t])return void(n[t]=e[t]);const i=aG(e[t]);
1Object.keys(i).forEach(r=>{n[t+"."+r]=i[r]})}),n},N3e={[xe.CONSENT_GRANULAR]:e=>e.optedScopes&&"string"!=typeof e.optedScopes?{...e,optedScopes:aG(e.optedScopes)}:e};var F3e=RI.extend({className:"form-controller",appStateEvents:{"change:currentFormName":"handleFormNameChange",afterError:"handleAfterError",invokeAction:"handleInvokeAction",saveForm:"handleSaveForm",switchForm:"handleSwitchForm"},preRender:function(){this.removeChildren()},postRender:function(){const e=this.options.appState.getCurrentViewState();if(!e)return;this.clearMetadata();let n=e.name;"identify"===n&&"resetPassword"===this.options.settings.get("flow")&&(n="identify-recovery");const t=function(e,n=rr){const t=I3e[e];return t?t[n]||t._||(zn_warn(`Cannot find customized View for ${e} + ${n}.`),Wn):(zn_warn(`Cannot find customized View for ${e}.`),Wn)}(n,this.options.appState.get("authenticatorKey"));try{this.formView=this.add(t,{options:{currentViewState:e}}).last()}catch(i){return void this.options.settings.callGlobalError(i)}this.triggerAfterRenderEvent()},clearMetadata:function(){const e=this.options.appState.get("currentFormName");vPe.includes(e)&&ds_removeStateHandle()},triggerAfterRenderEvent:function(){const e=this.createAfterEventContext();this.trigger("afterRender",e)},handleFormNameChange:function(){this.$el.click(),this.render()},handleAfterError:function(e){const n=this.createAfterEventContext();this.trigger("afterError",n,{xhr:e,errorSummary:e.responseJSON&&e.responseJSON.errorSummary})},createAfterEventContext:function(){const e=this.options.appState.get("currentFormName"),n=this.options.appState.get("authenticatorKey"),t=this.options.appState.get("authenticatorMethodType"),i=this.options.appState.get("isPasswordRecoveryFlow"),o={controller:mz(e,n,t,i),formName:e};return n&&(o.authenticatorKey=n),t&&(o.methodType=t),o},handleSwitchForm:function(e){this.options.appState.get("messages")&&this.options.appState.unset("messages"),this.options.appState.set("currentFormName",e)},handleInvokeAction:function(){var e=V(function*(n="",t={},i=!0){const{appState:r,settings:o}=this.options;if(n===A7&&o.get("oauth2Enabled"))return void r.trigger("restartLoginFlow","resetPassword");const s=r.get("idx"),{stateHandle:a}=s.context;let c,l={exchangeCodeForTokens:!1,stateHandle:a};if("cancel"===n&&(o.getAuthClient().transactionManager.clear({clearIdxResponse:!1}),ds_removeStateHandle(),r.clearAppStateCache(),o.get("oauth2Enabled")))r.trigger("restartLoginFlow");else{if([xe.LAUNCH_AUTHENTICATOR,xe.CHALLENGE_WEBAUTHN_AUTOFILLUI_AUTHENTICATOR,xe.LAUNCH_PASSKEYS_AUTHENTICATOR].includes(n)&&t)l={...l,actions:[{name:n,params:t}]};else if(s.neededToProceed.find(d=>d.name===n))l={...l,step:n};else{if(!m.isFunction(s.actions[n]))return c=new ls(`Invalid action selected: ${n}`),this.options.settings.callGlobalError(c),void(i&&(yield this.showFormErrors(this.formView.model,c,this.formView.form)));l={...l,actions:[{name:n,params:t}]}}yield this.invokeAction(l)}});return function(){return e.apply(this,arguments)}}(),invokeAction:function(){var e=V(function*(n){const t=this.options.settings.getAuthClient();let i,r;try{i=yield t.idx.proceed(n),!1===i.requestDidSucceed&&(r=i)}catch(u){r=u}if(r){var o,s,a,l,c;const u=r.rawIdxState||r,d=O0_buildErrorObject(u),f=null===(o=n.actions)||void 0===o||null===(s=o[0])||void 0===s||null===(a=s.name)||void 0===a?void 0:a.endsWith("-poll");return uv_isIonErrorResponse(u)||O0_isRateLimitError(d)||!f||"function"!=typeof(null===(l=this.formView)||void 0===l||null===(c=l.form)||void 0===c?void 0:c.startPolling)?void(yield this.showFormErrors(this.formView.model,r,this.formView.form)):void this.formView.form.startPolling()}yield this.handleIdxResponse(i)});return function(t){return e.apply(this,arguments)}}(),handleSaveForm:function(){var e=V(function*(n){const t=n.get("formName");if(this.toggleFormButtonState(!0),n.trigger("request"),n.get("useRedirect")){ds_removeStateHandle();const u=this.options.appState.getCurrentViewState();return void wt.executeOnVisiblePage(()=>{wt.redirectWithFormGet(u.href)})}const i=((e,n)=>{const t=n.toJSON(),i=N3e[e];return typeof i>"u"?t:i(t)})(t,n),r=i.identifier,o=this.transformIdentifier(t,i);if(this.options.settings.get("features.rememberMe")?r&&fa_setUsernameCookie(r):fa_removeUsernameCookie(),!this.options.appState.hasRemediationObject(t))return this.options.settings.callGlobalError(`Cannot find http action for "${t}
1".`),void(yield this.showFormErrors(this.formView.model,"Cannot find action to proceed.",this.formView.form));"identify"===t&&"resetPassword"===this.options.settings.get("flow")&&(o.authenticator="okta_password");const s=this.options.settings.getAuthClient(),a={exchangeCodeForTokens:!1};try{const u=this.options.appState.get("idx"),{stateHandle:d}=u.context,f=yield s.idx.proceed({...a,step:t,stateHandle:d,...o});if(f.status===cu.FAILURE)throw f.error;if(uv_isIdxSessionExpiredError(f))return this.settings.getAuthClient().transactionManager.clear(),void(yield this.handleIdxResponse(f));if(!1===f.requestDidSucceed&&!f.stepUp)return void(yield this.showFormErrors(n,f,this.formView.form));const y=this.handleIdxResponse.bind(this,f);var l;t===xe.ENROLL_PROFILE?this.settings.postRegistrationSubmit(null==o||null===(l=o.userProfile)||void 0===l?void 0:l.email,y,b=>{n.trigger("error",n,{responseJSON:b})}):yield y()}catch(u){var c;null!==(c=u.is)&&void 0!==c&&c.call(u,"terminal")?this.options.appState.setNonIdxError(u):yield this.showFormErrors(n,u,this.formView.form)}finally{this.toggleFormButtonState(!1)}});return function(t){return e.apply(this,arguments)}}(),transformIdentifier:function(e,n){return Object.prototype.hasOwnProperty.call(n,"identifier")&&(n.identifier=this.settings.transformUsername(n.identifier,pPe[e])),n},showFormErrors:function(){var e=V(function*(n,t,i){var r;let o,s=!0;n.trigger("clearFormError"),t||this.options.settings.callGlobalError(t="FormController - unknown error found"),null!==(r=t)&&void 0!==r&&r.rawIdxState&&(o=t,t=t.rawIdxState);const a=O0_buildErrorObject(t,c=>{wt.logConsoleError(c)});var l;m.isFunction(i?.showCustomFormErrorCallout)&&(s=!i.showCustomFormErrorCallout(a,null===(l=o)||void 0===l?void 0:l.messages)),n.trigger("error",n,a,s),o=Object.assign({},o,{hasFormError:!0})});return function(t,i,r){return e.apply(this,arguments)}}(),handleIdxResponse:function(){var e=V(function*(n){yield _0(this.options.appState,n)});return function(t){return e.apply(this,arguments)}}(),toggleFormButtonState:function(e){this.$el.find(".o-form-button-bar .button").toggleClass("link-button-disabled",e)}});const $3e={"":"defaultAuth","*wildcard":"defaultAuth"};class V3e extends J7{constructor(n){super({routes:$3e,...n})}defaultAuth(){this.render(F3e)}}function B3e(e){let n;const t=!e.stateToken&&!e.clientId&&!e.proxyIdxResponse,i=e.stateToken&&wt.isV1StateToken(e.stateToken);return n=t||i||e.clientId&&!0===e.useClassicEngine?uPe:V3e,n}function QP(e={},n={}){const t=Qt.extend(!0,{},e.authParams,m.pick(n,nv.AUTH_PARAMS)),{el:i,clientId:r,redirectUri:o}=Object.assign({},e,n),s=Object.assign({},{el:i,clientId:r,redirectUri:o,authParams:t});if(!s.el)throw new ls('"el" is required');if(!s.clientId)throw new ls('"clientId" is required');if(!s.redirectUri)throw new ls('"redirectUri" is required');return s}class j3e extends _r{mergeHook(n,t){const i=this.get("hooks")||{};(function kPe(e,n,t){const i=e[n]=e[n]||{before:[],after:[]};t.before&&(i.before=(i.before||[]).concat(t.before)),t.after&&(i.after=(i.after||[]).concat(t.after))})(i,n,t),this.set("hooks",i)}getHook(n){return(this.get("hooks")||{})[n]}}const z3e=["ready","afterError","afterRender"];class lG extends(function G3e(e,n){return class{constructor(i){var r,o,s;if(this.Router=void 0,this.options=void 0,this.hooks=void 0,this.router=void 0,this.authClient=void 0,this._eventCallbackMap=void 0,wt.debugMessage("\n The Okta Sign-In Widget is running in development mode.\n When you are ready to publish your app, embed the minified version to turn on production mode.\n See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn\n "),i.stateToken||(i.stateToken=null===(r=window)||void 0===r||null===(o=r.oktaData)||void 0===o||null===(s=o.signIn)||void 0===s?void 0:s.stateToken),this.options=i,this.authClient=function U3e(e,n={}){let{authClient:t,authParams:i}=n;if(!t){const{issuer:r,clientId:o,redirectUri:s,state:a,scopes:l,flow:c,codeChallenge:u,codeChallengeMethod:d,recoveryToken:f}=n;i={issuer:r,clientId:o,redirectUri:s,state:a,scopes:l,flow:c,codeChallenge:u,codeChallengeMethod:d,transformErrorXHR:wt.transformErrorXHR,recoveryToken:f,pollDelay:500,...i},i.issuer||(i.issuer=n.baseUrl+"/oauth2/default"),t=new e(i)}if(!t._oktaUserAgent)throw new ls("The passed in authClient should be version 5.4.0 or above.");return t._oktaUserAgent.addEnvironment(`okta-signin-widget-${gc.version}`),t}(e,i),!0!==i.useClassicEngine&&this.authClient.options.clientId&&!1===this.authClient.isPKCE())throw new ls("OAuth2 with interaction code flow requires PKCE to be enabled on the authClient.");this.hooks=new j3e({hooks:i.hooks}),this.Router=n(i),this._eventCallbackMap=new WeakMap,this.Router.prototype.Events.listenTo.call(this,this.Router.prototype,"all",this.trigger),this.once("afterRender",function(a){this.trigger("ready",a)})}renderEl(i,r,o){if(this.router)throw new Error("An instance of the widget has already been rendered. Call remove() first.");const s=function H3e(e,n,t,i,r,o,s){let a,l;const c=new Promise((f,y)=>{a=f,l=y}),u=Qt.extend(!0,{},n,t,{authClient:i,hooks:s,globalSuccessFn:f=>{r&&r(f),f&&f.status===Re.SUCCESS&&a(f)},globalErrorFn:f=>{o&&o(f),l(f)}}),d=new e(u);return d.start(),{router:d,routerOptions:u,promise:c}}(this.Router,this.options,i,this.authClient,r,o,this.hooks);return this.router=s.router,s.promise}hide(){this.router&&this.router.hide()}show(){this.router&&this.router.show()}remove(){this.router&&(this.router.remove(),this.router=void 0)}showSignInToGetTokens(i){const r=Object.assign(QP(this.options,i),{redirect:"never"}),o=this.renderEl(r).then(a=>a.tokens),s=this.router.settings.getAuthClient();if(s.isAuthorizationCodeFlow()&&!s.isPKCE())throw new ls('"showSignInToGetTokens()" should not be used for authorization_code flow. Use "showSignInAndRedirect()" instead');return o}showSignInAndRedirect(i){const r=Object.assign(QP(this.options,i),{redirect:"always"});return this.renderEl(r).then(()=>{})}showSignIn(i){const r=Object.assign(QP(this.options,i));return this.renderEl(r)}before(i,r){this.hooks.mergeHook(i,{before:[r]})}after(i,r){this.hooks.mergeHook(i,{after:[r]})}getUser(){var i,r;return null===(i=this.router)||void 0===i||null===(r=i.appState)||void 0===r?void 0:r.getUser()}
1on(i,r){if(z3e.includes(i)){const o=r;r=function(...s){try{o.apply(this,s)}catch(a){zn_error(`[okta-signin-widget] "${i}" event handler error:`,a)}},this._eventCallbackMap.set(o,r)}this.Router.prototype.Events.on.call(this,i,r)}off(i,r){r&&(r=this._eventCallbackMap.get(r)||r),this.Router.prototype.Events.off.call(this,i,r)}once(i,r){this.Router.prototype.Events.once.call(this,i,r)}stopListening(i,r){this.Router.prototype.Events.stopListening.call(this,i,r)}listenTo(i,r,o){this.Router.prototype.Events.listenTo.call(this,i,r,o)}trigger(i,...r){this.Router.prototype.Events.trigger.apply(this,[i,...r])}}}(LCe,B3e)){constructor(n){super(n)}}const nl=class{constructor(n,t){this.document=n,this.platformId=t,this.documentIsAccessible=ed(this.platformId)}static getCookieRegExp(n){const t=n.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(n){try{return decodeURIComponent(n)}catch{return n}}check(n){return!!this.documentIsAccessible&&(n=encodeURIComponent(n),nl.getCookieRegExp(n).test(this.document.cookie))}get(n){if(this.documentIsAccessible&&this.check(n)){n=encodeURIComponent(n);const i=nl.getCookieRegExp(n).exec(this.document.cookie);return i[1]?nl.safeDecodeURIComponent(i[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const n={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(i=>{const[r,o]=i.split("=");n[nl.safeDecodeURIComponent(r.replace(/^ /,""))]=nl.safeDecodeURIComponent(o)}),n}set(n,t,i,r,o,s,a,l){if(!this.documentIsAccessible)return;if("number"==typeof i||i instanceof Date||r||o||s||a)return void this.set(n,t,{expires:i,path:r,domain:o,secure:s,sameSite:a||"Lax",partitioned:l});let c=encodeURIComponent(n)+"="+encodeURIComponent(t)+";";const u=i||{};u.expires&&(c+="number"==typeof u.expires?"expires="+new Date((new Date).getTime()+1e3*u.expires*60*60*24).toUTCString()+";":"expires="+u.expires.toUTCString()+";"),u.path&&(c+="path="+u.path+";"),u.domain&&(c+="domain="+u.domain+";"),!1===u.secure&&"None"===u.sameSite&&(u.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${n} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),u.secure&&(c+="secure;"),u.sameSite||(u.sameSite="Lax"),c+="sameSite="+u.sameSite+";",u.partitioned&&(c+="Partitioned;"),this.document.cookie=c}delete(n,t,i,r,o="Lax"){if(!this.documentIsAccessible)return;const s=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(n,"",{expires:s,path:t,domain:i,secure:r,sameSite:o})}deleteAll(n,t,i,r="Lax"){if(!this.documentIsAccessible)return;const o=this.getAll();for(const s in o)o.hasOwnProperty(s)&&this.delete(s,n,t,i,r)}};let Dl=nl;function pt(e){return null!=e&&"false"!=`${e}`}function Gr(e,n=0){return function q3e(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function P0(e){return Array.isArray(e)?e:[e]}function Eo(e){return null==e?"":"string"==typeof e?e:`${e}px`}function bu(e){return e instanceof Fe?e.nativeElement:e}nl.\u0275fac=function(t){return new(t||nl)(J(jt),J(Us))},nl.\u0275prov=Le({token:nl,factory:nl.\u0275fac,providedIn:"root"});const W3e=["addListener","removeListener"],K3e=["addEventListener","removeEventListener"],Y3e=["on","off"];function ma(e,n,t,i){if(zt(t)&&(i=t,t=void 0),i)return ma(e,n,t).pipe(cT(i));const[r,o]=function X3e(e){return zt(e.addEventListener)&&zt(e.removeEventListener)}(e)?K3e.map(s=>a=>e[s](n,a,t)):function Q3e(e){return zt(e.addListener)&&zt(e.removeListener)}(e)?W3e.map(uG(e,n)):function J3e(e){return zt(e.on)&&zt(e.off)}(e)?Y3e.map(uG(e,n)):[];if(!r&&Qm(e))return Qr(s=>ma(s,n,t))(Mo(e));if(!r)throw new TypeError("Invalid event target");return new wi(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function uG(e,n){return t=>i=>e[t](n,i)}const yv={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=yv;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Jt(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=yv;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=yv;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class e$e extends HM{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class Z3e extends UM{constructor(n,t){super(n,t),this.scheduler
1=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=yv.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(yv.cancelAnimationFrame(t),n._scheduled=void 0)}});let JP,n$e=1;const R0={};function dG(e){return e in R0&&(delete R0[e],!0)}const i$e={setImmediate(e){const n=n$e++;return R0[n]=!0,JP||(JP=Promise.resolve()),JP.then(()=>dG(n)&&e()),n},clearImmediate(e){dG(e)}},{setImmediate:r$e,clearImmediate:o$e}=i$e,N0={setImmediate(...e){const{delegate:n}=N0;return(n?.setImmediate||r$e)(...e)},clearImmediate(e){const{delegate:n}=N0;return(n?.clearImmediate||o$e)(e)},delegate:void 0},XP=new class a$e extends HM{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class s$e extends UM{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=N0.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(N0.clearImmediate(t),n._scheduled=void 0)}});function ZP(e,n=Oy){return function l$e(e){return Xi((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(yi(t,c=>{i=!0,r=c,o||Mo(e(c)).subscribe(o=yi(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>Iy(e,n))}function qt(e){return Xi((n,t)=>{Mo(e).subscribe(yi(t,()=>t.complete(),C)),!t.closed&&n.subscribe(t)})}let eR;try{eR=typeof Intl<"u"&&Intl.v8BreakIterator}catch{eR=!1}let um,$i=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?ed(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!eR)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(J(Us))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),tR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();const hG=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function fG(){if(um)return um;if("object"!=typeof document||!document)return um=new Set(hG),um;let e=document.createElement("input");return um=new Set(hG.filter(n=>(e.setAttribute("type",n),e.type===n))),um}let vv,Kh,nR;function Wh(e){return function c$e(){if(null==vv&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>vv=!0}))}finally{vv=vv||!1}return vv}()?e:!!e.capture}function pG(){if(null==Kh){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Kh=!1,Kh;if("scrollBehavior"in document.documentElement.style)Kh=!0;else{const e=Element.prototype.scrollTo;Kh=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Kh}function mG(e){if(function u$e(){if(null==nR){const e=typeof document<"u"?document.head:null;nR=!(!e||!e.createShadowRoot&&!e.attachShadow)}return nR}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function dm(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function Dd(e){return e.composedPath?e.composedPath()[0]:e.target}function iR(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Moc
1ha}const d$e=new Pe("cdk-dir-doc",{providedIn:"root",factory:function h$e(){return vr(jt)}}),f$e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let or=(()=>{class e{constructor(t){if(this.value="ltr",this.change=new et,t){const r=t.documentElement?t.documentElement.dir:null;this.value=function p$e(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?f$e.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(J(d$e,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Yh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})(),hm=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new nt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new wi(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(ZP(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Bt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(ni(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=bu(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ma(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(J(Lt),J($i),J(jt,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ol=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new nt,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(ZP(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(J($i),J(Lt),J(jt,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),wu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})(),rR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[Yh,wu],Yh,wu]}),e})();class oR{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Od extends oR{constructor(n,t,i,r){super(),this.component=n,this.viewContainerRef
1=t,this.injector=i,this.componentFactoryResolver=r}}class Za extends oR{constructor(n,t,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class y$e extends oR{constructor(n){super(),this.element=n instanceof Fe?n.nativeElement:n}}class $0{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Od?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Za?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof y$e?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class gG extends $0{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||lr.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context);return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Il=(()=>{class e extends $0{constructor(t,i,r){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new et,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(o,i.length,t.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return e.\u0275fac=function(t){return new(t||e)(g(jc),g(Ui),g(jt))},e.\u0275dir=K({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[de]}),e})(),Qh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();function so(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const yG=pG();
1class A$e{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Eo(-this._previousScrollPosition.left),n.style.top=Eo(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),yG&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),yG&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class M$e{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class vG{enable(){}disable(){}attach(){}}function uR(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function _G(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class D$e{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();uR(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let O$e=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new vG,this.close=s=>new M$e(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new A$e(this._viewportRuler,this._document),this.reposition=s=>new D$e(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(t){return new(t||e)(J(hm),J(Ol),J(Lt),J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Zh{constructor(n){if(this.scrollStrategy=new vG,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class I$e{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let bG=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),P$e=(()=>{class e extends bG{constructor(t,i){super(t),this._ngZone=i,this._key
1downListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(J(jt),J(Lt,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),R$e=(()=>{class e extends bG{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Dd(o)},this._clickListener=o=>{const s=Dd(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(t){return new(t||e)(J(jt),J($i),J(Lt,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),bv=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||iR()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),iR()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return e.\u0275fac=function(t){return new(t||e)(J(jt),J($i))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class N$e{constructor(n,t,i,r,o,s,a,l,c){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new nt,this._attachments=new nt,this._detachments=new nt,this._locationChanges=Jt.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new nt,this._outsidePointerEvents=new nt,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(fi(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Eo(this._config.width),n.height=Eo(this._config.height),n.minWidth=Eo(this._config.minWidth),n.minHeight=Eo(this._config.minHeight),n.maxWidth=Eo(this._config.maxWidth),n.maxHeight=Eo(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;!n||(n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500)))}_toggleClasses(n,t,i){const r=P0(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(qt(Wi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const wG="cdk-overlay-connected-position-bounding-box",L$e=/([A-Za-z%]+)$/;class CG{constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new nt,this._resizeSubscription=Jt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}
vendor: 8,395 bytes, line 1
1attach(n){this._validatePositions(),n.hostElement.classList.add(wG),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ef(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wG),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=xG(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,y=a+o.height-i.height,b=this._subtractOverflows(o.width,0-s,s+o.width-i.width),S=this._subtractOverflows(o.height,f,y),D=b*S;return{visibleArea:D,isCompletelyWithinViewport:o.width*o.height===D,fitsInViewportVertically:S===o.height,fitsInViewportHorizontally:b==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=SG(this._overlayRef.getConfig().minHeight),a=SG(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportHorizontally||null!=a&&a<=o;return(n.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=xG(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,d=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new I$e(n,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,s,a,u,d,f;if("top"===t.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const y=Math.min(i.bottom-n.y+i.top,n.y),b=this._lastBoundingBoxSize.height;o=2*y,s=n.y-y,o>b&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-b/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)d=n.x,u=i.right-n.x;else{const y=Math.min(i.right-n.x+i.left,n.x),b=this._lastBoundingBoxSize.width;u=2*y,d=n.x-y,u>b&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-b/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Eo(i.height),r.top=Eo(i.top),r.bottom=Eo(i.bottom),r.width=Eo(i.width),r.left=Eo(i.left),r.right=Eo(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Eo(o)),s&&(r.maxWidth=Eo(s))}this._lastBoundingBoxSize=i,ef(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ef(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ef(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();ef(i,this._getExactOverlayY(t,n,u)),ef(i,this._getExactOverlayX(t,n,u))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Eo(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Eo(s.maxWidth):o&&(i.maxWidth="")),ef(this._pane.style,i)}
1_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Eo(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Eo(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:_G(n,i),isOriginOutsideView:uR(n,i),isOverlayClipped:_G(t,i),isOverlayOutsideView:uR(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&P0(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Fe)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function ef(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function SG(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(L$e);return t&&"px"!==t?null:parseFloat(n)}return e||null}function xG(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const EG="cdk-global-overlay-wrapper";class F$e{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(EG),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=l?"0":this._leftOffset,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,l?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center"
1:"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(EG),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let $$e=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new F$e}flexibleConnectedTo(t){return new CG(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(J(Ol),J(jt),J($i),J(bv))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),V$e=0,Jo=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u,d,f){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Zh(t);return s.direction=s.direction||this._directionality.value,new N$e(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+V$e++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(lh)),new gG(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(J(O$e),J(bv),J(jc),J($$e),J(P$e),J(lr),J(Lt),J(jt),J(or),J(ks),J(R$e))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();const B$e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],kG=new Pe("cdk-connected-overlay-scroll-strategy");let TG=(()=>{class e{constructor(t){this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(g(Fe))},e.\u0275dir=K({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),AG=(()=>{class e{constructor(t,i,r,o,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Jt.EMPTY,this._attachSubscription=Jt.EMPTY,this._detachSubscription=Jt.EMPTY,this._positionSubscription=Jt.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new et,this.positionChange=new et,this.attach=new et,this.detach=new et,this.overlayKeydown=new et,this.overlayOutsideClick=new et,this._templatePortal=new Za(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=pt(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=pt(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=pt(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=pt(t)}get push(){return this._push}set push(t){this._push=pt(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=B$e);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!so(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Zh({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin
1instanceof TG?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(j4(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g(Jo),g(Ii),g(Ui),g(kG),g(or,8))},e.\u0275dir=K({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ei]}),e})();const H$e={provide:kG,deps:[Jo],useFactory:function U$e(e){return()=>e.scrollStrategies.reposition()}};let tf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Jo,H$e],imports:[[Yh,Qh,rR],rR]}),e})();function H0(e,n=Oy){return Xi((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,u=n.now();if(u<c)return r=this.schedule(void 0,c-u),void i.add(r);a()}t.subscribe(yi(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function MG(e){return ni((n,t)=>e<=t)}function fm(e,n=$a){return e=e??j$e,Xi((t,i)=>{let r,o=!0;t.subscribe(yi(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function j$e(e,n){return e===n}let DG=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),OG=(()=>{class e{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){const i=bu(t);return new wi(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const i=new nt,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(t,{characterData:!0,childList:!0,subtree:!0}
1),this._observedElements.set(t,{observer:r,stream:i,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:i,stream:r}=this._observedElements.get(t);i&&i.disconnect(),r.complete(),this._observedElements.delete(t)}}}return e.\u0275fac=function(t){return new(t||e)(J(DG))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),wv=(()=>{class e{constructor(t,i,r){this._contentObserver=t,this._elementRef=i,this._ngZone=r,this.event=new et,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=pt(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Gr(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(H0(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g(OG),g(Fe),g(Lt))},e.\u0275dir=K({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),Cv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[DG]}),e})();class LG{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new nt,this._typeaheadSubscription=Jt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new nt,this.change=new nt,n instanceof ja&&n.changes.subscribe(t=>{if(this._activeItem){const r=t.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(no(t=>this._pressedLetters.push(t)),H0(n),ni(()=>this._pressedLetters.length>0),an(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}setActiveItem(n){const t=this._activeItem;this.updateActiveItem(n),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||so(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem=t[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof ja?this._items.toArray():this._items}}class FG extends LG{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class pm extends LG{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let q$e=(()=>{class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function K$e(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function W$e(e){try{return e.frameElement}catch{return null}}(function n8e(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(t));if(i&&(-1===VG(i)||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=VG(t);return t.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function e8e(e){let n=e.nodeName.toLowerCase(),t="input"===n&&e.type;return"text"===t||"password"===t||"select"===n||"textarea"===n}(t))&&("audio"===r?!!t.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIRE
1FOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function t8e(e){return!function Q$e(e){return function X$e(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function Y$e(e){let n=e.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(e)||function J$e(e){return function Z$e(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||$G(e))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}}return e.\u0275fac=function(t){return new(t||e)(J($i))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $G(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let n=e.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function VG(e){if(!$G(e))return null;const n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class i8e{constructor(n,t,i,r,o=!1){this._element=n,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(n),!!i}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){const t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=0;i<t.length;i++){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=t.length-1;i>=0;i--){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(fi(1)).subscribe(n)}}let fR=(()=>{class e{constructor(t,i,r){this._checker=t,this._ngZone=i,this._document=r}create(t,i=!1){return new i8e(t,this._checker,this._ngZone,this._document,i)}}return e.\u0275fac=function(t){return new(t||e)(J(q$e),J(Lt),J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pR(e){return 0===e.buttons||0===e.offsetX&&0===e.offsetY}function mR(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const o8e=new Pe("cdk-input-modality-detector-options"),s8e={ignoreKeys:[18,17,224,91,16]},mm=Wh({passive:!0,capture:!0});let a8e=(()=>{class e{constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new os(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Dd(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(pR(s)?"keyboard":"mouse"),this._mostRecentTarget=Dd(s))},this._onTouchstart=s=>{mR(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Dd(s))},this._options={...s8e,...o},this.modalityDetected=this._modality.pipe(MG(1)),this.modalityChanged=this.modalityDetected.pipe(fm()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,mm),r.addEventListener("mousedown",this._onMousedown,mm),r.addEventListener("touchstart",this._onTouchstart,mm)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,mm),document.removeEventListener("mousedown",this._onMousedown,mm),document.removeEventListener("touchstart",this._onTouchstart,mm))}}return e.\u0275fac=function(t){return new(t||e)(J($i),J(Lt),J(jt),J(o8e,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const l8e=new Pe("liveAnnouncerElement",{providedIn:"root",factory:function c8e(){return null}}),u8e=new Pe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let G0=(()=>{class e{constructor(t,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=t||this._createLiveElement()}announce(t,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(t),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),r}}return e.\u0275fac=function(t){return new(t||e)(J(l8e,8),J(Lt),J(jt),J(u8e,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();
1const h8e=new Pe("cdk-focus-monitor-default-options"),q0=Wh({passive:!0,capture:!0});let Vo=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new nt,this._rootNodeFocusAndBlurListener=a=>{const l=Dd(a),c="focus"===a.type?this._onFocus:this._onBlur;for(let u=l;u;u=u.parentElement)c.call(this,a,u)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(t,i=!1){const r=bu(t);if(!this._platform.isBrowser||1!==r.nodeType)return Bt(null);const o=mG(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new nt,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=bu(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=bu(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=Dd(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(t,i){this._ngZone.run(()=>t.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,q0),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,q0)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(qt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,q0),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,q0),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}}return e.\u0275fac=function(t){return new(t||e)(J(Lt),J($i),J(a8e),J(jt,8),J(h8e,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gR=(()=>{class e{constructor(t,i){this._elementRef=t,this._focusMonitor=i,this.cdkFocusChange=new et}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>this.cdkFocusChange.emit(i))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Vo))},e.\u0275dir=K({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const UG="cdk-high-contrast-black-on-white",HG="cdk-high-contrast-white-on-black",yR="cdk-high-contrast-active";let jG=(()=>{class e{constructor(t,i){this._platform=t,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
1_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(yR),t.remove(UG),t.remove(HG),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(t.add(yR),t.add(UG)):2===i&&(t.add(yR),t.add(HG))}}}return e.\u0275fac=function(t){return new(t||e)(J($i),J(jt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vR=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return e.\u0275fac=function(t){return new(t||e)(J(jG))},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[Cv]]}),e})();const zG=new zc("13.3.9");function m8e(e,n){if(1&e&&Ze(0,"mat-pseudo-checkbox",4),2&e){const t=ae();j("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function g8e(e,n){if(1&e&&(T(0,"span",5),q(1),M()),2&e){const t=ae();N(1),Ti("(",t.group.label,")")}}const y8e=["*"],GG=new zc("12.2.13"),w8e=new Pe("mat-sanity-checks",{providedIn:"root",factory:function b8e(){return!0}});let rn=(()=>{class e{constructor(t,i,r){this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=i,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(!function doe(){return O8=!0,D8}()||iR())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const i=getComputedStyle(t);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&GG.full!==zG.full&&console.warn("The Angular Material version ("+GG.full+") does not match the Angular CDK version ("+zG.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275fac=function(t){return new(t||e)(J(jG),J(w8e,8),J(jt))},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Yh,Yh]}),e})();function Na(e){return class extends e{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=pt(n)}}}function el(e,n){return class extends e{constructor(...t){super(...t),this.defaultColor=n,this.color=n}get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function ga(e){return class extends e{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=pt(n)}}}function nf(e,n=0){return class extends e{constructor(...t){super(...t),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Gr(t):this.defaultTabIndex}}}function W0(e){return class extends e{constructor(...n){super(...n),this.stateChanges=new nt,this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}const C8e=new Pe("MAT_DATE_LOCALE",{providedIn:"root",factory:function S8e(){return vr(ic)}});class ao{constructor(){this._localeChanges=new nt,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,t){return this.getYear(n)-this.getYear(t)||this.getMonth(n)-this.getMonth(t)||this.getDate(n)-this.getDate(t)}sameDate(n,t){if(n&&t){let i=this.isValid(n),r=this.isValid(t);return i&&r?!this.compareDate(n,t):i==r}return n==t}clampDate(n,t,i){return t&&this.compareDate(n,t)<0?t:i&&this.compareDate(n,i)>0?i:n}}
1const wc=new Pe("mat-date-formats");let rf;try{rf=typeof Intl<"u"}catch{rf=!1}const x8e={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},E8e=K0(31,e=>String(e+1)),k8e={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},T8e=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function K0(e,n){const t=Array(e);for(let i=0;i<e;i++)t[i]=n(i);return t}let A8e=(()=>{class e extends ao{constructor(t,i){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!i.TRIDENT,this._clampDate=i.TRIDENT||i.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(rf){const i=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return K0(12,r=>this._stripDirectionalityCharacters(this._format(i,new Date(2017,r,1))))}return x8e[t]}getDateNames(){if(rf){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return K0(31,i=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,i+1))))}return E8e}getDayOfWeekNames(t){if(rf){const i=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return K0(7,r=>this._stripDirectionalityCharacters(this._format(i,new Date(2017,0,r+1))))}return k8e[t]}getYearName(t){if(rf){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(i,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,i,r){let o=this._createDateWithOverflow(t,i,r);return o.getMonth(),o}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,i){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(rf){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),i=Object.assign(Object.assign({},i),{timeZone:"utc"});const r=new Intl.DateTimeFormat(this.locale,i);return this._stripDirectionalityCharacters(this._format(r,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,i){return this.addCalendarMonths(t,12*i)}addCalendarMonths(t,i){let r=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+i,this.getDate(t));return this.getMonth(r)!=((this.getMonth(t)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(t,i){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+i)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(T8e.test(t)){let i=new Date(t);if(this.isValid(i))return i}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,i,r){const o=new Date;return o.setFullYear(t,i,r),o.setHours(0,0,0,0),o}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,i){const r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),t.format(r)}}return e.\u0275fac=function(t){return new(t||e)(J(C8e,8),J($i))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),D8e=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[{provide:ao,useClass:A8e}],imports:[tR]}),e})();const O8e={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Y0=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[{provide:wc,useValue:O8e}],imports:[D8e]}),e})(),Rl=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Id=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,rn]}),e})();class I8e{constructor(n,t,i){this._renderer=n,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const WG={enterDuration:225,exitDuration:150},wR=Wh({passive:!0}),KG=["mousedown","touchstart"],YG=["mouseup","mouseleave","touchend","touchcancel"];class CR{constructor(n,t,i,r){this._target=n,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=bu(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},WG),i.animation);
1i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function N8e(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),function R8e(e){window.getComputedStyle(e).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const d=new I8e(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const f=d===this._mostRecentTransientRipple;d.state=1,!i.persistent&&(!f||!this._isPointerDown)&&d.fadeOut()},c),d}fadeOutRipple(n){const t=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=n.element,r=Object.assign(Object.assign({},WG),n.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,i.parentNode.removeChild(i)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=bu(n);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(KG))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(YG),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const t=pR(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!mR(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,t))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(t=>{this._triggerElement.addEventListener(t,this,wR)})})}_removeTriggerEvents(){this._triggerElement&&(KG.forEach(n=>{this._triggerElement.removeEventListener(n,this,wR)}),this._pointerUpEventsRegistered&&YG.forEach(n=>{this._triggerElement.removeEventListener(n,this,wR)}))}}const Q0=new Pe("mat-ripple-global-options");let Gs=(()=>{class e{constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new CR(this,i,t,r)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Lt),g($i),g(Q0,8),g(fr,8))},e.\u0275dir=K({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,i){2&t&&ft("mat-ripple-unbounded",i.unbounded)}
1,inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),Su=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,tR,rn]}),e})(),QG=(()=>{class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,i){2&t&&ft("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),SR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn]}),e})();const J0=new Pe("MAT_OPTION_PARENT_COMPONENT"),L8e=Na(class{});let F8e=0,JG=(()=>{class e extends L8e{constructor(t){var i;super(),this._labelId="mat-optgroup-label-"+F8e++,this._inert=null!==(i=t?.inertGroups)&&void 0!==i&&i}}return e.\u0275fac=function(t){return new(t||e)(g(J0,8))},e.\u0275dir=K({type:e,inputs:{label:"label"},features:[de]}),e})();const X0=new Pe("MatOptgroup");let $8e=0;class XG{constructor(n,t=!1){this.source=n,this.isUserInput=t}}let V8e=(()=>{class e{constructor(t,i,r,o){this._element=t,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$8e++,this.onSelectionChange=new et,this._stateChanges=new nt}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=pt(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!so(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new XG(this,t))}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(void 0),g(JG))},e.\u0275dir=K({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),xv=(()=>{class e extends V8e{constructor(t,i,r,o){super(t,i,r,o)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(J0,8),g(X0,8))},e.\u0275cmp=We({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,i){1&t&&_e("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&t&&(rs("id",i.id),vt("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),ft("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[de],ngContentSelectors:y8e,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,i){1&t&&(Nn(),ye(0,m8e,1,2,"mat-pseudo-checkbox",0),T(1,"span",1),Mt(2),M(),ye(3,g8e,2,1,"span",2),Ze(4,"div",3)),2&t&&(j("ngIf",i.multiple),N(3),j("ngIf",i.group&&i.group._inert),N(1),j("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Gs,tr,QG],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function xR(e,n,t){if(t.length){let i=n.toArray(),r=t.toArray(),o=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}let Z0=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Su,wo,rn,SR]}),e})();function B8e(e,n){}class eS{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const U8e={dialogContainer:to("dialogContainer",[ii("void, exit",Ut({opacity:0,transform:"scale(0.7)"})),ii("enter",Ut({transform:"none"})),Ci("* => enter",Pi("150ms cubic-bezier(0, 0, 0.2, 1)",Ut({transform:"none",opacity:1}))),Ci("* => void, * => exit",Pi("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ut({opacity:0}
1)))])};let H8e=(()=>{class e extends $0{constructor(t,i,r,o,s,a){super(),this._elementRef=t,this._focusTrapFactory=i,this._changeDetectorRef=r,this._config=s,this._focusMonitor=a,this._animationStateChanged=new et,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=l=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(l)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=o}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const i=dm(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=dm())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=dm();return t===i||t.contains(i)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(fR),g(Zt),g(jt,8),g(eS),g(Vo))},e.\u0275dir=K({type:e,viewQuery:function(t,i){if(1&t&&Xt(Il,7),2&t){let r;Ve(r=Be())&&(i._portalOutlet=r.first)}},features:[de]}),e})(),j8e=(()=>{class e extends H8e{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:i}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:t,totalTime:i}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275cmp=We({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,i){1&t&&fp("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&t&&(rs("id",i._id),vt("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),gp("@dialogContainer",i._state))},features:[de],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){1&t&&ye(0,B8e,0,0,"ng-template",0)},dependencies:[Il],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[U8e.dialogContainer]}}),e})(),z8e=0;class gm{constructor(n,t,i="mat-dialog-"+z8e++){this._overlayRef=n,this._containerInstance=t,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new nt,this._afterClosed=new nt,this._beforeClosed=new nt,this._state=0,t._id=i,t._animationStateChanged.pipe(ni(r=>"opened"===r.state),fi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ni(r=>"closed"===r.state),fi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}
1),n.keydownEvents().pipe(ni(r=>27===r.keyCode&&!this.disableClose&&!so(r))).subscribe(r=>{r.preventDefault(),ER(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ER(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ni(t=>"closing"===t.state),fi(1)).subscribe(t=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let t=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",t=""){return this._overlayRef.updateSize({width:n,height:t}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ER(e,n,t){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=n),e.close(t)}const eq=new Pe("MatDialogData"),G8e=new Pe("mat-dialog-default-options"),tq=new Pe("mat-dialog-scroll-strategy"),W8e={provide:tq,deps:[Jo],useFactory:function q8e(e){return()=>e.scrollStrategies.block()}};let K8e=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u){this._overlay=t,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new nt,this._afterOpenedAtThisLevel=new nt,this._ariaHiddenElements=new Map,this.afterAllClosed=ty(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pr(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,i){i=function Y8e(e,n){return Object.assign(Object.assign({},n),e)}(i,this._defaultOptions||new eS),i.id&&this.getDialogById(i.id);const r=this._createOverlay(i),o=this._attachDialogContainer(r,i),s=this._attachDialogContent(t,o,r,i);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),o._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const i=this._getOverlayConfig(t);return this._overlay.create(i)}_getOverlayConfig(t){const i=new Zh({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachDialogContainer(t,i){const o=lr.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:eS,useValue:i}]}
1),s=new Od(this._dialogContainerType,i.viewContainerRef,o,i.componentFactoryResolver);return t.attach(s).instance}_attachDialogContent(t,i,r,o){const s=new this._dialogRefConstructor(r,i,o.id);if(t instanceof Ii)i.attachTemplatePortal(new Za(t,null,{$implicit:o.data,dialogRef:s}));else{const a=this._createInjector(o,s,i),l=i.attachComponentPortal(new Od(t,o.viewContainerRef,a));s.componentInstance=l.instance}return s.updateSize(o.width,o.height).updatePosition(o.position),s}_createInjector(t,i,r){const o=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:i}];return t.direction&&(!o||!o.get(or,null,re.Optional))&&s.push({provide:or,useValue:{value:t.direction,change:Bt()}}),lr.create({parent:o||this._injector,providers:s})}_removeOpenDialog(t){const i=this.openDialogs.indexOf(t);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,o)=>{r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==t&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}}return e.\u0275fac=function(t){return new(t||e)(g(Jo),g(lr),g(void 0),g(void 0),g(bv),g(void 0),g(hg),g(hg),g(Pe))},e.\u0275dir=K({type:e}),e})(),ym=(()=>{class e extends K8e{constructor(t,i,r,o,s,a,l){super(t,i,o,a,l,s,gm,j8e,eq)}}return e.\u0275fac=function(t){return new(t||e)(J(Jo),J(lr),J(ks,8),J(G8e,8),J(tq),J(e,12),J(bv))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),kR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),tS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[ym,W8e],imports:[tf,Qh,rn,rn]}),e})();const iq=["mat-button",""],rq=["*"],X8e=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Z8e=el(Na(ga(class{constructor(e){this._elementRef=e}})));let xu=(()=>{class e extends Z8e{constructor(t,i,r){super(t),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of X8e)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,i){t?this._focusMonitor.focusVia(this._getHostElement(),t,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(i=>this._getHostElement().hasAttribute(i))}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Vo),g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,i){if(1&t&&Xt(Gs,5),2&t){let r;Ve(r=Be())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,i){2&t&&(vt("disabled",i.disabled||null),ft("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[de],attrs:iq,ngContentSelectors:rq,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,i){1&t&&(Nn(),T(0,"span",0),Mt(1),M(),Ze(2,"span",1)(3,"span",2)),2&t&&(N(2),ft("mat-button-ripple-round",i.isRoundButton||i.isIconButton),j("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[Gs],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e})(),Pd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Su,rn,rn]}),e})();const tVe={provide:qE,useFactory:function eVe(e,n){return()=>{if(ed(n)){const t=Array.from(e.querySelectorAll(`[class*=${sq}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(r=>{r.classList.contains(`${sq}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[jt,Us],multi:!0},sq="flex-layout-";let TR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[tVe]}),e})();class sf{constructor(n=!1,t="all",i="",r="",o=0){this.matches=n,this.mediaQuery=t,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new sf(this.matches,this.mediaQuery,this.mqAlias,this.suffix
1)}}let aq=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(t,i,r){const o=this.stylesheet.get(t);o?o.set(i,r):this.stylesheet.set(t,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,i){const r=this.stylesheet.get(t);let o="";if(r){const s=r.get(i);("number"==typeof s||"string"==typeof s)&&(o=s+"")}return o}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const AR={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},Nl=new Pe("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>AR}),af=new Pe("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),MR=new Pe("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function lq(e,n){return e=e?e.clone():new sf,n&&
1(e.mqAlias=n.alias,e.mediaQuery=n.mediaQuery,e.suffix=n.suffix,e.priority=n.priority),e}const DR="inline",cq=["row","column","row-reverse","column-reverse"];function rVe(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let qr=(()=>{class e{constructor(t,i,r,o){this.elementRef=t,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new nt,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(t[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,i){const r=this.styleBuilder,o=r.shouldCache;let s=this.styleCache.get(t);(!s||!o)&&(s=r.buildStyles(t,i),o&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),r.sideEffect(t,s,i)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,i=!1){if(t){const[r,o]=this.styler.getFlowDirection(t);if(!o&&i){const s=function nVe(e){let[n,t,i]=function iVe(e){e=e?e.toLowerCase():"";let[n,t,i]=e.split(" ");return cq.find(r=>r===n)||(n=cq[0]),t===DR&&(t=i!==DR?i:"",i=DR),[n,rVe(t),!!i]}(e);return function oVe(e,n=null,t=!1){return{display:t?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":n||null}}(n,t,i)}(r);this.styler.applyStyleToElements(s,[t])}return r.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,i,r=this.nativeElement){this.styler.applyStyleToElement(r,t,i)}setValue(t,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,i)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return e.\u0275fac=function(t){tb()},e.\u0275dir=K({type:e,features:[ei]}),e})();const sVe=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],uq="(orientation: portrait) and (max-width: 599.98px)",dq="(orientation: landscape) and (max-width: 959.98px)",hq="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",fq="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",pq="(orientation: portrait) and (min-width: 840px)",mq="(orientation: landscape) and (min-width: 1280px)",Eu={HANDSET:`${uq}, ${dq}`,TABLET:`${hq} , ${fq}`,WEB:`${pq}, ${mq} `,HANDSET_PORTRAIT:`${uq}`,TABLET_PORTRAIT:`${hq} `,WEB_PORTRAIT:`${pq}`,HANDSET_LANDSCAPE:`${dq}`,TABLET_LANDSCAPE:`${fq}`,WEB_LANDSCAPE:`${mq}`},aVe=[{alias:"handset",priority:2e3,mediaQuery:Eu.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Eu.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Eu.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Eu.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Eu.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Eu.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Eu.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Eu.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Eu.WEB_PORTRAIT,overlapping:!0}],cVe=/(\.|-|_)/g;function uVe(e){let n=e.length>0?e.charAt(0):"",t=e.length>1?e.slice(1):"";return n.toUpperCase()+t}function fVe(e,n=[]){const t={};return e.forEach(i=>
1{t[i.alias]=i}),n.forEach(i=>{t[i.alias]?function lVe(e,...n){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let t of n)if(null!=t)for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}(t[i.alias],i):t[i.alias]=i}),function hVe(e){return e.forEach(n=>{n.suffix||(n.suffix=function dVe(e){return e.replace(cVe,"|").split("|").map(uVe).join("")}(n.alias),n.overlapping=!!n.overlapping)}),e}(Object.keys(t).map(i=>t[i]))}const gq=new Pe("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=vr(MR),n=vr(Nl),t=[].concat.apply([],(e||[]).map(r=>Array.isArray(r)?r:[r]));return fVe((n.disableDefaultBps?[]:sVe).concat(n.addOrientationBps?aVe:[]),t)}});function Ev(e,n){return(n&&n.priority||0)-(e&&e.priority||0)}function pVe(e,n){return(e.priority||0)-(n.priority||0)}let kv=(()=>{class e{constructor(t){this.findByMap=new Map,this.items=[...t].sort(pVe)}findByAlias(t){return t?this.findWithPredicate(t,i=>i.alias==t):null}findByQuery(t){return this.findWithPredicate(t,i=>i.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,i){let r=this.findByMap.get(t);return r||(r=this.items.find(i)||null,this.findByMap.set(t,r)),r||null}}return e.\u0275fac=function(t){return new(t||e)(J(gq))},e.\u0275prov=Le({factory:function(){return new e(J(gq))},token:e,providedIn:"root"}),e})(),nS=(()=>{class e{constructor(t,i,r){this._zone=t,this._platformId=i,this._document=r,this.source=new os(new sf(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((i,r)=>{i.matches&&t.push(r)}),t}isActive(t){const i=this.registry.get(t);return i?i.matches:this.registerQuery(t).some(r=>r.matches)}observe(t,i=!1){if(t&&t.length){const r=this._observable$.pipe(ni(s=>!i||t.indexOf(s.mediaQuery)>-1));return Wi(new wi(s=>{const a=this.registerQuery(t);if(a.length){const l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()}),r)}return this._observable$}registerQuery(t){const i=Array.isArray(t)?t:[t],r=[];return function mVe(e,n){const t=e.filter(i=>!yq[i]);if(t.length>0){const i=t.join(", ");try{const r=n.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(n.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),n.head.appendChild(r),t.forEach(o=>yq[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const s=l=>{this._zone.run(()=>this.source.next(new sf(l.matches,o)))};let a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new sf(!0,o))}),r}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function gVe(e,n){return n&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,ed(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(J(Lt),J(Us),J(jt))},e.\u0275prov=Le({factory:function(){return new e(J(Lt),J(Us),J(jt))},token:e,providedIn:"root"}),e})();const yq={},vm="print",_Ve={alias:vm,mediaQuery:vm,priority:1e3};let vq=(()=>{class e{constructor(t,i,r){this.breakpoints=t,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new bVe,this.deactivations=[]}withPrintQuery(t){return[...t,vm]}isPrintEvent(t){return t.mediaQuery.startsWith(vm)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const i=this.breakpoints.findByQuery(t);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Ev)}updateEvent(t){let i=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(i=this.getEventBreakpoints(t)[0],t.mediaQuery=i?i.mediaQuery:""),lq(t,i)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new sf(!0,vm))),t.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(i)),t.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(t),t.updateStyles()):this.collectActivations(i)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,i){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const i=this.breakpoints.findByQuery(t.mediaQuery);i&&(this.deactivations.push(i),this.deactivations.sort(Ev))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEac
1h(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return e.\u0275fac=function(t){return new(t||e)(J(kv),J(Nl),J(jt))},e.\u0275prov=Le({factory:function(){return new e(J(kv),J(Nl),J(jt))},token:e,providedIn:"root"}),e})();class bVe{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(_Ve),n.sort(Ev),n.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(n){n&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)&&(this.printBreakpoints=function wVe(e){return!!e&&e.mediaQuery.startsWith(vm)}(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}}function _q(e){for(let n in e){let t=e[n]||"";switch(n){case"display":e.display="flex"===t?["-webkit-flex","flex"]:"inline-flex"===t?["-webkit-inline-flex","inline-flex"]:t;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+n]=t;break;case"flex-direction":t=t||"row",e["-webkit-flex-direction"]=t,e["flex-direction"]=t;break;case"order":e.order=e["-webkit-"+n]=isNaN(+t)?"0":t}}return e}let Rr=(()=>{class e{constructor(t,i,r,o){this._serverStylesheet=t,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(t,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:_q(i),this._applyMultiValueStyleToElement(o,t)}applyStyleToElements(t,i=[]){const r=this.layoutConfig.disableVendorPrefixes?t:_q(t);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(t){const i="flex-direction";let r=this.lookupStyle(t,i);return[r||"row",this.lookupInlineStyle(t,i)||Cp(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,i){return t.getAttribute(i)||""}lookupInlineStyle(t,i){return ed(this._platformId)?t.style.getPropertyValue(i):this._getServerStyle(t,i)}lookupStyle(t,i,r=!1){let o="";return t&&((o=this.lookupInlineStyle(t,i))||(ed(this._platformId)?r||(o=getComputedStyle(t).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(t,i)))),o?o.trim():""}_applyMultiValueStyleToElement(t,i){Object.keys(t).sort().forEach(r=>{const o=t[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",ed(this._platformId)||!this._serverModuleLoaded?ed(this._platformId)?i.style.setProperty(r,a):this._setServerStyle(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}_setServerStyle(t,i,r){i=i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const o=this._readStyleAttribute(t);o[i]=r||"",this._writeStyleAttribute(t,o)}_getServerStyle(t,i){return this._readStyleAttribute(t)[i]||""}_readStyleAttribute(t){const i={},r=t.getAttribute("style");if(r){const o=r.split(/;+/g);for(let s=0;s<o.length;s++){const a=o[s].trim();if(a.length>0){const l=a.indexOf(":");if(-1===l)throw new Error(`Invalid CSS style: ${a}`);i[a.substr(0,l).trim()]=a.substr(l+1).trim()}}}return i}_writeStyleAttribute(t,i){let r="";for(const o in i)i[o]&&(r+=o+":"+i[o]+";");t.setAttribute("style",r)}}return e.\u0275fac=function(t){return new(t||e)(J(aq),J(af),J(Us),J(Nl))},e.\u0275prov=Le({factory:function(){return new e(J(aq),J(af),J(Us),J(Nl))},token:e,providedIn:"root"}),e})();class po{constructor(){this.shouldCache=!0}sideEffect(n,t,i){}}function bq(e,n="1",t="1"){let i=[n,t,e],r=e.indexOf("calc");if(r>0){i[2]=wq(e.substring(r).trim());let o=e.substr(0,r).trim().split(" ");2==o.length&&(i[0]=o[0],i[1]=o[1])}else if(0==r)i[2]=wq(e.trim());else{let o=e.split(" ");i=3===o.length?o:[n,t,e]}return i}function wq(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Wr=(()=>{class e{constructor(t,i,r){this.matchMedia=t,this.breakpoints=i,this.hook=r,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=ne
1w nt,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const i=this.findByQuery(t.mediaQuery);i&&((t=lq(t,i)).matches&&-1===this.activatedBreakpoints.indexOf(i)?(this.activatedBreakpoints.push(i),this.activatedBreakpoints.sort(Ev),this.updateStyles()):!t.matches&&-1!==this.activatedBreakpoints.indexOf(i)&&(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(i),1),this.activatedBreakpoints.sort(Ev),this.updateStyles()))}init(t,i,r,o,s=[]){Cq(this.updateMap,t,i,r),Cq(this.clearMap,t,i,o),this.buildElementKeyMap(t,i),this.watchExtraTriggers(t,i,s)}getValue(t,i,r){const o=this.elementMap.get(t);if(o){const s=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(t,i){const r=this.elementMap.get(t);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(t,i,r,o){let s=this.elementMap.get(t);if(s){const l=(s.get(o)||new Map).set(i,r);s.set(o,l),this.elementMap.set(t,s)}else s=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(t,s);const a=this.getValue(t,i);void 0!==a&&this.updateElement(t,i,a)}trackValue(t,i){return this.subject.asObservable().pipe(ni(r=>r.element===t&&r.key===i))}updateStyles(){this.elementMap.forEach((t,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(t);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(t,s),o){const a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(t,i){const r=this.clearMap.get(t);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:t,key:i,value:""}))}}updateElement(t,i,r){const o=this.updateMap.get(t);if(o){const s=o.get(i);s&&(s(r),this.subject.next({element:t,key:i,value:r}))}}releaseElement(t){const i=this.watcherMap.get(t);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(t));const r=this.elementMap.get(t);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(t))}triggerUpdate(t,i){const r=this.elementMap.get(t);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(t,i,o.get(i)):o.forEach((s,a)=>this.updateElement(t,a,s)))}}buildElementKeyMap(t,i){let r=this.elementKeyMap.get(t);r||(r=new Set,this.elementKeyMap.set(t,r)),r.add(i)}watchExtraTriggers(t,i,r){if(r&&r.length){let o=this.watcherMap.get(t);if(o||(o=new Map,this.watcherMap.set(t,o)),!o.get(i)){const a=Wi(...r).subscribe(()=>{const l=this.getValue(t,i);this.updateElement(t,i,l)});o.set(i,a)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,i){for(let o=0;o<this.activatedBreakpoints.length;
1o++){const a=t.get(this.activatedBreakpoints[o].alias);if(a&&(void 0===i||a.has(i)&&null!=a.get(i)))return a}const r=t.get("");return void 0===i||r&&r.has(i)?r:void 0}observeActivations(){const i=this.breakpoints.items.map(r=>r.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(i)).pipe(no(this.hook.interceptEvents(this)),ni(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(J(nS),J(kv),J(vq))},e.\u0275prov=Le({factory:function(){return new e(J(nS),J(kv),J(vq))},token:e,providedIn:"root"}),e})();function Cq(e,n,t,i){if(void 0!==i){let r=e.get(n);r||(r=new Map,e.set(n,r)),r.set(t,i)}}const OR="inline",iS=["row","column","row-reverse","column-reverse"];function Sq(e){e=e?e.toLowerCase():"";let[n,t,i]=e.split(" ");return iS.find(r=>r===n)||(n=iS[0]),t===OR&&(t=i!==OR?i:"",i=OR),[n,SVe(t),!!i]}function Tv(e){let[n]=Sq(e);return n.indexOf("row")>-1}function SVe(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let EVe=(()=>{class e extends po{buildStyles(t){return function CVe(e){let[n,t,i]=Sq(e);return function xVe(e,n=null,t=!1){return{display:t?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":n||null}}(n,t,i)}(t)}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const kVe=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let TVe=(()=>{class e extends qr{constructor(t,i,r,o){super(t,r,i,o),this.DIRECTIVE_KEY="layout",this.styleCache=AVe,this.init()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Rr),g(EVe),g(Wr))},e.\u0275dir=K({type:e,features:[de]}),e})(),Bo=(()=>{class e extends TVe{constructor(){super(...arguments),this.inputs=kVe}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[de]}),e})();const AVe=new Map,xq={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let MVe=(()=>{class e extends po{constructor(t){super(),this._styler=t}buildStyles(t,i){return t.endsWith(rS)?function FVe(e,n){const[t,i]=e.split(" "),o=c=>`-${c}`;let s="0px",a=o(i||t),l="0px";return"rtl"===n?l=o(t):s=o(t),{margin:`0px ${s} ${a} ${l}`}}(t=t.slice(0,t.indexOf(rS)),i.directionality):{}}sideEffect(t,i,r){const o=r.items;if(t.endsWith(rS)){const s=function LVe(e,n){const[t,i]=e.split(" ");let o="0px",a="0px";return"rtl"===n?a=t:o=t,{padding:`0px ${o} ${i||t} ${a}`}}(t=t.slice(0,t.indexOf(rS)),r.directionality);this._styler.applyStyleToElements(s,r.items)}else{const s=o.pop(),a=function $Ve(e,n){const t=Eq(n.directionality,n.layout),i=Object.assign({},xq);return i[t]=e,i}(t,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(xq,[s])}}}return e.\u0275fac=function(t){return new(t||e)(J(Rr))},e.\u0275prov=Le({factory:function(){return new e(J(Rr))},token:e,providedIn:"root"}),e})();const DVe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let OVe=(()=>{class e extends qr{constructor(t,i,r,o,s,a){super(t,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=ne
1w nt;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(qt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const t=this.nativeElement.children,i=[];for(let r=t.length;r--;)i[r]=t[r];return i}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(t){const r=t.value.split(" ");this.layout=r[0],iS.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(t){const i=this.childrenNodes.filter(r=>1===r.nodeType&&this.willDisplay(r)).sort((r,o)=>{const s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){const r=this.directionality.value,o=this.layout;"row"===o&&"rtl"===r?this.styleCache=IVe:"row"===o&&"rtl"!==r?this.styleCache=RVe:"column"===o&&"rtl"===r?this.styleCache=PVe:"column"===o&&"rtl"!==r&&(this.styleCache=NVe),this.addStyles(t,{directionality:r,items:i,layout:o})}}clearStyles(){const t=Object.keys(this.mru).length>0,i=t?"padding":Eq(this.directionality.value,this.layout);t&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}
1willDisplay(t){const i=this.marshal.getValue(t,"show-hide");return!0===i||void 0===i&&"none"!==this.styleUtils.lookupStyle(t,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(t=>{t.some(r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Lt),g(or),g(Rr),g(MVe),g(Wr))},e.\u0275dir=K({type:e,features:[de]}),e})(),qs=(()=>{class e extends OVe{constructor(){super(...arguments),this.inputs=DVe}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[de]}),e})();const IVe=new Map,PVe=new Map,RVe=new Map,NVe=new Map,rS=" grid";function Eq(e,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left"}}function Rd(e,...n){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let t of n)if(null!=t)for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}let VVe=(()=>{class e extends po{constructor(t){super(),this.layoutConfig=t}buildStyles(t,i){let[r,o,...s]=t.split(" "),a=s.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=Tv(l)?"max-width":"max-height",u=Tv(l)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,f=d||"auto"===a,y=String(a).indexOf("%")>-1&&!d,b=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let S=d||b;r="0"==r?0:r,o="0"==o?0:o;const D=!r&&!o;let R={};const G={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const H=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":H?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!S&&!y&&!isNaN(a)&&(a+="%"),"0%"===a&&(S=!0),"0px"===a&&(a="0%"),R=Rd(G,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":S?a:"100%"}:{flex:`${r} ${o} ${S?a:"100%"}`})}return R.flex||R["flex-grow"]||(R=Rd(G,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(R[u]=D||S&&r?a:null,R[c]=D||!f&&o?a:null),R[u]||R[c]?i.hasWrap&&(R[d?"flex-basis":"flex"]=R[c]?d?R[c]:`${r} ${o} ${R[c]}`:d?R[u]:`${r} ${o} ${R[u]}`):R=Rd(G,d?{"flex-grow":r,"flex-shrink":o,"flex-basis":a}:{flex:`${r} ${o} ${a}`}),Rd(R,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(J(Nl))},e.\u0275prov=Le({factory:function(){return new e(J(Nl))},token:e,providedIn:"root"}),e})();const BVe=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let UVe=(()=>{class e extends qr{constructor(t,i,r,o,s){super(t,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(qt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(qt(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(t){const r=t.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(t){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=zVe:o&&!s?this.styleCache=HVe:!o&&s?this.styleCache=GVe:!o&&!s&&(this.styleCache=jVe);const l=bq(String(t).replace(";",""),this.flexGrow,this.flexShrink);
1this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const i=bq(t+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Rr),g(Nl),g(VVe),g(Wr))},e.\u0275dir=K({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[de]}),e})(),Xo=(()=>{class e extends UVe{constructor(){super(...arguments),this.inputs=BVe}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[de]}),e})();const HVe=new Map,jVe=new Map,zVe=new Map,GVe=new Map;let o4e=(()=>{class e extends po{buildStyles(t){const i={};switch(t=t||"stretch"){case"start":i["align-self"]="flex-start";break;case"end":i["align-self"]="flex-end";break;default:i["align-self"]=t}return i}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const s4e=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let a4e=(()=>{class e extends qr{constructor(t,i,r,o){super(t,r,i,o),this.DIRECTIVE_KEY="flex-align",this.styleCache=l4e,this.init()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Rr),g(o4e),g(Wr))},e.\u0275dir=K({type:e,features:[de]}),e})();const l4e=new Map;let kq=(()=>{class e extends a4e{constructor(){super(...arguments),this.inputs=s4e}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[de]}),e})(),f4e=(()=>{class e extends po{buildStyles(t,i){const r={},[o,s]=t.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return Rd(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===s?Tv(i.layout)?
1null:"100%":null,"max-height":"stretch"===s&&Tv(i.layout)?"100%":null})}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const p4e=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let m4e=(()=>{class e extends qr{constructor(t,i,r,o){super(t,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(qt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=b4e:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=C4e:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=w4e:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=S4e:"column-reverse"===i&&!r&&(this.styleCache=_4e):this.styleCache=y4e:this.styleCache=v4e:this.styleCache=g4e,this.addStyles(t,{layout:i,inline:r})}onLayoutChange(t){const i=t.value.split(" ");this.layout=i[0],this.inline=t.value.includes("inline"),iS.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Rr),g(f4e),g(Wr))},e.\u0275dir=K({type:e,features:[de]}),e})(),ps=(()=>{class e extends m4e{constructor(){super(...arguments),this.inputs=p4e}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[de]}),e})();const g4e=new Map,y4e=new Map,v4e=new Map,_4e=new Map,b4e=new Map,w4e=new Map,C4e=new Map,S4e=new Map;let Tq=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[TR,Yh]}),e})();function x4e(e,n){if(1&e&&(ws(),Ze(0,"circle",3)),2&e){const t=ae();jr("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),vt("r",t._getCircleRadius())}}function E4e(e,n){if(1&e&&(ws(),Ze(0,"circle",3)),2&e){const t=ae();jr("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),vt("r",t._getCircleRadius())}}function k4e(e,n){if(1&e&&(ws(),Ze(0,"circle",3)),2&e){const t=ae();jr("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),vt("r",t._getCircleRadius())}}function T4e(e,n){if(1&e&&(ws(),Ze(0,"circle",3)),2&e){const t=ae();jr("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),vt("r",t._getCircleRadius())}}const Aq=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03,
10.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",M4e=el(class{constructor(e){this._elementRef=e}},"primary"),Mq=new Pe("mat-progress-spinner-default-options",{providedIn:"root",factory:function D4e(){return{diameter:100}}});class ku extends M4e{constructor(n,t,i,r,o){super(n),this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const s=ku._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),s.has(i.head)||s.set(i.head,new Set([100])),this._fallbackAnimation=t.EDGE||t.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!o&&!o._forceAnimations,o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get diameter(){return this._diameter}set diameter(n){this._diameter=Gr(n),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(n){this._strokeWidth=Gr(n)}get value(){return"determinate"===this.mode?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,Gr(n)))}ngOnInit(){const n=this._elementRef.nativeElement;this._styleRoot=mG(n)||this._document.head,this._attachStyleNode(),n.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const n=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${n} ${n}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const n=this._styleRoot,t=this._diameter,i=ku._diameters;let r=i.get(n);if(!r||!r.has(t)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),n.appendChild(o),r||(r=new Set,i.set(n,r)),r.add(t)}}_getAnimationText(){const n=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*n).replace(/END_VALUE/g,""+.2*n).replace(/DIAMET
1ER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}ku.\u0275fac=function(n){return new(n||ku)(g(Fe),g($i),g(jt,8),g(fr,8),g(Mq))},ku.\u0275cmp=We({type:ku,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(n,t){2&n&&(vt("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),jr("width",t.diameter,"px")("height",t.diameter,"px"),ft("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[de],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(n,t){1&n&&(ws(),T(0,"svg",0),ye(1,x4e,1,9,"circle",1),ye(2,E4e,1,7,"circle",2),M()),2&n&&(jr("width",t.diameter,"px")("height",t.diameter,"px"),j("ngSwitch","indeterminate"===t.mode),vt("viewBox",t._getViewBox()),N(1),j("ngSwitchCase",!0),N(1),j("ngSwitchCase",!1))},dependencies:[sc,Zu],styles:[Aq],encapsulation:2,changeDetection:0}),ku._diameters=new WeakMap;let I4e=(()=>{class e extends ku{constructor(t,i,r,o,s){super(t,i,r,o,s),this.mode="indeterminate"}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g($i),g(jt,8),g(fr,8),g(Mq))},e.\u0275cmp=We({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,i){2&t&&(jr("width",i.diameter,"px")("height",i.diameter,"px"),ft("_mat-animation-noopable",i._noopAnimations))},inputs:{color:"color"},features:[de],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,i){1&t&&(ws(),T(0,"svg",0),ye(1,k4e,1,9,"circle",1),ye(2,T4e,1,7,"circle",2),M()),2&t&&(jr("width",i.diameter,"px")("height",i.diameter,"px"),j("ngSwitch","indeterminate"===i.mode),vt("viewBox",i._getViewBox()),N(1),j("ngSwitchCase",!0),N(1),j("ngSwitchCase",!1))},dependencies:[sc,Zu],styles:[Aq],encapsulation:2,changeDetection:0}),e})(),oS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,wo,rn]}),e})();function Dq(...e){const n=Rc(e),{args:t,keys:i}=L4(e),r=new wi(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;Mo(t[u]).subscribe(yi(o,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?F4(i,a):a),o.complete())}))}});return n?r.pipe(cT(n)):r}let Oq=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(g(Aa),g(Fe))},e.\u0275dir=K({type:e}),e})(),lf=(()=>{class e extends Oq{}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,features:[de]}),e})();const Zo=new Pe("NgValueAccessor"),R4e={provide:Zo,useExisting:Ln(()=>cf),multi:!0},L4e=new Pe("CompositionEventMode");let cf=(()=>{class e extends Oq{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function N4e(){const e=oc()?oc().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
1_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return e.\u0275fac=function(t){return new(t||e)(g(Aa),g(Fe),g(L4e,8))},e.\u0275dir=K({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,i){1&t&&_e("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[xt([R4e]),de]}),e})();function Nd(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Pq(e){return null!=e&&"number"==typeof e.length}const mo=new Pe("NgValidators"),Ld=new Pe("NgAsyncValidators"),$4e=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ar{static min(n){return function Rq(e){return n=>{if(Nd(n.value)||Nd(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function Nq(e){return n=>{if(Nd(n.value)||Nd(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function Lq(e){return Nd(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function Fq(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function $q(e){return Nd(e.value)||$4e.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function Vq(e){return n=>Nd(n.value)||!Pq(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static maxLength(n){return Bq(n)}static pattern(n){return function Uq(e){if(!e)return sS;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(Nd(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return Wq(n)}static composeAsync(n){return Kq(n)}}function Bq(e){return n=>Pq(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function sS(e){return null}function Hq(e){return null!=e}function jq(e){return Dg(e)?gr(e):e}function zq(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Gq(e,n){return n.map(t=>t(e))}function qq(e){return e.map(n=>function V4e(e){return!e.validate}(n)?n:t=>n.validate(t))}function Wq(e){if(!e)return null;const n=e.filter(Hq);return 0==n.length?null:function(t){return zq(Gq(t,n))}}function PR(e){return null!=e?Wq(qq(e)):null}function Kq(e){if(!e)return null;const n=e.filter(Hq);return 0==n.length?null:function(t){return Dq(Gq(t,n).map(jq)).pipe(an(zq))}}function RR(e){return null!=e?Kq(qq(e)):null}function Yq(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Qq(e){return e._rawValidators}function Jq(e){return e._rawAsyncValidators}function NR(e){return e?Array.isArray(e)?e:[e]:[]}function aS(e,n){return Array.isArray(e)?e.includes(n):e===n}function Xq(e,n){const t=NR(n);return NR(e).forEach(r=>{aS(t,r)||t.push(r)}),t}function Zq(e,n){return NR(n).filter(t=>!aS(e,t))}class eW{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=PR(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=RR(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ms extends eW{get formDirective(){return null}get path(){return null}}class tl extends eW{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tW{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}
1get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let _m=(()=>{class e extends tW{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(g(tl,2))},e.\u0275dir=K({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&ft("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[de]}),e})(),nW=(()=>{class e extends tW{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(g(Ms,10))},e.\u0275dir=K({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&ft("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[de]}),e})();const Av="VALID",cS="INVALID",bm="PENDING",Mv="DISABLED";function VR(e){return(uS(e)?e.validators:e)||null}function rW(e){return Array.isArray(e)?PR(e):e||null}function BR(e,n){return(uS(n)?n.asyncValidators:e)||null}function oW(e){return Array.isArray(e)?RR(e):e||null}function uS(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function sW(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new je(1e3,"");if(!i[t])throw new je(1001,"")}function aW(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new je(1002,"")})}class dS{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=t,this._composedValidatorFn=rW(this._rawValidators),this._composedAsyncValidatorFn=oW(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Av}get invalid(){return this.status===cS}get pending(){return this.status==bm}get disabled(){return this.status===Mv}get enabled(){return this.status!==Mv}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=rW(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=oW(n)}addValidators(n){this.setValidators(Xq(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Xq(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Zq(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Zq(n,this._rawAsyncValidators))}hasValidator(n){return aS(this._rawValidators,n)}hasAsyncValidator(n){return aS(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=bm,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);
vendor: 4,249 bytes, line 1
1this.status=Mv,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Av,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Av||this.status===bm)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Mv:Av}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=bm,this._hasOwnPendingAsyncValidator=!0;const t=jq(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new et,this.statusChanges=new et}_calculateStatus(){return this._allControlsDisabled()?Mv:this.errors?cS:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bm)?bm:this._anyControlsHaveStatus(cS)?cS:Av}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){uS(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class Dv extends dS{constructor(n,t,i){super(VR(t),BR(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateV
vendor: 2,112 bytes, line 1
1alueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){aW(this,0,n),Object.keys(n).forEach(i=>{sW(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class lW extends Dv{}function Ov(e,n){UR(e,n),n.valueAccessor.writeValue(e.value),e.disabled&&n.valueAccessor.setDisabledState?.(!0),function W4e(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&cW(e,n)})}(e,n),function Y4e(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)}
vendor: 1,791 bytes, line 1
1)}(e,n),function K4e(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&cW(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function q4e(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function fS(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),mS(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function pS(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function UR(e,n){const t=Qq(e);null!==n.validator?e.setValidators(Yq(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=Jq(e);null!==n.asyncValidator?e.setAsyncValidators(Yq(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();pS(n._rawValidators,r),pS(n._rawAsyncValidators,r)}function mS(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=Qq(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=Jq(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return pS(n._rawValidators,i),pS(n._rawAsyncValidators,i),t}function cW(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function uW(e,n){UR(e,n)}function HR(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}
1function hW(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function jR(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===cf?t=o:function X4e(e){return Object.getPrototypeOf(e.constructor)===lf}(o)?i=o:r=o}),r||i||t||null}const eBe={provide:Ms,useExisting:Ln(()=>Cc)},Iv=(()=>Promise.resolve())();let Cc=(()=>{class e extends Ms{constructor(t,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new et,this.form=new Dv({},PR(t),RR(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Iv.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Ov(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Iv.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Iv.then(()=>{const i=this._findContainer(t.path),r=new Dv({});uW(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Iv.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Iv.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,hW(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(g(mo,10),g(Ld,10))},e.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&_e("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[xt([eBe]),de]}),e})();function fW(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function pW(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const ms=class extends dS{constructor(n=null,t,i){super(VR(t),BR(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),uS(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=pW(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fW(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fW(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){pW(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},iBe={provide:tl,useExisting:Ln(()=>zR)},yW=(()=>Promise.resolve())();let zR=(()=>{class e extends tl{constructor(t,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new ms,this._registered=!1,this.update=new et,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=jR(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),HR(t,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ov(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){yW.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Yc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);yW.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function hS(e,n){return[...n.path,e]}(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(g(Ms,9),g(mo,10),g(Ld,10),g(Zo,10),g(Zt,8))},e.\u0275dir=K({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[xt([iBe]),de,ei]}),e})(),vW=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),bW=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();const GR=new Pe("NgModelWithFormControlWarning"),lBe={provide:tl,useExisting:Ln(()=>uf)};let uf=(()=>{class e extends tl{constructor(t,i,r,o){super(),this._ngModelWarningConfig=o,this.update=new et,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=jR(0,r)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&fS(i,this,!1),Ov(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}HR(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&fS(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(t){return new(t||e)(g(mo,10),g(Ld,10),g(Zo,10),g(GR,8))},e.\u0275dir=K({type:e,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[xt([lBe]),de,ei]}),e})();const cBe={provide:Ms,useExisting:Ln(()=>Tu)};let Tu=(()=>{class e extends Ms{constructor(t,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new et,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(mS(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Ov(i,t),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}
1removeControl(t){fS(t.control||null,t,!1),function Z4e(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,hW(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(fS(i||null,t),(e=>e instanceof ms)(r)&&(Ov(r,t),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);uW(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function Q4e(e,n){return mS(e,n
1)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){UR(this.form,this),this._oldForm&&mS(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(g(mo,10),g(Ld,10))},e.\u0275dir=K({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&_e("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[xt([cBe]),de,ei]}),e})();let df=(()=>{class e{constructor(){this._validator=sS}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):sS,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,features:[ei]}),e})();const EBe={provide:mo,useExisting:Ln(()=>JR),multi:!0};let JR=(()=>{class e extends df{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>function TW(e){return"number"==typeof e?e:parseInt(e,10)}(t),this.createValidator=t=>Bq(t)}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){2&t&&vt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[xt([EBe]),de]}),e})(),RW=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[bW]}),e})(),TBe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[RW]}),e})(),NW=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:GR,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[RW]}),e})();class LW extends dS{constructor(n,t,i){super(VR(t),BR(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){aW(this,0,n),n.forEach((i,r)=>{sW(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);
1return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function FW(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let ABe=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const r=this._reduceControls(t);let o={};return FW(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Dv(r,o)}record(t,i=null){const r=this._reduceControls(t);return new lW(r,i)}control(t,i,r){let o={};return this.useNonNullable?(FW(i)?o=i:(o.validators=i,o.asyncValidators=r),new ms(t,{...o,nonNullable:!0})):new ms(t,i,r)}array(t,i,r){const o=t.map(s=>this._createControl(s));return new LW(o,i,r)}_reduceControls(t){const i={};return Object.keys(t).forEach(r=>{i[r]=this._createControl(t[r])}),i}_createControl(t){return t instanceof ms||t instanceof dS?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:NW}),e})();const MBe=["underline"],DBe=["connectionContainer"],OBe=["inputContainer"],IBe=["label"];function PBe(e,n){1&e&&(Or(0),T(1,"div",14),Ze(2,"div",15)(3,"div",16)(4,"div",17),M(),T(5,"div",18),Ze(6,"div",15)(7,"div",16)(8,"div",17),M(),Ir())}function RBe(e,n){1&e&&(T(0,"div",19),Mt(1,1),M())}function NBe(e,n){if(1&e&&(Or(0),Mt(1,2),T(2,"span"),q(3),M(),Ir()),2&e){const t=ae(2);N(3),ln(t._control.placeholder)}}function LBe(e,n){1&e&&Mt(0,3,["*ngSwitchCase","true"])}function FBe(e,n){1&e&&(T(0,"span",23),q(1," *"),M())}function $Be(e,n){if(1&e){const t=Sn();T(0,"label",20,21),_e("cdkObserveContent",function(){return Pt(t),Rt(ae().updateOutlineGap())}),ye(2,NBe,4,1,"ng-container",12),ye(3,LBe,1,0,"ng-content",12),ye(4,FBe,2,0,"span",22),M()}if(2&e){const t=ae();ft("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),j("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),vt("for",t._control.id)("aria-owns",t._control.id),N(2),j("ngSwitchCase",!1),N(1),j("ngSwitchCase",!0),N(1),j("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function VBe(e,n){1&e&&(T(0,"div",24),Mt(1,4),M())}function BBe(e,n){if(1&e&&(T(0,"div",25,26),Ze(2,"span",27),M()),2&e){const t=ae();N(2),ft("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function UBe(e,n){1&e&&(T(0,"div"),Mt(1,5),M()),2&e&&j("@transitionMessages",ae()._subscriptAnimationState)}function HBe(e,n){if(1&e&&(T(0,"div",31),q(1),M()),2&e){const t=ae(2);j("id",t._hintLabelId),N(1),ln(t.hintLabel)}}function jBe(e,n){if(1&e&&(T(0,"div",28),ye(1,HBe,2,2,"div",29),Mt(2,6),Ze(3,"div",30),Mt(4,7),M()),2&e){const t=ae();j("@transitionMessages",t._subscriptAnimationState),N(1),j("ngIf",t.hintLabel)}}const zBe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],GBe=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],$W=new Pe("MatError"),WBe={transitionMessages:to("transitionMessages",[ii("enter",Ut({opacity:1,transform:"translateY(0%)"})),Ci("void => enter",[Ut({opacity:0,transform:"translateY(-5px)"}),Pi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let wm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e}),e})();const VW=new Pe("MatHint");let BW=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["mat-label"]]}),e})(),YBe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["mat-placeholder"]]}),e})();const UW=new Pe("MatPrefix"),HW=new Pe("MatSuffix");let yS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["","matSuffix",""]],features:[xt([{provide:HW,useExisting:e}])]}),e})(),jW=0;const JBe=el(class{constructor(e){this._elementRef=e}},"primary"),GW=new Pe("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Cm=new Pe("MatFormField");let Pv=(()=>{class e extends JBe{constructor(t,i,r,o,s,a,l,c){super(t),this._changeDetectorRef=i,this._dir=o,this._defaults=s,this._platform=a,this._ngZone=l,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new nt,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+jW++,this._labelId="mat-form-field-label-"+jW++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==c,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=pt(t)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(pr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(qt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(qt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Wi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(pr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(pr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(qt(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ma(this._label.nativeElement,"transitionend").pipe(fi(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let i=0,r=0;const o=this._connectionContainerRef.nativeElement,s=o.querySelectorAll(".mat-form-field-outline-start"),a=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const l=o.getBoundingClientRect();if(0===l.width&&0===l.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const c=this._getStartEnd(l),u=t.children,d=this._getStartEnd(u[0].getBoundingClientRect());let f=0;for(let y=0;y<u.length;y++)f+=u[y].offsetWidth;i=Math.abs(d-c)-5,r=f>0?.75*f+10:0}for(let l=0;l<s.length;l++)s[l].style.width=`${i}px`;for(let l=0;l<a.length;l++)a[l].style.width=`${r}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}
1_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(Fe),g(or,8),g(GW,8),g($i),g(Lt),g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["mat-form-field"]],contentQueries:function(t,i,r){if(1&t&&(Wt(r,wm,5),Wt(r,wm,7),Wt(r,BW,5),Wt(r,BW,7),Wt(r,YBe,5),Wt(r,$W,5),Wt(r,VW,5),Wt(r,UW,5),Wt(r,HW,5)),2&t){let o;Ve(o=Be())&&(i._controlNonStatic=o.first),Ve(o=Be())&&(i._controlStatic=o.first),Ve(o=Be())&&(i._labelChildNonStatic=o.first),Ve(o=Be())&&(i._labelChildStatic=o.first),Ve(o=Be())&&(i._placeholderChild=o.first),Ve(o=Be())&&(i._errorChildren=o),Ve(o=Be())&&(i._hintChildren=o),Ve(o=Be())&&(i._prefixChildren=o),Ve(o=Be())&&(i._suffixChildren=o)}},viewQuery:function(t,i){if(1&t&&(Xt(MBe,5),Xt(DBe,7),Xt(OBe,5),Xt(IBe,5)),2&t){let r;Ve(r=Be())&&(i.underlineRef=r.first),Ve(r=Be())&&(i._connectionContainerRef=r.first),Ve(r=Be())&&(i._inputContainerRef=r.first),Ve(r=Be())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,i){2&t&&ft("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[xt([{provide:Cm,useExisting:e}]),de],ngContentSelectors:GBe,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,i){1&t&&(Nn(zBe),T(0,"div",0)(1,"div",1,2),_e("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),ye(3,PBe,9,0,"ng-container",3),ye(4,RBe,2,0,"div",4),T(5,"div",5,6),Mt(7),T(8,"span",7),ye(9,$Be,5,16,"label",8),M()(),ye(10,VBe,2,0,"div",9),M(),ye(11,BBe,3,4,"div",10),T(12,"div",11),ye(13,UBe,2,1,"div",12),ye(14,jBe,5,2,"div",13),M()()),2&t&&(N(3),j("ngIf","outline"==i.appearance),N(1),j("ngIf",i._prefixChildren.length),N(5),j("ngIf",i._hasFloatingLabel()),N(1),j("ngIf",i._suffixChildren.length),N(1),j("ngIf","outline"!=i.appearance),N(1),j("ngSwitch",i._getDisplayedMessages()),N(1),j("ngSwitchCase","error"),N(1),j("ngSwitchCase","hint"))}
1,dependencies:[tr,sc,Zu,wv],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;
1left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[WBe.transitionMessages]},changeDetection:0}),e})(),hf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[wo,rn,Cv,rn]}),e})();class vS{constructor(n=!1,t,i=!0){this._multiple=n,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new nt,t&&t.length&&(n?t.forEach(r=>this._markSelected(r)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())
1),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(n){this.isSelected(n)?this.deselect(n):this.select(n)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(n){return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}}let _S=(()=>{class e{constructor(){this._listeners=[]}notify(t,i){for(let r of this._listeners)r(t,i)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(i=>t!==i)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const XBe=["trigger"],ZBe=["panel"];function eUe(e,n){if(1&e&&(T(0,"span",8),q(1),M()),2&e){const t=ae();N(1),ln(t.placeholder)}}function tUe(e,n){if(1&e&&(T(0,"span",12),q(1),M()),2&e){const t=ae(2);N(1),ln(t.triggerValue)}}function nUe(e,n){1&e&&Mt(0,0,["*ngSwitchCase","true"])}function iUe(e,n){1&e&&(T(0,"span",9),ye(1,tUe,2,1,"span",10),ye(2,nUe,1,0,"ng-content",11),M()),2&e&&(j("ngSwitch",!!ae().customTrigger),N(2),j("ngSwitchCase",!0))}function rUe(e,n){if(1&e){const t=Sn();T(0,"div",13)(1,"div",14,15),_e("@transformPanel.done",function(r){return Pt(t),Rt(ae()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Pt(t),Rt(ae()._handleKeydown(r))}),Mt(3,1),M()()}if(2&e){const t=ae();j("@transformPanelWrap",void 0),N(1),SE("mat-select-panel ",t._getPanelTheme(),""),jr("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),j("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),vt("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const oUe=[[["mat-select-trigger"]],"*"],sUe=["mat-select-trigger","*"],KW={transformPanelWrap:to("transformPanelWrap",[Ci("* => void",QV("@transformPanel",[YV()],{optional:!0}))]),transformPanel:to("transformPanel",[ii("void",Ut({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
1)),ii("showing",Ut({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ii("showing-multiple",Ut({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ci("void => *",Pi("120ms cubic-bezier(0, 0, 0.2, 1)")),Ci("* => void",Pi("100ms 25ms linear",Ut({opacity:0})))])};let YW=0;const JW=new Pe("mat-select-scroll-strategy"),XW=new Pe("MAT_SELECT_CONFIG"),uUe={provide:JW,deps:[Jo],useFactory:function cUe(e){return()=>e.scrollStrategies.reposition()}};class dUe{constructor(n,t){this.source=n,this.value=t}}const hUe=ga(nf(Na(W0(class{constructor(e,n,t,i,r){this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=i,this.ngControl=r}})))),ZW=new Pe("MatSelectTrigger");let eK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=K({type:e,selectors:[["mat-select-trigger"]],features:[xt([{provide:ZW,useExisting:e}])]}),e})(),fUe=(()=>{class e extends hUe{constructor(t,i,r,o,s,a,l,c,u,d,f,y,b,S){var D,R,G;super(s,o,l,c,d),this._viewportRuler=t,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=u,this._liveAnnouncer=b,this._defaultOptions=S,this._panelOpen=!1,this._compareWith=(H,te)=>H===te,this._uid="mat-select-"+YW++,this._triggerAriaLabelledBy=null,this._destroy=new nt,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+YW++,this._panelDoneAnimatingStream=new nt,this._overlayPanelClass=(null===(D=this._defaultOptions)||void 0===D?void 0:D.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(G=null===(R=this._defaultOptions)||void 0===R?void 0:R.disableOptionCentering)&&void 0!==G&&G,this.ariaLabel="",this.optionSelectionChanges=ty(()=>{const H=this.options;return H?H.changes.pipe(pr(H),ss(()=>Wi(...H.map(te=>te.onSelectionChange)))):this._ngZone.onStable.pipe(fi(1),ss(()=>this.optionSelectionChanges))}),this.openedChange=new et,this._openedStream=this.openedChange.pipe(ni(H=>H),an(()=>{}
1)),this._closedStream=this.openedChange.pipe(ni(H=>!H),an(()=>{})),this.selectionChange=new et,this.valueChange=new et,this.ngControl&&(this.ngControl.valueAccessor=this),null!=S?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._scrollStrategyFactory=y,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=pt(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=pt(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=pt(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Gr(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new vS(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(fm(),qt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(qt(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(pr(null),qt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?i.setAttribute("aria-labelledby",t):i.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var t,i;return this.multiple?(null===(t=this._selectionModel)||void 0===t?void 0:t.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const i=t.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!so(t)||(this.multiple||t.altKey)&&r)t.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(t);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const i=this._keyManager,r=t.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&t.altKey)t.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||so(t))if(!s&&this._multiple&&65===r&&t.ctrlKey){t.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(t),this._multiple&&o&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(fi(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
1_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectValue(i)),this._sortValues();else{const i=this._selectValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_initKeyManager(){this._keyManager=new FG(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(qt(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(qt(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Wi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(qt(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Wi(...this.options.map(i=>i._stateChanges)).pipe(qt(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,i){const r=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(r!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),r!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,t):t.indexOf(i)-t.indexOf(r)),this.stateChanges.next()}}_propagateChanges(t){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const i=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const i=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return e.\u0275fac=function(t){return new(t||e)(g(Ol),g(Zt),g(Lt),g(Rl),g(Fe),g(or,8),g(Cc,8),g(Tu,8),g(Cm,8),g(tl,10),qo("tabindex"),g(JW),g(G0),g(XW,8))},e.\u0275dir=K({type:e,viewQuery:function(t,i){if(1&t&&(Xt(XBe,5),Xt(ZBe,5),Xt(AG,5)),2&t){let r;Ve(r=Be())&&(i.trigger=r.first),Ve(r=Be())&&(i.panel=r.first),Ve(r=Be())&&(i._overlayDir=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[de,ei]}),e})(),wS=(()=>{class e extends fUe{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*t-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(qt(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(fi(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const i=xR(t,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===t&&1===i?0:function ZG(e,n,t,i){return e<t?e:e+n>t+i?Math.max(0,e-i+n):t}((t+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new dUe(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(t.left+s-(r?o:0)),l=t.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?t*o:this._scrollTop===r?(t-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(t){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,i){const r=Math.round(t-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,i,r){const o=Math.round(t-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*t,256),s=i*t-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=xR(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(
1a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const t=this._getItemHeight(),i=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275cmp=We({type:e,selectors:[["mat-select"]],contentQueries:function(t,i,r){if(1&t&&(Wt(r,ZW,5),Wt(r,xv,5),Wt(r,X0,5)),2&t){let o;Ve(o=Be())&&(i.customTrigger=o.first),Ve(o=Be())&&(i.options=o),Ve(o=Be())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,i){1&t&&_e("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&t&&(vt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-describedby",i._ariaDescribedby||null)("aria-activedescendant",i._getAriaActiveDescendant()),ft("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[xt([{provide:wm,useExisting:e},{provide:J0,useExisting:e}]),de],ngContentSelectors:sUe,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,i){if(1&t&&(Nn(oUe),T(0,"div",0,1),_e("click",function(){return i.toggle()}),T(3,"div",2),ye(4,eUe,2,1,"span",3),ye(5,iUe,3,2,"span",4),M(),T(6,"div",5),Ze(7,"div",6),M()(),ye(8,rUe,4,14,"ng-template",7),_e("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&t){const r=Ro(1);vt("aria-owns",i.panelOpen?i.id+"-panel":null),N(3),j("ngSwitch",i.empty),vt("id",i._valueId),N(1),j("ngSwitchCase",!0),N(1),j("ngSwitchCase",!1),N(3),j("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Hs,sc,Zu,vk,AG,TG],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}
1\n'],encapsulation:2,data:{animation:[KW.transformPanelWrap,KW.transformPanel]},changeDetection:0}),e})(),Lv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[uUe],imports:[wo,tf,Z0,rn,wu,hf,Z0,rn]}),e})();const pUe={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
16-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"]
vendor: 20,373 bytes, line 1
1,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:
1694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"]
vendor: 18,925 bytes, line 1
1,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","
17090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}
1(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
1)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4}
1)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function tK(e,n){var t=Array.prototype.slice.call(n);return t.push(pUe),e.apply(this,t)}var mUe={}.constructor;function xm(e){return null!=e&&e.constructor===mUe}function Fv(e){return(Fv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function nK(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function yUe(e,n,t){return(n=function vUe(e){var n=function _Ue(e,n){if("object"!=Fv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Fv(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Fv(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function iK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function rK(e){var a,l,c,t=function bUe(e,n){return function xUe(e){if(Array.isArray(e))return e}(e)||function SUe(e,n){var t=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;l=!1}else for(;!(l=(i=o.call(t)).done)&&(a.push(i.value),a.length!==n);l=!0);}catch(u){c=!0,r=u}finally{try{if(!l&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,n)||function CUe(e,n){if(e){if("string"==typeof e)return iK(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?iK(e,n):void 0}}(e,n)||function wUe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.prototype.slice.call(e),4),i=t[0],r=t[1],o=t[2],s=t[3];if("string"!=typeof i)throw new TypeError("A text for parsing must be a string.");if(a=i,r&&"string"!=typeof r){if(!xm(r))throw new Error("Invalid second argument: ".concat(r));o?(l=r,c=o):c=r}else s?(l=o,c=s):(l=void 0,c=o),r&&(l=function gUe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?nK(Object(t),!0).forEach(function(i){yUe(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nK(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}({defaultCountry:r},l));return{text:a,options:l,metadata:c}}var Ll="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",CS="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function Em(e){return(Em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function oK(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,RUe(i.key),i)}}function RUe(e){var n=function NUe(e,n){if("object"!=Em(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Em(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Em(n)?n:n+""}function t2(e){var n="function"==typeof Map?new Map:void 0;return t2=function(i){if(null===i||!function HUe(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch{return"function"==typeof e}}(i))return i;if("function"!=typeof i)throw new TypeError("Super expression must either be null or a function");
1if(void 0!==n){if(n.has(i))return n.get(i);n.set(i,r)}function r(){return UUe(i,arguments,Vv(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),$v(r,i)},t2(e)}function UUe(e,n,t){if(n2())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,n);var r=new(e.bind.apply(e,i));return t&&$v(r,t.prototype),r}function n2(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(n2=function(){return!!e})()}function $v(e,n){return($v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t})(e,n)}function Vv(e){return(Vv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}var Sc=function(e){function n(t){var i;return function LUe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),i=function FUe(e,n,t){return n=Vv(n),function $Ue(e,n){if(n&&("object"==Em(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function VUe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,n2()?Reflect.construct(n,t||[],Vv(e).constructor):n.apply(e,t))}(this,n,[t]),Object.setPrototypeOf(i,n.prototype),i.name=i.constructor.name,i}return function BUe(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&$v(e,n)}(n,e),function PUe(e,n,t){return n&&oK(e.prototype,n),t&&oK(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(n)}(t2(Error));function sK(e,n){e=e.split("-"),n=n.split("-");for(var t=e[0].split("."),i=n[0].split("."),r=0;r<3;r++){var o=Number(t[r]),s=Number(i[r]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}function km(e){return(km="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function SS(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function aK(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,jUe(i.key),i)}}function xS(e,n,t){return n&&aK(e.prototype,n),t&&aK(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jUe(e){var n=function zUe(e,n){if("object"!=km(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=km(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==km(n)?n:n+""}var WUe=/^\d+$/,es=function(){return xS(function e(n){SS(this,e),uK(n),this.metadata=n,dK.call(this,n)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return"001"!==t})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var i=this.countryCallingCodes()[t];if(i&&1===i.length&&"001"===i[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,i){if(t&&WUe.test(t)&&(i=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new lK(this.getCountryMetadata(t),this)}else if(i){if(!this.hasCallingCode(i))throw new Error("Unknown calling code: ".concat(i));this.numberingPlan=new lK(this.getNumberingPlanMetadata(i),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var i=this.countryCallingCodes()[t];if(i)return 1===i.length&&3===i[0].length?void 0:i}},{key:"getCountryCodeForCallingCode",value:function(t){var i=this.getCountryCodesForCallingCode(t);if(i)return i[0]}},{key:"getNumberingPlanMetadata",value:function(t){var i=this.getCountryCodeForCallingCode(t);if(i)return this.getCountryMetadata(i);if(this.nonGeographic()){var r=this.nonGeographic()[t];if(r)return r}else{var o=this.countryCallingCodes()[t];if(o&&1===o.length&&"001"===o[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),lK=function(){return xS(function e(n,t){SS(this,e),this.globalMetadataObject=t,this.metadata=n,dK.call(this,t.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(r){return new KUe(r,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return!(this.types()&&0===this.types().length||!this.t
vendor: 1,369 bytes, line 1
1ypes())}},{key:"type",value:function(t){if(this.hasTypes()&&cK(this.types(),t))return new QUe(cK(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?" ext. ":this.metadata[13]||" ext. "}}])}(),KUe=function(){return xS(function e(n,t){SS(this,e),this._format=n,this.metadata=t},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||YUe.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),YUe=/^\(?\$1\)?$/,QUe=function(){return xS(function e(n,t){SS(this,e),this.type=n,this.metadata=t},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
vendor: 5,196 bytes, line 1
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function cK(e,n){switch(n){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function uK(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!xm(e)||!xm(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(xm(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+JUe(e)+": "+e,"."))}var JUe=function(n){return km(n)};function o2(e,n){if((n=new es(n)).hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function dK(e){var n=e.version;"number"==typeof n?(this.v1=1===n,this.v2=2===n,this.v3=3===n,this.v4=4===n):n?-1===sK(n,"1.2.0")?this.v2=!0:-1===sK(n,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var Tm=function(n){return"([".concat(Ll,"]{1,").concat(n,"})")};function hK(e){var o="[ \xa0\\t,]*",s="[:\\.\uff0e]?[ \xa0\\t,-]*",a="#?",d="[ \xa0\\t]*";return";ext="+Tm("20")+"|"+o+"(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)"+s+Tm("20")+"#?|"+o+"(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)"+s+Tm("9")+"#?|[- ]+"+Tm("6")+"#|"+d+"(?:,{2}|;)"+s+Tm("15")+"#?|"+d+"(?:,)+"+s+Tm("9")+a}var t5e="[+\uff0b]{0,1}(?:["+CS+"]*["+Ll+"]){3,}["+CS+Ll+"]*",n5e=new RegExp("^[+\uff0b]{0,1}(?:["+CS+"]*["+Ll+"]){1,2}$","i"),i5e=t5e+"(?:"+hK()+")?",r5e=new RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^"+i5e+"$","i"),fK=new RegExp("(?:"+hK()+")$","i"),u5e={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function gK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function yK(e){for(var i,n="",t=function d5e(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function h5e(e,n){if(e){if("string"==typeof e)return gK(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?gK(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(i=t()).done;)n+=f5e(i.value,n)||"";return n}function f5e(e,n,t){return"+"===e?n?void("function"==typeof t&&t("end")):"+":function mK(e){return u5e[e]}(e)}function vK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function ES(e,n,t){return _K(e,n,void 0,t)}function _K(e,n,t,i){n&&(i=new es(i.metadata)).selectNumberingPlan(n);var r=i.type(t),o=r&&r.possibleLengths()||i.possibleLengths();if(!o)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===t){if(!i.type("FIXED_LINE"))return _K(e,n,"MOBILE",i);var s=i.type("MOBILE");s&&(o=function g5e(e,n){for(var r,t=e.slice(),i=function p5e(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function m5e(e,n){if(e){if("string"==typeof e)return vK(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vK(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(r=i()).done;){var o=r.value;e.indexOf(o)<0&&t.push(o)}return t.sort(function(s,a){return s-a})}(o,s.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var a=e.length,l=o[0];return l===a?"IS_POSSIBLE":l>a?"TOO_SHORT":o[o.length-1]<a?"TOO_LONG":o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function bK(e,n,t){return"IS_POSSIBLE"===ES(e,n,t)}function Au(e,n){return e=e||"",new RegExp("^(?:"+n+")$").test(e)}function wK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}var b5e=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function s2(e,n,t){if(n=n||{}
vendor: 4,467 bytes, line 1
1,e.country||e.countryCallingCode){(t=new es(t)).selectNumberingPlan(e.country,e.countryCallingCode);var i=n.v2?e.nationalNumber:e.phone;if(Au(i,t.nationalNumberPattern())){if(a2(i,"FIXED_LINE",t))return t.type("MOBILE")&&""===t.type("MOBILE").pattern()||!t.type("MOBILE")||a2(i,"MOBILE",t)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o,r=function v5e(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function _5e(e,n){if(e){if("string"==typeof e)return wK(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wK(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(b5e);!(o=r()).done;){var s=o.value;if(a2(i,s,t))return s}}}}function a2(e,n,t){var i=t.type(n);return!(!i||!i.pattern()||i.possibleLengths()&&i.possibleLengths().indexOf(e.length)<0)&&Au(e,i.pattern())}var x5e=new RegExp("(["+Ll+"])");function CK(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function SK(e,n){var t=n.nationalNumber,i=n.metadata,r=i.getCountryCodesForCallingCode(e);if(r)return 1===r.length?r[0]:function M5e(e,n){var t=n.countries,i=n.metadata;i=new es(i);for(var o,r=function T5e(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function A5e(e,n){if(e){if("string"==typeof e)return CK(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?CK(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(o=r()).done;){var s=o.value;if(i.selectNumberingPlan(s),i.leadingDigits()){if(e&&0===e.search(i.leadingDigits()))return s}else if(s2({phone:e,country:s},void 0,i.metadata))return s}}(t,{countries:r,metadata:i.metadata})}function l2(e,n,t){var i=function k5e(e,n){if(e&&n.numberingPlan.nationalPrefixForParsing()){var t=new RegExp("^(?:"+n.numberingPlan.nationalPrefixForParsing()+")"),i=t.exec(e);if(i){var r,o,c,s=i.length-1,a=s>0&&i[s];if(n.nationalPrefixTransformRule()&&a?(r=e.replace(t,n.nationalPrefixTransformRule()),s>1&&(o=i[1])):(r=e.slice(i[0].length),a&&(o=i[1])),a){var u=e.indexOf(i[1]);e.slice(0,u)===n.numberingPlan.nationalPrefix()&&(c=n.numberingPlan.nationalPrefix())}else c=i[0];return{nationalNumber:r,nationalPrefix:c,carrierCode:o}}}return{nationalNumber:e}}(e,t),r=i.carrierCode,o=i.nationalNumber;if(o!==e){if(!function O5e(e,n,t){return!(Au(e,t.nationalNumberPattern())&&!Au(n,t.nationalNumberPattern()))}(e,o,t))return{nationalNumber:e};if(t.numberingPlan.possibleLengths()&&(n||(n=SK(t.numberingPlan.callingCode(),{nationalNumber:o,metadata:t})),!function I5e(e,n,t){switch(ES(e,n,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,n,t)))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function xK(e,n,t,i,r){if(!e)return{};var o;if("+"!==e[0]){var s=function E5e(e,n,t,i){if(n){var r=new es(i);r.selectNumberingPlan(n,t);var o=new RegExp(r.IDDPrefix());if(0===e.search(o)){var s=(e=e.slice(e.match(o)[0].length)).match(x5e);if(!(s&&null!=s[1]&&s[1].length>0&&"0"===s[1]))return e}}}(e,n||t,i,r);if(!s||s===e){if(n||t||i){var a=function P5e(e,n,t,i,r){var o=n||t?o2(n||t,r):i;if(0===e.indexOf(o)){(r=new es(r)).selectNumberingPlan(n||t,o);var s=e.slice(o.length),l=l2(s,n,r).nationalNumber,u=l2(e,n,r).nationalNumber;if(!Au(u,r.nationalNumberPattern())&&Au(l,r.nationalNumberPattern())||"TOO_LONG"===ES(u,n,r))return{countryCallingCode:o,number:s}}return{number:e}}(e,n,t,i,r),l=a.countryCallingCode;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:a.number}}return{number:e}}o=!0,e="+"+s}if("0"===e[1])return{};r=new es(r);for(var u=2;u-1<=3&&u<=e.length;){var d=e.slice(1,u);
1if(r.hasCallingCode(d))return r.selectNumberingPlan(d),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:d,number:e.slice(u)};u++}return{}}var N5e=/(\$\d)/;var F5e=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,TK={formatExtension:function(n,t,i){return"".concat(n).concat(i.ext()).concat(t)}};function kS(e,n,t,i,r){var o=function q5e(e,n){return function Y5e(e,n){for(var t=0;t<e.length;){if(n(e[t]))return e[t];t++}}(e,function(t){if(t.leadingDigitsPatterns().length>0){var i=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==n.search(i))return!1}return Au(n,t.pattern())})}(i.formats(),e);return o?function L5e(e,n,t){var i=t.useInternationalFormat,r=t.withNationalPrefix,a=e.replace(new RegExp(n.pattern()),i?n.internationalFormat():r&&n.nationalPrefixFormattingRule()?n.format().replace(N5e,n.nationalPrefixFormattingRule()):n.format());return i?function R5e(e){return e.replace(new RegExp("[".concat(CS,"]+"),"g")," ").trim()}(a):a}(e,o,{useInternationalFormat:"INTERNATIONAL"===t,withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&r&&!1===r.nationalPrefix),carrierCode:n,metadata:i}):e}function c2(e,n,t,i){return n?i(e,n,t):e}function Bv(e){return(Bv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function AK(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function MK(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?AK(Object(t),!0).forEach(function(i){Q5e(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AK(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function Q5e(e,n,t){return(n=OK(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function DK(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,OK(i.key),i)}}function OK(e){var n=function Z5e(e,n){if("object"!=Bv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Bv(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Bv(n)?n:n+""}var t6e=function(){return function X5e(e,n,t){return n&&DK(e.prototype,n),t&&DK(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(n,t,i){if(function J5e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),!n)throw new TypeError("First argument is required");if("string"!=typeof n)throw new TypeError("First argument must be a string");if("+"===n[0]&&!t)throw new TypeError("`metadata` argument not passed");if(xm(t)&&xm(t.countries)){i=t;var r=n;if(!r6e.test(r))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=xK(r,void 0,void 0,void 0,i);if(n=o.countryCallingCode,!(t=o.number))throw new Error("Invalid `number` argument passed: too short")}if(!t)throw new TypeError("`nationalNumber` argument is required");if("string"!=typeof t)throw new TypeError("`nationalNumber` argument must be a string");uK(i);var l=function i6e(e,n){var t,i,r=new es(n);return function(n){return/^[A-Z]{2}$/.test(n)}(e)?(r.selectNumberingPlan(t=e),i=r.countryCallingCode()):i=e,{country:t,countryCallingCode:i}}(n,i),u=l.countryCallingCode;this.country=l.country,this.countryCallingCode=u,this.nationalNumber=t,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return i}},[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:function C5e(e,n,t){var r=new es(t).getCountryCodesForCallingCode(e);
1return r?r.filter(function(o){return function S5e(e,n,t){var i=new es(t);return i.selectNumberingPlan(n),i.numberingPlan.possibleLengths().indexOf(e.length)>=0}(n,o,t)}):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function y5e(e,n,t){if(void 0===n&&(n={}),t=new es(t),n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!t.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));t.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}}if(t.possibleLengths())return bK(e.phone||e.nationalNumber,e.country,t);if(e.countryCallingCode&&t.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function w5e(e,n,t){return n=n||{},(t=new es(t)).selectNumberingPlan(e.country,e.countryCallingCode),t.hasTypes()?void 0!==s2(e,n,t.metadata):Au(n.v2?e.nationalNumber:e.phone,t.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new es(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return s2(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,i){return function G5e(e,n,t,i){if(t=t?function K5e(){for(var e=1,n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];for(;e<t.length;){if(t[e])for(var r in t[e])t[0][r]=t[e][r];e++}return t[0]}({},TK,t):TK,i=new es(i),e.country&&"001"!==e.country){if(!i.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));i.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";i.selectNumberingPlan(e.countryCallingCode)}var s,r=i.countryCallingCode(),o=t.v2?e.nationalNumber:e.phone;switch(n){case"NATIONAL":return o?c2(s=kS(o,e.carrierCode,"NATIONAL",i,t),e.ext,i,t.formatExtension):"";case"INTERNATIONAL":return o?(s=kS(o,null,"INTERNATIONAL",i,t),c2(s="+".concat(r," ").concat(s),e.ext,i,t.formatExtension)):"+".concat(r);case"E.164":return"+".concat(r).concat(o);case"RFC3966":return function z5e(e){var n=e.number,t=e.ext;if(!n)return"";if("+"!==n[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(n).concat(t?";ext="+t:"")}({number:"+".concat(r).concat(o),ext:e.ext});case"IDD":if(!t.fromCountry)return;var a=function W5e(e,n,t,i,r){if(o2(i,r.metadata)===t){var s=kS(e,n,"NATIONAL",r);return"1"===t?t+" "+s:s}var a=function $5e(e,n,t){var i=new es(t);return i.selectNumberingPlan(e,n),i.defaultIDDPrefix()?i.defaultIDDPrefix():F5e.test(i.IDDPrefix())?i.IDDPrefix():void 0}(i,void 0,r.metadata);if(a)return"".concat(a," ").concat(t," ").concat(kS(e,null,"INTERNATIONAL",r))}(o,e.carrierCode,r,t.fromCountry,i);return a?c2(a,e.ext,i,t.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}(this,t,i?MK(MK({},i),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}])}(),r6e=/^\+\d+$/,a6e=new RegExp("^\\+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]|[\\-\\.\\(\\)]?)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]|[\\-\\.\\(\\)]?)*$","g"),h6e=new RegExp("^([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]+((\\-)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])*\\.)*[a-zA-Z]+((\\-)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])*\\.?$","g"),d2=";phone-context=";var v6e=new RegExp("[+\uff0b"+Ll+"]"),_6e=new RegExp("[^"+Ll+"#]+$");function w6e(e,n,t){if(n=n||{},t=new es(t),n.defaultCountry&&!t.hasCountry(n.defaultCountry))throw n.v2?new Sc("INVALID_COUNTRY"):new Error("Unknown country: ".concat(n.defaultCountry));var i=function S6e(e,n,t){var i=function g6e(e,n){var r,t=n.extractFormattedPhoneNumber,i=function p6e(e){var n=e.indexOf(d2);if(n<0)return null;var t=n+d2.length;if(t>=e.length)return"";var i=e.indexOf(";",t);return i>=0?e.substring(t,i):e.substring(t)}(e);if(!function m6e(e){return null===e||0!==e.length&&(a6e.test(e)||h6e.test(e))}(i))throw new Sc("NOT_A_NUMBER");if(null===i)r=t(e)||"";else{r="","+"===i.charAt(0)&&(r+=i);var s,o=e.indexOf("tel:");s=o>=0?o+"tel:".length:0;var a=e.indexOf(d2);r+=e.substring(s,a)}var l=r.indexOf(";isub=");if(l>0&&(r=r.substring(0,l)),""!==r)return r}(e,{extractFormattedPhoneNumber:function(s){return function C6e(e,n,t){if(e){if(e.length>250){if(t)throw new Sc("TOO_LONG");return}if(!1===n)return e;var i=e.search(v6e);if(!(i<0))return e.slice(i).replace(_6e,"")}}(s,t,n)}});if(!i)return{};if(!function o5e(e){return e.length>=2&&r5e.test(e)}(i))return function s5e(e){return n5e.test(e)}(i)?{error:"TOO_SHORT"}:{};var r=function a5e(e){var n=e.search(fK);if(n<0)return{};for(var t=e.slice(0,n),i=e.match(fK),r=1;r<i.length;){if(i[r])return{number:t,ext:i[r]};r++}}(i);return r.ext?r:{number:i}}(e,n.v2,n.extract),r=i.number,o=i.ext;if(!r){if(n.v2)throw new Sc("TOO_SHORT"===i.error?"TOO_SHORT":"NOT_A_NUMBER");return{}}var a=function E6e(e,n,t,i){var l,r=xK(yK(e),void 0,n,t,i.metadata),o=r.countryCallingCodeSource,s=r.countryCallingCode,a=r.number;if(s)i.selectNumberingPlan(s);else{if(!a||!n&&!t)return{};i.selectNumberingPlan(n,t),!!n&&(l=n),s=t||o2(n,i.metadata)}if(!a)return{countryCallingCodeSource:o,countryCallingCode:s};var c=l2(yK(a),l,i),u=c.nationalNumber,d=c.carrierCode,f=SK(s,{nationalNumber:u,metadata:i});return f&&(l=f,"001"===f||i.selectNumberingPlan(l)),{country:l,countryCallingCode:s,countryCallingCodeSource:o,nationalNumber:u,carrierCode:d}}(r,n.defaultCountry,n.defaultCallingCode,t),l=a.country,c=a.nationalNumber,u=a.countryCallingCode,d=a.countryCallingCodeSource,f=a.c
1arrierCode;if(!t.hasSelectedNumberingPlan()){if(n.v2)throw new Sc("INVALID_COUNTRY");return{}}if(!c||c.length<2){if(n.v2)throw new Sc("TOO_SHORT");return{}}if(c.length>17){if(n.v2)throw new Sc("TOO_LONG");return{}}if(n.v2){var y=new t6e(u,c,t.metadata);return l&&(y.country=l),f&&(y.carrierCode=f),o&&(y.ext=o),y.__countryCallingCodeSource=d,y}var b=!!(n.extended?t.hasSelectedNumberingPlan():l)&&Au(c,t.nationalNumberPattern());return n.extended?{country:l,countryCallingCode:u,carrierCode:f,valid:b,possible:!!b||!(!0!==n.extended||!t.possibleLengths()||!bK(c,l,t)),phone:c,ext:o}:b?function x6e(e,n,t){var i={country:e,phone:n};return t&&(i.ext=t),i}(l,c,o):{}}function Uv(e){return(Uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function NK(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function LK(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?NK(Object(t),!0).forEach(function(i){k6e(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NK(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function k6e(e,n,t){return(n=function T6e(e){var n=function A6e(e,n){if("object"!=Uv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Uv(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Uv(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function FK(e,n,t){return w6e(e,LK(LK({},n),{},{v2:!0}),t)}function Hv(e){return(Hv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function $K(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function VK(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$K(Object(t),!0).forEach(function(i){M6e(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$K(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function M6e(e,n,t){return(n=function D6e(e){var n=function O6e(e,n){if("object"!=Hv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Hv(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Hv(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function I6e(e,n,t){n&&n.defaultCountry&&!function XUe(e,n){return n.countries.hasOwnProperty(e)}(n.defaultCountry,t)&&(n=VK(VK({},n),{},{defaultCountry:void 0}));try{return FK(e,n,t)}catch(i){if(!(i instanceof Sc))throw i}}function P6e(){var e=rK(arguments),n=e.text,t=e.options,i=e.metadata;return I6e(n,t,i)}function jv(e){return(jv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function BK(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function UK(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?BK(Object(t),!0).forEach(function(i){N6e(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):BK(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function N6e(e,n,t){return(n=function L6e(e){var n=function F6e(e,n){if("object"!=jv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=jv(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==jv(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function $6e(){var e=rK(arguments),n=e.text,t=e.options,i=e.metadata;t=UK(UK({},t),{},{extract:!1});try{var r=FK(n,t,i);(i=new es(i)).selectNumberingPlan(r.countryCallingCode);var o=ES(r.nationalNumber,r.country,i);if("IS_POSSIBLE"!==o)return o}catch(s){if(s instanceof Sc)return s.message;throw s}}const B6e=["*"];function HK(e){return Error(`Unable to find icon with the name "${e}"`)}function jK(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function zK(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class ff{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let zv=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new ff(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(Bi.HTML,r);if(!s)throw zK(r);return this._addSvgIconConfig(t,i,new ff("",s,o))}
vendor: 7,304 bytes, line 1
1addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new ff(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(Bi.HTML,i);if(!o)throw zK(i);return this._addSvgIconSetConfig(t,new ff("",o,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(Bi.RESOURCE_URL,t);if(!i)throw jK(t);const r=this._cachedIconsByUrl.get(i);return r?Bt(TS(r)):this._loadSvgIconFromConfig(new ff(t,null)).pipe(no(o=>this._cachedIconsByUrl.set(i,o)),an(o=>TS(o)))}getNamedSvgIcon(t,i=""){const r=GK(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):Ep(HK(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Bt(TS(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(an(i=>TS(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?Bt(r):Dq(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(tu(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Bi.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Bt(null)})))).pipe(an(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw HK(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(no(i=>t.svgText=i),an(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Bt(null):this._fetchIcon(t).pipe(no(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString("<svg></svg>");return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString("<svg></svg>"),r=t.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){var i;const{url:r,options:o}=t,s=null!==(i=o?.withCredentials)&&void 0!==i&&i;if(!this._httpClient)throw function U6e(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==r)throw Error(`Cannot fetch icon from URL "${r}".`);const a=this._sanitizer.sanitize(Bi.RESOURCE_URL,r);if(!a)throw jK(r);const l=this._inProgressUrlFetches.get(a);if(l)return l;const c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(pw(()=>this._inProgressUrlFetches.delete(a)),w_());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(GK(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,t);if(o)return j6e(o)?new ff(o.url,null,o.options):new ff(o,null)}}}return e.\u0275fac=function(t){return new(t||e)(J(Kg,8),J(Sp),J(jt,8),J(Xl))},e.\u0275prov=Le({factory:function(){return new e(J(Kg,8),J(Sp),J(jt,8),J(Xl))},token:e,providedIn:"root"}),e})();function TS(e){return e.cloneNode(!0)}function GK(e,n){return e+":"+n}function j6e(e){return!(!e.url||!e.options)}const z6e=el(class{constructor(e){this._elementRef=e}}),G6e=new Pe("mat-icon-location",{providedIn:"root",factory:function q6e(){const e=vr(jt),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),qK=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],W6e=e=>`[${e}]`,K6e=qK.map(W6e).join(", "),Y6e=/^url\(['"]?#(.*?)['"]?\)$/;let Fd=(()=>{class e extends z6e{constructor(t,i,r,o,s){super(t),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._currentIconFetch=Jt.EMPTY,r||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=pt(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=t.querySelectorAll("style");for(let o=0;o<i.length;o++)i[o].textContent+=" ";const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&t.removeChild(r)}}
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),i&&t.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(K6e),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)qK.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(Y6e):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(fi(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(zv),qo("aria-hidden"),g(G6e),g(Xl))},e.\u0275cmp=We({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,i){2&t&&(vt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),ft("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[de],ngContentSelectors:B6e,decls:1,vars:0,template:function(t,i){1&t&&(Nn(),Mt(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),Gv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,rn]}),e})();const WK=Wh({passive:!0});let Q6e=(()=>{class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Xs;const i=bu(t),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new nt,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,WK),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,WK)}}),o}stopMonitoring(t){const i=bu(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}
1ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}}return e.\u0275fac=function(t){return new(t||e)(J($i),J(Lt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),KK=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})();const YK=new Pe("MAT_INPUT_VALUE_ACCESSOR"),X6e=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Z6e=0;const e9e=W0(class{constructor(e,n,t,i){this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=t,this.ngControl=i}});let AS=(()=>{class e extends e9e{constructor(t,i,r,o,s,a,l,c,u,d){super(a,o,s,r),this._elementRef=t,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+Z6e++,this.focused=!1,this.stateChanges=new nt,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(b=>fG().has(b));const f=this._elementRef.nativeElement,y=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",b=>{const S=b.target;!S.value&&0===S.selectionStart&&0===S.selectionEnd&&(S.setSelectionRange(1,1),S.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===y,this._isTextarea="textarea"===y,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=pt(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=pt(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&fG().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=pt(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,i;const r=null!==(i=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)&&void 0!==i&&i.call(t)?null:this.placeholder;if(r!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=r,r?o.setAttribute("placeholder",r):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){X6e.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g($i),g(tl,10),g(Cc,8),g(Tu,8),g(Rl),g(YK,10),g(Q6e),g(Lt),g(Cm,8))},e.\u0275dir=K({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(t,i){1&t&&_e("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&t&&(rs("disabled",i.disabled)("required",i.required),vt("id",i.id)("data-placeholder",i.placeholder)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),ft("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[xt([{provide:wm,useExisting:e}]),de,ei]}),e})(),MS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Rl],imports:[KK,hf,rn,KK,hf]}),e})(),s9e=(()=>{class e extends qr{constructor(t,i,r,o,s,a,l){super(t,null,i,r),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Hs(o,s,t,a)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Rr),g(Wr),g(rc),g(uh),g(Aa),g(Hs,10))},e.\u0275dir=K({type:e,inputs:{klass:["class","klass"]},features:[de]}),e})();const a9e=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let pf=(()=>{class e extends s9e{constructor(){super(...arguments),this.inputs=a9e}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[de]}),e})(),tY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[TR]}),e})();const nY=new Set;let Am,v9e=(()=>{class e{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b9e}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function _9e(e){if(!nY.has(e))try{Am||(Am=document.createElement("style"),Am.setAttribute("type","text/css"),document.head.appendChild(Am)),Am.sheet&&(Am.sheet.insertRule(`@media ${e} {body{ }}`,0),nY.add(e))}catch(n){console.error(n)}}(t),this._matchMedia(t)}}return e.\u0275fac=function(t){return new(t||e)(J($i))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function b9e(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}
1let f2=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new nt}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return iY(P0(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=uT(iY(P0(t)).map(s=>this._registerQuery(s).observable));return o=ey(o.pipe(fi(1)),o.pipe(MG(1),H0(0))),o.pipe(an(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new wi(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(pr(i),an(({matches:s})=>({query:t,matches:s})),qt(this._destroySubject)),mql:i};return this._queries.set(t,o),o}}return e.\u0275fac=function(t){return new(t||e)(J(v9e),J(Lt))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function iY(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function w9e(e,n){if(1&e){const t=Sn();T(0,"div",1)(1,"button",2),_e("click",function(){return Pt(t),Rt(ae().action())}),q(2),M()()}if(2&e){const t=ae();N(2),ln(t.data.action)}}function C9e(e,n){}const oY=new Pe("MatSnackBarData");class DS{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const S9e=Math.pow(2,31)-1;class p2{constructor(n,t){this._overlayRef=t,this._afterDismissed=new nt,this._afterOpened=new nt,this._onAction=new nt,this._dismissedByAction=!1,this.containerInstance=n,this.onAction().subscribe(()=>this.dismiss()),n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,S9e))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let x9e=(()=>{class e{constructor(t,i){this.snackBarRef=t,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(g(p2),g(oY))},e.\u0275cmp=We({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,i){1&t&&(T(0,"span"),q(1),M(),ye(2,w9e,3,1,"div",0)),2&t&&(N(1),ln(i.data.message),N(1),j("ngIf",i.hasAction))},dependencies:[tr,xu],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e})();const E9e={snackBarState:to("state",[ii("void, hidden",Ut({transform:"scale(0.8)",opacity:0}
1)),ii("visible",Ut({transform:"scale(1)",opacity:1})),Ci("* => visible",Pi("150ms cubic-bezier(0, 0, 0.2, 1)")),Ci("* => void, * => hidden",Pi("75ms cubic-bezier(0.4, 0.0, 1, 1)",Ut({opacity:0})))])};let k9e=(()=>{class e extends $0{constructor(t,i,r,o,s){super(),this._ngZone=t,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new nt,this._onExit=new nt,this._onEnter=new nt,this._animationState="void",this.attachDomPortal=a=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(a)),this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:i,toState:r}=t;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(fi(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>t.classList.add(r)):t.classList.add(i)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(r=document.activeElement),t.removeAttribute("aria-hidden"),i.appendChild(t),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return e.\u0275fac=function(t){return new(t||e)(g(Lt),g(Fe),g(Zt),g($i),g(DS))},e.\u0275cmp=We({type:e,selectors:[["snack-bar-container"]],viewQuery:function(t,i){if(1&t&&Xt(Il,7),2&t){let r;Ve(r=Be())&&(i._portalOutlet=r.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,i){1&t&&fp("@state.done",function(o){return i.onAnimationEnd(o)}),2&t&&gp("@state",i._animationState)},features:[de],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,i){1&t&&(T(0,"div",0),ye(1,C9e,0,0,"ng-template",1),M(),Ze(2,"div")),2&t&&(N(2),vt("aria-live",i._live)("role",i._role))},dependencies:[Il],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[E9e.snackBarState]}}),e})(),m2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[tf,Qh,wo,Pd,rn,rn]}),e})();const g2=new Pe("mat-snack-bar-default-options",{providedIn:"root",factory:function T9e(){return new DS}});let A9e=(()=>{class e{constructor(t,i,r,o,s,a){this._overlay=t,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=x9e,this.snackBarContainerComponent=k9e,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,i){return this._attach(t,i)}openFromTemplate(t,i){return this._attach(t,i)}open(t,i="",r){const o=Object.assign(Object.assign({},this._defaultConfig),r);return o.data={message:t,action:i},o.announcementMessage===t&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,i){const o=lr.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:DS,useValue:i}]}),s=new Od(this.snackBarContainerComponent,i.viewContainerRef,o),a=t.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(t,i){const r=Object.assign(Object.assign(Object.assign({},new DS),this._defaultConfig),i),o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new p2(s,o);if(t instanceof Ii){const l=new Za(t,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Od(t,void 0,l),u=s.attachComponentPortal(c);a.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(qt(o.detachments())).subscribe(l=>{const c=o.overlayElement.classList;l.matches?c.add(this.handsetCssClass):c.remove(this.handsetCssClass)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,i){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),i.duration&&i.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(i.duration))}_createOverlay(t){const i=new Zh;i.direction=t.direction;let r=this._overlay.position().global();const o="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!o||"end"===t.horizontalPosition&&o,a=!s&&"center"!==t.horizontalPosition;return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===t.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(t,i){return lr.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:p2,useValue:i},{provide:oY,useValue:t.data}]})}}return e.\u0275fac=function(t){return new(t||e)(J(Jo),J(G0),J(lr),J(f2),J(e,12),J(g2))},e.\u0275prov=Le({factory:function(){return new e(J(Jo),J(G0),J(Nx),J(f2),J(e,12),J(g2))},token:e,providedIn:m2}),e})();function sY(e,n){return n?t=>ey(n.pipe(fi(1),function M9e(){return Xi((e,n)=>{e.subscribe(yi(n,C))})}()),t.pipe(sY(e))):Qr((t,i)=>e(t,i).pipe(fi(1),fw(t)))}function y2(e,n=Oy){const t=Iy(e,n);return sY(()=>t)}const D9e=["mat-menu-item",""];function O9e(e,n){1&e&&(ws(),T(0,"svg",2),Ze(1,"polygon",3),M())}const aY=["*"];function I9e(e,n){if(1&e){const t=Sn();T(0,"div",0),_e("keydown",function(r){return Pt(t),Rt(ae()._handleKeydown(r))}
1)("click",function(){return Pt(t),Rt(ae().closed.emit("click"))})("@transformMenu.start",function(r){return Pt(t),Rt(ae()._onAnimationStart(r))})("@transformMenu.done",function(r){return Pt(t),Rt(ae()._onAnimationDone(r))}),T(1,"div",1),Mt(2),M()()}if(2&e){const t=ae();j("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),vt("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const OS={transformMenu:to("transformMenu",[ii("void",Ut({opacity:0,transform:"scale(0.8)"})),Ci("void => enter",Pi("120ms cubic-bezier(0, 0, 0.2, 1)",Ut({opacity:1,transform:"scale(1)"}))),Ci("* => void",Pi("100ms 25ms linear",Ut({opacity:0})))]),fadeInItems:to("fadeInItems",[ii("showing",Ut({opacity:1})),Ci("void => *",[Ut({opacity:0}),Pi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},lY=new Pe("MatMenuContent"),v2=new Pe("MAT_MENU_PANEL"),R9e=ga(Na(class{}));let IS=(()=>{class e extends R9e{constructor(t,i,r,o,s){super(),this._elementRef=t,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new nt,this._focused=new nt,this._highlighted=!1,this._triggersSubmenu=!1,o&&o.addItem&&o.addItem(this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,i;const r=this._elementRef.nativeElement.cloneNode(!0),o=r.querySelectorAll("mat-icon, .material-icons");for(let s=0;s<o.length;s++){const a=o[s];null===(t=a.parentNode)||void 0===t||t.removeChild(a)}return(null===(i=r.textContent)||void 0===i?void 0:i.trim())||""}_setHighlighted(t){var i;this._highlighted=t,null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(jt),g(Vo),g(v2,8),g(Zt))},e.\u0275cmp=We({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,i){1&t&&_e("click",function(o){return i._checkDisabled(o)})("mouseenter",function(){return i._handleMouseEnter()}),2&t&&(vt("role",i.role)("tabindex",i._getTabIndex())("aria-disabled",i.disabled.toString())("disabled",i.disabled||null),ft("mat-menu-item",!0)("mat-menu-item-highlighted",i._highlighted)("mat-menu-item-submenu-trigger",i._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[de],attrs:D9e,ngContentSelectors:aY,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,i){1&t&&(Nn(),Mt(0),Ze(1,"div",0),ye(2,O9e,2,0,"svg",1)),2&t&&(N(1),j("matRippleDisabled",i.disableRipple||i.disabled)("matRippleTrigger",i._getHostElement()),N(1),j("ngIf",i._triggersSubmenu))},dependencies:[tr,Gs],encapsulation:2,changeDetection:0}),e})();const cY=new Pe("mat-menu-default-options",{providedIn:"root",factory:function N9e(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let L9e=0,qv=(()=>{class e{constructor(t,i,r){this._elementRef=t,this._ngZone=i,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new ja,this._tabSubscription=Jt.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new nt,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new et,this.close=this.closed,this.panelId="mat-menu-panel-"+L9e++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=pt(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=pt(t)}set panelClass(t){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new pm(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe(pr(this._directDescendantItems),ss(t=>Wi(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(pr(this._directDescendantItems),ss(i=>Wi(...i.map(r=>r._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const i=t.keyCode,r=this._keyManager;switch(i){case 27:so(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(38===i||40===i)&&r.setFocusOrigin("keyboard"),r.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(fi(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const i=this._keyManager;if(i.setFocusOrigin(t).setFirstItemActive(),!i.activeItem&&this._directDescendantItems.length){let r=this._directDescendantItems.first._getHostElement().parentElement;for(;r;){if("menu"===r.getAttribute("role")){r.focus();break}r=r.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const i=Math.min(this._baseElevation+t,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(t=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===t,r["mat-menu-after"]="after"===t,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(pr(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Lt),g(cY))},e.\u0275dir=K({type:e,contentQueries:function(t,i,r){if(1&t&&(Wt(r,lY,5),Wt(r,IS,5),Wt(r,IS,4)),2&t){let o;Ve(o=Be())&&(i.lazyContent=o.first),Ve(o=Be())&&(i._allItems=o),Ve(o=Be())&&(i.items=o)}},viewQuery:function(t,i){if(1&t&&Xt(Ii,5),2&t){let r;Ve(r=Be())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),F9e=(()=>{class e extends qv{constructor(t,i,r){super(t,i,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Lt),g(cY))},e.\u0275cmp=We({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,i){2&t&&vt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[xt([{provide:v2,useExisting:e}]),de],ngContentSelectors:aY,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,i){1&t&&(Nn(),ye(0,I9e,3,6,"ng-template"))},dependencies:[Hs],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[OS.transformMenu,OS.fadeInItems]},changeDetection:0}),e})();const uY=new Pe("mat-menu-scroll-strategy"),V9e={provide:uY,deps:[Jo],useFactory:function $9e(e){return()=>e.scrollStrategies.reposition()}},hY=Wh({passive:!0});let B9e=(()=>{class e{constructor(t,i,r,o,s,a,l,c){this._overlay=t,this._element=i,this._viewContainerRef
1=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Jt.EMPTY,this._hoverSubscription=Jt.EMPTY,this._menuCloseSubscription=Jt.EMPTY,this._handleTouchStart=u=>{mR(u)||(this._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new et,this.onMenuOpen=this.menuOpened,this.menuClosed=new et,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof qv?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,hY),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _ariaExpanded(){return this.menuOpen||null}get _ariaControl(){return this.menuOpen?this.menu.panelId:null}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,hY),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),i=t.getConfig();this._setPosition(i.positionStrategy),i.hasBackdrop=this.menu.hasBackdrop??!this.triggersSubmenu(),t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof qv&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof qv?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(ni(r=>"void"===r.toState),fi(1),qt(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,i=this.menu.parentMenu;for(;i;)t++,i=i.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Zh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(i=>{this.menu.setPositionClasses("start"===i.connectionPair.overlayX?"after":"before","top"===i.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[i,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[o,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,l]=[o,s],[c,u]=[i,r],d=0;this.triggersSubmenu()?(u=i="before"===this.menu.xPosition?"start":"end",r=c="end"===i?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(a="top"===o?"bottom":"top",l="top"===s?"bottom":"top"),t.withPositions([{originX:i,originY:a,overlayX:c,overlayY:o,offsetY:d},{originX:r,originY:a,overlayX:u,overlayY:o,offsetY:d},{originX:i,originY:l,overlayX:c,overlayY:s,offsetY:-d},{originX:r,originY:l,overlayX:u,overlayY:s,offsetY:-d}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Wi(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Bt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ni(s=>s!==this._menuItemInstance),ni(()=>this._menuOpen)):Bt(),i)}_handleMousedown(t){pR(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const i=t.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ni(t=>t===this._menuItemInstance&&!t.disabled),y2(0,XP)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof qv&&this.menu._isAnimating?this.menu._animationDone.pipe(fi(1),y2(0,XP),qt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Za(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(g(Jo),g(Fe),g(Ui),g(uY),g(v2,8),g(IS,10),g(or,8),g(Vo))},e.\u0275dir=K({type:e,hostVars:3,hostBindings:function(t,i){1&t&&_e("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(o){return i._handleClick(o)}),2&t&&vt("aria-haspopup",i._ariaHaspopup)("aria-expanded",i._ariaExpanded)("aria-controls",i._ariaControl)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),e})(),U9e=(()=>{class e extends B9e{}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[de]}),e})(),PS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[V9e],imports:[wo,rn,Su,tf,wu,rn]}),e})(),RS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,rn]}),e})();const q9e=["*",[["mat-card-footer"]]],W9e=["*","mat-card-footer"];let $d=(()=>{class e{constructor(t){this._animationMode=t}}return e.\u0275fac=function(t){return new(t||e)(g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,i){2&t&&ft("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:W9e,decls:2,vars:0,template:function(t,i){1&t&&(Nn(q9e),Mt(0),Mt(1,1))}
1,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}
1.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),NS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,rn]}),e})(),X9e=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[rn,rn]}),e})(),LS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Id,Su,rn,SR,wo,Id,rn,SR,X9e]}),e})(),FS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[wo,rn,rn]}),e})(),CY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})(),$S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Su,rn,Cv,CY,rn,CY]}),e})();const FHe={provide:new Pe("mat-autocomplete-scroll-strategy"),deps:[Jo],useFactory:function LHe(e){return()=>e.scrollStrategies.reposition()}};let VS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[FHe],imports:[tf,Z0,rn,wo,wu,Z0,rn]}),e})();function UHe(e,n){1&e&&Mt(0)}const w2=["*"];function HHe(e,n){}const jHe=function(e){return{animationDuration:e}},zHe=function(e,n){return{value:e,params:n}},GHe=["tabBodyWrapper"],qHe=["tabHeader"];function WHe(e,n){}function KHe(e,n){1&e&&ye(0,WHe,0,0,"ng-template",9),2&e&&j("cdkPortalOutlet",ae().$implicit.templateLabel)}function YHe(e,n){1&e&&q(0),2&e&&ln(ae().$implicit.textLabel)}function QHe(e,n){if(1&e){const t=Sn();T(0,"div",6),_e("click",function(){const r=Pt(t),o=r.$implicit,s=r.index,a=ae(),l=Ro(1);return Rt(a._handleClick(o,l,s))})("cdkFocusChange",function(r){const s=Pt(t).index;return Rt(ae()._tabFocusChanged(r,s))}),T(1,"div",7),ye(2,KHe,1,1,"ng-template",8),ye(3,YHe,1,1,"ng-template",8),M()()}if(2&e){const t=n.$implicit,i=n.index,r=ae();ft("mat-tab-label-active",r.selectedIndex==i),j("id",r._getTabLabelId(i))("disabled",t.disabled)("matRippleDisabled",t.disabled||r.disableRipple),vt("tabIndex",r._getTabIndex(t,i))("aria-posinset",i+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),N(2),j("ngIf",t.templateLabel),N(1),j("ngIf",!t.templateLabel)}}function JHe(e,n){if(1&e){const t=Sn();T(0,"mat-tab-body",10),_e("_onCentered",function(){return Pt(t),Rt(ae()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Pt(t),Rt(ae()._setTabBodyWrapperHeight(r))}),M()}if(2&e){const t=n.$implicit,i=n.index,r=ae();ft("mat-tab-body-active",r.selectedIndex===i),j("id",r._getTabContentId(i))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",r.animationDuration),vt("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const EY=["tabListContainer"],kY=["tabList"],TY=["nextPaginator"],AY=["previousPaginator"],ZHe=new Pe("MatInkBarPositioner",{providedIn:"root",factory:function eje(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let BS=(()=>{class e{constructor(t,i,r,o){this._elementRef=t,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=o}alignToElement(t){this.show(),typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const i=this._inkBarPositioner(t),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Lt),g(ZHe),g(fr,8))},e.\u0275dir=K({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,i){2&t&&ft("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),e})();const MY=new Pe("MatTabContent"),DY=new Pe("MatTabLabel"),OY=new Pe("MAT_TAB"),tje=Na(class{}),IY=new Pe("MAT_TAB_GROUP");let PY=(()=>{class e extends tje{constructor(t,i){super(),this._viewContainerRef
1=t,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new nt,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Za(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}}return e.\u0275fac=function(t){return new(t||e)(g(Ui),g(IY,8))},e.\u0275cmp=We({type:e,selectors:[["mat-tab"]],contentQueries:function(t,i,r){if(1&t&&(Wt(r,DY,5),Wt(r,MY,7,Ii)),2&t){let o;Ve(o=Be())&&(i.templateLabel=o.first),Ve(o=Be())&&(i._explicitContent=o.first)}},viewQuery:function(t,i){if(1&t&&Xt(Ii,7),2&t){let r;Ve(r=Be())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[xt([{provide:OY,useExisting:e}]),de,ei],ngContentSelectors:w2,decls:1,vars:0,template:function(t,i){1&t&&(Nn(),ye(0,UHe,1,0,"ng-template"))},encapsulation:2}),e})();const nje={translateTab:to("translateTab",[ii("center, void, left-origin-center, right-origin-center",Ut({transform:"none"})),ii("left",Ut({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),ii("right",Ut({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Ci("* => left, * => right, left => center, right => center",Pi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ci("void => left-origin-center",[Ut({transform:"translate3d(-100%, 0, 0)"}),Pi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ci("void => right-origin-center",[Ut({transform:"translate3d(100%, 0, 0)"}),Pi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ije=(()=>{class e extends Il{constructor(t,i,r,o){super(t,i,o),this._host=r,this._centeringSub=Jt.EMPTY,this._leavingSub=Jt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(pr(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g(jc),g(Ui),g(Ln(()=>RY)),g(jt))},e.\u0275dir=K({type:e,selectors:[["","matTabBodyHost",""]],features:[de]}),e})(),rje=(()=>{class e{constructor(t,i,r){this._elementRef=t,this._dir=i,this._dirChangeSubscription=Jt.EMPTY,this._translateTabComplete=new nt,this._onCentering=new et,this._beforeCentering=new et,this._afterLeavingCenter=new et,this._onCentered=new et(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(fm((o,s)=>o.fromState===s.fromState&&o.toState===s.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const i=this._isCenterPosition(t.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const i=this._getLayoutDirection();return"ltr"==i&&t<=0||"rtl"==i&&t>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(or,8),g(Zt))},e.\u0275dir=K({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),RY=(()=>{class e extends rje{constructor(t,i,r){super(t,i,r)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(or,8),g(Zt))},e.\u0275cmp=We({type:e,selectors:[["mat-tab-body"]],viewQuery:function(t,i){if(1&t&&Xt(Il,5),2&t){let r;Ve(r=Be())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[de],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,i){1&t&&(T(0,"div",0,1),_e("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),ye(2,HHe,0,0,"ng-template",2),M()),2&t&&j("@translateTab",_p(3,zHe,i._position,Ju(1,jHe,i.animationDuration)))},dependencies:[ije],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[nje.translateTab]}}),e})();const NY=new Pe("MAT_TABS_CONFIG");let oje=0;class sje{}const aje=el(ga(class{constructor(e){this._elementRef=e}}),"primary");let lje=(()=>{class e extends aje{constructor(t,i,r,o){var s;super(t),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new ja,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=Jt.EMPTY,this._tabLabelSubscription=Jt.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new et,this.focusChange=new et,this.animationDone=new et,this.selectedTabChange=new et(!0),this._groupId=oje++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=null!==(s=r?.contentTabIndex)&&void 0!==s?s:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=pt(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Gr(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}
1get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=Gr(t,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),t&&i.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(t));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===t),i||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-t,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const i=this._tabs.toArray();for(let r=0;r<i.length;r++)if(i[r].isActive){this._indexToSelect=this._selectedIndex=r;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(pr(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(t){const i=this._tabHeader;i&&(i.focusIndex=t)}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const i=new sje;return i.index=t,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[t]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Wi(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,i,r){t.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(t,i){return t.disabled?null:this.selectedIndex===i?0:-1}_tabFocusChanged(t,i){t&&"mouse"!==t&&"touch"!==t&&(this._tabHeader.focusIndex=i)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(NY,8),g(fr,8))},e.\u0275dir=K({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",contentTabIndex:"contentTabIndex",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[de]}),e})(),cje=(()=>{class e extends lje{constructor(t,i,r,o){super(t,i,r,o)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(NY,8),g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["mat-tab-group"]],contentQueries:function(t,i,r){if(1&t&&Wt(r,PY,5),2&t){let o;Ve(o=Be())&&(i._allTabs=o)}},viewQuery:function(t,i){if(1&t&&(Xt(GHe,5),Xt(qHe,5)),2&t){let r;Ve(r=Be())&&(i._tabBodyWrapper=r.first),Ve(r=Be())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,i){2&t&&ft("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[xt([{provide:IY,useExisting:e}]),de],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,i){1&t&&(T(0,"mat-tab-header",0,1),_e("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),ye(2,QHe,4,14,"div",2),M(),T(3,"div",3,4),ye(5,JHe,1,9,"mat-tab-body",5),M()),2&t&&(j("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),N(2),j("ngForOf",i._tabs),N(1),ft("_mat-animation-noopable","NoopAnimations"===i._animationMode),N(2),j("ngForOf",i._tabs))},dependencies:function(){return[wl,tr,Il,Gs,gR,LY,RY,pje]}
1,styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();const uje=Na(class{});let LY=(()=>{class e extends uje{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(g(Fe))},e.\u0275dir=K({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,i){2&t&&(vt("aria-disabled",!!i.disabled),ft("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[de]}),e})();const FY=Wh({passive:!0});let VY=(()=>{class e{constructor(t,i,r,o,s,a,l){this._elementRef=t,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=s,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new nt,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new nt,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new et,this.indexFocused=new et,s.runOutsideAngular(()=>{ma(t.nativeElement,"mouseleave").pipe(qt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Gr(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){ma(this._previousPaginator.nativeElement,"touchstart",FY).pipe(qt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),ma(this._nextPaginator.nativeElement,"touchstart",FY).pipe(qt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Bt("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new pm(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),typeof requestAnimationFrame<"u"?requestAnimationFrame(r):r(),Wi(t,i,this._items.changes).pipe(qt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(r)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(qt(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!so(t))switch(t.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit
1(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const i=this._items?this._items.toArray()[t]:null;return!!i&&!i.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const i=this._items?this._items.toArray()[t]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:s}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=o,l=a+s):(l=this._tabList.nativeElement.offsetWidth-o,a=l-s);const c=this.scrollDistance,u=this.scrollDistance+r;a<c?this.scrollDistance-=c-a+60:l>u&&(this.scrollDistance+=l-u+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=t?t.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Iy(650,100).pipe(qt(Wi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(t);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(Ol),g(or,8),g(Lt),g($i),g(fr,8))},e.\u0275dir=K({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),fje=(()=>{class e extends VY{constructor(t,i,r,o,s,a,l){super(t,i,r,o,s,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=pt(t)}_itemSelected(t){t.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(Ol),g(or,8),g(Lt),g($i),g(fr,8))},e.\u0275dir=K({type:e,inputs:{disableRipple:"disableRipple"},features:[de]}),e})(),pje=(()=>{class e extends fje{constructor(t,i,r,o,s,a,l){super(t,i,r,o,s,a,l)}}return e.\u0275fac=function(t){return new(t||e)(g(Fe),g(Zt),g(Ol),g(or,8),g(Lt),g($i),g(fr,8))},e.\u0275cmp=We({type:e,selectors:[["mat-tab-header"]],contentQueries:function(t,i,r){if(1&t&&Wt(r,LY,4),2&t){let o;Ve(o=Be())&&(i._items=o)}},viewQuery:function(t,i){if(1&t&&(Xt(BS,7),Xt(EY,7),Xt(kY,7),Xt(TY,5),Xt(AY,5)),2&t){let r;Ve(r=Be())&&(i._inkBar=r.first),Ve(r=Be())&&(i._tabListContainer=r.first),Ve(r=Be())&&(i._tabList=r.first),Ve(r=Be())&&(i._nextPaginator=r.first),Ve(r=Be())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,i){2&t&&ft("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[de],ngContentSelectors:w2,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,i){1&t&&(Nn(),T(0,"div",0,1),_e("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Ze(2,"div",2),M(),T(3,"div",3,4),_e("keydown",function(o){return i._handleKeydown(o)}),T(5,"div",5,6),_e("cdkObserveContent",function(){return i._onContentChanges()}),T(7,"div",7),Mt(8),M(),Ze(9,"mat-ink-bar"),M()(),T(10,"div",8,9),_e("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Ze(12,"div",2),M()),2&t&&(ft("mat-tab-header-pagination-disabled",i._disableScrollBefore),j("matRippleDisabled",i._disableScrollBefore||i.disableRipple),N(5),ft("_mat-animation-noopable","NoopAnimations"===i._animationMode),N(5),ft("mat-tab-header-pagination-disabled",i._disableScrollAfter),j("matRippleDisabled",i._disableScrollAfter||i.disableRipple))},dependencies:[Gs,wv,BS],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;
1cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;
1cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),US=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[wo,rn,Qh,Su,Cv,vR,rn]}),e})(),Sje=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})(),HS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[wo,rn,Sje,Qh]}),e})();const WY=new Pe("mat-chips-default-options"),Qje={separatorKeyCodes:[13]};let jS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Rl,{provide:WY,useValue:Qje}],imports:[rn]}),e})();const Jje=["input"],Xje=function(e){return{enterDuration:e}},Zje=["*"],e7e=new Pe("mat-radio-default-options",{providedIn:"root",factory:function t7e(){return{color:"accent"}}});let KY=0;const n7e={provide:Zo,useExisting:Ln(()=>XY),multi:!0};class YY{constructor(n,t){this.source=n,this.value=t}}const QY=new Pe("MatRadioGroup");let JY=(()=>{class e{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+KY++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new et}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=pt(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=pt(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new YY(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(g(Zt))},e.\u0275dir=K({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e})(),XY=(()=>{class e extends JY{}return e.\u0275fac=function(){let n;return function(i){return(n||(n=dt(e)))(i||e)}}(),e.\u0275dir=K({type:e,selectors:[["mat-radio-group"]],contentQueries:function(t,i,r){if(1&t&&Wt(r,ZY,5),2&t){let o;Ve(o=Be())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[xt([n7e,{provide:QY,useExisting:e}]),de]}),e})();class i7e{constructor(n){this._elementRef=n}}const r7e=ga(nf(i7e));let o7e=(()=>{class e extends r7e{constructor(t,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispat
1cher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++KY,this.id=this._uniqueId,this.change=new et,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=Gr(c,0)),this._removeUniqueSelectionListener=s.listen((u,d)=>{u!==this.id&&d===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const i=pt(t);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(pt(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=pt(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,i){i?this._focusMonitor.focusVia(this._inputElement,i,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new YY(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputInteraction(t){if(t.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(g(JY),g(Fe),g(Zt),g(Vo),g(_S),g(String),g(void 0),g(String))},e.\u0275dir=K({type:e,viewQuery:function(t,i){if(1&t&&Xt(Jje,5),2&t){let r;Ve(r=Be())&&(i._inputElement=r.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[de]}),e})(),ZY=(()=>{class e extends o7e{constructor(t,i,r,o,s,a,l,c){super(t,i,r,o,s,a,l,c)}}return e.\u0275fac=function(t){return new(t||e)(g(QY,8),g(Fe),g(Zt),g(Vo),g(_S),g(fr,8),g(e7e,8),qo("tabindex"))},e.\u0275cmp=We({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,i){1&t&&_e("focus",function(){return i._inputElement.nativeElement.focus()}),2&t&&(vt("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ft("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[de],ngContentSelectors:Zje,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,i){if(1&t&&(Nn(),T(0,"label",0,1)(2,"span",2),Ze(3,"span",3)(4,"span",4),T(5,"input",5,6),_e("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),M(),T(7,"span",7),Ze(8,"span",8),M()(),T(9,"span",9)(10,"span",10),q(11,"\xa0"),M(),Mt(12),M()()),2&t){const r=Ro(1);vt("for",i.inputId),N(5),j("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex)("required",i.required),vt("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),N(2),j("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ju(18,Xje,i._noopAnimations?0:150)),N(2),ft("mat-radio-label-before","before"==i.labelPosition)}},dependencies:[Gs],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;
1left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),zS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Su,rn,rn]}),e})();const u7e={provide:new Pe("mat-tooltip-scroll-strategy"),deps:[Jo],useFactory:function c7e(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}};let Wv=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[u7e],imports:[vR,wo,tf,rn,rn,wu]}),e})(),Kv=(()=>{class e{constructor(){this.changes=new nt,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=t*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const x7e={provide:Kv,deps:[[new Cs,new Ua,Kv]],useFactory:function S7e(e){return e||new Kv}};let GS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[x7e],imports:[wo,Pd,Lv,Wv,rn]}),e})(),j7e=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[rR]]}),e})(),t1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[j7e,rn,rn]}),e})(),n1=(()=>{class e{constructor(){this.changes=new nt}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const mze={provide:n1,deps:[[new Cs,new Ua,n1]],useFactory:function pze(e){return e||new n1}};let i1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[mze],imports:[wo,rn]}),e})(),r1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Id,rn,Id,rn]}),e})(),Jv=(()=>{class e{constructor(){this.changes=new nt,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,i){return`${t} \u2013 ${i}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const rGe={provide:new Pe("mat-datepicker-scroll-strategy"),deps:[Jo],useFactory:function iGe(e){return()=>e.scrollStrategies.reposition()}};let l1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[Jv,rGe],imports:[wo,Pd,tf,vR,Qh,rn,wu]}),e})(),DQ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({}),e})(),c1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[DQ,Su,rn,Cv,DQ,rn]}),e})(),OGe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[Yh]]}),e})(),u1=(()=>{class e{constructor(){this.changes=new nt,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const ZGe={provide:u1,deps:[[new Cs,new Ua,u1]],useFactory:function XGe(e){return e||new u1}};let d1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[ZGe,Rl],imports:[rn,wo,Qh,Pd,OGe,Gv,Su,rn]}),e})(),jQ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[wo,rn,tR,wu,wu,rn]}),e})(),JQ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[TR]}),e})(),XQ=(()=>{class e{constructor(t,i){Cp(i)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Nl,useValue:Object.assign(Object.assign({},AR),t)},{provide:MR,useValue:i,multi:!0},{provide:af,useValue:!0}]:[{provide:Nl,useValue:Object.assign(Object.assign({},AR),t)},{provide:MR,useValue:i,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(J(af),J(Us))},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Tq,tY,JQ,Tq,tY,JQ]}),e})();function VWe(e,n){1&e&&(Or(0),T(1,"div",5),Ze(2,"common-spinner"),M(),Ir())}const UWe=["phoneContainer"],HWe=["phoneNumberComponentContainer"],jWe=["phoneNumberEl"];function zWe(e,n){if(1&e&&(T(0,"mat-select-trigger"),Ze(1,"img",26),M()),2&e){const t=ae(2);N(1),pp("title",null==t.countryCode||null==t.countryCode.value?null:t.countryCode.value.countryName),j("src",null==t.countryCode||null==t.countryCode.value?null:t.countryCode.value.countryFlag,Yi)}}function GWe(e,n){if(1&e&&(T(0,"mat-option",28)(1,"div",29),Ze(2,"img",30),T(3,"div",31),q(4),M(),T(5,"div",32),q(6),M()()()),2&e){const t=n.$implicit;j("value",t),N(2),j("src",t.countryFlag,Yi),N(2),ln(t.countryName),N(2),Ti("+",t.countryCode,"")}}function qWe(e,n){if(1&e&&(Or(0),ye(1,GWe,7,4,"mat-option",27),Ir()),2&e){const t=ae(2);N(1),j("ngForOf",t.countryOptions)}}function WWe(e,n){if(1&e&&(T(0,"mat-option",33)(1,"div",29),Ze(2,"img",30),T(3,"div",31),q(4,"No Matches"),M()()()),2&e){const t=ae(2);N(2),j("src",t.countryNoFlagImgPath,Yi)}}function KWe(e,n){if(1&e&&(T(0,"span",34),q(1),M()),2&e){const t=ae(2);N(1),Ti("+",null==t.countryCode||null==t.countryCode.value?null:t.countryCode.value.countryCode,"")}}function YWe(e,n){1&e&&Ze(0,"mat-icon",35)}function QWe(e,n){if(1&e){const t=Sn();T(0,"div",36)(1,"label",37),q(2,"Ext."),M(),T(3,"mat-form-field",38),_e("mouseover",function(){return Pt(t),Rt(ae(2).addFocusedClassExt())})("mouseleave",function(){Pt(t);const r=Ro(5),o=ae(2);return Rt(null!=r&&r.focused?null:o.addFocusedClassExt(!0))}),T(4,"input",39,40),_e("blur",function(){return Pt(t),Rt(ae(2).patchValueToControl())})("keypress",function(r){return Pt(t),Rt(ae(2).isNumberForExt(r))})("input",function(){return Pt(t),Rt(ae(2).isValidPhoneNumberExt())}),M()()()}if(2&e){const t=Ro(5),i=ae(2);N(3),ft("mat-focused",null==t?null:t.focused)("mat-form-field-invalid",i.showInvalidPhoneExtError),N(1),j("formControl",i.phoneNumberExtension)}}const JWe=function(e,n){return{"phone-with-fax":e,"phone-without-fax":n}};function XWe(e,n){if(1&e){const t=Sn();T(0,"div",1,2)(2,"div",3)(3,"div",4,5)(5,"div",6)(6,"label",7),q(7),M(),T(8,"mat-form-field",8),_e("mouseover",function(){return Pt(t),Rt(ae().addFocusedClass())})("mouseleave",function(){Pt(t);const r=Ro(24),o=ae();return Rt(null!=o.matSelect&&o.matSelect.focused||null!=r&&r.focused?null:o.addFocusedClass(!0))}),T(9,"mat-select",9,10),_e("openedChange",function(r){return Pt(t),Rt(ae().onCloseCountryDropDown(r))})("selectionChange",function(r){return Pt(t),Rt(ae().focusPhoneInput(r))}),ye(11,zWe,2,2,"mat-select-trigger",11),T(12,"div",12),Ze(13,"input",13),M(),T(14,"div",14),ye(15,qWe,2,1,"ng-container",15),ye(16,WWe,5,1,"ng-template",null,16,BE),M()()()(),T(18,"div",17)(19,"label",18),q(2
10),M(),T(21,"mat-form-field",19),_e("mouseover",function(){return Pt(t),Rt(ae().addFocusedClass())})("mouseleave",function(){Pt(t);const r=Ro(24),o=ae();return Rt(null!=o.matSelect&&o.matSelect.focused||null!=r&&r.focused?null:o.addFocusedClass(!0))}),ye(22,KWe,2,1,"span",20),T(23,"input",21,22),_e("blur",function(){return Pt(t),Rt(ae().patchValueToControl())})("keypress",function(r){return Pt(t),Rt(ae().isNumber(r))})("input",function(){return Pt(t),Rt(ae().isValidPhoneNumber())}),M(),ye(25,YWe,1,0,"mat-icon",23),M()()(),ye(26,QWe,6,5,"div",24),M(),T(27,"div",25)(28,"div"),q(29),M(),T(30,"div"),q(31),M()()()}if(2&e){const t=Ro(17),i=Ro(24),r=ae();N(7),Ig("",r.phoneNumberLabel,"",r.isRequired?"*":"",""),N(1),ft("mat-focused",(null==r.matSelect?null:r.matSelect.focused)||(null==i?null:i.focused))("mat-form-field-invalid",(r.phoneNumber.dirty||r.phoneNumber.touched)&&(r.phoneNumber.hasError("required")||r.phoneNumber.hasError("pattern"))||(r.countryCode.dirty||r.countryCode.touched)&&(r.countryCode.hasError("required")||r.countryCode.hasError("pattern"))||r.showInvalidPhoneError),N(1),pp("aria-label","Calling code "+(null==r.countryCode||null==r.countryCode.value?null:r.countryCode.value.countryName)+" +"+(null==r.countryCode||null==r.countryCode.value?null:r.countryCode.value.countryCode)),j("formControl",r.countryCode)("disableOptionCentering",!0),N(2),j("ngIf",null==r.countryCode?null:r.countryCode.value),N(2),j("formControl",r.countryCodeSearch),N(2),j("ngIf",r.countryOptions&&r.countryOptions.length)("ngIfElse",t),N(5),Ig("",r.phoneNumberLabel,"",r.isRequired?"*":"",""),N(1),ft("mat-focused",(null==r.matSelect?null:r.matSelect.focused)||(null==i?null:i.focused))("mat-form-field-invalid",(r.phoneNumber.dirty||r.phoneNumber.touched)&&(r.phoneNumber.hasError("required")||r.phoneNumber.hasError("pattern"))||(r.countryCode.dirty||r.countryCode.touched)&&(r.countryCode.hasError("required")||r.countryCode.hasError("pattern"))||r.showInvalidPhoneError),j("ngClass",_p(26,JWe,!r.isFaxNumber,r.isFaxNumber)),N(1),j("ngIf",null==r.countryCode?null:r.countryCode.value),N(1),j("formControl",r.phoneNumber),N(2),j("ngIf",r.showInvalidPhoneError||(r.phoneNumber.dirty||r.phoneNumber.touched)&&(r.phoneNumber.hasError("required")||r.phoneNumber.hasError("pattern"))),N(1),j("ngIf",!r.isFaxNumber),N(3),ln((r.phoneNumber.dirty||r.phoneNumber.touched)&&(r.phoneNumber.hasError("required")||r.phoneNumber.hasError("pattern"))||r.showInvalidPhoneError?"Please enter a valid phone number":""),N(2),ln(r.showInvalidPhoneExtError?"Extension should be 4 digit":"")}}function ZWe(e,n){if(1&e&&(T(0,"div",8),q(1),M()),2&e){const t=ae().$implicit;N(1),ln(t.description)}}function eKe(e,n){if(1&e&&(T(0,"mat-option",4)(1,"div",5)(2,"div",6),q(3),M(),ye(4,ZWe,2,1,"div",7),M()()),2&e){const t=n.$implicit;j("value",t),N(3),ln(t.name),N(1),j("ngIf",t.description)}}function tKe(e,n){if(1&e&&(Or(0),ye(1,eKe,5,3,"mat-option",3),Ir()),2&e){const t=ae();N(1),j("ngForOf",t.options)}}function nKe(e,n){if(1&e&&(T(0,"div",11),q(1),M()),2&e){const t=ae();N(1),ln(t.data.notificationTitle)}}function iKe(e,n){if(1&e&&(T(0,"p",12),q(1),M()),2&e){const t=ae();N(1),ln(t.data.notificationBody)}}const rKe=function(e,n,t,i){return{info:e,warning:n,success:t,error:i}};function oKe(e,n){if(1&e){const t=Sn();Or(0),T(1,"cp-common-notification",10),_e("closeNotification",function(){const o=Pt(t).index;return Rt(ae().closeNotification(o))}),M(),Ir()}if(2&e){const t=n.$implicit;N(1),j("data",t)}}function sKe(e,n){1&e&&(Or(0),T(1,"div",11),Ze(2,"common-spinner"),M(),Ir())}function aKe(e,n){if(1&e){const t=Sn();Or(0),T(1,"div",11)(2,"div",12)(3,"div"),q(4),M(),T(5,"button",13),_e("click",function(){return Pt(t),Rt(ae().immediateRedirectToIdp())}),q(6),M()()(),Ir()}if(2&e){const t=ae();N(4),ln(t.intermediateIdpRedirectPageMessage),N(2),ln(t.idpRedirectButtonText)}}function lKe(e,n){if(1&e&&(T(0,"div"),q(1),M()),2&e){const t=ae();N(1),ln(t.description)}}function cKe(e,n){if(1&e&&(T(0,"div"),q(1),M()),2&e){const t=ae();N(1),ln(t.content)}}function uKe(e,n){1&e&&(T(0,"div",17),q(1,"Before proceeding with this change, please ensure you have verified the identity of the user who requested the change."),M())}function dKe(e,n){1&e&&(T(0,"div")(1,"mat-icon",18),q(2,"error_outline"),M()())}function hKe(e,n){if(1&e&&(T(0,"div",19),q(1),M()),2&e){const t=ae();N(1),ln(t.subText)}}function fKe(e,n){if(1&e){const t=Sn();Or(0),T(1,"cp-common-notification",9),_e("closeNotification",function(){const o=Pt(t).index;return Rt(ae(2).closeNotification(o))}),M(),Ir()}if(2&e){const t=n.$implicit;N(1),j("data",t)}}function pKe(e,n){if(1&e&&(T(0,"mat-card",10)(1,"mat-card")(2,"div",11)(3,"div",12)(4,"div",13)(5,"div",14),q(6," First Name "),M(),T(7,"div",15),q(8),M()()(),T(9,"div",12)(10,"div",13)(11,"div",14),q(12," Last Name "),M(),T(13,"div",15),q(14),M()()(),T(15,"div",12)(16,"div",13)(17,"div",14),q(18," Email Address "),M(),T(19,"div",16),q(20),M()()()()()()),2&e){const t=ae(2);N(8),Ti(" ",t.user.profile.firstName," "),N(6),Ti(" ",t.user.profile.lastName," "),N(6),Ti(" ",t.user.profile.email," ")}}function mKe(e,n){if(1&e&&(T(0,"div",17),q(1),M()),2&e){const t=ae(2);N(1),Ti(" Manage your sign-in methods for the ",t.applicationDisplayName,". Choose any one authentication method to set up. For enhanced
1security, we recommend using a preferred authenticator. Pairing Text Message/Voice Call with another method is recommended but not required. The Security Key alone does not meet our authentication standards and must be paired with another method. ")}}function gKe(e,n){if(1&e&&(T(0,"div",17),q(1),M()),2&e){const t=ae(2);N(1),Ti(" Manage authentication methods for signing in to the ",t.applicationDisplayName,". When making changes to a user's Multi-Factor Authentication methods, make sure to verify the identity of the user requesting changes before making any updates. ")}}function yKe(e,n){1&e&&Ze(0,"img",28),2&e&&j("src",ae(3).successIconGreenPath,Yi)}function vKe(e,n){if(1&e){const t=Sn();T(0,"div",29)(1,"button",30),_e("click",function(){Pt(t);const r=ae(3);return Rt(r.setupApp(r.availableFactors.customFactor.factor))}),q(2,"Set Up"),M()()}}function _Ke(e,n){if(1&e){const t=Sn();Or(0),Ze(1,"div",31),T(2,"div",32)(3,"div",33)(4,"div",34),q(5),M(),T(6,"div",35)(7,"button",30),_e("click",function(){Pt(t);const r=ae(3);return Rt(r.removeAuthenticator(r.availableFactors.customFactor.id,"removeCustom"))}),q(8,"Remove"),M()()()(),Ir()}if(2&e){const t=ae(3);N(5),ln((null==t.availableFactors.customFactor||null==t.availableFactors.customFactor.profile?null:t.availableFactors.customFactor.profile.name)||"Authenticator App")}}function bKe(e,n){if(1&e&&(T(0,"mat-card",18)(1,"div",19),ye(2,yKe,1,1,"img",20),M(),T(3,"div",21)(4,"div",22)(5,"div",13)(6,"div",23),q(7,"Authenticator of\xa0Choice "),T(8,"span",24),q(9,"Recommended"),M()(),T(10,"div",25),q(11,"Use your preferred authenticator application, such as Google or Microsoft Authenticator, to verify your identity."),M()(),ye(12,vKe,3,0,"div",26),M(),ye(13,_Ke,9,1,"ng-container",27),M()()),2&e){const t=ae(2);N(2),j("ngIf",t.availableFactors.customFactor.isEnrolled),N(10),j("ngIf",!t.availableFactors.customFactor.isEnrolled&&t.isMyProfile),N(1),j("ngIf",t.availableFactors.customFactor.isEnrolled)}}function wKe(e,n){1&e&&Ze(0,"img",28),2&e&&j("src",ae(3).successIconGreenPath,Yi)}function CKe(e,n){if(1&e){const t=Sn();T(0,"div",37)(1,"button",30),_e("click",function(){Pt(t);const r=ae(3);return Rt(r.setupApp(r.availableFactors.oktaVerify.factor))}),q(2,"Set Up"),M()()}}function SKe(e,n){if(1&e){const t=Sn();Or(0),Ze(1,"div",31),T(2,"div",32)(3,"div",33)(4,"div",34),q(5),M(),T(6,"div",29)(7,"button",30),_e("click",function(){Pt(t);const r=ae(3);return Rt(r.removeAuthenticator(r.availableFactors.oktaVerify.id,"removeOkta"))}),q(8,"Remove"),M()()()(),Ir()}if(2&e){const t=ae(3);N(5),ln((null==t.availableFactors.oktaVerify||null==t.availableFactors.oktaVerify.profile?null:t.availableFactors.oktaVerify.profile.name)||"Okta Verify App")}}function xKe(e,n){if(1&e&&(T(0,"mat-card",18)(1,"div",19),ye(2,wKe,1,1,"img",20),M(),T(3,"div",21)(4,"div",22)(5,"div",13)(6,"div",23),q(7,"Okta Verify Authenticator"),T(8,"span",24),q(9,"Recommended"),M()(),T(10,"div",25),q(11,"Get a verification code from the Okta Verify authenticator mobile application."),M()(),ye(12,CKe,3,0,"div",36),M(),ye(13,SKe,9,1,"ng-container",27),M()()),2&e){const t=ae(2);N(2),j("ngIf",t.availableFactors.oktaVerify.isEnrolled),N(10),j("ngIf",!t.availableFactors.oktaVerify.isEnrolled&&t.isMyProfile),N(1),j("ngIf",t.availableFactors.oktaVerify.isEnrolled)}}function EKe(e,n){1&e&&Ze(0,"img",28),2&e&&j("src",ae(3).successIconGreenPath,Yi)}function kKe(e,n){if(1&e){const t=Sn();T(0,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.setupApp(r.availableFactors.oktaPhone.factor))}),q(1,"Set Up"),M()}}function TKe(e,n){if(1&e){const t=Sn();T(0,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.setupApp(r.availableFactors.oktaSms.isEnrolled?r.availableFactors.oktaPhone.factor:r.availableFactors.oktaSms.factor))}),q(1,"Add New Phone"),M()}}function AKe(e,n){if(1&e&&(T(0,"div",29),ye(1,kKe,2,0,"button",39),ye(2,TKe,2,0,"button",39),M()),2&e){const t=ae(3);N(1),j("ngIf",!t.availableFactors.oktaPhone.isEnrolled&&!t.availableFactors.oktaSms.isEnrolled),N(1),j("ngIf",!t.availableFactors.oktaPhone.isEnrolled&&t.availableFactors.oktaSms.isEnrolled||t.availableFactors.oktaPhone.isEnrolled&&!t.availableFactors.oktaSms.isEnrolled)}}function MKe(e,n){if(1&e){const t=Sn();T(0,"div",43)(1,"div",44)(2,"div",45),q(3,"Text"),M(),Ze(4,"div",46),T(5,"div",34),q(6),M()(),T(7,"div",29)(8,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.removeAuthenticator(r.availableFactors.oktaSms.id,"removePhone","Text"))}),q(9,"Remove"),M()()()}if(2&e){const t=ae(4);N(6),Ti("",null==t.availableFactors.oktaSms||null==t.availableFactors.oktaSms.profile?null:t.availableFactors.oktaSms.profile.phoneNumber," ")}}function DKe(e,n){1&e&&Ze(0,"div",31)}function OKe(e,n){if(1&e){const t=Sn();T(0,"div",43)(1,"div",44)(2,"div",47),q(3,"Voice Call"),M(),Ze(4,"div",46),T(5,"div",34),q(6),M()(),T(7,"div",29)(8,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.removeAuthenticator(r.availableFactors.oktaPhone.id,"removePhone","Voice Call"))}),q(9,"Remove"),M()()()}if(2&e){const t=ae(4);N(6),Ti("",null==t.availableFactors.oktaPhone||null==t.availableFactors.oktaPhone.profile?null:t.availableFactors.oktaPhone.profile.phoneNumber," ")}}function IKe(e,n){if(1&e&&(Or(0),Ze(1,"div",31),T(2,"div",40),ye(3,MKe,10,1,"div",41),ye(4,DKe,1,0,"div",42),ye(5,OKe,10,1,"div",41),M(),Ir()),2&e){const t=ae(3);N(3),j("ngIf",t.availableFactors.oktaSms.isEnrolled),N(1),j("ngIf",t.availableFactors.oktaPhone.isEnrolled&&t.availableFactors.oktaSms.isEnrolled),N(1),j("ngIf",t.availableFactors.oktaPhone.isEnrolled)}}const PKe=function(e,n){return{"deepblue-mfa-authenticator-list-actions-flex-column":e,"deepblue-mfa-authenticator-list-actions-flex-row":n}};function RKe(e,n){if(1&e&&(T(0,"mat-card",18)(1,"div",19),ye(2,EKe,1,1,"img",20),M(),T(3,"div",21)(4,"div",38)(5,"div",13)(6,"div",23),q(7,"Text Message/Voice Call "),M(),T(8,"div",25),q(9,"Verify with a code delivered via text message or voice call."),M()(),ye(10,AKe,3,2,"div",26),M(),ye(11,IKe,6,3,"
1ng-container",27),M()()),2&e){const t=ae(2);N(2),j("ngIf",t.availableFactors.oktaPhone.isEnrolled||t.availableFactors.oktaSms.isEnrolled),N(2),j("ngClass",_p(4,PKe,!t.availableFactors.oktaPhone.isEnrolled&&t.availableFactors.oktaSms.isEnrolled,!t.availableFactors.oktaPhone.isEnrolled||!t.availableFactors.oktaSms.isEnrolled)),N(6),j("ngIf",t.isMyProfile),N(1),j("ngIf",t.availableFactors.oktaPhone.isEnrolled||t.availableFactors.oktaSms.isEnrolled)}}function NKe(e,n){1&e&&Ze(0,"img",28),2&e&&j("src",ae(3).successIconGreenPath,Yi)}function LKe(e,n){if(1&e){const t=Sn();T(0,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.setupApp(r.availableFactors.oktaSecurity.factor))}),q(1,"Set Up"),M()}}function FKe(e,n){if(1&e){const t=Sn();T(0,"button",30),_e("click",function(){Pt(t);const r=ae(4);return Rt(r.setupApp(r.availableFactors.oktaSecurity.factor))}),q(1,"Add new Security Key"),M()}}function $Ke(e,n){if(1&e&&(T(0,"div",49),ye(1,LKe,2,0,"button",39),ye(2,FKe,2,0,"button",39),M()),2&e){const t=ae(3);N(1),j("ngIf",0==(null==t.oktaSecurityFactors?null:t.oktaSecurityFactors.length)),N(1),j("ngIf",(null==t.oktaSecurityFactors?null:t.oktaSecurityFactors.length)>0&&t.oktaSecurityFactors.length<3)}}function VKe(e,n){if(1&e){const t=Sn();Or(0),Ze(1,"div",31),T(2,"div",32)(3,"div",33)(4,"div",34),q(5),M(),T(6,"div",29)(7,"button",30),_e("click",function(){const o=Pt(t).$implicit;return Rt(ae(4).removeAuthenticator(o.id,"removeSecurity"))}),q(8,"Remove"),M()()()(),Ir()}if(2&e){const t=n.$implicit;N(5),ln(null==t||null==t.profile?null:t.profile.authenticatorName)}}function BKe(e,n){if(1&e&&(Or(0),ye(1,VKe,9,1,"ng-container",2),Ir()),2&e){const t=ae(3);N(1),j("ngForOf",t.oktaSecurityFactors)}}function UKe(e,n){if(1&e&&(T(0,"mat-card",18)(1,"div",19),ye(2,NKe,1,1,"img",20),M(),T(3,"div",21)(4,"div",22)(5,"div",13)(6,"div",23),q(7,"Security Key"),M(),T(8,"div",25),q(9,"Verify with a device\u2019s native authenticator, such as Face ID, Touch ID, or a Windows Hello."),M()(),ye(10,$Ke,3,2,"div",48),M(),ye(11,BKe,2,1,"ng-container",27),M()()),2&e){const t=ae(2);N(2),j("ngIf",(null==t.oktaSecurityFactors?null:t.oktaSecurityFactors.length)>0),N(8),j("ngIf",t.isMyProfile),N(1),j("ngIf",(null==t.oktaSecurityFactors?null:t.oktaSecurityFactors.length)>0)}}function HKe(e,n){if(1&e){const t=Sn();T(0,"mat-card",50)(1,"div",51)(2,"button",52),_e("click",function(){return Pt(t),Rt(ae(2).goBack())}),q(3,"DONE"),M()()()}}function jKe(e,n){if(1&e&&(T(0,"div",1),ye(1,fKe,2,1,"ng-container",2),T(2,"div",3),q(3,"Manage Multi-Factor Authentication "),M(),ye(4,pKe,21,3,"mat-card",4),ye(5,mKe,2,1,"div",5),ye(6,gKe,2,1,"div",5),T(7,"mat-card",6),ye(8,bKe,14,3,"mat-card",7),ye(9,xKe,14,3,"mat-card",7),ye(10,RKe,12,7,"mat-card",7),ye(11,UKe,12,3,"mat-card",7),M(),ye(12,HKe,4,0,"mat-card",8),M()),2&e){const t=ae();N(1),j("ngForOf",t.notifications),N(3),j("ngIf",!t.isMyProfile),N(1),j("ngIf",t.isMyProfile),N(1),j("ngIf",!t.isMyProfile),N(2),j("ngIf",t.availableFactors.customFactor.isAvailable),N(1),j("ngIf",t.availableFactors.oktaVerify.isAvailable),N(1),j("ngIf",t.availableFactors.oktaPhone.isAvailable||t.availableFactors.oktaSms.isAvailable),N(1),j("ngIf",t.availableFactors.oktaSecurity.isAvailable),N(1),j("ngIf",t.availableFactors.customFactor.isEnrolled||t.availableFactors.oktaVerify.isEnrolled||t.availableFactors.oktaPhone.isEnrolled||t.availableFactors.oktaSms.isEnrolled)}}function zKe(e,n){if(1&e&&(T(0,"div")(1,"mat-radio-button",34)(2,"span",35),q(3),M()()()),2&e){const t=n.$implicit;N(1),pp("title",t),j("value",t),N(2),ln(t)}}function GKe(e,n){if(1&e){const t=Sn();T(0,"div",36)(1,"p",5),q(2,"We emailed an activation link to "),T(3,"span",37),q(4),M()(),T(5,"p",35),q(6,"Open the activation link from your mobile device to finish setting up Okta Verify."),M(),T(7,"a",28),_e("click",function(){return Pt(t),Rt(ae().goBack("verifyAnotherWay"))}),q(8,"Set up Okta Verify another way"),M()()}if(2&e){const t=ae();N(4),Ti("",t.emailAddress.value,".")}}function qKe(e,n){if(1&e){const t=Sn();T(0,"div",36)(1,"div")(2,"p",5),q(3,"We texted an activation link to "),T(4,"span",37),q(5),M()()(),T(6,"div")(7,"p",35),q(8,"Open the activation link from your mobile device to finish setting up Okta Verify."),M()(),T(9,"div")(10,"a",28),_e("click",function(){return Pt(t),Rt(ae().goBack("verifyAnotherWay"))}),q(11,"Set up Okta Verify another way"),M()()()}if(2&e){const t=ae();N(5),Ti("+",t.phoneControl.value.phoneNumberRaw,".")}}const W2=function(e){return{"custom-btn-disabled":e}},WKe=["verificationNumberComponentContainer"];function KKe(e,n){1&e&&(T(0,"mat-icon",32),q(1," error_outline"),M())}function YKe(e,n){if(1&e){const t=Sn();T(0,"button",13),_e("click",function(){return Pt(t),Rt(ae(2).setCallSelected(!0))}),T(1,"div",14),q(2,"Text Message"),M(),T(3,"div",15),q(4,"Receive a code via text message. "),M()()}if(2&e){const t=ae(2);ft("deepblue-mfa-phone-option-button-active",!t.routeState.isCallEnrolled&&t.isTextSelected)}}function QKe(e,n){if(1&e){const t=Sn();T(0,"button",13),_e("click",function(){return Pt(t),Rt(ae(2).setCallSelected(!1))}),T(1,"div",14),q(2,"Voice Call"),M(),T(3,"div",15),q(4,"Receive a code via voice call. "),M()()}if(2&e){const t=ae(2);ft("deepblue-mfa-phone-option-button-active",!t.routeState.isSmsEnrolled&&!t.isTextSelected)}}function JKe(e,n){if(1&e&&(T(0,"div",11),ye(1,YKe,5,2,"button",12),ye(2,QKe,5,2,"button",12),M()),2&e){const t=ae();N(1),j("ngIf",!t.routeState.isSmsEnrolled),N(1),j("ngIf",!t.routeState.isCallEnrolled)}}function XKe(e,n){1&e&&(T(0,"div"),q(1,"Carrier call charges may apply."),M())}function ZKe(e,n){1&e&&(T(0,"div"),q(1,"Carrier SMS charges may apply."),M())}function eYe(e,n){if(1&e){const t=Sn();T(0,"div",11)(1,"deepblue-phone-number",18),_e("phoneNumberStatusChange",function(r){return Pt(t),Rt(ae(2).phoneNumberStatusChange(r))}),M()()}if(2&e){const t=ae(2);
1N(1),j("control",t.phoneControl)("isFaxNumber",t.isTextSelected)("patchAsSeparateValues",!0)}}function tYe(e,n){if(1&e){const t=Sn();T(0,"div",11)(1,"deepblue-phone-number",19),_e("phoneNumberStatusChange",function(r){return Pt(t),Rt(ae(2).phoneNumberStatusChange(r))}),M()()}if(2&e){const t=ae(2);N(1),j("control",t.phoneControl)("isFaxNumber",t.isTextSelected)("patchAsSeparateValues",!0)}}function nYe(e,n){if(1&e&&(T(0,"form")(1,"div",16)(2,"div",17)(3,"div"),q(4,"Enter your phone number to receive a verification code."),M(),ye(5,XKe,2,0,"div",4),ye(6,ZKe,2,0,"div",4),M(),ye(7,eYe,2,3,"div",3),ye(8,tYe,2,3,"div",3),M()()),2&e){const t=ae();N(5),j("ngIf",!t.isTextSelected),N(1),j("ngIf",t.isTextSelected),N(1),j("ngIf",t.isTextSelected),N(1),j("ngIf",!t.isTextSelected)}}function iYe(e,n){if(1&e&&(T(0,"div",17),q(1,"We are calling your phone number ending in "),T(2,"span",34),q(3),_b(4,"slice"),M(),q(5,". Please answer and enter the code to verify your phone number. "),M()),2&e){const t=ae(2);N(3),ln(IE(4,1,t.currentPhoneNumber,-4))}}function rYe(e,n){if(1&e&&(T(0,"div",17),q(1,"Please enter the verification code we sent via text message to phone number ending in "),T(2,"span",34),q(3),_b(4,"slice"),M(),q(5,". It may take a few minutes to arrive. "),M()),2&e){const t=ae(2);N(3),ln(IE(4,1,t.currentPhoneNumber,-4))}}function oYe(e,n){1&e&&(T(0,"mat-icon",35),q(1," error_outline"),M())}function sYe(e,n){if(1&e&&(T(0,"div"),q(1),M()),2&e){const t=ae(2);N(1),ln(t.verificationCode.hasError("inValid")||t.verificationCode.hasError("pattern")||t.isInvalidCode?"Incorrect verification code. Please try again.":"")}}function aYe(e,n){if(1&e&&(T(0,"p",36),q(1),M()),2&e){const t=ae(2);N(1),Ti("Resend after ",t.remainingTimeLeft?t.remainingTimeLeft:t.timeLeft," seconds.")}}function lYe(e,n){if(1&e){const t=Sn();T(0,"button",37),_e("click",function(){return Pt(t),Rt(ae(2).onSubmit())}),q(1),M()}if(2&e){const t=ae(2);N(1),Ti(" ",t.isTextSelected?"Send code again":"Call again"," ")}}function cYe(e,n){if(1&e&&(T(0,"div",20)(1,"div",21),ye(2,iYe,6,4,"div",22),ye(3,rYe,6,4,"div",22),T(4,"div",23)(5,"div",24)(6,"label",25),q(7,"Verification Code*"),M()(),T(8,"div",26)(9,"mat-form-field",27),Ze(10,"input",28),ye(11,oYe,2,0,"mat-icon",29),M(),T(12,"div",30),ye(13,sYe,2,1,"div",4),T(14,"div"),q(15),M()()()(),T(16,"div",31),q(17,"Code will expire in 5 minutes. "),ye(18,aYe,2,1,"p",32),ye(19,lYe,2,1,"button",33),M()()()),2&e){const t=ae();N(2),j("ngIf",!t.isTextSelected),N(1),j("ngIf",t.isTextSelected),N(5),j("ngClass",t.isInvalidCode?"deepblue-mfa-error-field":null),N(2),j("formControl",t.verificationCode),N(1),j("ngIf",(t.verificationCode.hasError("required")||t.verificationCode.hasError("pattern")||t.verificationCode.hasError("inValid"))&&(t.verificationCode.dirty||t.verificationCode.touched)),N(2),j("ngIf",!t.verificationCode.hasError("required")),N(2),ln((t.verificationCode.dirty||t.verificationCode.touched)&&t.verificationCode.hasError("required")?"Please enter the verification code.":""),N(3),j("ngIf",t.isTimerStarted),N(1),j("ngIf",!t.isTimerStarted)}}function uYe(e,n){if(1&e&&(T(0,"div"),q(1),M()),2&e){const t=ae();N(1),ln(t.description)}}function dYe(e,n){if(1&e&&(T(0,"div"),q(1),M()),2&e){const t=ae();N(1),ln(t.content)}}class K2{constructor(n,t,i,r){this.notificationType=n,this.notificationTitle=t,this.notificationBody=i,this.navLink=r}}let Iu=(()=>{class e{constructor(){this.loaderSubject=new nt,this.notifications=[],this.notificationSubject=ne
1w os(this.notifications),this.onEnrollMfa=new nt,this.onRemoveMfa=new nt}setLoader(t){this.loaderSubject.next(t)}errorMessage(t,i,r=!0){const o=new K2("error",t,i);if(!r)return o;this.notifications.push(o),this.notificationSubject.next(this.notifications)}successMessage(t,i,r=!0){const o=new K2("success",t,i);if(!r)return o;this.notifications.push(o),this.notificationSubject.next(this.notifications)}warningMessage(t,i,r=!0){const o=new K2("warning",t,i);if(!r)return o;this.notifications.push(o),this.notificationSubject.next(this.notifications)}closeNotification(t,i=!1){i?(this.notifications=[],this.notificationSubject.next(this.notifications)):(this.notifications.splice(t,1),this.notificationSubject.next(this.notifications))}onEnrollMfaNext(t){this.onEnrollMfa.next(t)}onRemoveMfaNext(t){this.onRemoveMfa.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gs=(()=>{class e{constructor(){this.showIntermediatePageForIdpRedirect=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Pu=(()=>{class e{constructor(t,i,r){this.httpClient=t,this.config=i,this.router=r,this.appleAppStoreLink="https://apps.apple.com/in/app/okta-verify/id490179405",this.googlePlayStoreLink="https://play.google.com/store/apps/details?id=com.okta.android.auth",this.baseUrl=this.config.apiUrl}getEnrolledFactorsForUser(t){return this.httpClient.get(this.baseUrl+`/enrolledFactors?userId=${t}`,{headers:this.setHeaders()})}getfactorsUserCanEnroll(t){return this.httpClient.get(this.baseUrl+`/factors?userObjectId=${t}`,{headers:this.setHeaders()})}removefactor(t){return this.httpClient.delete(this.baseUrl+`/removeFactor?userId=${t.userId}&factorId=${t.factorId}&shouldExecuteMfaGroupChange=true`,{headers:this.setHeaders()})}enrollFactor(t){const s=function Hl(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t}(t,["factorName","userId","email"]);return this.httpClient.post(this.baseUrl+`/verifyEnrollment?userId=${t.userId}`,s,{headers:this.setHeaders()})}activateFactor(t,i){return this.httpClient.post(this.baseUrl+`/activate?userId=${t.userId}&factorId=${t.factorId}`,i,{headers:this.setHeaders()})}pollOktaVerifyFactor(t){return this.httpClient.post(this.baseUrl+`/verifyPoll?userId=${t.userId}&factorId=${t.factorId}`,t,{headers:this.setHeaders()})}oktaVerifyCantScanLink(t){return this.httpClient.post(this.baseUrl+`/okta-cant-scan?factorId=${t.factorId}&userId=${t.userId}&enrollWith=${t.type}`,t.requestBody,{headers:this.setHeaders()})}hasSameNumberEnrolledForVoiceAndSms(t){return new Promise(r=>{this.httpClient.get(this.baseUrl+`/isSamePhoneNumber?userId=${t}`).subscribe(o=>{r(o.data)},o=>{r(!1)})})}isMfaDisabledForUser(t){return new Promise(r=>{this.httpClient.get(this.baseUrl+`/isMfaDisabledForUser/${t}`,{headers:this.setHeaders()}).subscribe(o=>{r(o)},o=>{r(!0)})})}setHeaders(){const t={},i=localStorage.getItem("okta-token-storage"),r=JSON.parse(i);return r&&(t.Authorization="Bearer "+r.accessToken.accessToken),t}startMfaSetup(t){this.router.navigateByUrl(`/${t.routePrefix}/user-mfa-management/setup`,{state:t})}}return e.\u0275fac=function(t){return new(t||e)(J(Kg),J(gs),J(Ai))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Y2;const ZQ=null===(Y2=window.__PRELOADED_STATE__)||void 0===Y2?void 0:Y2.application,hYe=ZQ.applicationRoutePrefix?`${ZQ.applicationRoutePrefix}/user-mfa-management`:"wifidashboard-auth/user-mfa-management";let xc=(()=>{class e{constructor(t,i,r,o,s,a,l){this.authStateService=t,this.oktaAuth=i,this.router=r,this.config=o,this.uSService=s,this.oktaSubjectService=a,this.cookieService=l,this.options={el:"#sign-in-widget",logo:"assets/comcastLogoBlack.svg",i18n:{en:{"primaryauth.title":"Sign in to the $$$","primaryauth.username.placeholder":"Email Address","oform.next":"C
1ontinue","model.validation.field.blank":"Please enter the verification code","oie.select.authenticators.enroll.title":"Let\u2019s finish setting up your authentication methods","oie.select.authenticators.enroll.subtitle":"To protect your account, choose any one authentication method to set up. Recommended options offer enhanced security.\n If you choose Text Message/Voice Call, pairing with another method is recommended but not required. For Security Key, you must first enroll in another method, as it cannot be used alone.\n You only need one method to sign in.","oie.okta_verify.label":"Okta Verify Authenticator","oie.okta_verify.authenticator.description":"Get a verification code from the Okta Verify authenticator mobile application.","oie.phone.label":"Text Message/Voice Call","oie.phone.authenticator.description":"Verify with a code delivered via text message or voice call.","oie.webauthn.label":"Security Key","oie.webauthn.description":"Verify with a device\u2019s native authenticator, such as Face ID, Touch ID, or a Windows Hello.","oie.enroll.authenticator.usage.text.access":"","oie.enroll.switch.authenticator":"Back","oie.enroll.okta_verify.qrcode.step1":"Download the Okta Verify mobile application from the Apple App Store or Google Play","oie.enroll.okta_verify.qrcode.step3":"When prompted, tap Scan a QR code, and then scan the QR code on this screen","oie.optional.authenticator.button.title":"Continue","mfa.challenge.enterCode.placeholder":"Verification Code*","mfa.challenge.enterCode.tooltip":"Verification Code*","mfa.challenge.verify":"Continue","oie.enroll.webauthn.save":"Continue","errors.E0000004":"Incorrect email address or password. Please try again.","oie.okta_verify.totp.title":"Okta Verify App Code","oie.okta_verify.push.title":"Okta Verify App Push Notification","oie.phone.verify.call.sendText":'Select <span style="font-weight:bold">Call Now</span> to recieve a call to this phone number <br/>',"oie.okta_verify.sendPushButton":"Send Push Notification",autoPush:"Send push automatically when verifying with this method","oie.okta_verify.totp.enterCodeText":"Verification Code*","oie.verification.switch.authenticator":"Verify another way","oie.phone.verify.enterCodeText":" ","oform.errorbanner.title":" ","oie.google_authenticator.label":"Authenticator of Choice","oie.google_authenticator.authenticator.description":"Use your preferred authenticator application, such as Google or Microsoft Authenticator, to verify your identity.","oie.phone.enroll.sms.label":"Text Message","oie.enroll.google_authenticator.setup.title":"Set Up Authenticator","oie.enroll.google_authenticator.enterCode.title":"Enter the verification code from your authenticator application.","oie.google_authenticator.otp.enterCodeText":"Verification Code*","oie.phone.enroll.title":"Set Up Text Message/Voice Call","oie.phone.enroll.call.subtitle":"Enter your phone number to receive a verification code.","oie.phone.enroll.sms.subtitle":"Enter your phone number to receive a verification code.","oie.phone.call.primaryButton":"Send Code","oie.phone.sms.primaryButton":"Send Code","oie.phone.verify.call.resendText":"Code will expire in 5 minutes.","oie.phone.verify.sms.resendText":"Code will expire in 5 minutes.","oie.enroll.webauthn.instructions":"Security keys are specific to the enrolled device and will open corresponding device\u2019s native authenticator, such as Windows Hello, Touch ID, etc. If you expect to sign in to the $$$ from multiple devices, it\u2019s recommended to have Okta Verify as an authentication option.","enroll.webauthn.biometric.title":"Set Up Security Key","oie.enroll.webauthn.title":"Set Up Security Key","oie.enroll.okta_verify.setup.title":"Set Up Okta Verify Authenticator","oie.enroll.okta_verify.select.channel.title":"Can\u2019t Scan the QR Code?","oie.enroll.okta_verify.select.channel.description":"Select an option to activate your Okta Verify account:","oie.enroll.okta_verify.enroll.channel.email.title":"Email Okta Verify Setup Link","oie.enroll.okta_verify.channel.email.description":"We will send an activation link to the email below. You will need to access the link from the device that Okta Verify is installed.","oie.enroll.okta_verify.channel.email.label":"Email Address*","oie.enroll.okta_verify.setupLink":"Send Link","oie.enroll.okta_verify.switch.channel.link.text":'<a href="#" class="switch-channel-link">Set up Okta Verify another way</a>',"oie.enroll.okta_verify.channel.sms.description":"Enter your phone number to receive an activation link.","oie.enroll.okta_verify.enroll.channel.sms.title":"Text Okta Verify Setup Link","oie.enroll.okta_verify.email.info":"We emailed an activation link to <b>{0}</b>. <br/> <br/>Open the activation link from your mobile device to finish setting up Okta Verify. <br/> <br/>","oie.enroll.okta_verify.sms.info":"We texted an activation link to <b>{0}</b>. <br/> <br/>Open the activation link from your mobile device to finish setting up Okta Verify. <br/> <br/>","oie.enroll.okta_verify.setup.email.title":"Activation Link Sent","oie.enroll.okta_verify.setup.sms.title":"Activation Link Sent","oie.password.challenge.title":"Sign in with your email address","oie.verify.authenticator.button.text":"Continue","oie.select.authenticators.verify.title":"Verify it's you","oie.select.authenticators.verify.subtitle":"Select an authentication option to verify your identity.","oie.verify.google_authenticator.otp.title":"Enter code","oie.verify.google_authenticator.otp.description":"Enter the verification code from your authenticator application.","oie.email.challenge.mfa.title":"Security verification","oie.email.verify.subtitle.text.with.email":"Select Send Email to send a verification code and link to: {0}","oie.email.verify.primaryButton":"Send email","oie.email.mfa.title":"Security verification","oie.email.verify.alternate.magicLinkToEmailAddress":"We sent an email with a verification link to {0}.","oie.email.verify.alternate.instructions":"It may take a few minutes to arrive.","oie.verify.webauth.title":"Security verification","oie.phone.verify.title":"Security verification","oie.phone.verify.sms.sendText":" ","oie.phone.carrier.charges":"C
1arrier call or SMS charges may apply.","oie.verify.webauthn.instructions":"You will be prompted to verify with this device\u2019s native security key. Please note that you must be on a device that was used when setting up Multi-Factor Authentication.","oie.phone.verify.sms.codeSentText":" ","authfactor.challenge.soft_token.invalid_passcode":"Incorrect verification code. Please try again.","oie.enroll.google_authenticator.cannotScanBarcode.title":"Can\u2019t Scan the QR Code?","api.authn.error.PASSCODE_INVALID":"Incorrect verification code. Please try again.","oie.okta_verify.push.sent":"Push notification sent. Please open it from your device."}},features:{scrollOnError:!1,rememberMe:!0,rememberMyUsernameOnOIE:!0}},this.widgetActions=new nt,this.authenticator={call:"Phone Authentication",sms:"Phone Authentication",webauthn:"Security Key",push:"Okta Verify","token:software:totp":"Authenticator App"},this.options.logo=this.config.assetsUrl?this.config.assetsUrl+"comcastLogoBlack.svg":this.options.logo,this.options=Object.assign(Object.assign({},this.options),this.config.oktaClientDetails),this.options.i18n.en["primaryauth.title"]=`Sign in to ${this.config.applicationDisplayName}`,this.options.i18n.en["oie.enroll.webauthn.instructions"]=this.options.i18n.en["oie.enroll.webauthn.instructions"].replace("$$$",this.config.applicationDisplayName),this.config.configCustomizations&&Object.keys(this.config.configCustomizations).forEach(c=>{this.options.i18n.en[c]=this.config.configCustomizations[c]}),this.widget=new lG(this.options),this.oktaAuth.setOriginalUri("/")}getWidgetForEmailVerify(t,i){return this.options=Object.assign(Object.assign({},this.options),{state:t,otp:i}),this.widget=new lG(this.options),this.widget}getWidget(){return this.widget}getOktaAuthInstance(){return this.oktaAuth}renderWidget(){this.widget.showSignInToGetTokens(this.options).then(t=>Zn(this,void 0,void 0,function*(){const i=localStorage.getItem("hasSkippedEnrollment"),r=localStorage.getItem("isMfaEnrollmentFlow");this.cookieService.deleteAll("/"),localStorage.clear();const o=t&&t.refreshToken&&t.refreshToken.refreshToken?t.refreshToken.refreshToken:"",s=t&&t.accessToken&&t.accessToken.accessToken?t.accessToken.accessToken:"";this.tokens=t;const a=new Date(1e3*t.accessToken.expiresAt),l=new Date(1e3*t.refreshToken.expiresAt);this.cookieService.set("access_token",s,{path:"/",sameSite:"None",secure:!0,expires:a}),this.cookieService.set("refresh_token",o,{path:"/",sameSite:"None",secure:!0,expires:l}),localStorage.setItem("okta-token-storage",JSON.stringify(t));let c=document.querySelector("body");c&&(c.style.height="auto");const u=this.widget.getUser();if(r)if(u&&this.uSService.getEnrolledFactorsForUser(u.id).subscribe(d=>{d.data.filter(y=>"active"==y.status.toLowerCase()&&"signed_nonce"!=y.factorType&&"email"!=y.factorType&&("okta"!=y.provider.toLowerCase()||"token:software:totp"!=y.factorType)).forEach(y=>{this.oktaSubjectService.onEnrollMfaNext({authenticator:this.authenticator[y.factorType],userId:u.id,user:u})})},()=>{console.log("Error getting audits")}),i){if(this.config.redirectToExternalUrl&&""!==this.config.redirectToExternalUrl)return void(window.location.href=this.config.redirectToExternalUrl);this.router.navigateByUrl(this.config.routeToNavigateOnLogin||"/")}else this.router.navigateByUrl(`${hYe}/mfa-success`);else{if(this.config.redirectToExternalUrl&&""!==this.config.redirectToExternalUrl)return void(window.location.href=this.config.redirectToExternalUrl);this.router.navigateByUrl(this.config.routeToNavigateOnLogin||"/")}})).catch(t=>{throw t})}removeWidget(){this.widget.off(),this.widget.remove()}isAuthenticated(){return this.widget.authClient.isAuthenticated()}signOut(){this.widget.authClient.signOut()}setTokensAndRedirect(){this.oktaAuth.handleLoginRedirect(this.tokens)}isTokenAvailable(){return!!this.tokens}getSecurityKeyAuth(t){return t._embedded.activation.challenge=Ru.strToBin(t._embedded.activation.challenge),t._embedded.activation.user.id=Ru.strToBin(t._embedded.activation.user.id),t._embedded.activation.excludeCredentials=t._embedded.activation.excludeCredentials.map(r=>Object.assign(Object.assign({},r),{id:Ru.strToBin(r.id)})),navigator.credentials.create({publicKey:t._embedded.activation})}widgetActionsNext(t){this.widgetActions.next(t)}getEnrolledFactors(){return Zn(this,void 0,void 0,function*(){return yield this.oktaAuth.idx.poll()})}goToLogin(){this.router.navigateByUrl(this.config.loginPageRoute||"/login-okta")}getActiveEnrolledFactors(){return Zn(this,void 0,void 0,function*(){try{return(yield this.getEnrolledFactors()).context.authenticatorEnrollments.value.filter(r=>"Email"!=r.displayName&&"Password"!=r.displayName)}catch{return[]}})}getEnrolledFactors2(){return Zn(this,void 0,void 0,function*(){try{return(yield this.oktaAuth.idx.poll())?.context.authenticatorEnrollments.value.filter(i=>"Email"!=i.displayName&&"Password"!=i.displayName)}catch{return[]}})}}return e.\u0275fac=function(t){return new(t||e)(J(GM),J(mC),J(Ai),J(gs),J(Pu),J(Iu),J(Dl))},e.\u0275prov=Le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ru={getStringHash:function(e){let n=5381,t=e.length;for(;t;)n=33*n^e.charCodeAt(--t);return n>>>0},base64UrlSafeToBase64:function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},binToStr:function(e){return btoa(new Uint8Array(e).reduce((n,t)=>n+String.fromCharCode(t),""))},strToBin:function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),n=>n.charCodeAt(0))}};var Gi=(()=>(function(e){e[e.SESSION_TIMED_OUT=1]="SESSION_TIMED_OUT",e[e.ENTER_EMAIL=2]="ENTER_EMAIL",e[e.ON_CLICK_FORGOT_PASSWORD=3]="ON_CLICK_FORGOT_PASSWORD",e[e.ON_CLICK_BACK_MFA_MANAGEMENT=4]="ON_CLICK_BACK_MFA_MANAGEMENT",e[e.ON_CANCEL_MFA_SETUP=5]="ON_CANCEL_MFA_SETUP",e[e.INVALID_EMAIL_LINK=6]="INVALID_EMAIL_LINK",e[e.PRIMARY_AUTH=7]="PRIMARY_AUTH",e[e.MFA_SETUP=8]="MFA_SETUP",e[e.MFA_SETUP_CLICK=9]="MFA_SETUP_CLICK",e[e.PHONE_ENROLL_TYPE_SWITCH=10]="PHONE_ENROLL_TYPE_SWITCH",e[e.PHONE_ENROLL_SEND_OTP_CLICK=11]="PHONE_ENROLL_SEND_OTP_CLICK",e[e.PHONE_ENROLL_OTP_VERIFICATION_CLICK=12]="PHONE_ENROLL_OTP_VERIFICATION_CLICK",e[e.OKTA_CANT_SCAN_CLICK=13]="OKTA_CANT_SCAN_CLICK",e[e.CUSTOM_AUTHENTICATOR_CANT_SCAN_CLICK=14]="CUSTOM_AUTHENTICATOR_CANT_SCAN_CLICK",e[e.CUSTOM_AUTHENTICATOR_CONTINUE_CLICK=15]="CUSTOM_AUTHENTICATOR_CONTINUE_CLICK",e[e.CUSTOM_AUTHENTICATOR_VERIFY_OTP_CLICK=16]="CUSTOM_AUTHENTICATOR_VERIFY_OTP_CLICK",e[e.SECURITY_KEY_CONTINUE_CLICK=17]="SECURITY_KEY_CONTINUE_CLICK",e[e.OKTA_VERIFY_PAGE_LANDING=18]="OKTA_VERIFY_PAGE_LANDING",e[e.OKTA_VERIFY_SETUP_LINK_IF_CANT_SCAN=19]="OKTA_VERIFY_SETUP_LINK_IF_CANT_SCAN",e[e.CUSTOMIZE_CUSTOM_AUTHENTICATOR_ENROLL=20]="CUSTOMIZE_CUSTOM_AUTHENTICATOR_ENROLL",e[e.CUSTOMIZE_SETUP_SECURITY_KEY_PAGE=21]="
1CUSTOMIZE_SETUP_SECURITY_KEY_PAGE",e[e.SETUP_TEXT_OR_VOICE_CALL_AUTHENTICATION_PAGE=22]="SETUP_TEXT_OR_VOICE_CALL_AUTHENTICATION_PAGE",e[e.BACK_FROM_OKTA_VERIFY_ENROLL_VIEW=23]="BACK_FROM_OKTA_VERIFY_ENROLL_VIEW",e[e.BACK_FROM_OKTA_PHONE_ENROLL_VIEW=24]="BACK_FROM_OKTA_PHONE_ENROLL_VIEW",e[e.BACK_FROM_AUTHENTICATOR_ENROLL_VIEW=25]="BACK_FROM_AUTHENTICATOR_ENROLL_VIEW",e[e.BACK_FROM_SECURITY_KEY_ENROLL_VIEW=26]="BACK_FROM_SECURITY_KEY_ENROLL_VIEW"}(Gi||(Gi={})),Gi))();let Q2=(()=>{class e{constructor(t,i,r){this.dialogRef=t,this.ngZone=i,this.config=r,this.iconCancelPath=this.config.assetsUrl?this.config.assetsUrl+"icon-cancel.svg":"assets/icon-cancel.svg"}ngOnInit(){}onCancel(t){this.ngZone.run(()=>{this.dialogRef.close(t)})}onSignout(t){this.ngZone.run(()=>{this.dialogRef.close(t)})}}return e.\u0275fac=function(t){return new(t||e)(g(gm),g(Lt),g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-okta-signout-popup"]],decls:19,vars:1,consts:[["fxLayout","row wrap",1,"deepblue-mfa-dialog-background"],["fxFlex","100%","fxLayoutAlign","end center",1,"deepblue-mfa-mat-dialog-content-close"],["color","accent","mat-icon-button","",1,"mat-dialog-close-button","hyperButtonLink",3,"click"],["alt","Icon Close",1,"mat-dialog-close-button-icon",3,"src"],[1,"deepblue-mfa-mat-dialog-content"],["fxLayout","row wrap","fxFlex","100%"],["fxFlex","100%",1,"deepblue-mfa-common-content","mst","size-32","bold","deepblue-mfa-color-black"],["fxLayout","row wrap","fxFlex","100","fxLayoutGap","10px",1,"deepblue-mfa-margin-t-20"],["fxFlex","100",2,"padding-bottom","10px"],["fxLayout","column"],[1,"deepblue-mfa-margin-b-20"],["fxFlex","100%","fxLayoutAlign","end center",1,"deepblue-mfa-close-popup-actions"],["fxLayout","row wrap","fxFlex","100%","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","submit",1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"button",2),_e("click",function(){return i.onCancel(!1)}),Ze(3,"img",3),M()(),T(4,"mat-dialog-content",4)(5,"div",5)(6,"div",6),q(7,"Are you sure you want to sign out?"),M(),T(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10),q(12,"If you sign out now, you will be prompted to set up an authentication method the next time you try to sign in."),M()()()(),T(13,"div",11)(14,"div",12)(15,"button",13),_e("click",function(){return i.onCancel(!1)}),q(16,"Cancel"),M(),T(17,"button",14),_e("click",function(){return i.onSignout(!0)}),q(18," Yes, Sign out"),M()()()()()()),2&t&&(N(3),j("src",i.iconCancelPath,Yi))},dependencies:[xu,Bo,Xo,ps,kR,qs],styles:[".deepblue-mfa-dialog-background[_ngcontent-%COMP%]{display:block!important}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}.deepblue-mfa-mat-dialog-content-close[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}@media (max-width: 600px){.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%]{justify-content:center}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;width:100%}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}@media (max-width: 420px){.deepblue-mfa-common-content[_ngcontent-%COMP%]{font-size:30px}}@media (max-width: 375px){.deepblue-mfa-common-content[_ngcontent-%COMP%]{font-size:28px}}"]}),e})();var J2;const eJ=null===(J2=window.__PRELOADED_STATE__)||void 0===J2?void 0:J2.application,fYe=eJ.applicationRoutePrefix?`${eJ.applicationRoutePrefix}/user-mfa-management`:"wifidashboard-auth/user-mfa-management";let tJ=(()=>{class e{constructor(t,i,r,o,s,a,l){this.oktaWidgetService=t,this.mdDialog=i,this.router=r,this.location=o,this.cdRef=s,this.config=a,this.cookieService=l,this.iconComcastPath=this.config.assetsUrl?this.config.assetsUrl+"comcast.svg":"assets/comcast.svg"}ngOnInit(){this.router.events.subscribe(t=>{(t instanceof ld||t instanceof ly||t instanceof bT)&&this.setUpView()}),this.setUpView()}setUpView(){this.showCloseButton=this.router.url==`${fYe}/setup`,this.cdRef.detectChanges()}login(){return Zn(this,void 0,void 0,function*(){window.location.href=this.config.redirectToExternalUrl})}ngOnDestroy(){}signout(){const t=this.mdDialog.open(Q2,{width:"65%",maxWidth:"700px"});t.afterClosed().subscribe(i=>Zn(this,void 0,void 0,function*(){i?this.config.signOutUrl&&""!==this.config.signOutUrl?(this.oktaWidgetService.widgetActionsNext({message:"User cancelled MFA setup",actionId:Gi.ON_CANCEL_MFA_SETUP}),window.open(this.config.signOutUrl,"_self")):(this.backToSignIn?this.backToSignIn.click():this.oktaWidgetService.signOut(),this.oktaWidgetService.widgetActionsNext({message:"User cancelled MFA setup",actionId:Gi.ON_CANCEL_MFA_SETUP})):t.close()}))}}return e.\u0275fac=function(t){return new(t||e)(g(xc),g(ym),g(Ai),g(ks),g(Zt),g(gs),g(Dl))},e.\u0275cmp=We({type:e,selectors:[["deepblue-mfa-okta-header"]],decls:6,vars:1,consts:[["fxLayout","column"],["fxFlex","100%","fxLayout","row","fxLayoutAlign","space-between",1,"mfa-header","whiteColor"],["fxLayoutAlign","center center",1,"comcaste-icon"],["alt","Icon Comcast",1,"comcast-svg-icon",3,"src"],["fxLayoutAlign","center center",1,"blue_link","cancel-icon",2,"color","white","background-color","black",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"div",2),Ze(3,"img",3),M(),T(4,"button",4),_e("click",function(){return i.signout()}),q(5," SIGN OUT "),M()()()),2&t&&(N(3),j("src",i.iconComcastPath,Yi))},dependencies:[Bo,Xo,ps],styles:[".mfa-header[_ngcontent-%COMP%]{background:black;height:80px!important;min-height:80px!important;width:100%!important;top:0;z-index:9}.comcast-svg-icon[_ngcontent-%COMP%]{width:85px!important;height:30px!important}.cancel-icon[_ngcontent-%COMP%]{text-transform:uppercase;margin-right:20px;letter-spacing:1.5px;font-family:Montserrat;font-size:14px;font-weight:400}.whiteColor[_ngcontent-%COMP%]{color:#fff}.comcaste-icon[_ngcontent-%COMP%]{width:100px;padding-left:20px}.blue_link[_ngcontent-%COMP%]{cursor:pointer}"]}),e})(),nJ=(()=>{class e{constructor(t){this.config=t,this.logoFacebookPath=this.config.assetsUrl?this.config.assetsUrl+"facebook.svg":"assets/facebook.svg",this.logoLinkedInPath=this.config.assetsUrl?this.config.assetsUrl+"linkedIn.svg":"assets/linkedIn.svg",this.logotwitterPath=this.config.assetsUrl?this.config.assetsUrl+"twitter.svg":"assets/twitter.svg"}ngOnInit(){this.currentYear=(new Date).getFullYear()}}return e.\u0275fac=function(t){return new(t||e)(g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-okta-footer"]],decls:29,vars:4,consts:[[1,"mfa-footer"],[1,"mfa-footer-nav"],[1,"mfa-footer-col"],["href","https://business.comcast.com/community/","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://business.comcast.com/enterprise","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://www.xfinity.com/privacy/policy","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://www.xfinity.com/privacy/manage-preference","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://www.xfinity.com/corporate/legal/visitorAgreement","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://business.comcast.com/terms-conditions-ent","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://collect.iperceptions.com/?lID=1&rn=129237&vm=1&pID=5&hs1=102214&hs2=102226&uni=1&siteID=1&am=true&referrer=Link&sdfc=355b766d-129237-c733c77b-141a-42d7-be9f-2e52b426622b&source=102226&hv1=custname~Aarons%20Inc.&hv2=email%7eSienna_Puryear%40comcast.com&hv3=ecccsource%7e2","target","_blank",1,"deepblue-mfa-common-content","lato"],["href","https://www.xfinity.com/privacy/policy/staterights#california","target","_blank",1,"deepblue-mfa-common-content","lato"],[1,"mfa-footer-copyright"],[1,"social-media-links"],["href","https://www.facebook.com/ComcastBusiness"],["alt","Icon Facebook",2,"vertical-align","middle",3,"src"],["href","https://www.linkedin.com/company/comcast-business/mycompany/","target","_blank"],["alt","Icon LinkedIn",2,"vertical-align","middle",3,"src"],["href","https://twitter.com/comcastbusiness","target","_blank"],["alt","Icon Twitter",2,"vertical-align","middle",3,"src"]],template:function(t,i){1&t&&(T(0,"footer",0)(1,"div",1)(2,"div",2)(3,"a",3),q(4,"Community"),M(),T(5,"a",4),q(6,"About Us"),M(),T(7,"a",5),q(8,"Privacy Statement"),M()(),T(9,"div",2)(10,"a",6),q(11,"Your Privacy Choices"),M(),T(12,"a",7),q(13,"Visitor Agreement"),M(),T(14,"a",8),q(15,"Terms & Conditions"),M(),T(16,"a",9),q(17,"Website Feedback"),M(),T(18,"a",10),q(19,"Notice At Collection"),M()()(),T(20,"span",11),q(21),M(),T(22,"div",12)(23,"a",13),Ze(24,"img",14),M(),T(25,"a",15),Ze(26,"img",16),M(),T(27,"a",17),Ze(28,"img",18),M()()()),2&t&&(N(21),Ti("\xa9",i.currentYear," Comcast Corporation"),N(3),j("src",i.logoFacebookPath,Yi),N(2),j("src",i.logoLinkedInPath,Yi),N(2),j("src",i.logotwitterPath,Yi))},styles:[".mfa-footer[_ngcontent-%COMP%]{bottom:0;width:100%;padding-bottom:20px;padding-top:20px;text-align:center;background-color:#000;color:#dbe6ed;font-size:14px;font-weight:400}.deepblue-footer-nav[_ngcontent-%COMP%]{display:table;width:100%}.mfa-footer-col[_ngcontent-%COMP%]{display:table-cell;width:50%;text-align:left}.mat_icon_logo[_ngcontent-%COMP%]{height:32px!important;width:32px!important}.mfa-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%]{height:32px;margin-top:24px}.mfa-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block}.mfa-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] + a[_ngcontent-%COMP%]{margin-left:24px}.mfa-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px}@media only screen and (min-device-width: 300px) and (max-device-width: 760px){.mfa-footer[_ngcontent-%COMP%]{padding:0 15px 20px;background:black}.mfa-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:20px}}.mfa-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;color:#dbe6ed;margin-top:24px}.mfa-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}@media only screen and (min-width: 960px){.mfa-footer-nav[_ngcontent-%COMP%]{display:inline-block;width:auto}.mfa-footer-col[_ngcontent-%COMP%]{display:inline-block;width:auto}.mfa-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;width:auto;text-decoration:none}.mfa-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%] + a[_ngcontent-%COMP%]{margin-left:24px}.mfa-footer-col[_ngcontent-%COMP%] + .mfa-footer-col[_ngcontent-%COMP%]{margin-left:24px}.mfa-footer-copyright[_ngcontent-%COMP%]{display:inline-block;padding-top:0;border-top:none;margin-left:24px}}span.mfa-footer-copyright[_ngcontent-%COMP%]{margin-top:24px!important}@media only screen and (max-width: 600px){.mfa-footer-nav[_ngcontent-%COMP%]{display:inline-grid!important}}@media only screen and (min-width: 360px) and (max-width: 959px){footer.mfa-footer[_ngcontent-%COMP%]{padding:0 30px 30px}.mfa-footer-nav[_ngcontent-%COMP%]{display:table;width:100%}span.mfa-footer-copyright[_ngcontent-%COMP%]{display:flex;padding-top:24px;border-top:1px solid #cecece}.social-media-links[_ngcontent-%COMP%]{display:flex}}"]}),e})(),X2=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=We({type:e,selectors:[["common-spinner"]],decls:3,vars:0,consts:[[1,"ux-like"],["diameter","50","mode","determinate","value","100",1,"back"],["diameter","50"]],template:function(t,i){1&t&&(T(0,"div",0),Ze(1,"mat-spinner",1)(2,"mat-spinner",2),M())},dependencies:[I4e],styles:[".mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%] circle[_ng
1content-%COMP%]{stroke:#cdcdcd!important;stroke-linecap:round!important;stroke-width:4px!important;opacity:.6!important}[_nghost-%COMP%] .back circle{stroke-opacity:.2!important}.ux-like[_ngcontent-%COMP%] .mat-progress-spinner[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%)}"]}),e})(),pYe=(()=>{class e{constructor(t,i,r,o,s){this.oktaSubjectService=t,this.oktaWidgetService=i,this.cdRef=r,this.cookieService=o,this.config=s,this.notifications=[]}ngOnInit(){this.otaAuth=this.oktaWidgetService.getOktaAuthInstance(),this.otaAuth.tokenManager.on(Hp,(t,i)=>{var r;const o=new Date(1e3*i.expiresAt);if(this.cookieService.delete("appName","/"),this.cookieService.set("appName",null===(r=this.config)||void 0===r?void 0:r.applicationId,{path:"/",sameSite:"None",secure:!0,expires:o}),t===Up.ACCESS){let s=i;this.cookieService.delete("access_token","/"),this.cookieService.set("access_token",s.accessToken,{path:"/",sameSite:"None",secure:!0,expires:o})}else if(t===Up.REFRESH){let s=i;this.cookieService.delete("refresh_token","/"),this.cookieService.set("refresh_token",s.refreshToken,{path:"/",sameSite:"None",secure:!0,expires:o})}localStorage.removeItem("persist:root")}),this.oktaSubjectService.loaderSubject.subscribe(t=>{this.showLoader=t,this.cdRef.detectChanges()}),this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(t=>{this.notifications=t,this.notifications.length&&setTimeout(()=>{this.oktaSubjectService.closeNotification(null,!0)},1e4)})}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g(Iu),g(xc),g(Zt),g(Dl),g(gs))},e.\u0275cmp=We({type:e,selectors:[["lib-okta"]],decls:6,vars:1,consts:[["fxFlex","100%","fxLayout","column","fxLayoutAlign","space-between center","fxLayoutGap","40px",1,"okta-module-container"],[1,"w100Percent"],["fxLayoutAlign","center center",1,"okta-module-content"],["fxLayoutAlign","end center",1,"w100Percent"],[4,"ngIf"],["fxFlex","100%","fxLayoutAlign","center center",1,"okta-spinner"]],template:function(t,i){1&t&&(T(0,"div",0),Ze(1,"deepblue-mfa-okta-header",1),T(2,"div",2),Ze(3,"router-outlet"),M(),Ze(4,"cp-okta-footer",3),M(),ye(5,VWe,3,0,"ng-container",4)),2&t&&(N(5),j("ngIf",i.showLoader))},dependencies:[tJ,nJ,X2,Xo,Bo,ps,qs,xw,tr],styles:[".okta-module-container[_ngcontent-%COMP%] {\n max-height: max-content;\n min-height: 100vh;\n background: #f7f7f7;\n }\n \n .okta-module-content[_ngcontent-%COMP%] {\n \n width: 100% !important;\n background: #f7f7f7;\n max-width: 1400px !important;\n margin: 0px auto;\n padding: 0px 24px;\n display: block !important;\n }\n \n .w100Percent[_ngcontent-%COMP%] {\n width: 100%;\n }"]}),e})(),iJ=(()=>{class e{constructor(t,i,r){this.dialogRef=t,this.ngZone=i,this.config=r,this.iconCancelPath=this.config.assetsUrl?this.config.assetsUrl+"icon-cancel.svg":"assets/icon-cancel.svg"}ngOnInit(){}onClick(t){this.ngZone.run(()=>{this.dialogRef.close(t)})}}return e.\u0275fac=function(t){return new(t||e)(g(gm),g(Lt),g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-okta-close-popup"]],decls:19,vars:1,consts:[["fxLayout","row wrap",1,"deepblue-mfa-dialog-background"],["fxFlex","100%","fxLayoutAlign","end center",1,"deepblue-mfa-mat-dialog-content-close"],["color","accent","mat-icon-button","",1,"mat-dialog-close-button","hyperButtonLink",3,"click"],["alt","Icon Comcast",1,"mat-dialog-close-button-icon",3,"src"],[1,"deepblue-mfa-mat-dialog-content"],["fxLayout","row wrap","fxFlex","100%"],["fxFlex","100%",1,"deepblue-mfa-common-content","mst","size-32","bold","deepblue-mfa-color-black"],["fxLayout","row wrap","fxFlex","100","fxLayoutGap","10px",1,"deepblue-mfa-margin-t-20"],["fxFlex","100",2,"padding-bottom","10px"],["fxLayout","column"],[1,"deepblue-mfa-margin-b-20"],["fxFlex","100%","fxLayoutAlign","end center",1,"deepblue-mfa-close-popup-actions"],["fxLayout","row wrap","fxFlex","100%","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","submit",1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"button",2),_e("click",function(){return i.onClick(!1)}),Ze(3,"img",3),M()(),T(4,"mat-dialog-content",4)(5,"div",5)(6,"div",6),q(7,"Additional authentication method required"),M(),T(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10),q(12,"If you sign out now, you will be prompted to set up an authentication method the next time you try to sign in."),M()()()(),T(13,"div",11)(14,"div",12)(15,"button",13),_e("click",function(){return i.onClick(!0)}),q(16,"Sign Out"),M(),T(17,"button",14),_e("click",function(){return i.onClick(!1)}),q(18," Go Back"),M()()()()()()),2&t&&(N(3),j("src",i.iconCancelPath,Yi))},dependencies:[xu,Bo,Xo,ps,kR,qs],styles:[".deepblue-mfa-dialog-background[_ngcontent-%COMP%]{display:block!important}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}.deepblue-mfa-mat-dialog-content-close[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}@media (max-width: 600px){.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%]{justify-content:center}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;width:100%}.deepblue-mfa-close-popup-actions[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}@media (max-width: 420px){.deepblue-mfa-common-content[_ngcontent-%COMP%]{font-size:30px}}@media (max-width: 375px){.deepblue-mfa-common-content[_ngcontent-%COMP%]{font-size:28px}}"]}),e})();const mYe=[{countryName:"Albania",countryCode:355,countryId:"AL"},{countryName:"Algeria",countryCode:213,countryId:"DZ"},{countryName:"Angola",countryCode:244,countryId:"AO"},{countryName:"Argentina",countryCode:54,countryId:"AR"},{countryName:"Armenia",countryCode:374,countryId:"AM"},{countryName:"Australia",countryCode:61,countryId:"AU"},{countryName:"Austria",countryCode:43,countryId:"AT"},{countryName:"Azerbaijan",countryCode:994,countryId:"AZ"},{countryName:"Bahamas",countryCode:1,countryId:"BS"},{countryName:"Bahrain",countryCode:973,countryId:"BH"},{countryName:"Bangladesh",countryCode:880,countryId:"BD"},{countryName:"Barbados",countryCode:1,countryId:"BB"},{countryName:"Belarus",countryCode:375,countryId:"BY"},{countryName:"Belgium",countryCode:32,countryId:"BE"},{countryName:"Belize",countryCode:501,countryId:"BZ"},{countryName:"Bermuda",countryCode:1,countryId:"BM"},{countryName:"Bolivia",countryCode:591,countryId:"BO"},{countryName:"Bosnia and Herzegovina",countryCode:387,countryId:"BIH"},{countryName:"Botswana",countryCode:267,countryId:"BW"},{countryName:"Brazil",countryCode:55,countryId:"BR"},{countryName:"Bulgaria",countryCode:359,countryId:"BG"},{countryName:"Canada",countryCode:1,countryId:"CA"},{countryName:"Cayman Islands",countryCode:1,countryId:"KY"},{countryName:"Chile",countryCode:56,countryId:"CL"},{countryName:"China",countryCode:86,countryId:"PRC"},{countryName:"Colombia",countryCode:57,countryId:"CO"},{countryName:"Costa Rica",countryCode:506,countryId:"CR"},{countryName:"Czech Republic",countryCode:420,countryId:"CZ"},{countryName:"Denmark",countryCode:45,countryId:"DK"},{countryName:"Dominican Republic",countryCode:1,countryId:"DO"},{countryName:"Ecuador",countryCode:593,countryId:"EU"},{countryName:"Egypt",countryCode:20,countryId:"EG"},{countryName:"El Salvador",countryCode:503,countryId:"SV"},{countryName:"Falkland Islands",countryCode:500,countryId:"FK"},{countryName:"Fiji",countryCode:679,countryId:"FJ"},{countryName:"Finland",countryCode:358,countryId:"FI"},{countryName:"France",countryCode:33,countryId:"FR"},{countryName:"French Guiana",countryCode:594,countryId:"GF"},{countryName:"Georgia",countryCode:995,countryId:"GE"},{countryName:"Germany",countryCode:49,countryId:"DE"},{countryName:"Ghana",countryCode:233,countryId:"GH"},{countryName:"Greece",countryCode:30,countryId:"GR"},{countryName:"Guatemala",countryCode:502,countryId:"GT"},{countryName:"Guyana",countryCode:592,countryId:"GY"},{countryName:"Haiti",countryCode:509,countryId:"HT"},{countryName:"Honduras",countryCode:504,countryId:"HN"},{countryName:"Hungary",countryCode:36,countryId:"HU"},{countryName:"Iceland",countryCode:354,countryId:"IS"},{countryName:"India",countryCode:91,countryId:"IN"},{countryName:"Indonesia",countryCode:62,countryId:"ID"},{countryName:"Ireland",countryCode:353,countryId:"IE"},{countryName:"Israel",countryCode:972,countryId:"IL"},{countryName:"Italy",countryCode:39,countryId:"ITA"},{countryName:"Jamaica",countryCode:1,countryId:"JM"},{countryName:"Japan",countryCode:81,countryId:"JP"},{countryName:"Kazakstan",countryCode:997,countryId:"KZ"},{countryName:"Kosovo",countryCode:383,countryId:"XK"},{countryName:"Kyrgyzstan",countryCode:996,countryId:"KG"},{countryName:"Latvia",countryCode:371,countryId:"LV"},{countryName:"Lebanon",countryCode:961,countryId:"LB"},{countryName:"Liechtenstein",countryCode:423,countryId:"LI"},{countryName:"Lithuania",countryCode:370,countryId:"LT"},{countryName:"Luxembourg",countryCode:352,countryId:"LU"},{countryName:"Macedonia",countryCode:389,countryId:"MK"},{countryName:"Madagascar",countryCode:261,countryId:"MG"},{countryName:"Malawi",countryCode:265,countryId:"MW"},{countryName:"Malaysia",countryCode:60,countryId:"MY"},{countryName:"Mauritania",countryCode:222,countryId:"MR"},{countryName:"Mauritius",countryCode:230,countryId:"MU"},{countryName:"Mexico",countryCode:52,countryId:"MX"},{countryName:"Moldova",countryCode:373,countryId:"MD"},{countryName:"Monaco",countryCode:377,countryId:"MC"},{countryName:"Mongolia",countryCode:976,countryId:"MN"},{countryName:"Montenegro",countryCode:382,countryId:"MNE"},{countryName:"Morocco",countryCode:212,countryId:"MA"},{countryName:"Namibia",countryCode:264,countryId:"NA"},{countryName:"Netherlands",countryCode:31,countryId:"NL"},{countryName:"New Zealand",countryCode:64,countryId:"NZ"},{countryName:"Nicaragua",countryCode:505,countryId:"NU"},{countryName:"Nigeria",countryCode:234,countryId:"NG"},{countryName:"Northern Ireland",countryCode:44,countryId:"NI"},{countryName:"Norway",countryCode:47,countryId:"NO"},{countryName:"Pakistan",countryCode:92,countryId:"PK"},{countryName:"Panama",countryCode:507,countryId:"PA"},{countryName:"Paraguay",countryCode:595,countryId:"PY"},{countryName:"Peru",countryCode:51,countryId:"PE"},{countryName:"Philippines",countryCode:63,countryId:"PH"},{countryName:"Poland",countryCode:48,countryId:"PL"},{countryName:"Portugal",countryCode:351,countryId:"PT"},{countryName:"Qatar",countryCode:974,countryId:"QA"},{countryName:"Republic of Slovenia",countryCode:386,countryId:"SI"},{countryName:"Romania",countryCode:40,countryId:"RO"},{countryName:"Russia",countryCode:7,countryId:"RU"},{countryName:"Saint Lucia",countryCode:1,countryId:"LC"},{countryName:"Saudi Arabia",countryCode:966,countryId:"SA"},{countryName:"Senegal",countryCode:221,countryId:"SN"},{countryName:"Serbia",countryCode:381,countryId:"RS"}
1,{countryName:"Singapore",countryCode:65,countryId:"SG"},{countryName:"Slovakia",countryCode:421,countryId:"SK"},{countryName:"Solomon Islands",countryCode:677,countryId:"SB"},{countryName:"South Africa",countryCode:27,countryId:"AZ"},{countryName:"South Korea",countryCode:82,countryId:"ROK"},{countryName:"Spain",countryCode:34,countryId:"ES"},{countryName:"Sri Lanka",countryCode:94,countryId:"LK"},{countryName:"Suriname",countryCode:597,countryId:"NS"},{countryName:"Swaziland",countryCode:268,countryId:"SZ"},{countryName:"Switzerland",countryCode:41,countryId:"CH"},{countryName:"Taiwan",countryCode:886,countryId:"ROC"},{countryName:"Thailand",countryCode:66,countryId:"TH"},{countryName:"The Gambia",countryCode:220,countryId:"GM"},{countryName:"Tunisia",countryCode:216,countryId:"TN"},{countryName:"Turkey",countryCode:90,countryId:"TR"},{countryName:"Uganda",countryCode:256,countryId:"UG"},{countryName:"Ukraine",countryCode:380,countryId:"UA"},{countryName:"United Arab Emirates",countryCode:971,countryId:"UAE"},{countryName:"United Kingdom",countryCode:44,countryId:"UK"},{countryName:"United States",countryCode:1,countryId:"US"},{countryName:"Uruguay",countryCode:598,countryId:"UY"},{countryName:"Uzbekistan",countryCode:998,countryId:"UZ"},{countryName:"Venezuela",countryCode:58,countryId:"VE"},{countryName:"Vietnam",countryCode:84,countryId:"VN"},{countryName:"Zambia",countryCode:260,countryId:"ZM"}];let Zv=(()=>{class e{constructor(t,i,r,o){this.overlayContainer=t,this.renderer=i,this.cdRef=r,this.config=o,this.patchAsSeparateValues=!1,this.isFaxNumber=!1,this.phoneNumberLabel="Phone Number",this.phoneNumberStatusChange=new et,this.countryCodeSearch=new ms(""),this.overlayContainerElement=this.overlayContainer.getContainerElement(),this.renderer.setProperty(this.overlayContainerElement,"@.disabled",!0),this.countryNoFlagImgPath=o.assetsUrl?o.assetsUrl+"no-flag.svg":"assets/no-flag.svg",o.assetsUrl&&(this.countryList=(o.countryList?o.countryList:mYe).slice().map(a=>{var l;return Object.assign(Object.assign({},a),{countryFlag:`${o.assetsUrl}countries/${null===(l=a?.countryId)||void 0===l?void 0:l.toLowerCase()}.svg`})}),this.countryOptions=this.countryList.slice(),this.usCountry=this.countryOptions.find(a=>{var l;return"us"==(null===(l=a.countryId)||void 0===l?void 0:l.toLowerCase())}))}ngOnChanges(){this.checkForFormStateAndUpdate(this.control.value),this.control.statusChanges.subscribe(i=>{this.checkForFormStateAndUpdate(this.control.value)}),this.countryCodeSearch.valueChanges.subscribe(i=>{this.countryOptions=i?this.countryList.filter(r=>r.countryName.toLowerCase().includes(i?.toLowerCase())||r.countryId.toLowerCase().includes(i?.toLowerCase())||r.countryCode==i):this.countryList.slice()})}checkForFormStateAndUpdate(t){if(t){let i=this.splitAndReturnPhoneNumber(t.countryCode?t.phoneNumberWithCountryId||t.phoneNumberRaw:t),r=this.countryList.find(s=>
1s.countryCode==i.code&&(s.countryId==i.countryId||!i.countryId))||this.usCountry;this.selectedCountryCode=r,this.setFormControls(Object.assign(Object.assign({},i),{code:r})),this.control.errors&&this.control.errors.invalid?this.showInvalidPhoneError=!0:(this.showInvalidPhoneError=!1,this.patchValueToControl())}else this.setFormControls();this.control.disabled?(this.countryCode.disable(),this.phoneNumber.disable(),this.phoneNumberExtension.disable()):(this.countryCode.enable(),this.phoneNumber.enable(),this.phoneNumberExtension.enable()),this.control.touched&&(this.countryCode.markAsTouched(),this.phoneNumber.markAsTouched(),this.phoneNumberExtension.markAsTouched(),this.countryCode.updateValueAndValidity({emitEvent:!1}),this.phoneNumber.updateValueAndValidity({emitEvent:!1}),this.control.updateValueAndValidity({emitEvent:!1})),this.cdRef.detectChanges()}setFormControls(t={code:this.setDefaultCountryCode(),mainPhoneNumber:"",extn:""}){var i,r;this.isRequired=this.control?this.control.hasValidator(Ar.required):null,this.countryCode=new ms(t.code,this.isRequired?[Ar.required]:[]),this.phoneNumber=new ms(t.mainPhoneNumber,this.isRequired?[Ar.pattern(/^\d+$/),Ar.required]:Ar.pattern(/^\d+$/)),this.phoneNumberExtension=new ms(t.extn,Ar.pattern(/^\d+$/)),this.isRequired?(null===(i=this.countryCodeSub)||void 0===i||i.unsubscribe(),null===(r=this.phoneNumberSub)||void 0===r||r.unsubscribe()):(this.phoneNumberSub=this.phoneNumber.valueChanges.subscribe(o=>{o?(this.countryCode.addValidators(Ar.required),this.control.addValidators(Ar.required)):(this.countryCode.removeValidators(Ar.required),this.control.removeValidators(Ar.required)),this.countryCode.updateValueAndValidity({emitEvent:!1}),this.control.updateValueAndValidity({emitEvent:!1})}),this.countryCodeSub=this.phoneNumberExtension.valueChanges.subscribe(o=>{o?(this.countryCode.addValidators(Ar.required),this.phoneNumber.addValidators(Ar.required),this.control.addValidators(Ar.required)):(this.countryCode.removeValidators(Ar.required),this.phoneNumber.removeValidators(Ar.required),this.control.removeValidators(Ar.required)),this.countryCode.updateValueAndValidity({emitEvent:!1}),this.phoneNumber.updateValueAndValidity({emitEvent:!1}),this.control.updateValueAndValidity({emitEvent:!1})}))}patchValueToControl(){var t,i;if(this.countryCodeSearch.patchValue(""),this.isValidPhoneNumberForCountry(this.phoneNumber.value,this.countryCode.value.countryId)&&this.countryCode.value&&this.phoneNumber.value&&this.phoneNumber.valid&&this.phoneNumberExtension.valid){let o=this.countryCode.value.countryCode+"-"+this.phoneNumber.value+(this.phoneNumberExtension.value?"x"+this.phoneNumberExtension.value:""),s=o,a=o+"$"+this.countryCode.value.countryId;this.patchAsSeparateValues&&(s={countryCode:this.countryCode.value.countryCode,phoneNumber:this.phoneNumber.value,extn:this.phoneNumberExtension.value,phoneNumberRaw:o,phoneNumberWithCountryId:a,countryId:this.countryCode.value.countryId}),null===(t=this.control)||void 0===t||t.patchValue(s,{emitEvent:!1}),this.showInvalidPhoneError=!1}else null===(i=this.control)||void 0===i||i.patchValue("",{emitEvent:!1}),this.showInvalidPhoneError=!0;[this.countryCode,this.phoneNumber].forEach(o=>{o.markAsTouched(),o.updateValueAndValidity({emitEvent:!1})}),this.control.setErrors(null,{emitEvent:!1})}setDefaultCountryCode(){let t=this.usCountry;return this.selectedSiteCountry&&(t=this.countryList.find(i=>{var r,o,s;return(null===(r=i.countryId)||void 0===r?void 0:r.toLowerCase())==this.selectedSiteCountry.toLowerCase()||(null===(o=i.countryName)||void 0===o?void 0:o.toLowerCase())==(null===(s=this.selectedSiteCountry)||void 0===s?void 0:s.toLowerCase())})),this.selectedCountryCode=t||this.usCountry,t||this.usCountry}isValidPhoneNumberForCountry(t,i){const r="PRC"===i?"CN":i,o=function R6e(){return tK(P6e,arguments)}(t,{defaultCountry:r,extract:!1});return!(!o||o.country!==r)&&o.isValid()}isValidPhoneNumber(){this.showInvalidPhoneError=!this.isValidPhoneNumberForCountry(this.phoneNumber.value,this.countryCode.value.countryId);let i=this.phoneNumber.hasError("required")||this.phoneNumber.hasError("pattern")||this.showInvalidPhoneError||this.showInvalidPhoneExtError;this.phoneNumberStatusChange.emit(i)}checkExtLenIsValid(){const t=this.phoneNumberExtension.value.toString().length;return!t||t>=1&&4===t}isValidPhoneNumberExt(){this.showInvalidPhoneExtError=!this.checkExtLenIsValid();let t=this.phoneNumber.hasError("required")||this.phoneNumber.hasError("pattern")||this.showInvalidPhoneError||this.showInvalidPhoneExtError;this.phoneNumberStatusChange.emit(t),this.cdRef.detectChanges()}isNumber(t){const i="PRC"===this.countryCode.value.countryId?"CN":this.countryCode.value.countryId;return this.isValidPhoneNumberForCountry(this.phoneNumber.value,this.countryCode.value.countryId),!("TOO_LONG"===function V6e(){return tK($6e,arguments)}(this.phoneNumber.value,i))&&this.checkIsNumber(t)}isNumberForExt(t){return!(t&&t.target.value&&4===t.target.value.length)&&this.checkIsNumber(t)}customizeDropDown(){var t,i,r,o,s;const a=null===(i=null===(t=this.matSelect)||void 0===t?void 0:t.panel)||void 0===i?void 0:i.nativeElement;if(a&&this.phoneContainer&&(null===(r=this.matSelect)||void 0===r?void 0:r.panelOpen)){a?.style.setProperty("width",this.phoneContainer.nativeElement.clientWidth-36+"px"),a?.style.setProperty("max-width",this.phoneContainer.nativeElement.clientWidth+"px");const l=null===(s=null===(o=this.matSelect)||void 0===o?void 0:o.panel)||void 0===s?void 0:s.nativeElement.querySelector(".mat-select-search-inner input");setTimeout(()=>l?.focus(),10)}}addFocusedClass(t=!1){const i=this.phoneNumberComponentContainer.nativeElement.querySelector(".mat-form-field.phonenumber-phone"),r=this.phoneNumberComponentContainer.nativeElement.querySelector(".mat-form-field.country-code-phone");i?.classList[t?"remove":"add"]("mat-focused"),r?.classList[t?"remove":"add"]("mat-focused")}addFocusedClassExt(t=!1){this.phoneNumberComponentContainer.nativeElement.querySelector(".mat-form-field.phonenumber-ext")?.classList[t?"remove":"add"]("mat-focused")}focusPhoneInput(t){this.phoneNumber.setValue(""),this.phoneNumberStatusChange.emit(!0),t.value?this.selectedCountryCode=t.value:this.countryCode.patchValue(this.selectedCountryCode),this.phoneNumberEl&&setTimeout(()=>this.phoneNumberEl.focus(),10)}onCloseCountryDropDown(t){t?this.customizeDropDown():this.patchValueToControl()}ngOnDestroy(){this.renderer.setProperty(this.overlayContainerElement,"@.disabled",!1)}splitAndReturnPhoneNumber(t){let i="",r="",o="",s="";if(t.includes("$")&&(s=t.split("$")[1],t=t.split("$")[0]),t&&t.includes("-")){const a=t.split("-");i=a[0];const l=a[1];if(l&&l.includes("x")){const c=l.split("x");o=c[0],r=c[1]||""}else o=l,r=""}else if(t.includes("x")){const a=t.split("x");o=a[0],r=a[1]}else o=t;return{code:i,mainPhoneNumber:o,extn:r,countryId:s}}checkIsNumber(t){var i=(t=t||window.event).which?t.which:t.keyCode;return!(i>31&&(i<48||i>57))}}return e.\u0275fac=function(t){return new(t||e)(g(bv),g(Aa),g(Zt),g(gs))},e.\u0275cmp=We({type:e,selectors:[["deepblue-phone-number"]],viewQuery:function(t,i){if(1&t&&(Xt(UWe,5),Xt(HWe,5),Xt(wS,5),Xt(jWe,5)),2&t){let r;Ve(r=Be())&&(i.phoneContainer=r.first),Ve(r=Be())&&(i.phoneNumberComponentContainer=r.first),Ve(r=Be())&&(i.matSelect=r.first),Ve(r=Be())&&(i.phoneNumberEl=r.first)}},inputs:{control:"control",patchAsSeparateValues:"patchAsSeparateValues",isFaxNumber:"isFaxNumber",selectedSiteCountry:"selectedSiteCountry",phoneNumberLabel:"phoneNumberLabel"},outputs:{phoneNumberStatusChange:"phoneNumberStatusChange"},features:[xt([{provide:XW,useValue:{overlayPanelClass:"phone-number-overlay-pane"}}]),ei],decls:1,vars:1,consts:[["fxLayout","column","fxFlex","100%",4,"ngIf"],["fxLayout","column","fxFlex","100%"],["phoneNumberComponentContainer",""],["fxLayout","row","fxLayoutGap","2%","fxFlex","100%"],["fxLayout","row",1,"deepblue-mfa-phoneNumber","deepblue-mfa-phoneNumber-custom-class"],["phoneContainer",""],["fxLayout","column",1,"country-code-min-width"],["for","countryCode",1,"deepblue-mfa-common-content","lato","bold","country-code-l-w"],[1,"country-code-phone",3,"mouseover","mouseleave"],["panelClass","country-code-dropdown",3,"aria-label","formControl","disableOptionCentering","openedChange","selectionChange"],["select",""],[4,"ngIf"],[1,"mat-select-search-inner"],["type","text","placeholder","Search for a country","aria-label","Country Search","matInput","","name","country","autocomplete","off",3,"formControl"],[1,"margin-t-55"],[4,"ngIf","ngIfElse"],["noOptionsAvailable",""],["fxLayout","column"],["for","phoneNumber",1,"deepblue-mfa-common-content","lato","bold","label-color"],[1,"ph
1onenumber-phone",3,"ngClass","mouseover","mouseleave"],["class","country-code-value",4,"ngIf"],["aria-label","Phone Number","placeholder","Enter phone number","type","text","matInput","",3,"formControl","blur","keypress","input"],["phoneNumberEl","matInput"],["class","remove-icon","matSuffix","",4,"ngIf"],["fxLayout","column","class","deepblue-phone-extn deepblue-phone-extn-min-width",4,"ngIf"],["fxLayout","column",1,"deepblue-mfa-error-msg"],["alt","Country Flag","onerror","this.src='assets/no-flag.svg'",1,"field-flag",3,"src","title"],["class","country-name",3,"value",4,"ngFor","ngForOf"],[1,"country-name",3,"value"],["fxLayout","row","fxLayoutGap","10px","fxLayoutAlign","start center"],["alt","Country Flag","onerror","this.src='assets/no-flag.svg'",1,"deepblue-mfa-country-flag-image",3,"src"],[1,"deepblue-mfa-common-content","lato"],[1,"deepblue-mfa-common-content","lato","deepblue-mfa-color-grey"],[1,"country-name"],[1,"country-code-value"],["matSuffix","",1,"remove-icon"],["fxLayout","column",1,"deepblue-phone-extn","deepblue-phone-extn-min-width"],["for","phoneNumberExtension",1,"deepblue-mfa-common-content","lato","bold"],[1,"phonenumber-ext",3,"mouseover","mouseleave"],["aria-label","Phone Number Extension","type","text","matInput","",3,"formControl","blur","keypress","input"],["extE1","matInput"]],template:function(t,i){1&t&&ye(0,XWe,32,29,"div",0),2&t&&j("ngIf",i.countryCode&&i.phoneNumber&&i.phoneNumberExtension)},dependencies:[Pv,wS,xv,Fd,tr,Bo,Xo,qs,_m,uf,eK,AS,cf,wl,ps,Hs,pf,yS],styles:["deepblue-phone-number .country-code-phone .mat-form-field-outline-end{border-right:0px!important;border-radius:0!important} deepblue-phone-number .country-code-phone.mat-form-field-appearance-outline .mat-form-field-flex{padding-right:0!important} deepblue-phone-number .country-code-phone .mat-select-trigger{display:block;height:7px} deepblue-phone-number .country-code-phone .mat-select-arrow-wrapper{position:relative;z-index:2;margin-left:26px;display:inline-table} deepblue-phone-number .phonenumber-phone .mat-form-field-outline-start{border-left:0px!important;border-radius:0!important} deepblue-phone-number .mat-form-field-appearance-outline:not(.mat-form-field-invalid).mat-focused .mat-form-field-outline-thick{color:#0094ed} deepblue-phone-number .mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{color:#d11314!important} deepblue-phone-number .phonenumber-phone .mat-form-field-infix{display:flex} deepblue-phone-number .phonenumber-phone input.mat-input-element{margin-top:0!important} deepblue-phone-number .mat-form-field.phonenumber-phone .mat-form-field-flex{width:300px!important;padding-left:0!important}@media (max-width: 517px){ deepblue-phone-number .mat-form-field.phonenumber-phone .mat-form-field-flex{width:250px!important}}@media (max-width: 460px){ deepblue-phone-number .mat-form-field.phonenumber-phone .mat-form-field-flex{min-width:170px!important;width:auto!important}} deepblue-phone-number .mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{transition:none!important} deepblue-phone-number .field-flag, deepblue-phone-number .country-code-phone .mat-select-trigger .mat-select-placeholder.mat-select-min-line{position:absolute;width:24px;height:18px} deepblue-phone-number .country-code-value{padding:0 10px 0 5px} deepblue-phone-number .country-code-min-width{width:55px;max-width:55px} deepblue-phone-number .deepblue-phone-extn-min-width{width:55px;max-width:55px} deepblue-phone-number .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important} deepblue-phone-number .mat-form-field-appearance-outline .mat-form-field-outline:not(.mat-form-field-outline-thick){color:#ccc!important} .default-theme deepblue-phone-number .mat-form-field-appearance-outline .mat-form-field-outline:not(.mat-form-field-outline-thick){color:#ccc!important} .country-code-dropdown{margin-top:30px!important;transform:none!important;margin-left:5px;border:1px solid #757575!important;box-shadow:none!important;border-radius:0!important;background:white!important} .country-code-dropdown .mat-option{height:auto!important;padding:10px 20px} .country-code-dropdown .mat-option:hover, .country-code-dropdown .mat-option.mat-active{background-color:#e5e5e5} .mat-select-search-inner{position:absolute;top:0;border-bottom:1px solid #cccccc;background:white;z-index:100;margin-top:31px;display:flex;align-items:center;height:55px;width:calc(100% + 12px)} .mat-select-search-inner input{padding:10px 20px}.deepblue-mfa-country-flag-image[_ngcontent-%COMP%]{height:18px;width:24px;object-fit:cover}
1.country-code-l-w[_ngcontent-%COMP%]{width:200px}.margin-t-55[_ngcontent-%COMP%]{margin-top:55px}.label-color[_ngcontent-%COMP%]{color:transparent!important} .phone-number-overlay-pane{transform:translate(-16px)!important}"]}),e})(),rJ=(()=>{class e{constructor(t){this.cdref=t,this.options=[]}ngOnChanges(t){this.control.valueChanges.subscribe(i=>{this.cdref.detectChanges()})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(g(Zt))},e.\u0275cmp=We({type:e,selectors:[["lib-dropdown-dynamic"]],inputs:{options:"options",control:"control"},features:[ei],decls:5,vars:4,consts:[["panelClass","mfa-select-dropdown",3,"formControl","disableOptionCentering"],[1,"deepblue-mfa-common-content","lato"],[4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["fxLayout","column"],[1,"deepblue-mfa-common-content","lato","bold"],["class","deepblue-mfa-common-content lato size-13 deepblue-mfa-color-grey",4,"ngIf"],[1,"deepblue-mfa-common-content","lato","size-13","deepblue-mfa-color-grey"]],template:function(t,i){1&t&&(T(0,"mat-form-field")(1,"mat-select",0)(2,"mat-select-trigger",1),q(3),M(),ye(4,tKe,2,1,"ng-container",2),M()()),2&t&&(N(1),j("formControl",i.control)("disableOptionCentering",!0),N(2),ln(null==i.control||null==i.control.value?null:i.control.value.name),N(1),j("ngIf",i.options&&i.options.length))},dependencies:[Pv,wS,xv,_m,uf,eK,tr,wl,Bo],styles:["lib-dropdown-dynamic .mat-form-field-appearance-outline .mat-form-field-outline-start, lib-dropdown-dynamic .mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0%!important} .default-theme lib-dropdown-dynamic .mat-form-field-appearance-outline .mat-form-field-outline:not(.mat-form-field-outline-thick){color:#ccc!important} .mfa-select-dropdown{margin-top:30px!important;transform:none!important;margin-left:5px;border:1px solid #757575!important;box-shadow:none!important;border-radius:0!important;background:white!important;min-width:calc(100% + 22px)!important} .mfa-select-dropdown .mat-option{height:auto!important;padding:10px 20px} .mfa-select-dropdown .mat-option:hover, .mfa-select-dropdown .mat-option.mat-active{background-color:#e5e5e5}"]}),e})(),Z2=(()=>{class e{constructor(t){this.config=t,this.closeNotification=new et,this.iconCancelImgPath=this.config.assetsUrl?this.config.assetsUrl+"icon-cancel.svg":"assets/icon-cancel.svg"}ngOnInit(){}closeUserNotification(){this.closeNotification.emit()}getImgIcons(t){switch(t){case"info":return this.config.assetsUrl?this.config.assetsUrl+"notification_icon/feature.svg":"assets/notification_icon/feature.svg";case"warning":return this.config.assetsUrl?this.config.assetsUrl+"notification_icon/warning.svg":"assets/notification_icon/warning.svg";case"error":return this.config.assetsUrl?this.config.assetsUrl+"notification_icon/error-info.svg":"assets/notification_icon/error-info.svg";default:return this.config.assetsUrl?this.config.assetsUrl+"notification_icon/success.svg":"assets/notification_icon/success.svg"}}}return e.\u0275fac=function(t){return new(t||e)(g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-common-notification"]],inputs:{data:"data"},outputs:{closeNotification:"closeNotification"},decls:12,vars:10,consts:[[1,"notify__card"],[1,"notify__card__innerwrap","border",3,"ngClass"],[1,"notify__card__innerwrap-content"],[1,"icon"],[1,"specialBannerIcon",3,"src"],[1,"notify__card__innerwrap__content"],["class","notify--title",4,"ngIf"],["class","notify--desc",4,"ngIf"],[1,"close"],["aria-label","Close","color","accent","mat-icon-button","",3,"click"],["alt","Icon Cancel",3,"src"],[1,"notify--title"],[1,"notify--desc"]],template:function(t,i){1&t&&(Or(0),T(1,"div",0)(2,"div",1)(3,"div",2)(4,"span",3),Ze(5,"img",4),M(),T(6,"span",5),ye(7,nKe,2,1,"div",6),ye(8,iKe,2,1,"p",7),M()(),T(9,"span",8)(10,"button",9),_e("click",function(){return i.closeUserNotification()}),Ze(11,"img",10),M()()()(),Ir()),2&t&&(N(2),j("ngClass",P$(5,rKe,"info"==i.data.notificationType,"warning"==i.data.notificationType,"success"==i.data.notificationType,"error"==i.data.notificationType)),N(3),pp("src",i.getImgIcons(i.data.notificationType),Yi),N(2),j("ngIf",i.data.notificationTitle),N(1),j("ngIf",i.data.notificationBody),N(3),j("src",i.iconCancelImgPath,Yi))},dependencies:[xu,Hs,pf,tr],styles:['.infoClass[_ngcontent-%COMP%]{position:relative}.infoClass[_ngcontent-%COMP%]:before{position:absolute;
1left:0;height:100%;top:0;bottom:0;background:#005793;width:4px;content:""}.warningClass[_ngcontent-%COMP%]{position:relative}.warningClass[_ngcontent-%COMP%]:before{position:absolute;left:0;height:100%;top:0;bottom:0;background:#FFA701;width:4px;content:""}.errorClass[_ngcontent-%COMP%]{position:relative}.errorClass[_ngcontent-%COMP%]:before{position:absolute;left:0;height:100%;top:0;bottom:0;background:#D11314;width:4px;content:""}.successClass[_ngcontent-%COMP%]{position:relative}.successClass[_ngcontent-%COMP%]:before{position:absolute;left:0;height:100%;top:0;bottom:0;background:#1E8500;width:4px;content:""}.specialBannerIcon[_ngcontent-%COMP%]{height:20px;margin:0 0 0 8px}.notify__card[_ngcontent-%COMP%]{padding:16px 0;background:#f7f7f7}.notify__card[_ngcontent-%COMP%] + .notify__card[_ngcontent-%COMP%]{padding:0 0 16px}.notiFycations[_ngcontent-%COMP%] .notify__card[_ngcontent-%COMP%]{padding:16px 0 16px 16px}.notify__card__innerwrap[_ngcontent-%COMP%]{width:100%;padding:16px 24px 16px 0;background:#fff;display:flex;align-items:center;justify-content:space-between}.notify__card__innerwrap[_ngcontent-%COMP%] .notify__card__innerwrap-content[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.notify__card__innerwrap.border[_ngcontent-%COMP%]{border-left:4px solid transparent}.notify__card__innerwrap.info[_ngcontent-%COMP%]{border-color:#005793}.notify__card__innerwrap.warning[_ngcontent-%COMP%]{border-color:#ffa701}.notify__card__innerwrap.error[_ngcontent-%COMP%]{border-color:#d11314}.notify__card__innerwrap.success[_ngcontent-%COMP%]{border-color:#1e8500}.notify__card__innerwrap[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:60px;display:flex;align-items:flex-start;justify-content:center;margin:0 8px 0 2px}.notify__card__innerwrap__content[_ngcontent-%COMP%]{width:calc(100% - 100px)}.notify__card__innerwrap[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{width:40px;display:flex;align-items:center;justify-content:flex-end;padding-left:10px}.spcl-banner[_ngcontent-%COMP%] + .notify__card[_ngcontent-%COMP%]{padding-top:0;padding-bottom:28px}.notify__card__innerwrap__content[_ngcontent-%COMP%] .notify--title[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#000;margin:0;padding:0;font-weight:400}.notify__card__innerwrap__content[_ngcontent-%COMP%] .notify--desc[_ngcontent-%COMP%]{font-size:14px;line-height:20px;margin:4px 0 0}.padd-b-0[_ngcontent-%COMP%]{padding-bottom:0}.specialBanner.padd0[_ngcontent-%COMP%] .spcl-banner[_ngcontent-%COMP%]{padding:0!important}.m-t-16[_ngcontent-%COMP%]{margin-top:16px}[_nghost-%COMP%] .fxBannerText a{outline:none!important}[_nghost-%COMP%] .doc-center-link{font-weight:bold!important}.fxBannerAction[_ngcontent-%COMP%]{min-width:20%;max-width:25%}[_nghost-%COMP%] .actionButton{font-size:12px!important;padding-left:30px!important;padding-right:30px!important;padding-bottom:30px!important;margin:10px 10px 0 0;width:100%}.padIcon[_ngcontent-%COMP%]{margin-right:-8px}.contact-card-padding[_ngcontent-%COMP%]{padding-left:20px}']}),e})(),oJ=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u,d,f,y,b){this.oktaSubjectService=t,this.oktaWidgetService=i,this.uSService=r,this.location=o,this.mdDialog=s,this.mdSnackBar=a,this.cdRef=l,this.viewContainer=c,this.ngZone=u,this.route=d,this.cookieService=f,this.config=y,this.renderer=b,this.showRegSuccessPage=!1,this.enrolledFactors=[],this.authenticatorOptions=[],this.hasSameNumberEnrolledForVoiceAndSms=void 0,this.iterator=0,this.showIdpIntermediatePage=!1,this.notifications=[],this.timeLeft=30,this.isUnderlined=!0,this.isLoadingSubject=new os(!1),this.isLoading=!1,this.inputHighlight="",this.phoneControl=new ms("",[Ar.required]),this.intermediateIdpRedirectPageMessage="You are being navigated to your custom IDP for Authentication.",this.idpRedirectButtonText="Redirect Now",this.intermediateIdpRedirectPageDisplayTimeInMs=4e3,this.tempIndex=null,this.visibileEyeBoolean=!1,this.tempActiveSelectIndex=null,this.authenticatorControl=new ms(""),this.comcastLogoPath=this.config.assetsUrl?this.config.assetsUrl+"comcastLogo.svg":"assets/comcastLogo.svg"}ngOnInit(){localStorage.removeItem("isMfaEnrollmentFlow"),this.appleAppStoreLink=this.uSService.appleAppStoreLink,this.googlePlayStoreLink=this.uSService.googlePlayStoreLink,this.route.queryParamMap.subscribe(i=>{if(i){this.state=i.get("state"),this.otp=i.get("otp");const r=i.get("error");console.log(r)}}),this.applicationDisplayName=this.config.applicationDisplayName,this.widget=this.state&&this.otp?this.oktaWidgetService.getWidgetForEmailVerify(this.state,this.otp):this.oktaWidgetService.getWidget(),this.oktaAuth=this.oktaWidgetService.getOktaAuthInstance();const t=this.location.getState();t?.email?this.oktaAuth.idx.start().then(()=>{this.oktaAuth.idx.proceed({username:t.email}).then(()=>{this.oktaWidgetService.renderWidget()})}):this.oktaWidgetService.renderWidget(),this.isLoadingSubject.subscribe(i=>{this.isLoading=i,this.cdRef.detectChanges()}),this.widget.on("afterRender",i=>Zn(this,void 0,void 0,function*(){this.isWidgetRendered=!0,this.setLoading(!0),this.backToSignIn||(this.backToSignIn=document.querySelector(".link.js-cancel"));try{if("success-redirect"==i.formName)this.redirectToMSIdp();else if("redirect-idp"==i.formName)this.config.showIntermediatePageForIdpRedirect?this.redirectToIdp():this.immediateRedirectToIdp();else if(i&&"primary-auth"==i.controller&&"identify"==i.formName||"terminal"==i.formName)this.setupMfaEnrollView(!1),this.setLoading(!1),this.oktaWidgetService.widgetActionsNext({message:"User routed to email page.",actionId:Gi.ENTER_EMAIL}),this.customEmailValidation();else if(i&&i.formName&&""!=i.formName&&("identify"==i.formName||"challenge-authenticator"==i.formName&&"okta_password"==i.authenticatorKey))this.customizePasswordEnterPage();else if(i&&i.formName&&""!=i.formName&&"select-authenticator-enroll"==i.formName){try{const r=yield this.oktaWidgetService.getEnrolledFactors();this.enrolledFactors=r.context.authenticators.value.filter(o=>{if(!document.querySelector(`#sign-in-widget .authenticator-row [data-se
1="${o.key}"]`))return o})}catch{this.enrolledFactors=[]}this.mfaCustomizeWidget()}else"enroll-poll"==i.formName&&"okta_verify"==i.authenticatorKey?this.customizeOktaVerifyEnrollView():"authenticator-enrollment-data"==i.formName&&"phone_number"==i.authenticatorKey?this.customizeOktaPhoneEnrollView():"enroll-authenticator"!=i.formName||"enroll-call"!=i.controller&&"enroll-sms"!=i.controller?"enroll-authenticator"==i.formName&&"webauthn"==i.authenticatorKey?this.customizeSecurityKeyEnrollView():"enroll-authenticator"==i.formName&&"google_otp"==i.authenticatorKey?this.customizeCustomAuthenticatorEnrollView():"enrollment-channel-data"==i.formName&&"okta_verify"==i.authenticatorKey?this.customizeOktaVerifyCantScanEnrollView():"select-enrollment-channel"==i.formName&&"okta_verify"==i.authenticatorKey?this.setLoading(!1):"select-authenticator-authenticate"==i.formName?this.customizeAuthenticatorsSelectionView():"authenticator-verification-data"==i.formName&&"okta_verify"==i?.authenticatorKey&&"push"==i?.methodType?this.customizeOktaPushNotificationView():"challenge-authenticator"==i.formName&&"okta_verify"==i?.authenticatorKey&&"totp"==i?.methodType?this.customizeOktaVerificationCodeView():"challenge-authenticator"==i.formName&&"phone_number"==i?.authenticatorKey?this.customizePhoneAuthenticationView(i.methodType):"authenticator-verification-data"==i.formName&&"phone_number"==i?.authenticatorKey?this.customizePhoneAuthenticationCallView(i?.methodType):"authenticator-verification-data"==i.formName&&"email"==i.methodType?this.customizeEmailAuthenticatorVerifySendView():"challenge-authenticator"==i.formName&&"email"==i.methodType?this.customizeEmailAuthenticatorVerifyOptionsView():"challenge-authenticator"==i.formName&&"google_otp"==i.authenticatorKey?this.customizeCustomAuthenticatorVerify():this.setLoading(!1):(this.customizeOktaPhoneEnrollViewVerify(),this.isUnderlined=!1)}catch(r){console.log(r),this.setLoading(!1)}})),this.widget.on("afterError",(i,r)=>{"You have been logged out due to inactivity. Refresh or return to the sign in screen."==r?.errorSummary?this.oktaWidgetService.widgetActionsNext({message:"Your sign-in attempt timed out. Please re-enter your credentials.",actionId:Gi.SESSION_TIMED_OUT}):"challenge-authenticator"==i.formName&&"okta_verify"==i?.authenticatorKey&&"totp"==i?.methodType?(this.removeErrorContainer(),this.customizeOktaVerificationCodeView()):"challenge-authenticator"==i.formName&&"phone_number"==i?.authenticatorKey&&"voice"==i?.methodType?this.removeErrorContainer():"enrollment-channel-data"==i.formName&&"okta_verify"==i.authenticatorKey||"authenticator-enrollment-data"==i.formName&&"phone_number"==i.authenticatorKey&&r.errorSummary?this.phoneControl.setErrors({invalid:!0}):"enroll-authenticator"!=i.formName||"google_otp"!=i.authenticatorKey&&"phone_number"!=i.authenticatorKey||"Too many attempts. Try again later."!==r.errorSummary?this.replaceErrorContainer():(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("",r.errorSummary,!0),document.querySelector(".scroll-notification").scrollIntoView({block:"start",behavior:"smooth"}))}),this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(i=>{this.notifications=i,this.cdRef.detectChanges(),this.notifications&&this.notifications.length>0&&Iy(1e4).subscribe(()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)})})}clearExistingErrorMessage(){const t=document.querySelector("p.okta-form-email-input-field-error-message");t&&t.remove()}isValidEmail(t){return/^(([^<>()\]\\.,;:\s@"]+(\.[^<>()\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)}validateEmailWithInputEvent(t,i,r){var o,s;const a=i.value,l=this.isValidEmail(a);if(this.clearExistingErrorMessage(),l||""===a.trim())if(l||""!==a.trim()){r.removeAttribute("disabled"),i.classList.remove("okta-form-email-input-field-with-error");const c=document.querySelector(".okta-form-email-input-field-error-message");c&&c.remove()}else{r.disabled=!0,i.classList.add("okta-form-email-input-field-with-error");const c=document.createElement("p");c.className="okta-form-email-input-field-error-message",c.textContent="Please enter the email",null===(s=t.parentElement)||void 0===s||s.appendChild(c)}else{r.disabled=!0,i.classList.add("okta-form-email-input-field-with-error");const c=document.createElement("p");c.className="okta-form-email-input-field-error-message",c.textContent="Please enter a valid email address",null===(o=t.parentElement)||void 0===o||o.appendChild(c)}}validateEmailWithFocusOutEvent(t,i,r){var o;r.disabled=!0,i.classList.remove("okta-form-email-input-field-with-error");const s=document.querySelector(".okta-form-email-input-field-error-message");s&&s.remove();const a=i.value,l=this.isValidEmail(a);if(this.clearExistingErrorMessage(),l||""===a.trim()){if(l&&""!==a.trim()){r.removeAttribute("disabled"),i.classList.remove("okta-form-email-input-field-with-error");const c=document.querySelector(".okta-form-email-input-field-error-message");c&&c.remove()}}else{r.disabled=!0,i.classList.add("okta-form-email-input-field-with-error");const c=document.createElement("p");c.className="okta-form-email-input-field-error-message",c.textContent="Please enter a valid email address",null===(o=t.parentElement)||void 0===o||o.appendChild(c)}}customEmailValidation(){const t=document.querySelector("form .o-form-content.o-form-theme.clearfix .o-form-input-name-identifier"),i=document.querySelector("form .o-form-content.o-form-theme.clearfix .o-form-input-name-identifier input"),r=document.querySelector("form .o-form-button-bar input");i&&r&&(r.disabled=!0,i.addEventListener("input",()=>{this.validateEmailWithInputEvent(t,i,r)}),i.addEventListener("focusout",()=>{this.validateEmailWithFocusOutEvent(t,i,r)}))}redirectToMSIdp(){setTimeout(function(){window.location.reload()},100)}redirectToIdp(){this.showIdpIntermediatePage=!0,setTimeout(()=>{this.showIdpIntermediatePage&&this.immediateRedirectToIdp()},this.intermediateIdpRedirectPageDisplayTimeInMs)}immediateRedirectToIdp(){this.showIdpIntermediatePage=!1;const t=document.querySelector(".okta-idps-container .social-auth-button");t&&(t.innerText="Sign in",t.click())}customizeOktaVerifyEnrollView(){this.oktaWidgetService.widgetActionsNext({actionId:Gi.OKTA_VERIFY_PAGE_LANDING}),this.setupMfaEnrollView();const t=document.querySelector(".switch-channel-text .switch-channel-link"),i=document.querySelectorAll("#sign-in-widget .siw-main-view.enroll-poll--okta_verify .siw-main-body .oie-enroll-ov-poll.o-form >
1 div:last-of-type .qrcode-info.ov-info li"),r=[`Download the Okta Verify mobile application from the <a href=${this.appleAppStoreLink} target="_blank">Apple App Store</a> or <a href=${this.googlePlayStoreLink} target="_blank">Google Play</a>`,"Open the application and follow the instructions to add your account","When prompted, tap <b>Scan a QR code</b>, and then scan the QR code on this screen"];i.forEach((s,a)=>{s.innerHTML=r[a]}),t.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.OKTA_CANT_SCAN_CLICK})});const o=document.querySelector(".link.js-switchAuthenticator");o&&null!=o&&o?.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.BACK_FROM_OKTA_VERIFY_ENROLL_VIEW})}),this.setLoading(!1)}setLoading(t){this.isLoadingSubject.next(t)}customizeOktaVerifyCantScanEnrollView(){this.oktaWidgetService.widgetActionsNext({actionId:Gi.OKTA_VERIFY_SETUP_LINK_IF_CANT_SCAN}),this.setupMfaEnrollView();const t=document.querySelector(".siw-main-view.enrollment-channel-data--okta_verify"),i=t.querySelector(".siw-main-body .o-form-content.o-form-theme.clearfix h2"),r=t.querySelector(".identifier-container span");setTimeout(()=>{if("Email Okta Verify Setup Link"==i.innerText){t.querySelector(".okta-form-label.o-form-label").classList.add("okta-form-label-custom-class"),t.querySelector("span.o-form-input-name-email.o-form-control.okta-form-input-field.input-fix").classList.add("okta-form-input-custom-class");const a=t.querySelector(".o-form-fieldset.o-form-label-top .o-form-input-name-email input");a.value=r.innerText,a.dispatchEvent(new Event("input",{bubbles:!0})),a.disabled=!0}else{const o=t.querySelector(".oie-enroll-ov-data.o-form.o-form-edit-mode .o-form-fieldset-container"),s=o.querySelectorAll(".o-form-fieldset.o-form-label-top");let a=this.createComponent(Zv,!0);a.instance.isFaxNumber=!0,a.instance.ngOnChanges();const l=t.querySelector(".o-form-button-bar input");l.disabled=!0,a.instance.phoneNumberStatusChange.subscribe(c=>{l.disabled=c}),s.forEach(c=>{c.style.display="none"}),l.addEventListener("click",c=>{const u=document.querySelector(".o-form-control.okta-form-input-field.input-fix input"),d=document.querySelector(".o-form-select.o-form-input-name-country.o-form-control select"),f=this.phoneControl.value;f?(d.value=f.countryId,d.dispatchEvent(new Event("change",{bubbles:!0})),u.value=f.phoneNumber,u.dispatchEvent(new Event("input",{bubbles:!0}))):(this.phoneControl.setErrors({invalid:!0}),c.preventDefault())}),o.appendChild(a.location.nativeElement)}this.setLoading(!1)},100)}customizeOktaPhoneEnrollView(){this.oktaWidgetService.widgetActionsNext({actionId:Gi.SETUP_TEXT_OR_VOICE_CALL_AUTHENTICATION_PAGE}),this.setupMfaEnrollView();let t=this.createComponent(Zv,!0);setTimeout(()=>{const i=s=>{this.setLoading(!0),this.selectedPhoneEnrollOption=s;const a=document.querySelector("form.phone-authenticator-enroll.o-form"),l=a.querySelector("h2.okta-form-title.o-form-head");l.remove(),a.prepend(l);const c=document.querySelector(".phone-authenticator-enroll.o-form.o-form-edit-mode .o-form-fieldset.o-form-label-top .phone-enroll-container");c&&c.remove(),document.querySelectorAll(".phone-authenticator-enroll.o-form.o-form-edit-mode .o-form-fieldset.o-form-label-top").forEach((b,S)=>{if(0!=S)b.style.display="none";else{const D=document.createElement("div");D.classList.add("phone-enroll-container");const R=document.createElement("div"),G=document.createElement("div"),H=document.createElement("div");let te="Carrier call charges may apply.";"Voice call"==s?(t.instance.isFaxNumber=!1,t.instance.ngOnChanges()):(te="Carrier SMS charges may apply.",t.instance.isFaxNumber=!0,t.instance.ngOnChanges()),G.innerText="Enter your phone number to receive a verification code.",H.innerText=te,R.classList.add("phone-enroll-content"),R.append(G,H),D.append(R,t.location.nativeElement),b.append(D),this.cdRef.detectChanges()}}),document.querySelectorAll(".o-form-input div.custom-radio .radio-label").forEach(b=>{b.addEventListener("click",S=>{this.timeOut&&clearTimeout(this.timeOut),this.isLoadingSubject.next(!0),setTimeout(()=>i(S.target.innerHTML),200),this.oktaWidgetService.widgetActionsNext({actionId:Gi.PHONE_ENROLL_TYPE_SWITCH,type:S.target.innerHTML})})});const y=document.querySelector(".phone-authenticator-enroll.o-form.o-form-edit-mode .o-form-button-bar .button.button-primary");y.disabled=!0,t.instance.phoneNumberStatusChange.subscribe(b=>{y.disabled=b}),y.addEventListener("click",b=>{const S=document.querySelector("#sign-in-widget .o-form-input-name-phoneCode .o-form-control.okta-form-input-field.input-fix input"),D=document.querySelector("#sign-in-widget .phone-authenticator-enroll__phone-ext input"),R=document.querySelector(".o-form-select.o-form-input-name-country.o-form-control select"),G=this.phoneControl.value;G?(R.value=G.countryId,R.dispatchEvent(new Event("change",{bubbles:!0})),S.value=G.phoneNumber,S.dispatchEvent(new Event("input",{bubbles:!0})),D.value=G.extn,D.dispatchEvent(new Event("input",{bubbles:!0})),this.phoneNumberForCall=G.phoneNumber.substr(G.phoneNumber.length-4),this.oktaWidgetService.widgetActionsNext({actionId:Gi.PHONE_ENROLL_SEND_OTP_CLICK})):(this.phoneControl.setErrors({invalid:!0}),b.preventDefault())}),this.setLoading(!1)};document.querySelectorAll(".o-form-input div.custom-radio input")[0].click();const o=document.querySelector(".link.js-switchAuthenticator");o&&null!=o&&o?.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.BACK_FROM_OKTA_PHONE_ENROLL_VIEW})}),i("Text Message")},100)}customizeOktaPhoneEnrollViewVerify(){var t,i;this.setupMfaEnrollView();const r=document.querySelector(".enroll-authenticator--phone_number .o-form-info-container"),o=document.querySelector(".enroll-authenticator--phone_number .o-form-fieldset-container"),s=document.querySelector(".o-form-error-container"),a=document.querySelector(".okta-form-subtitle"),l=document.querySelector(".button.button-primary"),c=document.querySelector("a.resend-link");
1l.classList.add("custom-btn-disabled"),c.className="custom-disabled",c.innerText=`Resend after ${this.timeLeft} seconds.`,this.timeLeft=30,this.timerSubscription=jM(1e3).pipe(fi(this.timeLeft+1)).subscribe(u=>{u!==this.timeLeft?(c.className="custom-disabled",c.innerText=`Resend after ${this.timeLeft-u} seconds.`):(c.innerText="Send again",c.className="resend-link resend-link-custom",c.style.setProperty("text-decoration","none","important"))}),c.addEventListener("click",()=>{this.setLoading(!0),setTimeout(()=>{this.setLoading(!1),this.timeLeft=30,this.timerSubscription=jM(1e3).pipe(fi(this.timeLeft+1)).subscribe(u=>{u!==this.timeLeft?(c.className="custom-disabled",c.innerText=`Resend after ${this.timeLeft-u} seconds.`):(c.innerText="Send again",c.className="resend-link resend-link-custom ",c.style.setProperty("text-decoration","none","important"))})},3e3)}),s&&s.remove(),o&&r&&o.insertBefore(r,o.nextSibling),a&&this.phoneNumberForCall&&(null===(t=a.querySelector("p"))||void 0===t||t.remove(),null===(i=a.querySelector("span"))||void 0===i||i.remove(),a.innerHTML="Voice call"==this.selectedPhoneEnrollOption?`We are calling your phone number ending in <b>${this.phoneNumberForCall}</b>. Please answer and enter the code to verify your phone number.`:`Please enter the verification code we sent via text message to phone number ending in <b>${this.phoneNumberForCall}</b>. It may take a few minutes to arrive.`),o.addEventListener("input",u=>{""!==u.target.value?l.classList.remove("custom-btn-disabled"):l.classList.add("custom-btn-disabled")}),l.addEventListener("click",()=>{l.classList.add("custom-btn-disabled"),this.oktaWidgetService.widgetActionsNext({actionId:Gi.PHONE_ENROLL_OTP_VERIFICATION_CLICK})}),this.setLoading(!1)}customizeCustomAuthenticatorEnrollView(){this.oktaWidgetService.widgetActionsNext({actionId:Gi.CUSTOMIZE_CUSTOM_AUTHENTICATOR_ENROLL}),this.setupMfaEnrollView();const t=document.querySelector(".oie-enroll-google-authenticator.o-form .o-form-content.o-form-theme.clearfix"),i=t.querySelector(".oie-enroll-google-authenticator-barcode"),r=i.querySelector(".qrcode-info-container"),o=document.createElement("div"),s=document.createElement("ol");t.querySelector(".oie-enroll-google-authenticator-manual-setup p.google-authenticator-setup-info").innerHTML="Use the application\u2019s <b>Can\u2019t Scan</b> option and enter the key below when prompted. Copy the verification code from your application and select <b>Continue</b> on this screen.",["Open your Authenticator of Choice (Microsoft or Google) application and select the Scan QR Code option","Scan the QR code on this screen and complete the enrollment on mobile device","Select <b>Continue</b> on this screen","Enter the verification code from the mobile application"].forEach(S=>{const D=document.createElement("li");D.innerHTML=S,s.append(D)}),r.remove(),o.append(s),o.append(r),i.append(o),o.classList.add("google-verify-flex"),r.querySelector(".cannot-scan-link").addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.CUSTOM_AUTHENTICATOR_CANT_SCAN_CLICK})});const d=document.querySelectorAll(".google-authenticator-next.default-custom-button.button-primary.link-button"),f=document.querySelector(".google-authenticator-verify.default-custom-button.button-primary.link-button");f&&f.classList.add("custom-btn-disabled");const y=document.querySelector(".o-form-fieldset-container .o-form-fieldset .o-form-input .o-form-control.okta-form-input-field.input-fix input");y&&y.addEventListener("input",S=>{""!==S.target.value?f.classList.remove("custom-btn-disabled"):f.classList.add("custom-btn-disabled")}),f.addEventListener("click",()=>{f.classList.add("custom-btn-disabled")}),d.forEach(S=>{S.addEventListener("click",D=>{var R;"Verify"==(null===(R=D?.target)||void 0===R?void 0:R.innerText)?this.oktaWidgetService.widgetActionsNext({actionId:Gi.CUSTOM_AUTHENTICATOR_VERIFY_OTP_CLICK}):this.oktaWidgetService.widgetActionsNext({actionId:Gi.CUSTOM_AUTHENTICATOR_CONTINUE_CLICK})})});const b=document.querySelector(".link.js-switchAuthenticator");b&&null!=b&&b?.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.BACK_FROM_AUTHENTICATOR_ENROLL_VIEW})}),this.setLoading(!1)}customizeSecurityKeyEnrollView(){this.oktaWidgetService.widgetActionsNext({actionId:Gi.CUSTOMIZE_SETUP_SECURITY_KEY_PAGE}),this.setupMfaEnrollView();const i=document.querySelector(".oie-enroll-webauthn.o-form").querySelector(".okta-waiting-spinner"),r=document.querySelector(".oie-enroll-webauthn.o-form >div:nth-last-of-type(2)"),o=r.querySelector(".deepblue-mfa-security-key-content"),s=document.querySelector(".webauthn-setup.button.button-primary.button-wide.link-button");if(!o){const l=document.createElement("div");l.innerHTML="Select <b>Continue</b>
1 to launch this device\u2019s native security key and follow the setup instructions.",l.classList.add("deepblue-mfa-security-key-content"),r.insertBefore(l,i)}s.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.SECURITY_KEY_CONTINUE_CLICK})});const a=document.querySelector(".link.js-switchAuthenticator");a&&null!=a&&a?.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.BACK_FROM_SECURITY_KEY_ENROLL_VIEW})}),this.setLoading(!1)}mfaCustomizeWidget(){this.iterator+=1,1==this.iterator&&this.oktaWidgetService.widgetActionsNext({actionId:Gi.MFA_SETUP});let t=document.querySelector("#sign-in-widget");this.setupMfaEnrollView();let i=document.querySelectorAll(".authenticator-enroll-list.authenticator-list .list-content .authenticator-row");if(i&&i.length>0&&i.forEach(r=>{r.setAttribute("tabIndex","0")}),this.backToSignIn=document.querySelector(".link.js-cancel"),this.backToSignIn&&(this.backToSignIn.style.display="none"),t){let r=document.querySelectorAll("#sign-in-widget .authenticator-row");this.setUpAuthenticatorRow(r);const o=document.querySelector(".authenticator-enroll-list.authenticator-list .skip-all");o&&(localStorage.setItem("isMfaEnrollmentFlow","true"),o.addEventListener("click",()=>{this.setLoading(!0),localStorage.setItem("hasSkippedEnrollment","true"),setTimeout(()=>{this.setLoading(!1)},3e3)}))}this.setLoading(!1)}getEmailAuthenticatorRow(){let t=document.createElement("div");return t.innerHTML=`<div class="authenticator-row clearfix successfulAuthenticator"><div class="authenticator-icon-container"><div class="factor-icon authenticator-icon mfa-okta-verify" role="img" aria-label="Authenticator logo"><img src=${this.config.assetsUrl?this.config.assetsUrl+"success_icon_green.svg":"assets/success_icon_green.svg"}></div></div><div class="authenticator-description"><h3 class="authenticator-label no-translate">Email Authentication <span class="deepblue-mfa-label deepblue-mfa-common-content lato size-13">Auto Enrolled</span></h3><p class="authenticator-description--text">Email authentication setup is complete by default and is set to the email address on the account.</p></div></div>`,t=t.firstChild,t}setUpAuthenticatorRow(t){const i=[...t].slice(),r=i.find(o=>o.classList.contains("successfulAuthenticator"));if(t.length&&!r){const o=[{name:"Authenticator of Choice",desc:"Use your preferred authenticator application, such as Google or Microsoft Authenticator, to verify your identity.",factorName:"google_otp",label:"Recommended"},{name:"Okta Verify Authenticator",desc:"Get a verification code from the Okta Verify authenticator mobile application.",factorName:"okta_verify",label:"Recommended"},{name:"Text Message/Voice Call",desc:"Verify with a code delivered via text message or voice call.",factorName:"phone_number"},{name:"Security Key",desc:"Verify with device\u2019s native authenticator, such as Face ID, Touch ID, or a Windows Hello.",factorName:"webauthn"}],s=(c,u)=>{if(u){const d=document.createElement("span");d.classList.add("deepblue-mfa-label","deepblue-mfa-common-content","lato","size-13"),d.innerText=u,c.querySelector("h3.authenticator-label").append(d)}return c},a=c=>{const u=c.querySelector(".authenticator-description"),d=u.querySelector(".authenticator-button");if(u&&d){u.removeChild(d);const f=c.querySelector("h3.authenticator-label").innerText;c.appendChild(d),c.addEventListener("click",b=>{let S=b.target;S.classList.contains("authenticator-row")||(S=S.offsetParent),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),"Security Key"===f&&0==this.enrolledFactors.length?(this.oktaSubjectService.errorMessage("Additional authentication method required","Please set up another authentication method first to enroll the Security Key, as it cannot be used alone.",!0),this.cdRef.detectChanges(),document.querySelector(".scroll-notification").scrollIntoView({block:"start",behavior:"smooth"})):S.querySelector(".authenticator-button a").click()}),c.addEventListener("keypress",b=>{if(13===b.which){const S=b.srcElement;this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),"Security Key"===f&&0==this.enrolledFactors.length||S.querySelector(".authenticator-button a").click()}});const y=c.querySelector(".authenticator-button a");"Security Key"===f&&0==this.enrolledFactors.length?y.className="button select-factor link-button okta-link-prevent-events":y.addEventListener("click",b=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0);const S=c.querySelector("h3.authenticator-label").innerText;this.oktaWidgetService.widgetActionsNext({actionId:Gi.MFA_SETUP_CLICK,factorName:S.replace("Recommended","")})})}else console.log("Button Not Available",c);return c},l=document.querySelector("#sign-in-widget .list-content");
1if(l){for(;l.childNodes.length>1;){const c=l.childNodes[l.childNodes.length-1];"Set up optional"!=c.innerText&&c.remove()}if(this.enrolledFactors.length>0){this.showCloseButton=!1,document.querySelector(".siw-main-view h2.okta-form-title.o-form-head").innerText="You\u2019re all set",document.querySelector(".siw-main-view p.okta-form-subtitle.o-form-explain").innerText=`Set up additional authentication methods or proceed to the ${this.applicationDisplayName}. It is recommended to configure at least two authentication methods for your account to enhance security. You can update your authentication settings any time from your User Profile.`;let d=document.createElement("div");d.innerHTML=`<div class="authenticator-row clearfix successfulAuthenticator"><div class="authenticator-icon-container"><div class="factor-icon authenticator-icon mfa-okta-verify" role="img" aria-label="Authenticator logo"><img src=${this.config.assetsUrl?this.config.assetsUrl+"success_icon_green.svg":"assets/success_icon_green.svg"}></div></div><div class="authenticator-description"><h3 class="authenticator-label no-translate">Okta Verify Authenticator</h3><p class="authenticator-description--text">Okta Verify is an authenticator application, installed on your phone, used to prove your identity</p></div></div>`,d=d.firstChild,o.forEach(f=>{var y;const b=i.find(S=>S.querySelector("h3.authenticator-label").innerHTML==f.name);if(b)s(b,f.label),l.appendChild(a(b));else if(null!==(y=this.enrolledFactors)&&void 0!==y&&y.find(S=>S.key==f.factorName)){const S=d.cloneNode(!0);S.querySelector("h3.authenticator-label").innerHTML=f.name,S.querySelector("p.authenticator-description--text").innerHTML=f.desc,S.classList.add("successfulAuthenticator");const D=s(S,f.label);l.appendChild(D)}})}else this.showCloseButton=!0,l&&o.forEach(c=>{const u=i.find(d=>d.querySelector("h3.authenticator-label").innerHTML==c.name);if(u){const d=s(u,c.label);l.appendChild(a(d))}})}}else window.location.reload()}customizeAuthenticatorsSelectionView(){return Zn(this,void 0,void 0,function*(){this.authenticatorOptions=[];let t=document.querySelector("#sign-in-widget"),i=t.querySelector(".siw-main-view");const o=(yield this.oktaWidgetService.getEnrolledFactors2()).filter(s=>"phone_number"==s.key);if(this.hasSameNumberEnrolledForVoiceAndSms=1==o.length&&(this.hasSameNumberEnrolledForVoiceAndSms??(yield this.uSService.hasSameNumberEnrolledForVoiceAndSms(this.widget.getUser().id))),t){i.classList.add("select-authenticator-authenticate-list");const s=document.querySelector(".authenticator-verify-list.authenticator-list .list-content"),a=s.querySelectorAll(".authenticator-row.clearfix"),l=[];this.authenticatorControl.valueChanges.subscribe(u=>{const d=u.index;a.forEach((f,y)=>{d==y?f.classList.add("activeSelect"):f.classList.remove("activeSelect")})}),a.forEach(u=>{const d=u.querySelector(".authenticator-description .authenticator-label"),f=u.querySelector(".authenticator-description p.authenticator-description--text");if("Text Message/Voice Call"==d.innerText){let y="Voice Call or Text Message ";if(!this.hasSameNumberEnrolledForVoiceAndSms){const b=o.find(S=>S.profile.phoneNumber==f.innerText);b&&(y=b.id.startsWith("sms")?"Text Message":"Voice Call")}l.push({name:y,description:f?f.innerText:void 0})}else l.push({name:d.innerText,description:void 0})}),this.authenticatorOptions=l.map((u,d)=>{let f=u.name;return"Okta Verify App Code"==f?f="Okta Verify Code":"Okta Verify App Push Notification"==f?f="Okta Verify Push Notification":"Authenticator of Choice"==f&&!l.find(y=>y.name.toLowerCase().includes("okta"))&&(f="Authenticator App"),Object.assign(Object.assign({},u),{name:f,index:d})});const c=this.createComponent(rJ);s.querySelector("lib-dropdown-dynamic")||(s.prepend(c.location.nativeElement),this.setLoading(!1)),this.authenticatorControl.patchValue(this.authenticatorOptions[0])}})}customizeOktaPushNotificationView(){const i=document.querySelector(".o-form-content.o-form-theme").querySelector("h2.okta-form-title.o-form-head");if(i&&!i.querySelector("div")){const s=document.createElement("div");s.innerHTML='<div class="push-description">Select <b>Send Push Notification</b> to receive a push notification from the Okta Verify application. Check it from your device to verify your identity.</div>',i.innerText="Security verification",i.appendChild(s)}const r=document.querySelector("form.okta-verify-send-push-form"),o=r.querySelector(".o-form-button-bar");o&&(o.remove(),r.appendChild(o)),this.setLoading(!1)}customizeOktaVerificationCodeView(){document.querySelector(".siw-main-view.challenge-authenticator--okta_verify.mfa-verify .o-form-button-bar .button.button-primary").value="Verify",this.setLoading(!1)}customizePhoneAuthenticationCallView(t){return Zn(this,void 0,void 0,function*(){const i=document.querySelector("form.phone-authenticator-challenge.o-form"),r=i.querySelector(".o-form-button-bar input.button.button-primary"),o=i.querySelector(".o-form-button-bar .link.phone-authenticator-challenge__link"),s=i.querySelector(".okta-form-subtitle"),a=s.querySelector("span.strong");if(null==this.hasSameNumberEnrolledForVoiceAndSms&&(this.hasSameNumberEnrolledForVoiceAndSms=yield this.uSService.hasSameNumberEnrolledForVoiceAndSms(this.widget.getUser().id)),this.hasSameNumberEnrolledForVoiceAndSms)o.classList.add("has-both-options");else{const u=(yield this.oktaWidgetService.getEnrolledFactors2()).filter(d=>"phone_number"==d.key).find(d=>d.profile.phoneNumber==a.innerText);u&&u.id&&u.id.startsWith("sms")?(t="sms",o.remove()):(t="voice",o.innerHTML="Call Me",r.remove())}if(!s.querySelector("deepblue-mfa-phone-action-description")){let l=a.innerText.substring(a.innerText.length-4),c=`Select <b>Send Code</b> to send a text message with a verification code to your phone number ending in <b>${l}</b>.`;"voice"==t&&(c=`Select <b>Call Me</b> to have an automated call made to your phone number ending in <b>${l}</b> with your verification code.`),this.hasSameNumberEnrolledForVoiceAndSms&&(c=`Verify your identity with your phone number ending in <b>${l}</b>. Select how you would like to receive your verification code.`,o.innerHTML="Call Me");const u=document.createElement("div");u.innerHTML=c,u.classList.add("deepblue-mfa-phone-action-description"),s.prepend(u)}this.setLoading(!1)})}customizePhoneAuthenticationView(t){const i=document.querySelector(".challenge-authenticator--phone_number.mfa-verify-passcode .o-form-content.o-form-theme.clearfix"),r=i?.querySelector(".o-form-info-container"),o=i.querySelector(".okta-form-subtitle");if(document.querySelector(".challenge-authenticator--phone_number.mfa-verify-passcode .button.button-primary").value="Verify",o){let a=o.querySelector("span.strong"),l=a.innerText.substring(a.innerText.length-5),c=`We are calling your phone number ending in <b>${l}</b> Please answer and enter the code from the voice call.`;"sms"==t&&(c=`Please enter the verification code we sent via text message to the phone number ending in <b>${l}</b> It may take a few minutes to arrive.`);const u=document.createElement("div");
1u.innerHTML=c,o.childNodes.forEach(d=>{d.remove()}),o.prepend(u)}r&&(r.remove(),i.appendChild(r)),this.setLoading(!1)}customizeEmailAuthenticatorVerifySendView(){const i=document.querySelector(".siw-main-view.authenticator-verification-data--okta_email .siw-main-body").querySelector(".o-form-info-container .okta-form-subtitle");let r=i.innerHTML.replace("Send Email","<b>Send Email</b>");r=r.replace(":",": <b>"),r+="</b>",i.innerHTML=r,this.setLoading(!1)}customizeEmailAuthenticatorVerifyOptionsView(){const t=document.querySelector(".siw-main-view.challenge-authenticator--okta_email.mfa-verify-passcode .siw-main-body"),i=t.querySelector(".okta-form-subtitle"),r=t.querySelector(".resend-email-view");let o=i.innerHTML.replace("to","to <b>");o=o.replace(".I","</b>. I"),i.innerHTML=o;const s=t.querySelector(".button-link.enter-auth-code-instead-link"),a=t.querySelector(".o-form-button-bar .button.button-primary");if(s&&(s.addEventListener("click",()=>{this.setLoading(!0),setTimeout(()=>this.customizeEmailAuthenticatorVerifyOptionsView(),100)}),r.style.display="none"),a){t.querySelector(".o-form-input").append(r);let c=r.querySelector(".infobox.clearfix.infobox-warning div");const u=c.querySelector("a");c.innerText="Code will expire in 5 mins. ",c.append(u),c.style.marginTop="10px",r.style.display="block",a.value="Verify"}this.setLoading(!1)}customizeCustomAuthenticatorVerify(){document.querySelector(".siw-main-view.challenge-authenticator--google_otp.mfa-verify .button.button-primary").value="Verify",this.setLoading(!1)}replaceErrorContainer(){setTimeout(()=>{const t=document.querySelector(".o-form-error-container.o-form-has-errors");if(t){t.classList.add("okta-error-container");const i=document.querySelector(".o-form-content.o-form-theme.clearfix");i&&(i.removeChild(t),i.append(t))}},100)}removeErrorContainer(){setTimeout(()=>{document.querySelector(".o-form-error-container.o-form-has-errors")?.remove()},100)}customizePasswordEnterPage(){setTimeout(()=>{let t=document.querySelector(".link.js-forgot-password");const i=document.createElement("a");i.tabIndex=0,i.innerText="Forgot Password?",i.classList.add("link","js-forgot-password");let r=document.querySelector(".o-form-fieldset-container .o-form-fieldset.o-form-label-top .okta-form-label.o-form-label");if(t){let l=document.querySelector(".password-toggle .eyeicon.button-show"),c=document.querySelector(".password-toggle .eyeicon.button-hide");if(l){var o=document.createElement("img");o.src=this.config.assetsUrl?this.config.assetsUrl+"visibility.png":"assets/visibility.png",l.appendChild(o),l.tabIndex=0,l.addEventListener("keypress",f=>{13===f.which&&l.click()})}if(c){var s=document.createElement("img");s.src=this.config.assetsUrl?this.config.assetsUrl+"visibility_hidden.png":"assets/visibility_hidden.png",c.appendChild(s),c.tabIndex=0,c.addEventListener("keypress",f=>{13===f.which&&c.click()})}const u=document.querySelector("form .o-form-content.o-form-theme.clearfix .o-form-control.okta-form-input-field.input-fix input");let d=document.querySelector(".password-toggle");u&&d&&(u.addEventListener("keyup",()=>{d.style.display=u.value?"block":"none"}),d.style.display="none"),r.classList.add("passwordGridAdded"),r.insertBefore(i,r.children[0]),t.remove(),i.addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({message:"Clicked forgot password link in widget.",actionId:Gi.ON_CLICK_FORGOT_PASSWORD,email:this.widget.getUser().identifier})}),i.addEventListener("keypress",f=>{13==f.which&&i.click()})}document.querySelector(".siw-main-view.mfa-verify-password .button.button-primary").addEventListener("click",()=>{this.oktaWidgetService.widgetActionsNext({actionId:Gi.PRIMARY_AUTH})}),this.setLoading(!1)},300)}setupMfaEnrollView(t=!0){let i=document.querySelector(".sign-in-widget-container"),r=document.querySelector("#sign-in-widget");const o=i.querySelector(".okta-mfa-footer");if(t&&!o){let a=document.querySelector(".okta-mfa-footer");if(a){let l=a.cloneNode(!0);i.append(l)}}else!t&&o&&o.remove();r.classList[t?"add":"remove"]("mfa-setup"),i.classList[t?"add":"remove"]("mfa-setup-container");let s=document.querySelector("body");
1s&&(s.style.height=t?"0":"auto"),i.scrollTop=0}closeMfa(){const t=this.mdDialog.open(iJ,{width:"70%"});t.afterClosed().subscribe(i=>Zn(this,void 0,void 0,function*(){i&&0==(yield this.oktaWidgetService.getActiveEnrolledFactors()).length?(this.backToSignIn?this.backToSignIn.click():this.oktaWidgetService.signOut(),this.oktaWidgetService.widgetActionsNext({message:"User cancelled MFA setup",actionId:Gi.ON_CANCEL_MFA_SETUP})):t.close()}))}createComponent(t,i=!1){let r;return this.ngZone.run(()=>{r=this.viewContainer.createComponent(t),i?(this.phoneControl.patchValue(""),r.instance.control=this.phoneControl,r.instance.patchAsSeparateValues=!0):(r.instance.control=this.authenticatorControl,r.instance.options=this.authenticatorOptions),r.instance.ngOnChanges()}),r}ngOnDestroy(){var t;let i=document.querySelector(".mat-drawer-content");i&&(i.style.height="100%"),this.oktaWidgetService.removeWidget(),null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)}closeNotification(t){this.oktaSubjectService.closeNotification(t,!0)}signout(){const t=this.mdDialog.open(Q2,{width:"65%",maxWidth:"700px"});t.afterClosed().subscribe(i=>Zn(this,void 0,void 0,function*(){i?this.config.signOutUrl&&""!==this.config.signOutUrl?(this.oktaWidgetService.widgetActionsNext({message:"User cancelled MFA setup",actionId:Gi.ON_CANCEL_MFA_SETUP}),window.open(this.config.signOutUrl,"_self")):(this.backToSignIn?this.backToSignIn.click():this.oktaWidgetService.signOut(),this.oktaWidgetService.widgetActionsNext({message:"User cancelled MFA setup",actionId:Gi.ON_CANCEL_MFA_SETUP})):t.close()}))}}return e.\u0275fac=function(t){return new(t||e)(g(Iu),g(xc),g(Pu),g(ks),g(ym),g(A9e),g(Zt),g(Ui),g(Lt),g(cd),g(Dl),g(gs),g(Aa))},e.\u0275cmp=We({type:e,selectors:[["okta-widget"]],inputs:{intermediateIdpRedirectPageMessage:"intermediateIdpRedirectPageMessage",idpRedirectButtonText:"idpRedirectButtonText",intermediateIdpRedirectPageDisplayTimeInMs:"intermediateIdpRedirectPageDisplayTimeInMs"},decls:12,vars:6,consts:[["fxLayoutAlign","center",1,"form-wrapper-sso"],[1,"sign-in-widget-container"],[1,"mfa-setup-header"],["alt","Comcast Logo",3,"src"],[1,"okta-close-btn","deepblue-mfa-secondary-button",3,"click"],[1,"scroll-notification"],[1,"login-form-notification"],[4,"ngFor","ngForOf"],["id","sign-in-widget",1,"sign-in-widget"],[4,"ngIf"],[3,"data","closeNotification"],["fxFlex","100%","fxLayoutAlign","center center",1,"okta-spinner","okta-spinner-white"],["fxLayout","column","fxLayoutGap","10px",1,"deepblue-mfa-common-content","mst","bold","size-24","deepblue-mfa-color-black"],["fxFlexAlign","end",1,"deepblue-mfa-secondary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"div",2),Ze(3,"img",3),T(4,"button",4),_e("click",function(){return i.signout()}),q(5," SIGN OUT "),M()(),Ze(6,"div",5),T(7,"div",6),ye(8,oKe,2,1,"ng-container",7),Ze(9,"div",8),M()()(),ye(10,sKe,3,0,"ng-container",9),ye(11,aKe,7,2,"ng-container",9)),2&t&&(ft("hide-widget",!i.isWidgetRendered),N(3),j("src",i.comcastLogoPath,Yi),N(5),j("ngForOf",i.notifications),N(2),j("ngIf",!i.isWidgetRendered||i.isLoading),N(1),j("ngIf",i.showIdpIntermediatePage))},dependencies:[Z2,X2,ps,wl,tr,Xo,Bo,qs,kq],styles:['.okta-close-btn[_ngcontent-%COMP%]{background:black;border:none;color:#fff!important;display:flex;align-items:center;padding:0;justify-content:flex-end}.form-wrapper-sso[_ngcontent-%COMP%]{padding-bottom:2.5rem;margin:auto;box-sizing:content-box;padding-top:56px}@media (min-width: 720px){.form-wrapper-sso[_ngcontent-%COMP%]{display:grid;justify-content:center;padding-top:2.5rem;grid-template-columns:minmax(340px,512px) minmax(3rem,5rem) minmax(282px,430px);grid-template-areas:"error error error" "form . aside"}}.hide-widget[_ngcontent-%COMP%]{display:none!important}body[_ngcontent-%COMP%]{margin:0;padding:0;height:100%;background:#f7f7f7}div[aria-hidden=true][_ngcontent-%COMP%]{display:none}.mat_icon_logo[_ngcontent-%COMP%]{height:32px!important;width:32px!important}mat-form-field[_ngcontent-%COMP%]{width:100%}mat-spinner[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 50px);left:calc(50% - 50px)}@media only screen and (max-width: 860px) and (min-width: 768px){.sign-in-widget[_ngcontent-%COMP%]{min-width:-moz-fit-content!important;min-width:fit-content!important}}@media only screen and (max-width: 560px) and (min-width: 360px){.sign-in-widget[_ngcontent-%COMP%]{min-width:320px!important;max-width:max-content!important}}@media only screen and (max-width: 768px) and (min-width: 360px){.form-wrapper-sso[_ngcontent-%COMP%]{padding:0!important}}']}),e})(),gYe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[Pd,PS,RS,Gv,NS,tS,MS,hf,LS,FS,Id,$S,VS,oS,Lv,US,HS,jS,zS,GS,t1,i1,r1,Wv,c1,l1,Y0,d1,m2],Pd,PS,RS,Gv,NS,tS,MS,hf,LS,FS,Id,$S,VS,oS,Lv,US,HS,jS,zS,GS,t1,i1,jQ,r1,Wv,c1,l1,Y0,d1,m2]}),e})(),sJ=(()=>{class e{constructor(t,i){this.router=t,this.location=i,this.header="Error! Something went wrong, Please try again later.",this.description="Something went wrong",this.buttonText="Go To Login",this.toGoLink="/login"}ngOnInit(){const t=this.location.getState();this.header=t.header||this.header,this.description=t.description||this.description,this.content=t.content||this.content,this.buttonText=t.buttonText||this.buttonText,this.toGoLink=t.toGoLink||this.toGoLink}onButtonClick(){this.router.navigate([this.toGoLink])}}return e.\u0275fac=function(t){return new(t||e)(g(Ai),g(ks))},e.\u0275cmp=We({type:e,selectors:[["cp-error-page"]],decls:12,vars:4,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayoutGap","25px","fxLayout","column"],[1,"deepblue-mfa-common-content","mst","size-36","bold"],[1,"remove-icon"],["fxLayout","column","fxLayoutGap","20px",1,"deepblue-mfa-common-content","lato","size-16"],[4,"ngIf"],["fxLayoutAlign","end center"],[1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"mat-icon",2),q(3,"error_outline "),M(),q(4),M(),T(5,"mat-card")(6,"div",3),ye(7,lKe,2,1,"div",4),ye(8,cKe,2,1,"div",4),M()(),T(9,"div",5)(10,"button",6),_e("click",function(){return i.onButtonClick()}),q(11),M()()()),2&t&&(N(4),Ti(" ",i.header," "),N(3),j("ngIf",i.description),N(1),j("ngIf",i.content),N(3),ln(i.buttonText))},dependencies:[Fd,$d,Xo,ps,qs,Bo,tr]}),e})(),aJ=(()=>{class e{constructor(t,i,r){this.config=t,this.dialogRef=i,this.data=r,this.type=r.type,this.headerText=r.headerText,this.bodyText=r.bodyText,this.subText=r.subText,this.cancelText=r.cancelText,this.removeText=r.removeText,this.showErrorIcon=r.showErrorIcon,this.iconCancelPath=this.config.assetsUrl?this.config.assetsUrl+"icon-cancel.svg":"assets/icon-cancel.svg"}ngOnInit(){}closeDialog(t){this.dialogRef.close(t)}}return e.\u0275fac=function(t){return new(t||e)(g(gs),g(gm),g(eq))},e.\u0275cmp=We({type:e,selectors:[["cp-okta-remove-popup"]],decls:21,vars:8,consts:[["fxLayout","row wrap",1,"deepblue-mfa-dialog-background"],["fxFlex","100%","fxLayoutAlign","end center"],["color","accent","marginLeft","20px",1,"mat-dialog-close-button","hyperButtonLink",3,"click"],["alt","Icon Comcast",1,"mat-dialog-close-button-icon",3,"src"],[1,"deepblue-mfa-mat-dialog-content"],["fxLayout","row wrap","fxFlex","100%"],["fxFlex","100%",1,"deepblue-mfa-common-content","mst","size-24","bold","deepblue-mfa-color-black"],["fxLayout","row wrap","fxFlex","100","fxLayoutGap","10px",1,"deepblue-mfa-margin-t-20"],["fxFlex","100",2,"padding-bottom","10px"],["class","deepblue-mfa-common-content lato",4,"ngIf"],["fxLayout","row","fxLayoutGap","10px",2,"align-items","center"],[4,"ngIf"],[1,"deepblue-mfa-common-content","lato",3,"innerHTML"],["fxFlex","100%",4,"ngIf"],["fxLayout","row wrap","fxFlex","100%","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","button",1,"deepblue-mfa-primary-button",3,"click"],[1,"deepblue-mfa-common-content","lato"],["matSuffix","",1,"deepblue-mfa-error-icon"],["fxFlex","100%"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"button",2),_e("click",function(){return i.closeDialog(!1)}),Ze(3,"img",3),M()(),T(4,"mat-dialog-content",4)(5,"div",5)(6,"div",6),q(7),M(),T(8,"div",7)(9,"div",8),ye(10,uKe,2,0,"div",9),T(11,"div",10),ye(12,dKe,3,0,"div",11),Ze(13,"div",12),M()()(),ye(14,hKe,2,1,"div",13),T(15,"div",1)(16,"div",14)(17,"button",15),_e("click",function(){return i.closeDialog(!1)}),q(18),M(),T(19,"button",16),_e("click",function(){return i.closeDialog(!0)}),q(20),M()()()()()()),2&t&&(N(3),j("src",i.iconCancelPath,Yi),N(4),ln(i.headerText),N(3),j("ngIf",i.showErrorIcon),N(2),j("ngIf",i.showErrorIcon),N(1),j("innerHTML",i.bodyText,WL),N(1),j("ngIf",i.subText),N(4),ln(i.cancelText),N(2),ln(i.removeText))},dependencies:[Fd,Bo,Xo,ps,kR,qs,tr,yS]}),e})();var eN;const lJ=null===(eN=window.__PRELOADED_STATE__)||void 0===eN?void 0:eN.application,yf=lJ.applicationRoutePrefix?`${lJ.applicationRoutePrefix}/user-mfa-management`:"wifidashboard-auth/user-mfa-management";let cJ=(()=>{class e{constructor(t,i,r,o,s,a,l){this.mdDialog=t,this.router=i,this.location=r,this.uSService=o,this.oktaSubjectService=s,this.oktaWidgetService=a,this.config=l,this.availableFactors={oktaVerify:{isAvailable:!1,isEnrolled:!1,id:void 0,factor:{provider:"OKTA",factorType:"push",factorName:"oktaPush"},profile:void 0},oktaPhone:{isAvailable:!1,isEnrolled:!1,id:void 0,factor:{provider:"OKTA",factorType:"call",factorName:"oktaCall"},profile:void 0},oktaSms:{isAvailable:!1,isEnrolled:!1,id:void 0,factor:{provider:"OKTA",factorType:"sms",factorName:"oktaSms"},profile:void 0},oktaSecurity:{isAvailable:!1,isEnrolled:!1,id:void 0,factor:{provider:"FIDO",factorType:"webauthn",factorName:"securityKey"},profile:void 0},customFactor:{isAvailable:!1,isEnrolled:!1,id:void 0,factor:{provider:"GOOG
1LE",factorType:"token:software:totp",factorName:"customFactor"},profile:void 0}},this.activeEnrollments=0,this.notifications=[],this.hasLoaded=!1,this.successIconGreenPath=this.config.assetsUrl?this.config.assetsUrl+"success_icon_green.svg":"assets/success_icon_green.svg",this.mfaPlusIconGreenPath=this.config.assetsUrl?this.config.assetsUrl+"mfa-plus.svg":"assets/mfa-plus.svg"}ngOnInit(){this.applicationDisplayName=this.config.applicationDisplayName;const t=this.location.getState();if(t){const{userId:i,profile:r,isMyProfile:o}=t;if(this.userId=i,this.user={profile:r},this.isMyProfile=o,this.oktaSubjectService.setLoader(!0),this.userId&&this.user){const s=new Promise(l=>{this.activeEnrollments=0,this.uSService.getEnrolledFactorsForUser(this.userId).subscribe(c=>{if(200==c.code){if(c.data){const u=c.data.find(D=>{var R;return"OKTA"==D.provider&&"push"==(null===(R=D.factorType)||void 0===R?void 0:R.toLowerCase())&&"ACTIVE"==D.status}),d=c.data.find(D=>{var R;return"OKTA"==D.provider&&"call"==(null===(R=D.factorType)||void 0===R?void 0:R.toLowerCase())&&"ACTIVE"==D.status}),f=c.data.find(D=>{var R;return"OKTA"==D.provider&&"sms"==(null===(R=D.factorType)||void 0===R?void 0:R.toLowerCase())&&"ACTIVE"==D.status}),y=c.data.filter(D=>{var R;return"FIDO"==D.provider&&"webauthn"==(null===(R=D.factorType)||void 0===R?void 0:R.toLowerCase())&&"ACTIVE"==D.status}),b=c.data.find(D=>{var R;return"GOOGLE"==D.provider&&"token:software:totp"==(null===(R=D.factorType)||void 0===R?void 0:R.toLowerCase())&&"ACTIVE"==D.status});this.oktaSecurityFactors=[];const S={};y.forEach(D=>{S[D.profile.authenticatorName]?S[D.profile.authenticatorName].push(D):S[D.profile.authenticatorName]=[D]}
1),Object.values(S).forEach(D=>{D.length>1?D.forEach((R,G)=>{R.profile.authenticatorName=`Device ${G+1}`,this.oktaSecurityFactors.push(R)}):1==D.length&&(null!=D[0].profile&&(D[0].profile.authenticatorName="Device 1"),this.oktaSecurityFactors.push(D[0]))}),this.availableFactors.oktaPhone.id=d?.id,this.availableFactors.oktaPhone.profile=d?.profile,this.availableFactors.oktaVerify.id=u?.id,this.availableFactors.oktaVerify.profile=u?.profile,this.availableFactors.oktaSms.id=f?.id,this.availableFactors.oktaSms.profile=f?.profile,this.availableFactors.customFactor.id=b?.id,this.availableFactors.customFactor.profile=b?.profile,this.activeEnrollments=(u?.id?1:0)+(d?.id?1:0)+(y.length?y.length:0)+(f?.id?1:0)+(b?.id?1:0)}this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),l(!0)}else l(!1)},c=>{401===c.error.code&&this.router.navigateByUrl(`/${yf}/access-denied`),l(!1)})}),a=new Promise(l=>{this.uSService.getfactorsUserCanEnroll(this.userId).subscribe(c=>{if(200==c.code){const u=c.data.find(S=>{var D;return"OKTA"==S.provider&&"push"==(null===(D=S.factorType)||void 0===D?void 0:D.toLowerCase())}),d=c.data.find(S=>{var D;return"OKTA"==S.provider&&"call"==(null===(D=S.factorType)||void 0===D?void 0:D.toLowerCase())}),f=c.data.find(S=>{var D;return"OKTA"==S.provider&&"sms"==(null===(D=S.factorType)||void 0===D?void 0:D.toLowerCase())}),y=c.data.find(S=>{var D;return"FIDO"==S.provider&&"webauthn"==(null===(D=S.factorType)||void 0===D?void 0:D.toLowerCase())}),b=c.data.find(S=>{var D;return"GOOGLE"==S.provider&&"token:software:totp"==(null===(D=S.factorType)||void 0===D?void 0:D.toLowerCase())});this.availableFactors.oktaVerify.isAvailable=!!u,this.availableFactors.oktaVerify.isEnrolled=u&&"ACTIVE"==u.status,this.availableFactors.oktaPhone.isAvailable=!!d,this.availableFactors.oktaPhone.isEnrolled=d&&"ACTIVE"==d.status,this.availableFactors.oktaSms.isAvailable=!!f,this.availableFactors.oktaSms.isEnrolled=f&&"ACTIVE"==f.status,this.availableFactors.oktaSecurity.isAvailable=!!y,this.availableFactors.oktaSecurity.isEnrolled=y&&"ACTIVE"==y.status,this.availableFactors.customFactor.isAvailable=!!b,this.availableFactors.customFactor.isEnrolled=b&&"ACTIVE"==b.status,l(!0)}else l(!1)},c=>{401===c.error.code&&this.router.navigateByUrl(`/${yf}/access-denied`),l(!1)})});Promise.all([s,a]).then(l=>{l.every(c=>c)?(this.hasLoaded=!0,this.oktaSubjectService.setLoader(!1)):(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error getting authenticators","Error! Something went wrong, Please try again later.",!0),window.scrollTo(0,0),this.oktaSubjectService.setLoader(!1))})}else this.router.navigateByUrl(`${yf}`)}this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(i=>{this.notifications=i})}removeAuthenticator(t,i,r,o=0){var s,a,l,c,u,d,f,y;if(!this.validatefactorRemove(i))return this.oktaSubjectService.setLoader(!1),void window.scrollTo(0,0);const b=i,S=(null===(a=null===(s=this.availableFactors.oktaPhone)||void 0===s?void 0:s.profile)||void 0===a?void 0:a.phoneNumber)==(null===(c=null===(l=this.availableFactors.oktaSms)||void 0===l?void 0:l.profile)||void 0===c?void 0:c.phoneNumber);let D=this.isMyProfile?`You will no longer be able to verify your identity with this authenticator application when signing in to the ${this.config.applicationDisplayName}.`:`This user will no longer be able to verify their identity with this authenticator application when signing in to the ${this.config.applicationDisplayName}.`;if("removeOkta"==b)D=1===this.activeEnrollments?this.isMyProfile?`You will no longer be able to authenticate with the Okta Verify application when signing in to the ${this.config.applicationDisplayName}. You will be required to set up the authentication method upon your next login if not re-enrolled.`:`This user will no longer be able to authenticate with the Okta Verify application when signing in to the ${this.config.applicationDisplayName}.`:this.isMyProfile?`You will no longer be able to authenticate with the Okta Verify application when signing in to the ${this.config.applicationDisplayName}.`:`This user will no longer be able to authenticate with the Okta Verify application when signing in to the ${this.config.applicationDisplayName}.`;else if("removePhone"==b){const H=null===(d=null===(u=this.availableFactors.oktaPhone)||void 0===u?void 0:u.profile)||void 0===d?void 0:d.phoneNumber.slice(-4),te=null===(y=null===(f=this.availableFactors.oktaSms)||void 0===f?void 0:f.profile)||void 0===y?void 0:y.phoneNumber.slice(-4);1===this.activeEnrollments?"Voice Call"==r?D=this.isMyProfile?`You will no longer be able to authenticate via voice call with the phone number (ending in ${H}) when signing in to the ${this.config.applicationDisplayName}. You will be required to set up the authentication method upon your next login if not re-enrolled.`:`This will remove voice call authentication with the phone number ending in ${H}.`:"Text"==r&&(D=this.isMyProfile?`You will no longer be able to authenticate via text message with the phone number (ending in ${te}) when signing in to the ${this.config.applicationDisplayName}. You will be required to set up the authentication method upon your next login if not re-enrolled.`:`This will remove text authentication with the phone number ending in ${te}.`):2===this.activeEnrollments&&S?D=`You will no longer be able to authenticate via Text Message & Voice Call with the phone number (ending in ${H}) when signing in to the ${this.config.applicationDisplayName}. You will be required to set up the authentication method upon your next login if not re-enrolled.`:("Voice Call"==r?D=this.isMyProfile?`You will no longer be able to authenticate via voice call with the phone number (ending in ${H}) when signing in to the ${this.config.applicationDisplayName}.`:`This will remove voice call authentication with the phone number ending in ${H}.`:"Text"==r&&(D=this.isMyProfile?`You will no longer be able to authenticate via text message with the phone number (ending in ${te}) when signing in to the ${this.config.applicationDisplayName}.`:`This will remove text authentication with the phone number ending in ${te}.`),S&&(D=`You will no longer be able to authenticate via Text Message & Voice Call with the phone number (ending in ${H}) when signing in to the ${this.config.applicationDisplayName}.`))}else"removeSecurity"==b?D=this.isMyProfile?"You will no longer be able to authenticate with the selected device\u2019s security ke
1y.":"This user will no longer be able to authenticate with the selected device\u2019s security key.":"removeCustom"==b&&(D=1===this.activeEnrollments?this.isMyProfile?`By removing this authenticator, you will no longer be able to verify your identity with this application when signing in to the ${this.config.applicationDisplayName}. You will be required to set up the authentication method upon your next login if not re-enrolled.`:"This user will no longer be able to authenticate with the selected device\u2019s security key.":this.isMyProfile?`By removing this authenticator, you will no longer be able to verify your identity with this application when signing in to the ${this.config.applicationDisplayName}.`:"This user will no longer be able to authenticate with the selected device\u2019s security key.");!this.isMyProfile&&this.activeEnrollments>1&&(D+="<br/> Before proceeding with this change, please ensure you have verified the identity of the user who requested the change.");const R=new eS;"removeOkta"==b?R.data={type:i,headerText:"Remove Okta Verify Authenticator?",bodyText:D,cancelText:"CANCEL",removeText:"REMOVE",showErrorIcon:!1}:"removePhone"==b?R.data={type:i,headerText:"Remove Text Message/ Voice Call?",bodyText:D,cancelText:"CANCEL",removeText:"REMOVE",showErrorIcon:!1}:"removeSecurity"==b?R.data={type:i,headerText:`Remove Security Key - Device ${o+1}?`,bodyText:D,cancelText:"CANCEL",removeText:"REMOVE",showErrorIcon:!1}:"removeCustom"==b&&(R.data={type:i,headerText:"Remove Authenticator of Choice?",bodyText:D,cancelText:"CANCEL",removeText:"REMOVE",showErrorIcon:!1}),R.width="70%",this.mdDialog.open(aJ,R).afterClosed().subscribe(H=>{H&&(this.oktaSubjectService.setLoader(!0),this.uSService.removefactor({userId:this.userId,factorId:t}).subscribe(mt=>{200==mt.code?(this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.onRemoveMfaNext({authenticatorRemoved:i,type:r,userId:this.userId}),this.ngOnInit()):(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.errorMessage("Error Removing Multi-Factor Authentication","Something went wrong. Please try again later.",!0),window.scrollTo(0,0))},()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.errorMessage("Error Removing Multi-Factor Authentication","Something went wrong. Please try again later.",!0),window.scrollTo(0,0)}))})}setupApp(t){if(!("securityKey"!=t.factorName||this.availableFactors.oktaPhone.isEnrolled||this.availableFactors.oktaSms.isEnrolled||this.availableFactors.customFactor.isEnrolled||this.availableFactors.oktaVerify.isEnrolled)){const r="Please set up another authentication method first to enroll the Security Key, as it cannot be used alone.",o="Additional authentication method required";return this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage(o,r,!0),void window.scrollTo(0,0)}const i={state:{factor:t,userId:this.userId,email:this.user.profile.email}};"oktaPush"==t.factorName&&this.router.navigateByUrl(`/${yf}/okta-verify`,i),("oktaCall"==t.factorName||"oktaSms"==t.factorName)&&this.router.navigateByUrl(`/${yf}/phone-verify`,{state:{userId:this.userId,call:this.availableFactors.oktaPhone.factor,sms:this.availableFactors.oktaSms.factor,isCallEnrolled:this.availableFactors.oktaPhone.isEnrolled,isSmsEnrolled:this.availableFactors.oktaSms.isEnrolled}}),"securityKey"==t.factorName&&this.router.navigateByUrl(`/${yf}/security-key`,i),"customFactor"==t.factorName&&this.router.navigateByUrl(`/${yf}/custom-authenticator`,i)}validatefactorRemove(t){var i=!1;return this.availableFactors.oktaSecurity.isEnrolled?(this.oktaSubjectService.setLoader(!1),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),"removeOkta"!==t||this.availableFactors.customFactor.isEnrolled||this.availableFactors.oktaPhone.isEnrolled||this.availableFactors.oktaSms.isEnrolled?"removeCustom"!==t||this.availableFactors.oktaVerify.isEnrolled||this.availableFactors.oktaPhone.isEnrolled||this.availableFactors.oktaSms.isEnrolled?("removePhone"!==t||this.availableFactors.oktaVerify.isEnrolled||this.availableFactors.customFactor.isEnrolled)&&("removePhone"!==t||this.availableFactors.oktaVerify.isEnrolled||this.availableFactors.customFactor.isEnrolled)?i=!0:this.oktaSubjectService.errorMessage("Error Removing Multi-Factor Authentication","Text Message/Voice Call cannot be removed as the Security Key alone does not satisfy the authentication requirements. Please add another method first before removing this one.",!0):this.oktaSubjectService.errorMessage("Error Removing Multi-Factor Authentication","Authenticator of Choice cannot be removed as the Security Key alone does not satisfy the authentication requirements. Please add another method first before removing this one.",!0):this.oktaSubjectService.errorMessage("Error Removing Multi-Factor Authentication","Okta Verify cannot be removed as the Security Key alone does not satisfy the authentication requirements. Please add another method first before removing this one.",!0)):i=!0,i}closeNotification(t){this.oktaSubjectService.closeNotification(t)}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)}goBack(){this.oktaSubjectService.setLoader(!0),window.location.href=this.config.redirectToExternalUrl,setTimeout(()=>{this.oktaSubjectService.setLoader(!1)},3e3)}}return e.\u0275fac=function(t){return new(t||e)(g(ym),g(Ai),g(ks),g(Pu),g(Iu),g(xc),g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-mfa-layout"]],decls:1,vars:1,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayout","column","fxLayoutGap","20px",4,"ngIf"],["fxFlex","100%","fxLayoutAlign","start","fxLayout","column","fxLayoutGap","20px"],[4,"ngFor","ngForOf"],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],["class","deepblue-mfa-layout-factors-card-with-padding",4,"ngIf"],["class","deepblue-mfa-common-content lato size-18 deepblue-mfa-color-black",4,"ngIf"],["fxLayout","column","fxLayoutGap","20px",1,"deepblue-mfa-layout-factors-card"],["class","deepblue-mfa-card","fxLayoutGap","20px",4,"ngIf"],["class","deepblue-mfa-layout-factors-card",4,"ngIf"],[3,"data","closeNotification"],[1,"deepblue-mfa-layout-factors-card-with-padding"],["fxLayout","row wrap","fxFlex","100","fxLayoutGap","10px"],["fxFlex","32"],["fxLayout","column"],[1,"deepblue-mfa-common-content","mst","size-14","bold"],[1,"deepblue-mfa-common-content","lato"],[1,"deepblue-mfa-common-content","lato","size-14"],[1,"deepblue-mfa-common-content","lato","size-18","deepblue-mfa-color-black"],["fxLayoutGap","20px",1,"deepblue-mfa-card"],[1,"deepblue-mfa-icon"],["alt","Icon Success",3,"src",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutGap","14px","fxLayoutAlign","start space-between",1,"deepblue-mfa-authenticator-list"],["fxLayout","row"],[1,"deepblue-mfa-common-content","lato","size-16","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-label","deepblue-mfa-common-content","lato","size-13"],[1,"deepblue-mfa-common-content","lato","size-16","deepblue-mfa-color-black"],["class","deepblue-mfa-actions",4,"ngIf"],[4,"ngIf"],["alt","Icon Success",3,"src"],[1,"deepblue-mfa-actions"],[1,"deepblue-mfa-secondary-button",3,"click"],[1,"deepblue-mfa-seperator-horizontal"],[1,"deepblue-mfa-enrolled-card"],["fxLayout","row","fxLayoutAlign","center center"],[1,"deepblue-mfa-common-content","lato","bold"],[1,"deepblue-mfa-actions","deepblue-mfa-card-remove-button"],["class","deepblue-mfa-actions deepblue-mfa-card-okta-ver
1ify-setup-button",4,"ngIf"],[1,"deepblue-mfa-actions","deepblue-mfa-card-okta-verify-setup-button"],[3,"ngClass"],["class","deepblue-mfa-secondary-button",3,"click",4,"ngIf"],["fxLayout","column","fxLayoutGap","10px",1,"deepblue-mfa-enrolled-card"],["fxLayout","row","class","deepblue-mfa-enrolled-card-factors",4,"ngIf"],["class","deepblue-mfa-seperator-horizontal",4,"ngIf"],["fxLayout","row",1,"deepblue-mfa-enrolled-card-factors"],["fxLayout","row","fxLayoutGap","10px","fxLayoutAlign","center center",1,"deepblue-mfa-enrolled-card-factor-item"],[1,"deepblue-mfa-common-content","lato","bold","deepblue-mfa-label-custom-text"],[1,"deepblue-mfa-seperator-vertical"],[1,"deepblue-mfa-common-content","lato","bold","deepblue-mfa-label-custom-voice"],["class","deepblue-mfa-actions deepblue-mfa-card-security-key-setup-button",4,"ngIf"],[1,"deepblue-mfa-actions","deepblue-mfa-card-security-key-setup-button"],[1,"deepblue-mfa-layout-factors-card"],["fxLayout","row wrap","fxLayoutAlign","end center",1,"deepblue-mfa-mar-t-20"],[1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&ye(0,jKe,13,9,"div",0),2&t&&j("ngIf",i.hasLoaded)},dependencies:[Z2,$d,tr,Xo,ps,Bo,qs,wl,Hs,pf],styles:[".deepblue-mfa-layout-factors-card{padding:0!important;background-color:#f7f7f7!important}.deepblue-mfa-layout-factors-card-with-padding{padding:32px}.deepblue-mfa-card{padding:20px 10px 20px 20px!important;display:flex;flex-direction:row;border-radius:0!important;background-color:#fff;border:solid .5px #ccc;box-shadow:0 4px 8px #0003!important}.deepblue-mfa-card:hover{border:solid .5px #005793;border-radius:0%!important;box-shadow:0 4px 8px #0003!important}.deepblue-mfa-card-inactive{background-color:#f7f7f7!important}.deepblue-mfa-seperator-horizontal{width:100%;background:#ccc;height:1px}.deepblue-mfa-seperator-vertical{height:14px;background:#ccc;width:1px}.deepblue-mfa-icon{align-items:start;margin-top:14px!important}.deepblue-mfa-actions{flex-grow:1;display:flex;place-content:center flex-end;align-items:center}.deepblue-mfa-authenticator-list{overflow:auto}.deepblue-mfa-authenticator-list .mat-icon{width:30px!important;height:30px!important}.deepblue-mfa-authenticator-list .deepblue-mfa-label-custom-text{margin-right:45px!important}@media (max-width: 400px){.deepblue-mfa-authenticator-list .deepblue-mfa-label-custom-text{margin-right:0!important;width:100%}}.deepblue-mfa-authenticator-list .deepblue-mfa-label-custom-voice{margin-right:10px!important}@media (max-width: 400px){.deepblue-mfa-authenticator-list .deepblue-mfa-label-custom-voice{margin-right:0!important;width:100%}}.deepblue-mfa-mar-t-20{margin-top:20px!important}.nowrap{white-space:nowrap}.deepblue-mfa-authenticator-list-actions-flex-row{display:flex}.deepblue-mfa-seperator-vertical{margin-right:10px;margin-left:10px}@media (max-width: 400px){.deepblue-mfa-enrolled-card-factors .deepblue-mfa-enrolled-card-factor-item{width:100%!important;padding-right:18px!important}}@media (max-width: 560px){.deepblue-mfa-authenticator-list-actions-flex-column{display:flex;flex-direction:column}.deepblue-mfa-authenticator-list-actions-flex-column .deepblue-mfa-actions{place-content:flex-end;align-items:flex-end}.deepblue-mfa-authenticator-list-actions-flex-column button.deepblue-mfa-secondary-button{width:auto!important}.deepblue-mfa-enrolled-card-factors{flex-direction:column!important;align-items:flex-end!important}.deepblue-mfa-enrolled-card-factors .deepblue-mfa-enrolled-card-factor-item{place-content:flex-end!important;padding-right:30px!important}.deepblue-mfa-enrolled-card-factors .deepblue-mfa-actions{place-content:flex-end!important}.deepblue-mfa-enrolled-card-factors button.deepblue-mfa-secondary-button{margin-top:0!important}
1.deepblue-mfa-actions.deepblue-mfa-card-okta-verify-setup-button.ng-star-inserted button.deepblue-mfa-secondary-button{margin-top:0!important}.deepblue-mfa-actions.deepblue-mfa-card-security-key-setup-button.ng-star-inserted button.deepblue-mfa-secondary-button{margin-top:0!important}.deepblue-mfa-actions.deepblue-mfa-card-remove-button button.deepblue-mfa-secondary-button{width:-moz-fit-content!important;width:fit-content!important;margin-top:0!important}.deepblue-mfa-mar-t-20 button.deepblue-mfa-primary-button{width:-moz-fit-content!important;width:fit-content!important}}\n"],encapsulation:2}),e})(),uJ=(()=>{class e{constructor(t,i,r,o,s){this.router=t,this.formBuilder=i,this.location=r,this.usService=o,this.oktaSubjectService=s,this.notifications=[],this.activateAccountOptions=["Email me a setup link","Text me a setup link"],this.selectedOption=this.activateAccountOptions[0],this.phoneControl=new ms(void 0,[Ar.required]),this.showSelectOptionPg=!1,this.showEmailOktaVerify=!1,this.showTextOktaVerify=!1,this.showActivationLinkSent=!1,this.activationLinkToEmail=!1,this.activationLinkToPhone=!1,this.isCallSelected=!0,this.emailAddress=new ms(""),this.isValidPhone=!1}ngOnInit(){var t;this.appleAppStoreLink=this.usService.appleAppStoreLink,this.googlePlayStoreLink=this.usService.googlePlayStoreLink,this.routeState=this.location.getState(),this.oktaSubjectService.setLoader(!0),this.enrollVerifyFactor(),this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(i=>{this.notifications=i}),null==(null===(t=this.routeState)||void 0===t?void 0:t.userId)&&this.back()}back(t=null){this.location.back()}goBack(t){"selectOptionPg"==t?(this.showSelectOptionPg=!1,this.showEmailOktaVerify=!1,this.showActivationLinkSent=!1,this.showTextOktaVerify=!1):"verifyAnotherWay"==t&&(this.showSelectOptionPg=!0,this.showEmailOktaVerify=!1,this.showActivationLinkSent=!1,this.showTextOktaVerify=!1)}phoneNumberStatusChange(t){this.isValidPhone=!t}enrollVerifyFactor(){var t,i;this.usService.enrollFactor(Object.assign(Object.assign({},null===(t=this.routeState)||void 0===t?void 0:t.factor),{userId:null===(i=this.routeState)||void 0===i?void 0:i.userId})).subscribe(r=>{var o,s,a,l,c;200==r.code?(this.factorId=r.data.id,this.qrImg=(null===(c=null===(l=null===(a=null===(s=null===(o=r.data)||void 0===o?void 0:o._embedded)||void 0===s?void 0:s.activation)||void 0===a?void 0:a._links)||void 0===l?void 0:l.qrcode)||void 0===c?void 0:c.href)||"",this.factorId&&(this.pollInterval=setInterval(()=>{this.pollVerifyFactor()},3e3)),this.oktaSubjectService.setLoader(!1)):(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0))},()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0)})}selectActivateQrOption(){this.showSelectOptionPg=!0}pollVerifyFactor(){var t,i;null===(t=this.pollSub)||void 0===t||t.unsubscribe(),this.pollSub=this.usService.pollOktaVerifyFactor(Object.assign({userId:null===(i=this.routeState)||void 0===i?void 0:i.userId,factorId:this.factorId},this.routeState.factor)).subscribe(r=>{var o,s;200==r.code||202==r.code?"TIMEOUT"==(null===(o=r?.data)||void 0===o?void 0:o.factorResult)?(this.oktaSubjectService.setLoader(!0),this.enrollVerifyFactor()):"ACTIVE"==r.data.status&&(this.oktaSubjectService.onEnrollMfaNext({authenticator:"Okta Verify",userId:null===(s=this.routeState)||void 0===s?void 0:s.userId}),this.pollInterval&&clearInterval(this.pollInterval),this.back()):(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Okta Verify","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0))},()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0)})}activateOptionSelected(t){var i;"Email me a setup link"==t?(this.showSelectOptionPg=!1,this.showEmailOktaVerify=!0,this.showTextOktaVerify=!1,this.emailAddress.setValue(null===(i=this.routeState)||void 0===i?void 0:i.email),this.emailAddress.disable()):"Text me a setup link"==t&&(this.showSelectOptionPg=!1,this.showEmailOktaVerify=!1,this.showTextOktaVerify=!0)}activationLinkSent(t){var i;const r={factorId:this.factorId,userId:null===(i=this.routeState)||void 0===i?void 0:i.userId,type:t,requestBody:{}};"email"!=t&&(r.requestBody={profile:{phoneNumber:"+"+this.phoneControl.value.phoneNumberRaw}}),t&&(this.oktaSubjectService.setLoader(!0),this.usService.oktaVerifyCantScanLink(r).subscribe(o=>{200==o.code?(this.showSelectOptionPg=!1,this.showEmailOktaVerify=!1,this.showTextOktaVerify=!1,this.showActivationLinkSent=!0,"email"===t?(this.activationLinkToEmail=!0,this.activationLinkToPhone=!1):(this.activationLinkToPhone=!0,this.activationLinkToEmail=!1),this.oktaSubjectService.setLoader(!1)):(this.phoneControl.setErrors({invalid:!0}),this.oktaSubjectService.setLoader(!1))},o=>{var s,a;400==(null===(s=o?.error)||void 0===s?void 0:s.code)||403==(null===(a=o?.error)||void 0===a?void 0:a.code)?(this.phoneControl.setErrors({invalid:!0}),this.oktaSubjectService.setLoader(!1)):(this.location.back(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),window.scrollTo(0,0),this.oktaSubjectService.setLoader(!1))}))}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.pollInterval&&clearInterval(this.pollInterval)}}return e.\u0275fac=function(t){return new(t||e)(g(Ai),g(ABe),g(ks),g(Pu),g(Iu))}
vendor: 6,497 bytes, line 1
1,e.\u0275cmp=We({type:e,selectors:[["cp-okta-verify"]],decls:103,vars:24,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayout","column","fxLayoutGap","40px"],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-okta-verify-card"],["fxLayout","row","fxFlex","100",1,"deepblue-mfa-okta-verify-card-container"],["fxFlex","60","fxLayout","column","fxLayoutAlign","space-between",1,"deepblue-mfa-okta-verify-card-content-div"],[1,"deepblue-mfa-common-content","lato","size-18"],[1,"deepblue-mfa-okta-verify-authentication-steps"],["target","_blank",1,"deepblue-mfa-link",3,"href"],[1,"deepblue-mfa-common-content","lato","bold"],["fxFlex","40","fxLayout","column","fxLayoutAlign","end end",1,"deepblue-mfa-qr-cotainer"],["fxLayout","column","fxLayoutAlign","end",1,"deepblue-mfa-qr-cant-scan"],["alt","QR Code for enrolling okta verify",1,"deepblue-mfa-qr-image",3,"src"],[1,"deepblue-mfa-cant-scan"],[1,"deepblue-mfa-link",3,"click"],["fxLayout","row wrap","fxLayoutAlign","end center"],[1,"deepblue-mfa-primary-button",3,"click"],[1,"deepblue-mfa-okta-verify-card","deepblue-mfa-okta-verify-card-custom-class"],["fxLayout","column","fxLayoutGap","20px"],[1,"deepblue-mfa-common-content","lato","size-16"],["fxLayout","column","fxLayoutGap","17px",1,"deepblue-mfa-radio-group",3,"ngModel","ngModelChange"],[4,"ngFor","ngForOf"],[1,"deepblue-mfa-cant-scan-secondary-button-custom-class"],["fxFlex","100%","fxLayoutAlign","end center"],["fxLayout","row wrap","fxFlex","100%","fxLayoutGap","40px","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","button",1,"deepblue-mfa-primary-button",3,"click"],["fxLayout","column","fxLayoutGap","4px"],["matInput","","type","text",1,"mfa-verification-input-email","deepblue-mfa-verification-email-input-custom-class",3,"formControl"],[1,"deepblue-mfa-link","deepblue-mfa-common-content","lato",3,"click"],["fxLayout","column"],[1,"deepblue-mfa-common-content-custom-class"],["fxFlex","36%",1,"deepblue-mfa-phone-number-custom-class",3,"control","isFaxNumber","patchAsSeparateValues","phoneNumberStatusChange"],["type","button",1,"deepblue-mfa-primary-button",3,"ngClass","click"],["fxLayout","column","fxFlex","100%","fxLayoutGap","20px",4,"ngIf"],[3,"value","title"],[1,"deepblue-mfa-common-content","lato"],["fxLayout","column","fxFlex","100%","fxLayoutGap","20px"],[1,"deepblue-mfa-common-content","lato","size-18","bold"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1),q(2,"Set Up Okta Verify Authenticator "),M(),T(3,"div")(4,"mat-card",2)(5,"div",3)(6,"div",4)(7,"p",5),q(8,"Using your mobile device, follow these steps to set up your Okta account:"),M(),T(9,"div",6)(10,"p"),q(11,"1. Download the Okta Verify mobile application from the "),T(12,"a",7),q(13,"Apple App Store"),M(),q(14," or "),T(15,"a",7),q(16,"Google Play"),M()(),T(17,"p"),q(18,"2. Open the application and follow the instructions to add your account"),M(),T(19,"p"),q(20,"3. When prompted, tap "),T(21,"span",8),q(22,"Scan a QR code"),M(),q(23,", and then scan the QR code on this screen"),M(),T(24,"p"),q(25,"4. After adding your account, you will be redirected to the previous screen"),M()()(),T(26,"div",9)(27,"div",10),Ze(28,"img",11),T(29,"div",12)(30,"a",13),_e("click",function(){return i.selectActivateQrOption()}),q(31,"Can't scan? "),M()()()()()()(),T(32,"div")(33,"div",14)(34,"button",15),_e("click",function(){return i.back()}),q(35,"BACK"),M()()()(),T(36,"div",0)(37,"div",1),q(38,"Can't Scan the QR Code?"),M(),T(39,"mat-card",16)(40,"div",17)(41,"p",18),q(42,"Select an option to activate your Okta Verify account: "),M(),T(43,"mat-radio-group",19),_e("ngModelChange",function(o){return i.selectedOption=o}),ye(44,zKe,4,3,"div",20),M()()(),T(45,"div",21)(46,"div",22)(47,"div",23)(48,"button",24),_e("click",function(){return i.goBack("selectOptionPg")}),q(49,"BACK"),M(),T(50,"button",25),_e("click",function(){return i.activateOptionSelected(i.selectedOption)}),q(51,"CONTINUE"),M()()()()(),T(52,"div",0)(53,"div",1),q(54,"Email Okta Verify Setup Link"),M(),T(55,"mat-card",2)(56,"div",17)(57,"p",18),q(58,"We will send an activation link to the email below. You will need to access the link from the device that Okta Verify is installed."),M(),T(59,"div",26)(60,"p")(61,"span",8),q(62,"Email Address*"),M()(),Ze(63,"input",27),M(),T(64,"div")(65,"a",28),_e("click",function(){return i.goBack("verifyAnotherWay")}),q(66,"Set up Okta Verify another way"),M()()()(),T(67,"div")(68,"div",22)(69,"div",23)(70,"button",25),_e("click",function(){return i.activationLinkSent("email")}),q(71,"SEND LINK"),M()()()()(),T(72,"div",0)(73,"div",1),q(74,"Text Okta Verify Setup Link"),M(),T(75,"mat-card",2)(76,"div",29)(77,"div",30)(78,"p",18),q(79,"Enter your phone number to receive an activation link."),M(),Ze(80,"br"),M(),T(81,"div")(82,"deepblue-phone-number",31),_e("phoneNumberStatusChange",function(o){return i.phoneNumberStatusChange(o)}),M()(),T(83,"div")(84,"a",28),_e("click",function(){return i.goBack("verifyAnotherWay")}),q(85,"Set up Okta Verify another way"),M()()()(),T(86,"div")(87,"div",22)(88,"div",23)(89,"button",32),_e("click",function(){return i.activationLinkSent("sms")}),q(90,"SEND LINK"),M()()()()(),T(91,"div",0)(92,"div",1),q(93,"Activation Link Sent"),M(),T(94,"div")(95,"mat-card",2),ye(96,GKe,9,1,"div",33),ye(97,qKe,12,1,"div",33),M()(),T(98,"div")(99,"div",22)(100,"div",23)(101,"button",25),_e("click",function(){return i.goBack("selectOptionPg")}),q(102,"Done"),M()()()()()),2&t&&(ft("deepblue-mfa-display-none",i.showSelectOptionPg||i.showEmailOktaVerify||i.showTextOktaVerify||i.showActivationLinkSent),N(12),j("href",i.appleAppStoreLink,Yi),N(3),j("href",i.googlePlayStoreLink,Yi),N(13),j("src",i.qrImg,Yi),N(8),ft("deepblue-mfa-display-none",!i.showSelectOptionPg),N(7),j("ngModel",i.selectedOption),N(1),j("ngForOf",i.activateAccountOptions),N(8),ft("deepblue-mfa-display-none",!i.showEmailOktaVerify),N(11),j("formControl",i.emailAddress),N(9),ft("deepblue-mfa-display-none",!i.showTextOktaVerify),N(10),j("control",i.phoneControl)("isFaxNumber",i.isCallSelected)("patchAsSeparateValues",!0),N(7),j("ngClass",Ju(22,W2,!i.isValidPhone)),N(2),ft("deepblue-mfa-display-none",!i.showActivationLinkSent),N(5),j("ngIf",i.activationLinkToEmail&&!i.activationLinkToPhone),N(1),j("ngIf",i.activationLinkToPhone&&!i.activationLinkToEmail))},dependencies:[$d,ZY,Zv,Xo,ps,Bo,qs,XY,_m,zR,wl,AS,cf,uf,Hs,pf,tr],styles:['.deepblue-mfa-okta-ver
1ify-content[_ngcontent-%COMP%]{height:100%;justify-content:space-between}.deepblue-mfa-common-content-custom-class[_ngcontent-%COMP%] .deepblue-mfa-common-content[_ngcontent-%COMP%]{margin-bottom:0!important} .deepblue-mfa-radio-group span.mat-radio-outer-circle{display:none!important} .deepblue-mfa-radio-group .cdk-visually-hidden{margin:3px!important;height:15px!important;width:15px!important;-webkit-appearance:radio!important;padding:0!important;border:none!important;clip:unset!important;overflow:unset!important;position:absolute;white-space:unset!important;outline:none!important;left:unset!important}.deepblue-mfa-okta-verify-authentication-steps[_ngcontent-%COMP%]{font-family:"Lato";font-size:16px}.deepblue-mfa-qr-cotainer[_ngcontent-%COMP%]{place-content:unset!important}@media only screen and (max-width: 768px){.deepblue-mfa-okta-verify-card-container[_ngcontent-%COMP%]{flex-direction:column!important}.deepblue-mfa-qr-cotainer[_ngcontent-%COMP%]{align-items:flex-start!important}}.deepblue-mfa-okta-verify-card-content-div[_ngcontent-%COMP%]{max-width:100%!important}.deepblue-mfa-verification-email-input-custom-class[_ngcontent-%COMP%]{min-width:300px!important;box-sizing:border-box!important}@media only screen and (max-width: 480px){.deepblue-mfa-verification-email-input-custom-class[_ngcontent-%COMP%]{min-width:100%!important}}.deepblue-mfa-phone-number-custom-class[_ngcontent-%COMP%]{max-width:50%!important}@media only screen and (max-width: 600px){.deepblue-mfa-cant-scan-secondary-button-custom-class[_ngcontent-%COMP%] .deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}}']}),e})(),dJ=(()=>{class e{constructor(t,i,r,o){this.router=t,this.location=i,this.usService=r,this.oktaSubjectService=o,this.notifications=[],this.showCantScan=!1,this.showVerificationCode=!1,this.passCodeControl=new ms("",[Ar.pattern(/^\d+$/),Ar.required]),this.fromQRpage=!1}ngOnInit(){var t;this.routeState=this.location.getState(),this.oktaSubjectService.setLoader(!0),this.enrollVerifyFactor(),this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(i=>{this.notifications=i}),this.passCodeControl.valueChanges.subscribe(i=>{this.passCodeControl.hasError("invalid")&&this.passCodeControl.setErrors(null)}),null==(null===(t=this.routeState)||void 0===t?void 0:t.userId)&&this.back()}back(t=null){this.location.back()}enrollVerifyFactor(){var t,i;this.usService.enrollFactor(Object.assign(Object.assign({},null===(t=this.routeState)||void 0===t?void 0:t.factor),{userId:null===(i=this.routeState)||void 0===i?void 0:i.userId})).subscribe(r=>{var o,s,a,l,c;200==r.code?(this.verificationCode=r.data._embedded.activation.sharedSecret,this.factorId=r.data.id,this.qrImg=(null===(c=null===(l=null===(a=null===(s=null===(o=r.data)||void 0===o?void 0:o._embedded)||void 0===s?void 0:s.activation)||void 0===a?void 0:a._links)||void 0===l?void 0:l.qrcode)||void 0===c?void 0:c.href)||"",this.oktaSubjectService.setLoader(!1)):(this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0))},()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),this.back(),window.scrollTo(0,0)})}addFocusedClass(t=!1){this.verificationNumberComponentContainer.nativeElement.querySelector(".mat-form-field.mfa-verification-input")?.classList[t?"remove":"add"]("mat-focused")}activateFactor(){var t;if(this.passCodeControl.valid){this.oktaSubjectService.setLoader(!0);const i={userId:null===(t=this.routeState)||void 0===t?void 0:t.userId,factorId:this.factorId};this.usService.activateFactor(i,{passCode:this.passCodeControl.value}).subscribe(o=>{var s;200==o.code?(this.oktaSubjectService.onEnrollMfaNext({authenticator:"Authenticator App",userId:null===(s=this.routeState)||void 0===s?void 0:s.userId}),this.oktaSubjectService.setLoader(!1),this.location.back()):(this.oktaSubjectService.setLoader(!1),this.passCodeControl.setErrors({invalid:!0}))},()=>{this.oktaSubjectService.setLoader(!1),this.passCodeControl.setErrors({invalid:!0})})}}cantScanPage(){this.showCantScan=!0}setUpAuthenticator(t){this.fromQRpage="fromQrPg"==t,this.showCantScan=!1,this.showVerificationCode=!0}goBack(t){"cantScanPage"==t?(this.showCantScan=!1,this.showVerificationCode=!1):"verificationCodePage"==t&&(this.fromQRpage?(this.showCantScan=!1,this.showVerificationCode=!1):(this.showCantScan=!0,this.showVerificationCode=!1))}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)}}return e.\u0275fac=function(t){return new(t||e)(g(Ai),g(ks),g(Pu),g(Iu))},e.\u0275cmp=We({type:e,selectors:[["cp-custom-authenticator"]],viewQuery:function(t,i){if(1&t&&Xt(WKe,5),2&t){let r;Ve(r=Be())&&(i.verificationNumberComponentContainer=r.first)}},decls:85,vars:19,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayout","column","fxLayoutGap","40px"],["verificationNumberComponentContainer",""],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-okta-ver
1ify-card"],["fxLayout","row","fxFlex","100",1,"deepblue-mfa-okta-verify-card-container-custom-class"],["fxFlex","60","fxLayout","column","fxLayoutAlign","space-between",1,"deepblue-mfa-okta-verify-card-div-custom-class"],[1,"deepblue-mfa-common-content","lato","size-18"],[1,"deepblue-mfa-common-content","lato","size-16"],[1,"deepblue-mfa-common-content","lato","bold","size-16"],["fxFlex","40","fxLayout","column","fxLayoutAlign","end end",1,"deepblue-mfa-qr-cant-scan-cutom-class"],["fxLayout","column","fxLayoutAlign","end",1,"deepblue-mfa-qr-cant-scan"],["alt","QR Code for enrolling okta verify",1,"deepblue-mfa-qr-image",3,"src"],[1,"deepblue-mfa-cant-scan"],[1,"deepblue-mfa-link",3,"click"],[1,"deepblue-mfa-setup-secondary-button-custom-class"],["fxFlex","100%","fxLayoutAlign","end center"],["fxLayout","row wrap","fxFlex","100%","fxLayoutGap","40px","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","button",1,"deepblue-mfa-primary-button",3,"click"],[1,"deepblue-mfa-common-content","lato","size-16","bold"],[1,"deepblue-mfa-common-content","lato","size-24","bold","lh-32"],[1,"deepblue-mfa-cant-scan-secondary-button-custom-class"],[1,"deepblue-mfa-verification-input-custom-class"],[1,"mb-0"],[1,"deepblue-mfa-common-content","lato","bold"],[1,"mfa-verification-input",3,"mouseover","mouseleave"],["matInput","","type","text",3,"formControl"],["verificationNumberE","matInput"],["matSuffix","","class","deepblue-mfa-error-icon",4,"ngIf"],["fxLayout","column",1,"deepblue-mfa-error-msg"],[1,"deepblue-mfa-verification-secondary-button-custom-class"],["type","button",1,"deepblue-mfa-primary-button",3,"ngClass","click"],["matSuffix","",1,"deepblue-mfa-error-icon"]],template:function(t,i){if(1&t){const r=Sn();T(0,"div",0,1)(2,"div",2),q(3,"Set Up Authenticator"),M(),T(4,"div")(5,"mat-card",3)(6,"div",4)(7,"div",5)(8,"p",6),q(9,"Using your mobile device, follow these steps:"),M(),T(10,"p",7),q(11,"1. Open your Authenticator of Choice (Microsoft or Google) application and select the Scan QR Code option "),M(),T(12,"p",7),q(13,"2. Scan the QR code on this screen and complete the enrollment on mobile device"),M(),T(14,"p",7),q(15,"3. Select "),T(16,"span",8),q(17,"Continue "),M(),q(18," on this screen "),M(),T(19,"p",7),q(20,"4. Enter the verification code from the mobile application "),M()(),T(21,"div",9)(22,"div",10),Ze(23,"img",11),T(24,"div",12)(25,"a",13),_e("click",function(){return i.cantScanPage()}),q(26,"Can't scan? "),M()()()()()()(),T(27,"div",14)(28,"div",15)(29,"div",16)(30,"button",17),_e("click",function(){return i.back()}),q(31,"BACK"),M(),T(32,"button",18),_e("click",function(){return i.setUpAuthenticator("fromQrPg")}),q(33,"CONTINUE"),M()()()()(),T(34,"div",0)(35,"div",2),q(36,"Can\u2019t Scan the QR Code?"),M(),T(37,"mat-card",3)(38,"div")(39,"p",7),q(40,"Use the application's "),T(41,"span",19),q(42,"Can't Scan"),M(),q(43," option and enter the key below when prompted. Copy the verification code from your application and select "),T(44,"span",19),q(45,"Continue"),M(),q(46," on this screen. "),M(),Ze(47,"br"),T(48,"p",20),q(49),M()()(),T(50,"div",21)(51,"div",15)(52,"div",16)(53,"button",17),_e("click",function(){return i.goBack("cantScanPage")}),q(54,"BACK"),M(),T(55,"button",18),_e("click",function(){return i.setUpAuthenticator()}),q(56,"CONTINUE"),M()()()()(),T(57,"div",0)(58,"div",2),q(59,"Set Up Authenticator"),M(),T(60,"mat-card",3)(61,"div",22)(62,"p",7),q(63,"Enter the verification code from your authenticator application. "),M(),Ze(64,"br"),T(65,"p",23)(66,"span",24),q(67,"Verification Code*"),M()(),T(68,"mat-form-field",25),_e("mouseover",function(){return i.addFocusedClass()})("mouseleave",function(){Pt(r);const s=Ro(70);return Rt(null!=s&&s.focused?null:i.addFocusedClass(!0))}),Ze(69,"input",26,27),ye(71,KKe,2,0,"mat-icon",28),M(),T(72,"div",29)(73,"div"),q(74),M(),T(75,"div"),q(76),M()()()(),T(77,"div",30)(78,"div")(79,"div",15)(80,"div",16)(81,"button",17),_e("click",function(){return i.goBack("verificationCodePage")}),q(82,"BACK"),M(),T(83,"button",31),_e("click",function(){return i.activateFactor()}),q(84,"VERIFY"),M()()()()()()}if(2&t){const r=Ro(70);ft("deepblue-mfa-display-none",i.showCantScan||i.showVerificationCode),N(23),j("src",i.qrImg,Yi),N(11),ft("deepblue-mfa-display-none",!i.showCantScan),N(15),ln(i.verificationCode),N(8),ft("deepblue-mfa-display-none",!i.showVerificationCode),N(11),ft("mat-focused",null==r?null:r.focused)("mat-form-field-invalid",(i.passCodeControl.dirty||i.passCodeControl.touched)&&(i.passCodeControl.hasError("required")||i.passCodeControl.hasError("pattern"))),N(1),j("formControl",i.passCodeControl),N(2),j("ngIf",(i.passCodeControl.hasError("required")||i.passCodeControl.hasError("pattern")||i.passCodeControl.hasError("invalid"))&&(i.passCodeControl.dirty||i.passCodeControl.touched)),N(3),ln(i.passCodeControl.hasError("invalid")||i.passCodeControl.hasError("pattern")?"Incorrect verification code. Please try again.":""),N(2),ln((i.passCodeControl.dirty||i.passCodeControl.touched)&&i.passCodeControl.hasError("required")?"Please enter the verification code.":""),N(7),j("ngClass",Ju(17,W2,i.passCodeControl&&!i.passCodeControl.value||i.passCodeControl.hasError("invalid")||i.passCodeControl.hasError("pattern")||(i.passCodeControl.dirty||i.passCodeControl.touched)&&i.passCodeControl.hasError("required")))}},dependencies:[$d,Pv,Fd,Xo,ps,Bo,qs,AS,cf,_m,uf,tr,yS,Hs,pf],styles:["@media only screen and (max-width: 768px){.deepblue-mfa-okta-ver
1ify-card-container-custom-class[_ngcontent-%COMP%]{flex-direction:column!important;margin-bottom:16px!important}.deepblue-mfa-qr-cant-scan-cutom-class[_ngcontent-%COMP%]{align-items:flex-start!important}}.deepblue-mfa-okta-verify-card-div-custom-class[_ngcontent-%COMP%]{max-width:100%!important;margin-bottom:24px!important}.deepblue-mfa-qr-cant-scan-cutom-class[_ngcontent-%COMP%]{place-content:unset!important}@media only screen and (max-width: 600px){.deepblue-mfa-setup-secondary-button-custom-class[_ngcontent-%COMP%] .deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}.deepblue-mfa-cant-scan-secondary-button-custom-class[_ngcontent-%COMP%] .deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}.deepblue-mfa-verification-secondary-button-custom-class[_ngcontent-%COMP%] .deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}} cp-custom-authenticator .deepblue-mfa-verification-input-custom-class .mfa-verification-input{min-width:340px!important}@media only screen and (max-width: 500px){ cp-custom-authenticator .deepblue-mfa-verification-input-custom-class .mfa-verification-input{min-width:100%!important}} cp-custom-authenticator .deepblue-mfa-verification-input-custom-class .mat-form-field-appearance-outline:not(.mat-form-field-invalid).mat-focused .mat-form-field-outline-thick{color:#0094ed} cp-custom-authenticator .deepblue-mfa-verification-input-custom-class .mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{color:#d11314!important}"]}),e})(),hJ=(()=>{class e{constructor(t,i,r){this.location=t,this.usService=i,this.oktaSubjectService=r,this.notifications=[],this.hasEnrollmentStarted=!1,this.verificationCode=new ms("",[Ar.pattern(/^\d+$/),Ar.required]),this.countrySearch=new ms(""),this.isCallAgainEnabled=!0,this.phoneControl=new ms(void 0,[Ar.required]),this.isTextSelected=!0,this.timeLeft=30,this.isTimerStarted=!0,this.isInvalidCode=!1,this.isValidPhone=!1}ngOnInit(){var t;this.routeState=this.location.getState(),this.routeState.isCallEnrolled||this.routeState.isSmsEnrolled?this.routeState.isSmsEnrolled?this.isTextSelected=!1:this.routeState.isCallEnrolled&&(this.isTextSelected=!0):this.isTextSelected=!0,this.hasEnrollmentStarted=!1,this.notificationsSub=this.oktaSubjectService.notificationSubject.subscribe(i=>{this.notifications=i}),this.verificationCode.valueChanges.subscribe(i=>{this.verificationCode.hasError("invalid")&&this.verificationCode.setErrors(null),this.verificationCode.hasError("pattern")||(this.isInvalidCode=!1)}),null==(null===(t=this.routeState)||void 0===t?void 0:t.userId)&&this.back()}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)}phoneNumberStatusChange(t){this.isValidPhone=!t}onSubmit(){if(this.phoneControl.valid){this.oktaSubjectService.setLoader(!0);const t=this.isTextSelected?this.routeState.sms:this.routeState.call,i={provider:t.provider,factorType:t.factorType,profile:{phoneNumber:"+"+this.phoneControl.value.phoneNumberRaw},userId:this.routeState.userId};this.currentPhoneNumber=i.profile.phoneNumber,this.usService.enrollFactor(i).subscribe(r=>{this.oktaSubjectService.setLoader(!1),this.isCallAgainEnabled=!1,200==r.code?(this.timeLeft=30,this.timerSubscription=jM(1e3).pipe(fi(this.timeLeft+1)).subscribe(o=>{o!==this.timeLeft?(this.isTimerStarted=!0,this.remainingTimeLeft=this.timeLeft-o):this.isTimerStarted=!1}),this.hasEnrollmentStarted=!0,this.factorId=r.data.id):(this.phoneControl.setErrors({invalid:!0}),this.oktaSubjectService.setLoader(!1))},r=>{var o,s;400==(null===(o=r?.error)||void 0===o?void 0:o.code)||403==(null===(s=r?.error)||void 0===s?void 0:s.code)?(this.phoneControl.setErrors({invalid:!0}),this.oktaSubjectService.setLoader(!1)):(this.location.back(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),window.scrollTo(0,0))})}}verifyCode(){this.verificationCode.valid&&(this.oktaSubjectService.setLoader(!0),this.usService.activateFactor({factorId:this.factorId,userId:this.routeState.userId},{passCode:this.verificationCode.value}).subscribe(t=>{var i;this.oktaSubjectService.setLoader(!1),200==t.code?(this.oktaSubjectService.onEnrollMfaNext({authenticator:"Phone Authentication",type:this.isTextSelected?"Sms":"Voice",userId:null===(i=this.routeState)||void 0===i?void 0:i.userId}),this.location.back()):(this.verificationCode.setErrors({inValid:!0}),this.oktaSubjectService.setLoader(!1))},t=>{var i,r,o;400==(null===(i=t?.error)||void 0===i?void 0:i.code)||403==(null===(r=t?.error)||void 0===r?void 0:r.code)?(this.verificationCode.setErrors({inValid:!0}),this.oktaSubjectService.setLoader(!1)):500==(null===(o=t?.error)||void 0===o?void 0:o.code)?(this.isInvalidCode=!0,this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),window.scrollTo(0,0)):(this.location.back(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.oktaSubjectService.setLoader(!1),window.scrollTo(0,0))}
1))}setCallSelected(t){this.isTextSelected=t}back(){this.location.back()}}return e.\u0275fac=function(t){return new(t||e)(g(ks),g(Pu),g(Iu))},e.\u0275cmp=We({type:e,selectors:[["cp-phone-verify"]],decls:14,vars:7,consts:[["fxLayout","column","fxFlex","100%","fxLayoutGap","40px"],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],["fxFlex","100%","fxLayout","column","fxLayoutGap","20px",1,"deepblue-mfa-phone-verify-card"],["fxLayout","row","fxFlex","100%",4,"ngIf"],[4,"ngIf"],["fxLayout","row wrap","fxFlex","100%",4,"ngIf"],[1,"deepblue-mfa-phone-content-card"],["fxFlex","100%","fxLayoutAlign","end center"],["fxLayout","row wrap","fxFlex","100%","fxLayoutGap","40px","fxLayoutAlign","end center"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","submit",1,"deepblue-mfa-primary-button",3,"ngClass","click"],["fxLayout","row","fxFlex","100%"],["fxFlex","50%","fxLayout","column","fxLayoutAlign","center space-between","class","deepblue-mfa-phone-option-button deepblue-mfa-common-content lato size-16",3,"deepblue-mfa-phone-option-button-active","click",4,"ngIf"],["fxFlex","50%","fxLayout","column","fxLayoutAlign","center space-between",1,"deepblue-mfa-phone-option-button","deepblue-mfa-common-content","lato","size-16",3,"click"],[1,"deepblue-mfa-common-content","lato","size-16","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-common-content","lato","size-16","deepblue-mfa-color-black"],["fxLayout","column","fxFlex","100%","fxLayoutGap","20px"],[1,"deepblue-mfa-common-content","lato","size-16"],["fxFlex","45%",3,"control","isFaxNumber","patchAsSeparateValues","phoneNumberStatusChange"],["fxFlex","35%",3,"control","isFaxNumber","patchAsSeparateValues","phoneNumberStatusChange"],["fxLayout","row wrap","fxFlex","100%"],["fxLayout","column","fxLayoutGap","20px"],["class","deepblue-mfa-common-content lato size-16",4,"ngIf"],["fxFlex","100%"],[1,"deepblue-mfa-common-content","lato","bold"],["for","verificationCode"],[3,"ngClass"],[1,"mfa-verification-input-phone-verify"],["aria-label","Verification Code","matInput","","type","tel","maxlength","6",3,"formControl"],["matSuffix","","class","deepblue-mfa-error-icon",4,"ngIf"],["fxLayout","column",1,"deepblue-mfa-error-msg"],[1,"deepblue-mfa-common-content","lato"],["class","deepblue-mfa-link-custom-disable",4,"ngIf"],["style","background:transparent","class","deepblue-mfa-link-custom",3,"click",4,"ngIf"],[1,"deepblue-mfa-common-content","lato","size-16","bold"],["matSuffix","",1,"deepblue-mfa-error-icon"],[1,"deepblue-mfa-link-custom-disable"],[1,"deepblue-mfa-link-custom",2,"background","transparent",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1),q(2,"Set Up Text Message/Voice Call "),M(),T(3,"mat-card",2),ye(4,JKe,3,2,"div",3),ye(5,nYe,9,4,"form",4),ye(6,cYe,20,9,"div",5),M(),T(7,"mat-card",6)(8,"div",7)(9,"div",8)(10,"button",9),_e("click",function(){return i.back()}),q(11,"BACK"),M(),T(12,"button",10),_e("click",function(){return i.hasEnrollmentStarted?i.verifyCode():i.onSubmit()}),q(13),M()()()()()),2&t&&(N(4),j("ngIf",!i.hasEnrollmentStarted),N(1),j("ngIf",!i.hasEnrollmentStarted),N(1),j("ngIf",i.hasEnrollmentStarted),N(6),j("ngClass",Ju(5,W2,i.hasEnrollmentStarted&&(""===i.verificationCode.value||i.verificationCode.hasError("inValid")||i.verificationCode.hasError("pattern")||i.isInvalidCode)||!i.hasEnrollmentStarted&&!i.isValidPhone)),N(1),ln(i.hasEnrollmentStarted?"CONTINUE":"SEND CODE"))},dependencies:[$d,Zv,Pv,Fd,Bo,Xo,qs,tr,ps,vW,nW,Cc,Hs,pf,AS,cf,JR,_m,uf,yS,cV],styles:['.deepblue-mfa-phone-verify-card[_ngcontent-%COMP%]{padding:32px!important;background:#fff!important}@media only screen and (max-width: 650px){.deepblue-mfa-phone-verify-card[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block!important}.deepblue-mfa-phone-verify-card[_ngcontent-%COMP%] .deepblue-mfa-phone-option-button[_ngcontent-%COMP%]{width:100%!important;max-width:100%!important;display:block!important}}.deepblue-mfa-phone-content-card[_ngcontent-%COMP%]{padding:0!important}.deepblue-mfa-phone-option-button[_ngcontent-%COMP%]{padding:16px 21px;border:1px solid #e5e5e5;background-color:transparent;cursor:pointer}.deepblue-mfa-phone-option-button-active[_ngcontent-%COMP%]{padding:15px 21px;border:2px solid #005793}.deepblue-mfa-phone-option-button[_ngcontent-%COMP%]:disabled{background-color:#efefef} .mat-form-field-appearance-outline:not(.mat-form-field-invalid).mat-focused .mat-form-field-outline-thick{color:#0094ed!important} .mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{color:#d11314!important}.deepblue-mfa-link-custom[_ngcontent-%COMP%]{color:#005793!important;cursor:pointer!important;font-size:16px;font-family:"Lato";background:transparent;border:none;display:block;text-decoration:none!important;padding:0}.deepblue-mfa-link-custom-disable[_ngcontent-%COMP%]{padding:0;color:#414141!important;cursor:default!important;font-size:14px;font-family:"Lato";background:transparent;border:none;display:block;pointer-events:none!important;text-decoration:none!important}button.deepblue-mfa-primary-button[_ngcontent-%COMP%]:disabled{pointer-events:none;color:#f7f7f7!important;background-color:#e5e5e5!important} .deepblue-mfa-error-field .mat-form-field-appearance-outline .mat-form-field-outline-start, .deepblue-mfa-error-field .mat-form-field-appearance-outline .mat-form-field-outline-end{color:#d11314!important;border-width:2px!important}']}),e})(),fJ=(()=>{class e{constructor(t,i,r,o,s){this.oktaWidgetService=t,this.usService=i,this.location=r,this.oktaSubjectService=o,this.config=s,this.notifications=[]}ngOnInit(){var t;this.applicationDisplayName=this.config.applicationDisplayName,this.routeState=this.location.getState(),this.notificationsSub=this.oktaSubjectService.n
1otificationSubject.subscribe(i=>{this.notifications=i}),null==(null===(t=this.routeState)||void 0===t?void 0:t.userId)&&this.goBack()}ngOnDestroy(){var t;null===(t=this.notificationsSub)||void 0===t||t.unsubscribe(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0)}onContinue(){this.oktaSubjectService.setLoader(!0),this.usService.enrollFactor(Object.assign(Object.assign({},this.routeState.factor),{userId:this.routeState.userId})).subscribe(t=>Zn(this,void 0,void 0,function*(){if(200==t.code){this.factorId=t.data.id;try{const i=yield this.getSecurityKey(t.data),r={attestation:null,clientData:null,factorId:t.data.id};r.attestation=Ru.binToStr(i.response.attestationObject),r.clientData=Ru.binToStr(i.response.clientDataJSON),this.activateFactor(r)}catch{this.goBack(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),window.scrollTo(0,0)}}else this.goBack(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),window.scrollTo(0,0)}),()=>{this.goBack(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.setLoader(!1),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),window.scrollTo(0,0)})}getSecurityKey(t){return this.oktaWidgetService.getSecurityKeyAuth(t)}activateFactor(t){this.usService.activateFactor({factorId:this.factorId,userId:this.routeState.userId},t).subscribe(i=>{var r;this.oktaSubjectService.setLoader(!1),200==i.code?(this.oktaSubjectService.onEnrollMfaNext({authenticator:"Security Key",userId:null===(r=this.routeState)||void 0===r?void 0:r.userId}),this.goBack()):(this.goBack(),this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),window.scrollTo(0,0))},()=>{this.notifications.length&&this.oktaSubjectService.closeNotification(null,!0),this.oktaSubjectService.errorMessage("Error Setting Up Multi-Factor Authentication","Something went wrong. Please try again later."),this.goBack(),window.scrollTo(0,0)})}goBack(){this.location.back()}}return e.\u0275fac=function(t){return new(t||e)(g(xc),g(Pu),g(ks),g(Iu),g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-security-key"]],decls:20,vars:1,consts:[["fxLayout","column","fxLayoutGap","40px"],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],["marginTop","10px",1,"deepblue-mfa-security-card"],[1,"deepblue-mfa-common-content","lato","size-16"],[1,"deepblue-mfa-common-content","lato","size-16","bold"],[1,"deepblue-mfa-security-content-card"],["fxFlex","100%","fxLayoutAlign","end center"],["fxLayout","row wrap","fxFlex","100%","fxLayoutGap","40px","fxLayoutAlign","end center",1,"deepblue-mfa-security-content-card-button"],["type","button",1,"deepblue-mfa-secondary-button",3,"click"],["type","button",1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1),q(2,"Set Up Security Key"),M(),T(3,"mat-card",2)(4,"div",3),q(5),M(),Ze(6,"br")(7,"br"),T(8,"div",3),q(9,"Select "),T(10,"span",4),q(11,"Continue"),M(),q(12," to launch this device\u2019s native security key and follow the setup instructions."),M()(),T(13,"mat-card",5)(14,"div",6)(15,"div",7)(16,"button",8),_e("click",function(){return i.goBack()}),q(17,"BACK"),M(),T(18,"button",9),_e("click",function(){return i.onContinue()}),q(19,"CONTINUE"),M()()()()()),2&t&&(N(5),Ti("Security keys are specific to the enrolled device and will open corresponding device\u2019s native authenticator, such as Windows Hello, Touch ID, etc. If you expect to sign in to the ",i.applicationDisplayName," from multiple devices, it\u2019s recommended to have Okta Verify as an authentication option. "))},dependencies:[$d,Bo,qs,Xo,ps],styles:[".deepblue-mfa-security-card[_ngcontent-%COMP%]{padding:32px!important;background:#fff!important}.deepblue-mfa-security-content-card[_ngcontent-%COMP%]{padding:0!important}.deepblue-mfa-security-content-card-no-padding[_ngcontent-%COMP%]{padding:0!important}@media (max-width: 600px){.deepblue-mfa-security-content-card-button[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}}"]}),e})(),pJ=(()=>{class e{constructor(t,i,r,o){this.oktaSubjectService=t,this.location=i,this.router=r,this.config=o,this.successIconGreenPath=this.config.assetsUrl?this.config.assetsUrl+"success_icon_green.svg":"assets/success_icon_green.svg"}ngOnInit(){const t=this.location.getState();this.applicationDisplayName=this.config.applicationDisplayName,this.email=t.email}goToDashboard(){this.oktaSubjectService.setLoader(!0),setTimeout(()=>{if(this.config.redirectToExternalUrl&&""!==this.config.redirectToExternalUrl)return window.location.href=this.config.redirectToExternalUrl,void this.oktaSubjectService.setLoader(!1);this.router.navigateByUrl(this.config.routeToNavigateOnLogin||"/"),this.oktaSubjectService.setLoader(!1)},1e3)}}return e.\u0275fac=function(t){return new(t||e)(g(Iu),g(ks),g(Ai),g(gs))},e.\u0275cmp=We({type:e,selectors:[["lib-mfa-success"]],decls:54,vars:5,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayout","column","fxLayoutGap","20px"],[1,"deepblue-mfa-common-content","mst","size-36","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-common-content","lato","size-18"],["fxLayout","column","fxLayoutGap","20px",1,"deepblue-mfa-layout-factors-card"],["fxLayoutGap","20px",1,"deepblue-mfa-card","deepblue-mfa-card-inactive"],[1,"deepblue-mfa-icon"],["alt","Icon Success",3,"src"],["fxLayout","column","fxFlex","100","fxLayoutGap","14px","fxLayoutAlign","start space-between",1,"deepblue-mfa-authenticator-list"],["fxLayout","row"],["fxLayout","column"],[1,"deepblue-mfa-common-content","lato","size-16","bold","deepblue-mfa-color-black"],[1,"deepblue-mfa-label","deepblue-mfa-common-content","lato","size-13"],[1,"deepblue-mfa-common-content","lato","size-16","deepblue-mfa-color-black"],[1,"deepblue-mfa-layout-factors-card"],["fxLayout","row wrap","fxLayoutAlign","end center",1,"deepblue-mfa-mar-t-20"],[1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1),q(2,"You\u2019re all set"),M(),T(3,"div",2),q(4),M(),T(5,"mat-card",3)(6,"mat-card",4)(7,"div",5),Ze(8,"img",6),M(),T(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10),q(13,"Authenticator of\xa0Choice"),T(14,"span",11),q(15,"Recommended"),M()(),T(16,"div",12),q(17,"Use your preferred authenticator application, such as Google or Microsoft Authenticator, to verify your identity."),M()()()()(),T(18,"mat-card",4)(19,"div",5),Ze(20,"img",6),M(),T(21,"div",7)(22,"div",8)(23,"div",9)(24,"div",10),q(25,"Okta Verify Authenticator"),T(26,"span",11),q(27,"Recommended"),M()(),T(28,"div",12),q(29,"Get a verification code from the Okta Verify authenticator mobile application."),M()()()()(),T(30,"mat-card",4)(31,"div",5),Ze(32,"img",6),M(),T(33,"div",7)(34,"div",8)(35,"div",9)(36,"div",10),q(37,"Phone Authentication "),M(),T(38,"div",12),q(39,"Text Message or Voice Call. "),M()()()()(),T(40,"mat-card",4)(41,"div",5),Ze(42,"img",6),M(),T(43,"div",7)(44,"div",8)(45,"div",9)(46,"div",10),q(47,"Security Key"),M(),T(48,"div",12),q(49,"Use this device\u2019s passcode, Touch ID, or other native authenticator when signing in."),M()()()()()(),T(50,"mat-card",13)(51,"div",14)(52,"button",15),_e("click",function(){return i.goToDashboard()}),q(53,"Continue"),M()()()()),2&t&&(N(4),Ti(" Please continue to the ",i.applicationDisplayName,". You may always update your authentication methods from your User Profile. "),N(4),j("src",i.successIconGreenPath,Yi),N(12),j("src",i.successIconGreenPath,Yi),N(12),j("src",i.successIconGreenPath,Yi),N(10),j("src",i.successIconGreenPath,Yi))},dependencies:[$d,Xo,ps,Bo,qs],styles:[".deepblue-mfa-layout-factors-card[_ngcontent-%COMP%]{padding:0!important;background-color:#f7f7f7!important}.deepblue-mfa-layout-factors-card-with-padding[_ngcontent-%COMP%]{padding:32px}.deepblue-mfa-card[_ngcontent-%COMP%]{padding:20px 10px 20px 20px!important;display:flex;flex-direction:row;border-radius:0!important;background-color:#fff;border:solid .5px #ccc;box-shadow:0 4px 8px #0003!important}.deepblue-mfa-card[_ngcontent-%COMP%]:hover{border:solid .5px #005793;border-radius:0%!important;box-shadow:0 4px 8px #0003!important}.deepblue-mfa-card-inactive[_ngcontent-%COMP%]{background-color:#f7f7f7!important}.deepblue-mfa-seperator-horizontal[_ngcontent-%COMP%]{width:100%;background:#ccc;height:1px}.deepblue-mfa-seperator-vertical[_ngcontent-%COMP%]{height:14px;background:#ccc;width:1px}.deepblue-mfa-icon[_ngcontent-%COMP%]{align-items:start;margin-top:14px!important}.deepblue-mfa-actions[_ngcontent-%COMP%]{flex-grow:1;display:flex;place-content:center flex-end;align-items:center}.deepblue-mfa-authenticator-list[_ngcontent-%COMP%]{overflow:auto}.deepblue-mfa-authenticator-list[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:30px!important;height:30px!important}.deepblue-mfa-authenticator-list[_ngcontent-%COMP%] .deepblue-mfa-label-custom-text[_ngcontent-%COMP%]{margin-right:45px!important}@media (max-width: 400px){.deepblue-mfa-authenticator-list[_ngcontent-%COMP%] .deepblue-mfa-label-custom-text[_ngcontent-%COMP%]{margin-right:0!important;width:100%}}.deepblue-mfa-authenticator-list[_ngcontent-%COMP%] .deepblue-mfa-label-custom-voice[_ngcontent-%COMP%]{margin-right:10px!important}@media (max-width: 400px){.deepblue-mfa-authenticator-list[_ngcontent-%COMP%] .deepblue-mfa-label-custom-voice[_ngcontent-%COMP%]{margin-right:0!important;width:100%}}.deepblue-mfa-mar-t-20[_ngcontent-%COMP%]{margin-top:20px!important}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.deepblue-mfa-authenticator-list-actions-flex-row[_ngcontent-%COMP%]{display:flex}.deepblue-mfa-seperator-vertical[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}@media (max-width: 400px){.deepblue-mfa-enrolled-card-factors[_ngcontent-%COMP%] .deepblue-mfa-enrolled-card-factor-item[_ngcontent-%COMP%]{width:100%!important;padding-right:18px!important}}@media (max-width: 560px){.deepblue-mfa-authenticator-list-actions-flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.deepblue-mfa-authenticator-list-actions-flex-column[_ngcontent-%COMP%] .deepblue-mfa-actions[_ngcontent-%COMP%]{place-content:flex-end;align-items:flex-end}.deepblue-mfa-authenticator-list-actions-flex-column[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{width:auto!important}.deepblue-mfa-enrolled-card-factors[_ngcontent-%COMP%]{flex-direction:column!important;align-items:flex-end!important}.deepblue-mfa-enrolled-card-factors[_ngcontent-%COMP%] .deepblue-mfa-enrolled-card-factor-item[_ngcontent-%COMP%]{place-content:flex-end!important;padding-right:30px!important}.deepblue-mfa-enrolled-card-factors[_ngcontent-%COMP%] .deepblue-mfa-actions[_ngcontent-%COMP%]{place-content:flex-end!important}.deepblue-mfa-enrolled-card-factors[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}
1.deepblue-mfa-actions.deepblue-mfa-card-okta-verify-setup-button.ng-star-inserted[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}.deepblue-mfa-actions.deepblue-mfa-card-security-key-setup-button.ng-star-inserted[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{margin-top:0!important}.deepblue-mfa-actions.deepblue-mfa-card-remove-button[_ngcontent-%COMP%] button.deepblue-mfa-secondary-button[_ngcontent-%COMP%]{width:-moz-fit-content!important;width:fit-content!important;margin-top:0!important}.deepblue-mfa-mar-t-20[_ngcontent-%COMP%] button.deepblue-mfa-primary-button[_ngcontent-%COMP%]{width:-moz-fit-content!important;width:fit-content!important}}"]}),e})(),mJ=(()=>{class e{constructor(t,i,r){this.router=t,this.location=i,this.config=r,this.header="Access Denied!",this.description="You do not currently have access to Manage MFA.",this.buttonText="Go To Home",this.toGoLink="/login"}ngOnInit(){const t=this.location.getState();this.header=t.header||this.header,this.description=t.description||this.description,this.content=t.content||this.content,this.buttonText=t.buttonText||this.buttonText,this.toGoLink=t.toGoLink||this.toGoLink}onButtonClick(){this.config.redirectToExternalUrl&&""!==this.config.redirectToExternalUrl?window.location.href=this.config.redirectToExternalUrl:this.router.navigateByUrl(this.config.routeToNavigateOnLogin||"/")}}return e.\u0275fac=function(t){return new(t||e)(g(Ai),g(ks),g(gs))},e.\u0275cmp=We({type:e,selectors:[["cp-access-denied-page"]],decls:12,vars:4,consts:[["fxFlex","100%","fxLayoutAlign","start","fxLayoutGap","0px","fxLayout","column"],[1,"deepblue-mfa-common-content","mst","size-32","bold"],[1,"remove-icon"],["fxLayout","column","fxLayoutGap","20px",1,"deepblue-mfa-common-content","lato","size-16"],[4,"ngIf"],["fxLayoutAlign","end center"],[1,"deepblue-mfa-primary-button",3,"click"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"mat-icon",2),q(3,"error_outline "),M(),q(4),M(),T(5,"mat-card")(6,"div",3),ye(7,uYe,2,1,"div",4),ye(8,dYe,2,1,"div",4),M()(),T(9,"div",5)(10,"button",6),_e("click",function(){return i.onButtonClick()}),q(11),M()()()),2&t&&(N(4),Ti(" ",i.header," "),N(3),j("ngIf",i.description),N(1),j("ngIf",i.content),N(3),ln(i.buttonText))},dependencies:[Fd,$d,Xo,ps,qs,Bo,tr],styles:[".access-denied-container[_ngcontent-%COMP%]{display:flex;align-items:center;height:auto;justify-content:center;padding:24px}.access-denied-root[_ngcontent-%COMP%]{width:100%;padding:24px;background-color:#fff;height:auto;display:inline-block;margin-bottom:50px}.access-denied-heading[_ngcontent-%COMP%]{font-size:18px;font-family:Montserrat;font-weight:bold;line-height:26px;color:#000;margin-bottom:8px!important}.access-denied-paraText[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:24px;font-family:Lato;font-size:14px;line-height:22px;color:#414141}"]}),e})(),vf=(()=>{class e{constructor(t,i,r,o,s){this.router=t,this.authStateService=i,this.oktaWidgetService=r;const a=this.oktaWidgetService.getOktaAuthInstance();this.oktaAuthGuard=new t6(a,o,s)}canActivate(t,i){return this.oktaAuthGuard.canActivate(t,i)}}return e.\u0275fac=function(t){return new(t||e)(J(Ai),J(GM),J(xc),J(lr),J(gC))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})();var tN;const gJ=null===(tN=window.__PRELOADED_STATE__)||void 0===tN?void 0:tN.application,yYe=[{path:`${gJ.applicationRoutePrefix?gJ.applicationRoutePrefix:"wifidashboard-auth"}/user-mfa-management`,component:pYe,children:[{path:"setup",component:cJ,canActivate:[vf]},{path:"okta-verify",component:uJ,canActivate:[vf]},{path:"phone-verify",component:hJ,canActivate:[vf]},{path:"security-key",component:fJ,canActivate:[vf]},{path:"custom-authenticator",component:dJ,canActivate:[vf]},{path:"mfa-success",component:pJ,canActivate:[vf]},{path:"error",component:sJ},{path:"access-denied",component:mJ}]}];let vYe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[gy.forChild(yYe)],gy]}),e})(),yJ=(()=>{class e{constructor(t,i,r){this.matIconRegistry=t,this.domSanitizer=i,this.config=r}init(){this.matIconRegistry.addSvgIcon("comcast",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"comcast.svg":"/assets/comcast.svg")),this.matIconRegistry.addSvgIcon("facebook",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"facebook.svg":"/assets/facebook.svg")),this.matIconRegistry.addSvgIcon("icon-cancel",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"icon-cancel.svg":"/assets/icon-cancel.svg")),this.matIconRegistry.addSvgIcon("linkedIn",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"linkedIn.svg":"/assets/linkedIn.svg")),this.matIconRegistry.addSvgIcon("mfa-plus",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"mfa-plus.svg":"/assets/mfa-plus.svg")),this.matIconRegistry.addSvgIcon("twitter",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"twitter.svg":"/assets/twitter.svg")),this.matIconRegistry.addSvgIcon("success-icon-green",this.domSanitizer.bypassSecurityTrustResourceUrl(this.config.assetsUrl?this.config.assetsUrl+"success_icon_green.svg":"/assets/success_icon_green.svg"))}}return e.\u0275fac=function(t){return new(t||e)(J(zv),J(Sp),J(gs))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e})(),_Ye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[[wo]]}),e})(),bYe=(()=>{class e{static forRoot(t){const i={onAuthRequired:(s,a)=>{s.authStateManager.getPreviousAuthState()&&!s.authStateManager.getPreviousAuthState().isAuthenticated&&a.get(Ai).navigate([t.loginPageRoute||"/login-okta"])},onAuthResume:(s,a)=>{s.authStateManager.getPreviousAuthState()&&!s.authStateManager.getPreviousAuthState().isAuthenticated&&a.get(Ai).navigate([t.loginPageRoute||"/login-okta"])}},r=new mve(t.oktaClientDetails),o=Object.assign({oktaAuth:r},i);return t.applicationDisplayName||(t.applicationDisplayName="Managed Wi-Fi Dashboard"),{ngModule:e,providers:[{provide:zM,useValue:o},{provide:gs,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({providers:[vf,yJ,Dl,{provide:GW,useValue:{appearance:"outline"}},{provide:g2,useValue:{panelClass:"toast-snack-bar-container",horizontalPosition:"center",verticalPosition:"top",duration:15e3}}],imports:[[wo,Mk,TBe,Eve,NW,gYe,gy,vYe,XQ,_Ye]]}),e})();function wYe(e,n){if(1&e){const t=Sn();T(0,"button",9),_e("click",function(){return Pt(t),Rt(ae().manageMfaUser())}),T(1,"span",10),q(2,"MFA Management"),M()()}}function CYe(e,n){if(1&e){const t=Sn();T(0,"button",9),_e("click",function(){return Pt(t),Rt(ae().manageMfaAdmin())}),T(1,"span",10),q(2,"Admin MFA Management"),M()()}}function SYe(e,n){if(1&e){const t=Sn();T(0,"button",9),_e("click",function(){return Pt(t),Rt(ae().login())}),T(1,"span",10),q(2,"Login"),M()()}}function xYe(e,n){if(1&e){const t=Sn();T(0,"button",9),_e("click",function(){return Pt(t),Rt(ae().logout())}),T(1,"span",10),q(2,"Logout"),M()()}}function EYe(e,n){if(1&e&&(T(0,"div")(1,"div",11),q(2),M(),T(3,"div"),q(4,"you have successfully authenticated. Please click here to redirect to the "),T(5,"a",12),q(6,"Wi-Fi Dashboard App"),M(),q(7,"."),M(),T(8,"div"),q(9,"Please "),T(10,"a",13),q(11,"click me"),M(),q(12," to verify backend session. "),M()()),2&e){const t=ae();N(2),Ig("Hello ",t.user.firstname," ",t.user.lastname,",")}}
1function kYe(e,n){if(1&e){const t=Sn();T(0,"div")(1,"div",11),q(2,"You have not authenticated. Please "),T(3,"a",14),_e("click",function(){return Pt(t),Rt(ae().login())}),q(4,"login"),M(),q(5,"."),M(),Ze(6,"div"),M()}}let TYe=(()=>{class e{constructor(t,i,r,o){this.uSService=t,this.oktaWidgetService=i,this.router=r,this.cookieService=o,this.configExample={apiUrl:"your api url",applicationDisplayName:"Enterprise Access Center",routeToNavigateOnLogin:"the route to navigate after login",oktaClientDetails:{clientId:"your okta client id",baseUrl:"your okta base url",issuer:"your okta issuer url",requestContext:"your okta request context",scopes:["your okta application scopes"],redirectUri:"your application redirect uri",useInteractionCodeFlow:!0,testing:{disableHttpsCheck:"true"}},assetsUrl:"assets url (Details provided below)",configCustomizations:{"oie.remember":"Remember Me"}},this.dependencies={"@angular/common":"^12.2.0","@angular/core":"^12.2.0","@angular/material":"^12.2.13","@angular/cdk":"^12.2.13","@angular/router":"~12.2.0",rxjs:"~6.6.0","@angular/flex-layout":"^12.0.0-beta.34"},this.materialLink='<link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">',this.angularConfigJson={preserveSymlinks:!0,assets:["src/favicon.ico","src/assets",{glob:"**/*",input:"./node_modules/@deepblue/auth-ui/assets",output:"/assets/"}]},this.routing={path:"wifidashboard-auth/login-okta",component:"LoginComponent"},this.userConfig={userId:"user object id",profile:{firstName:"First Name",lastName:"Last Name",email:"Email"},isMyProfile:!0},this.config={userId:"",profile:{firstName:"Test",lastName:"User",email:"test"},isMyProfile:!0}}ngOnInit(){var t=this;return V(function*(){t.isAuthenticated=yield t.oktaWidgetService.getWidget().authClient.isAuthenticated(),t.isAuthenticated&&(t.user=yield t.oktaWidgetService.getWidget().authClient.getUser(),t.config.userId=t.user.sub,t.config.profile.email=t.user.email,t.config.profile.lastName=t.user.lastname,t.config.profile.firstName=t.user.firstname)})()}manageMfaUser(){this.config.isMyProfile=!0,this.uSService.startMfaSetup(this.config)}manageMfaAdmin(){this.config.isMyProfile=!1,this.uSService.startMfaSetup(this.config)}logout(){var t=this;return V(function*(){t.router.navigateByUrl("wifidashboard-auth/logout-okta")})()}login(){this.router.navigateByUrl("wifidashboard-auth/login-okta")}}return e.\u0275fac=function(t){return new(t||e)(g(Pu),g(xc),g(Ai),g(Dl))},e.\u0275cmp=We({type:e,selectors:[["app-steps"]],decls:15,vars:7,consts:[["fxLayout","column"],["fxFlex","100%","fxLayout","row","fxLayoutAlign","space-between center",1,"mfa-header","whiteColor"],["fxLayoutAlign","center center",1,"comcaste-icon"],["svgIcon","comcast",1,"comcast-svg-icon"],["fxLayout","row wrap","mat-menu-item","",1,"deepblue-mfa-secondary-button",2,"height","55px","align-items","center","color","white","width","max-content",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","class","mat-menu-item-boarder logout_inline",3,"click",4,"ngIf"],[1,"deepblue-mfa-common-content","lato","deepblue-mfa-color-black",2,"margin","5% 10%","text-align","center"],[4,"ngIf"],["mat-menu-item","",1,"mat-menu-item-boarder","logout_inline",3,"click"],[1,"content"],[1,"deepblue-mfa-common-content","lato","deepblue-mfa-color-black","size-18","bold"],["target","_self","href","/wifidashboard"],["target","_self","href","/wifidashboard-auth/verify"],["target","_blank","href","",3,"click"]],template:function(t,i){if(1&t&&(T(0,"div",0)(1,"div",1)(2,"div",2),Ze(3,"mat-icon",3),M(),T(4,"button",4),q(5," Actions "),M()()(),T(6,"mat-menu",null,5),ye(8,wYe,3,0,"button",6),ye(9,CYe,3,0,"button",6),ye(10,SYe,3,0,"button",6),ye(11,xYe,3,0,"button",6),M(),T(12,"div",7),ye(13,EYe,13,2,"div",8),ye(14,kYe,7,0,"div",8),M()),2&t){const r=Ro(7);N(4),j("matMenuTriggerFor",r),N(4),j("ngIf",i.isAuthenticated),N(1),j("ngIf",i.isAuthenticated),N(1),j("ngIf",!i.isAuthenticated),N(1),j("ngIf",i.isAuthenticated),N(2),j("ngIf",i.isAuthenticated),N(1),j("ngIf",!i.isAuthenticated)}},dependencies:[tr,Bo,ps,Xo,F9e,IS,U9e,Fd],styles:[".mfa-header[_ngcontent-%COMP%]{background:black;height:80px!important;min-height:80px!important;width:100%!important;top:0;z-index:9}.comcast-svg-icon[_ngcontent-%COMP%]{width:85px!important;height:30px!important}.cancel-icon[_ngcontent-%COMP%]{margin-right:20px;letter-spacing:1.5px;font-family:Montserrat;font-size:14px;font-weight:700}.whiteColor[_ngcontent-%COMP%]{color:#fff}.comcaste-icon[_ngcontent-%COMP%]{width:100px;padding-left:20px}.blue_link[_ngcontent-%COMP%]{cursor:pointer}code[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{background-color:#efefef;border:1px solid #e5e5e5;padding:0 20px}.noborder[_ngcontent-%COMP%]{border:none}"]}),e})();function AYe(e,n){if(1&e&&(T(0,"div")(1,"h2",33),q(2,"Unable to sign in?"),M(),T(3,"p",34),q(4),M()()),2&e){const t=ae();N(4),ln(t.applicationLoginAssistance)}}const p1=window.__PRELOADED_STATE__?.application,Ec=p1.oktaDetail
1s;let MYe=(()=>{class e{constructor(){this.intermediateIdpRedirectPageMessage="You are being navigated to your IDP for Authentication.",this.idpRedirectButtonText="Redirect Now",this.intermediateIdpRedirectPageDisplayTimeInMs=4e3}ngOnInit(){this.currentYear=(new Date).getFullYear(),this.currentVersion=p1&&p1.assetsBuildVersion?p1.assetsBuildVersion:"0000.00.0",this.applicationDisplayName=Ec.applicationDisplayName?Ec.applicationDisplayName:"Enterprise Access Center",this.logoFacebookPath=Ec.assetsUrl?Ec.assetsUrl+"facebook.svg":"assets/facebook.svg",this.logoLinkedInPath=Ec.assetsUrl?Ec.assetsUrl+"linkedIn.svg":"assets/linkedIn.svg",this.logotwitterPath=Ec.assetsUrl?Ec.assetsUrl+"twitter.svg":"assets/twitter.svg",this.applicationLoginAssistance=Ec.applicationLoginAssistance?Ec.applicationLoginAssistance:""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=We({type:e,selectors:[["login-okta"]],decls:46,vars:9,consts:[["id","loginContainer","fxLayout","column","fxFlex","100%"],["fxFlex","100%","fxLayout","row",1,"background-custom","mes-pad-30"],["fxFlex","100%",1,"deepblue-background-custom"],["fxFlex","100%",1,"deepblue-container"],[1,"deepblue-col"],[3,"intermediateIdpRedirectPageMessage","idpRedirectButtonText","intermediateIdpRedirectPageDisplayTimeInMs"],["id","registration-form","fxFlex","50%"],["animationDuration","0ms","margin","0px"],["label","Login"],[4,"ngIf"],[1,"registration-container"],[1,"popup-title"],["Color","rgb(46, 104, 185)","letterSpacing","0px","href","https://business.comcast.com/enterprise",1,"mes-lato-16","inline_text"],[1,"deepblue-footer","okta-mfa-footer"],[1,"deepblue-footer-nav"],[1,"deepblue-footer-col"],["href","https://business.comcast.com/community/",1,"mes-body-text"],["href","https://business.comcast.com/enterprise",1,"mes-body-text"],["href","https://www.xfinity.com/privacy/policy",1,"mes-body-text"],["href","https://www.xfinity.com/privacy/manage-preference",1,"mes-body-text"],["href","https://www.xfinity.com/corporate/legal/visitorAgreement",1,"mes-body-text"],["href","https://business.comcast.com/terms-conditions-ent",1,"mes-body-text"],["href","https://collect.iperceptions.com/?lID=1&rn=129237&vm=1&pID=5&hs1=102214&hs2=102226&uni=1&siteID=1&am=true&referrer=Link&sdfc=355b766d-129237-c733c77b-141a-42d7-be9f-2e52b426622b&source=102226&hv1=custname~Aarons%20Inc.&hv2=email%7eSienna_Puryear%40comcast.com&hv3=ecccsource%7e2",1,"mes-body-text"],["href","https://www.xfinity.com/privacy/policy/staterights#california",1,"mes-body-text"],[1,"deepblue-footer-copyright"],[1,"social-media-links"],["href","https://www.facebook.com/ComcastBusiness"],["alt","Icon Facebook",2,"vertical-align","middle",3,"src"],["href","https://www.linkedin.com/company/comcast-business/mycompany/","target","_blank"],["alt","Icon LinkedIn",2,"vertical-align","middle",3,"src"],["href","https://twitter.com/comcastbusiness","target","_blank"],["alt","Icon Twitter",2,"vertical-align","middle",3,"src"],[1,"deepblue-footer-version"],[1,"mes-h2-page-sub-header","registration-header"],[1,"mes-lato-16","content-color"]],template:function(t,i){1&t&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),Ze(5,"okta-widget",5),M()()(),T(6,"div",6)(7,"mat-tab-group",7)(8,"mat-tab",8),ye(9,AYe,5,1,"div",9),M()()()(),T(10,"section",10)(11,"h2",11),q(12,"Not yet a Comcast Business customer?"),M(),T(13,"a",12),q(14,"Find the best solution for your business."),M()(),T(15,"footer",13)(16,"div",14)(17,"div",15)(18,"a",16),q(19,"Community"),M(),T(20,"a",17),q(21,"About Us"),M(),T(22,"a",18),q(23,"Privacy Policy"),M()(),T(24,"div",15)(25,"a",19),q(26,"Your Privacy Choices"),M(),T(27,"a",20),q(28,"Visitor Agreement"),M(),T(29,"a",21),q(30,"Terms & Conditions"),M(),T(31,"a",22),q(32,"Website Feedback"),M(),T(33,"a",23),q(34,"CA Notice At Collection"),M()()(),T(35,"span",24),q(36),M(),T(37,"div",25)(38,"a",26),Ze(39,"img",27),M(),T(40,"a",28),Ze(41,"img",29),M(),T(42,"a",30),Ze(43,"img",31),M()(),T(44,"span",32),q(45),M()()()),2&t&&(N(5),j("intermediateIdpRedirectPageMessage",i.intermediateIdpRedirectPageMessage)("idpRedirectButtonText",i.idpRedirectButtonText)("intermediateIdpRedirectPageDisplayTimeInMs",i.intermediateIdpRedirectPageDisplayTimeInMs),N(4),j("ngIf",""!==i.applicationLoginAssistance),N(27),Ti("\xa9",i.currentYear," Comcast Corporation"),N(3),j("src",i.logoFacebookPath,Yi),N(2),j("src",i.logoLinkedInPath,Yi),N(2),j("src",i.logotwitterPath,Yi),N(2),Ti("Version ",i.currentVersion,""))},dependencies:[tr,Bo,Xo,oJ,cje,PY],styles:['.background-custom[_ngcontent-%COMP%]{background-color:#545f62;background:linear-gradient(90deg,#0b254e,#122d54 27%,#12376a 44%,#14498a 71%,#154e97 79%,#1550a0 88%,#154fa0);min-height:76vh;height:auto}@media screen and (max-width: 768px){.background-custom[_ngcontent-%COMP%]{flex-direction:column!important}}@media screen and (max-width: 375px){.deepblue-background-custom[_ngcontent-%COMP%]{overflow:hidden}}.registration-header[_ngcontent-%COMP%]{line-height:24px!important;height:24px!important;margin-top:30px!important;color:#fff!important;letter-spacing:0px}#registration-form[_ngcontent-%COMP%]{padding-top:56px!important;width:31%!important}a.mes-lato-16.inline_text[_ngcontent-%COMP%]{text-decoration:underline!important}@media only screen and (min-width: 768px){#registration-form[_ngcontent-%COMP%]{padding:inherit}}@media only screen and (min-width: 360px) and (max-width: 768px){#registration-form[_ngcontent-%COMP%]{display:contents!important}.registration-container[_ngcontent-%COMP%]{display:grid}h2.popup-title[_ngcontent-%COMP%]{text-align:left!important;margin:0 30px 10px!important}a.mes-lato-16.inline_text[_ngcontent-%COMP%]{text-align:left!important;margin:0 30px!important}}@media only screen and (max-width: 600px){.deepblue-footer-nav[_ngcontent-%COMP%]{display:inline-grid!important}}@media only screen and (min-width: 360px) and (max-width: 959px){footer.deepblue-footer.okta-mfa-footer[_ngcontent-%COMP%]{padding:0 30px 30px}span.deepblue-footer-copyright[_ngcontent-%COMP%], span.deepblue-footer-version[_ngcontent-%COMP%], .social-media-links[_ngcontent-%COMP%]{display:flex}}.bg[_ngcontent-%COMP%]{background:linear-gradient(90deg,rgb(11,37,78) 0%,rgb(18,45,84) 17%,rgb(18,55,106) 31%,rgb(20,73,138) 50%,rgb(21,78,151) 60%,rgb(21,80,160) 70%,rgb(21,79,160) 100%),no-repeat}body[_ngcontent-%COMP%]{margin:0;padding:0;height:100%;background:rgb(247,247,247);font-family:Lato-Bold}div[aria-hidden=true][_ngcontent-%COMP%]{display:none}.attrEntry[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%]{width:calc(100% - 30px)!important;margin-right:0!important}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:0;-moz-user-select:none;background:#2672E6;border:1px solid #e7e7e7;color:#fff;cursor:pointer;margin-right:4px;margin-left:0;padding:6px 12px;transition:background 1s ease 0s;width:auto;height:auto;font-size:100%;font-weight:300}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled, button[disabled][_ngcontent-%COMP%]{background-color:#696969}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#0F3E83;border:1px solid #FFF;box-shadow:0 0}#api[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not([type=checkbox]):not([type=radio]){width:100%;height:48px;border:solid 1px #BABABA;margin-bottom:8px;padding-left:16px}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled, button[disabled][_ngcontent-%COMP%]{background-color:#696969}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{margin-top:20px!important}#api[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:10pt!important;margin-bottom:8px;font-weight:300}@media only screen and (min-device-width: 300px) and (max-device-width: 480px){#deepblue-login-form[_ngcontent-%COMP%] .deepblue-container[_ngcontent-%COMP%] .form-wrapper[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{padding:15px;line-height:1.4!important}#sign-in-form[_ngcontent-%COMP%]{padding:10px}#api[_ngcontent-%COMP%] .intro[_ngcontent-%COMP%]{margin-bottom:10px;font-size:10px;font-weight:300}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:none;background-color:#2672ec;min-width:80px;width:auto;padding:4px 10px 6px;margin-bottom:5px}#api[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{margin-top:20px!important}}@media (min-width: 720px){.form-wrapper-sso[_ngcontent-%COMP%]{display:grid;justify-content:center;padding-top:2.5rem;grid-template-columns:minmax(340px,512px) minmax(3rem,5rem) minmax(282px,430px);grid-template-areas:"error error error" "form . aside"}}.form-wrapper-sso[_ngcontent-%COMP%], .form-wrapper-getStarted[_ngcontent-%COMP%]{padding-bottom:2.5rem;margin:auto;box-sizing:content-box;padding-top:56px}@media only screen and (min-width: 720px){.deepblue-container[_ngcontent-%COMP%] .form-wrapper[_ngcontent-%COMP%] form[_ngcontent-%COMP%], .deepblue-container[_ngcontent-%COMP%] .form-wrapper[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{display:table-cell;width:100%}.deepblue-container[_ngcontent-%COMP%] .form-wrapper[_ngcontent-%COMP%]{width:100%}}.form-wrapper[_ngcontent-%COMP%]{margin-top:32px}@media only screen and (min-device-width: 300px) and (max-device-width: 480px){.deepblue-container[_ngcontent-%COMP%] .form-wrapper[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{padding:15px;line-height:1.4!important}}.header[_ngcontent-%COMP%]{height:80px;background:rgb(0,0,0);border-radius:0}.allSet_header[_ngcontent-%COMP%]{color:#000!important;padding:83px 0 40px!important;width:auto!important}.mat_icon_check[_ngcontent-%COMP%]{height:28px!important;width:27px!important;margin-right:10px}.mat_close_icon[_ngcontent-%COMP%]{height:26px!important;width:26px!important;display:inline-block;margin:30px 38px 24px 5px;cursor:pointer}.deepblue-footer[_ngcontent-%COMP%]{bottom:0;width:100%;padding-bottom:20px;padding-top:20px;text-align:center;background-color:#000;color:#dbe6ed;font-size:14px;font-weight:400}@media only screen and (min-device-width: 300px) and (max-device-width: 760px){.deepblue-footer[_ngcontent-%COMP%]{padding:0 15px 20px;background:rgb(0,0,0)}.deepblue-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:20px}}.deepblue-footer-nav[_ngcontent-%COMP%]{display:table;width:100%}.deepblue-footer-col[_ngcontent-%COMP%]{display:table-cell;width:50%;text-align:left}.deepblue-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;color:#dbe6ed;margin-top:24px}.deepblue-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.deepblue-footer-copyright[_ngcontent-%COMP%]{display:block;margin-top:24px;padding-top:24px;border-top:1px solid #cecece}.deepblue-footer-version[_ngcontent-%COMP%]{display:block;margin-top:24px;padding-top:24px;border-top:1px solid #cecece;color:gray}.deepblue-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%]{height:32px;margin-top:24px}.deepblue-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block}.deepblue-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] + a[_ngcontent-%COMP%]{margin-left:24px}.deepblue-footer[_ngcontent-%COMP%] .social-media-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px}@media only screen and (min-width: 960px){.deepblue-footer-nav[_ngcontent-%COMP%], .deepblue-footer-col[_ngcontent-%COMP%]{display:inline-block;width:auto}.deepblue-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;width:auto;text-decoration:none}.deepblue-footer-col[_ngcontent-%COMP%] a[_ngcontent-%COMP%] + a[_ngcontent-%COMP%]{margin-left:24px}.deepblue-footer-col[_ngcontent-%COMP%] + .deepblue-footer-col[_ngcontent-%COMP%]{margin-left:24px}.deepblue-footer-copyright[_ngcontent-%COMP%], .deepblue-footer-version[_ngcontent-%COMP%]{display:inline-block;padding-top:0;border-top:none;margin-left:24px}}.registration-container[_ngcontent-%COMP%]{margin:20px 0;border-radius:0;text-align:center}.background-custom[_ngcontent-%COMP%]{padding-bottom:25px;background-color:#545f62;background:linear-gradient(90deg,#0b254e,#122d54 27%,#12376a 44%,#14498a 71%,#154e97 79%,#1550a0 88%,#154fa0);min-height:76vh;height:auto}.background-custom-confirmation[_ngcontent-%COMP%]{background:#f7f7f7;min-height:86vh;height:auto;padding-bottom:25px}.sign-in-form[_ngcontent-%COMP%]{height:auto;background-color:#f7f7f7;padding:20px;text-align:left}.deepblue-container[_ngcontent-%COMP%]{margin:0 auto;width:100%}.deepblue-container-getStared[_ngcontent-%COMP%]{max-width:980px;margin:0 auto;width:40%}.deepblue-col[_ngcontent-%COMP%]{vertical-align:top}.mat_icon_logo[_ngcontent-%COMP%]{height:32px!important;width:32px!important}[_nghost-%COMP%] .mat-tab-header{display:none}mat-form-field[_ngcontent-%COMP%]{width:100%} .mat-card-header-text{margin-left:0} .mat-card-header-text mat-card-title{font-size:18px;margin-bottom:8px;font-weight:300}mat-spinner[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 50px);left:calc(50% - 50px)} .mat-tab-body-wrapper{margin:0!important}#button-text[_ngcontent-%COMP%]{width:103px;height:20px;color:#fff;letter-spacing:1.5px;line-height:20px}.start-button[_ngcontent-%COMP%]{width:177px;height:44px;border:2px solid rgb(255,255,255);border-radius:0;background:transparent;margin-top:24px;font-size:12px}.continue-btn[_ngcontent-%COMP%]{width:100%!important}.buttons_dashboard[_ngcontent-%COMP%]{padding-bottom:5px}.entry[_ngcontent-%COMP%]{overflow:hidden}.content-color[_ngcontent-%COMP%]{color:#fff!important;letter-spacing:0px;margin-top:8px;margin-bottom:8px}.comcast-icon[_ngcontent-%COMP%]{width:195px!important;height:74px!important;margin:20px 0 0 50px!important}.cust-logo[_ngcontent-%COMP%]{background-size:cover;width:138px;height:48px;cursor:none}.mes-clr-white[_ngcontent-%COMP%]{display:flex}.deepblueHeader--section[_ngcontent-%COMP%]{width:250px;height:100%;align-items:center;justify-content:center}.deepblue-logo[_ngcontent-%COMP%]{width:auto!important;height:70%!important;object-fit:contain;margin:18px 0 0}.cancel_text[_ngcontent-%COMP%]{cursor:pointer;float:right;margin:33px 0 29px;display:flex;color:#fff;text-align:center;letter-spacing:1.5px}.allSet-text[_ngcontent-%COMP%]{color:#3b3b3b;letter-spacing:0px;padding-bottom:8px}.banner-message-error[_ngcontent-%COMP%]{color:red;font-weight:400;padding-top:2px;background-color:transparent}.banner-message-info[_ngcontent-%COMP%]{color:#000;font-weight:700!important;padding-top:2px;background-color:transparent;letter-spacing:.4px!important}#remember_me[_ngcontent-%COMP%]{width:24px!important;height:24px!important;background:rgb(255,255,255)!important;border:1px solid rgb(65,65,65)!important;margin:0 6px 0 0}.remove-icon[_ngcontent-%COMP%]{color:#d11314!important}']}),e})(),DYe=(()=>{class e{constructor(t,i){this.oktaWidgetService=t,this.cookieService=i}ngOnInit(){var t=this;return V(function*(){const i=window.__PRELOADED_STATE__?.application.oktaDetail
1s?.postLogoutUri;t.cookieService.deleteAll("/"),sessionStorage.clear(),localStorage.clear(),yield t.oktaWidgetService.getOktaAuthInstance().signOut({postLogoutRedirectUri:i,clearTokensBeforeRedirect:!0}),setTimeout(()=>{window.location.href=i},1e3)})()}logout(t){var i=this;return V(function*(){const r=i.oktaWidgetService.getOktaAuthInstance(),o=window.__PRELOADED_STATE__?.application.oktaDetails?.postLogoutCimaUserUri;if(o&&""!==o){let s=yield r.getUser();s="cima"==s?.usertype?.toLowerCase(),s&&(t=o)}yield r.closeSession(),yield r.revokeAccessToken(),yield r.revokeRefreshToken(),sessionStorage.clear(),localStorage.clear(),i.cookieService.deleteAll("/"),yield r.signOut({postLogoutRedirectUri:t})})()}}return e.\u0275fac=function(t){return new(t||e)(g(xc),g(Dl))},e.\u0275cmp=We({type:e,selectors:[["logout-okta"]],decls:0,vars:0,template:function(t,i){},encapsulation:2}),e})();const vJ=window.__PRELOADED_STATE__?.application,m1=vJ.applicationRoutePrefix?vJ.applicationRoutePrefix:"wifidashboard-auth";let OYe=(()=>{class e{constructor(t,i,r,o){this.uSService=t,this.oktaWidgetService=i,this.router=r,this.cookieService=o,this.config={routePrefix:`${m1}`,userId:"",profile:{firstName:"",lastName:"",email:""},isMyProfile:!0}}ngOnInit(){var t=this;return V(function*(){t.isAuthenticated=yield t.oktaWidgetService.getWidget().authClient.isAuthenticated(),t.isAuthenticated?(t.user=yield t.oktaWidgetService.getWidget().authClient.getUser(),t.config.userId=t.user.sub,t.config.profile.email=t.user.email,t.config.profile.lastName=t.user.lastname,t.config.profile.firstName=t.user.firstname,t.config.isMyProfile=!0,t.uSService.startMfaSetup(t.config)):t.router.navigateByUrl(`${m1}/login-okta`)})()}manageMfaUser(){this.config.isMyProfile=!0,this.uSService.startMfaSetup(this.config)}manageMfaAdmin(){this.config.isMyProfile=!1,this.uSService.startMfaSetup(this.config)}logout(){var t=this;return V(function*(){t.router.navigateByUrl(`${m1}/logout-okta`)})()}login(){this.router.navigateByUrl(`${m1}/login-okta`)}}return e.\u0275fac=function(t){return new(t||e)(g(Pu),g(xc),g(Ai),g(Dl))},e.\u0275cmp=We({type:e,selectors:[["app-mfa"]],decls:2,vars:0,template:function(t,i){1&t&&(T(0,"span"),q(1,"Loading..."),M())},styles:[".mfa-header[_ngcontent-%COMP%]{background:black;height:80px!important;min-height:80px!important;width:100%!important;top:0;z-index:9}.comcast-svg-icon[_ngcontent-%COMP%]{width:85px!important;height:30px!important}.cancel-icon[_ngcontent-%COMP%]{margin-right:20px;letter-spacing:1.5px;font-family:Montserrat;font-size:14px;font-weight:700}.whiteColor[_ngcontent-%COMP%]{color:#fff}.comcaste-icon[_ngcontent-%COMP%]{width:100px;padding-left:20px}.blue_link[_ngcontent-%COMP%]{cursor:pointer}code[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{background-color:#efefef;border:1px solid #e5e5e5;padding:0 20px}.noborder[_ngcontent-%COMP%]{border:none}"]}),e})();const _J=window.__PRELOADED_STATE__?.application,Fr=_J.applicationRoutePrefix?_J.applicationRoutePrefix:"wifidashboard-auth",IYe=[{path:`${Fr}/steps`,component:TYe},{path:`${Fr}/user-mfa-management`,component:OYe},{path:`${Fr}/user-mfa-management/setup`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/setup`},{path:`${Fr}/user-mfa-management/okta-verify`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/okta-verify`},{path:`${Fr}/user-mfa-management/phone-verify`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/phone-verify`},{path:`${Fr}/user-mfa-management/security-key`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/security-key`},{path:`${Fr}/user-mfa-management/custom-authenticator`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/custom-authenticator`},{path:`${Fr}/user-mfa-management/mfa-success`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/mfa-success`},{path:`${Fr}/user-mfa-management/error`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/error`},{path:`${Fr}/user-mfa-management/access-denied`,pathMatch:"full",redirectTo:`${Fr}/user-mfa-management/access-denied`},{path:`${Fr}/logout-okta`,component:DYe},{path:`${Fr}/login-okta`,component:MYe},{path:`${Fr}`,pathMatch:"full",redirectTo:`${Fr}/login-okta`},{path:"",pathMatch:"full",redirectTo:`${Fr}/login-okta`},{path:"**",pathMatch:"full",redirectTo:`${Fr}/login-okta`}];let PYe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[gy.forRoot(IYe),gy]}),e})(),RYe=(()=>{class e{constructor(t,i,r){this.customIconService=t,this.oktaWidgetService=i,this.router=r,this.title="mdb-auth-app"}ngOnInit(){this.customIconService.init(),this.oktaWidgetService.widgetActions.subscribe(t=>{t.actionId==Gi.ON_CLICK_BACK_MFA_MANAGEMENT&&this.router.navigateByUrl("wifidashboard-auth/steps")})}}return e.\u0275fac=function(t){return new(t||e)(g(yJ),g(xc),g(Ai))},e.\u0275cmp=We({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(t,i){1&t&&Ze(0,"router-outlet")},dependencies:[xw]}),e})(),NYe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e}),e.\u0275inj=p({imports:[Pd,PS,RS,Gv,NS,tS,MS,hf,LS,FS,Id,$S,VS,oS,Lv,US,HS,jS,zS,GS,t1,i1,r1,Wv,c1,l1,Y0,d1,Pd,P
1S,RS,Gv,NS,tS,MS,hf,LS,FS,Id,$S,VS,oS,Lv,US,HS,jS,zS,GS,t1,i1,jQ,r1,Wv,c1,l1,Y0,d1]}),e})();const LYe=window.__PRELOADED_STATE__?.application.oktaDetails;let FYe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=it({type:e,bootstrap:[RYe]}),e.\u0275inj=p({providers:[Dl],imports:[Mk,PYe,hle,XQ,hue,bYe.forRoot(LYe),NYe]}),e})();(function hoe(){if(O8)throw new Error("Cannot enable prod mode after platform setup.");D8=!1})(),jae().bootstrapModule(FYe).catch(e=>console.error(e))},63:Xn=>{"use strict";const ve={days:Te=>864e5*Te,hours:Te=>36e5*Te,minutes:Te=>6e4*Te,seconds:Te=>1e3*Te,milliseconds:Te=>Te,microseconds:Te=>Te/1e3,nanoseconds:Te=>Te/1e6},Ce=Te=>Object.entries(Te).reduce((me,[Oe,ot])=>{if("number"!=typeof ot)throw new TypeError(`Expected a \`number\` for key \`${Oe}\`, got \`${ot}\` (${typeof ot})`);if(!ve[Oe])throw new Error("Unsupported time key");return me+ve[Oe](ot)},0);Xn.exports=Ce,Xn.exports.default=Ce},208:function(Xn,ve,Ce){var Te,me,Oe;me=[Xn,Ce(971)],Te=function(ot,_t){"use strict";var Xe=function Ot(hi){return hi&&hi.__esModule?hi:{default:hi}}(_t);var yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(hi){return typeof hi}:function(hi){return hi&&"function"==typeof Symbol&&hi.constructor===Symbol&&hi!==Symbol.prototype?"symbol":typeof hi};var mr=function(){function hi(zt,Kt){for(var Yt=0;Yt<Kt.length;Yt++){var Gt=Kt[Yt];Gt.enumerable=Gt.enumerable||!1,Gt.configurable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(zt,Gt.key,Gt)}}return function(zt,Kt,Yt){return Kt&&hi(zt.prototype,Kt),Yt&&hi(zt,Yt),zt}}(),co=function(){function hi(zt){(function vn(hi,zt){if(!(hi instanceof zt))throw new TypeError("Cannot call a class as a function")})(this,hi),this.resolveOptions(zt),this.initSelection()}return mr(hi,[{key:"resolveOptions",value:function(){var Kt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=Kt.action,this.container=Kt.container,this.emitter=Kt.emitter,this.target=Kt.target,this.text=Kt.text,this.trigger=Kt.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var Kt=this,Yt="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return Kt.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[Yt?"right":"left"]="-9999px";var Gt=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=Gt+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,Xe.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,Xe.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var Kt=void 0;try{Kt=document.execCommand(this.action)}catch{Kt=!1}this.handleResult(Kt)}},{key:"handleResult",value:function(Kt){this.emitter.emit(Kt?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){if(this._action=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy","copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(Kt){if(void 0!==Kt){if(!Kt||"object"!==(typeof Kt>"u"?"undefined":yn(Kt))||1!==Kt.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&Kt.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(Kt.hasAttribute("readonly")||Kt.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=Kt}},get:function(){return this._target}}]),hi}();ot.exports=co},void 0!==(Oe=Te.apply(ve,me))&&(Xn.exports=Oe)},997:function(Xn,ve,Ce){var Te,me,Oe;me=[Xn,Ce(208),Ce(337),Ce(729)],Te=function(ot,_t,Xe,Ot){"use strict";var yn=co(_t),vn=co(Xe),mr=co(Ot);function co(gi){return gi&&gi.__esModule?gi:{default:gi}}var hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(gi){return typeof gi}:function(gi){return gi&&"function"==typeof Symbol&&gi.constructor===Symbol&&gi!==Symbol.prototype?"symbol":typeof gi};var Kt=function(){function gi(Kn,si){for(var Un=0;Un<si.length;Un++){var Ni=si[Un];Ni.enumerable=Ni.enumerable||!1,Ni.configurable=!0,"value"in Ni&&(Ni.writable=!0),Object.defineProperty(Kn,Ni.key,Ni)}}return function(Kn,si,Un){return si&&gi(Kn.prototype,si),Un&&gi(Kn,Un),Kn}}();var Jt=function(gi){function Kn(si,Un){!function zt(gi,Kn){if(!(gi instanceof Kn))throw new TypeError("Cannot call a class as a function")}(this,Kn);var Ni=function Yt(gi,Kn){if(!gi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Kn||"object"!=typeof Kn&&"function"!=typeof Kn?gi:Kn}(this,(Kn.__proto__||Object.getPrototypeOf(Kn)).call(this));return Ni.resolveOptions(Un),Ni.listenClick(si),Ni}return function Gt(gi,Kn){if("function"!=typeof Kn&&null!==Kn)throw new TypeError("Super expression must either be null or a function, not "+typeof Kn);gi.prototype=Object.create(Kn&&Kn.prototype,{constructor:{value:gi,enumerable:!1,writable:!0,configurable:!0}}),Kn&&(Object.setPrototypeOf?Object.setPrototypeOf(gi,Kn):gi.__proto__=Kn)}(Kn,gi),Kt(Kn,[{key:"resolveOptions",value:function(){var Un=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof Un.action?Un.action:this.defaultAction,this.target="function"==typeof Un.target?Un.target:this.defaultTarget,this.text="function"==typeof Un.text?Un.text:this.defaultText,this.container="object"===hi(Un.container)?Un.container:document.body}},{key:"listenClick",value:function(Un){var Ni=this;this.listener=(0,mr.default)(Un,"click",function(C){return Ni.onClick(C)})}},{key:"onClick",value:function(Un){var Ni=Un.delegateTarget||Un.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new yn.default({action:this.action(Ni),target:this.target(Ni),text:this.text(Ni),container:this.container,trigger:Ni,emitter:this})}},{key:"defaultAction",value:function(Un){return cn("action",Un)}},{key:"defaultTarget",value:function(Un){var Ni=cn("target",Un);if(Ni)return document.querySelector(Ni)}},{key:"defaultText",value:function(Un){return cn("text",Un)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var Un=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],C=!!document.queryCommandSupported;
1return("string"==typeof Un?[Un]:Un).forEach(function(ke){C=C&&!!document.queryCommandSupported(ke)}),C}}]),Kn}(vn.default);function cn(gi,Kn){var si="data-clipboard-"+gi;if(Kn.hasAttribute(si))return Kn.getAttribute(si)}ot.exports=Jt},void 0!==(Oe=Te.apply(ve,me))&&(Xn.exports=Oe)},337:Xn=>{function ve(){}ve.prototype={on:function(Ce,Te,me){var Oe=this.e||(this.e={});return(Oe[Ce]||(Oe[Ce]=[])).push({fn:Te,ctx:me}),this},once:function(Ce,Te,me){var Oe=this;function ot(){Oe.off(Ce,ot),Te.apply(me,arguments)}return ot._=Te,this.on(Ce,ot,me)},emit:function(Ce){for(var Te=[].slice.call(arguments,1),me=((this.e||(this.e={}))[Ce]||[]).slice(),Oe=0,ot=me.length;Oe<ot;Oe++)me[Oe].fn.apply(me[Oe].ctx,Te);return this},off:function(Ce,Te){var me=this.e||(this.e={}),Oe=me[Ce],ot=[];if(Oe&&Te)for(var _t=0,Xe=Oe.length;_t<Xe;_t++)Oe[_t].fn!==Te&&Oe[_t].fn._!==Te&&ot.push(Oe[_t]);return ot.length?me[Ce]=ot:delete me[Ce],this}},Xn.exports=ve,Xn.exports.TinyEmitter=ve},472:(Xn,ve)=>{var Oe,Ce=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Te=function(){function Oe(){this.fetch=!1,this.DOMException=Ce.DOMException}return Oe.prototype=Ce,new Oe}();Oe=Te,function(_t){var Xe=typeof Oe<"u"&&Oe||typeof self<"u"&&self||typeof global<"u"&&global||{},Ot_searchParams="URLSearchParams"in Xe,Ot_iterable="Symbol"in Xe&&"iterator"in Symbol,Ot_blob="FileReader"in Xe&&"Blob"in Xe&&function(){try{return new Blob,!0}catch{return!1}}(),Ot_formData="FormData"in Xe,Ot_arrayBuffer="ArrayBuffer"in Xe;if(Ot_arrayBuffer)var vn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],mr=ArrayBuffer.isView||function(ue){return ue&&vn.indexOf(Object.prototype.toString.call(ue))>-1};function co(ue){if("string"!=typeof ue&&(ue=String(ue)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(ue)||""===ue)throw new TypeError('Invalid character in header field name: "'+ue+'"');return ue.toLowerCase()}function hi(ue){return"string"!=typeof ue&&(ue=String(ue)),ue}function zt(ue){var lt={next:function(){var pn=ue.shift();return{done:void 0===pn,value:pn}}};return Ot_iterable&&(lt[Symbol.iterator]=function(){return lt}),lt}function Kt(ue){this.map={},ue instanceof Kt?ue.forEach(function(lt,pn){this.append(pn,lt)},this):Array.isArray(ue)?ue.forEach(function(lt){if(2!=lt.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+lt.length);this.append(lt[0],lt[1])},this):ue&&Object.getOwnPropertyNames(ue).forEach(function(lt){this.append(lt,ue[lt])},this)}function Yt(ue){if(!ue._noBody){if(ue.bodyUsed)return Promise.reject(new TypeError("Already read"));ue.bodyUsed=!0}}function Gt(ue){return new Promise(function(lt,pn){ue.onload=function(){lt(ue.result)},ue.onerror=function(){pn(ue.error)}})}function Jt(ue){var lt=new FileReader,pn=Gt(lt);return lt.readAsArrayBuffer(ue),pn}function Kn(ue){if(ue.slice)return ue.slice(0);var lt=new Uint8Array(ue.byteLength);return lt.set(new Uint8Array(ue)),lt.buffer}function si(){return this.bodyUsed=!1,this._initBody=function(ue){this.bodyUsed=this.bodyUsed,this._bodyInit=ue,ue?"string"==typeof ue?this._bodyText=ue:Ot_blob&&Blob.prototype.isPrototypeOf(ue)?this._bodyBlob=ue:Ot_formData&&FormData.prototype.isPrototypeOf(ue)?this._bodyFormData=ue:Ot_searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)?this._bodyText=ue.toString():Ot_arrayBuffer&&Ot_blob&&function yn(ue){return ue&&DataView.prototype.isPrototypeOf(ue)}(ue)?(this._bodyArrayBuffer=Kn(ue.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ot_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ue)||mr(ue))?this._bodyArrayBuffer=Kn(ue):this._bodyText=ue=Object.prototype.toString.call(ue):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof ue?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Ot_searchParams&&URLSearchParams.prototype.isPrototypeOf(ue)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ot_blob&&(this.blob=function(){var ue=Yt(this);if(ue)return ue;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Yt(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Ot_blob)return this.blob().then(Jt);throw new Error("could not read as ArrayBuffer")},this.text=function(){var ue=Yt(this);if(ue)return ue;if(this._bodyBlob)return function cn(ue){var lt=new FileReader,pn=Gt(lt),Di=/charset=([A-Za-z0-9_-]+)/.exec(ue.type);return lt.readAsText(ue,Di?Di[1]:"utf-8"),pn}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function gi(ue){for(var lt=new Uint8Array(ue),pn=new Array(lt.length),Di=0;Di<lt.length;Di++)pn[Di]=String.fromCharCode(lt[Di]);return pn.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Ot_formData&&(this.formData=function(){return this.text().then(ke)}),this.json=function(){return this.text().then(JSON.parse)},this}Kt.prototype.append=function(ue,lt){ue=co(ue),lt=hi(lt);var pn=this.map[ue];this.map[ue]=pn?pn+", "+lt:lt},Kt.prototype.delete=function(ue){delete this.map[co(ue)]},Kt.prototype.get=function(ue){return ue=co(ue),this.has(ue)?this.map[ue]:null},Kt.prototype.has=function(ue){return this.map.hasOwnProperty(co(ue))},Kt.prototype.set=function(ue,lt){this.map[co(ue)]=hi(lt)},Kt.prototype.forEach=function(ue,lt){for(var pn in this.map)this.map.hasOwnProperty(pn)&&ue.call(lt,this.map[pn],pn,this)},Kt.prototype.keys=function(){var ue=[];return this.forEach(function(lt,pn){ue.push(pn)}),zt(ue)},Kt.prototype.values=function(){var ue=[];return this.forEach(function(lt){ue.push(lt)}),zt(ue)},Kt.prototype.entries=function(){var ue=[];return this.forEach(function(lt,pn){ue.push([pn,lt])}),zt(ue)},Ot_iterable&&(Kt.prototype[Symbol.iterator]=Kt.prototype.entries);var Un=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(ue,lt){if(!(this instanceof C))throw new TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var pn=(lt=lt||{}).body;if(ue instanceof C){if(ue.bodyUsed)throw new TypeError("Already read");this.url=ue.url,this.credentials=ue.credentials,lt.headers||(this.headers=new Kt(ue.headers)),this.method=ue.method,this.mode=ue.mode,this.signal=ue.signal,!pn&&null!=ue._bodyInit&&(pn=ue._bodyInit,ue.bodyUsed=!0)}else this.url=String(ue);if(this.credentials=lt.credentials||this.credentials||"same-origin",(lt.headers||!this.headers)&&(this.headers=new Kt(lt.headers)),this.method=function Ni(ue){var lt=ue.toUpperCase();return Un.indexOf(lt)>-1?lt:ue}(lt.method||this.method||"GET"),this.mode=lt.mode||this.mode||null,this.signal=lt.signal||this.signal||function(){if("AbortController"in Xe)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&pn)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(pn),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==lt.cache&&"no-cache"!==lt.cache)){var Di=/([?&])_=[^&]*/;Di.test(this.url)?this.url=this.url.replace(Di,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function ke(ue){var lt=new FormData;return ue.trim().split("&").forEach(function(pn){if(pn){var Di=pn.split("="),ai=Di.shift().replace(/\+/g," "),Yn=Di.join("=").replace(/\+/g," ");lt.append(decodeURIComponent(ai),decodeURIComponent(Yn))}}),lt}function On(ue){var lt=new Kt;return ue.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(Di){return 0===Di.indexOf("\n")?Di.substr(1,Di.length):Di}).forEach(function(Di){var ai=Di.split(":"),Yn=ai.shift().trim();if(Yn){var To=ai.join(":").trim();try{lt.append(Yn,To)}catch(Uo){console.warn("Response "+Uo.message)}}}),lt}function $r(ue,lt){if(!(this instanceof $r))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(lt||(lt={}),this.type="default",this.status=void 0===lt.status?200:lt.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===lt.statusText?"":""+lt.statusText,this.headers=new Kt(lt.headers),this.url=lt.url||"",this._initBody(ue)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})},si.call(C.prototype),si.call($r.prototype),$r.prototype.clone=function(){return new $r(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Kt(this.headers),url:this.url})},$r.error=function(){var ue=new $r(null,{status:200,statusText:""});return ue.ok=!1,ue.status=0,ue.type="error",ue};var Vl=[301,302,303,307,308];$r.redirect=function(ue,lt){if(-1===Vl.indexOf(lt))throw new RangeError("Invalid status code");return new $r(null,{status:lt,headers:{location:ue}})},_t.DOMException=Xe.DOMException;try{new _t.DOMException}catch{_t.DOMException=function(lt,pn){this.message=lt,this.name=pn;var Di=Error(lt);this.stack=Di.stack},_t.DOMException.prototype=Object.create(Error.prototype),_t.DOMException.prototype.constructor=_t.DOMException}function Vt(ue,lt){return new Promise(function(pn,Di){var ai=new C(ue,lt);if(ai.signal&&ai.signal.aborted)return Di(new _t.DOMException("Aborted","AbortError"));var Yn=new XMLHttpRequest;function To(){Yn.abort()}if(Yn.onload=function(){var dr={statusText:Yn.statusText,headers:On(Yn.getAllResponseHeaders()||"")};dr.status=0===ai.url.indexOf("file://")&&(Yn.status<200||Yn.status>599)?200:Yn.status,dr.url="responseURL"in Yn?Yn.responseURL:dr.headers.get("X-Request-URL");var Ao="response"in Yn?Yn.response:Yn.responseText;setTimeout(function(){pn(new $r(Ao,dr))},0)},Yn.onerror=function(){setTimeout(function(){Di(new TypeError("Network request failed"))},0)},Yn.ontimeout=function(){setTimeout(function(){Di(new TypeError("Network request timed out"))},0)},Yn.onabort=function(){setTimeout(function(){Di(new _t.DOMException("Aborted","AbortError"))},0)},Yn.open(ai.method,function Uo(dr){try{return""===dr&&Xe.location.href?Xe.location.href:dr}catch{return dr}}(ai.url),!0),"include"===ai.credentials?Yn.withCredentials=!0:"omit"===ai.credentials&&(Yn.withCredentials=!1),"responseType"in Yn&&(Ot_blob?Yn.responseType="blob":Ot_arrayBuffer&&(Yn.responseType="arraybuffer")),lt&&"object"==typeof lt.headers&&!(lt.headers instanceof Kt||Xe.Headers&<.headers instanceof Xe.Headers)){var ba=[];
1Object.getOwnPropertyNames(lt.headers).forEach(function(dr){ba.push(co(dr)),Yn.setRequestHeader(dr,hi(lt.headers[dr]))}),ai.headers.forEach(function(dr,Ao){-1===ba.indexOf(Ao)&&Yn.setRequestHeader(Ao,dr)})}else ai.headers.forEach(function(dr,Ao){Yn.setRequestHeader(Ao,dr)});ai.signal&&(ai.signal.addEventListener("abort",To),Yn.onreadystatechange=function(){4===Yn.readyState&&ai.signal.removeEventListener("abort",To)}),Yn.send(typeof ai._bodyInit>"u"?null:ai._bodyInit)})}Vt.polyfill=!0,Xe.fetch||(Xe.fetch=Vt,Xe.Headers=Kt,Xe.Request=C,Xe.Response=$r),_t.Headers=Kt,_t.Request=C,_t.Response=$r,_t.fetch=Vt,Object.defineProperty(_t,"__esModule",{value:!0})}({}),Te.fetch.ponyfill=!0,delete Te.fetch.polyfill;var me=Ce.fetch?Ce:Te;(ve=me.fetch).default=me.fetch,ve.fetch=me.fetch,ve.Headers=me.Headers,ve.Request=me.Request,ve.Response=me.Response,Xn.exports=ve},824:Xn=>{if(typeof Element<"u"&&!Element.prototype.matches){var Ce=Element.prototype;Ce.matches=Ce.matchesSelector||Ce.mozMatchesSelector||Ce.msMatchesSelector||Ce.oMatchesSelector||Ce.webkitMatchesSelector}Xn.exports=function Te(me,Oe){for(;me&&9!==me.nodeType;){if("function"==typeof me.matches&&me.matches(Oe))return me;me=me.parentNode}}},808:(Xn,ve,Ce)=>{var Te=Ce(824);function me(_t,Xe,Ot,yn,vn){var mr=ot.apply(this,arguments);return _t.addEventListener(Ot,mr,vn),{destroy:function(){_t.removeEventListener(Ot,mr,vn)}}}function ot(_t,Xe,Ot,yn){return function(vn){vn.delegateTarget=Te(vn.target,Xe),vn.delegateTarget&&yn.call(_t,vn)}}Xn.exports=function Oe(_t,Xe,Ot,yn,vn){return"function"==typeof _t.addEventListener?me.apply(null,arguments):"function"==typeof Ot?me.bind(null,document).apply(null,arguments):("string"==typeof _t&&(_t=document.querySelectorAll(_t)),Array.prototype.map.call(_t,function(mr){return me(mr,Xe,Ot,yn,vn)}))}},789:(Xn,ve)=>{ve.node=function(Ce){return void 0!==Ce&&Ce instanceof HTMLElement&&1===Ce.nodeType},ve.nodeList=function(Ce){var Te=Object.prototype.toString.call(Ce);return void 0!==Ce&&("[object NodeList]"===Te||"[object HTMLCollection]"===Te)&&"length"in Ce&&(0===Ce.length||ve.node(Ce[0]))},ve.string=function(Ce){return"string"==typeof Ce||Ce instanceof String},ve.fn=function(Ce){return"[object Function]"===Object.prototype.toString.call(Ce)}},729:(Xn,ve,Ce)=>{var Te=Ce(789),me=Ce(808);Xn.exports=function Oe(Ot,yn,vn){if(!Ot&&!yn&&!vn)throw new Error("Missing required arguments");if(!Te.string(yn))throw new TypeError("Second argument must be a String");if(!Te.fn(vn))throw new TypeError("Third argument must be a Function");if(Te.node(Ot))return function ot(Ot,yn,vn){return Ot.addEventListener(yn,vn),{destroy:function(){Ot.removeEventListener(yn,vn)}}}(Ot,yn,vn);if(Te.nodeList(Ot))return function _t(Ot,yn,vn){return Array.prototype.forEach.call(Ot,function(mr){mr.addEventListener(yn,vn)}),{destroy:function(){Array.prototype.forEach.call(Ot,function(mr){mr.removeEventListener(yn,vn)})}}}(Ot,yn,vn);if(Te.string(Ot))return function Xe(Ot,yn,vn){return me(document.body,Ot,yn,vn)}(Ot,yn,vn);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},259:function(Xn,ve){var Te;!function(me,Oe){"use strict";"object"==typeof Xn.exports?Xn.exports=me.document?Oe(me,!0):function(ot){if(!ot.document)throw new Error("jQuery requires a window with a document");return Oe(ot)}:Oe(me)}(typeof window<"u"?window:this,function(me,Oe){"use strict";var ot=[],_t=Object.getPrototypeOf,Xe=ot.slice,Ot=ot.flat?function(h){return ot.flat.call(h)}:function(h){return ot.concat.apply([],h)},yn=ot.push,vn=ot.indexOf,mr={},co=mr.toString,hi=mr.hasOwnProperty,zt=hi.toString,Kt=zt.call(Object),Yt={},Gt=function(p){return"function"==typeof p&&"number"!=typeof p.nodeType&&"function"!=typeof p.item},Jt=function(p){return null!=p&&p===p.window},cn=me.document,gi={type:!0,src:!0,nonce:!0,noModule:!0};function Kn(h,p,v){var w,E,A=(v=v||cn).createElement("script");if(A.text=h,p)for(w in gi)(E=p[w]||p.getAttribute&&p.getAttribute(w))&&A.setAttribute(w,E);v.head.appendChild(A).parentNode.removeChild(A)}function si(h){return null==h?h+"":"object"==typeof h||"function"==typeof h?mr[co.call(h)]||"object":typeof h}var Ni=/HTML$/i,C=function(h,p){return new C.fn.init(h,p)};function ke(h){var p=!!h&&"length"in h&&h.length,v=si(h);return!Gt(h)&&!Jt(h)&&("array"===v||0===p||"number"==typeof p&&p>0&&p-1 in h)}function On(h,p){return h.nodeName&&h.nodeName.toLowerCase()===p.toLowerCase()}C.fn=C.prototype={jquery:"3.7.1",constructor:C,length:0,toArray:function(){return Xe.call(this)},get:function(h){return null==h?Xe.call(this):h<0?this[h+this.length]:this[h]},pushStack:function(h){var p=C.merge(this.constructor(),h);return p.prevObject=this,p},each:function(h){return C.each(this,h)},map:function(h){return this.pushStack(C.map(this,function(p,v){return h.call(p,v,p)}))},slice:function(){return this.pushStack(Xe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(h,p){return(p+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(h,p){return p%2}))},eq:function(h){var p=this.length,v=+h+(h<0?p:0);return this.pushStack(v>=0&&v<p?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:yn,sort:ot.sort,splice:ot.splice},C.extend=C.fn.extend=function(){var h,p,v,w,E,A,P=arguments[0]||{},ee=1,W=arguments.length,oe=!1;for("boolean"==typeof P&&(oe=P,P=arguments[ee]||{},ee++),"object"!=typeof P&&!Gt(P)&&(P={}),ee===W&&(P=this,ee--);ee<W;ee++)if(null!=(h=arguments[ee]))for(p in h)w=h[p],"__proto__"!==p&&P!==w&&(oe&&w&&(C.isPlainObject(w)||(E=Array.isArray(w)))?(v=P[p],A=E&&!Array.isArray(v)?[]:E||C.isPlainObject(v)?v:{},E=!1,P[p]=C.extend(oe,A,w)):void 0!==w&&(P[p]=w));return P},C.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(h){throw new Error(h)},noop:function(){},isPlainObject:function(h){var p,v;return!(!h||"[object Object]"!==co.call(h)||(p=_t(h))&&("function"!=typeof(v=hi.call(p,"constructor")&&p.constructor)||zt.call(v)!==Kt))},isEmptyObject:function(h){var p;for(p in h)return!1;return!0},globalEval:function(h,p,v){Kn(h,{nonce:p&&p.nonce},v)},each:function(h,p){var v,w=0;if(ke(h))for(v=h.length;w<v&&!1!==p.call(h[w],w,h[w]);w++);else for(w in h)if(!1===p.call(h[w],w,h[w]))break;return h},text:function(h){var p,v="",w=0,E=h.nodeType;if(!E)for(;p=h[w++];)v+=C.text(p);return 1===E||11===E?h.textContent:9===E?h.documentElement.textContent:3===E||4===E?h.nodeValue:v},makeArray:function(h,p){var v=p||[];return null!=h&&(ke(Object(h))?C.merge(v,"string"==typeof h?[h]:h):yn.call(v,h)),v},inArray:function(h,p,v){return null==p?-1:vn.call(p,h,v)},isXMLDoc:function(h){var v=h&&(h.ownerDocument||h).documentElement;return!Ni.test(h&&h.namespaceURI||v&&v.nodeName||"HTML")},merge:function(h,p){for(var v=+p.length,w=0,E=h.length;w<v;w++)h[E++]=p[w];return h.length=E,h},grep:function(h,p,v){for(var E=[],A=0,P=h.length,ee=!v;A<P;
vendor: 4,646 bytes, line 1
1A++)!p(h[A],A)!==ee&&E.push(h[A]);return E},map:function(h,p,v){var w,E,A=0,P=[];if(ke(h))for(w=h.length;A<w;A++)null!=(E=p(h[A],A,v))&&P.push(E);else for(A in h)null!=(E=p(h[A],A,v))&&P.push(E);return Ot(P)},guid:1,support:Yt}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=ot[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(h,p){mr["[object "+p+"]"]=p.toLowerCase()});var $r=ot.pop,Vl=ot.sort,Vt=ot.splice,ue="[\\x20\\t\\r\\n\\f]",lt=new RegExp("^"+ue+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ue+"+$","g");C.contains=function(h,p){var v=p&&p.parentNode;return h===v||!(!v||1!==v.nodeType||!(h.contains?h.contains(v):h.compareDocumentPosition&&16&h.compareDocumentPosition(v)))};var pn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Di(h,p){return p?"\0"===h?"\ufffd":h.slice(0,-1)+"\\"+h.charCodeAt(h.length-1).toString(16)+" ":"\\"+h}C.escapeSelector=function(h){return(h+"").replace(pn,Di)};var ai=cn,Yn=yn;!function(){var h,p,v,w,E,P,ee,W,oe,Me,A=Yn,Ue=C.expando,re=0,at=0,Mn=$f(),In=$f(),qn=$f(),zo=$f(),hr=function(z,ie){return z===ie&&(E=!0),0},Jr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",cl="(?:\\\\[\\da-fA-F]{1,6}"+ue+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",_i="\\["+ue+"*("+cl+")(?:"+ue+"*([*^$|!~]?=)"+ue+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+cl+"))|)"+ue+"*\\]",Oo=":("+cl+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+_i+")*)|.*)\\)|)",tn=new RegExp(ue+"+","g"),Vr=new RegExp("^"+ue+"*,"+ue+"*"),Ff=new RegExp("^"+ue+"*([>+~]|"+ue+")"+ue+"*"),ql=new RegExp(ue+"|>"),Qn=new RegExp(Oo),Wl=new RegExp("^"+cl+"$"),Zs={ID:new RegExp("^#("+cl+")"),CLASS:new RegExp("^\\.("+cl+")"),TAG:new RegExp("^("+cl+"|[*])"),ATTR:new RegExp("^"+_i),PSEUDO:new RegExp("^"+Oo),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ue+"*(even|odd|(([+-]|)(\\d*)n|)"+ue+"*(?:([+-]|)"+ue+"*(\\d+)|))"+ue+"*\\)|)","i"),bool:new RegExp("^(?:"+Jr+")$","i"),needsContext:new RegExp("^"+ue+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ue+"*((?:-\\d)?\\d*)"+ue+"*\\)|)(?=[^-]|$)","i")},Va=/^(?:input|select|textarea|button)$/i,ul=/^h\d$/i,Xr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Lc=/[+~]/,dl=new RegExp("\\\\[\\da-fA-F]{1,6}"+ue+"?|\\\\([^\\r\\n\\f])","g"),We=function(z,ie){var be="0x"+z.slice(1)-65536;return ie||(be<0?String.fromCharCode(be+65536):String.fromCharCode(be>>10|55296,1023&be|56320))},L1=function(){Zr()},E_=ar(function(z){return!0===z.disabled&&On(z,"fieldset")},{dir:"parentNode",next:"legend"});try{A.apply(ot=Xe.call(ai.childNodes),ai.childNodes)}catch{A={apply:function(ie,be){Yn.apply(ie,Xe.call(be))},call:function(ie){Yn.apply(ie,Xe.call(arguments,1))}}}function it(z,ie,be,Se){var De,bt,Tt,Ft,At,ri,It,Rn=ie&&ie.ownerDocument,ci=ie?ie.nodeType:9;if(be=be||[],"string"!=typeof z||!z||1!==ci&&9!==ci&&11!==ci)return be;if(!Se&&(Zr(ie),ie=ie||P,W)){if(11!==ci&&(At=Xr.exec(z)))if(De=At[1]){if(9===ci){if(!(Tt=ie.getElementById(De)))return be;if(Tt.id===De)return A.call(be,Tt),be}else if(Rn&&(Tt=Rn.getElementById(De))&&it.contains(ie,Tt)&&Tt.id===De)return A.call(be,Tt),be}else{if(At[2])return A.apply(be,ie.getElementsByTagName(z)),be;if((De=At[3])&&ie.getElementsByClassName)return A.apply(be,ie.getElementsByClassName(De)),be}if(!(zo[z+" "]||oe&&oe.test(z))){if(It=z,Rn=ie,1===ci&&(ql.test(z)||Ff.test(z))){for(((Rn=Lc.test(z)&&Kl(ie.parentNode)||ie)!=ie||!Yt.scope)&&((Ft=ie.getAttribute("id"))?Ft=C.escapeSelector(Ft):ie.setAttribute("id",Ft=Ue)),bt=(ri=kt(z)).length;bt--;)ri[bt]=(Ft?"#"+Ft:":scope")+" "+Pn(ri[bt]);It=ri.join(",")}try{return A.apply(be,Rn.querySelectorAll(It)),be}catch{zo(z,!0)}finally{Ft===Ue&&ie.removeAttribute("id")}}}return Hn(z.replace(lt,"$1"),ie,be,Se)}function $f(){var z=[];return function ie(be,Se){return z.push(be+" ")>p.cacheLength&&delete ie[z.shift()],ie[be+" "]=Se}}function ea(z){return z[Ue]=!0,z}function K(z){var ie=P.createElement("fieldset");try{return!!z(ie)}catch{return!1}finally{ie.parentNode&&ie.parentNode.removeChild(ie),ie=null}}function bs(z){return function(ie){return On(ie,"input")&&ie.type===z}}function Ki(z){return function(ie){return(On(ie,"input")||On(ie,"button"))&&ie.type===z}}function Go(z){return function(ie){return"form"in ie?ie.parentNode&&!1===ie.disabled?"label"in ie?"label"in ie.parentNode?ie.parentNode.disabled===z:ie.disabled===z:ie.isDisabled===z||ie.isDisabled!==!z&&E_(ie)===z:ie.disabled===z:"label"in ie&&ie.disabled===z}}function Br(z){return ea(function(ie){return ie=+ie,ea(function(be,Se){for(var De,bt=z
vendor: 5,317 bytes, line 1
1([],be.length,ie),Tt=bt.length;Tt--;)be[De=bt[Tt]]&&(be[De]=!(Se[De]=be[De]))})})}function Kl(z){return z&&typeof z.getElementsByTagName<"u"&&z}function Zr(z){var ie,be=z?z.ownerDocument||z:ai;return be==P||9!==be.nodeType||!be.documentElement||(ee=(P=be).documentElement,W=!C.isXMLDoc(P),Me=ee.matches||ee.webkitMatchesSelector||ee.msMatchesSelector,ee.msMatchesSelector&&ai!=P&&(ie=P.defaultView)&&ie.top!==ie&&ie.addEventListener("unload",L1),Yt.getById=K(function(Se){return ee.appendChild(Se).id=C.expando,!P.getElementsByName||!P.getElementsByName(C.expando).length}),Yt.disconnectedMatch=K(function(Se){return Me.call(Se,"*")}),Yt.scope=K(function(){return P.querySelectorAll(":scope")}),Yt.cssHas=K(function(){try{return P.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),Yt.getById?(p.filter.ID=function(Se){var De=Se.replace(dl,We);return function(bt){return bt.getAttribute("id")===De}},p.find.ID=function(Se,De){if(typeof De.getElementById<"u"&&W){var bt=De.getElementById(Se);return bt?[bt]:[]}}):(p.filter.ID=function(Se){var De=Se.replace(dl,We);return function(bt){var Tt=typeof bt.getAttributeNode<"u"&&bt.getAttributeNode("id");return Tt&&Tt.value===De}},p.find.ID=function(Se,De){if(typeof De.getElementById<"u"&&W){var bt,Tt,Ft,At=De.getElementById(Se);if(At){if((bt=At.getAttributeNode("id"))&&bt.value===Se)return[At];for(Ft=De.getElementsByName(Se),Tt=0;At=Ft[Tt++];)if((bt=At.getAttributeNode("id"))&&bt.value===Se)return[At]}return[]}}),p.find.TAG=function(Se,De){return typeof De.getElementsByTagName<"u"?De.getElementsByTagName(Se):De.querySelectorAll(Se)},p.find.CLASS=function(Se,De){if(typeof De.getElementsByClassName<"u"&&W)return De.getElementsByClassName(Se)},oe=[],K(function(Se){var De;ee.appendChild(Se).innerHTML="<a id='"+Ue+"' href='' disabled='disabled'></a><select id='"+Ue+"-\r\\' disabled='disabled'><option selected=''></option></select>",Se.querySelectorAll("[selected]").length||oe.push("\\["+ue+"*(?:value|"+Jr+")"),Se.querySelectorAll("[id~="+Ue+"-]").length||oe.push("~="),Se.querySelectorAll("a#"+Ue+"+*").length||oe.push(".#.+[+~]"),Se.querySelectorAll(":checked").length||oe.push(":checked"),(De=P.createElement("input")).setAttribute("type","hidden"),Se.appendChild(De).setAttribute("name","D"),ee.appendChild(Se).disabled=!0,2!==Se.querySelectorAll(":disabled").length&&oe.push(":enabled",":disabled"),(De=P.createElement("input")).setAttribute("name",""),Se.appendChild(De),Se.querySelectorAll("[name='']").length||oe.push("\\["+ue+"*name"+ue+"*="+ue+"*(?:''|\"\")")}),Yt.cssHas||oe.push(":has"),oe=oe.length&&new RegExp(oe.join("|")),hr=function(Se,De){if(Se===De)return E=!0,0;var bt=!Se.compareDocumentPosition-!De.compareDocumentPosition;return bt||(1&(bt=(Se.ownerDocument||Se)==(De.ownerDocument||De)?Se.compareDocumentPosition(De):1)||!Yt.sortDetached&&De.compareDocumentPosition(Se)===bt?Se===P||Se.ownerDocument==ai&&it.contains(ai,Se)?-1:De===P||De.ownerDocument==ai&&it.contains(ai,De)?1:w?vn.call(w,Se)-vn.call(w,De):0:4&bt?-1:1)}),P}for(h in it.matches=function(z,ie){return it(z,null,null,ie)},it.matchesSelector=function(z,ie){if(Zr(z),W&&!zo[ie+" "]&&(!oe||!oe.test(ie)))try{var be=Me.call(z,ie);if(be||Yt.disconnectedMatch||z.document&&11!==z.document.nodeType)return be}catch{zo(ie,!0)}return it(ie,P,null,[z]).length>0},it.contains=function(z,ie){return(z.ownerDocument||z)!=P&&Zr(z),C.contains(z,ie)},it.attr=function(z,ie){(z.ownerDocument||z)!=P&&Zr(z);var be=p.attrHandle[ie.toLowerCase()],Se=be&&hi.call(p.attrHandle,ie.toLowerCase())?be(z,ie,!W):void 0;return void 0!==Se?Se:z.getAttribute(ie)},it.error=function(z){throw new Error("Syntax error, unrecognized expression: "+z)},C.uniqueSort=function(z){var ie,be=[],Se=0,De=0;if(E=!Yt.sortStable,w=!Yt.sortStable&&Xe.call(z,0),Vl.call(z,hr),E){for(;ie=z[De++];)ie===z[De]&&(Se=be.push(De));for(;Se--;)Vt.call(z,be[Se],1)}return w=null,z},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(Xe.apply(this)))},(p=C.expr={cacheLength:50,createPseudo:ea,match:Zs,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(z){return z[1]=z[1].replace(dl,We),z[3]=(z[3]||z[4]||z[5]||"").replace(dl,We),"~="===z[2]&&(z[3]=" "+z[3]+" "),z.slice(0,4)},CHILD:function(z){return z[1]=z[1].toLowerCase(),"nth"===z[1].slice(0,3)?(z[3]||it.error(z[0]),z[4]=+(z[4]?z[5]+(z[6]||1):2*("even"===z[3]||"odd"===z[3])),z[5]=+(z[7]+z[8]||"odd"===z[3])):z[3]&&it.error(z[0]),z},PSEUDO:function(z){var ie,be=!z[6]&&z[2];return Zs.CHILD.test(z[0])?null:(z[3]?z[2]=z[4]||z[5]||"":be&&Qn.test(be)&&(ie=kt(be,!0))&&(ie=be.indexOf(")",be.length-ie)-be.length)&&(z[0]=z[0].slice(0,ie),z[2]=be.slice(0,ie)),z.slice(0,3))}},filter:{TAG:function(z){var ie=z.replace(dl,We).toLowerCase();return"*"===z?function(){return!0}:function(be){return On(be,ie)}},CLASS:function(z){var ie=Mn[z+" "];return ie||(ie=new RegExp("(^|"+ue+")"+z+"("+ue+"|$)"))&&Mn(z,function(be){return ie.test("string"==typeof be.className&&be.className||typeof be.getAttribute<"u"&&be.getAttribute("class")||"")})},ATTR:function(z,ie,be){return function(Se){var De=it.attr(Se,z);return null==De?"!="===ie:!ie||(De+="","="===ie?De===be:"!="===ie?De!==be:"^="===ie?be&&0===De.indexOf(be):"*="===ie?be&&De.indexOf(be)>
vendor: 5,453 bytes, line 1
1-1:"$="===ie?be&&De.slice(-be.length)===be:"~="===ie?(" "+De.replace(tn," ")+" ").indexOf(be)>-1:"|="===ie&&(De===be||De.slice(0,be.length+1)===be+"-"))}},CHILD:function(z,ie,be,Se,De){var bt="nth"!==z.slice(0,3),Tt="last"!==z.slice(-4),Ft="of-type"===ie;return 1===Se&&0===De?function(At){return!!At.parentNode}:function(At,ri,It){var Rn,ci,sn,Zi,go,uo=bt!==Tt?"nextSibling":"previousSibling",yo=At.parentNode,yr=Ft&&At.nodeName.toLowerCase(),zu=!It&&!Ft,er=!1;if(yo){if(bt){for(;uo;){for(sn=At;sn=sn[uo];)if(Ft?On(sn,yr):1===sn.nodeType)return!1;go=uo="only"===z&&!go&&"nextSibling"}return!0}if(go=[Tt?yo.firstChild:yo.lastChild],Tt&&zu){for(er=(Zi=(Rn=(ci=yo[Ue]||(yo[Ue]={}))[z]||[])[0]===re&&Rn[1])&&Rn[2],sn=Zi&&yo.childNodes[Zi];sn=++Zi&&sn&&sn[uo]||(er=Zi=0)||go.pop();)if(1===sn.nodeType&&++er&&sn===At){ci[z]=[re,Zi,er];break}}else if(zu&&(er=Zi=(Rn=(ci=At[Ue]||(At[Ue]={}))[z]||[])[0]===re&&Rn[1]),!1===er)for(;(sn=++Zi&&sn&&sn[uo]||(er=Zi=0)||go.pop())&&(!(Ft?On(sn,yr):1===sn.nodeType)||!++er||(zu&&((ci=sn[Ue]||(sn[Ue]={}))[z]=[re,er]),sn!==At)););return(er-=De)===Se||er%Se==0&&er/Se>=0}}},PSEUDO:function(z,ie){var be,Se=p.pseudos[z]||p.setFilters[z.toLowerCase()]||it.error("unsupported pseudo: "+z);return Se[Ue]?Se(ie):Se.length>1?(be=[z,z,"",ie],p.setFilters.hasOwnProperty(z.toLowerCase())?ea(function(De,bt){for(var Tt,Ft=Se(De,ie),At=Ft.length;At--;)De[Tt=vn.call(De,Ft[At])]=!(bt[Tt]=Ft[At])}):function(De){return Se(De,0,be)}):Se}},pseudos:{not:ea(function(z){var ie=[],be=[],Se=$c(z.replace(lt,"$1"));return Se[Ue]?ea(function(De,bt,Tt,Ft){for(var At,ri=Se(De,null,Ft,[]),It=De.length;It--;)(At=ri[It])&&(De[It]=!(bt[It]=At))}):function(De,bt,Tt){return ie[0]=De,Se(ie,null,Tt,be),ie[0]=null,!be.pop()}}),has:ea(function(z){return function(ie){return it(z,ie).length>0}}),contains:ea(function(z){return z=z.replace(dl,We),function(ie){return(ie.textContent||C.text(ie)).indexOf(z)>-1}}),lang:ea(function(z){return Wl.test(z||"")||it.error("unsupported lang: "+z),z=z.replace(dl,We).toLowerCase(),function(ie){var be;do{if(be=W?ie.lang:ie.getAttribute("xml:lang")||ie.getAttribute("lang"))return(be=be.toLowerCase())===z||0===be.indexOf(z+"-")}while((ie=ie.parentNode)&&1===ie.nodeType);return!1}}),target:function(z){var ie=me.location&&me.location.hash;return ie&&ie.slice(1)===z.id},root:function(z){return z===ee},focus:function(z){return z===function k_(){try{return P.activeElement}catch{}}()&&P.hasFocus()&&!!(z.type||z.href||~z.tabIndex)},enabled:Go(!1),disabled:Go(!0),checked:function(z){return On(z,"input")&&!!z.checked||On(z,"option")&&!!z.selected},selected:function(z){return!0===z.selected},empty:function(z){for(z=z.firstChild;z;z=z.nextSibling)if(z.nodeType<6)return!1;return!0},parent:function(z){return!p.pseudos.empty(z)},header:function(z){return ul.test(z.nodeName)},input:function(z){return Va.test(z.nodeName)},button:function(z){return On(z,"input")&&"button"===z.type||On(z,"button")},text:function(z){var ie;return On(z,"input")&&"text"===z.type&&(null==(ie=z.getAttribute("type"))||"text"===ie.toLowerCase())},first:Br(function(){return[0]}),last:Br(function(z,ie){return[ie-1]}),eq:Br(function(z,ie,be){return[be<0?be+ie:be]}),even:Br(function(z,ie){for(var be=0;be<ie;be+=2)z.push(be);return z}),odd:Br(function(z,ie){for(var be=1;be<ie;be+=2)z.push(be);return z}),lt:Br(function(z,ie,be){var Se;for(Se=be<0?be+ie:be>ie?ie:be;--Se>=0;)z.push(Se);return z}),gt:Br(function(z,ie,be){for(var Se=be<0?be+ie:be;++Se<ie;)z.push(Se);return z})}}).pseudos.nth=p.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})p.pseudos[h]=bs(h);for(h in{submit:!0,reset:!0})p.pseudos[h]=Ki(h);function Ns(){}function kt(z,ie){var be,Se,De,bt,Tt,Ft,At,ri=In[z+" "];if(ri)return ie?0:ri.slice(0);for(Tt=z,Ft=[],At=p.preFilter;Tt;){for(bt in(!be||(Se=Vr.exec(Tt)))&&(Se&&(Tt=Tt.slice(Se[0].length)||Tt),Ft.push(De=[])),be=!1,(Se=Ff.exec(Tt))&&(be=Se.shift(),De.push({value:be,type:Se[0].replace(lt," ")}),Tt=Tt.slice(be.length)),p.filter)(Se=Zs[bt].exec(Tt))&&(!At[bt]||(Se=At[bt](Se)))&&(be=Se.shift(),De.push({value:be,type:bt,matches:Se}),Tt=Tt.slice(be.length));if(!be)break}return ie?Tt.length:Tt?it.error(z):In(z,Ft).slice(0)}function Pn(z){for(var ie=0,be=z.length,Se="";ie<be;ie++)Se+=z[ie].value;return Se}function ar(z,ie,be){var Se=ie.dir,De=ie.next,bt=De||Se,Tt=be&&"parentNode"===bt,Ft=at++;return ie.first?function(At,ri,It){for(;At=At[Se];)if(1===At.nodeType||Tt)return z(At,ri,It);return!1}:function(At,ri,It){var Rn,ci,sn=[re,Ft];if(It){for(;At=At[Se];)if((1===At.nodeType||Tt)&&z(At,ri,It))return!0}else for(;At=At[Se];)if(1===At.nodeType||Tt)if(ci=At[Ue]||(At[Ue]={}),De&&On(At,De))At=At[Se]||At;else{if((Rn=ci[bt])&&Rn[0]===re&&Rn[1]===Ft)return sn[2]=Rn[2];if(ci[bt]=sn,sn[2]=z(At,ri,It))return!0}return!1}}function is(z){return z.length>1?function(ie,be,Se){for(var De=z.length;De--;)if(!z[De](ie,be,Se))return!1;return!0}:z[0]}function Ur(z,ie,be,Se,De){for(var bt,Tt=[],Ft=0,At=z.length,ri=null!=ie;Ft<At;Ft++)(bt=z[Ft])&&(!be||be(bt,Se,De))&&(Tt.push(bt),ri&&ie.push(Ft));return Tt}function hl(z,ie,be,Se,De,bt){return Se&&!Se[Ue]&&(Se=hl(Se)),De&&!De[Ue]&&(De=hl(De,bt)),ea(function(Tt,Ft,At,ri){var It,Rn,ci,sn,Zi=[],go=[],uo=Ft.length,yo=Tt||function Fc(z,ie,be){for(var Se=0,De=ie.length;Se<De;Se++)it(z,ie[Se],be);return be}(ie||"*",At.nodeType?[At]:At,[]),yr=!z||!Tt&&ie?yo:Ur(yo,Zi,z,At,ri);if(be?be(yr,sn=De||(Tt?z:uo||Se)?[]:Ft,At,ri):sn=yr,Se)for(It=Ur(sn,go),Se(It,[],At,ri
vendor: 4,541 bytes, line 1
1),Rn=It.length;Rn--;)(ci=It[Rn])&&(sn[go[Rn]]=!(yr[go[Rn]]=ci));if(Tt){if(De||z){if(De){for(It=[],Rn=sn.length;Rn--;)(ci=sn[Rn])&&It.push(yr[Rn]=ci);De(null,sn=[],It,ri)}for(Rn=sn.length;Rn--;)(ci=sn[Rn])&&(It=De?vn.call(Tt,ci):Zi[Rn])>-1&&(Tt[It]=!(Ft[It]=ci))}}else sn=Ur(sn===Ft?sn.splice(uo,sn.length):sn),De?De(null,Ft,sn,ri):A.apply(Ft,sn)})}function Er(z){for(var ie,be,Se,De=z.length,bt=p.relative[z[0].type],Tt=bt||p.relative[" "],Ft=bt?1:0,At=ar(function(Rn){return Rn===ie},Tt,!0),ri=ar(function(Rn){return vn.call(ie,Rn)>-1},Tt,!0),It=[function(Rn,ci,sn){var Zi=!bt&&(sn||ci!=v)||((ie=ci).nodeType?At(Rn,ci,sn):ri(Rn,ci,sn));return ie=null,Zi}];Ft<De;Ft++)if(be=p.relative[z[Ft].type])It=[ar(is(It),be)];else{if((be=p.filter[z[Ft].type].apply(null,z[Ft].matches))[Ue]){for(Se=++Ft;Se<De&&!p.relative[z[Se].type];Se++);return hl(Ft>1&&is(It),Ft>1&&Pn(z.slice(0,Ft-1).concat({value:" "===z[Ft-2].type?"*":""})).replace(lt,"$1"),be,Ft<Se&&Er(z.slice(Ft,Se)),Se<De&&Er(z=z.slice(Se)),Se<De&&Pn(z))}It.push(be)}return is(It)}function $c(z,ie){var be,Se=[],De=[],bt=qn[z+" "];if(!bt){for(ie||(ie=kt(z)),be=ie.length;be--;)(bt=Er(ie[be]))[Ue]?Se.push(bt):De.push(bt);bt=qn(z,function Xd(z,ie){var be=ie.length>0,Se=z.length>0,De=function(bt,Tt,Ft,At,ri){var It,Rn,ci,sn=0,Zi="0",go=bt&&[],uo=[],yo=v,yr=bt||Se&&p.find.TAG("*",ri),zu=re+=null==yo?1:Math.random()||.1,er=yr.length;for(ri&&(v=Tt==P||Tt||ri);Zi!==er&&null!=(It=yr[Zi]);Zi++){if(Se&&It){for(Rn=0,!Tt&&It.ownerDocument!=P&&(Zr(It),Ft=!W);ci=z[Rn++];)if(ci(It,Tt||P,Ft)){A.call(At,It);break}ri&&(re=zu)}be&&((It=!ci&&It)&&sn--,bt&&go.push(It))}if(sn+=Zi,be&&Zi!==sn){for(Rn=0;ci=ie[Rn++];)ci(go,uo,Tt,Ft);if(bt){if(sn>0)for(;Zi--;)go[Zi]||uo[Zi]||(uo[Zi]=$r.call(At));uo=Ur(uo)}A.apply(At,uo),ri&&!bt&&uo.length>0&&sn+ie.length>1&&C.uniqueSort(At)}return ri&&(re=zu,v=yo),go};return be?ea(De):De}(De,Se)),bt.selector=z}return bt}function Hn(z,ie,be,Se){var De,bt,Tt,Ft,At,ri="function"==typeof z&&z,It=!Se&&kt(z=ri.selector||z);if(be=be||[],1===It.length){if((bt=It[0]=It[0].slice(0)).length>2&&"ID"===(Tt=bt[0]).type&&9===ie.nodeType&&W&&p.relative[bt[1].type]){if(!(ie=(p.find.ID(Tt.matches[0].replace(dl,We),ie)||[])[0]))return be;ri&&(ie=ie.parentNode),z=z.slice(bt.shift().value.length)}for(De=Zs.needsContext.test(z)?0:bt.length;De--&&!p.relative[Ft=(Tt=bt[De]).type];)if((At=p.find[Ft])&&(Se=At(Tt.matches[0].replace(dl,We),Lc.test(bt[0].type)&&Kl(ie.parentNode)||ie))){if(bt.splice(De,1),!(z=Se.length&&Pn(bt)))return A.apply(be,Se),be;break}}return(ri||$c(z,It))(Se,ie,!W,be,!ie||Lc.test(z)&&Kl(ie.parentNode)||ie),be}Ns.prototype=p.filters=p.pseudos,p.setFilters=new Ns,Yt.sortStable=Ue.split("").sort(hr).join("")===Ue,Zr(),Yt.sortDetached=K(function(z){return 1&z.compareDocumentPosition(P.createElement("fieldset"))}),C.find=it,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,it.compile=$c,it.select=Hn,it.setDocument=Zr,it.tokenize=kt,it.escape=C.escapeSelector,it.getText=C.text,it.isXML=C.isXMLDoc,it.selectors=C.expr,it.support=C.support,it.uniqueSort=C.uniqueSort}();var To=function(h,p,v){for(var w=[],E=void 0!==v;(h=h[p])&&9!==h.nodeType;)if(1===h.nodeType){if(E&&C(h).is(v))break;w.push(h)}return w},Uo=function(h,p){for(var v=[];h;h=h.nextSibling)1===h.nodeType&&h!==p&&v.push(h);return v},ba=C.expr.match.needsContext,dr=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ao(h,p,v){return Gt(p)?C.grep(h,function(w,E){return!!p.call(w,E,w)!==v}):p.nodeType?C.grep(h,function(w){return w===p!==v}):"string"!=typeof p?C.grep(h,function(w){return vn.call(p,w)>-1!==v}):C.filter(p,h,v)}C.filter=function(h,p,v){var w=p[0];return v&&(h=":not("+h+")"),1===p.length&&1===w.nodeType?C.find.matchesSelector(w,h)?[w]:[]:C.find.matches(h,C.grep(p,function(E){return 1===E.nodeType}))},C.fn.extend({find:function(h){var p,v,w=this.length,E=this;if("string"!=typeof h)return this.pushStack(C(h).filter(function(){for(p=0;p<w;p++)if(C.contains(E[p],this))return!0}));for(v=this.pushStack([]),p=0;p<w;p++)C.find(h,E[p],v);return w>1?C.uniqueSort(v):v},filter:function(h){return this.pushStack(Ao(this,h||[],!1))},not:function(h){return this.pushStack(Ao(this,h||[],!0))},is:function(h){return!!Ao(this,"string"==typeof h&&ba.test(h)?C(h):h||[],!1).length}});var Bl,$a=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Gm=C.fn.init=function(h,p,v){var w,E;if(!h)return this;if(v=v||Bl,"string"==typeof h){if(!(w="<"===h[0]&&">"===h[h.length-1]&&h.length>=3?[null,h,null]:$a.exec(h))||!w[1]&&p)return!p||p.jquery?(p||v).find(h):this.constructor(p).find(h);
vendor: 4,655 bytes, line 1
1if(w[1]){if(C.merge(this,C.parseHTML(w[1],(p=p instanceof C?p[0]:p)&&p.nodeType?p.ownerDocument||p:cn,!0)),dr.test(w[1])&&C.isPlainObject(p))for(w in p)Gt(this[w])?this[w](p[w]):this.attr(w,p[w]);return this}return(E=cn.getElementById(w[2]))&&(this[0]=E,this.length=1),this}return h.nodeType?(this[0]=h,this.length=1,this):Gt(h)?void 0!==v.ready?v.ready(h):h(C):C.makeArray(h,this)};Gm.prototype=C.fn,Bl=C(cn);var Ps=/^(?:parents|prev(?:Until|All))/,wi={children:!0,contents:!0,next:!0,prev:!0};function qd(h,p){for(;(h=h[p])&&1!==h.nodeType;);return h}C.fn.extend({has:function(h){var p=C(h,this),v=p.length;return this.filter(function(){for(var w=0;w<v;w++)if(C.contains(this,p[w]))return!0})},closest:function(h,p){var v,w=0,E=this.length,A=[],P="string"!=typeof h&&C(h);if(!ba.test(h))for(;w<E;w++)for(v=this[w];v&&v!==p;v=v.parentNode)if(v.nodeType<11&&(P?P.index(v)>-1:1===v.nodeType&&C.find.matchesSelector(v,h))){A.push(v);break}return this.pushStack(A.length>1?C.uniqueSort(A):A)},index:function(h){return h?"string"==typeof h?vn.call(C(h),this[0]):vn.call(this,h.jquery?h[0]:h):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(h,p){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(h,p))))},addBack:function(h){return this.add(null==h?this.prevObject:this.prevObject.filter(h))}}),C.each({parent:function(h){var p=h.parentNode;return p&&11!==p.nodeType?p:null},parents:function(h){return To(h,"parentNode")},parentsUntil:function(h,p,v){return To(h,"parentNode",v)},next:function(h){return qd(h,"nextSibling")},prev:function(h){return qd(h,"previousSibling")},nextAll:function(h){return To(h,"nextSibling")},prevAll:function(h){return To(h,"previousSibling")},nextUntil:function(h,p,v){return To(h,"nextSibling",v)},prevUntil:function(h,p,v){return To(h,"previousSibling",v)},siblings:function(h){return Uo((h.parentNode||{}).firstChild,h)},children:function(h){return Uo(h.firstChild)},contents:function(h){return null!=h.contentDocument&&_t(h.contentDocument)?h.contentDocument:(On(h,"template")&&(h=h.content||h),C.merge([],h.childNodes))}},function(h,p){C.fn[h]=function(v,w){var E=C.map(this,p,v);return"Until"!==h.slice(-5)&&(w=v),w&&"string"==typeof w&&(E=C.filter(w,E)),this.length>1&&(wi[h]||C.uniqueSort(E),Ps.test(h)&&E.reverse()),this.pushStack(E)}});var Ys=/[^\x20\t\r\n\f]+/g;function Ul(h){return h}function nt(h){throw h}function Wd(h,p,v,w){var E;try{h&&Gt(E=h.promise)?E.call(h).done(p).fail(v):h&&Gt(E=h.then)?E.call(h,p,v):p.apply(void 0,[h].slice(w))}catch(A){v.apply(void 0,[A])}}C.Callbacks=function(h){h="string"==typeof h?function kf(h){var p={};return C.each(h.match(Ys)||[],function(v,w){p[w]=!0}),p}(h):C.extend({},h);var p,v,w,E,A=[],P=[],ee=-1,W=function(){for(E=E||h.once,w=p=!0;P.length;ee=-1)for(v=P.shift();++ee<A.length;)!1===A[ee].apply(v[0],v[1])&&h.stopOnFalse&&(ee=A.length,v=!1);h.memory||(v=!1),p=!1,E&&(A=v?[]:"")},oe={add:function(){return A&&(v&&!p&&(ee=A.length-1,P.push(v)),function Me(Ue){C.each(Ue,function(re,at){Gt(at)?(!h.unique||!oe.has(at))&&A.push(at):at&&at.length&&"string"!==si(at)&&Me(at)})}(arguments),v&&!p&&W()),this},remove:function(){return C.each(arguments,function(Me,Ue){for(var re;(re=C.inArray(Ue,A,re))>-1;)A.splice(re,1),re<=ee&&ee--}),this},has:function(Me){return Me?C.inArray(Me,A)>-1:A.length>0},empty:function(){return A&&(A=[]),this},disable:function(){return E=P=[],A=v="",this},disabled:function(){return!A},lock:function(){return E=P=[],!v&&!p&&(A=v=""),this},locked:function(){return!!E},fireWith:function(Me,Ue){return E||(Ue=[Me,(Ue=Ue||[]).slice?Ue.slice():Ue],P.push(Ue),p||W()),this},fire:function(){return oe.fireWith(this,arguments),this},fired:function(){return!!w}};return oe},C.extend({Deferred:function(h){var p=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],v="pending",w={state:function(){return v},always:function(){return E.done(arguments).fail(arguments),this},catch:function(A){return w.then(null,A)},pipe:function(){var A=arguments;return C.Deferred(function(P){C.each(p,function(ee,W){var oe=Gt(A[W[4]])&&A[W[4]];E[W[1]](function(){var Me=oe&&oe.apply(this,arguments);Me&&Gt(Me.promise)?Me.promise().progress(P.notify).done(P.resolve).fail(P.reject):P[W[0]+"With"](this,oe?[Me]:arguments)})}),A=null}).promise()},then:function(A,P,ee){var W=0;function oe(Me,Ue,re,at){return function(){var Mn=this,In=arguments,qn=function(){var hr,Jr;if(!(Me<W)){if((hr=re.apply(Mn,In))===Ue.promise())throw new TypeError("Thenable self
1-resolution");Gt(Jr=hr&&("object"==typeof hr||"function"==typeof hr)&&hr.then)?at?Jr.call(hr,oe(W,Ue,Ul,at),oe(W,Ue,nt,at)):(W++,Jr.call(hr,oe(W,Ue,Ul,at),oe(W,Ue,nt,at),oe(W,Ue,Ul,Ue.notifyWith))):(re!==Ul&&(Mn=void 0,In=[hr]),(at||Ue.resolveWith)(Mn,In))}},zo=at?qn:function(){try{qn()}catch(hr){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(hr,zo.error),Me+1>=W&&(re!==nt&&(Mn=void 0,In=[hr]),Ue.rejectWith(Mn,In))}};Me?zo():(C.Deferred.getErrorHook?zo.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(zo.error=C.Deferred.getStackHook()),me.setTimeout(zo))}}return C.Deferred(function(Me){p[0][3].add(oe(0,Me,Gt(ee)?ee:Ul,Me.notifyWith)),p[1][3].add(oe(0,Me,Gt(A)?A:Ul)),p[2][3].add(oe(0,Me,Gt(P)?P:nt))}).promise()},promise:function(A){return null!=A?C.extend(A,w):w}},E={};return C.each(p,function(A,P){var ee=P[2],W=P[5];w[P[1]]=ee.add,W&&ee.add(function(){v=W},p[3-A][2].disable,p[3-A][3].disable,p[0][2].lock,p[0][3].lock),ee.add(P[3].fire),E[P[0]]=function(){return E[P[0]+"With"](this===E?void 0:this,arguments),this},E[P[0]+"With"]=ee.fireWith}),w.promise(E),h&&h.call(E,E),E},when:function(h){var p=arguments.length,v=p,w=Array(v),E=Xe.call(arguments),A=C.Deferred(),P=function(ee){return function(W){w[ee]=this,E[ee]=arguments.length>1?Xe.call(arguments):W,--p||A.resolveWith(w,E)}};if(p<=1&&(Wd(h,A.done(P(v)).resolve,A.reject,!p),"pending"===A.state()||Gt(E[v]&&E[v].then)))return A.then();for(;v--;)Wd(E[v],P(v),A.reject);return A.promise()}});var Tf=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(h,p){me.console&&me.console.warn&&h&&Tf.test(h.name)&&me.console.warn("jQuery.Deferred exception: "+h.message,h.stack,p)},C.readyException=function(h){me.setTimeout(function(){throw h})};var Xi=C.Deferred();function yi(){cn.removeEventListener("DOMContentLoaded",yi),me.removeEventListener("load",yi),C.ready()}C.fn.ready=function(h){return Xi.then(h).catch(function(p){C.readyException(p)}),this},C.extend({isReady:!1,readyWait:1,ready:function(h){(!0===h?--C.readyWait:C.isReady)||(C.isReady=!0,!(!0!==h&&--C.readyWait>0)&&Xi.resolveWith(cn,[C]))}}),C.ready.then=Xi.then,"complete"===cn.readyState||"loading"!==cn.readyState&&!cn.documentElement.doScroll?me.setTimeout(C.ready):(cn.addEventListener("DOMContentLoaded",yi),me.addEventListener("load",yi));var Qs=function(h,p,v,w,E,A,P){var ee=0,W=h.length,oe=null==v;if("object"===si(v))for(ee in E=!0,v)Qs(h,p,ee,v[ee],!0,A,P);else if(void 0!==w&&(E=!0,Gt(w)||(P=!0),oe&&(P?(p.call(h,w),p=null):(oe=p,p=function(Me,Ue,re){return oe.call(C(Me),re)})),p))for(;ee<W;ee++)p(h[ee],v,P?w:w.call(h[ee],ee,p(h[ee],v)));return E?h:oe?p.call(h):W?p(h[0],v):A},an=/^-ms-/,Kd=/-([a-z])/g;function qm(h,p){return p.toUpperCase()}function _s(h){return h.replace(an,"ms-").replace(Kd,qm)}var Hl=function(h){return 1===h.nodeType||9===h.nodeType||!+h.nodeType};function U(){this.expando=C.expando+U.uid++}U.uid=1,U.prototype={cache:function(h){var p=h[this.expando];return p||(p={},Hl(h)&&(h.nodeType?h[this.expando]=p:Object.defineProperty(h,this.expando,{value:p,configurable:!0}))),p},set:function(h,p,v){var w,E=this.cache(h);if("string"==typeof p)E[_s(p)]=v;else for(w in p)E[_s(w)]=p[w];return E},get:function(h,p){return void 0===p?this.cache(h):h[this.expando]&&h[this.expando][_s(p)]},access:function(h,p,v){return void 0===p||p&&"string"==typeof p&&void 0===v?this.get(h,p):(this.set(h,p,v),void 0!==v?v:p)},remove:function(h,p){var v,w=h[this.expando];if(void 0!==w){if(void 0!==p)for((v=(p=Array.isArray(p)?p.map(_s):(p=_s(p))in w?[p]:p.match(Ys)||[]).length);v--;)delete w[p[v]];(void 0===p||C.isEmptyObject(w))&&(h.nodeType?h[this.expando]=void 0:delete h[this.expando])}},hasData:function(h){var p=h[this.expando];return void 0!==p&&!C.isEmptyObject(p)}};var B=new U,he=new U,rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,En=/[A-Z]/g;function _n(h,p,v){var w;if(void 0===v&&1===h.nodeType)if(w="data-"+p.replace(En,"-$&").toLowerCase(),"string"==typeof(v=h.getAttribute(w))){try{v=function Gn(h){return"true"===h||"false"!==h&&("null"===h?null:h===+h+""?+h:rt.test(h)?JSON.parse(h):h)}(v)}catch{}he.set(h,p,v)}else v=void 0;return v}C.extend({hasData:function(h){return he.hasData(h)||B.hasData(h)},data:function(h,p,v){return he.access(h,p,v)},removeData:function(h,p){he.remove(h,p)},_data:function(h,p,v){return B.access(h,p,v)},_removeData:function(h,p){B.remove(h,p)}}),C.fn.extend({data:function(h,p){var v,w,E,A=this[0],P=A&&A.attributes;if(void 0===h){if(this.length&&(E=he.get(A),1===A.nodeType&&!B.get(A,"hasDataAttrs"))){for(v=P.length;v--;)P[v]&&0===(w=P[v].name).indexOf("data-")&&(w=_s(w.slice(5)),_n(A,w,E[w]));B.set(A,"hasDataAttrs",!0)}return E}return"object"==typeof h?this.each(function(){he.set(this,h)}):Qs(this,function(ee){var W;if(A&&void 0===ee)return void 0!==(W=he.get(A,h))||void 0!==(W=_n(A,h))?W:void 0;this.each(function(){he.set(this,h,ee)})},null,p,arguments.length>1,null,!0)},removeData:function(h){return this.each(function(){he.remove(this,h)})}}),C.extend({queue:function(h,p,v){var w;if(h)return w=B.get(h,p=(p||"fx")+"queue"),v&&(!w||Array.isArray(v)?w=B.access(h,p,C.makeArray(v)):w.push(v)),w||[]},dequeue:function(h,p){var v=C.queue(h,p=p||"fx"),w=v.length,E=v.shift(),A=C._queueHooks(h,p);"inprogress"===E&&(E=v.shift(),w--),E&&("fx"===p&&v.unshift("inprogress"),delete A.stop,E.call(h,function(){C.dequeue(h,p)},A)),!w&&A&&A.empty.fire()},_queueHooks:function(h,p){var v=p+"queueHooks";return B.get(h,v)||B.access(h,v,{empty:C.Callbacks("once memory").add(function(){B.remove(h,[p+"queue",v])})})}}),C.fn.extend({queue:function(h,p){var v=2;return"string"!=typeof h&&(p=h,h="fx",v--),arguments.length<v?C.queue(this[0],h):void 0===p?this:this.each(function(){var w=C.queue(this,h,p);C._queueHooks(this,h),"fx"===h&&"inprogress"!==w[0]&&C.dequeue(this,h)})},dequeue:function(h){return this.each(function(){C.dequeue(this,h)})},clearQueue:function(h){return this.queue(h||"fx",[])},promise:function(h,p){var v,w=1,E=C.Deferred(),A=this,P=this.length,ee=function(){--w||E.resolveWith(A,[A])};for("string"!=typeof h&&(p=h,h=void 0),h=h||"fx";P--;)(v=B.get(A[P],h+"queueHooks"))&&v.empty&&(w++,v.empty.add(ee));return ee(),E.promise(p)}});var Zn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,vi=new RegExp("^(?:([+-])=|)("+Zn+")([a-z%]*)$","i"),li=["Top","Right","Bottom","Left"],qi=cn.documentElement,Dr=function(h){return C.contains(h.ownerDocument,h)},jl={composed:!0};qi.getRootNode&&(Dr=function(h){return C.contains(h.ownerDocument,h)||h.getRootNode(jl)===h.ownerDocument});var Af=function(h,p){return"none"===(h=p||h).style.display||""===h.style.display&&Dr(h)&&"none"===C.css(h,"display")};function o_(h,p,v,w){var E,A,P=20,ee=w?function(){return w.cur()}:function(){return C.css(h,p,"")},W=ee(),oe=v&&v[3]||(C.cssNumber[p]?"":"px"),Me=h.nodeType&&(C.cssNumber[p]||"px"!==oe&&+W)&&vi.exec(C.css(h,p));if(Me&&Me[3]!==oe){for(oe=oe||Me[3],Me=+(W/=2)||1;P--;)C.style(h,p,Me+oe),(1-A)*(1-(A=ee()/W||.5))<=0&&(P=0),Me/=A;C.style(h,p,(Me*=2)+oe),v=v||[]}return v&&(Me=+Me||+W||0,E=v[1]?Me+(v[1]+1)*v[2]:+v[2],w&&(w.unit=oe,w.start=Me,w.end=E)),E}var s_={};function zl(h){var p,v=h.ownerDocument,w=h.nodeName,E=s_[w];return E||(p=v.body.appendChild(v.createElement(w)),E=C.css(p,"display"),p.parentNode.removeChild(p),"none"===E&&(E="block"),s_[w]=E,E)}function Ic(h,p){for(var v,w,E=[],A=0,P=h.length;A<P;A++)(w=h[A]).style&&(v=w.style.display,p?("none"===v&&(E[A]=B.get(w,"display")||null,E[A]||(w.style.display="")),""===w.style.display&&Af(w)&&(E[A]=zl(w))):"none"!==v&&(E[A]="none",B.set(w,"display",v)));for(A=0;A<P;A++)null!=E[A]&&(h[A].style.display=E[A]);return h}C.fn.extend({show:function(){return Ic(this,!0)},hide:function(){return Ic(this)},toggle:function(h){return"boolean"==typeof h?h?this.show():this.hide():this.each(function(){Af(this)?C(this).show():C(this).hide()})}});var p,v,Yd=/^(?:checkbox|radio)$/i,Wm=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,a_=/^$|^module$|\/(?:java|ecma)script/i;
vendor: 6,817 bytes, line 1
1p=cn.createDocumentFragment().appendChild(cn.createElement("div")),(v=cn.createElement("input")).setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),p.appendChild(v),Yt.checkClone=p.cloneNode(!0).cloneNode(!0).lastChild.checked,p.innerHTML="<textarea>x</textarea>",Yt.noCloneChecked=!!p.cloneNode(!0).lastChild.defaultValue,p.innerHTML="<option></option>",Yt.option=!!p.lastChild;var Js={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ho(h,p){var v;return v=typeof h.getElementsByTagName<"u"?h.getElementsByTagName(p||"*"):typeof h.querySelectorAll<"u"?h.querySelectorAll(p||"*"):[],void 0===p||p&&On(h,p)?C.merge([h],v):v}function Km(h,p){for(var v=0,w=h.length;v<w;v++)B.set(h[v],"globalEval",!p||B.get(p[v],"globalEval"))}Js.tbody=Js.tfoot=Js.colgroup=Js.caption=Js.thead,Js.th=Js.td,Yt.option||(Js.optgroup=Js.option=[1,"<select multiple='multiple'>","</select>"]);var w1=/<|&#?\w+;/;function l_(h,p,v,w,E){for(var A,P,ee,W,oe,Me,Ue=p.createDocumentFragment(),re=[],at=0,Mn=h.length;at<Mn;at++)if((A=h[at])||0===A)if("object"===si(A))C.merge(re,A.nodeType?[A]:A);else if(w1.test(A)){for(P=P||Ue.appendChild(p.createElement("div")),ee=(Wm.exec(A)||["",""])[1].toLowerCase(),P.innerHTML=(W=Js[ee]||Js._default)[1]+C.htmlPrefilter(A)+W[2],Me=W[0];Me--;)P=P.lastChild;C.merge(re,P.childNodes),(P=Ue.firstChild).textContent=""}else re.push(p.createTextNode(A));for(Ue.textContent="",at=0;A=re[at++];)if(w&&C.inArray(A,w)>-1)E&&E.push(A);else if(oe=Dr(A),P=Ho(Ue.appendChild(A),"script"),oe&&Km(P),v)for(Me=0;A=P[Me++];)a_.test(A.type||"")&&v.push(A);return Ue}var c_=/^([^.]*)(?:\.(.+)|)/;function Uu(){return!0}function Hu(){return!1}function Ym(h,p,v,w,E,A){var P,ee;if("object"==typeof p){for(ee in"string"!=typeof v&&(w=w||v,v=void 0),p)Ym(h,ee,v,w,p[ee],A);return h}if(null==w&&null==E?(E=v,w=v=void 0):null==E&&("string"==typeof v?(E=w,w=void 0):(E=w,w=v,v=void 0)),!1===E)E=Hu;else if(!E)return h;return 1===A&&(P=E,E=function(W){return C().off(W),P.apply(this,arguments)},E.guid=P.guid||(P.guid=C.guid++)),h.each(function(){C.event.add(this,p,E,w,v)})}function Mf(h,p,v){v?(B.set(h,p,!1),C.event.add(h,p,{namespace:!1,handler:function(w){var E,A=B.get(this,p);if(1&w.isTrigger&&this[p]){if(A)(C.event.special[p]||{}).delegateType&&w.stopPropagation();else if(A=Xe.call(arguments),B.set(this,p,A),this[p](),E=B.get(this,p),B.set(this,p,!1),A!==E)return w.stopImmediatePropagation(),w.preventDefault(),E}else A&&(B.set(this,p,C.event.trigger(A[0],A.slice(1),this)),w.stopPropagation(),w.isImmediatePropagationStopped=Uu)}})):void 0===B.get(h,p)&&C.event.add(h,p,Uu)}C.event={global:{},add:function(h,p,v,w,E){var A,P,ee,W,oe,Me,Ue,re,at,Mn,In,qn=B.get(h);if(Hl(h))for(v.handler&&(v=(A=v).handler,E=A.selector),E&&C.find.matchesSelector(qi,E),v.guid||(v.guid=C.guid++),(W=qn.events)||(W=qn.events=Object.create(null)),(P=qn.handle)||(P=qn.handle=function(zo){return typeof C<"u"&&C.event.triggered!==zo.type?C.event.dispatch.apply(h,arguments):void 0}),oe=(p=(p||"").match(Ys)||[""]).length;oe--;)at=In=(ee=c_.exec(p[oe])||[])[1],Mn=(ee[2]||"").split(".").sort(),at&&(Ue=C.event.special[at]||{},Ue=C.event.special[at=(E?Ue.delegateType:Ue.bindType)||at]||{},Me=C.extend({type:at,origType:In,data:w,handler:v,guid:v.guid,selector:E,needsContext:E&&C.expr.match.needsContext.test(E),namespace:Mn.join(".")},A),(re=W[at])||((re=W[at]=[]).delegateCount=0,(!Ue.setup||!1===Ue.setup.call(h,w,Mn,P))&&h.addEventListener&&h.addEventListener(at,P)),Ue.add&&(Ue.add.call(h,Me),Me.handler.guid||(Me.handler.guid=v.guid)),E?re.splice(re.delegateCount++,0,Me):re.push(Me),C.event.global[at]=!0)},remove:function(h,p,v,w,E){var A,P,ee,W,oe,Me,Ue,re,at,Mn,In,qn=B.hasData(h)&&B.get(h);if(qn&&(W=qn.events)){for(oe=(p=(p||"").match(Ys)||[""]).length;oe--;)if(at=In=(ee=c_.exec(p[oe])||[])[1],Mn=(ee[2]||"").split(".").sort(),at){for(Ue=C.event.special[at]||{},re=W[at=(w?Ue.delegateType:Ue.bindType)||at]||[],ee=ee[2]&&new RegExp("(^|\\.)"+Mn.join("\\.(?:.*\\.|)")+"(\\.|$)"),P=A=re.length;A--;)Me=re[A],(E||In===Me.origType)&&(!v||v.guid===Me.guid)&&(!ee||ee.test(Me.namespace))&&(!w||w===Me.selector||"**"===w&&Me.selector)&&(re.splice(A,1),Me.selector&&re.delegateCount--,Ue.remove&&Ue.remove.call(h,Me));P&&!re.length&&((!Ue.teardown||!1===Ue.teardown.call(h,Mn,qn.handle))&&C.removeEvent(h,at,qn.handle),delete W[at])}else for(at in W)C.event.remove(h,at+p[oe],v,w,!0);C.isEmptyObject(W)&&B.remove(h,"handle events")}},dispatch:function(h){var p,v,w,E,A,P,ee=new Array(arguments.length),W=C.event.fix(h),oe=(B.get(this,"events")||Object.create(null))[W.type]||[],Me=C.event.special[W.type]||{};for(ee[0]=W,p=1;p<arguments.length;p++)ee[p]=arguments[p];if(W.delegateTarget=this,!Me.preDispatch||!1!==Me.preDispatch.call(this,W)){for(P=C.event.handlers.call(this,W,oe),p=0;(E=P[p++])&&!W.isPropagationStopped();)for(W.currentTarget=E.elem,v=0;(A=E.handlers[v++])&&!W.isImmediatePropagationStopped();)(!W.rnamespace||!1===A.namespace||W.rnamespace.test(A.namespace))&&(W.handleObj=A,W.data=A.data,void 0!==(w=((C.event.special[A.origType]||{}).handle||A.handler).apply(E.elem,ee))&&!1===(W.result=w)&&(W.preventDefault(),W.stopPropagation()));return Me.postDispatch&&Me.postDispatch.call(this,W),W.result}},handlers:function(h,p){var v,w,E,A,P,ee=[],W=p.delegateCount,oe=h.target;if(W&&oe.nodeType&&!("click"===h.type&&h.button>=1))for(;oe!==this;oe=oe.parentNode||this)if(1===oe.nodeType&&("click"!==h.type||!0!==oe.disabled)){for(A=[],P={},v=0;v<W;v++)void 0===P[E=(w=p[v]).selector+" "]&&(P[E]=w.needsContext?C(E,this).index(oe)>-1:C.find(E,this,null,[oe]).length),P[E]&&A.push(w);A.length&&ee.push({elem:oe,handlers:A})}return oe=this,W<p.length&&ee.push({elem:oe,handlers:p.slice(W)}),ee},addProp:function(h,p){Object.defineProperty(C.Event.prototype,h,{enumerable:!0,configurable:!0,get:Gt(p)?function(){if(this.originalEvent)return p(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[h]},set:function(v){Object.defineProperty(this,h,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(h){return h[C.expando]?h:new C.Event(h)},special:{load:{noBubble:!0},click:{setup:function(h){var p=this||h;return Yd.test(p.type)&&p.click&&On(p,"input")&&Mf(p,"click",!0),!1},trigger:function(h){var p=this||h;return Yd.test(p.type)&&p.click&&On(p,"input")&&Mf(p,"click"),!0},_default:function(h){var p=h.target;return Yd.test(p.type)&&p.click&&On(p,"input")&&B.get(p,"click")||On(p,"a")}},beforeunload:{postDispatch:function(h){void 0!==h.result&&h.originalEvent&&(h.originalEvent.returnValue=h.result)}}}},C.removeEvent=function(h,p,v){h.removeEventListener&&h.removeEventListener(p,v)}
vendor: 2,499 bytes, line 1
1,C.Event=function(h,p){if(!(this instanceof C.Event))return new C.Event(h,p);h&&h.type?(this.originalEvent=h,this.type=h.type,this.isDefaultPrevented=h.defaultPrevented||void 0===h.defaultPrevented&&!1===h.returnValue?Uu:Hu,this.target=h.target&&3===h.target.nodeType?h.target.parentNode:h.target,this.currentTarget=h.currentTarget,this.relatedTarget=h.relatedTarget):this.type=h,p&&C.extend(this,p),this.timeStamp=h&&h.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Hu,isPropagationStopped:Hu,isImmediatePropagationStopped:Hu,isSimulated:!1,preventDefault:function(){var h=this.originalEvent;this.isDefaultPrevented=Uu,h&&!this.isSimulated&&h.preventDefault()},stopPropagation:function(){var h=this.originalEvent;this.isPropagationStopped=Uu,h&&!this.isSimulated&&h.stopPropagation()},stopImmediatePropagation:function(){var h=this.originalEvent;this.isImmediatePropagationStopped=Uu,h&&!this.isSimulated&&h.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(h,p){function v(w){if(cn.documentMode){var E=B.get(this,"handle"),A=C.event.fix(w);A.type="focusin"===w.type?"focus":"blur",A.isSimulated=!0,E(w),A.target===A.currentTarget&&E(A)}else C.event.simulate(p,w.target,C.event.fix(w))}C.event.special[h]={setup:function(){var w;if(Mf(this,h,!0),!cn.documentMode)return!1;(w=B.get(this,p))||this.addEventListener(p,v),B.set(this,p,(w||0)+1)},trigger:function(){return Mf(this,h),!0},teardown:function(){var w;if(!cn.documentMode)return!1;(w=B.get(this,p)-1)?B.set(this,p,w):(this.removeEventListener(p,v),B.remove(this,p))},_default:function(w){return B.get(w.target,h)},delegateType:p},C.event.special[p]={setup:function(){var w=this.ownerDocument||this.document||this,E=cn.documentMode?this:w,A=B.get(E,p);A||(cn.documentMode?this.addEventListener(p,v):w.addEventListener(h,v,!0)),B.set(E,p,(A||0)+1)},teardown:function(){var w=this.ownerDocument||this.document||this,E=cn.documentMode?this:w,A=B.get(E,p)-1;A?B.set(E,p,A):(cn.documentMode?this.removeEventListener(p,v):w.removeEventListener(h,v,!0),B.remove(E,p))}}}
vendor: 6,012 bytes, line 1
1),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(h,p){C.event.special[h]={delegateType:p,bindType:p,handle:function(v){var w,E=this,A=v.relatedTarget,P=v.handleObj;return(!A||A!==E&&!C.contains(E,A))&&(v.type=P.origType,w=P.handler.apply(this,arguments),v.type=p),w}}}),C.fn.extend({on:function(h,p,v,w){return Ym(this,h,p,v,w)},one:function(h,p,v,w){return Ym(this,h,p,v,w,1)},off:function(h,p,v){var w,E;if(h&&h.preventDefault&&h.handleObj)return w=h.handleObj,C(h.delegateTarget).off(w.namespace?w.origType+"."+w.namespace:w.origType,w.selector,w.handler),this;if("object"==typeof h){for(E in h)this.off(E,p,h[E]);return this}return(!1===p||"function"==typeof p)&&(v=p,p=void 0),!1===v&&(v=Hu),this.each(function(){C.event.remove(this,h,v,p)})}});var C1=/<script|<style|<link/i,uN=/checked\s*(?:[^=]|=\s*.checked.)/i,Qm=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Jm(h,p){return On(h,"table")&&On(11!==p.nodeType?p:p.firstChild,"tr")&&C(h).children("tbody")[0]||h}function u_(h){return h.type=(null!==h.getAttribute("type"))+"/"+h.type,h}function d_(h){return"true/"===(h.type||"").slice(0,5)?h.type=h.type.slice(5):h.removeAttribute("type"),h}function Xm(h,p){var v,w,E,P,ee,W;if(1===p.nodeType){if(B.hasData(h)&&(W=B.get(h).events))for(E in B.remove(p,"handle events"),W)for(v=0,w=W[E].length;v<w;v++)C.event.add(p,E,W[E][v]);he.hasData(h)&&(P=he.access(h),ee=C.extend({},P),he.set(p,ee))}}function S1(h,p){var v=p.nodeName.toLowerCase();"input"===v&&Yd.test(h.type)?p.checked=h.checked:("input"===v||"textarea"===v)&&(p.defaultValue=h.defaultValue)}function Pc(h,p,v,w){p=Ot(p);var E,A,P,ee,W,oe,Me=0,Ue=h.length,re=Ue-1,at=p[0],Mn=Gt(at);if(Mn||Ue>1&&"string"==typeof at&&!Yt.checkClone&&uN.test(at))return h.each(function(In){var qn=h.eq(In);Mn&&(p[0]=at.call(this,In,qn.html())),Pc(qn,p,v,w)});if(Ue&&(A=(E=l_(p,h[0].ownerDocument,!1,h,w)).firstChild,1===E.childNodes.length&&(E=A),A||w)){for(ee=(P=C.map(Ho(E,"script"),u_)).length;Me<Ue;Me++)W=E,Me!==re&&(W=C.clone(W,!0,!0),ee&&C.merge(P,Ho(W,"script"))),v.call(h[Me],W,Me);if(ee)for(oe=P[P.length-1].ownerDocument,C.map(P,d_),Me=0;Me<ee;Me++)a_.test((W=P[Me]).type||"")&&!B.access(W,"globalEval")&&C.contains(oe,W)&&(W.src&&"module"!==(W.type||"").toLowerCase()?C._evalUrl&&!W.noModule&&C._evalUrl(W.src,{nonce:W.nonce||W.getAttribute("nonce")},oe):Kn(W.textContent.replace(Qm,""),W,oe))}return h}function Zm(h,p,v){for(var w,E=p?C.filter(p,h):h,A=0;null!=(w=E[A]);A++)!v&&1===w.nodeType&&C.cleanData(Ho(w)),w.parentNode&&(v&&Dr(w)&&Km(Ho(w,"script")),w.parentNode.removeChild(w));return h}C.extend({htmlPrefilter:function(h){return h},clone:function(h,p,v){var w,E,A,P,ee=h.cloneNode(!0),W=Dr(h);if(!(Yt.noCloneChecked||1!==h.nodeType&&11!==h.nodeType||C.isXMLDoc(h)))for(P=Ho(ee),w=0,E=(A=Ho(h)).length;w<E;w++)S1(A[w],P[w]);if(p)if(v)for(A=A||Ho(h),P=P||Ho(ee),w=0,E=A.length;w<E;w++)Xm(A[w],P[w]);else Xm(h,ee);return(P=Ho(ee,"script")).length>0&&Km(P,!W&&Ho(h,"script")),ee},cleanData:function(h){for(var p,v,w,E=C.event.special,A=0;void 0!==(v=h[A]);A++)if(Hl(v)){if(p=v[B.expando]){if(p.events)for(w in p.events)E[w]?C.event.remove(v,w):C.removeEvent(v,w,p.handle);v[B.expando]=void 0}v[he.expando]&&(v[he.expando]=void 0)}}}),C.fn.extend({detach:function(h){return Zm(this,h,!0)},remove:function(h){return Zm(this,h)},text:function(h){return Qs(this,function(p){return void 0===p?C.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=p)})},null,h,arguments.length)},append:function(){return Pc(this,arguments,function(h){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Jm(this,h).appendChild(h)})},prepend:function(){return Pc(this,arguments,function(h){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var p=Jm(this,h);p.insertBefore(h,p.firstChild)}})},before:function(){return Pc(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this)})},after:function(){return Pc(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling)})},empty:function(){for(var h,p=0;null!=(h=this[p]);p++)1===h.nodeType&&(C.cleanData(Ho(h,!1)),h.textContent="");return this},clone:function(h,p){return h=h??!1,p=p??h,this.map(function(){return C.clone(this,h,p)})},html:function(h){return Qs(this,function(p){var v=this[0]||{},w=0,E=this.length;if(void 0===p&&1===v.nodeType)return v.innerHTML;if("string"==typeof p&&!C1.test(p)&&!Js[(Wm.exec(p)||["",""])[1].toLowerCase()]){p=C.htmlPrefilter(p);try{for(;w<E;w++)1===(v=this[w]||{}).nodeType&&(C.cleanData(Ho(v,!1)),v.innerHTML=p);v=0}catch{}}v&&this.empty().append(p)},null,h,arguments.length)},replaceWith:function(){var h=[];return Pc(this,arguments,function(p){var v=this.parentNode;C.inArray(this,h)<0&&(C.cleanData(Ho(this)),v&&v.replaceChild(p,this))},h)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(h,p){C.fn[h]=function(v){for(var w,E=[],A=C(v),P=A.length-1,ee=0;ee<=P;ee++)w=ee===P?this:this.clone(!0),C(A[ee])[p](w),yn.apply(E,w.get());return this.pushStack(E)}});var Df=new RegExp("^("+Zn+")(?!px)[a-z%]+$","i"),Of=/^--/,Mo=function(h){var p=h.ownerDocument.defaultView;return(!p||!p.opener)&&(p=me),p.getComputedStyle(h)},h_=function(h,p,v){var w,E,A={};for(E in p)A[E]=h.style[E],h.style[E]=p[E];for(E in w=v.call(h),p)h.style[E]=A[E];return w},x1=new RegExp(li.join("|"),"i");function Qd(h,p,v){var w,E,A,P,ee=Of.test(p),W=h.style;return(v=v||Mo(h))&&(P=v.getPropertyValue(p)||v[p],ee&&P&&(P=P.replace(lt,"$1")||void 0),""===P&&!Dr(h)&&(P=C.style(h,p)),!Yt.pixelBoxStyles()&&Df.test(P)&&x1.test(p)&&(w=W.width,E=W.minWidth,A=W.maxWidth,W.minWidth=W.maxWidth=W.width=P,P=v.width,W.width=w,W.minWidth=E,W.maxWidth=A)),void 0!==P?P+"":P}function f_(h,p){return{get:function(){if(!h())return(this.get=p).apply(this,arguments);delete this.get}}}!function(){function h(){if(oe){W.style.cssText="position:absolute;
1left:-11111px;width:60px;margin-top:1px;padding:0;border:0",oe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",qi.appendChild(W).appendChild(oe);var Me=me.getComputedStyle(oe);v="1%"!==Me.top,ee=12===p(Me.marginLeft),oe.style.right="60%",A=36===p(Me.right),w=36===p(Me.width),oe.style.position="absolute",E=12===p(oe.offsetWidth/3),qi.removeChild(W),oe=null}}function p(Me){return Math.round(parseFloat(Me))}var v,w,E,A,P,ee,W=cn.createElement("div"),oe=cn.createElement("div");!oe.style||(oe.style.backgroundClip="content-box",oe.cloneNode(!0).style.backgroundClip="",Yt.clearCloneStyle="content-box"===oe.style.backgroundClip,C.extend(Yt,{boxSizingReliable:function(){return h(),w},pixelBoxStyles:function(){return h(),A},pixelPosition:function(){return h(),v},reliableMarginLeft:function(){return h(),ee},scrollboxSize:function(){return h(),E},reliableTrDimensions:function(){var Me,Ue,re,at;return null==P&&(Me=cn.createElement("table"),Ue=cn.createElement("tr"),re=cn.createElement("div"),Me.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ue.style.cssText="box-sizing:content-box;border:1px solid",Ue.style.height="1px",re.style.height="9px",re.style.display="block",qi.appendChild(Me).appendChild(Ue).appendChild(re),at=me.getComputedStyle(Ue),P=parseInt(at.height,10)+parseInt(at.borderTopWidth,10)+parseInt(at.borderBottomWidth,10)===Ue.offsetHeight,qi.removeChild(Me)),P}}))}();var eg=["Webkit","Moz","ms"],p_=cn.createElement("div").style,m_={};function tg(h){return C.cssProps[h]||m_[h]||(h in p_?h:m_[h]=function al(h){for(var p=h[0].toUpperCase()+h.slice(1),v=eg.length;v--;)if((h=eg[v]+p)in p_)return h}(h)||h)}var Qr=/^(none|table(?!-c[ea]).+)/,ju={position:"absolute",visibility:"hidden",display:"block"},Xs={letterSpacing:"0",fontWeight:"400"};function E1(h,p,v){var w=vi.exec(p);return w?Math.max(0,w[2]-(v||0))+(w[3]||"px"):p}function ng(h,p,v,w,E,A){var P="width"===p?1:0,ee=0,W=0,oe=0;if(v===(w?"border":"content"))return 0;for(;P<4;P+=2)"margin"===v&&(oe+=C.css(h,v+li[P],!0,E)),w?("content"===v&&(W-=C.css(h,"padding"+li[P],!0,E)),"margin"!==v&&(W-=C.css(h,"border"+li[P]+"Width",!0,E))):(W+=C.css(h,"padding"+li[P],!0,E),"padding"!==v?W+=C.css(h,"border"+li[P]+"Width",!0,E):ee+=C.css(h,"border"+li[P]+"Width",!0,E));return!w&&A>=0&&(W+=Math.max(0,Math.ceil(h["offset"+p[0].toUpperCase()+p.slice(1)]-A-W-ee-.5))||0),W+oe}function ig(h,p,v){var w=Mo(h),A=(!Yt.boxSizingReliable()||v)&&"border-box"===C.css(h,"boxSizing",!1,w),P=A,ee=Qd(h,p,w),W="offset"+p[0].toUpperCase()+p.slice(1);if(Df.test(ee)){if(!v)return ee;ee="auto"}return(!Yt.boxSizingReliable()&&A||!Yt.reliableTrDimensions()&&On(h,"tr")||"auto"===ee||!parseFloat(ee)&&"inline"===C.css(h,"display",!1,w))&&h.getClientRects().length&&(A="border-box"===C.css(h,"boxSizing",!1,w),(P=W in h)&&(ee=h[W])),(ee=parseFloat(ee)||0)+ng(h,p,v||(A?"border":"content"),P,w,ee)+"px"}function jo(h,p,v,w,E){return new jo.prototype.init(h,p,v,w,E)}C.extend({cssHooks:{opacity:{get:function(h,p){if(p){var v=Qd(h,"opacity");return""===v?"1":v}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(h,p,v,w){if(h&&3!==h.nodeType&&8!==h.nodeType&&h.style){var E,A,P,ee=_s(p),W=Of.test(p),oe=h.style;if(W||(p=tg(ee)),P=C.cssHooks[p]||C.cssHooks[ee],void 0===v)return P&&"get"in P&&void 0!==(E=P.get(h,!1,w))?E:oe[p];if("string"==(A=typeof v)&&(E=vi.exec(v))&&E[1]&&(v=o_(h,p,E),A="number"),null==v||v!=v)return;"number"===A&&!W&&(v+=E&&E[3]||(C.cssNumber[ee]?"":"px")),!Yt.clearCloneStyle&&""===v&&0===p.indexOf("background")&&(oe[p]="inherit"),(!P||!("set"in P)||void 0!==(v=P.set(h,v,w)))&&(W?oe.setProperty(p,v):oe[p]=v)}},css:function(h,p,v,w){var E,A,P,ee=_s(p);return Of.test(p)||(p=tg(ee)),(P=C.cssHooks[p]||C.cssHooks[ee])&&"get"in P&&(E=P.get(h,!0,v)),void 0===E&&(E=Qd(h,p,w)),"normal"===E&&p in Xs&&(E=Xs[p]),""===v||v?(A=parseFloat(E),!0===v||isFinite(A)?A||0:E):E}}),C.each(["height","width"],function(h,p){C.cssHooks[p]={get:function(v,w,E){if(w)return!Qr.test(C.css(v,"display"))||v.getClientRects().length&&v.getBoundingClientRect().width?ig(v,p,E):h_(v,ju,function(){return ig(v,p,E)})},set:function(v,w,E){var A,P=Mo(v),ee=!Yt.scrollboxSize()&&"absolute"===P.position,oe=(ee||E)&&"border-box"===C.css(v,"boxSizing",!1,P),Me=E?ng(v,p,E,oe,P):0;return oe&&ee&&(Me-=Math.ceil(v["offset"+p[0].toUpperCase()+p.slice(1)]-parseFloat(P[p])-ng(v,p,"border",!1,P)-.5)),Me&&(A=vi.exec(w))&&"px"!==(A[3]||"px")&&(v.style[p]=w,w=C.css(v,p)),E1(0,w,Me)}}}),C.cssHooks.marginLeft=f_(Yt.reliableMarginLeft,function(h,p){if(p)return(parseFloat(Qd(h,"marginLeft"))||h.getBoundingClientRect().left-h_(h,{marginLeft:0},function(){return h.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(h,p){C.cssHooks[h+p]={expand:function(v){for(var w=0,E={},A="string"==typeof v?v.split(" "):[v];w<4;w++)E[h+li[w]+p]=A[w]||A[w-2]||A[0];return E}},"margin"!==h&&(C.cssHooks[h+p].set=E1)}),C.fn.extend({css:function(h,p){return Qs(this,function(v,w,E){var A,P,ee={},W=0;if(Array.isArray(w)){for(A=Mo(v),P=w.length;W<P;W++)ee[w[W]]=C.css(v,w[W],!1,A);return ee}return void 0!==E?C.style(v,w,E):C.css(v,w)},h,p,arguments.length>1)}}),C.Tween=jo,(jo.prototype={constructor:jo,init:function(h,p,v,w,E,A){this.elem=h,this.prop=v,this.easing=E||C.easing._default,this.options=p,this.start=this.now=this.cur(),this.end=w,this.unit=A||(C.cssNumber[v]?"":"px")},cur:function(){var h=jo.propHooks[this.prop];return h&&h.get?h.get(this):jo.propHooks._default.get(this)},run:function(h){var p,v=jo.propHooks[this.prop];return this.pos=p=this.options.duration?C.easing[this.easing](h,this.options.duration*h,0,1,this.options.duration):h,this.now=(this.end-this.start)*p+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):jo.propHooks._default.set(this),this}}).init.prototype=jo.prototype,(jo.propHooks={_default:{get:function(h){var p;return 1!==h.elem.nodeType||null!=h.elem[h.prop]&&null==h.elem.style[h.prop]?h.elem[h.prop]:(p=C.css(h.elem,h.prop,""))&&"auto"!==p?p:0},set:function(h){C.fx.step[h.prop]?C.fx.step[h.prop](h):1!==h.elem.nodeType||!C.cssHooks[h.prop]&&null==h.elem.style[tg(h.prop
vendor: 30,250 bytes, line 1
1)]?h.elem[h.prop]=h.now:C.style(h.elem,h.prop,h.now+h.unit)}}}).scrollTop=jo.propHooks.scrollLeft={set:function(h){h.elem.nodeType&&h.elem.parentNode&&(h.elem[h.prop]=h.now)}},C.easing={linear:function(h){return h},swing:function(h){return.5-Math.cos(h*Math.PI)/2},_default:"swing"},C.fx=jo.prototype.init,C.fx.step={};var Rc,Gl,k1=/^(?:toggle|show|hide)$/,g_=/queueHooks$/;function If(){Gl&&(!1===cn.hidden&&me.requestAnimationFrame?me.requestAnimationFrame(If):me.setTimeout(If,C.fx.interval),C.fx.tick())}function y_(){return me.setTimeout(function(){Rc=void 0}),Rc=Date.now()}function Pf(h,p){var v,w=0,E={height:h};for(p=p?1:0;w<4;w+=2-p)E["margin"+(v=li[w])]=E["padding"+v]=h;return p&&(E.opacity=E.width=h),E}function v_(h,p,v){for(var w,E=(wa.tweeners[p]||[]).concat(wa.tweeners["*"]),A=0,P=E.length;A<P;A++)if(w=E[A].call(v,p,h))return w}function wa(h,p,v){var w,E,A=0,P=wa.prefilters.length,ee=C.Deferred().always(function(){delete W.elem}),W=function(){if(E)return!1;for(var Ue=Rc||y_(),re=Math.max(0,oe.startTime+oe.duration-Ue),Mn=1-(re/oe.duration||0),In=0,qn=oe.tweens.length;In<qn;In++)oe.tweens[In].run(Mn);return ee.notifyWith(h,[oe,Mn,re]),Mn<1&&qn?re:(qn||ee.notifyWith(h,[oe,1,0]),ee.resolveWith(h,[oe]),!1)},oe=ee.promise({elem:h,props:C.extend({},p),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},v),originalProperties:p,originalOptions:v,startTime:Rc||y_(),duration:v.duration,tweens:[],createTween:function(Ue,re){var at=C.Tween(h,oe.opts,Ue,re,oe.opts.specialEasing[Ue]||oe.opts.easing);return oe.tweens.push(at),at},stop:function(Ue){var re=0,at=Ue?oe.tweens.length:0;if(E)return this;for(E=!0;re<at;re++)oe.tweens[re].run(1);return Ue?(ee.notifyWith(h,[oe,1,0]),ee.resolveWith(h,[oe,Ue])):ee.rejectWith(h,[oe,Ue]),this}}),Me=oe.props;for(function __(h,p){var v,w,E,A,P;for(v in h)if(E=p[w=_s(v)],A=h[v],Array.isArray(A)&&(E=A[1],A=h[v]=A[0]),v!==w&&(h[w]=A,delete h[v]),(P=C.cssHooks[w])&&"expand"in P)for(v in A=P.expand(A),delete h[w],A)v in h||(h[v]=A[v],p[v]=E);else p[w]=E}(Me,oe.opts.specialEasing);A<P;A++)if(w=wa.prefilters[A].call(oe,h,Me,oe.opts))return Gt(w.stop)&&(C._queueHooks(oe.elem,oe.opts.queue).stop=w.stop.bind(w)),w;return C.map(Me,v_,oe),Gt(oe.opts.start)&&oe.opts.start.call(h,oe),oe.progress(oe.opts.progress).done(oe.opts.done,oe.opts.complete).fail(oe.opts.fail).always(oe.opts.always),C.fx.timer(C.extend(W,{elem:h,anim:oe,queue:oe.opts.queue})),oe}C.Animation=C.extend(wa,{tweeners:{"*":[function(h,p){var v=this.createTween(h,p);return o_(v.elem,h,vi.exec(p),v),v}]},tweener:function(h,p){Gt(h)?(p=h,h=["*"]):h=h.match(Ys);for(var v,w=0,E=h.length;w<E;w++)(wa.tweeners[v=h[w]]=wa.tweeners[v]||[]).unshift(p)},prefilters:[function T1(h,p,v){var w,E,A,P,ee,W,oe,Me,Ue="width"in p||"height"in p,re=this,at={},Mn=h.style,In=h.nodeType&&Af(h),qn=B.get(h,"fxshow");for(w in v.queue||(null==(P=C._queueHooks(h,"fx")).unqueued&&(P.unqueued=0,ee=P.empty.fire,P.empty.fire=function(){P.unqueued||ee()}),P.unqueued++,re.always(function(){re.always(function(){P.unqueued--,C.queue(h,"fx").length||P.empty.fire()})})),p)if(k1.test(E=p[w])){if(delete p[w],A=A||"toggle"===E,E===(In?"hide":"show")){if("show"!==E||!qn||void 0===qn[w])continue;In=!0}at[w]=qn&&qn[w]||C.style(h,w)}if((W=!C.isEmptyObject(p))||!C.isEmptyObject(at))for(w in Ue&&1===h.nodeType&&(v.overflow=[Mn.overflow,Mn.overflowX,Mn.overflowY],null==(oe=qn&&qn.display)&&(oe=B.get(h,"display")),"none"===(Me=C.css(h,"display"))&&(oe?Me=oe:(Ic([h],!0),oe=h.style.display||oe,Me=C.css(h,"display"),Ic([h]))),("inline"===Me||"inline-block"===Me&&null!=oe)&&"none"===C.css(h,"float")&&(W||(re.done(function(){Mn.display=oe}),null==oe&&(oe="none"===(Me=Mn.display)?"":Me)),Mn.display="inline-block")),v.overflow&&(Mn.overflow="hidden",re.always(function(){Mn.overflow=v.overflow[0],Mn.overflowX=v.overflow[1],Mn.overflowY=v.overflow[2]})),W=!1,at)W||(qn?"hidden"in qn&&(In=qn.hidden):qn=B.access(h,"fxshow",{display:oe}),A&&(qn.hidden=!In),In&&Ic([h],!0),re.done(function(){for(w in In||Ic([h]),B.remove(h,"fxshow"),at)C.style(h,w,at[w])})),W=v_(In?qn[w]:0,w,re),w in qn||(qn[w]=W.start,In&&(W.end=W.start,W.start=0))}],prefilter:function(h,p){p?wa.prefilters.unshift(h):wa.prefilters.push(h)}}),C.speed=function(h,p,v){var w=h&&"object"==typeof h?C.extend({},h):{complete:v||!v&&p||Gt(h)&&h,duration:h,easing:v&&p||p&&!Gt(p)&&p};return C.fx.off?w.duration=0:"number"!=typeof w.duration&&(w.duration=w.duration in C.fx.speeds?C.fx.speeds[w.duration]:C.fx.speeds._default),(null==w.queue||!0===w.queue)&&(w.queue="fx"),w.old=w.complete,w.complete=function(){Gt(w.old)&&w.old.call(this),w.queue&&C.dequeue(this,w.queue)},w},C.fn.extend({fadeTo:function(h,p,v,w){return this.filter(Af).css("opacity",0).show().end().animate({opacity:p},h,v,w)},animate:function(h,p,v,w){var E=C.isEmptyObject(h),A=C.speed(p,v,w),P=function(){var ee=wa(this,C.extend({},h),A);(E||B.get(this,"finish"))&&ee.stop(!0)};return P.finish=P,E||!1===A.queue?this.each(P):this.queue(A.queue,P)},stop:function(h,p,v){var w=function(E){var A=E.stop;delete E.stop,A(v)};return"string"!=typeof h&&(v=p,p=h,h=void 0),p&&this.queue(h||"fx",[]),this.each(function(){var E=!0,A=null!=h&&h+"queueHooks",P=C.timers,ee=B.get(this);if(A)ee[A]&&ee[A].stop&&w(ee[A]);else for(A in ee)ee[A]&&ee[A].stop&&g_.test(A)&&w(ee[A]);for(A=P.length;A--;)P[A].elem===this&&(null==h||P[A].queue===h)&&(P[A].anim.stop(v),E=!1,P.splice(A,1));(E||!v)&&C.dequeue(this,h)})},finish:function(h){return!1!==h&&(h=h||"fx"),this.each(function(){var p,v=B.get(this),w=v[h+"queue"],E=v[h+"queueHooks"],A=C.timers,P=w?w.length:0;for(v.finish=!0,C.queue(this,h,[]),E&&E.stop&&E.stop.call(this,!0),p=A.length;p--;)A[p].elem===this&&A[p].queue===h&&(A[p].anim.stop(!0),A.splice(p,1));for(p=0;p<P;p++)w[p]&&w[p].finish&&w[p].finish.call(this);delete v.finish})}}),C.each(["toggle","show","hide"],function(h,p){var v=C.fn[p];C.fn[p]=function(w,E,A){return null==w||"boolean"==typeof w?v.apply(this,arguments):this.animate(Pf(p,!0),w,E,A)}}),C.each({slideDown:Pf("show"),slideUp:Pf("hide"),slideToggle:Pf("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(h,p){C.fn[h]=function(v,w,E){return this.animate(p,v,w,E)}}),C.timers=[],C.fx.tick=function(){var h,p=0,v=C.timers;for(Rc=Date.now();p<v.length;p++)!(h=v[p])()&&v[p]===h&&v.splice(p--,1);v.length||C.fx.stop(),Rc=void 0},C.fx.timer=function(h){C.timers.push(h),C.fx.start()},C.fx.interval=13,C.fx.start=function(){Gl||(Gl=!0,If())},C.fx.stop=function(){Gl=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(h,p){return h=C.fx&&C.fx.speeds[h]||h,this.queue(p=p||"fx",function(v,w){var E=me.setTimeout(v,h);w.stop=function(){me.clearTimeout(E)}})},function(){var h=cn.createElement("input"),v=cn.createElement("select").appendChild(cn.createElement("option"));h.type="checkbox",Yt.checkOn=""!==h.value,Yt.optSelected=v.selected,(h=cn.createElement("input")).value="t",h.type="radio",Yt.radioValue="t"===h.value}();var b_,gr=C.expr.attrHandle;C.fn.extend({attr:function(h,p){return Qs(this,C.attr,h,p,arguments.length>1)},removeAttr:function(h){return this.each(function(){C.removeAttr(this,h)})}}),C.extend({attr:function(h,p,v){var w,E,A=h.nodeType;if(3!==A&&8!==A&&2!==A)return typeof h.getAttribute>"u"?C.prop(h,p,v):((1!==A||!C.isXMLDoc(h))&&(E=C.attrHooks[p.toLowerCase()]||(C.expr.match.bool.test(p)?b_:void 0)),void 0!==v?null===v?void C.removeAttr(h,p):E&&"set"in E&&void 0!==(w=E.set(h,v,p))?w:(h.setAttribute(p,v+""),v):E&&"get"in E&&null!==(w=E.get(h,p))?w:(w=C.find.attr(h,p))??void 0)},attrHooks:{type:{set:function(h,p){if(!Yt.radioValue&&"radio"===p&&On(h,"input")){var v=h.value;return h.setAttribute("type",p),v&&(h.value=v),p}}}},removeAttr:function(h,p){var v,w=0,E=p&&p.match(Ys);if(E&&1===h.nodeType)for(;v=E[w++];)h.removeAttribute(v)}}),b_={set:function(h,p,v){return!1===p?C.removeAttr(h,v):h.setAttribute(v,v),v}},C.each(C.expr.match.bool.source.match(/\w+/g),function(h,p){var v=gr[p]||C.find.attr;gr[p]=function(w,E,A){var P,ee,W=E.toLowerCase();return A||(ee=gr[W],gr[W]=P,P=null!=v(w,E,A)?W:null,gr[W]=ee),P}});var Wi=/^(?:input|select|textarea|button)$/i,w_=/^(?:a|area)$/i;function ll(h){return(h.match(Ys)||[]).join(" ")}function Ei(h){return h.getAttribute&&h.getAttribute("class")||""}function Jd(h){return Array.isArray(h)?h:"string"==typeof h&&h.match(Ys)||[]}C.fn.extend({prop:function(h,p){return Qs(this,C.prop,h,p,arguments.length>1)},removeProp:function(h){return this.each(function(){delete this[C.propFix[h]||h]})}}),C.extend({prop:function(h,p,v){var w,E,A=h.nodeType;if(3!==A&&8!==A&&2!==A)return(1!==A||!C.isXMLDoc(h))&&(E=C.propHooks[p=C.propFix[p]||p]),void 0!==v?E&&"set"in E&&void 0!==(w=E.set(h,v,p))?w:h[p]=v:E&&"get"in E&&null!==(w=E.get(h,p))?w:h[p]},propHooks:{tabIndex:{get:function(h){var p=C.find.attr(h,"tabindex");return p?parseInt(p,10):Wi.test(h.nodeName)||w_.test(h.nodeName)&&h.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Yt.optSelected||(C.propHooks.selected={get:function(h){return null},set:function(h){}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(h){var p,v,w,E,A,P;return Gt(h)?this.each(function(ee){C(this).addClass(h.call(this,ee,Ei(this)))}):(p=Jd(h)).length?this.each(function(){if(w=Ei(this),v=1===this.nodeType&&" "+ll(w)+" "){for(A=0;A<p.length;A++)v.indexOf(" "+(E=p[A])+" ")<0&&(v+=E+" ");P=ll(v),w!==P&&this.setAttribute("class",P)}}):this},removeClass:function(h){var p,v,w,E,A,P;return Gt(h)?this.each(function(ee){C(this).removeClass(h.call(this,ee,Ei(this)))}):arguments.length?(p=Jd(h)).length?this.each(function(){if(w=Ei(this),v=1===this.nodeType&&" "+ll(w)+" "){for(A=0;A<p.length;A++)for(E=p[A];v.indexOf(" "+E+" ")>-1;)v=v.replace(" "+E+" "," ");P=ll(v),w!==P&&this.setAttribute("class",P)}}):this:this.attr("class","")},toggleClass:function(h,p){var v,w,E,A,P=typeof h,ee="string"===P||Array.isArray(h);return Gt(h)?this.each(function(W){C(this).toggleClass(h.call(this,W,Ei(this),p),p)}):"boolean"==typeof p&&ee?p?this.addClass(h):this.removeClass(h):(v=Jd(h),this.each(function(){if(ee)for(A=C(this),E=0;E<v.length;E++)A.hasClass(w=v[E])?A.removeClass(w):A.addClass(w);else(void 0===h||"boolean"===P)&&((w=Ei(this))&&B.set(this,"__className__",w),this.setAttribute&&this.setAttribute("class",w||!1===h?"":B.get(this,"__className__")||""))}))},hasClass:function(h){var p,v,w=0;for(p=" "+h+" ";v=this[w++];)if(1===v.nodeType&&(" "+ll(Ei(v))+" ").indexOf(p)>-1)return!0;return!1}});var sr=/\r/g;C.fn.extend({val:function(h){var p,v,w,E=this[0];return arguments.length?(w=Gt(h),this.each(function(A){var P;1===this.nodeType&&(null==(P=w?h.call(this,A,C(this).val()):h)?P="":"number"==typeof P?P+="":Array.isArray(P)&&(P=C.map(P,function(ee){return null==ee?"":ee+""})),(!(p=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])||!("set"in p)||void 0===p.set(this,P,"value"))&&(this.value=P))})):E?(p=C.valHooks[E.type]||C.valHooks[E.nodeName.toLowerCase()])&&"get"in p&&void 0!==(v=p.get(E,"value"))?v:"string"==typeof(v=E.value)?v.replace(sr,""):v??"":void 0}}),C.extend({valHooks:{option:{get:function(h){return C.find.attr(h,"value")??ll(C.text(h))}},select:{get:function(h){var p,v,w,E=h.options,A=h.selectedIndex,P="select-one"===h.type,ee=P?null:[],W=P?A+1:E.length;for(w=A<0?W:P?A:0;w<W;w++)if(((v=E[w]).selected||w===A)&&!v.disabled&&(!v.parentNode.disabled||!On(v.parentNode,"optgroup"))){if(p=C(v).val(),P)return p;ee.push(p)}return ee},set:function(h,p){for(var v,w,E=h.options,A=C.makeArray(p),P=E.length;P--;)((w=E[P]).selected=C.inArray(C.valHooks.option.get(w),A)>-1)&&(v=!0);return v||(h.selectedIndex=-1),A}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(h,p){if(Array.isArray(p))return h.checked=C.inArray(C(h).val(),p)>-1}},Yt.checkOn||(C.valHooks[this].get=function(h){return null===h.getAttribute("value")?"on":h.value})});var Nc=me.location,C_={guid:Date.now()},Ln=/\?/;C.parseXML=function(h){var p,v;if(!h||"string"!=typeof h)return null;try{p=(new me.DOMParser).parseFromString(h,"text/xml")}catch{}return v=p&&p.getElementsByTagName("parsererror")[0],(!p||v)&&C.error("Invalid XML: "+(v?C.map(v.childNodes,function(w){return w.textContent}).join("\n"):h)),p};var bn=/^(?:focusinfocus|focusoutblur)$/,Rf=function(h){h.stopPropagation()};C.extend(C.event,{trigger:function(h,p,v,w){var E,A,P,ee,W,oe,Me,Ue,re=[v||cn],at=hi.call(h,"type")?h.type:h,Mn=hi.call(h,"namespace")?h.namespace.split("."):[];if(A=Ue=P=v=v||cn,3!==v.nodeType&&8!==v.nodeType&&!bn.test(at+C.event.triggered)&&(at.indexOf(".")>-1&&(Mn=at.split("."),at=Mn.shift(),Mn.sort()),W=at.indexOf(":")<0&&"on"+at,(h=h[C.expando]?h:new C.Event(at,"object"==typeof h&&h)).isTrigger=w?2:3,h.namespace=Mn.join("."),h.rnamespace=h.namespace?new RegExp("(^|\\.)"+Mn.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h.result=void 0,h.target||(h.target=v),p=null==p?[h]:C.makeArray(p,[h]),Me=C.event.special[at]||{},w||!Me.trigger||!1!==Me.trigger.apply(v,p))){if(!w&&!Me.noBubble&&!Jt(v)){for(bn.test((ee=Me.delegateType||at)+at)||(A=A.parentNode);A;A=A.parentNode)re.push(A),P=A;P===(v.ownerDocument||cn)&&re.push(P.defaultView||P.parentWindow||me)}for(E=0;(A=re[E++])&&!h.isPropagationStopped();)Ue=A,h.type=E>1?ee:Me.bindType||at,(oe=(B.get(A,"events")||Object.create(null))[h.type]&&B.get(A,"handle"))&&oe.apply(A,p),(oe=W&&A[W])&&oe.apply&&Hl(A)&&(h.result=oe.apply(A,p),!1===h.result&&h.preventDefault());return h.type=at,!w&&!h.isDefaultPrevented()&&(!Me._default||!1===Me._default.apply(re.pop(),p))&&Hl(v)&&W&&Gt(v[at])&&!Jt(v)&&((P=v[W])&&(v[W]=null),C.event.triggered=at,h.isPropagationStopped()&&Ue.addEventListener(at,Rf),v[at](),h.isPropagationStopped()&&Ue.removeEventListener(at,Rf),C.event.triggered=void 0,P&&(v[W]=P)),h.result}},simulate:function(h,p,v){var w=C.extend(new C.Event,v,{type:h,isSimulated:!0});C.event.trigger(w,null,p)}}),C.fn.extend({trigger:function(h,p){return this.each(function(){C.event.trigger(h,p,this)})},triggerHandler:function(h,p){var v=this[0];if(v)return C.event.trigger(h,p,v,!0)}});var dN=/\[\]$/,je=/\r?\n/g,Nf=/^(?:submit|button|image|reset|file)$/i,Fn=/^(?:input|select|textarea|keygen)/i;function ki(h,p,v,w){var E;if(Array.isArray(p))C.each(p,function(A,P){v||dN.test(h)?w(h,P):ki(h+"["+("object"==typeof P&&null!=P?A:"")+"]",P,v,w)});else if(v||"object"!==si(p))w(h,p);else for(E in p)ki(h+"["+E+"]",p[E],v,w)}C.param=function(h,p){var v,w=[],E=function(A,P){var ee=Gt(P)?P():P;w[w.length]=encodeURIComponent(A)+"="+encodeURIComponent(ee??"")};if(null==h)return"";if(Array.isArray(h)||h.jquery&&!C.isPlainObject(h))C.each(h,function(){E(this.name,this.value)});else for(v in h)ki(v,h[v],p,E);return w.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var h=C.prop(this,"elements");return h?C.makeArray(h):this}).filter(function(){var h=this.type;return this.name&&!C(this).is(":disabled")&&Fn.test(this.nodeName)&&!Nf.test(h)&&(this.checked||!Yd.test(h))}).map(function(h,p){var v=C(this).val();return null==v?null:Array.isArray(v)?C.map(v,function(w){return{name:p.name,value:w.replace(je,"\r\n")}}):{name:p.name,value:v.replace(je,"\r\n")}}).get()}});var A1=/%20/g,hN=/#.*$/,M1=/([?&])_=[^&]*/,Lf=/^(.*?):[ \t]*([^\r\n]*)$/gm,fN=/^(?:GET|HEAD)$/,D1=/^\/\//,O1={},Ca={},I1="*/".concat("*"),S_=cn.createElement("a");function P1(h){return function(p,v){"string"!=typeof p&&(v=p,p="*");var w,E=0,A=p.toLowerCase().match(Ys)||[];if(Gt(v))for(;w=A[E++];)"+"===w[0]?(w=w.slice(1)||"*",(h[w]=h[w]||[]).unshift(v)):(h[w]=h[w]||[]).push(v)}}function R1(h,p,v,w){var E={},A=h===Ca;function P(ee){var W;return E[ee]=!0,C.each(h[ee]||[],function(oe,Me){var Ue=Me(p,v,w);return"string"!=typeof Ue||A||E[Ue]?A?!(W=Ue):void 0:(p.dataTypes.unshift(Ue),P(Ue),!1)}),W}return P(p.dataTypes[0])||!E["*"]&&P("*")}function rg(h,p){var v,w,E=C.ajaxSettings.flatOptions||{};for(v in p)void 0!==p[v]&&((E[v]?h:w||(w={}))[v]=p[v]);return w&&C.extend(!0,h,w),h}S_.href=Nc.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nc.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Nc.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":I1,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(h,p){return p?rg(rg(h,C.ajaxSettings),p):rg(C.ajaxSettings,h)},ajaxPrefilter:P1(O1),ajaxTransport:P1(Ca),ajax:function(h,p){"object"==typeof h&&(p=h,h=void 0);var v,w,E,A,P,ee,W,oe,Me,Ue,re=C.ajaxSetup({},p=p||{}),at=re.context||re,Mn=re.context&&(at.nodeType||at.jquery)?C(at):C.event,In=C.Deferred(),qn=C.Callbacks("once memory"),zo=re.statusCode||{},hr={},Jr={},cl="canceled",_i={readyState:0,getResponseHeader:function(tn){var Vr;if(W){if(!A)for(A={};Vr=Lf.exec(E);)A[Vr[1].toLowerCase()+" "]=(A[Vr[1].toLowerCase()+" "]||[]).concat(Vr[2]);Vr=A[tn.toLowerCase()+" "]}return null==Vr?null:Vr.join(", ")},getAllResponseHeaders:function(){return W?E:null},setRequestHeader:function(tn,Vr){return null==W&&(tn=Jr[tn.toLowerCase()]=Jr[tn.toLowerCase()]||tn,hr[tn]=Vr),this},overrideMimeType:function(tn){return null==W&&(re.mimeType=tn),this},statusCode:function(tn){var Vr;if(tn)if(W)_i.always(tn[_i.status]);else for(Vr in tn)zo[Vr]=[zo[Vr],tn[Vr]];return this},abort:function(tn){var Vr=tn||cl;return v&&v.abort(Vr),Oo(0,Vr),this}};if(In.promise(_i),re.url=((h||re.url||Nc.href)+"").replace(D1,Nc.protocol+"//"),re.type=p.method||p.type||re.method||re.type,re.dataTypes=(re.dataType||"*").toLowerCase().match(Ys)||[""],null==re.crossDomain){ee=cn.createElement("a");try{ee.href=re.url,ee.href=ee.href,re.crossDomain=S_.protocol+"//"+S_.host!=ee.protocol+"//"+ee.host}catch{re.crossDomain=!0}}if(re.data&&re.processData&&"string"!=typeof re.data&&(re.data=C.param(re.data,re.traditional)),R1(O1,re,p,_i),W)return _i;for(Me in(oe=C.event&&re.global)&&0==C.active++&&C.event.trigger("ajaxStart"),re.type=re.type.toUpperCase(),re.hasContent=!fN.test(re.type),w=re.url.replace(hN,""),re.hasContent?re.data&&re.processData&&0===(re.contentType||"").indexOf("application/x-www-form-urlencoded")&&(re.data=re.data.replace(A1,"+")):(Ue=re.url.slice(w.length),re.data&&(re.processData||"string"==typeof re.data)&&(w+=(Ln.test(w)?"&":"?")+re.data,delete re.data),!1===re.cache&&(w=w.replace(M1,"$1"),Ue=(Ln.test(w)?"&":"?")+"_="+C_.guid+++Ue),re.url=w+Ue),re.ifModified&&(C.lastModified[w]&&_i.setRequestHeader("If-Modified-Since",C.lastModified[w]),C.etag[w]&&_i.setRequestHeader("If-None-Match",C.etag[w])),(re.data&&re.hasContent&&!1!==re.contentType||p.contentType)&&_i.setRequestHeader("Content-Type",re.contentType),_i.setRequestHeader("Accept",re.dataTypes[0]&&re.accepts[re.dataTypes[0]]?re.accepts[re.dataTypes[0]]+("*"!==re.dataTypes[0]?", "+I1+"; q=0.01":""):re.accepts["*"]),re.headers)_i.setRequestHeader(Me,re.headers[Me]);if(re.beforeSend&&(!1===re.beforeSend.call(at,_i,re)||W))return _i.abort();if(cl="abort",qn.add(re.complete),_i.done(re.success),_i.fail(re.error),v=R1(Ca,re,p,_i)){if(_i.readyState=1,oe&&Mn.trigger("ajaxSend",[_i,re]),W)return _i;re.async&&re.timeout>0&&(P=me.setTimeout(function(){_i.abort("timeout")},re.timeout));try{W=!1,v.send(hr,Oo)}catch(tn){if(W)throw tn;Oo(-1,tn)}}else Oo(-1,"No Transport");function Oo(tn,Vr,Ff,ql){var Qn,Wl,Zs,Va,ul,Xr=Vr;W||(W=!0,P&&me.clearTimeout(P),v=void 0,E=ql||"",_i.readyState=tn>0?4:0,Qn=tn>=200&&tn<300||304===tn,Ff&&(Va=function pN(h,p,v){for(var w,E,A,P,ee=h.contents,W=h.dataTypes;"*"===W[0];)W.shift(),void 0===w&&(w=h.mimeType||p.getResponseHeader("Content-Type"));if(w)for(E in ee)if(ee[E]&&ee[E].test(w)){W.unshift(E);break}if(W[0]in v)A=W[0];else{for(E in v){if(!W[0]||h.converters[E+" "+W[0]]){A=E;break}P||(P=E)}A=A||P}if(A)return A!==W[0]&&W.unshift(A),v[A]}(re,_i,Ff)),!Qn&&C.inArray("script",re.dataTypes)>-1&&C.inArray("json",re.dataTypes)<0&&(re.converters["text script"]=function(){}),Va=function N1(h,p,v,w){var E,A,P,ee,W,oe={},Me=h.dataTypes.slice();if(Me[1])for(P in h.converters)oe[P.toLowerCase()]=h.converters[P];for(A=Me.shift();A;)if(h.responseFields[A]&&(v[h.responseFields[A]]=p),!W&&w&&h.dataFilter&&(p=h.dataFilter(p,h.dataType)),W=A,A=Me.shift())if("*"===A)A=W;else if("*"!==W&&W!==A){if(!(P=oe[W+" "+A]||oe["* "+A]))for(E in oe)if((ee=E.split(" "))[1]===A&&(P=oe[W+" "+ee[0]]||oe["* "+ee[0]])){!0===P?P=oe[E]:!0!==oe[E]&&(A=ee[0],Me.unshift(ee[1]));break}if(!0!==P)if(P&&h.throws)p=P(p);else try{p=P(p)}catch(Ue){return{state:"parsererror",error:P?Ue:"No conversion from "+W+" to "+A}}}return{state:"success",data:p}}(re,Va,_i,Qn),Qn?(re.ifModified&&((ul=_i.getResponseHeader("Last-Modified"))&&(C.lastModified[w]=ul),(ul=_i.getResponseHeader("etag"))&&(C.etag[w]=ul)),204===tn||"HEAD"===re.type?Xr="nocontent":304===tn?Xr="notmodified":(Xr=Va.state,Wl=Va.data,Qn=!(Zs=Va.error))):(Zs=Xr,(tn||!Xr)&&(Xr="error",tn<0&&(tn=0))),_i.status=tn,_i.statusText=(Vr||Xr)+"",Qn?In.resolveWith(at,[Wl,Xr,_i]):In.rejectWith(at,[_i,Xr,Zs]),_i.statusCode(zo),zo=void 0,oe&&Mn.trigger(Qn?"ajaxSuccess":"ajaxError",[_i,re,Qn?Wl:Zs]),qn.fireWith(at,[_i,Xr]),oe&&(Mn.trigger("ajaxComplete",[_i,re]),--C.active||C.event.trigger("ajaxStop")))}return _i},getJSON:function(h,p,v){return C.get(h,p,v,"json")},getScript:function(h,p){return C.get(h,void 0,p,"script")}}),C.each(["get","post"],function(h,p){C[p]=function(v,w,E,A){return Gt(w)&&(A=A||E,E=w,w=void 0),C.ajax(C.extend({url:v,type:p,dataType:A,data:w,success:E},C.isPlainObject(v)&&v))}}),C.ajaxPrefilter(function(h){var p;for(p in h.headers)"content-type"===p.toLowerCase()&&(h.contentType=h.headers[p]||"")}),C._evalUrl=function(h,p,v){return C.ajax({url:h,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(w){C.globalEval(w,p,v)}})},C.fn.extend({wrapAll:function(h){var p;return this[0]&&(Gt(h)&&(h=h.call(this[0])),p=C(h,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&p.insertBefore(this[0]),p.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(h){return Gt(h)?this.each(function(p){C(this).wrapInner(h.call(this,p))}):this.each(function(){var p=C(this),v=p.contents();v.length?v.wrapAll(h):p.append(h)})},wrap:function(h){var p=Gt(h);return this.each(function(v){C(this).wrapAll(p?h.call(this,v):h)})},unwrap:function(h){return this.parent(h).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(h){return!C.expr.pseudos.visible(h)},C.expr.pseudos.visible=function(h){return!!(h.offsetWidth||h.offsetHeight||h.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new me.XMLHttpRequest}catch{}};var mN={0:200,1223:204},Do=C.ajaxSettings.xhr();Yt.cors=!!Do&&"withCredentials"in Do,Yt.ajax=Do=!!Do,C.ajaxTransport(function(h){var p,v;if(Yt.cors||Do&&!h.crossDomain)return{send:function(w,E){var A,P=h.xhr();if(P.open(h.type,h.url,h.async,h.username,h.password),h.xhrFields)for(A in h.xhrFields)P[A]=h.xhrFields[A];for(A in h.mimeType&&P.overrideMimeType&&P.overrideMimeType(h.mimeType),!h.crossDomain&&!w["X-Requested-With"]&&(w["X-Requested-With"]="XMLHttpRequest"),w)P.setRequestHeader(A,w[A]);p=function(ee){return function(){p&&(p=v=P.onload=P.onerror=P.onabort=P.ontimeout=P.onreadystatechange=null,"abort"===ee?P.abort():"error"===ee?"number"!=typeof P.status?E(0,"error"):E(P.status,P.statusText):E(mN[P.status]||P.status,P.statusText,"text"!==(P.responseType||"text")||"string"!=typeof P.responseText?{binary:P.response}:{text:P.responseText},P.getAllResponseHeaders()))}},P.onload=p(),v=P.onerror=P.ontimeout=p("error"),void 0!==P.onabort?P.onabort=v:P.onreadystatechange=function(){4===P.readyState&&me.setTimeout(function(){p&&v()})},p=p("abort");try{P.send(h.hasContent&&h.data||null)}catch(ee){if(p)throw ee}},abort:function(){p&&p()}}}),C.ajaxPrefilter(function(h){h.crossDomain&&(h.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(h){return C.globalEval(h),h}}}),C.ajaxPrefilter("script",function(h){void 0===h.cache&&(h.cache=!1),h.crossDomain&&(h.type="GET")}),C.ajaxTransport("script",function(h){var p,v;if(h.crossDomain||h.scriptAttrs)return{send:function(w,E){p=C("<script>").attr(h.scriptAttrs||{}).prop({charset:h.scriptCharset,src:h.url}).on("load error",v=function(A){p.remove(),v=null,A&&E("error"===A.type?404:200,A.type)}),cn.head.appendChild(p[0])},abort:function(){v&&v()}}});var h,Li=[],x_=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var h=Li.pop()||C.expando+"_"+C_.guid++;return this[h]=!0,h}}),C.ajaxPrefilter("json jsonp",function(h,p,v){var w,E,A,P=!1!==h.jsonp&&(x_.test(h.url)?"url":"string"==typeof h.data&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&x_.test(h.data)&&"data");if(P||"jsonp"===h.dataTypes[0])return w=h.jsonpCallback=Gt(h.jsonpCallback)?h.jsonpCallback():h.jsonpCallback,P?h[P]=h[P].replace(x_,"$1"+w):!1!==h.jsonp&&(h.url+=(Ln.test(h.url)?"&":"?")+h.jsonp+"="+w),h.converters["script json"]=function(){return A||C.error(w+" was not called"),A[0]},h.dataTypes[0]="json",E=me[w],me[w]=function(){A=arguments},v.always(function(){void 0===E?C(me).removeProp(w):me[w]=E,h[w]&&(h.jsonpCallback=p.jsonpCallback,Li.push(w)),A&&Gt(E)&&E(A[0]),A=E=void 0}),"script"}),Yt.createHTMLDocument=((h=cn.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===h.childNodes.length),C.parseHTML=function(h,p,v){return"string"!=typeof h?[]:("boolean"==typeof p&&(v=p,p=!1),p||(Yt.createHTMLDocument?((w=(p=cn.implementation.createHTMLDocument("")).createElement("base")).href=cn.location.href,p.head.appendChild(w)):p=cn),A=!v&&[],(E=dr.exec(h))?[p.createElement(E[1])]:(E=l_([h],p,A),A&&A.length&&C(A).remove(),C.merge([],E.childNodes)));var w,E,A},C.fn.load=function(h,p,v){var w,E,A,P=this,ee=h.indexOf(" ");return ee>-1&&(w=ll(h.slice(ee)),h=h.slice(0,ee)),Gt(p)?(v=p,p=void 0):p&&"object"==typeof p&&(E="POST"),P.length>0&&C.ajax({url:h,type:E||"GET",dataType:"html",data:p}).done(function(W){A=arguments,P.html(w?C("<div>").append(C.parseHTML(W)).find(w):W)}).always(v&&function(W,oe){P.each(function(){v.apply(this,A||[W.responseText,oe,W])})}),this},C.expr.pseudos.animated=function(h){return C.grep(C.timers,function(p){return h===p.elem}).length},C.offset={setOffset:function(h,p,v){var w,E,A,P,ee,W,Me=C.css(h,"position"),Ue=C(h),re={};"static"===Me&&(h.style.position="relative"),ee=Ue.offset(),A=C.css(h,"top"),W=C.css(h,"left"),("absolute"===Me||"fixed"===Me)&&(A+W).indexOf("auto")>-1?(P=(w=Ue.position()).top,E=w.left):(P=parseFloat(A)||0,E=parseFloat(W)||0),Gt(p)&&(p=p.call(h,v,C.extend({},ee))),null!=p.top&&(re.top=p.top-ee.top+P),null!=p.left&&(re.left=p.left-ee.left+E),"using"in p?p.using.call(h,re):Ue.css(re)}},C.fn.extend({offset:function(h){if(arguments.length)return void 0===h?this:this.each(function(E){C.offset.setOffset(this,h,E)});var p,v,w=this[0];return w?w.getClientRects().length?{top:(p=w.getBoundingClientRect()).top+(v=w.ownerDocument.defaultView).pageYOffset,left:p.left+v.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var h,p,v,w=this[0],E={top:0,left:0};if("fixed"===C.css(w,"position"))p=w.getBoundingClientRect();else{for(p=this.offset(),v=w.ownerDocument,h=w.offsetParent||v.documentElement;h&&(h===v.body||h===v.documentElement)&&"static"===C.css(h,"position");)h=h.parentNode;h&&h!==w&&1===h.nodeType&&((E=C(h).offset()).top+=C.css(h,"borderTopWidth",!0),E.left+=C.css(h,"borderLeftWidth",!0))}return{top:p.top-E.top-C.css(w,"marginTop",!0),left:p.left-E.left-C.css(w,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var h=this.offsetParent;h&&"static"===C.css(h,"position");)h=h.offsetParent;return h||qi})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(h,p){var v="pageYOffset"===p;C.fn[h]=function(w){return Qs(this,function(E,A,P){var ee;if(Jt(E)?ee=E:9===E.nodeType&&(ee=E.defaultView),void 0===P)return ee?ee[p]:E[A];ee?ee.scrollTo(v?ee.pageXOffset:P,v?P:ee.pageYOffset):E[A]=P},h,w,arguments.length)}}),C.each(["top","left"],function(h,p){C.cssHooks[p]=f_(Yt.pixelPosition,function(v,w){if(w)return w=Qd(v,p),Df.test(w)?C(v).position()[p]+"px":w})}),C.each({Height:"height",Width:"width"},function(h,p){C.each({padding:"inner"+h,content:p,"":"outer"+h},function(v,w){C.fn[w]=function(E,A){var P=arguments.length&&(v||"boolean"!=typeof E),ee=v||(!0===E||!0===A?"margin":"border");return Qs(this,function(W,oe,Me){var Ue;return Jt(W)?0===w.indexOf("outer")?W["inner"+h]:W.document.documentElement["client"+h]:9===W.nodeType?(Ue=W.documentElement,Math.max(W.body["scroll"+h],Ue["scroll"+h],W.body["offset"+h],Ue["offset"+h],Ue["client"+h])):void 0===Me?C.css(W,oe,ee):C.style(W,oe,Me,ee)},p,P?E:void 0,P)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(h,p){C.fn[p]=function(v){return this.on(p,v)}}),C.fn.extend({bind:function(h,p,v){return this.on(h,null,p,v)},unbind:function(h,p){return this.off(h,null,p)},delegate:function(h,p,v,w){return this.on(p,h,v,w)},undelegate:function(h,p,v){return 1===arguments.length?this.off(h,"**"):this.off(p,h||"**",v)},hover:function(h,p){return this.on("mouseenter",h).on("mouseleave",p||h)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(h,p){C.fn[p]=function(v,w){return arguments.length>0?this.on(p,null,v,w):this.trigger(p)}});var gN=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(h,p){var v,w,E;
1if("string"==typeof p&&(v=h[p],p=h,h=v),Gt(h))return w=Xe.call(arguments,2),E=function(){return h.apply(p||this,w.concat(Xe.call(arguments)))},E.guid=h.guid=h.guid||C.guid++,E},C.holdReady=function(h){h?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=On,C.isFunction=Gt,C.isWindow=Jt,C.camelCase=_s,C.type=si,C.now=Date.now,C.isNumeric=function(h){var p=C.type(h);return("number"===p||"string"===p)&&!isNaN(h-parseFloat(h))},C.trim=function(h){return null==h?"":(h+"").replace(gN,"$1")},void 0!==(Te=function(){return C}.apply(ve,[]))&&(Xn.exports=Te);var yN=me.jQuery,Le=me.$;return C.noConflict=function(h){return me.$===C&&(me.$=Le),h&&me.jQuery===C&&(me.jQuery=yN),C},typeof Oe>"u"&&(me.jQuery=me.$=C),C})},781:Xn=>{"use strict";class ve extends Error{constructor(me){super(me||"Promise was canceled"),this.name="CancelError"}get isCanceled(){return!0}}class Ce{static fn(me){return(...Oe)=>new Ce((ot,_t,Xe)=>{Oe.push(Xe),me(...Oe).then(ot,_t)})}constructor(me){this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((Oe,ot)=>{this._reject=ot;const Ot=yn=>{if(!this._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");this._cancelHandlers.push(yn)};return Object.defineProperties(Ot,{shouldReject:{get:()=>this._rejectOnCancel,set:yn=>{this._rejectOnCancel=yn}}}),me(yn=>{(!this._isCanceled||!Ot.shouldReject)&&(this._isPending=!1,Oe(yn))},yn=>{this._isPending=!1,ot(yn)},Ot)})}then(me,Oe){return this._promise.then(me,Oe)}catch(me){return this._promise.catch(me)}finally(me){return this._promise.finally(me)}cancel(me){if(this._isPending&&!this._isCanceled){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{for(const Oe of this._cancelHandlers)Oe()}catch(Oe){return void this._reject(Oe)}this._rejectOnCancel&&this._reject(new ve(me))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(Ce.prototype,Promise.prototype),Xn.exports=Ce,Xn.exports.CancelError=ve},747:Xn=>{"use strict";Xn.exports=ve=>{if("number"!=typeof ve)throw new TypeError("Expected a number");const Ce=ve>0?Math.floor:Math.ceil;return{days:Ce(ve/864e5),hours:Ce(ve/36e5)%24,minutes:Ce(ve/6e4)%60,seconds:Ce(ve/1e3)%60,milliseconds:Ce(ve)%1e3,microseconds:Ce(1e3*ve)%1e3,nanoseconds:Ce(1e6*ve)%1e3}}},573:Xn=>{!function(ve){"use strict";"function"==typeof bootstrap?bootstrap("promise",ve):Xn.exports=ve()}(function(){"use strict";var ve=!1;try{throw new Error}catch(U){ve=!!U.stack}var Te,Ce=Ni(),me=function(){},Oe=function(){var U={task:void 0,next:null},B=U,he=!1,rt=void 0,En=!1,Gn=[];function _n(){for(var qi,Dr;U.next;)qi=(U=U.next).task,U.task=void 0,(Dr=U.domain)&&(U.domain=void 0,Dr.enter()),Zn(qi,Dr);for(;Gn.length;)Zn(qi=Gn.pop());he=!1}function Zn(qi,Dr){try{qi()}catch(jl){if(En)throw Dr&&Dr.exit(),setTimeout(_n,0),Dr&&Dr.enter(),jl;setTimeout(function(){throw jl},0)}Dr&&Dr.exit()}if(Oe=function(qi){B=B.next={task:qi,domain:En&&process.domain,next:null},he||(he=!0,rt())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)En=!0,rt=function(){process.nextTick(_n)};else if("function"==typeof setImmediate)rt=typeof window<"u"?setImmediate.bind(window,_n):function(){setImmediate(_n)};else if(typeof MessageChannel<"u"){var vi=new MessageChannel;vi.port1.onmessage=function(){rt=li,vi.port1.onmessage=_n,_n()};var li=function(){vi.port2.postMessage(0)};rt=function(){setTimeout(_n,0),li()}}else rt=function(){setTimeout(_n,0)};return Oe.runAfter=function(qi){Gn.push(qi),he||(he=!0,rt())},Oe}(),ot=Function.call;function _t(U){return function(){return ot.apply(U,arguments)}}var Gt,Xe=_t(Array.prototype.slice),Ot=_t(Array.prototype.reduce||function(U,B){var he=0,rt=this.length;if(1===arguments.length)for(;;){if(he in this){B=this[he++];break}if(++he>=rt)throw new TypeError}for(;he<rt;he++)he in this&&(B=U(B,this[he],he));return B}),yn=_t(Array.prototype.indexOf||function(U){for(var B=0;B<this.length;B++)if(this[B]===U)return B;return-1}),vn=_t(Array.prototype.map||function(U,B){var he=this,rt=[];return Ot(he,function(En,Gn,_n){rt.push(U.call(B,Gn,_n,he))},void 0),rt}),mr=Object.create||function(U){function B(){}return B.prototype=U,new B},co=_t(Object.prototype.hasOwnProperty),hi=Object.keys||function(U){var B=[];for(var he in U)co(U,he)&&B.push(he);return B},zt=_t(Object.prototype.toString);function Yt(U){return"[object StopIteration]"===zt(U)||U instanceof Gt}Gt=typeof ReturnValue<"u"?ReturnValue:function(U){this.value=U};var Jt="From previous event:";function cn(U,B){if(ve&&B.stack&&"object"==typeof U&&null!==U&&U.stack&&-1===U.stack.indexOf(Jt)){for(var he=[],rt=B;rt;rt=rt.source)rt.stack&&he.unshift(rt.stack);he.unshift(U.stack);var En=he.join("\n"+Jt+"\n");U.stack=function gi(U){for(var B=U.split("\n"),he=[],rt=0;rt<B.length;++rt){var En=B[rt];!Un(En)&&!Kn(En)&&En&&he.push(En)}return he.join("\n")}(En)}}function Kn(U){return-1!==U.indexOf("(module.js:")||-1!==U.indexOf("(node.js:")}function si(U){var B=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(U);
1if(B)return[B[1],Number(B[2])];var he=/at ([^ ]+):(\d+):(?:\d+)$/.exec(U);if(he)return[he[1],Number(he[2])];var rt=/.*@(.+):(\d+)$/.exec(U);return rt?[rt[1],Number(rt[2])]:void 0}function Un(U){var B=si(U);if(!B)return!1;var rt=B[1];return B[0]===Te&&rt>=Ce&&rt<=Hl}function Ni(){if(ve)try{throw new Error}catch(rt){var U=rt.stack.split("\n"),he=si(U[0].indexOf("@")>0?U[1]:U[2]);return he?(Te=he[0],he[1]):void 0}}function ke(U){return U instanceof Vt?U:Di(U)?function qd(U){var B=On();return ke.nextTick(function(){try{U.then(B.resolve,B.reject,B.notify)}catch(he){B.reject(he)}}),B.promise}(U):wi(U)}function On(){var he,U=[],B=[],rt=mr(On.prototype),En=mr(Vt.prototype);if(En.promiseDispatch=function(_n,Zn,vi){var li=Xe(arguments);U?(U.push(li),"when"===Zn&&vi[1]&&B.push(vi[1])):ke.nextTick(function(){he.promiseDispatch.apply(he,li)})},En.valueOf=function(){if(U)return En;var _n=lt(he);return pn(_n)&&(he=_n),_n},En.inspect=function(){return he?he.inspect():{state:"pending"}},ke.longStackSupport&&ve)try{throw new Error}catch(_n){En.stack=_n.stack.substring(_n.stack.indexOf("\n")+1)}function Gn(_n){he=_n,En.source=_n,Ot(U,function(Zn,vi){ke.nextTick(function(){_n.promiseDispatch.apply(_n,vi)})},void 0),U=void 0,B=void 0}return rt.promise=En,rt.resolve=function(_n){he||Gn(ke(_n))},rt.fulfill=function(_n){he||Gn(wi(_n))},rt.reject=function(_n){he||Gn(Ps(_n))},rt.notify=function(_n){he||Ot(B,function(Zn,vi){ke.nextTick(function(){vi(_n)})},void 0)},rt}function $r(U){if("function"!=typeof U)throw new TypeError("resolver must be a function.");var B=On();try{U(B.resolve,B.reject,B.notify)}catch(he){B.reject(he)}return B.promise}function Vl(U){return $r(function(B,he){for(var rt=0,En=U.length;rt<En;rt++)ke(U[rt]).then(B,he)})}function Vt(U,B,he){void 0===B&&(B=function(Gn){return Ps(new Error("Promise does not support operation: "+Gn))}),void 0===he&&(he=function(){return{state:"unknown"}});var rt=mr(Vt.prototype);if(rt.promiseDispatch=function(Gn,_n,Zn){var vi;try{vi=U[_n]?U[_n].apply(rt,Zn):B.call(rt,_n,Zn)}catch(li){vi=Ps(li)}Gn&&Gn(vi)},rt.inspect=he,he){var En=he();"rejected"===En.state&&(rt.exception=En.reason),rt.valueOf=function(){var Gn=he();return"pending"===Gn.state||"rejected"===Gn.state?rt:Gn.value}}return rt}function ue(U,B,he,rt){return ke(U).then(B,he,rt)}function lt(U){if(pn(U)){var B=U.inspect();if("fulfilled"===B.state)return B.value}return U}function pn(U){return U instanceof Vt}function Di(U){return function Kt(U){return U===Object(U)}(U)&&"function"==typeof U.then}ke.resolve=ke,ke.nextTick=Oe,ke.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(ke.longStackSupport=!0),ke.defer=On,On.prototype.makeNodeResolver=function(){var U=this;return function(B,he){B?U.reject(B):U.resolve(arguments.length>2?Xe(arguments,1):he)}},ke.Promise=$r,ke.promise=$r,$r.race=Vl,$r.all=yi,$r.reject=Ps,$r.resolve=ke,ke.passByCopy=function(U){return U},Vt.prototype.passByCopy=function(){return this},ke.join=function(U,B){return ke(U).join(B)},Vt.prototype.join=function(U){return ke([this,U]).spread(function(B,he){if(B===he)return B;throw new Error("Can't join: not the same: "+B+" "+he)})},ke.race=Vl,Vt.prototype.race=function(){return this.then(ke.race)},ke.makePromise=Vt,Vt.prototype.toString=function(){return"[object Promise]"},Vt.prototype.then=function(U,B,he){var rt=this,En=On(),Gn=!1;return ke.nextTick(function(){rt.promiseDispatch(function(li){Gn||(Gn=!0,En.resolve(function _n(li){try{return"function"==typeof U?U(li):li}catch(qi){return Ps(qi)}}(li)))},"when",[function(li){Gn||(Gn=!0,En.resolve(function Zn(li){if("function"==typeof B){cn(li,rt);try{return B(li)}catch(qi){return Ps(qi)}}return Ps(li)}(li)))}])}),rt.promiseDispatch(void 0,"when",[void 0,function(li){var qi,Dr=!1;try{qi=function vi(li){return"function"==typeof he?he(li):li}(li)}catch(jl){if(Dr=!0,!ke.onerror)throw jl;ke.onerror(jl)}Dr||En.notify(qi)}]),En.promise},ke.tap=function(U,B){return ke(U).tap(B)},Vt.prototype.tap=function(U){return U=ke(U),this.then(function(B){return U.fcall(B).thenResolve(B)})},ke.when=ue,Vt.prototype.thenResolve=function(U){return this.then(function(){return U})},ke.thenResolve=function(U,B){return ke(U).thenResolve(B)},Vt.prototype.thenReject=function(U){return this.then(function(){throw U})},ke.thenReject=function(U,B){return ke(U).thenReject(B)},ke.nearer=lt,ke.isPromise=pn,ke.isPromiseAlike=Di,ke.isPending=function ai(U){return pn(U)&&"pending"===U.inspect().state},Vt.prototype.isPending=function(){return"pending"===this.inspect().state},ke.isFulfilled=function Yn(U){return!pn(U)||"fulfilled"===U.inspect().state},Vt.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},ke.isRejected=function To(U){return pn(U)&&"rejected"===U.inspect().state},Vt.prototype.isRejected=function(){return"rejected"===this.inspect().state};var Uo=[],ba=[],dr=[],Ao=!0;function Bl(){Uo.length=0,ba.length=0,Ao||(Ao=!0)}function Ps(U){var B=Vt({when:function(he){return he&&function Gm(U){if(Ao){var B=yn(ba,U);-1!==B&&("object"==typeof process&&"function"==typeof process.emit&&ke.nextTick.runAfter(function(){var he=yn(dr,U);-1!==he&&(process.emit("rejectionHandled",Uo[B],U),dr.splice(he,1))}),ba.splice(B,1),Uo.splice(B,1))}}(this),he?he(U):this}},function(){return this},function(){return{state:"rejected",reason:U}});return function $a(U,B){!Ao||("object"==typeof process&&"function"==typeof process.emit&&ke.nextTick.runAfter(function(){-1!==yn(ba,U)&&(process.emit("unhandledRejection",B,U),dr.push(U))}),ba.push(U),Uo.push(B&&typeof B.stack<"u"?B.stack:"(no stack) "+B))}(B,U),B}function wi(U){return Vt({when:function(){return U},get:function(B){return U[B]},set:function(B,he){U[B]=he},delete:function(B){delete U[B]},post:function(B,he){return null==B?U.apply(void 0,he):U[B].apply(U,he)},apply:function(B,he){return U.apply(B,he)},keys:function(){return hi(U)}},void 0,function(){return{state:"fulfilled",value:U}})}function kf(U,B,he){return ke(U).spread(B,he)}function Xi(U,B,he){return ke(U).dispatch(B,he)}function yi(U){return ue(U,function(B){var he=0,rt=On();return Ot(B,function(En,Gn,_n){var Zn;pn(Gn)&&"fulfilled"===(Zn=Gn.inspect()).state?B[_n]=Zn.value:(++he,ue(Gn,function(vi){B[_n]=vi,0==--he&&rt.resolve(B)}
1,rt.reject,function(vi){rt.notify({index:_n,value:vi})}))},void 0),0===he&&rt.resolve(B),rt.promise})}function Qs(U){if(0===U.length)return ke.resolve();var B=ke.defer(),he=0;return Ot(U,function(rt,En,Gn){he++,ue(U[Gn],function Zn(qi){B.resolve(qi)},function vi(){0==--he&&B.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))},function li(qi){B.notify({index:Gn,value:qi})})},void 0),B.promise}function an(U){return ue(U,function(B){return B=vn(B,ke),ue(yi(vn(B,function(he){return ue(he,me,me)})),function(){return B})})}ke.resetUnhandledRejections=Bl,ke.getUnhandledReasons=function(){return Uo.slice()},ke.stopUnhandledRejectionTracking=function(){Bl(),Ao=!1},Bl(),ke.reject=Ps,ke.fulfill=wi,ke.master=function Ys(U){return Vt({isDef:function(){}},function(he,rt){return Xi(U,he,rt)},function(){return ke(U).inspect()})},ke.spread=kf,Vt.prototype.spread=function(U,B){return this.all().then(function(he){return U.apply(void 0,he)},B)},ke.async=function Ul(U){return function(){function B(Gn,_n){var Zn;if(typeof StopIteration>"u"){try{Zn=he[Gn](_n)}catch(vi){return Ps(vi)}return Zn.done?ke(Zn.value):ue(Zn.value,rt,En)}try{Zn=he[Gn](_n)}catch(vi){return Yt(vi)?ke(vi.value):Ps(vi)}return ue(Zn,rt,En)}var he=U.apply(this,arguments),rt=B.bind(B,"next"),En=B.bind(B,"throw");return rt()}},ke.spawn=function nt(U){ke.done(ke.async(U)())},ke.return=function Wd(U){throw new Gt(U)},ke.promised=function Tf(U){return function(){return kf([this,yi(arguments)],function(B,he){return U.apply(B,he)})}},ke.dispatch=Xi,Vt.prototype.dispatch=function(U,B){var he=this,rt=On();return ke.nextTick(function(){he.promiseDispatch(rt.resolve,U,B)}),rt.promise},ke.get=function(U,B){return ke(U).dispatch("get",[B])},Vt.prototype.get=function(U){return this.dispatch("get",[U])},ke.set=function(U,B,he){return ke(U).dispatch("set",[B,he])},Vt.prototype.set=function(U,B){return this.dispatch("set",[U,B])},ke.del=ke.delete=function(U,B){return ke(U).dispatch("delete",[B])},Vt.prototype.del=Vt.prototype.delete=function(U){return this.dispatch("delete",[U])},ke.mapply=ke.post=function(U,B,he){return ke(U).dispatch("post",[B,he])},Vt.prototype.mapply=Vt.prototype.post=function(U,B){return this.dispatch("post",[U,B])},ke.send=ke.mcall=ke.invoke=function(U,B){return ke(U).dispatch("post",[B,Xe(arguments,2)])},Vt.prototype.send=Vt.prototype.mcall=Vt.prototype.invoke=function(U){return this.dispatch("post",[U,Xe(arguments,1)])},ke.fapply=function(U,B){return ke(U).dispatch("apply",[void 0,B])},Vt.prototype.fapply=function(U){return this.dispatch("apply",[void 0,U])},ke.try=ke.fcall=function(U){return ke(U).dispatch("apply",[void 0,Xe(arguments,1)])},Vt.prototype.fcall=function(){return this.dispatch("apply",[void 0,Xe(arguments)])},ke.fbind=function(U){var B=ke(U),he=Xe(arguments,1);return function(){return B.dispatch("apply",[this,he.concat(Xe(arguments))])}},Vt.prototype.fbind=function(){var U=this,B=Xe(arguments);return function(){return U.dispatch("apply",[this,B.concat(Xe(arguments))])}},ke.keys=function(U){return ke(U).dispatch("keys",[])},Vt.prototype.keys=function(){return this.dispatch("keys",[])},ke.all=yi,Vt.prototype.all=function(){return yi(this)},ke.any=Qs,Vt.prototype.any=function(){return Qs(this)},ke.allResolved=function C(U,B,he){return function(){return typeof console<"u"&&"function"==typeof console.warn&&console.warn(B+" is deprecated, use "+he+" instead.",new Error("").stack),U.apply(U,arguments)}}(an,"allResolved","allSettled"),Vt.prototype.allResolved=function(){return an(this)},ke.allSettled=function Kd(U){return ke(U).allSettled()},Vt.prototype.allSettled=function(){return this.then(function(U){return yi(vn(U,function(B){function he(){return B.inspect()}return(B=ke(B)).then(he,he)}))})},ke.fail=ke.catch=function(U,B){return ke(U).then(void 0,B)},Vt.prototype.fail=Vt.prototype.catch=function(U){return this.then(void 0,U)},ke.progress=function qm(U,B){return ke(U).then(void 0,void 0,B)},Vt.prototype.progress=function(U){return this.then(void 0,void 0,U)},ke.fin=ke.finally=function(U,B){return ke(U).finally(B)},Vt.prototype.fin=Vt.prototype.finally=function(U){return U=ke(U),this.then(function(B){return U.fcall().then(function(){return B})},function(B){return U.fcall().then(function(){throw B})})},ke.done=function(U,B,he,rt){return ke(U).done(B,he,rt)},Vt.prototype.done=function(U,B,he){var rt=function(Gn){ke.nextTick(function(){if(cn(Gn,En),!ke.onerror)throw Gn;ke.onerror(Gn)})},En=U||B||he?this.then(U,B,he):this;"object"==typeof process&&process&&process.domain&&(rt=process.domain.bind(rt)),En.then(void 0,rt)},ke.timeout=function(U,B,he){return ke(U).timeout(B,he)},Vt.prototype.timeout=function(U,B){var he=On(),rt=setTimeout(function(){(!B||"string"==typeof B)&&((B=new Error(B||"Timed out after "+U+" ms")).code="ETIMEDOUT"),he.reject(B)},U);return this.then(function(En){clearTimeout(rt),he.resolve(En)},function(En){clearTimeout(rt),he.reject(En)},he.notify),he.promise},ke.delay=function(U,B){return void 0===B&&(B=U,U=void 0),ke(U).delay(B)},Vt.prototype.delay=function(U){return this.then(function(B){var he=On();return setTimeout(function(){he.resolve(B)},U),he.promise})},ke.nfapply=function(U,B){return ke(U).nfapply(B)},Vt.prototype.nfapply=function(U){var B=On(),he=Xe(U);return he.push(B.makeNodeResolver()),this.fapply(he).fail(B.reject),B.promise}
1,ke.nfcall=function(U){var B=Xe(arguments,1);return ke(U).nfapply(B)},Vt.prototype.nfcall=function(){var U=Xe(arguments),B=On();return U.push(B.makeNodeResolver()),this.fapply(U).fail(B.reject),B.promise},ke.nfbind=ke.denodeify=function(U){var B=Xe(arguments,1);return function(){var he=B.concat(Xe(arguments)),rt=On();return he.push(rt.makeNodeResolver()),ke(U).fapply(he).fail(rt.reject),rt.promise}},Vt.prototype.nfbind=Vt.prototype.denodeify=function(){var U=Xe(arguments);return U.unshift(this),ke.denodeify.apply(void 0,U)},ke.nbind=function(U,B){var he=Xe(arguments,2);return function(){var rt=he.concat(Xe(arguments)),En=On();function Gn(){return U.apply(B,arguments)}return rt.push(En.makeNodeResolver()),ke(Gn).fapply(rt).fail(En.reject),En.promise}},Vt.prototype.nbind=function(){var U=Xe(arguments,0);return U.unshift(this),ke.nbind.apply(void 0,U)},ke.nmapply=ke.npost=function(U,B,he){return ke(U).npost(B,he)},Vt.prototype.nmapply=Vt.prototype.npost=function(U,B){var he=Xe(B||[]),rt=On();return he.push(rt.makeNodeResolver()),this.dispatch("post",[U,he]).fail(rt.reject),rt.promise},ke.nsend=ke.nmcall=ke.ninvoke=function(U,B){var he=Xe(arguments,2),rt=On();return he.push(rt.makeNodeResolver()),ke(U).dispatch("post",[B,he]).fail(rt.reject),rt.promise},Vt.prototype.nsend=Vt.prototype.nmcall=Vt.prototype.ninvoke=function(U){var B=Xe(arguments,1),he=On();return B.push(he.makeNodeResolver()),this.dispatch("post",[U,B]).fail(he.reject),he.promise},ke.nodeify=function _s(U,B){return ke(U).nodeify(B)},Vt.prototype.nodeify=function(U){if(!U)return this;this.then(function(B){ke.nextTick(function(){U(null,B)})},function(B){ke.nextTick(function(){U(B)})})},ke.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var Hl=Ni();return ke})},971:Xn=>{Xn.exports=function ve(Ce){var Te;if("SELECT"===Ce.nodeName)Ce.focus(),Te=Ce.value;else if("INPUT"===Ce.nodeName||"TEXTAREA"===Ce.nodeName){var me=Ce.hasAttribute("readonly");me||Ce.setAttribute("readonly",""),Ce.select(),Ce.setSelectionRange(0,Ce.value.length),me||Ce.removeAttribute("readonly"),Te=Ce.value}else{Ce.hasAttribute("contenteditable")&&Ce.focus();var Oe=window.getSelection(),ot=document.createRange();ot.selectNodeContents(Ce),Oe.removeAllRanges(),Oe.addRange(ot),Te=Oe.toString()}return Te}},958:Xn=>{function ve(){}ve.prototype={on:function(Ce,Te,me){var Oe=this.e||(this.e={});return(Oe[Ce]||(Oe[Ce]=[])).push({fn:Te,ctx:me}),this},once:function(Ce,Te,me){var Oe=this;function ot(){Oe.off(Ce,ot),Te.apply(me,arguments)}return ot._=Te,this.on(Ce,ot,me)},emit:function(Ce){for(var Te=[].slice.call(arguments,1),me=((this.e||(this.e={}))[Ce]||[]).slice(),Oe=0,ot=me.length;Oe<ot;Oe++)me[Oe].fn.apply(me[Oe].ctx,Te);return this},off:function(Ce,Te){var me=this.e||(this.e={}),Oe=me[Ce],ot=[];if(Oe&&Te)for(var _t=0,Xe=Oe.length;_t<Xe;_t++)Oe[_t].fn!==Te&&Oe[_t].fn._!==Te&&ot.push(Oe[_t]);return ot.length?me[Ce]=ot:delete me[Ce],this}},Xn.exports=ve},998:()=>{"use strict";!function(){var Xn="chrome"in window&&window.navigator.userAgent.indexOf("Edge")<0;if(!("u2f"in window)&&Xn){var Ce,ve=window.u2f={};ve.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",ve.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},ve.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},ve.getMessagePort=function(Te){typeof chrome<"u"&&chrome.runtime?chrome.runtime.sendMessage(ve.EXTENSION_ID,{type:ve.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]},function(){chrome.runtime.lastError?ve.getIframePort_(Te):ve.getChromeRuntimePort_(Te)}):ve.isAndroidChrome_()?ve.getAuthenticatorPort_(Te):ve.isIosChrome_()?ve.getIosPort_(Te):ve.getIframePort_(Te)},ve.isAndroidChrome_=function(){var Te=navigator.userAgent;return-1!=Te.indexOf("Chrome")&&-1!=Te.indexOf("Android")},ve.isIosChrome_=function(){return["iPhone","iPad","iPod"].indexOf(navigator.platform)>-1},ve.getChromeRuntimePort_=function(Te){var me=chrome.runtime.connect(ve.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){Te(new ve.WrappedChromeRuntimePort_(me))},0)},ve.getAuthenticatorPort_=function(Te){setTimeout(function(){Te(new ve.WrappedAuthenticatorPort_)},0)},ve.getIosPort_=function(Te){setTimeout(function(){Te(new ve.WrappedIosPort_)},0)},ve.WrappedChromeRuntimePort_=function(Te){this.port_=Te},ve.formatSignRequest_=function(Te,me,Oe,ot,_t){if(void 0===Ce||Ce<1.1){for(var Xe=[],Ot=0;Ot<Oe.length;Ot++)Xe[Ot]={version:Oe[Ot].version,challenge:me,keyHandle:Oe[Ot].keyHandle,appId:Te};return{type:ve.MessageTypes.U2F_SIGN_REQUEST,signRequests:Xe,timeoutSeconds:ot,requestId:_t}}return{type:ve.MessageTypes.U2F_SIGN_REQUEST,appId:Te,challenge:me,registeredKeys:Oe,timeoutSeconds:ot,requestId:_t}},ve.formatRegisterRequest_=function(Te,me,Oe,ot,_t){if(void 0===Ce||Ce<1.1){for(var Xe=0;Xe<Oe.length;Xe++)Oe[Xe].appId=Te;var Ot=[];for(Xe=0;Xe<me.length;Xe++)Ot[Xe]={version:me[Xe].version,challenge:Oe[0],keyHandle:me[Xe].keyHandle,appId:Te};
1return{type:ve.MessageTypes.U2F_REGISTER_REQUEST,signRequests:Ot,registerRequests:Oe,timeoutSeconds:ot,requestId:_t}}return{type:ve.MessageTypes.U2F_REGISTER_REQUEST,appId:Te,registerRequests:Oe,registeredKeys:me,timeoutSeconds:ot,requestId:_t}},ve.WrappedChromeRuntimePort_.prototype.postMessage=function(Te){this.port_.postMessage(Te)},ve.WrappedChromeRuntimePort_.prototype.addEventListener=function(Te,me){var Oe=Te.toLowerCase();"message"==Oe||"onmessage"==Oe?this.port_.onMessage.addListener(function(ot){me({data:ot})}):console.error("WrappedChromeRuntimePort only supports onMessage")},ve.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},ve.WrappedAuthenticatorPort_.prototype.postMessage=function(Te){var me=ve.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(Te))+";end";document.location=me},ve.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},ve.WrappedAuthenticatorPort_.prototype.addEventListener=function(Te,me){"message"==Te.toLowerCase()?window.addEventListener("message",this.onRequestUpdate_.bind(this,me),!1):console.error("WrappedAuthenticatorPort only supports message")},ve.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(Te,me){var Oe=JSON.parse(me.data),Xe=null;Oe.hasOwnProperty("data")&&(Xe=JSON.parse(Oe.data)),Te({data:Xe})},ve.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",ve.WrappedIosPort_=function(){},ve.WrappedIosPort_.prototype.postMessage=function(Te){var me=JSON.stringify(Te),Oe="u2f://auth?"+encodeURI(me);location.replace(Oe)},ve.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},ve.WrappedIosPort_.prototype.addEventListener=function(Te,me){"message"!==Te.toLowerCase()&&console.error("WrappedIosPort only supports message")},ve.getIframePort_=function(Te){var me="chrome-extension://"+ve.EXTENSION_ID,Oe=document.createElement("iframe");Oe.src=me+"/u2f-comms.html",Oe.setAttribute("style","display:none"),document.body.appendChild(Oe);var ot=new MessageChannel,_t=function(Xe){"ready"==Xe.data?(ot.port1.removeEventListener("message",_t),Te(ot.port1)):console.error('First event on iframe port was not "ready"')};ot.port1.addEventListener("message",_t),ot.port1.start(),Oe.addEventListener("load",function(){Oe.contentWindow.postMessage("init",me,[ot.port2])})},ve.EXTENSION_TIMEOUT_SEC=30,ve.port_=null,ve.waitingForPort_=[],ve.reqCounter_=0,ve.callbackMap_={},ve.getPortSingleton_=function(Te){ve.port_?Te(ve.port_):(0==ve.waitingForPort_.length&&ve.getMessagePort(function(me){for(ve.port_=me,ve.port_.addEventListener("message",ve.responseHandler_);ve.waitingForPort_.length;)ve.waitingForPort_.shift()(ve.port_)}),ve.waitingForPort_.push(Te))},ve.responseHandler_=function(Te){var me=Te.data,Oe=me.requestId;if(Oe&&ve.callbackMap_[Oe]){var ot=ve.callbackMap_[Oe];delete ve.callbackMap_[Oe],ot(me.responseData)}else console.error("Unknown or missing requestId in response.")},ve.sign=function(Te,me,Oe,ot,_t){void 0===Ce?ve.getApiVersion(function(Xe){Ce=void 0===Xe.js_api_version?0:Xe.js_api_version,console.log("Extension JS API Version: ",Ce),ve.sendSignRequest(Te,me,Oe,ot,_t)}):ve.sendSignRequest(Te,me,Oe,ot,_t)},ve.sendSignRequest=function(Te,me,Oe,ot,_t){ve.getPortSingleton_(function(Xe){var Ot=++ve.reqCounter_;ve.callbackMap_[Ot]=ot;var vn=ve.formatSignRequest_(Te,me,Oe,typeof _t<"u"?_t:ve.EXTENSION_TIMEOUT_SEC,Ot);Xe.postMessage(vn)})},ve.register=function(Te,me,Oe,ot,_t){void 0===Ce?ve.getApiVersion(function(Xe){Ce=void 0===Xe.js_api_version?0:Xe.js_api_version,console.log("Extension JS API Version: ",Ce),ve.sendRegisterRequest(Te,me,Oe,ot,_t)}):ve.sendRegisterRequest(Te,me,Oe,ot,_t)},ve.sendRegisterRequest=function(Te,me,Oe,ot,_t){ve.getPortSingleton_(function(Xe){var Ot=++ve.reqCounter_;ve.callbackMap_[Ot]=ot;var vn=ve.formatRegisterRequest_(Te,Oe,me,typeof _t<"u"?_t:ve.EXTENSION_TIMEOUT_SEC,Ot);Xe.postMessage(vn)})},ve.getApiVersion=function(Te,me){ve.getPortSingleton_(function(Oe){if(Oe.getPortType){var ot;switch(Oe.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":ot=1.1;break;default:ot=0}Te({js_api_version:ot})}else{var _t=++ve.reqCounter_;ve.callbackMap_[_t]=Te,Oe.postMessage({type:ve.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:typeof me<"u"?me:ve.EXTENSION_TIMEOUT_SEC,requestId:_t})}})}}}()}},Xn=>{Xn(Xn.s=751)}]);
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.