PageSourceSearch

https://datamask.app/main.8df7e423aee0fdda.js

js datamask.app collected 2026-09-24 14:30:43 UTC 864,452 bytes, 1 lines download raw bytes

1(self.webpackChunkdatamask_web_landing=self.webpackChunkdatamask_web_landing||[]).push([[792],{954:(Wa,Ar,Pr)=>{"use strict";function Or(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 dt(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var o=e.apply(n,t);function s(l){Or(o,i,r,s,a,"next",l)}function a(l){Or(o,i,r,s,a,"throw",l)}s(void 0)})}}let Ue=null,ar=1;const ot=Symbol("SIGNAL");function ie(e){const n=Ue;return Ue=e,n}function Ep(e){if((!Ga(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ar)){if(!e.producerMustRecompute(e)&&!gd(e))return e.dirty=!1,void(e.lastCleanEpoch=ar);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ar}}function gd(e){ss(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Ep(t),i!==t.version))return!0}return!1}function _1(e,n){if(function Fp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ss(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)_1(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];ss(r),r.producerIndexOfThis[i]=n}}function Ga(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ss(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Lp=null;function De(e){return"function"==typeof e}function _d(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}const wd=_d(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 w1(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class et{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){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(De(i))try{i()}catch(o){n=o instanceof wd?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Bp(o)}catch(s){n=n??[],s instanceof wd?n=[...n,...s.errors]:n.push(s)}}if(n)throw new wd(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Bp(n);else{if(n instanceof et){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)&&w1(t,n)}remove(n){const{_finalizers:t}=this;t&&w1(t,n),n instanceof et&&n._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const Vp=et.EMPTY;function Hp(e){return e instanceof et||e&&"closed"in e&&De(e.remove)&&De(e.add)&&De(e.unsubscribe)}function Bp(e){De(e)?e():e.unsubscribe()}const yo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},b1={setTimeout(e,n,...t){const{delegate:i}=b1;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=b1;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yp(e){b1.setTimeout(()=>{const{onUnhandledError:n}=yo;if(!n)throw e;n(e)})}function bd(){}const Kx=Cd("C",void 0,void 0);function Cd(e,n,t){return{kind:e,value:n,error:t}}let _o=null;function C1(e){if(yo.useDeprecatedSynchronousErrorHandling){const n=!_o;if(n&&(_o={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=_o;if(_o=null,t)throw i}}else e()}class Sd extends et{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Hp(n)&&n.add(this)):this.destination=nT}static create(n,t,i){return new Ka(n,t,i)}next(n){this.isStopped?Md(function Qx(e){return Cd("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Md(function Zx(e){return Cd("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Md(Kx,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 Jx=Function.prototype.bind;
1function Dd(e,n){return Jx.call(e,n)}class eT{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){S1(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){S1(i)}else S1(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){S1(t)}}}class Ka extends Sd{constructor(n,t,i){let r;if(super(),De(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&yo.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dd(n.next,o),error:n.error&&Dd(n.error,o),complete:n.complete&&Dd(n.complete,o)}):r=n}this.destination=new eT(r)}}function S1(e){yo.useDeprecatedSynchronousErrorHandling?function Xx(e){yo.useDeprecatedSynchronousErrorHandling&&_o&&(_o.errorThrown=!0,_o.error=e)}(e):Yp(e)}function Md(e,n){const{onStoppedNotification:t}=yo;t&&b1.setTimeout(()=>t(e,n))}const nT={closed:!0,next:bd,error:function tT(e){throw e},complete:bd},xd="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fr(e){return e}function jp(...e){return Up(e)}function Up(e){return 0===e.length?Fr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let $e=(()=>{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 rT(e){return e&&e instanceof Sd||function iT(e){return e&&De(e.next)&&De(e.error)&&De(e.complete)}(e)&&Hp(e)}(t)?t:new Ka(t,i,r);return C1(()=>{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=$p(i))((r,o)=>{const s=new Ka({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)}[xd](){return this}pipe(...t){return Up(t)(this)}toPromise(t){return new(t=$p(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function $p(e){var n;return null!==(n=e??yo.Promise)&&void 0!==n?n:Promise}const oT=_d(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let N=(()=>{class e extends $e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new qp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new oT}next(t){C1(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){C1(()=>{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(){C1(()=>{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?Vp:(this.currentObservers=null,o.push(t),new et(()=>{this.currentObservers=null,w1(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new $e;return t.source=this,t}}return e.create=(n,t)=>new qp(n,t),e})();class qp extends N{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:Vp}}class xn extends N{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)}}function Wp(e){return De(e?.lift)}function pt(e){return n=>{if(Wp(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 st(e,n,t,i,r){return new sT(e,n,t,i,r)}class sT extends Sd{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 ce(e,n){return pt((t,i)=>{let r=0;t.subscribe(st(i,o=>{i.next(e.call(n,o,r++))}))})}const Za=_d(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mt(e,n){return pt((t,i)=>{let r=0;t.subscribe(st(i,o=>e.call(n,o,r++)&&i.next(o)))})}const fi=new $e(e=>e.complete());function pn(e){return e<=0?()=>fi:pt((n,t)=>{let i=0;n.subscribe(st(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function D1(e){return pt((n,t)=>{let i=!1;n.subscribe(st(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}
1))})}function Gp(e=lT){return pt((n,t)=>{let i=!1;n.subscribe(st(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function lT(){return new Za}function cr(e,n){const t=arguments.length>=2;return i=>i.pipe(e?mt((r,o)=>e(r,o,i)):Fr,pn(1),t?D1(n):Gp(()=>new Za))}const Kp="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Lr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ur(e){return{toString:e}.toString()}const ls="__parameters__";function us(e,n,t){return ur(()=>{const i=function Td(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(ls)?l[ls]:Object.defineProperty(l,ls,{value:[]})[ls];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})}const ze=globalThis;function Pe(e){for(let n in e)if(e[n]===Pe)return n;throw Error("Could not find renamed property on target object.")}function cT(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ft(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ft).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 Ed(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const dT=Pe({__forward_ref__:Pe});function qe(e){return e.__forward_ref__=qe,e.toString=function(){return Ft(this())},e}function X(e){return x1(e)?e():e}function x1(e){return"function"==typeof e&&e.hasOwnProperty(dT)&&e.__forward_ref__===qe}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Le(e){return{providers:e.providers||[],imports:e.imports||[]}}function T1(e){return Jp(e,k1)||Jp(e,e5)}function Jp(e,n){return e.hasOwnProperty(n)?e[n]:null}function E1(e){return e&&(e.hasOwnProperty(kd)||e.hasOwnProperty(vT))?e[kd]:null}const k1=Pe({\u0275prov:Pe}),kd=Pe({\u0275inj:Pe}),e5=Pe({ngInjectableDef:Pe}),vT=Pe({ngInjectorDef:Pe});class P{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=O({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Od(e){return e&&!!e.\u0275providers}const Qa=Pe({\u0275cmp:Pe}),Rd=Pe({\u0275dir:Pe}),Fd=Pe({\u0275pipe:Pe}),n5=Pe({\u0275mod:Pe}),dr=Pe({\u0275fac:Pe}),Xa=Pe({__NG_ELEMENT_ID__:Pe}),r5=Pe({__NG_ENV_ID__:Pe});function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Ld(e,n){throw new T(-201,!1)}var me=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(me||{});let Nd;function o5(){return Nd}function Tn(e){const n=Nd;return Nd=e,n}function s5(e,n,t){const i=T1(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&me.Optional?null:void 0!==n?n:void Ld()}const Ja={},Vd="__NG_DI_FLAG__",z1="ngTempTokenPath",ST=/\n/gm,a5="__source";let ds;function Vr(e){const n=ds;return ds=e,n}function xT(e,n=me.Default){if(void 0===ds)throw new T(-203,!1);return null===ds?s5(e,void 0,n):ds.get(e,n&me.Optional?null:void 0,n)}function x(e,n=me.Default){return(o5()||xT)(X(e),n)}function k(e,n=me.Default){return x(e,I1(n))}function I1(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hd(e){const n=[];for(let t=0;t<e.length;t++){const i=X(e[t]);if(Array.isArray(i)){if(0===i.length)throw new T(900,!1);let r,o=me.Default;for(let s=0;s<i.length;s++){const a=i[s],l=TT(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(x(r,o))}else n.push(x(i))}return n}function el(e,n){return e[Vd]=n,e.prototype[Vd]=n,e}function TT(e){return e[Vd]}const A1=el(us("Optional"),8),P1=el(us("SkipSelf"),4);function wo(e,n){return e.hasOwnProperty(dr)?e[dr]:null}function hs(e,n){e.forEach(t=>Array.isArray(t)?hs(t,n):n(t))}function c5(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function O1(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}
1function Yn(e,n,t){let i=fs(e,n);return i>=0?e[1|i]=t:(i=~i,function u5(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 Yd(e,n){const t=fs(e,n);if(t>=0)return e[1|t]}function fs(e,n){return function d5(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 Oi={},be=[],Hr=new P(""),h5=new P("",-1),jd=new P("");class F1{get(n,t=Ja){if(t===Ja){const i=new Error(`NullInjectorError: No provider for ${Ft(n)}!`);throw i.name="NullInjectorError",i}return t}}var L1=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(L1||{}),pi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(pi||{}),Q=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Q||{});function OT(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}}function Ud(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];p5(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}return i}function f5(e){return 3===e||4===e||6===e}function p5(e){return 64===e.charCodeAt(0)}function tl(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||m5(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function m5(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)}const g5="ng-template";function RT(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==OT(n[r+1].toLowerCase(),t,0))return!0}else if($d(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function $d(e){return 4===e.type&&e.value!==g5}function FT(e,n,t){return n===(4!==e.type||t?e.value:g5)}function LT(e,n,t){let i=4;const r=e.attrs,o=null!==r?function HT(e){for(let n=0;n<e.length;n++)if(f5(e[n]))return n;return e.length}(r):0;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&&!FT(e,l,t)||""===l&&1===n.length){if(mi(i))return!1;s=!0}}else if(8&i){if(null===r||!RT(e,r,l,t)){if(mi(i))return!1;s=!0}}else{const c=n[++a],u=NT(l,r,$d(e),t);if(-1===u){if(mi(i))return!1;s=!0;continue}if(""!==c){let d;if(d=u>o?"":r[u+1].toLowerCase(),2&i&&c!==d){if(mi(i))return!1;s=!0}}}}else{if(!s&&!mi(i)&&!mi(l))return!1;if(s&&mi(l))continue;s=!1,i=l|1&i}}return mi(i)||s}function mi(e){return!(1&e)}function NT(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 BT(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 v5(e,n,t=!1){for(let i=0;i<n.length;i++)if(LT(e,n[i],t))return!0;return!1}function YT(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 y5(e,n){return e?":not("+n.trim()+")":n}function jT(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&&!mi(s)&&(n+=y5(o,r),r=""),i=s,o=o||!mi(i);t++}return""!==r&&(n+=y5(o,r)),n}function ve(e){return ur(()=>{const n=w5(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===L1.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pi.Emulated,styles:e.styles||be,_:null,schemas:e.schemas||null,tView:null,id:""};b5(t);const i=e.dependencies;return t.directiveDefs=N1(i,!1),t.pipeDefs=N1(i,!0),t.id=function KT(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function qT(e){return he(e)||Lt(e)}function WT(e){return null!==e}function Ye(e){return ur(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _5(e,n){if(null==e)return Oi;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Q.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Q.None?[i,a]:i,n[o]=s):t[o]=i}return t}function H(e){return ur(()=>{const n=w5(e);return b5(n),n})}function at(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 he(e){return e[Qa]||null}function Lt(e){return e[Rd]||null}function Wt(e){return e[Fd]||null}function tn(e,n){const t=e[n5]||null;if(!t&&!0===n)throw new Error(`Type ${Ft(e)} does not have '\u0275mod' property.`);return t}function w5(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Oi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_5(e.inputs,n),outputs:_5(e.outputs),debugInfo:null}}function b5(e){e.features?.forEach(n=>n(e))}function N1(e,n){if(!e)return null;const t=n?Wt:qT;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(WT)}function bo(e){return{\u0275providers:e}}function ZT(...e){return{\u0275providers:qd(0,e),\u0275fromNgModule:!0}}function qd(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return hs(n,s=>{const a=s;V1(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&C5(r,o),t}function C5(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];Wd(r,o=>{n(o,i)})}}function V1(e,n,t,i){if(!(e=X(e)))return!1;let r=null,o=E1(e);const s=!o&&he(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=E1(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)V1(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{hs(o.imports,u=>{V1(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&C5(c,n)}if(!a){const c=wo(r)||(()=>new r);n({provide:r,useFactory:c,deps:be},r),n({provide:jd,useValue:r,multi:!0},r),n({provide:Hr,useValue:()=>x(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Wd(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Wd(e,n){for(let t of e)Od(t)&&(t=t.\u0275providers),Array.isArray(t)?Wd(t,n):n(t)}const QT=Pe({provide:String,useValue:Pe});function Gd(e){return null!==e&&"object"==typeof e&&QT in e}function Co(e){return"function"==typeof e}const Kd=new P(""),H1={},JT={};let Zd;function B1(){return void 0===Zd&&(Zd=new F1),Zd}class nn{}class ps extends nn{get destroyed(){return this._destroyed}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,Xd(n,s=>this.processProvider(s)),this.records.set(h5,ms(void 0,this)),r.has("environment")&&this.records.set(nn,ms(void 0,this));const o=this.records.get(Kd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(jd,be,me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=ie(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Vr(this),i=Tn(void 0);try{return n()}finally{Vr(t),Tn(i)}}get(n,t=Ja,i=me.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(r5))return n[r5](this);i=I1(i);const o=Vr(this),s=Tn(void 0);
1try{if(!(i&me.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function rE(e){return"function"==typeof e||"object"==typeof e&&e instanceof P}(n)&&T1(n);l=c&&this.injectableDefInScope(c)?ms(Qd(n),H1):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&me.Self?B1():this.parent).get(n,t=i&me.Optional&&t===Ja?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[z1]=a[z1]||[]).unshift(Ft(n)),o)throw a;return function ET(e,n,t,i){const r=e[z1];throw n[a5]&&r.unshift(n[a5]),e.message=function kT(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Ft(n);if(Array.isArray(n))r=n.map(Ft).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):Ft(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(ST,"\n  ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[z1]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Tn(s),Vr(o)}}resolveInjectorInitializers(){const n=ie(null),t=Vr(this),i=Tn(void 0);try{const o=this.get(Hr,be,me.Self);for(const s of o)s()}finally{Vr(t),Tn(i),ie(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Ft(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=Co(n=X(n))?n:X(n&&n.provide);const i=function tE(e){return Gd(e)?ms(void 0,e.useValue):ms(M5(e),H1)}(n);if(!Co(n)&&!0===n.multi){let r=this.records.get(t);r||(r=ms(void 0,H1,!0),r.factory=()=>Hd(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=ie(null);try{return t.value===H1&&(t.value=JT,t.value=t.factory()),"object"==typeof t.value&&t.value&&function iE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{ie(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=X(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Qd(e){const n=T1(e),t=null!==n?n.factory:wo(e);if(null!==t)return t;if(e instanceof P)throw new T(204,!1);if(e instanceof Function)return function eE(e){if(e.length>0)throw new T(204,!1);const t=function gT(e){return e&&(e[k1]||e[e5])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function M5(e,n,t){let i;if(Co(e)){const r=X(e);return wo(r)||Qd(r)}if(Gd(e))i=()=>X(e.useValue);else if(function D5(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Hd(e.deps||[]));else if(function S5(e){return!(!e||!e.useExisting)}(e))i=()=>x(X(e.useExisting));else{const r=X(e&&(e.useClass||e.provide));if(!function nE(e){return!!e.deps}(e))return wo(r)||Qd(r);i=()=>new r(...Hd(e.deps))}return i}function ms(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Xd(e,n){for(const t of e)Array.isArray(t)?Xd(t,n):t&&Od(t)?Xd(t.\u0275providers,n):n(t)}function Ri(e,n){e instanceof ps&&e.assertNotDestroyed();const i=Vr(e),r=Tn(void 0);try{return n()}finally{Vr(i),Tn(r)}}function x5(){return void 0!==o5()||null!=function MT(){return ds}()}const tt=0,R=1,$=2,gt=3,gi=4,rn=5,jn=6,vs=7,We=8,zt=9,vi=10,ee=11,il=12,E5=13,ys=14,lt=15,rl=16,_s=17,hr=18,ol=19,k5=20,Yr=21,U1=22,So=23,ae=25,e3=1,sl=6,Fi=7,ws=9,vt=10;var t3=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(t3||{});function on(e){return Array.isArray(e)&&"object"==typeof e[e3]}function sn(e){return Array.isArray(e)&&!0===e[e3]}function n3(e){return!!(4&e.flags)}function Do(e){return e.componentOffset>-1}function q1(e){return!(1&~e.flags)}function yi(e){return!!e.template}function r3(e){return!!(512&e[$])}class vE{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function P5(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function yt(){return O5}function O5(e){return e.type.prototype.ngOnChanges&&(e.setInput=_E),yE}function yE(){const e=F5(this),n=e?.current;if(n){const t=e.previous;if(t===Oi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function _E(e,n,t,i,r){const o=this.declaredInputs[i],s=F5(e)||function wE(e,n){return e[R5]=n}(e,{previous:Oi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new vE(c&&c.currentValue,t,l===Oi),P5(e,n,r,t)}yt.ngInherit=!0;const R5="__ngSimpleChanges__";function F5(e){return e[R5]||null}const Li=function(e,n,t){},L5="svg";let V5=!1;function Ne(e){for(;Array.isArray(e);)e=e[tt];return e}function al(e,n){return Ne(n[e])}function mn(e,n){return Ne(n[e.index])}function ll(e,n){return e.data[n]}function bs(e,n){return e[n]}function Un(e,n){const t=n[e];return on(t)?t:t[tt]}function c3(e){return!(128&~e[$])}function Ni(e,n){return null==n?null:e[n]}function H5(e){e[_s]=0}function xE(e){1024&e[$]||(e[$]|=1024,c3(e)&&cl(e))}function u3(e){return!!(9216&e[$]||e[So]?.dirty)}function d3(e){e[vi].changeDetectionScheduler?.notify(1),u3(e)?cl(e):64&e[$]&&(function CE(){return V5}()?(e[$]|=1024,cl(e)):e[vi].changeDetectionScheduler?.notify())}function cl(e){e[vi].changeDetectionScheduler?.notify();let n=Mo(e);for(;null!==n&&!(8192&n[$])&&(n[$]|=8192,c3(n));)n=Mo(n)}
1function W1(e,n){if(!(256&~e[$]))throw new T(911,!1);null===e[Yr]&&(e[Yr]=[]),e[Yr].push(n)}function Mo(e){const n=e[gt];return sn(n)?n[gt]:n}const te={lFrame:Z5(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function j5(){return te.bindingsEnabled}function Cs(){return null!==te.skipHydrationRootTNode}function E(){return te.lFrame.lView}function ge(){return te.lFrame.tView}function B(e){return te.lFrame.contextLView=e,e[We]}function Y(e){return te.lFrame.contextLView=null,e}function Oe(){let e=U5();for(;null!==e&&64===e.type;)e=e.parent;return e}function U5(){return te.lFrame.currentTNode}function Vi(e,n){const t=te.lFrame;t.currentTNode=e,t.isParent=n}function f3(){return te.lFrame.isParent}function p3(){te.lFrame.isParent=!1}function gn(){const e=te.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function _i(){return te.lFrame.bindingIndex++}function pr(e){const n=te.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function LE(e,n){const t=te.lFrame;t.bindingIndex=t.bindingRootIndex=e,m3(n)}function m3(e){te.lFrame.currentDirectiveIndex=e}function g3(e){const n=te.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function v3(){return te.lFrame.currentQueryIndex}function G1(e){te.lFrame.currentQueryIndex=e}function VE(e){const n=e[R];return 2===n.type?n.declTNode:1===n.type?e[rn]:null}function G5(e,n,t){if(t&me.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&me.Host||(r=VE(o),null===r||(o=o[ys],10&r.type))););if(null===r)return!1;n=r,e=o}const i=te.lFrame=K5();return i.currentTNode=n,i.lView=e,!0}function y3(e){const n=K5(),t=e[R];te.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function K5(){const e=te.lFrame,n=null===e?null:e.child;return null===n?Z5(e):n}function Z5(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-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 Q5(){const e=te.lFrame;return te.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const X5=Q5;function _3(){const e=Q5();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 an(){return te.lFrame.selectedIndex}function xo(e){te.lFrame.selectedIndex=e}function Ge(){const e=te.lFrame;return ll(e.tView,e.selectedIndex)}function Ke(){te.lFrame.currentNamespace=L5}function $t(){!function YE(){te.lFrame.currentNamespace=null}()}function J5(){return te.lFrame.currentNamespace}let em=!0;function dl(){return em}function Hi(e){em=e}function K1(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??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function Z1(e,n,t){tm(e,n,3,t)}function Q1(e,n,t,i){(3&e[$])===t&&tm(e,n,t,i)}function w3(e,n){let t=e[$];(3&t)===n&&(t&=16383,t+=1,e[$]=t)}function tm(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[_s]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[_s]+=65536),(a<o||-1==o)&&(UE(e,t,n,l),e[_s]=(4294901760&e[_s])+l+2),l++}function nm(e,n){Li(4,e,n);const t=ie(null);try{n.call(e)}finally{ie(t),Li(5,e,n)}}function UE(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];r?e[$]>>14<e[_s]>>16&&(3&e[$])===n&&(e[$]+=16384,nm(a,o)):nm(a,o)}const Ss=-1;class hl{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function C3(e){return e!==Ss}function fl(e){return 32767&e}function pl(e,n){let t=function KE(e){return e>>16}(e),i=n;for(;t>0;)i=i[ys],t--;return i}let S3=!0;function X1(e){const n=S3;return S3=e,n}const im=255,rm=5;let ZE=0;const Bi={};function J1(e,n){const t=om(e,n);if(-1!==t)return t;const i=n[R];i.firstCreatePass&&(e.injectorIndex=n.length,D3(i.data,e),D3(n,null),D3(i.blueprint,null));const r=e4(e,n),o=e.injectorIndex;if(C3(r)){const s=fl(r),a=pl(r,n),l=a[R].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function D3(e,n){e.push(0,0,0,0,0,0,0,0,n)}function om(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function e4(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=hm(r),null===i)return Ss;if(t++,r=r[ys],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ss}
1function M3(e,n,t){!function QE(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Xa)&&(i=t[Xa]),null==i&&(i=t[Xa]=ZE++);const r=i&im;n.data[e+(r>>rm)]|=1<<r}(e,n,t)}function sm(e,n,t){if(t&me.Optional||void 0!==e)return e;Ld()}function am(e,n,t,i){if(t&me.Optional&&void 0===i&&(i=null),!(t&(me.Self|me.Host))){const r=e[zt],o=Tn(void 0);try{return r?r.get(n,i,t&me.Optional):s5(n,i,t&me.Optional)}finally{Tn(o)}}return sm(i,0,t)}function lm(e,n,t,i=me.Default,r){if(null!==e){if(2048&n[$]&&!(i&me.Self)){const s=function nk(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[$]&&!(512&s[$]);){const a=cm(o,s,t,i|me.Self,Bi);if(a!==Bi)return a;let l=o.parent;if(!l){const c=s[k5];if(c){const u=c.get(t,Bi,i);if(u!==Bi)return u}l=hm(s),s=s[ys]}o=l}return r}(e,n,t,i,Bi);if(s!==Bi)return s}const o=cm(e,n,t,i,Bi);if(o!==Bi)return o}return am(n,t,i,r)}function cm(e,n,t,i,r){const o=function ek(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Xa)?e[Xa]:void 0;return"number"==typeof n?n>=0?n&im:tk:n}(t);if("function"==typeof o){if(!G5(n,e,i))return i&me.Host?sm(r,0,i):am(n,t,i,r);try{let s;if(s=o(i),null!=s||i&me.Optional)return s;Ld()}finally{X5()}}else if("number"==typeof o){let s=null,a=om(e,n),l=Ss,c=i&me.Host?n[lt][rn]:null;for((-1===a||i&me.SkipSelf)&&(l=-1===a?e4(e,n):n[a+8],l!==Ss&&dm(i,!1)?(s=n[R],a=fl(l),n=pl(l,n)):a=-1);-1!==a;){const u=n[R];if(um(o,a,u.data)){const d=JE(a,n,t,s,i,c);if(d!==Bi)return d}l=n[a+8],l!==Ss&&dm(i,n[R].data[a+8]===c)&&um(o,a,n)?(s=u,a=fl(l),n=pl(l,n)):a=-1}}return r}function JE(e,n,t,i,r,o){const s=n[R],a=s.data[e+8],u=t4(a,s,t,null==i?Do(a)&&S3:i!=s&&!!(3&a.type),r&me.Host&&o===a);return null!==u?To(n,s,u,a):Bi}function t4(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,m=r?a+u:e.directiveEnd;for(let g=i?a:a+u;g<m;g++){const v=s[g];if(g<l&&t===v||g>=l&&v.type===t)return g}if(r){const g=s[l];if(g&&yi(g)&&g.type===t)return l}return null}function To(e,n,t,i){let r=e[t];const o=n.data;if(function $E(e){return e instanceof hl}(r)){const s=r;s.resolving&&function wT(e,n){throw n&&n.join(" > "),new T(-200,e)}(function xe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(o[t]));const a=X1(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Tn(s.injectImpl):null;G5(e,i,me.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function jE(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=O5(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Tn(c),X1(a),s.resolving=!1,X5()}}return r}function um(e,n,t){return!!(t[n+(e>>rm)]&1<<e)}function dm(e,n){return!(e&me.Self||e&me.Host&&n)}class Vt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return lm(this._tNode,this._lView,n,I1(i),t)}}function tk(){return new Vt(Oe(),E())}function ht(e){return ur(()=>{const n=e.prototype.constructor,t=n[dr]||x3(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[dr]||x3(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function x3(e){return x1(e)?()=>{const n=x3(X(e));return n&&n()}:wo(e)}function hm(e){const n=e[R],t=n.type;return 2===t?n.declTNode:1===t?e[rn]:null}function vm(e,n=null,t=null,i){const r=ym(e,n,t,i);return r.resolveInjectorInitializers(),r}function ym(e,n=null,t=null,i,r=new Set){const o=[t||be,ZT(e)];return i=i||("object"==typeof e?void 0:Ft(e)),new ps(o,n||B1(),i||null,r)}let _t=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Ja}static{this.NULL=new F1}static create(t,i){if(Array.isArray(t))return vm({name:""},i,t,"");{const r=t.name??"";return vm({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=O({token:e,providedIn:"any",factory:()=>x(h5)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function E3(e){return e.ngOriginalError}class Yi{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&&E3(n);for(;t&&E3(t);)t=E3(t);return t||null}}const wm=new P("",{providedIn:"root",factory:()=>k(Yi).handleError.bind(void 0)});let xs=(()=>{class e{static{this.__NG_ELEMENT_ID__=dk}static{this.__NG_ENV_ID__=t=>t}}return e})();class uk extends xs{constructor(n){super(),this._lView=n}onDestroy(n){return W1(this._lView,n),()=>function h3(e,n){if(null===e[Yr])return;const t=e[Yr].indexOf(n);-1!==t&&e[Yr].splice(t,1)}(this._lView,n)}}function dk(){return new uk(E())}function hk(){return Ts(Oe(),E())}function Ts(e,n){return new Re(mn(e,n))}let Re=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=hk}}return e})();function Cm(e){return e instanceof Re?e.nativeElement:e}function k3(e){return n=>{setTimeout(e,void 0,n)}}const U=class fk extends N{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,x5()&&(this.destroyRef=k(xs,{optional:!0})??void 0)}emit(n){const t=ie(null);try{super.next(n)}finally{ie(t)}}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)}
1this.__isAsync&&(o=k3(o),r&&(r=k3(r)),s&&(s=k3(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof et&&n.add(a),a}};function pk(){return this._results[Symbol.iterator]()}class gl{get changes(){return this._changes??=new U}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=gl.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=pk)}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){this.dirty=!1;const i=function En(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function PT(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}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}const vl="ngSkipHydration",mk="ngskiphydration";function Sm(e){const n=e.mergedAttrs;if(null===n)return!1;for(let t=0;t<n.length;t+=2){const i=n[t];if("number"==typeof i)return!1;if("string"==typeof i&&i.toLowerCase()===mk)return!0}return!1}function Dm(e){return e.hasAttribute(vl)}function i4(e){return!(128&~e.flags)}const z3=new Map;let gk=0;const A3="__ngContext__";function ln(e,n){on(n)?(e[A3]=n[ol],function yk(e){z3.set(e[ol],e)}(n)):e[A3]=n}function Am(e){return Om(e[il])}function Pm(e){return Om(e[gi])}function Om(e){for(;null!==e&&!sn(e);)e=e[gi];return e}let P3;function jr(){if(void 0!==P3)return P3;if(typeof document<"u")return document;throw new T(210,!1)}const s4=new P("",{providedIn:"root",factory:()=>Fk}),Fk="ng",Ym=new P(""),ri=new P("",{providedIn:"platform",factory:()=>"unknown"}),Es=new P(""),a4=new P("",{providedIn:"root",factory:()=>jr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Vk(){const e=new ks;return"browser"===k(ri)&&(e.store=function Hk(e,n){const t=e.getElementById(n+"-state");if(t?.textContent)try{return JSON.parse(t.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+n,i)}return{}}(jr(),k(s4))),e}let ks=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static{this.\u0275prov=O({token:e,providedIn:"root",factory:Vk})}get(t,i){return void 0!==this.store[t]?this.store[t]:i}set(t,i){this.store[t]=i}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(t,i){this.onSerializeCallbacks[t]=i}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const O3="h",R3="b";var zs=function(e){return e.FirstChild="f",e.NextSibling="n",e}(zs||{});const F3="e",L3="t",_l="c",l4="x",Is="r",N3="i",V3="n",c4="d",H3="__nghData__",wl="ngh",Bk="nghm";let jm=()=>null;function Yk(e,n,t=!1){let i=e.getAttribute(wl);if(null==i)return null;const[r,o]=i.split("|");if(i=t?o:r,!i)return null;const a=t?r:o?`|${o}`:"";let l={};if(""!==i){const u=n.get(ks,null,{optional:!0});null!==u&&(l=u.get(H3,[])[Number(i)])}const c={data:l,firstChild:e.firstChild??null};return t&&(c.firstChild=e,u4(c,0,e.nextSibling)),a?e.setAttribute(wl,a):e.removeAttribute(wl),c}function B3(e,n,t=!1){return jm(e,n,t)}function Um(e){let n=e._lView;return 2===n[R].type?null:(r3(n)&&(n=n[ae]),n)}function u4(e,n,t){e.segmentHeads??={},e.segmentHeads[n]=t}function j3(e,n){return e.segmentHeads?.[n]??null}function qm(e,n){return e.data[_l]?.[n]??null}function U3(e,n){const t=qm(e,n)??[];let i=0;for(let r of t)i+=r[Is]*(r[l4]??1);return i}function d4(e,n){if(typeof e.disconnectedNodes>"u"){const t=e.data[c4];e.disconnectedNodes=t?new Set(t):null}return!!e.disconnectedNodes?.has(n)}
1const h4=new P(""),Gm=new P("",{providedIn:"root",factory:()=>!1}),Km=new P("");let f4,p4;function As(e){return function $3(){if(void 0===f4&&(f4=null,ze.trustedTypes))try{f4=ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return f4}()?.createHTML(e)||e}function q3(){if(void 0===p4&&(p4=null,ze.trustedTypes))try{p4=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return p4}function Zm(e){return q3()?.createHTML(e)||e}function Xm(e){return q3()?.createScriptURL(e)||e}class Eo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Kp})`}}class Qk extends Eo{getTypeName(){return"HTML"}}class Xk extends Eo{getTypeName(){return"Style"}}class Jk extends Eo{getTypeName(){return"Script"}}class ez extends Eo{getTypeName(){return"URL"}}class tz extends Eo{getTypeName(){return"ResourceURL"}}function $n(e){return e instanceof Eo?e.changingThisBreaksApplicationSecurity:e}function ji(e,n){const t=function nz(e){return e instanceof Eo&&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 ${Kp})`)}return t===n}class lz{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(As(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class cz{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=As(n),t}}const dz=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function m4(e){return(e=String(e)).match(dz)?e:"unsafe:"+e}function mr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Sl(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const e7=mr("area,br,col,hr,img,wbr"),t7=mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),n7=mr("rp,rt"),W3=Sl(e7,Sl(t7,mr("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")),Sl(n7,mr("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")),Sl(n7,t7)),G3=mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),i7=Sl(G3,mr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),mr("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")),hz=mr("script,style,template");class fz{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];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)r.push(t),t=gz(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=mz(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=r7(n).toLowerCase();if(!W3.hasOwnProperty(t))return this.sanitizedSomething=!0,!hz.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(!i7.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;G3[a]&&(l=m4(l)),this.buf.push(" ",s,'="',s7(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=r7(n).toLowerCase();W3.hasOwnProperty(t)&&!e7.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(s7(n))}}function mz(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw o7(n);return n}function gz(e){const n=e.firstChild;if(n&&function pz(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw o7(n);return n}function r7(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function o7(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const vz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yz=/([^\#-~ |!])/g;function s7(e){return e.replace(/&/g,"&amp;").replace(vz,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(yz,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let g4;function a7(e,n){let t=null;try{g4=g4||function Jm(e){const n=new cz(e);return function uz(){try{return!!(new window.DOMParser).parseFromString(As(""),"text/html")}catch{return!1}}()?new lz(n):n}(e);let i=n?String(n):"";t=g4.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=g4.getInertBodyElement(i)}while(i!==o);return As((new fz).sanitizeChildren(K3(t)||t))}finally{if(t){const i=K3(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}
1function K3(e){return"content"in e&&function _z(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var zn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(zn||{});function wi(e){const n=Dl();return n?Zm(n.sanitize(zn.HTML,e)||""):ji(e,"HTML")?Zm($n(e)):a7(jr(),se(e))}function Gt(e){const n=Dl();return n?n.sanitize(zn.URL,e)||"":ji(e,"URL")?$n(e):m4(se(e))}function l7(e){const n=Dl();if(n)return Xm(n.sanitize(zn.RESOURCE_URL,e)||"");if(ji(e,"ResourceURL"))return Xm($n(e));throw new T(904,!1)}function Dl(){const e=E();return e&&e[vi].sanitizer}const Mz=/^>|^->|<!--|-->|--!>|<!-$/g,xz=/(<|>)/g,Tz="\u200b$1\u200b";function qn(e){return e instanceof Function?e():e}function bi(e){return"browser"===(e??k(_t)).get(ri)}var Ur=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ur||{});let J3;function e0(e,n){return J3(e,n)}function Os(e,n,t,i,r){if(null!=i){let o,s=!1;sn(i)?o=i:on(i)&&(s=!0,i=i[tt]);const a=Ne(i);0===e&&null!==t?null==r?b7(n,t,a):ko(n,t,a,r||null,!0):1===e&&null!==t?ko(n,t,a,r||null,!0):2===e?Tl(n,a,s):3===e&&n.destroyNode(a),null!=o&&function Kz(e,n,t,i,r){const o=t[Fi];o!==Ne(t)&&Os(n,e,i,o,r);for(let a=vt;a<t.length;a++){const l=t[a];S4(l[R],l,e,n,i,o)}}(n,e,o,t,r)}}function t0(e,n){return e.createText(n)}function n0(e,n){return e.createComment(function u7(e){return e.replace(Mz,n=>n.replace(xz,Tz))}(n))}function _4(e,n,t){return e.createElement(n,t)}function y7(e,n){n[vi].changeDetectionScheduler?.notify(1),S4(e,n,n[ee],2,null,null)}function _7(e,n){const t=e[ws],i=t.indexOf(n);t.splice(i,1)}function Ml(e,n){if(e.length<=vt)return;const t=vt+n,i=e[t];if(i){const r=i[rl];null!==r&&r!==e&&_7(r,i),n>0&&(e[t-1][gi]=i[gi]);const o=O1(e,vt+n);!function Vz(e,n){y7(e,n),n[tt]=null,n[rn]=null}(i[R],i);const s=o[hr];null!==s&&s.detachView(o[R]),i[gt]=null,i[gi]=null,i[$]&=-129}return i}function w4(e,n){if(!(256&n[$])){const t=n[ee];t.destroyNode&&S4(e,n,t,3,null,null),function Bz(e){let n=e[il];if(!n)return r0(e[R],e);for(;n;){let t=null;if(on(n))t=n[il];else{const i=n[vt];i&&(t=i)}if(!t){for(;n&&!n[gi]&&n!==e;)on(n)&&r0(n[R],n),n=n[gt];null===n&&(n=e),on(n)&&r0(n[R],n),t=n&&n[gi]}n=t}}(n)}}function r0(e,n){if(256&n[$])return;const t=ie(null);try{n[$]&=-129,n[$]|=256,n[So]&&function Op(e){if(ss(e),Ga(e))for(let n=0;n<e.producerNode.length;n++)_1(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(n[So]),function $z(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 hl)){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];Li(4,a,l);try{l.call(a)}finally{Li(5,a,l)}}else{Li(4,r,o);try{o.call(r)}finally{Li(5,r,o)}}}}}(e,n),function Uz(e,n){const t=e.cleanup,i=n[vs];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[vs]=null);const r=n[Yr];if(null!==r){n[Yr]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(e,n),1===n[R].type&&n[ee].destroy();const i=n[rl];if(null!==i&&sn(n[gt])){i!==n[gt]&&_7(i,n);const r=n[hr];null!==r&&r.detachView(e)}!function _k(e){z3.delete(e[ol])}(n)}finally{ie(t)}}function o0(e,n,t){return function w7(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[tt];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===pi.None||o===pi.Emulated)return null}return mn(i,t)}}(e,n.parent,t)}function ko(e,n,t,i,r){e.insertBefore(n,t,i,r)}function b7(e,n,t){e.appendChild(n,t)}function C7(e,n,t,i,r){null!==i?ko(e,n,t,i,r):b7(e,n,t)}function b4(e,n){return e.parentNode(n)}function S7(e,n,t){return M7(e,n,t)}let s0,M7=function D7(e,n,t){return 40&e.type?mn(e,t):null};function C4(e,n,t,i){const r=o0(e,i,n),o=n[ee],a=S7(i.parent||n[rn],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)C7(o,r,t[l],a,!1);else C7(o,r,t,a,!1);void 0!==s0&&s0(o,i,n,t,r)}function xl(e,n){if(null!==n){const t=n.type;if(3&t)return mn(n,e);if(4&t)return a0(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return xl(e,i);{const r=e[n.index];return sn(r)?a0(-1,r):Ne(r)}}if(32&t)return e0(n,e)()||Ne(e[n.index]);{const i=T7(e,n);return null!==i?Array.isArray(i)?i[0]:xl(Mo(e[lt]),i):xl(e,n.next)}}return null}function T7(e,n){return null!==n?e[lt][rn].projection[n.projection]:null}function a0(e,n){const t=vt+e+1;if(t<n.length){const i=n[t],r=i[R].firstChild;if(null!==r)return xl(i,r)}return n[Fi]}function Tl(e,n,t){const i=b4(e,n);i&&function qz(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}function E7(e){e.textContent=""}function l0(e,n,t,i,r,o,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&ln(Ne(a),i),t.flags|=2),32&~t.flags)if(8&l)l0(e,n,t.child,i,r,o,!1),Os(n,e,r,a,o);else if(32&l){const c=e0(t,i);let u;for(;u=c();)Os(n,e,r,u,o);Os(n,e,r,a,o)}else 16&l?k7(e,n,i,t,r,o):Os(n,e,r,a,o);t=s?t.projectionNext:t.next}}function S4(e,n,t,i,r,o){l0(t,i,e.firstChild,n,r,o,!1)}function k7(e,n,t,i,r,o){const s=t[lt],l=s[rn].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Os(n,e,r,l[c],o);else{let c=l;const u=s[gt];i4(i)&&(c.flags|=128),l0(e,n,c,u,r,o,!0)}}function z7(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function I7(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&Ud(e,n,i),null!==r&&z7(e,n,r),null!==o&&function Qz(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const le={};function b(e=1){A7(ge(),E(),an()+e,!1)}function A7(e,n,t,i){if(!i)if(3&~n[$]){const o=e.preOrderHooks;null!==o&&Q1(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&Z1(n,o,t)}xo(t)}function w(e,n=me.Default){const t=E();return null===t?x(e,n):lm(Oe(),t,X(e),n)}function c0(){throw new Error("invalid")}function P7(e,n,t,i,r,o){const s=ie(null);try{let a=null;r&Q.SignalBased&&(a=n[i][ot]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&Q.HasDecoratorInputTransform&&(o=e.inputTransforms[i].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,i):P5(n,a,i,o)}finally{ie(s)}}function D4(e,n,t,i,r,o,s,a,l,c,u){const d=n.blueprint.slice();return d[tt]=r,d[$]=204|i,(null!==c||e&&2048&e[$])&&(d[$]|=2048),H5(d),d[gt]=d[ys]=e,d[We]=t,d[vi]=s||e&&e[vi],d[ee]=a||e&&e[ee],d[zt]=l||e&&e[zt]||null,d[rn]=o,d[ol]=function vk(){return gk++}
1(),d[jn]=u,d[k5]=c,d[lt]=2==n.type?e[lt]:d,d}function Rs(e,n,t,i,r){let o=e.data[n];if(null===o)o=function u0(e,n,t,i,r){const o=U5(),s=f3(),l=e.data[n]=function oI(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Cs()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev: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.prev=o)),l}(e,n,t,i,r),function FE(){return te.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function ul(){const e=te.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Vi(o,!0),o}function El(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 O7(e,n,t,i,r){const o=an(),s=2&i;try{xo(-1),s&&n.length>ae&&A7(e,n,ae,!1),Li(s?2:0,r),t(i,r)}finally{xo(o),Li(s?3:1,r)}}function d0(e,n,t){if(n3(n)){const i=ie(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{ie(i)}}}function h0(e,n,t){j5()&&(function hI(e,n,t,i){const r=t.directiveStart,o=t.directiveEnd;Do(t)&&function _I(e,n,t){const i=mn(n,e),r=R7(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=M4(e,D4(e,r,null,s,i,n,null,e[vi].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||J1(t,n),ln(i,n);const s=t.initialInputs;for(let a=r;a<o;a++){const l=e.data[a],c=To(n,e,a,t);ln(c,n),null!==s&&wI(0,a-r,c,l,0,s),yi(l)&&(Un(t.index,n)[We]=To(n,e,a,t))}}(e,n,t,mn(t,n)),!(64&~t.flags)&&H7(e,n,t))}function f0(e,n,t=mn){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 R7(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=p0(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function p0(e,n,t,i,r,o,s,a,l,c,u){const d=ae+i,m=d+r,g=function Jz(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:le);return t}(d,m),v="function"==typeof c?c():c;return g[R]={type:e,blueprint:g,template:t,queries:null,viewQuery:a,declTNode:n,data:g.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:m,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:v,incompleteFirstPass:!1,ssrId:u}}let F7=()=>null;function nI(e){Dm(e)?E7(e):function $k(e){const n=jr(),t=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(o){const s=function Uk(e){return e.textContent?.replace(/\s/gm,"")}(o);return"ngetn"===s||"ngtns"===s?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let i;const r=[];for(;i=t.nextNode();)r.push(i);for(const o of r)"ngetn"===o.textContent?o.replaceWith(n.createTextNode("")):o.remove()}(e)}function L7(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=Q.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?N7(i,t,c,a,l):N7(i,t,c,a)}return i}function N7(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function In(e,n,t,i,r,o,s,a){const l=mn(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(_0(e,t,u,i,r),Do(n)&&function lI(e,n){const t=Un(n,e);16&t[$]||(t[$]|=64)}(t,n.index)):3&n.type&&(i=function aI(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 m0(e,n,t,i){if(j5()){const r=null===i?null:{"":-1}
1,o=function pI(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(v5(n,s.selectors,!1))if(i||(i=[]),yi(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),g0(e,n,a.length)}else i.unshift(s),g0(e,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(e,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&V7(e,n,t,s,r,a),r&&function mI(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 T(-301,!1);i.push(n[r],o)}}}(t,i,r)}t.mergedAttrs=tl(t.mergedAttrs,t.attrs)}function V7(e,n,t,i,r,o){for(let c=0;c<i.length;c++)M3(J1(t,n),e,i[c].type);!function vI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const u=i[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=El(e,n,i.length,null);for(let c=0;c<i.length;c++){const u=i[c];t.mergedAttrs=tl(t.mergedAttrs,u.hostAttrs),yI(e,t,n,l,u),gI(l,u,r),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function sI(e,n,t){const r=n.directiveEnd,o=e.data,s=n.attrs,a=[];let l=null,c=null;for(let u=n.directiveStart;u<r;u++){const d=o[u],m=t?t.get(d):null,v=m?m.outputs:null;l=L7(0,d.inputs,u,l,m?m.inputs:null),c=L7(1,d.outputs,u,c,v);const y=null===l||null===s||$d(n)?null:bI(l,u,s);a.push(y)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,o)}function H7(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function NE(){return te.lFrame.currentDirectiveIndex}();try{xo(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];m3(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&fI(l,c)}}finally{xo(-1),m3(s)}}function fI(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function g0(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function gI(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;yi(n)&&(t[""]=e)}}function yI(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=wo(r.type)),s=new hl(o,yi(r),w);e.blueprint[i]=s,t[i]=s,function uI(e,n,t,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function dI(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,El(e,t,r.hostVars,le),r)}function Ui(e,n,t,i,r,o){const s=mn(e,n);!function v0(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?se(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[ee],s,o,e.value,t,i,r)}function wI(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)P7(i,t,s[a++],s[a++],s[a++],s[a++])}function bI(e,n,t){let i=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===i&&(i=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function B7(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function Y7(e,n){const t=e.contentQueries;if(null!==t){const i=ie(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];G1(t[r]),a.contentQueries(2,n[s],s)}}}finally{ie(i)}}}function M4(e,n){return e[il]?e[E5][gi]=n:e[il]=n,e[E5]=n,n}function y0(e,n,t){G1(0);const i=ie(null);try{n(e,t)}finally{ie(i)}}function j7(e){return e[vs]||(e[vs]=[])}function U7(e){return e.cleanup||(e.cleanup=[])}function $7(e,n,t){return(null===e||yi(e))&&(t=function l3(e){for(;Array.isArray(e);){if("object"==typeof e[e3])return e;e=e[tt]}return null}(t[n.index])),t[ee]}function x4(e,n){const t=e[zt],i=t?t.get(Yi,null):null;i&&i.handleError(n)}function _0(e,n,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=t[o++];P7(e.data[s],n[s],i,a,l,r)}}function CI(e,n){const t=Un(n,e),i=t[R];!function SI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[tt];null!==r&&null===t[jn]&&(t[jn]=B3(r,t[zt])),w0(i,t,t[We])}function w0(e,n,t){y3(n);try{const i=e.viewQuery;null!==i&&y0(1,i,t);const r=e.template;null!==r&&O7(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[hr]?.finishViewCreation(e),e.staticContentQueries&&Y7(e,n),e.staticViewQueries&&y0(2,e.viewQuery,t);const o=e.components;null!==o&&function DI(e,n){for(let t=0;t<n.length;t++)CI(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[$]&=-5,_3()}}function kl(e,n,t,i){const r=ie(null);
1try{const o=n.tView,l=D4(e,o,t,4096&e[$]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[rl]=e[n.index];const u=e[hr];return null!==u&&(l[hr]=u.createEmbeddedView(o)),w0(o,l,t),l}finally{ie(r)}}function q7(e,n){const t=vt+n;if(t<e.length)return e[t]}function Fs(e,n){return!n||null===n.firstChild||i4(e)}function zl(e,n,t,i=!0){const r=n[R];if(function Yz(e,n,t,i){const r=vt+i,o=t.length;i>0&&(t[r-1][gi]=n),i<o-vt?(n[gi]=t[r],c5(t,vt+i,n)):(t.push(n),n[gi]=null),n[gt]=t;const s=n[rl];null!==s&&t!==s&&function jz(e,n){const t=e[ws];n[lt]!==n[gt][gt][lt]&&(e[$]|=t3.HasTransplantedViews),null===t?e[ws]=[n]:t.push(n)}(s,n);const a=n[hr];null!==a&&a.insertView(e),d3(n),n[$]|=128}(r,n,e,t),i){const s=a0(t,e),a=n[ee],l=b4(a,e[Fi]);null!==l&&function Hz(e,n,t,i,r,o){i[tt]=r,i[rn]=n,S4(e,i,t,1,r,o)}(r,e[rn],a,n,l,s)}const o=n[jn];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function b0(e,n){const t=Ml(e,n);return void 0!==t&&w4(t[R],t),t}function Il(e,n,t,i,r=!1){for(;null!==t;){const o=n[t.index];null!==o&&i.push(Ne(o)),sn(o)&&W7(o,i);const s=t.type;if(8&s)Il(e,n,t.child,i);else if(32&s){const a=e0(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=T7(n,t);if(Array.isArray(a))i.push(...a);else{const l=Mo(n[lt]);Il(l[R],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function W7(e,n){for(let t=vt;t<e.length;t++){const i=e[t],r=i[R].firstChild;null!==r&&Il(i[R],i,r,n)}e[Fi]!==e[tt]&&n.push(e[Fi])}let G7=[];const EI={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{cl(e.lView)},consumerOnSignalRead(){this.lView[So]=this}},K7=100;function T4(e,n=!0,t=0){const i=e[vi],r=i.rendererFactory;r.begin?.();try{!function kI(e,n){C0(e,n);let t=0;for(;u3(e);){if(t===K7)throw new T(103,!1);t++,C0(e,1)}}(e,t)}catch(s){throw n&&x4(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function zI(e,n,t,i){const r=n[$];if(!(256&~r))return;n[vi].inlineEffectRunner?.flush(),y3(n);let s=null,a=null;(function II(e){return 2!==e.type})(e)&&(a=function MI(e){return e[So]??function xI(e){const n=G7.pop()??Object.create(EI);return n.lView=e,n}(e)}(n),s=function Ap(e){return e&&(e.nextProducerIndex=0),ie(e)}(a));try{H5(n),function q5(e){return te.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&O7(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Z1(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Q1(n,d,0,null),w3(n,0)}if(function AI(e){for(let n=Am(e);null!==n;n=Pm(n)){if(!(n[$]&t3.HasTransplantedViews))continue;const t=n[ws];for(let i=0;i<t.length;i++){xE(t[i])}}}(n),Z7(n,0),null!==e.contentQueries&&Y7(e,n),l){const d=e.contentCheckHooks;null!==d&&Z1(n,d)}else{const d=e.contentHooks;null!==d&&Q1(n,d,1),w3(n,1)}!function Xz(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)xo(~r);else{const o=r,s=t[++i],a=t[++i];LE(s,o),a(2,n[o])}}}finally{xo(-1)}}(e,n);const c=e.components;null!==c&&X7(n,c,0);const u=e.viewQuery;if(null!==u&&y0(2,u,i),l){const d=e.viewCheckHooks;null!==d&&Z1(n,d)}else{const d=e.viewHooks;null!==d&&Q1(n,d,2),w3(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[U1]){for(const d of n[U1])d();n[U1]=null}n[$]&=-73}catch(l){throw cl(n),l}finally{null!==a&&(function Pp(e,n){if(ie(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ga(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)_1(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function TI(e){e.lView[So]!==e&&(e.lView=null,G7.push(e))}(a)),_3()}}function Z7(e,n){for(let t=Am(e);null!==t;t=Pm(t))for(let i=vt;i<t.length;i++)Q7(t[i],n)}function PI(e,n,t){Q7(Un(n,e),t)}function Q7(e,n){c3(e)&&C0(e,n)}function C0(e,n){const i=e[R],r=e[$],o=e[So];let s=!!(0===n&&16&r);
1if(s||=!!(64&r&&0===n),s||=!!(1024&r),s||=!(!o?.dirty||!gd(o)),o&&(o.dirty=!1),e[$]&=-9217,s)zI(i,e,i.template,e[We]);else if(8192&r){Z7(e,1);const a=i.components;null!==a&&X7(e,a,1)}}function X7(e,n,t){for(let i=0;i<n.length;i++)PI(e,n[i],t)}function Al(e){for(e[vi].changeDetectionScheduler?.notify();e;){e[$]|=64;const n=Mo(e);if(r3(e)&&!n)return e;e=n}return null}class Pl{get rootNodes(){const n=this._lView,t=n[R];return Il(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[We]}set context(n){this._lView[We]=n}get destroyed(){return!(256&~this._lView[$])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[gt];if(sn(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(Ml(n,i),O1(t,i))}this._attachedToViewContainer=!1}w4(this._lView[R],this._lView)}onDestroy(n){W1(this._lView,n)}markForCheck(){Al(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){d3(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,T4(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,y7(this._lView[R],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,d3(this._lView)}}let ct=(()=>{class e{static{this.__NG_ELEMENT_ID__=FI}}return e})();const OI=ct,RI=class extends OI{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=kl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Pl(r)}};function FI(){return E4(Oe(),E())}function E4(e,n){return 4&e.type?new RI(n,e,Ts(e,n)):null}function tg(e){const n=e[sl]??[],i=e[gt][ee];for(const r of n)$I(r,i);e[sl]=be}function $I(e,n){let t=0,i=e.firstChild;if(i){const r=e.data[Is];for(;t<r;){const o=i.nextSibling;Tl(n,i,!1),i=o,t++}}}function ng(e){tg(e);for(let n=vt;n<e.length;n++)z4(e[n])}function z4(e){!function qI(e){const n=e[jn]?.i18nNodes;if(n){const t=e[ee];for(const i of n.values())Tl(t,i,!1);e[jn].i18nNodes=void 0}}(e);const n=e[R];for(let t=ae;t<n.bindingStartIndex;t++)sn(e[t])?ng(e[t]):on(e[t])&&z4(e[t])}const GI=new RegExp(`^(\\d+)*(${R3}|${O3})*(.*)`);function x0(e){return e.index-ae}function I4(e,n,t,i){const r=x0(i);let o=function XI(e,n){const t=e.i18nNodes;if(t){const i=t.get(n);return i&&t.delete(n),i}return null}(e,r);if(!o){const s=e.data[V3];if(s?.[r])o=function eA(e,n){const[t,...i]=function ZI(e){const n=e.match(GI),[t,i,r,o]=n,s=i?parseInt(i,10):r,a=[];for(const[l,c,u]of o.matchAll(/(f|n)(\d*)/g)){const d=parseInt(u,10)||1;a.push(c,d)}return[s,...a]}(e);let r;return r=t===O3?n[lt][tt]:t===R3?function f7(e){return e.ownerDocument.body}(n[lt][tt]):Ne(n[Number(t)+ae]),function JI(e,n){let t=e;for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];for(let s=0;s<o;s++)switch(r){case zs.FirstChild:t=t.firstChild;break;case zs.NextSibling:t=t.nextSibling}}return t}(r,i)}(s[r],t);else if(n.firstChild===i)o=e.firstChild;else{const a=null===i.prev,l=i.prev??i.parent;if(function QI(e){return!e.prev&&8===e.parent?.type}(i))o=j3(e,x0(i.parent));else{let c=mn(l,t);if(a)o=c.firstChild;else{const u=x0(l),d=j3(e,u);o=2===l.type&&d?A4(U3(e,u)+1,d):c.nextSibling}}}}return o}function A4(e,n){let t=n;for(let i=0;i<e;i++)t=t.nextSibling;return t}let rg=()=>null;function rA(e,n){const t=e[sl];return n&&null!==t&&0!==t.length?t[0].data[N3]===n?t.shift():(tg(e),null):null}function Ls(e,n){return rg(e,n)}class P4{}class sA{}class og{}class lA{resolveComponentFactory(n){throw function aA(e){const n=Error(`No component factory found for ${Ft(e)}.`);return n.ngComponent=e,n}(n)}}let Ns=(()=>{class e{static{this.NULL=new lA}}return e})();class Nl{}let vn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>
1function cA(){const e=E(),t=Un(Oe().index,e);return(on(t)?t:e)[ee]}()}}return e})(),uA=(()=>{class e{static{this.\u0275prov=O({token:e,providedIn:"root",factory:()=>null})}}return e})();const E0={},ag=new Set;function Ci(e){ag.has(e)||(ag.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function lg(...e){}class J{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new U(!1),this.onMicrotaskEmpty=new U(!1),this.onStable=new U(!1),this.onError=new U(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,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 dA(){const e="function"==typeof ze.requestAnimationFrame;let n=ze[e?"requestAnimationFrame":"setTimeout"],t=ze[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function pA(e){const n=()=>{!function fA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,z0(e),e.isCheckStableRunning=!0,k0(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),z0(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function mA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return cg(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),ug(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return cg(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),ug(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,z0(e),k0(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(!J.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new T(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,hA,lg,lg);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 hA={};function k0(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 z0(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function cg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ug(e){e._nesting--,k0(e)}class dg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new U,this.onMicrotaskEmpty=new U,this.onStable=new U,this.onError=new U}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)}}var zo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(zo||{});const hg={destroy(){}};function A0(e,n){!n&&function Y1(e){if(!x5())throw new T(-203,!1)}();const t=n?.injector??k(_t);if(!bi(t))return hg;Ci("NgAfterNextRender");const i=t.get(Vl),r=i.handler??=new pg,o=n?.phase??zo.MixedReadWrite,s=()=>{r.unregister(l),a()},a=t.get(xs).onDestroy(s),l=Ri(t,()=>new fg(o,()=>{s(),e()}));return r.register(l),{destroy:s}}class fg{constructor(n,t){this.phase=n,this.callbackFn=t,this.zone=k(J),this.errorHandler=k(Yi,{optional:!0}),k(P4,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class pg{constructor(){this.executingCallbacks=!1,this.buckets={[zo.EarlyRead]:new Set,[zo.Write]:new Set,[zo.MixedReadWrite]:new Set,[zo.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Vl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}}return e})();function R4(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=Ed(r,a):2==o&&(i=Ed(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class vg extends Ns{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=he(n);return new Yl(t,this.ngModule)}}function yg(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];void 0!==i&&n.push({propName:Array.isArray(i)?i[0]:i,templateName:t})}return n}class F4{constructor(n,t){this.injector=n,this.parentInjector=t}
1get(n,t,i){i=I1(i);const r=this.injector.get(n,E0,i);return r!==E0||t===E0?r:this.parentInjector.get(n,t,i)}}class Yl extends og{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=yg(n.inputs);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return yg(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function UT(e){return e.map(jT).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const o=ie(null);try{let s=(r=r||this.ngModule)instanceof nn?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new F4(n,s):n,l=a.get(Nl,null);if(null===l)throw new T(407,!1);const c=a.get(uA,null),m={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Vl,null),changeDetectionScheduler:a.get(P4,null)},g=l.createRenderer(null,this.componentDef),v=this.componentDef.selectors[0][0]||"div",y=i?function eI(e,n,t,i){const o=i.get(Gm,!1)||t===pi.ShadowDom,s=e.selectRootElement(n,o);return function tI(e){F7(e)}(s),s}(g,i,this.componentDef.encapsulation,a):_4(g,v,function wA(e){const n=e.toLowerCase();return"svg"===n?L5:"math"===n?"math":null}(v));let C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let S=null;null!==y&&(S=B3(y,a,!0));const D=p0(0,null,null,1,0,null,null,null,null,null,null),A=D4(null,D,null,C,null,null,m,g,a,null,S);let L,q;y3(A);try{const oe=this.componentDef;let fe,Be=null;oe.findHostDirectiveDefs?(fe=[],Be=new Map,oe.findHostDirectiveDefs(oe,fe,Be),fe.push(oe)):fe=[oe];const we=function CA(e,n){const t=e[R],i=ae;return e[i]=n,Rs(t,i,2,"#host",null)}(A,y),ft=function SA(e,n,t,i,r,o,s){const a=r[R];!function DA(e,n,t,i){for(const r of e)n.mergedAttrs=tl(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(R4(n,n.mergedAttrs,!0),null!==t&&I7(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=B3(n,r[zt]));const c=o.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=D4(r,R7(t),null,u,r[e.index],e,o,c,null,null,l);return a.firstCreatePass&&g0(a,e,i.length-1),M4(r,d),r[e.index]=d}(we,y,oe,fe,A,m,g);q=ll(D,ae),y&&function xA(e,n,t,i){if(i)Ud(e,t,["ng-version","17.3.12"]);else{const{attrs:r,classes:o}=function $T(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(!mi(r))break;r=o}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&Ud(e,t,r),o&&o.length>0&&z7(e,t,o.join(" "))}}(g,oe,y,i),void 0!==t&&function TA(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o?Array.from(o):null)}}(q,this.ngContentSelectors,t),L=function MA(e,n,t,i,r,o){const s=Oe(),a=r[R],l=mn(s,r);V7(a,r,s,t,null,i);for(let u=0;u<t.length;u++)ln(To(r,a,s.directiveStart+u,s),r);H7(a,r,s),l&&ln(l,r);const c=To(r,a,s.directiveStart+s.componentOffset,s);if(e[We]=r[We]=c,null!==o)for(const u of o)u(c,n);return d0(a,s,r),c}(ft,oe,fe,Be,A,[EA]),w0(D,A,null)}finally{_3()}return new bA(this.componentType,L,Ts(q,A),A,q)}finally{ie(o)}}}class bA extends sA{constructor(n,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Pl(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;_0(o[R],o,r,n,t),this.previousInputValues.set(n,t),Al(Un(this._tNode.index,o))}}get injector(){return new Vt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function EA(){const e=Oe();K1(E()[R],e)}let Kt=(()=>{class e{static{this.__NG_ELEMENT_ID__=kA}}return e})();function kA(){return bg(Oe(),E())}const zA=Kt,_g=class extends zA{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}
1get element(){return Ts(this._hostTNode,this._hostLView)}get injector(){return new Vt(this._hostTNode,this._hostLView)}get parentInjector(){const n=e4(this._hostTNode,this._hostLView);if(C3(n)){const t=pl(n,this._hostLView),i=fl(n);return new Vt(t[R].data[i+8],t)}return new Vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=wg(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-vt}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=Ls(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,Fs(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function nl(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const v=t||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}const l=s?n:new Yl(he(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(nn,null);y&&(o=y)}const u=he(l.componentType??{}),d=Ls(this._lContainer,u?.id??null),g=l.create(c,r,d?.firstChild??null,o);return this.insertImpl(g.hostView,a,Fs(this._hostTNode,d)),g}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function ME(e){return sn(e[gt])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[gt],c=new _g(l,l[rn],l[gt]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return zl(s,r,o,i),n.attachToViewContainerRef(),c5(R0(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=wg(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Ml(this._lContainer,t);i&&(O1(R0(this._lContainer),t),w4(i[R],i))}detach(n){const t=this._adjustIndex(n,-1),i=Ml(this._lContainer,t);return i&&null!=O1(R0(this._lContainer),t)?new Pl(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function wg(e){return e[8]}function R0(e){return e[8]||(e[8]=[])}function bg(e,n){let t;const i=n[e.index];return sn(i)?t=i:(t=B7(i,n,null,e),n[e.index]=t,M4(n,t)),Cg(t,n,e,i),new _g(t,e,n)}let Cg=Dg,F0=()=>!1;function Dg(e,n,t,i){if(e[Fi])return;let r;r=8&t.type?Ne(i):function IA(e,n){const t=e[ee],i=t.createComment(""),r=mn(n,e);return ko(t,b4(t,r),i,function Wz(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Fi]=r}function AA(e,n,t){if(e[Fi]&&e[sl])return!0;const i=t[jn],r=n.index-ae;if(!i||function r4(e){if(i4(e))return!0;let n=e.parent;for(;n;){if(i4(e)||Sm(n))return!0;n=n.parent}return!1}(n)||d4(i,r))return!1;const s=j3(i,r),a=i.data[_l]?.[r],[l,c]=function iA(e,n){const t=[];for(const i of n)for(let r=0;r<(i[l4]??1);r++){const o={data:i,firstChild:null};i[Is]>0&&(o.firstChild=e,e=A4(i[Is],e)),t.push(o)}return[e,t]}(s,a);return e[Fi]=l,e[sl]=c,!0}function PA(e,n,t,i){F0(e,t,n)||Dg(e,n,t,i)}class L0{constructor(n){this.queryList=n,this.matches=null}clone(){return new L0(this.queryList)}setDirty(){this.queryList.setDirty()}}class N0{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 N0(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==j0(n,t).matches&&this.queries[t].setDirty()}}class Mg{constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function VA(e){return e.split(",").map(n=>n.trim())}(n):n}}class V0{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 V0(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 H0{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 H0(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&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,RA(t,o)),this.matchTNodeWithReadOption(n,t,t4(t,n,o,!1,!1))}else i===ct?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,t4(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Re||r===Kt||r===ct&&4&t.type)this.addMatch(t.index,-2);else{const o=t4(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 RA(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 LA(e,n,t,i){return-1===t?function FA(e,n){return 11&e.type?Ts(e,n):4&e.type?E4(e,n):null}(n,e):-2===t?function NA(e,n,t){return t===Re?Ts(n,e):t===ct?E4(n,e):t===Kt?bg(n,e):void 0}(e,n,i):To(e,e[R],t,n)}function xg(e,n,t,i){const r=n[hr].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:LA(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function B0(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=xg(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=vt;d<u.length;d++){const m=u[d];m[rl]===m[gt]&&B0(m[R],m,c,i)}if(null!==u[ws]){const d=u[ws];for(let m=0;m<d.length;m++){const g=d[m];B0(g[R],g,c,i)}}}}}return i}function Tg(e,n,t){const i=new gl(!(4&~t));return function rI(e,n,t,i){const r=j7(n);r.push(t),e.firstCreatePass&&U7(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[hr]??=new N0).queries.push(new L0(i))-1}function zg(e,n,t){null===e.queries&&(e.queries=new V0),e.queries.track(new H0(n,t))}function j0(e,n){return e.queries.getByIndex(n)}function Ig(e,n){const t=e[R],i=j0(t,n);return i.crossesNgTemplate?B0(t,e,n,[]):xg(t,e,i,n)}function de(e){let n=function Ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(yi(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=V4(e.inputs),s.inputTransforms=V4(e.inputTransforms),s.declaredInputs=V4(e.declaredInputs),s.outputs=V4(e.outputs);const a=r.hostBindings;a&&tP(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&JA(e,l),c&&eP(e,c),QA(e,r),cT(e.outputs,r.outputs),yi(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 XA(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=tl(r.hostAttrs,t=tl(t,r.hostAttrs))}}(i)}function QA(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function V4(e){return e===Oi?{}:e===be?[]:e}function JA(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function eP(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function tP(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function Wr(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class Io{}class Gg{}class $0 extends Io{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vg(this);const r=tn(n);this._bootstrapComponents=qn(r.bootstrap),this._r3Injector=ym(n,t,[{provide:Io,useValue:this},{provide:Ns,useValue:this.componentFactoryResolver},...i],Ft(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 q0 extends Gg{constructor(n){super(),this.moduleType=n}create(n){return new $0(this.moduleType,n,[])}}class Kg extends Io{constructor(n){super(),this.componentFactoryResolver=new vg(this),this.instance=null;const t=new ps([...n.providers,{provide:Io,useValue:this},{provide:Ns,useValue:this.componentFactoryResolver}],n.parent||B1(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function H4(e,n,t=null){return new Kg({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Gr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new xn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Y4(e){return!!W0(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function W0(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $i(e,n,t){return e[n]=t}function wt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ao(e,n,t,i){const r=wt(e,n,t);return wt(e,n+1,i)||r}function j4(e,n,t,i,r){const o=Ao(e,n,t,i);return wt(e,n+2,r)||o}function $l(e){return!(32&~e.flags)}function F(e,n,t,i,r,o,s,a){const l=E(),c=ge(),u=e+ae,d=c.firstCreatePass?function pP(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Rs(n,e,4,s||null,Ni(c,a));m0(n,t,u,Ni(c,l)),K1(n,u);const d=u.tView=p0(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);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];Vi(d,!1);const m=Zg(c,l,d,e);dl()&&C4(c,l,m,d),ln(m,l);const g=B7(m,l,m,d);return l[u]=g,M4(l,g),function Sg(e,n,t){return F0(e,n,t)}(g,d,l),q1(d)&&h0(c,l,d),null!=s&&f0(l,d,a),F}let Zg=Qg;function Qg(e,n,t,i){return Hi(!0),n[ee].createComment("")}function mP(e,n,t,i){const r=n[jn],o=!r||Cs()||$l(t)||d4(r,i);if(Hi(o),o)return Qg(0,n);const s=r.data[L3]?.[i]??null;null!==s&&null!==t.tView&&null===t.tView.ssrId&&(t.tView.ssrId=s);const a=I4(r,e,n,t);return u4(r,i,a),A4(U3(r,i),a)}function nt(e,n,t,i){const r=E();return wt(r,_i(),n)&&(ge(),Ui(Ge(),r,e,n,t,i)),nt}function Ws(e,n,t,i){return wt(e,_i(),t)?n+se(t)+i:le}function Gs(e,n,t,i,r,o){const a=Ao(e,function fr(){return te.lFrame.bindingIndex}(),t,r);return pr(2),a?n+se(t)+i+se(r)+o:le}function K4(e,n){return e<<17|n<<2}function Zr(e){return e>>17&32767}function i8(e){return 2|e}function Oo(e){return(131068&e)>>2}function r8(e,n){return-131069&e|n<<2}function o8(e){return 1|e}function E9(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Zr(r):Oo(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];eO(e[s],n)&&(a=!0,e[s+1]=i?o8(c):i8(c)),s=i?Zr(c):Oo(c)}a&&(e[t+1]=i?i8(r):o8(r))}function eO(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&fs(e,n)>=0}const Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function k9(e){return e.substring(Ht.key,Ht.keyEnd)}function z9(e,n){const t=Ht.textEnd;return t===n?-1:(n=Ht.keyEnd=function rO(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Ht.key=n,t),ta(e,n,t))}function ta(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function M(e,n,t){const i=E();return wt(i,_i(),n)&&In(ge(),Ge(),i,e,n,i[ee],t,!1),M}function s8(e,n,t,i,r){const s=r?"class":"style";_0(e,t,n.inputs[s],s,i)}function Si(e,n,t){return Di(e,n,t,!1),Si}function Zt(e,n){return Di(e,n,null,!0),Zt}function Ro(e){Mi(fO,Wi,e,!0)}function Wi(e,n){for(let t=function nO(e){return function A9(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}(e),z9(e,ta(e,0,Ht.textEnd))}(n);t>=0;t=z9(n,t))Yn(e,k9(n),!0)}function Di(e,n,t,i){const r=E(),o=ge(),s=pr(2);o.firstUpdatePass&&F9(o,e,s,i),n!==le&&wt(r,s,n)&&N9(o,o.data[an()],r,r[ee],e,r[s+1]=function mO(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Ft($n(e)))),e}(n,t),i,s)}function Mi(e,n,t,i){const r=ge(),o=pr(2);r.firstUpdatePass&&F9(r,null,o,i);const s=E();if(t!==le&&wt(s,o,t)){const a=r.data[an()];if(H9(a,i)&&!R9(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Ed(l,t||"")),s8(r,a,s,t,i)}else!function pO(e,n,t,i,r,o,s,a){r===le&&(r=be);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 m=l<r.length?r[l+1]:void 0,g=c<o.length?o[c+1]:void 0;let y,v=null;u===d?(l+=2,c+=2,m!==g&&(v=d,y=g)):null===d||null!==u&&u<d?(l+=2,v=u):(c+=2,v=d,y=g),null!==v&&N9(e,n,t,i,v,y,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}(r,a,s,s[ee],s[o+1],s[o+1]=function hO(e,n,t){if(null==t||""===t)return be;const i=[],r=$n(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)}}function R9(e,n){return n>=e.expandoStartIndex}function F9(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[an()],s=R9(e,t);H9(o,i)&&null===n&&!s&&(n=!1),n=function lO(e,n,t,i){const r=g3(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Kl(t=a8(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=a8(r,e,n,t,i),null===o){let l=function cO(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Oo(i))return e[Zr(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=a8(null,e,n,l[1],i),l=Kl(l,n.attrs,i),function uO(e,n,t,i){e[Zr(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function dO(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Kl(i,e[o].hostAttrs,t);return Kl(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function XP(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Zr(s),l=Oo(s);e[i]=t;let u,c=!1;if(Array.isArray(t)?(u=t[1],(null===u||fs(t,u)>0)&&(c=!0)):u=t,r)if(0!==l){const m=Zr(e[a+1]);e[i+1]=K4(m,a),0!==m&&(e[m+1]=r8(e[m+1],i)),e[a+1]=function ZP(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=K4(a,0),0!==a&&(e[a+1]=r8(e[a+1],i)),a=i;else e[i+1]=K4(l,0),0===a?a=i:e[l+1]=r8(e[l+1],i),l=i;c&&(e[i+1]=i8(e[i+1])),E9(e,u,i,!0),E9(e,u,i,!1),function JP(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&fs(o,n)>=0&&(t[i+1]=o8(t[i+1]))}
1(n,u,e,i,o),s=K4(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function a8(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=Kl(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Kl(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]),Yn(e,s,!!t||n[++o]))}return void 0===e?null:e}function fO(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&Yn(e,i,t)}function N9(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function QP(e){return!(1&~e)}(c)?V9(l,n,t,r,Oo(c),s):void 0;Z4(u)||(Z4(o)||function KP(e){return!(2&~e)}(c)&&(o=V9(l,null,t,r,a,s)),function Zz(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Ur.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ur.Important),e.setStyle(t,i,r,o))}}(i,s,al(an(),t),r,o))}function V9(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 m=t[r+1];m===le&&(m=d?be:void 0);let g=d?Yd(m,i):u===i?m:void 0;if(c&&!Z4(g)&&(g=Yd(l,i)),Z4(g)&&(a=g,s))return a;const v=e[r+1];r=s?Zr(v):Oo(v)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Yd(l,i))}return a}function Z4(e){return void 0!==e}function H9(e,n){return!!(e.flags&(n?8:16))}function it(e,n,t){Mi(Yn,Wi,Ws(E(),e,n,t),!0)}function l8(e,n,t,i,r){Mi(Yn,Wi,Gs(E(),e,n,t,i,r),!0)}class DO{destroy(n){}updateValue(n,t){}swap(n,t){const i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){const s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}}function c8(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function u8(e,n,t,i){return!(void 0===n||!n.has(i)||(e.attach(t,n.get(i)),n.delete(i),0))}function B9(e,n,t,i,r){if(u8(e,n,i,t(i,r)))e.updateValue(i,r);else{const o=e.create(i,r);e.attach(i,o)}}function Y9(e,n,t,i){const r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}class j9{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}}function St(e,n,t){Ci("NgControlFlow");const i=E(),r=_i(),o=d8(i,ae+e);if(wt(i,r,n)){const a=ie(null);try{if(b0(o,0),-1!==n){const l=h8(i[R],ae+n),c=Ls(o,l.tView.ssrId);zl(o,kl(i,l,t,{dehydratedView:c}),0,Fs(l,c))}}finally{ie(a)}}else{const a=q7(o,0);void 0!==a&&(a[We]=t)}}class xO{constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-vt}}function Zl(e,n){return n}class EO{constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}}function Ql(e,n,t,i,r,o,s,a,l,c,u,d,m){Ci("NgControlFlow");const g=void 0!==l,v=E(),y=a?s.bind(v[lt][We]):s,C=new EO(g,y);v[ae+e]=C,F(e+1,n,t,i,r,o),g&&F(e+2,l,c,u,d,m)}class kO extends DO{constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-vt}at(n){return this.getLView(n)[We].$implicit}attach(n,t){const i=t[jn];this.needsIndexUpdate||=n!==this.length,zl(this.lContainer,t,n,Fs(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function zO(e,n){return Ml(e,n)}(this.lContainer,n)}create(n,t){const i=Ls(this.lContainer,this.templateTNode.tView.ssrId);return kl(this.hostLView,this.templateTNode,new xO(this.lContainer,t,n),{dehydratedView:i})}destroy(n){w4(n[R],n)}updateValue(n,t){this.getLView(n)[We].$implicit=t}reset(){this.needsIndexUpdate=!1}
1updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[We].$index=n}getLView(n){return function IO(e,n){return q7(e,n)}(this.lContainer,n)}}function Xl(e){const n=ie(null),t=an();try{const i=E(),r=i[R],o=i[t];if(void 0===o.liveCollection){const a=t+1,l=d8(i,a),c=h8(r,a);o.liveCollection=new kO(l,i,c)}else o.liveCollection.reset();const s=o.liveCollection;if(function MO(e,n,t){let i,r,o=0,s=e.length-1;if(Array.isArray(n)){let a=n.length-1;for(;o<=s&&o<=a;){const l=e.at(o),c=n[o],u=c8(o,l,o,c,t);if(0!==u){u<0&&e.updateValue(o,c),o++;continue}const d=e.at(s),m=n[a],g=c8(s,d,a,m,t);if(0!==g){g<0&&e.updateValue(s,m),s--,a--;continue}const v=t(o,l),y=t(s,d),C=t(o,c);if(Object.is(C,y)){const S=t(a,m);Object.is(S,v)?(e.swap(o,s),e.updateValue(s,m),a--,s--):e.move(s,o),e.updateValue(o,c),o++}else if(i??=new j9,r??=Y9(e,o,s,t),u8(e,i,o,C))e.updateValue(o,c),o++,s++;else if(r.has(C))i.set(v,e.detach(o)),s--;else{const S=e.create(o,n[o]);e.attach(o,S),o++,s++}}for(;o<=a;)B9(e,i,t,o,n[o]),o++}else if(null!=n){const a=n[Symbol.iterator]();let l=a.next();for(;!l.done&&o<=s;){const c=e.at(o),u=l.value,d=c8(o,c,o,u,t);if(0!==d)d<0&&e.updateValue(o,u),o++,l=a.next();else{i??=new j9,r??=Y9(e,o,s,t);const m=t(o,u);if(u8(e,i,o,m))e.updateValue(o,u),o++,s++,l=a.next();else if(r.has(m)){const g=t(o,c);i.set(g,e.detach(o)),s--}else e.attach(o,e.create(o,u)),o++,s++,l=a.next()}}for(;!l.done;)B9(e,i,t,e.length,l.value),l=a.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(a=>{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=_i(),l=0===s.length;if(wt(i,a,l)){const c=t+2,u=d8(i,c);if(l){const d=h8(r,c),m=Ls(u,d.tView.ssrId);zl(u,kl(i,d,void 0,{dehydratedView:m}),0,Fs(d,m))}else b0(u,0)}}}finally{ie(n)}}function d8(e,n){return e[n]}function h8(e,n){return ll(e,n)}function h(e,n,t,i){const r=E(),o=ge(),s=ae+e,a=r[ee],l=o.firstCreatePass?function AO(e,n,t,i,r,o){const s=n.consts,l=Rs(n,e,2,i,Ni(s,r));return m0(n,t,l,Ni(s,o)),null!==l.attrs&&R4(l,l.attrs,!1),null!==l.mergedAttrs&&R4(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=U9(o,r,l,a,n,e);r[s]=c;const u=q1(l);return Vi(l,!0),I7(a,c,l),!$l(l)&&dl()&&C4(o,r,c,l),0===function TE(){return te.lFrame.elementDepthCount}()&&ln(c,r),function EE(){te.lFrame.elementDepthCount++}(),u&&(h0(o,r,l),d0(o,l,r)),null!==i&&f0(r,l),h}function p(){let e=Oe();f3()?p3():(e=e.parent,Vi(e,!1));const n=e;(function zE(e){return te.skipHydrationRootTNode===e})(n)&&function OE(){te.skipHydrationRootTNode=null}(),function kE(){te.lFrame.elementDepthCount--}();const t=ge();return t.firstCreatePass&&(K1(t,e),n3(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function WE(e){return!!(8&e.flags)}(n)&&s8(t,n,E(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function GE(e){return!!(16&e.flags)}(n)&&s8(t,n,E(),n.stylesWithoutHost,!1),p}function _(e,n,t,i){return h(e,n,t,i),p(),_}let U9=(e,n,t,i,r,o)=>(Hi(!0),_4(i,r,J5()));function PO(e,n,t,i,r,o){const s=n[jn],a=!s||Cs()||$l(t)||d4(s,o);if(Hi(a),a)return _4(i,r,J5());const l=I4(s,e,n,t);return qm(s,o)&&u4(s,o,l.nextSibling),s&&(Sm(t)||Dm(l))&&Do(t)&&(function AE(e){te.skipHydrationRootTNode=e}(t),E7(l)),l}function Gn(e,n,t){const i=E(),r=ge(),o=e+ae,s=r.firstCreatePass?function RO(e,n,t,i,r){const o=n.consts,s=Ni(o,i),a=Rs(n,e,8,"ng-container",s);return null!==s&&R4(a,s,!0),m0(n,t,a,Ni(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Vi(s,!0);const a=$9(r,i,s,e);return i[o]=a,dl()&&C4(r,i,a,s),ln(a,i),q1(s)&&(h0(r,i,s),d0(r,s,i)),null!=t&&f0(i,s),Gn}function Kn(){let e=Oe();const n=ge();return f3()?p3():(e=e.parent,Vi(e,!1)),n.firstCreatePass&&(K1(n,e),n3(e)&&n.queries.elementEnd(e)),Kn}function f8(e,n,t){return Gn(e,n,t),Kn(),f8}let $9=(e,n,t,i)=>(Hi(!0),n0(n[ee],""));function FO(e,n,t,i){let r;const o=n[jn],s=!o||Cs()||$l(t);if(Hi(s),s)return n0(n[ee],"");const a=I4(o,e,n,t),l=function Gk(e,n){const t=e.data;let i=t[F3]?.[n]??null;return null===i&&t[_l]?.[n]&&(i=U3(e,n)),i}(o,i);return u4(o,i,a),r=A4(l,a),r}function Ze(){return E()}function Q4(e,n,t){const i=E();if(wt(i,_i(),n)){const o=ge(),s=Ge();In(o,s,i,e,n,$7(g3(o.data),s,i),t,!0)}return Q4}let na={};var Qe=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qe||{});const ia="en-US";let K9=ia;function rv(e,n,t){const i=e[ee];switch(t){case Node.COMMENT_NODE:return n0(i,n);case Node.TEXT_NODE:return t0(i,n);case Node.ELEMENT_NODE:return _4(i,n,null)}}let nc=(e,n,t,i)=>(Hi(!0),rv(e,t,i));function tR(e,n,t,i){return Hi(!0),rv(e,t,i)}function z(e,n,t,i){const r=E(),o=ge(),s=Oe();return g8(o,r,r[ee],s,e,n,i),z}function n2(e,n){const t=Oe(),i=E(),r=ge();return g8(r,i,$7(g3(r.data),t,i),t,e,n),n2}
1function g8(e,n,t,i,r,o,s){const a=q1(i),c=e.firstCreatePass&&U7(e),u=n[We],d=j7(n);let m=!0;if(3&i.type||s){const y=mn(i,n),C=s?s(y):y,S=d.length,D=s?L=>s(Ne(L[i.index])):i.index;let A=null;if(!s&&a&&(A=function LR(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[vs],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=o,A.__ngLastListenerFn__=o,m=!1;else{o=Cv(i,n,u,o,!1);const L=t.listen(C,r,o);d.push(o,L),c&&c.push(r,D,S,S+1)}}else o=Cv(i,n,u,o,!1);const g=i.outputs;let v;if(m&&null!==g&&(v=g[r])){const y=v.length;if(y)for(let C=0;C<y;C+=2){const q=n[v[C]][v[C+1]].subscribe(o),oe=d.length;d.push(o,q),c&&c.push(r,i.index,oe,-(oe+1))}}}function bv(e,n,t,i){const r=ie(null);try{return Li(6,n,t),!1!==t(i)}catch(o){return x4(e,o),!1}finally{Li(7,n,t),ie(r)}}function Cv(e,n,t,i,r){return function o(s){if(s===Function)return i;Al(e.componentOffset>-1?Un(e.index,n):n);let l=bv(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=bv(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function I(e=1){return function HE(e){return(te.lFrame.contextLView=function B5(e,n){for(;e>0;)n=n[ys],e--;return n}(e,te.lFrame.contextLView))[We]}(e)}function NR(e,n){let t=null;const i=function VT(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(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?v5(e,o,!0):YT(i,o))return r}else t=r}return t}function Lo(e){const n=E()[lt][rn];if(!n.projection){const i=n.projection=function R1(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){const s=e?NR(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Qr(e,n=0,t){const i=E(),r=ge(),o=Rs(r,ae+e,16,null,t||null);null===o.projection&&(o.projection=n),p3(),(!i[jn]||Cs())&&32&~o.flags&&function Gz(e,n,t){k7(n[ee],0,n,t,o0(e,t,n),S7(t.parent||n[rn],t,n))}(r,i,o)}function ra(e,n,t,i){!function kg(e,n,t,i){const r=ge();if(r.firstCreatePass){const o=Oe();zg(r,new Mg(n,t,i),o.index),function HA(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&~t)&&(r.staticContentQueries=!0)}return Tg(r,E(),t)}(e,n,t,i)}function vr(e,n,t){!function Eg(e,n,t){const i=ge();return i.firstCreatePass&&(zg(i,new Mg(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Tg(i,E(),n)}(e,n,t)}function Pn(e){const n=E(),t=ge(),i=v3();G1(i+1);const r=j0(t,i);if(e.dirty&&function DE(e){return!(4&~e[$])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=Ig(n,i);e.reset(o,Cm),e.notifyOnChanges()}return!0}return!1}function On(){return function Y0(e,n){return e[hr].queries[n].queryList}(E(),v3())}function oa(e){return bs(function RE(){return te.lFrame.contextLView}(),ae+e)}function f(e,n=""){const t=E(),i=ge(),r=e+ae,o=i.firstCreatePass?Rs(i,r,1,n,null):i.data[r],s=Bv(i,t,o,n,e);t[r]=s,dl()&&C4(i,t,s,o),Vi(o,!1)}let Bv=(e,n,t,i,r)=>(Hi(!0),t0(n[ee],i));function XR(e,n,t,i,r){const o=n[jn],s=!o||Cs()||$l(t)||d4(o,r);return Hi(s),s?t0(n[ee],i):I4(o,e,n,t)}function Dt(e){return pe("",e,""),Dt}function pe(e,n,t){const i=E(),r=Ws(i,e,n,t);return r!==le&&function gr(e,n,t){const i=al(n,e);!function v7(e,n,t){e.setValue(n,t)}(e[ee],i,t)}(i,an(),r),pe}function y8(e,n,t,i,r){if(e=X(e),Array.isArray(e))for(let o=0;o<e.length;o++)y8(e[o],n,t,i,r);else{const o=ge(),s=E(),a=Oe();let l=Co(e)?e:X(e.provide);const c=M5(e),u=1048575&a.providerIndexes,d=a.directiveStart,m=a.providerIndexes>>20;if(Co(e)||!e.multi){const g=new hl(c,r,w),v=w8(l,n,r?u:u+m,d);-1===v?(M3(J1(a,s),o,l),_8(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(g),s.push(g)):(t[v]=g,s[v]=g)}else{const g=w8(l,n,u+m,d),v=w8(l,n,u,u+m),C=v>=0&&t[v];if(r&&!C||!r&&!(g>=0&&t[g])){M3(J1(a,s),o,l);const S=function rF(e,n,t,i,r){const o=new hl(e,t,w);return o.multi=[],o.index=n,o.componentProviders=0,Xv(o,r,i&&!t),o}(r?iF:nF,t.length,r,i,c);!r&&C&&(t[v].providerFactory=S),_8(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else _8(o,e,g>-1?g:v,Xv(t[r?v:g],c,!r&&i));!r&&i&&C&&t[v].componentProviders++}}}function _8(e,n,t,i){const r=Co(n),o=function XT(e){return!!e.useClass}(n);if(r||o){const l=(o?X(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 Xv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function w8(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function nF(e,n,t,i){return b8(this.multi,[])}function iF(e,n,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=To(t,t[R],this.providerFactory.index,i);o=a.slice(0,s),b8(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],b8(r,o);return o}function b8(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Ie(e,n=[]){return t=>{t.providersResolver=(i,r)=>function tF(e,n,t){const i=ge();if(i.firstCreatePass){const r=yi(e);y8(t,i.data,i.blueprint,r,!0),y8(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let oF=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=qd(0,t.type),r=i.length>
10?H4([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(x(nn))})}}return e})();function It(e){Ci("NgStandalone"),e.getStandaloneInjector=n=>n.get(oF).getOrCreateStandaloneInjector(e)}function o2(e,n,t,i,r){return function ry(e,n,t,i,r,o,s){const a=n+t;return Ao(e,a,r,o)?$i(e,a+2,s?i.call(s,r,o):i(r,o)):oc(e,a+2)}(E(),gn(),e,n,t,i,r)}function ty(e,n,t,i,r,o){return function oy(e,n,t,i,r,o,s,a){const l=n+t;return j4(e,l,r,o,s)?$i(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):oc(e,l+3)}(E(),gn(),e,n,t,i,r,o)}function ny(e,n,t,i,r,o,s,a,l,c){const u=gn()+e,d=E();let m=function oi(e,n,t,i,r,o){const s=Ao(e,n,t,i);return Ao(e,n+2,r,o)||s}(d,u,t,i,r,o);return j4(d,u+4,s,a,l)||m?$i(d,u+7,c?n.call(c,t,i,r,o,s,a,l):n(t,i,r,o,s,a,l)):function Ul(e,n){return e[n]}(d,u+7)}function oc(e,n){const t=e[n];return t===le?void 0:t}function iy(e,n,t,i,r,o){const s=n+t;return wt(e,s,r)?$i(e,s+1,o?i.call(o,r):i(r)):oc(e,s+1)}function sc(e,n){const t=ge();let i;const r=e+ae;t.firstCreatePass?(i=function pF(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??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=wo(i.type)),a=Tn(w);try{const l=X1(!1),c=o();return X1(l),function YR(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,E(),r,c),c}finally{Tn(a)}}function ac(e,n,t){const i=e+ae,r=E(),o=bs(r,i);return function lc(e,n){return e[R].data[n].pure}(r,i)?iy(r,gn(),n,o.transform,t,o):o.transform(t)}function s2(e,n){return E4(e,n)}let x8=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Ty=new P(""),c2=new P("");let z8,E8=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,z8||(function dL(e){z8=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:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}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()},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[]}static{this.\u0275fac=function(i){return new(i||e)(x(J),x(k8),x(c2))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),k8=(()=>{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 z8?.findTestabilityInTree(this,t,i)??null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function hc(e){return!!e&&"function"==typeof e.then}function Ey(e){return!!e&&"function"==typeof e.subscribe}const I8=new P("");let A8=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(I8,{optional:!0})??[]}
1runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(hc(o))t.push(o);else if(Ey(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const u2=new P("");function Iy(e,n){return Array.isArray(n)?n.reduce(Iy,e):{...e,...n}}let h2,xi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(wm),this.afterRenderEffectManager=k(Vl),this.externalTestViews=new Set,this.beforeRender=new N,this.afterTick=new N,this.componentTypes=[],this.components=[],this.isStable=k(Gr).hasPendingTasks.pipe(ce(t=>!t)),this._injector=k(nn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof og;if(!this._injector.get(A8).done)throw!r&&function Br(e){const n=he(e)||Lt(e)||Wt(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ns).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function hL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Io),c=s.create(_t.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Ty,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),d2(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=ie(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,ie(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===K7)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)fL(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>P8(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>P8(o))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;d2(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(u2,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>d2(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function d2(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Ay(e){h2??=new WeakMap;const n=h2.get(e);if(n)return n;const t=e.isStable.pipe(cr(i=>i)).toPromise().then(()=>{});return h2.set(e,t),e.onDestroy(()=>h2?.delete(e)),t}function fL(e,n,t){!n&&!P8(e)||function pL(e,n,t){let i;t?(i=0,e[$]|=1024):i=64&e[$]?0:1,T4(e,n,i)}(e,t,n)}function P8(e){return u3(e)}class mL{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Py=(()=>{class e{compileModuleSync(t){return new q0(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=qn(tn(t).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new Yl(l)),s},[]);return new mL(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),yL=(()=>{class e{constructor(){this.zone=k(J),this.applicationRef=k(xi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function _L(){const e=k(J),n=k(Yi);return t=>e.runOutsideAngular(()=>n.handleError(t))}let bL=(()=>{class e{constructor(){this.subscription=new et,this.initialized=!1,this.zone=k(J),this.pendingTasks=k(Gr)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const yr=new P("",{providedIn:"root",factory:()=>k(yr,me.Optional|me.SkipSelf)||function CL(){return typeof $localize<"u"&&$localize.locale||ia}()}),O8=new P("");let Ly=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function gA(e="zone.js",n){return"noop"===e?new dg:"zone.js"===e?new J(n):e}(i?.ngZone,function Fy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function lP(e,n,t){return new $0(e,n,t)}(t.moduleType,this.injector,function Ry(e){return[{provide:J,useFactory:e},{provide:Hr,multi:!0,useFactory:()=>{const n=k(yL,{optional:!0});return()=>n.initialize()}},{provide:Hr,multi:!0,useFactory:()=>{const n=k(bL);return()=>{n.initialize()}}},{provide:wm,useFactory:_L}]}(()=>r)),s=o.injector.get(Yi,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{d2(this._modules,o),a.unsubscribe()})}),function zy(e,n,t){try{const i=t();return hc(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(A8);return a.runInitializers(),a.donePromise.then(()=>(function Z9(e){"string"==typeof e&&(K9=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(yr,ia)||ia),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=Iy({},i);return function vL(e,n,t){const i=new q0(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(xi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-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 T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(O8,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||e)(x(_t))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Xr=null;const Ny=new P("");function Vy(e,n,t=[]){const i=`Platform: ${n}`,r=new P(i);return(o=[])=>{let s=R8();if(!s||s.injector.get(Ny,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function ML(e){if(Xr&&!Xr.get(Ny,!1))throw new T(400,!1);(function ky(){!function jx(e){Lp=e}(()=>{throw new T(600,!1)})})(),Xr=e;const n=e.get(Ly);(function By(e){e.get(Ym,null)?.forEach(t=>t())})(e)}(function Hy(e=[],n){return _t.create({name:n,providers:[{provide:Kd,useValue:"platform"},{provide:O8,useValue:new Set([()=>Xr=null])},...e]})}(a,i))}return function xL(e){const n=R8();if(!n)throw new T(401,!1);return n}()}}function R8(){return Xr?.get(Ly)??null}let Qt=(()=>{class e{static{this.__NG_ELEMENT_ID__=EL}}return e})();function EL(e){return function kL(e,n,t){if(Do(e)&&!t){const i=Un(e.index,n);return new Pl(i,i)}return 47&e.type?new Pl(n[lt],n):null}(Oe(),E(),!(16&~e))}class Wy{constructor(){}supports(n){return Y4(n)}create(n){return new OL(n)}}const PL=(e,n)=>n;class OL{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||PL}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<Ky(i,r,o)?t:i,a=Ky(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 m=0;m<c;m++){const g=m<o.length?o[m]:o[m]=0,v=g+m;u<=v&&v<c&&(o[m]=g+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=[]),!Y4(n))throw new T(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: 6,127 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 hP(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();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 RL(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 Gy),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 Gy),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 RL{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}}class FL{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 Gy{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new FL,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 Ky(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 Zy{constructor(){}supports(n){return n instanceof Map||W0(n)}create(){return new LL}}class LL{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||W0(n)))throw new T(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;
1if(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 NL(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 NL{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 Qy(){return new H8([new Wy])}let H8=(()=>{class e{static{this.\u0275prov=O({token:e,providedIn:"root",factory:Qy})}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||Qy()),deps:[[e,new P1,new A1]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function Xy(){return new m2([new Zy])}let m2=(()=>{class e{static{this.\u0275prov=O({token:e,providedIn:"root",factory:Xy})}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||Xy()),deps:[[e,new P1,new A1]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const BL=Vy(null,"core",[]);let YL=(()=>{class e{constructor(t){}static{this.\u0275fac=function(i){return new(i||e)(x(xi))}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})(),h_=!1,f_=!1;function sN(){return bo([{provide:h4,useFactory:()=>{let e=!0;return bi()&&(e=!!k(ks,{optional:!0})?.get(H3,null)),e&&Ci("NgHydration"),e}},{provide:Hr,useValue:()=>{f_=!!k(Km,{optional:!0}),bi()&&k(h4)&&(function lN(){const e=jr();let n;for(const t of e.body.childNodes)if(t.nodeType===Node.COMMENT_NODE&&t.textContent?.trim()===Bk){n=t;break}if(!n)throw new T(-507,!1)}(),function rN(){h_||(h_=!0,function jk(){jm=Yk}(),function OO(){U9=PO}(),function JR(){Bv=XR}(),function LO(){$9=FO}(),function gP(){Zg=mP}(),function OA(){Cg=PA,F0=AA}(),function oA(){rg=rA}(),function iI(){F7=nI}(),function nR(){nc=tR}())}())},multi:!0},{provide:Gm,useFactory:()=>bi()&&k(h4)},{provide:u2,useFactory:()=>
1{if(bi()&&k(h4)){const e=k(xi);return k(_t),()=>{(function oN(e,n){return Ay(e)})(e).then(()=>{!function WI(e){const n=e._views;for(const t of n){const i=Um(t);null!==i&&null!==i[tt]&&(on(i)?z4(i):(z4(i[tt]),ng(i)))}}(e)})}}return()=>{}},multi:!0}])}function Rn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function w_(e){const n=ie(null);try{return e()}finally{ie(n)}}let C_=null;function _r(){return C_}class xN{}const ye=new P("");let j8=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(EN),providedIn:"platform"})}}return e})();const TN=new P("");let EN=(()=>{class e extends j8{constructor(){super(),this._doc=k(ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _r().getBaseHref(this._doc)}onPopState(t){const i=_r().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=_r().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){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function U8(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 S_(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 wr(e){return e&&"?"!==e[0]?"?"+e:e}let Vo=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(M_),providedIn:"root"})}}return e})();const D_=new P("");let M_=(()=>{class e extends Vo{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??k(ye).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 U8(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+wr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+wr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+wr(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)}static{this.\u0275fac=function(i){return new(i||e)(x(j8),x(D_,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),kN=(()=>{class e extends Vo{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){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=U8(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+wr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+wr(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)}static{this.\u0275fac=function(i){return new(i||e)(x(j8),x(D_,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),ca=(()=>
1{class e{constructor(t){this._subject=new U,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function AN(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(S_(x_(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+wr(i))}normalize(t){return e.stripTrailingSlash(function IN(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,x_(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+wr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+wr(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.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})}static{this.normalizeQueryParams=wr}static{this.joinWithSlash=U8}static{this.stripTrailingSlash=S_}static{this.\u0275fac=function(i){return new(i||e)(x(Vo))}}static{this.\u0275prov=O({token:e,factory:()=>function zN(){return new ca(x(Vo))}(),providedIn:"root"})}}return e})();function x_(e){return e.replace(/\/index.html$/,"")}function R_(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}const eh=/\s+/,F_=[];let da=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=F_,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(eh):F_}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(eh):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(eh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(vn))}}static{this.\u0275dir=H({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Q.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();class yV{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 gc=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 yV(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),N_(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=>{N_(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static{this.\u0275fac=function(i){return new(i||e)(w(Kt),w(ct),w(H8))}}static{this.\u0275dir=H({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function N_(e,n){e.context.$implicit=n.item}let Sr=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new _V,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){V_("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){V_("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}static{this.\u0275fac=function(i){return new(i||e)(w(Kt),w(ct))}}static{this.\u0275dir=H({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class _V{constructor(){this.$implicit=null,this.ngIf=null}}function V_(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ft(n)}'.`)}class th{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 A2=(()=>{class e{constructor(){this._defaultViews=[],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.push(t)}_matchCase(t){const i=t===this._ngSwitch;return 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.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const i of this._defaultViews)i.enforceState(t)}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=H({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return e})(),H_=(()=>{class e{constructor(t,i,r){this.ngSwitch=r,r._addCase(),this._view=new th(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(i){return new(i||e)(w(Kt),w(ct),w(A2,9))}}static{this.\u0275dir=H({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return e})(),ha=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Ur.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(m2),w(vn))}}static{this.\u0275dir=H({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),nh=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||e)(w(Kt))}}static{this.\u0275dir=H({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[yt]})}}return e})();class SV{createSubscription(n,t){return w_(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){w_(()=>n.unsubscribe())}}class DV{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const MV=new DV,xV=new SV;let Y_=(()=>{class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(hc(t))return MV;if(Ey(t))return xV;throw function Ei(e,n){return new T(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(i){return new(i||e)(w(Qt,16))}}static{this.\u0275pipe=at({name:"async",type:e,pure:!1,standalone:!0})}}return e})(),fa=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();const U_="browser",UV="server";function Jr(e){return e===U_}function oh(e){return e===UV}let $_=(()=>{class e{static{this.\u0275prov=O({token:e,providedIn:"root",factory:()=>Jr(k(ri))?new WV(k(ye),window):new KV})}}return e})();class WV{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.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}
1scrollToAnchor(n){const t=function GV(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof 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);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.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])}}class KV{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class q_{}function tw(e){return e&&De(e.schedule)}function ah(e){return e[e.length-1]}function nw(e){return De(ah(e))?e.pop():void 0}function _c(e){return tw(ah(e))?e.pop():void 0}function Ce(e,n,t,i){var s,r=arguments.length,o=r<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,n,t,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(n,t,o):s(n,t))||o);return r>3&&o&&Object.defineProperty(n,t,o),o}function eo(e){return this instanceof eo?(this.v=e,this):new eo(e)}function sw(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 dh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(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 hh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function aw(e){return De(e?.then)}function lw(e){return De(e[xd])}function cw(e){return Symbol.asyncIterator&&De(e?.[Symbol.asyncIterator])}function uw(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 dw=function UH(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hw(e){return De(e?.[dw])}function fw(e){return function ow(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(g){return function(v){return Promise.resolve(v).then(g,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(g,v){i[g]&&(r[g]=function(y){return new Promise(function(C,S){o.push([g,y,C,S])>1||l(g,y)})},v&&(r[g]=v(r[g])))}function l(g,v){try{!function c(g){g.value instanceof eo?Promise.resolve(g.value.v).then(u,d):m(o[0][2],g)}(i[g](v))}catch(y){m(o[0][3],y)}}function u(g){l("next",g)}function d(g){l("throw",g)}function m(g,v){g(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield eo(t.read());if(r)return yield eo(void 0);yield yield eo(i)}}finally{t.releaseLock()}})}function pw(e){return De(e?.getReader)}function bn(e){if(e instanceof $e)return e;if(null!=e){if(lw(e))return function $H(e){return new $e(n=>{const t=e[xd]();if(De(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(hh(e))return function qH(e){return new $e(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(aw(e))return function WH(e){return new $e(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Yp)})}(e);if(cw(e))return mw(e);if(hw(e))return function GH(e){return new $e(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(pw(e))return function KH(e){return mw(fw(e))}(e)}throw uw(e)}function mw(e){return new $e(n=>{(function ZH(e,n){var t,i,r,o;return function iw(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*(){try{for(t=sw(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}
1finally{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 Dr(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 gw(e,n=0){return pt((t,i)=>{t.subscribe(st(i,r=>Dr(i,e,()=>i.next(r),n),()=>Dr(i,e,()=>i.complete(),n),r=>Dr(i,e,()=>i.error(r),n)))})}function vw(e,n=0){return pt((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function yw(e,n){if(!e)throw new Error("Iterable cannot be null");return new $e(t=>{Dr(t,n,()=>{const i=e[Symbol.asyncIterator]();Dr(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Mt(e,n){return n?function nB(e,n){if(null!=e){if(lw(e))return function QH(e,n){return bn(e).pipe(vw(n),gw(n))}(e,n);if(hh(e))return function JH(e,n){return new $e(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(aw(e))return function XH(e,n){return bn(e).pipe(vw(n),gw(n))}(e,n);if(cw(e))return yw(e,n);if(hw(e))return function eB(e,n){return new $e(t=>{let i;return Dr(t,n,()=>{i=e[dw](),Dr(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)}),()=>De(i?.return)&&i.return()})}(e,n);if(pw(e))return function tB(e,n){return yw(fw(e),n)}(e,n)}throw uw(e)}(e,n):bn(e)}function G(...e){return Mt(e,_c(e))}function Xt(e,n,t=1/0){return De(n)?Xt((i,r)=>ce((o,s)=>n(i,o,r,s))(bn(e(i,r))),t):("number"==typeof n&&(t=n),pt((i,r)=>function iB(e,n,t,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const m=()=>{d&&!l.length&&!c&&n.complete()},g=y=>c<i?v(y):l.push(y),v=y=>{o&&n.next(y),c++;let C=!1;bn(t(y,u++)).subscribe(st(n,S=>{r?.(S),o?g(S):n.next(S)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&c<i;){const S=l.shift();s?Dr(n,s,()=>v(S)):v(S)}m()}catch(S){n.error(S)}}))};return e.subscribe(st(n,g,()=>{d=!0,m()})),()=>{a?.()}}(i,r,e,t)))}function pa(e,n){return De(n)?Xt(e,n,1):Xt(e,1)}function ma(e){return pt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Qn(e,n){return pt((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(st(i,l=>{r?.unsubscribe();let c=0;const u=o++;bn(e(l,u)).subscribe(r=st(i,d=>i.next(n?n(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Yt(e,n,t){const i=De(e)||n||t?{next:e,error:n,complete:t}:e;return i?pt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(st(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)}))}):Fr}class F2{}class ga{}class cn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{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])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEac
1h((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}: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 cn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(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 cn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof cn?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)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class rB{encodeKey(n){return _w(n)}encodeValue(n){return _w(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const sB=/%(\d[a-f0-9])/gi,aB={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _w(e){return encodeURIComponent(e).replace(sB,(n,t)=>aB[t]??n)}function L2(e){return`${e}`}class li{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new rB,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oB(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(L2):[L2(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 li({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(L2(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(L2(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 lB{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)}
1keys(){return this.map.keys()}}function ww(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function bw(e){return typeof Blob<"u"&&e instanceof Blob}function Cw(e){return typeof FormData<"u"&&e instanceof FormData}class wc{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 cB(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.transferCache=o.transferCache),this.headers??=new cn,this.context??=new lB,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 li,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||ww(this.body)||bw(this.body)||Cw(this.body)||function uB(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof li?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||Cw(this.body)?null:bw(this.body)?this.body.type||null:ww(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof li?"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=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,u=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((m,g)=>m.set(g,n.setHeaders[g]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((m,g)=>m.set(g,n.setParams[g]),u)),new wc(t,i,s,{params:u,headers:c,context:d,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var to=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(to||{});class fh{constructor(n,t=bc.Ok,i="OK"){this.headers=n.headers||new cn,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 N2 extends fh{constructor(n={}){super(n),this.type=to.ResponseHeader}clone(n={}){return new N2({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 Ho extends fh{constructor(n={}){super(n),this.type=to.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Ho({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 Bo extends fh{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}}var bc=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(bc||{});function ph(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,transferCache:e.transferCache}}let Gi=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof wc)o=t;else{let l,c;l=r.headers instanceof cn?r.headers:new cn(r.headers),r.params&&(c=r.params instanceof li?r.params:new li({fromObject:r.params})),o=new wc(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,transferCache:r.transferCache})}const s=G(o).pipe(pa(l=>this.handler.handle(l)));if(t instanceof wc||"events"===r.observe)return s;const a=s.pipe(mt(l=>l instanceof Ho));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ce(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(ce(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(ce(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ce(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 li).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,ph(r,i))}post(t,i,r={}){return this.request("POST",t,ph(r,i))}put(t,i,r={}){return this.request("PUT",t,ph(r,i))}static{this.\u0275fac=function(i){return new(i||e)(x(F2))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();function Dw(e,n){return n(e)}function mB(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const vB=new P(""),Cc=new P(""),Mw=new P(""),xw=new P("");function yB(){let e=null;return(n,t)=>{null===e&&(e=(k(vB,{optional:!0})??[]).reduceRight(mB,Dw));const i=k(Gr),r=i.add();return e(n,t).pipe(ma(()=>i.remove(r)))}}let Tw=(()=>{class e extends F2{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=k(Gr);const r=k(xw,{optional:!0});this.backend=r??t}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Cc),...this.injector.get(Mw,[])]));this.chain=r.reduceRight((o,s)=>function gB(e,n,t){return(i,r)=>Ri(t,()=>n(i,o=>e(o,r)))}(o,s,this.injector),Dw)}const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(ma(()=>this.pendingTasks.remove(i)))}static{this.\u0275fac=function(i){return new(i||e)(x(ga),x(nn))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const SB=/^\)\]\}',?\n/;let kw=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new T(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Mt(i.\u0275loadImpl()):G(null)).pipe(Qn(()=>new $e(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEac
1h((y,C)=>s.setRequestHeader(y,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const y=t.detectContentTypeHeader();null!==y&&s.setRequestHeader("Content-Type",y)}if(t.responseType){const y=t.responseType.toLowerCase();s.responseType="json"!==y?y:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const y=s.statusText||"OK",C=new cn(s.getAllResponseHeaders()),S=function DB(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new N2({headers:C,status:s.status,statusText:y,url:S}),l},u=()=>{let{headers:y,status:C,statusText:S,url:D}=c(),A=null;C!==bc.NoContent&&(A=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=A?bc.Ok:0);let L=C>=200&&C<300;if("json"===t.responseType&&"string"==typeof A){const q=A;A=A.replace(SB,"");try{A=""!==A?JSON.parse(A):null}catch(oe){A=q,L&&(L=!1,A={error:oe,text:A})}}L?(o.next(new Ho({body:A,headers:y,status:C,statusText:S,url:D||void 0})),o.complete()):o.error(new Bo({error:A,headers:y,status:C,statusText:S,url:D||void 0}))},d=y=>{const{url:C}=c(),S=new Bo({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});o.error(S)};let m=!1;const g=y=>{m||(o.next(c()),m=!0);let C={type:to.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(C.total=y.total),"text"===t.responseType&&s.responseText&&(C.partialText=s.responseText),o.next(C)},v=y=>{let C={type:to.UploadProgress,loaded:y.loaded};y.lengthComputable&&(C.total=y.total),o.next(C)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",g),null!==a&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:to.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",g),null!==a&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||e)(x(q_))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const vh=new P(""),zw=new P("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Iw=new P("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Aw{}let TB=(()=>{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=R_(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(ri),x(zw))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();function EB(e,n){const t=e.url.toLowerCase();if(!k(vh)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=k(Aw).getToken(),r=k(Iw);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var no=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(no||{});function Yo(e,n){return{\u0275kind:e,\u0275providers:n}}function kB(...e){const n=[Gi,kw,Tw,{provide:F2,useExisting:Tw},{provide:ga,useExisting:kw},{provide:Cc,useValue:EB,multi:!0},{provide:vh,useValue:!0},{provide:Aw,useClass:TB}];for(const t of e)n.push(...t.\u0275providers);return bo(n)}const Pw=new P("");let IB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({providers:[kB(Yo(no.LegacyInterceptors,[{provide:Pw,useFactory:yB},{provide:Cc,useExisting:Pw,multi:!0}]))]})}}return e})();const Ow="b",Rw="h",Fw="s",Lw="st",Nw="u",Vw="rt",V2=new P(""),AB=["GET","HEAD"];function PB(e,n){const{isCacheActive:t,...i}=k(V2),{transferCache:r,method:o}=e;if(!t||"POST"===o&&!i.includePostRequests&&!r||"POST"!==o&&!AB.includes(o)||!1===r||!1===i.filter?.(e))return n(e);const s=k(ks),a=function RB(e){const{params:n,method:t,responseType:i,url:r}=e,o=Hw(n);let s=e.serializeBody();s instanceof URLSearchParams?s=Hw(s):"string"!=typeof s&&(s="");const l=function FB(e){let n=0;for(const t of e)n=Math.imul(31,n)+t.charCodeAt(0)|0;
1return n+=2147483648,n.toString()}([t,i,r,s,o].join("|"));return l}(e),l=s.get(a,null);let c=i.includeHeaders;if("object"==typeof r&&r.includeHeaders&&(c=r.includeHeaders),l){const{[Ow]:d,[Vw]:m,[Rw]:g,[Fw]:v,[Lw]:y,[Nw]:C}=l;let S=d;switch(m){case"arraybuffer":S=(new TextEncoder).encode(d).buffer;break;case"blob":S=new Blob([d])}let D=new cn(g);return G(new Ho({body:S,headers:D,status:v,statusText:y,url:C}))}const u=oh(k(ri));return n(e).pipe(Yt(d=>{d instanceof Ho&&u&&s.set(a,{[Ow]:d.body,[Rw]:OB(d.headers,c),[Fw]:d.status,[Lw]:d.statusText,[Nw]:d.url||"",[Vw]:e.responseType})}))}function OB(e,n){if(!n)return{};const t={};for(const i of n){const r=e.getAll(i);null!==r&&(t[i]=r)}return t}function Hw(e){return[...e.keys()].sort().map(n=>`${n}=${e.getAll(n)}`).join("&")}function LB(e){return[{provide:V2,useFactory:()=>(Ci("NgHttpTransferCache"),{isCacheActive:!0,...e})},{provide:Mw,useValue:PB,multi:!0,deps:[ks,V2]},{provide:u2,multi:!0,useFactory:()=>{const n=k(xi),t=k(V2);return()=>{Ay(n).then(()=>{t.isCacheActive=!1})}}}]}class NB extends xN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class yh extends NB{static makeCurrent(){!function MN(e){C_??=e}(new yh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}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 VB(){return Sc=Sc||document.querySelector("base"),Sc?Sc.getAttribute("href"):null}();return null==t?null:function HB(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Sc=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return R_(document.cookie,n)}}let Sc=null,YB=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const _h=new P("");let Bw=(()=>{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)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static{this.\u0275fac=function(i){return new(i||e)(x(_h),x(J))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();class Yw{constructor(n){this._doc=n}}const wh="ng-app-id";let jw=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=oh(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${wh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(wh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(wh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(s4),x(a4,8),x(ri))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const bh={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/"},Ch=/%COMP%/g,qB=new P("",{providedIn:"root",factory:()=>!0});function $w(e,n){return n.map(t=>t.replace(Ch,e))}let Sh=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=oh(a),this.defaultRenderer=new Dh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===pi.ShadowDom&&(i={...i,encapsulation:pi.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof Ww?r.applyToHost(t):r instanceof Mh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case pi.Emulated:o=new Ww(l,c,i,this.appId,u,s,a,d);break;case pi.ShadowDom:return new ZB(l,c,t,i,s,a,this.nonce,d);
1default:o=new Mh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||e)(x(Bw),x(jw),x(s4),x(qB),x(ye),x(ri),x(J),x(a4))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();class Dh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(bh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(qw(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(qw(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);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=bh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=bh[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&(Ur.DashCase|Ur.Important)?n.style.setProperty(t,i,r&Ur.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ur.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=_r().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function qw(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ZB extends Dh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=$w(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}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)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Mh extends Dh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?$w(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ww extends Mh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function WB(e){return"_ngcontent-%COMP%".replace(Ch,e)}(c),this.hostAttr=function GB(e){return"_nghost-%COMP%".replace(Ch,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let QB=(()=>{class e extends Yw{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)}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const Gw=["alt","control","meta","shift"],XB={"\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"},JB={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let eY=(()=>{class e extends Yw{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(()=>_r().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-1&&(i.splice(a,1),s="code."),Gw.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=XB[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"),Gw.forEach(s=>{s!==r&&(0,JB[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}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();const rY=Vy(BL,"browser",[{provide:ri,useValue:U_},{provide:Ym,useValue:function tY(){yh.makeCurrent()},multi:!0},{provide:ye,useFactory:function iY(){return function Rk(e){P3=e}(document),document},deps:[]}]),oY=new P(""),Qw=[{provide:c2,useClass:class BB{addToWindow(n){ze.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},ze.getAllAngularTestabilities=()=>n.getAllTestabilities(),ze.getAllAngularRootElements=()=>n.getAllRootElements(),ze.frameworkStabilizers||(ze.frameworkStabilizers=[]),ze.frameworkStabilizers.push(i=>{const r=ze.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?_r().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Ty,useClass:E8,deps:[J,k8,c2]},{provide:E8,useClass:E8,deps:[J,k8,c2]}],Xw=[{provide:Kd,useValue:"root"},{provide:Yi,useFactory:function nY(){return new Yi},deps:[]},{provide:_h,useClass:QB,multi:!0,deps:[ye,J,ri]},{provide:_h,useClass:eY,multi:!0,deps:[ye]},Sh,jw,Bw,{provide:Nl,useExisting:Sh},{provide:q_,useClass:YB,deps:[]},[]];let Jw=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:s4,useValue:t.appId}]}}static{this.\u0275fac=function(i){return new(i||e)(x(oY,12))}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({providers:[...Xw,...Qw],imports:[fa,YL]})}}return e})(),eb=(()=>{class e{constructor(t){this._doc=t,this._dom=_r()}addTag(t,i=!1){return t?this._getOrCreateElement(t,i):null}addTags(t,i=!1){return t?t.reduce((r,o)=>(o&&r.push(this._getOrCreateElement(o,i)),r),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const i=this._doc.querySelectorAll(`meta[${t}]`);return i?[].slice.call(i):[]}updateTag(t,i){if(!t)return null;i=i||this._parseSelector(t);const r=this.getTag(i);return r?this._setMetaElementAttributes(t,r):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,i=!1){if(!i){const s=this._parseSelector(t),a=this.getTags(s).filter(l=>this._containsAttributes(t,l))[0];if(void 0!==a)return a}const r=this._dom.createElement("meta");return this._setMetaElementAttributes(t,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(t,i){return Object.keys(t).forEach(r=>i.setAttribute(this._getMetaKeyMap(r),t[r])),i}_parseSelector(t){const i=t.name?"name":"property";return`${i}="${t[i]}"`}_containsAttributes(t,i){return Object.keys(t).every(r=>i.getAttribute(this._getMetaKeyMap(r))===t[r])}_getMetaKeyMap(t){return sY[t]||t}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const sY={httpEquiv:"http-equiv"};let xh=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),va=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:function(i){let r=null;return r=i?new(i||e):x(uY),r},providedIn:"root"})}}return e})(),uY=(()=>{class e extends va{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case zn.NONE:return i;case zn.HTML:return ji(i,"HTML")?$n(i):a7(this._doc,String(i)).toString();case zn.STYLE:return ji(i,"Style")?$n(i):i;case zn.SCRIPT:if(ji(i,"Script"))return $n(i);throw new T(5200,!1);case zn.URL:return ji(i,"URL")?$n(i):m4(String(i));case zn.RESOURCE_URL:if(ji(i,"ResourceURL"))return $n(i);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(t){return function iz(e){return new Qk(e)}(t)}bypassSecurityTrustStyle(t){return function rz(e){return new Xk(e)}(t)}bypassSecurityTrustScript(t){return function oz(e){return new Jk(e)}(t)}bypassSecurityTrustUrl(t){return function sz(e){return new ez(e)}(t)}bypassSecurityTrustResourceUrl(t){return function az(e){return new tz(e)}(t)}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Dc=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e}(Dc||{});function dY(...e){const n=[],t=new Set,i=t.has(Dc.HttpTransferCacheOptions);for(const{\u0275providers:r,\u0275kind:o}of e)t.add(o),r.length&&n.push(r);return bo([[],sN(),t.has(Dc.NoHttpTransferCache)||i?[]:LB({}),n])}const{isArray:fY}=Array,{getPrototypeOf:pY,prototype:mY,keys:gY}=Object;function rb(e){if(1===e.length){const n=e[0];if(fY(n))return{args:n,keys:null};if(function vY(e){return e&&"object"==typeof e&&pY(e)===mY}(n)){const t=gY(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:yY}=Array;function Th(e){return ce(n=>function _Y(e,n){return yY(n)?e(...n):e(n)}(e,n))}function ob(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function Eh(...e){const n=_c(e),t=nw(e),{args:i,keys:r}=rb(e);if(0===i.length)return Mt([],n);const o=new $e(function wY(e,n,t=Fr){return i=>{sb(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)sb(n,()=>{const c=Mt(e[l],n);let u=!1;c.subscribe(st(i,d=>{o[l]=d,u||(u=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}
1))},i)},i)}}(i,n,r?s=>ob(r,s):Fr));return t?o.pipe(Th(t)):o}function sb(e,n,t){e?Dr(t,e,n):n()}function ya(e=1/0){return Xt(Fr,e)}function kh(...e){return function bY(){return ya(1)}()(Mt(e,_c(e)))}function zh(e){return new $e(n=>{bn(e()).subscribe(n)})}function Mc(e,n){const t=De(e)?e:()=>e,i=r=>r.error(t());return new $e(n?r=>n.schedule(i,0,r):i)}function Ih(){return pt((e,n)=>{let t=null;e._refCount++;const i=st(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 ab extends $e{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Wp(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 et;const t=this.getSubject();n.add(this.source.subscribe(st(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=et.EMPTY)}return n}refCount(){return Ih()(this)}}function _a(...e){const n=_c(e);return pt((t,i)=>{(n?kh(e,t,n):kh(e,t)).subscribe(i)})}function io(e){return pt((n,t)=>{let o,i=null,r=!1;i=n.subscribe(st(t,void 0,void 0,s=>{o=bn(e(s,io(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function Ah(e){return e<=0?()=>fi:pt((n,t)=>{let i=[];n.subscribe(st(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 Ph(e){return ce(()=>e)}function rt(e){return pt((n,t)=>{bn(e).subscribe(st(t,()=>t.complete(),bd)),!t.closed&&n.subscribe(t)})}const ue="primary",xc=Symbol("RouteTitle");class MY{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 wa(e){return new MY(e)}function xY(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 Ki(e,n){const t=e?Oh(e):void 0,i=n?Oh(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],!lb(e[r],n[r]))return!1;return!0}function Oh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function lb(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 cb(e){return e.length>0?e[e.length-1]:null}function ro(e){return function hY(e){return!!e&&(e instanceof $e||De(e.lift)&&De(e.subscribe))}(e)?e:hc(e)?Mt(Promise.resolve(e)):G(e)}const EY={exact:function hb(e,n,t){if(!jo(e.segments,n.segments)||!H2(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!hb(e.children[i],n.children[i],t))return!1;return!0},subset:fb},ub={exact:function kY(e,n){return Ki(e,n)},subset:function zY(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>lb(e[t],n[t]))},ignored:()=>!0};function db(e,n,t){return EY[t.paths](e.root,n.root,t.matrixParams)&&ub[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function fb(e,n,t){return pb(e,n,n.segments,t)}function pb(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!jo(r,t)||n.hasChildren()||!H2(r,t,i))}if(e.segments.length===t.length){if(!jo(e.segments,t)||!H2(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!fb(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!!(jo(e.segments,r)&&H2(e.segments,r,i)&&e.children[ue])&&pb(e.children[ue],n,o,i)}}function H2(e,n,t){return n.every((i,r)=>ub[t](e[r].parameters,i.parameters))}class ba{constructor(n=new Ve([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=wa(this.queryParams),this._queryParamMap}toString(){return PY.serialize(this)}}class Ve{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>
1i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return B2(this)}}class Tc{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=wa(this.parameters),this._parameterMap}toString(){return vb(this)}}function jo(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let Ca=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>new Rh,providedIn:"root"})}}return e})();class Rh{parse(n){const t=new UY(n);return new ba(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ec(n.root,!0)}`,i=function FY(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${Y2(t)}=${Y2(r)}`).join("&"):`${Y2(t)}=${Y2(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function OY(e){return encodeURI(e)}(n.fragment)}`:""}`}}const PY=new Rh;function B2(e){return e.segments.map(n=>vb(n)).join("/")}function Ec(e,n){if(!e.hasChildren())return B2(e);if(n){const t=e.children[ue]?Ec(e.children[ue],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==ue&&i.push(`${r}:${Ec(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function AY(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===ue&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==ue&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===ue?[Ec(e.children[ue],!1)]:[`${r}:${Ec(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ue]?`${B2(e)}/${t[0]}`:`${B2(e)}/(${t.join("//")})`}}function mb(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Y2(e){return mb(e).replace(/%3B/gi,";")}function Fh(e){return mb(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function j2(e){return decodeURIComponent(e)}function gb(e){return j2(e.replace(/\+/g,"%20"))}function vb(e){return`${Fh(e.path)}${function RY(e){return Object.entries(e).map(([n,t])=>`;${Fh(n)}=${Fh(t)}`).join("")}(e.parameters)}`}const LY=/^[^\/()?;#]+/;function Lh(e){const n=e.match(LY);return n?n[0]:""}const NY=/^[^\/()?;=#]+/,HY=/^[^=?&#]+/,YY=/^[^&#]+/;class UY{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){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[ue]=new Ve(n,t)),i}parseSegment(){const n=Lh(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(n),new Tc(j2(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function VY(e){const n=e.match(NY);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=Lh(this.remaining);r&&(i=r,this.capture(i))}n[j2(t)]=j2(i)}parseQueryParam(n){const t=function BY(e){const n=e.match(HY);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function jY(e){const n=e.match(YY);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=gb(t),o=gb(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=Lh(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new T(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ue);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ue]:new Ve([],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 T(4011,!1)}}function yb(e){return e.segments.length>0?new Ve([],{[ue]:e}):e}function _b(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=_b(r);if(i===ue&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function $Y(e){if(1===e.numberOfChildren&&e.children[ue]){const n=e.children[ue];return new Ve(e.segments.concat(n.segments),n.children)}return e}(new Ve(e.segments,n))}function Sa(e){return e instanceof ba}function wb(e){let n;const r=yb(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Ve(o.url,s);return o===e&&(n=a),a}(e.root));return n??r}function bb(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Nh(r,r,r,t,i);const o=function WY(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Sb(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,s)=>
1{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...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 Sb(t,n,i)}(n);if(o.toRoot())return Nh(r,r,new Ve([],{}),t,i);const s=function GY(e,n,t){if(e.isAbsolute)return new $2(n,!0,0);if(!t)return new $2(n,!1,NaN);if(null===t.parent)return new $2(t,!0,0);const i=U2(e.commands[0])?0:1;return function KY(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new T(4005,!1);r=i.segments.length}return new $2(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),a=s.processChildren?zc(s.segmentGroup,s.index,o.commands):Db(s.segmentGroup,s.index,o.commands);return Nh(r,s.segmentGroup,a,t,i)}function U2(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function kc(e){return"object"==typeof e&&null!=e&&e.outlets}function Nh(e,n,t,i,r){let s,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:Cb(e,n,t);const a=yb(_b(s));return new ba(a,o,r)}function Cb(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:Cb(o,n,t)}),new Ve(e.segments,i)}class Sb{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&U2(i[0]))throw new T(4003,!1);const r=i.find(kc);if(r&&r!==cb(i))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $2{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function Db(e,n,t){if(e??=new Ve([],{}),0===e.segments.length&&e.hasChildren())return zc(e,n,t);const i=function QY(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(kc(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!xb(l,c,s))return o;i+=2}else{if(!xb(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 Ve(e.segments.slice(0,i.pathIndex),{});return o.children[ue]=new Ve(e.segments.slice(i.pathIndex),e.children),zc(o,0,r)}return i.match&&0===r.length?new Ve(e.segments,{}):i.match&&!e.hasChildren()?Vh(e,n,t):i.match?zc(e,0,r):Vh(e,n,t)}function zc(e,n,t){if(0===t.length)return new Ve(e.segments,{});{const i=function ZY(e){return kc(e[0])?e[0].outlets:{[ue]:e}}(t),r={};if(Object.keys(i).some(o=>o!==ue)&&e.children[ue]&&1===e.numberOfChildren&&0===e.children[ue].segments.length){const o=zc(e.children[ue],n,t);return new Ve(e.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=Db(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===i[o]&&(r[o]=s)}),new Ve(e.segments,r)}}function Vh(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const o=t[r];if(kc(o)){const l=XY(o.outlets);return new Ve(i,l)}if(0===r&&U2(t[0])){i.push(new Tc(e.segments[n].path,Mb(t[0]))),r++;continue}const s=kc(o)?o.outlets[ue]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&U2(a)?(i.push(new Tc(s,Mb(a))),r+=2):(i.push(new Tc(s,{})),r++)}return new Ve(i,{})}function XY(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Vh(new Ve([],{}),0,i))}),n}function Mb(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function xb(e,n,t){return e==t.path&&Ki(n,t.parameters)}const Ic="imperative";var _e=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(_e||{});class Zi{constructor(n,t){this.id=n,this.url=t}}class q2 extends Zi{constructor(n,t,i="imperative",r=null){super(n,t),this.type=_e.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Qi extends Zi{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Xn=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
1solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Xn||{}),W2=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(W2||{});class Da extends Zi{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ma extends Zi{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=_e.NavigationSkipped}}class G2 extends Zi{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Tb extends Zi{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JY extends Zi{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ej extends Zi{constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tj extends Zi{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nj extends Zi{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ij{constructor(n){this.route=n,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rj{constructor(n){this.route=n,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oj{constructor(n){this.snapshot=n,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sj{constructor(n){this.snapshot=n,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aj{constructor(n){this.snapshot=n,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lj{constructor(n){this.snapshot=n,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eb{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=_e.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Hh{}class Bh{constructor(n){this.url=n}}class cj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ac,this.attachRef=null}}let Ac=(()=>{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);return i||(i=new cj,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class kb{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=Yh(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Yh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=jh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return jh(n,this._root).map(t=>t.value)}}function Yh(e,n){if(e===n.value)return n;for(const t of n.children){const i=Yh(e,t);if(i)return i}return null}function jh(e,n){if(e===n.value)return[n];for(const t of n.children){const i=jh(e,t);if(i.length)return i.unshift(n),i}return[]}class ki{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function xa(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class zb extends kb{constructor(n,t){super(n),this.snapshot=t,qh(this,n)}toString(){return this.snapshot.toString()}}function Ib(e){const n=function uj(e){const o=new $h([],{},{},"",{},ue,e,null,{});return new Ab("",new ki(o,[]))}(e),t=new xn([new Tc("",{})]),i=new xn({}),r=new xn({}),o=new xn({}),s=new xn(""),a=new Mr(t,i,o,s,r,ue,e,n.root);return a.snapshot=n.root,new zb(new ki(a,[]),n)}class Mr{constructor(n,t,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ce(c=>c[xc]))??G(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}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.params.pipe(ce(n=>wa(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ce(n=>wa(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Uh(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&Ob(r)&&(i.resolve[xc]=r.title),i}class $h{get title(){return this.data?.[xc]}constructor(n,t,i,r,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=wa(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=wa(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ab extends kb{constructor(n,t){super(t),this.url=n,qh(this,t)}toString(){return Pb(this._root)}}function qh(e,n){n.value._routerState=e,n.children.forEach(t=>qh(e,t))}function Pb(e){const n=e.children.length>0?` { ${e.children.map(Pb).join(", ")} } `:"";return`${e.value}${n}`}function Wh(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Ki(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Ki(n.params,t.params)||e.paramsSubject.next(t.params),function TY(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Ki(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),Ki(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Gh(e,n){const t=Ki(e.params,n.params)&&function IY(e,n){return jo(e,n)&&e.every((t,i)=>Ki(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Gh(e.parent,n.parent))}function Ob(e){return"string"==typeof e.title||null===e.title}let Kh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ue,this.activateEvents=new U,this.deactivateEvents=new U,this.attachEvents=new U,this.detachEvents=new U,this.parentContexts=k(Ac),this.location=k(Kt),this.changeDetector=k(Qt),this.environmentInjector=k(nn),this.inputBinder=k(K2,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);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 T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);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.inputBinder?.bindActivatedRouteToOutletComponent(this),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 T(4013,!1);this._activatedRoute=t;
1const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Zh(t,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=H({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yt]})}}return e})();class Zh{__ngOutletInjector(n){return new Zh(this.route,this.childContexts,n)}constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===Mr?this.route:n===Ac?this.childContexts:this.parent.get(n,t)}}const K2=new P("");let Rb=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,r=Eh([i.queryParams,i.params,i.data]).pipe(Qn(([o,s,a],l)=>(a={...o,...s,...a},0===l?G(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const s=function DN(e){const n=he(e);if(!n)return null;const t=new Yl(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();function Pc(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function hj(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Pc(e,i,r);return Pc(e,i)})}(e,n,t);return new ki(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=>Pc(e,a)),s}}const i=function fj(e){return new Mr(new xn(e.url),new xn(e.params),new xn(e.queryParams),new xn(e.fragment),new xn(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>Pc(e,o));return new ki(i,r)}}const Fb="ngNavigationCancelingError";function Lb(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=Sa(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=Nb(!1,Xn.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function Nb(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[Fb]=!0,t.cancellationCode=n,t}function Vb(e){return!!e&&e[Fb]}let Hb=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ve({type:e,selectors:[["ng-component"]],standalone:!0,features:[It],decls:1,vars:0,template:function(i,r){1&i&&_(0,"router-outlet")},dependencies:[Kh],encapsulation:2})}}return e})();function Qh(e){const n=e.children&&e.children.map(Qh),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ue&&(t.component=Hb),t}function Xi(e){return e.outlet||ue}function Oc(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 bj{constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}
1activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),Wh(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=xa(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{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=xa(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(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=xa(n);for(const s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=xa(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new lj(o.value.snapshot))}),n.children.length&&this.forwardEvent(new sj(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(Wh(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),Wh(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Oc(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class Bb{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Z2{constructor(n,t){this.component=n,this.route=t}}function Cj(e,n,t){const i=e._root;return Rc(i,n?n._root:null,t,[i.value])}function Ta(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function mT(e){return null!==T1(e)}(e)?n.get(e):e:i}function Rc(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=xa(n);return e.children.forEach(s=>{(function Dj(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 Mj(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!jo(e.url,n.url);case"pathParamsOrQueryParamsChange":return!jo(e.url,n.url)||!Ki(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gh(e,n)||!Ki(e.queryParams,n.queryParams);default:return!Gh(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Bb(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Rc(e,n,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Z2(a.outlet.component,s))}else s&&Fc(n,a,r),r.canActivateChecks.push(new Bb(i)),Rc(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]}),Object.entries(o).forEach(([s,a])=>Fc(a,t.getContext(s),r)),r}function Fc(e,n,t){const i=xa(e),r=e.value;Object.entries(i).forEach(([o,s])=>{Fc(s,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Z2(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Lc(e){return"function"==typeof e}function Yb(e){return e instanceof Za||"EmptyError"===e?.name}const Q2=Symbol("INITIAL_VALUE");function Ea(){return Qn(e=>Eh(e.map(n=>n.pipe(pn(1),_a(Q2)))).pipe(ce(n=>{for(const t of n)if(!0!==t){if(t===Q2)return Q2;if(!1===t||t instanceof ba)return t}return!0}),mt(n=>n!==Q2),pn(1)))}function jb(e){return jp(Yt(n=>{if(Sa(n))throw Lb(0,n)}),ce(n=>!0===n))}class Xh{constructor(n){this.segmentGroup=n||null}}
1class Jh extends Error{constructor(n){super(),this.urlTree=n}}function ka(e){return Mc(new Xh(e))}class Uj{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return G(i);if(r.numberOfChildren>1||!r.children[ue])return Mc(new T(4e3,!1));r=r.children[ue]}}applyRedirectCommands(n,t,i){const r=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t.startsWith("/"))throw new Jh(r);return r}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new ba(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=t[a]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Ve(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 T(4001,!1);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}}const e6={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $j(e,n,t,i,r){const o=t6(e,n,t);return o.matched?(i=function mj(e,n){return e.providers&&!e._injector&&(e._injector=H4(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function Bj(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?G(r.map(s=>{const a=Ta(s,e);return ro(function Ij(e){return e&&Lc(e.canMatch)}(a)?a.canMatch(n,t):Ri(e,()=>a(n,t)))})).pipe(Ea(),jb()):G(!0)}(i,n,t).pipe(ce(s=>!0===s?o:{...e6}))):G(o)}function t6(e,n,t){if("**"===n.path)return function qj(e){return{matched:!0,parameters:e.length>0?cb(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...e6}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||xY)(t,e,n);if(!r)return{...e6};const o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.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 Ub(e,n,t,i){return t.length>0&&function Kj(e,n,t){return t.some(i=>X2(e,n,i)&&Xi(i)!==ue)}(e,t,i)?{segmentGroup:new Ve(n,Gj(i,new Ve(t,e.children))),slicedSegments:[]}:0===t.length&&function Zj(e,n,t){return t.some(i=>X2(e,n,i))}(e,t,i)?{segmentGroup:new Ve(e.segments,Wj(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Ve(e.segments,e.children),slicedSegments:t}}function Wj(e,n,t,i){const r={};for(const o of t)if(X2(e,n,o)&&!i[Xi(o)]){const s=new Ve([],{});r[Xi(o)]=s}return{...i,...r}}function Gj(e,n){const t={};t[ue]=n;for(const i of e)if(""===i.path&&Xi(i)!==ue){const r=new Ve([],{});t[Xi(i)]=r}return t}function X2(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class Jj{}class nU{constructor(n,t,i,r,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Uj(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new T(4002,`'${n.segmentGroup}'`)}recognize(){const n=Ub(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ce(t=>{const i=new $h([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ue,this.rootComponentType,null,{}),r=new ki(i,t),o=new Ab("",r),s=function qY(e,n,t=null,i=null){return bb(wb(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,ue).pipe(io(i=>{if(i instanceof Jh)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Xh?this.noMatchError(i):i}))}inheritParamsAndData(n,t){const i=n.value,r=Uh(i,t,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),n.children.forEac
1h(o=>this.inheritParamsAndData(o,i))}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,!0).pipe(ce(o=>o instanceof ki?[o]:[]))}processChildren(n,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Mt(r).pipe(pa(o=>{const s=i.children[o],a=function _j(e,n){const t=e.filter(i=>Xi(i)===n);return t.push(...e.filter(i=>Xi(i)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function SY(e,n){return pt(function CY(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(st(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()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),D1(null),function DY(e,n){const t=arguments.length>=2;return i=>i.pipe(e?mt((r,o)=>e(r,o,i)):Fr,Ah(1),t?D1(n):Gp(()=>new Za))}(),Xt(o=>{if(null===o)return ka(i);const s=$b(o);return function iU(e){e.sort((n,t)=>n.value.outlet===ue?-1:t.value.outlet===ue?1:n.value.outlet.localeCompare(t.value.outlet))}(s),G(s)}))}processSegment(n,t,i,r,o,s){return Mt(t).pipe(pa(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,i,r,o,s).pipe(io(l=>{if(l instanceof Xh)return G(null);throw l}))),cr(a=>!!a),io(a=>{if(Yb(a))return function Xj(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?G(new Jj):ka(i);throw a}))}processSegmentAgainstRoute(n,t,i,r,o,s,a){return function Qj(e,n,t,i){return!!(Xi(e)===i||i!==ue&&X2(n,t,e))&&t6(n,e,t).matched}(i,r,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,s):ka(r):ka(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=t6(t,r,o);if(!a)return ka(t);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,d).pipe(Xt(m=>this.processSegment(n,i,t,m.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,i,r,o){const s=$j(t,i,r,n);return"**"===i.path&&(t.children={}),s.pipe(Qn(a=>a.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Qn(({routes:l})=>{const c=i._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:m}=a,g=new $h(u,m,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function oU(e){return e.data||{}}(i),Xi(i),i.component??i._loadedComponent??null,i,function sU(e){return e.resolve||{}}(i)),{segmentGroup:v,slicedSegments:y}=Ub(t,u,d,l);if(0===y.length&&v.hasChildren())return this.processChildren(c,l,v).pipe(ce(S=>null===S?null:new ki(g,S)));if(0===l.length&&0===y.length)return G(new ki(g,[]));const C=Xi(i)===o;return this.processSegment(c,l,v,y,C?ue:o,!0).pipe(ce(S=>new ki(g,S instanceof ki?[S]:[])))})):ka(t)))}getChildConfig(n,t,i){return t.children?G({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?G({routes:t._loadedRoutes,injector:t._loadedInjector}):function Hj(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?G(!0):G(r.map(s=>{const a=Ta(s,e);return ro(function Tj(e){return e&&Lc(e.canLoad)}(a)?a.canLoad(n,t):Ri(e,()=>a(n,t)))})).pipe(Ea(),jb())}(n,t,i).pipe(Xt(r=>r?this.configLoader.loadChildren(n,t).pipe(Yt(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function jj(e){return Mc(Nb(!1,Xn.GuardRejected))}())):G({routes:[],injector:n})}}function rU(e){const n=e.value.routeConfig;return n&&""===n.path}function $b(e){const n=[],t=new Set;for(const i of e){if(!rU(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=$b(i.children);n.push(new ki(i.value,r))}return n.filter(i=>!t.has(i))}function qb(e){const n=e.children.map(t=>qb(t)).flat();return[e,...n]}function n6(e){return Qn(n=>{const t=e(n);return t?Mt(t).pipe(ce(()=>n)):G(n)})}let Wb=(()=>{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===ue);return i}getResolvedTitleForRoute(t){return t.data[xc]}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(hU),providedIn:"root"})}}return e})(),hU=(()=>{class e extends Wb{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||e)(x(xh))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const za=new P("",{providedIn:"root",factory:()=>({})}),Ia=new P("");let i6=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=k(Py)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return G(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=ro(t.loadComponent()).pipe(ce(Gb),Yt(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),ma(()=>{this.componentLoaders.delete(t)})),r=new ab(i,()=>new N).pipe(Ih());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return G({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function fU(e,n,t,i){return ro(e.loadChildren()).pipe(ce(Gb),Xt(r=>r instanceof Gg||Array.isArray(r)?G(r):Mt(n.compileModuleAsync(r))),ce(r=>{i&&i(e);let o,s,a=!1;return Array.isArray(r)?(s=r,!0):(o=r.create(t).injector,s=o.get(Ia,[],{optional:!0,self:!0}).flat()),{routes:s.map(Qh),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(ma(()=>{this.childrenLoaders.delete(i)})),s=new ab(o,()=>new N).pipe(Ih());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Gb(e){return function pU(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let r6=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(mU),providedIn:"root"})}}return e})(),mU=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Kb=new P(""),Zb=new P("");function gU(e,n,t){const i=e.get(Zb),r=e.get(ye);return e.get(J).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o;const s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),function vU(e){return new Promise(n=>{A0(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&Ri(e,()=>l({transition:a,from:n,to:t})),s})}let J2=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new N,this.transitionAbortSubject=ne
1w N,this.configLoader=k(i6),this.environmentInjector=k(nn),this.urlSerializer=k(Ca),this.rootContexts=k(Ac),this.location=k(ca),this.inputBindingEnabled=null!==k(K2,{optional:!0}),this.titleStrategy=k(Wb),this.options=k(za,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=k(r6),this.createViewTransition=k(Kb,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>G(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new rj(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new ij(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new xn({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ic,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(mt(o=>0!==o.id),ce(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Qn(o=>{let s=!1,a=!1;return G(o).pipe(Qn(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",Xn.SupersededByNewNavigation),fi;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new Ma(l.id,this.urlSerializer.serialize(l.rawUrl),d,W2.IgnoredSameUrlNavigation)),l.resolve(null),fi}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return G(l).pipe(Qn(d=>{const m=this.transitions?.getValue();return this.events.next(new q2(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),m!==this.transitions?.getValue()?fi:Promise.resolve(d)}),function aU(e,n,t,i,r,o){return Xt(s=>function eU(e,n,t,i,r,o,s="emptyOnly"){return new nU(e,n,t,i,r,s,o).recognize()}(e,n,t,i,s.extractedUrl,r,o).pipe(ce(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Yt(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const m=new Tb(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:m,source:g,restoredState:v,extras:y}=l,C=new q2(d,this.urlSerializer.serialize(m),g,v);this.events.next(C);const S=Ib(this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:S,urlAfterRedirects:m,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=m,G(o)}{const d="";return this.events.next(new Ma(l.id,this.urlSerializer.serialize(l.extractedUrl),d,W2.IgnoredByUrlHandlingStrategy)),l.resolve(null),fi}}),Yt(l=>{const c=new JY(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ce(l=>(this.currentTransition=o={...l,guards:Cj(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function Aj(e,n){return Xt(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?G({...t,guardsResult:!0}):function Pj(e,n,t,i){return Mt(e).pipe(Xt(r=>
1function Vj(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?G(o.map(a=>{const l=Oc(n)??r,c=Ta(a,l);return ro(function zj(e){return e&&Lc(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):Ri(l,()=>c(e,n,t,i))).pipe(cr())})).pipe(Ea()):G(!0)}(r.component,r.route,t,n,i)),cr(r=>!0!==r,!0))}(s,i,r,e).pipe(Xt(a=>a&&function xj(e){return"boolean"==typeof e}(a)?function Oj(e,n,t,i){return Mt(n).pipe(pa(r=>kh(function Fj(e,n){return null!==e&&n&&n(new oj(e)),G(!0)}(r.route.parent,i),function Rj(e,n){return null!==e&&n&&n(new aj(e)),G(!0)}(r.route,i),function Nj(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function Sj(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=>zh(()=>G(s.guards.map(l=>{const c=Oc(s.node)??t,u=Ta(l,c);return ro(function kj(e){return e&&Lc(e.canActivateChild)}(u)?u.canActivateChild(i,e):Ri(c,()=>u(i,e))).pipe(cr())})).pipe(Ea())));return G(o).pipe(Ea())}(e,r.path,t),function Lj(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return G(!0);const r=i.map(o=>zh(()=>{const s=Oc(n)??t,a=Ta(o,s);return ro(function Ej(e){return e&&Lc(e.canActivate)}(a)?a.canActivate(n,e):Ri(s,()=>a(n,e))).pipe(cr())}));return G(r).pipe(Ea())}(e,r.route,t))),cr(r=>!0!==r,!0))}(i,o,e,n):G(a)),ce(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),Yt(l=>{if(o.guardsResult=l.guardsResult,Sa(l.guardsResult))throw Lb(0,l.guardsResult);const c=new ej(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),mt(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",Xn.GuardRejected),!1)),n6(l=>{if(l.guards.canActivateChecks.length)return G(l).pipe(Yt(c=>{const u=new tj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Qn(c=>{let u=!1;return G(c).pipe(function lU(e,n){return Xt(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return G(t);const o=new Set(r.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of qb(l))s.add(c);let a=0;return Mt(s).pipe(pa(l=>o.has(l)?function cU(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!Ob(r)&&(o[xc]=r.title),function uU(e,n,t,i){const r=Oh(e);if(0===r.length)return G({});const o={};return Mt(r).pipe(Xt(s=>function dU(e,n,t,i){const r=Oc(n)??i,o=Ta(e,r);return ro(o.resolve?o.resolve(n,t):Ri(r,()=>o(n,t)))}(e[s],n,t,i).pipe(cr(),Yt(a=>{o[s]=a}))),Ah(1),Ph(o),io(s=>Yb(s)?fi:Mc(s)))}(o,e,n,i).pipe(ce(s=>(e._resolvedData=s,e.data=Uh(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=Uh(l,l.parent,e).resolve,G(void 0))),Yt(()=>a++),Ah(1),Xt(l=>a===s.size?G(t):fi))})}(this.paramsInheritanceStrategy,this.environmentInjector),Yt({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",Xn.NoDataFromResolver)}}))}),Yt(c=>{const u=new nj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),n6(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(Yt(m=>{u.component=m}),ce(()=>{})));for(const m of u.children)d.push(...c(m));return d};return Eh(c(l.targetSnapshot.root)).pipe(D1(null),pn(1))}),n6(()=>this.afterPreactivation()),Qn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Mt(u).pipe(ce(()=>o)):G(o)}),ce(l=>{const c=function dj(e,n,t){const i=Pc(e,n._root,t?t._root:void 0);return new zb(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),Yt(()=>{this.events.next(new Hh)}),((e,n,t,i)=>ce(r=>(new bj(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),pn(1),Yt({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Qi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),rt(this.transitionAbortSubject.pipe(Yt(l=>{throw l}))),ma(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",Xn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),io(l=>{if(a=!0,Vb(l))this.events.next(new Da(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function pj(e){return Vb(e)&&Sa(e.url)}(l)?this.events.next(new Bh(l.url)):o.resolve(!1);else{this.events.next(new G2(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(c)}}return fi}))}))}cancelNavigationTransition(t,i,r){const o=new Da(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function yU(e){return e!==Ic}let _U=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(bU),providedIn:"root"})}}return e})();class wU{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let bU=(()=>{class e extends wU{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})()}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Qb=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:()=>k(CU),providedIn:"root"})}}return e})(),CU=(()=>{class e extends Qb{constructor(){super(...arguments),this.location=k(ca),this.urlSerializer=k(Ca),this.options=k(za,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=k(r6),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ba,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ib(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof q2)this.stateMemento=this.createStateMemento();else if(t instanceof Ma)this.rawUrlTree=i.initialUrl;else if(t instanceof Tb){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(r,i)}}else t instanceof Hh?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof Da&&(t.code===Xn.GuardRejected||t.code===Xn.NoDataFromResolver)?this.restoreHistory(i):t instanceof G2?this.restoreHistory(i,!0):t instanceof Qi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",o)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})()}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Nc=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Nc||{});function Xb(e,n){e.events.pipe(mt(t=>t instanceof Qi||t instanceof Da||t instanceof G2||t instanceof Ma),ce(t=>t instanceof Qi||t instanceof Ma?Nc.COMPLETE:t instanceof Da&&(t.code===Xn.Redirect||t.code===Xn.SupersededByNewNavigation)?Nc.REDIRECTING:Nc.FAILED),mt(t=>t!==Nc.REDIRECTING),pn(1)).subscribe(()=>{n()})}function SU(e){throw e}const DU={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},MU={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=k(x8),this.stateManager=k(Qb),this.options=k(za,{optional:!0})||{},this.pendingTasks=k(Gr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=k(J2),this.urlSerializer
1=k(Ca),this.location=k(ca),this.urlHandlingStrategy=k(r6),this._events=new N,this.errorHandler=this.options.errorHandler||SU,this.navigated=!1,this.routeReuseStrategy=k(_U),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=k(Ia,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!k(K2,{optional:!0}),this.eventsSubscription=new et,this.isNgZoneEnabled=k(J)instanceof J&&J.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==r&&null!==o)if(this.stateManager.handleRouterEvent(i,o),i instanceof Da&&i.code!==Xn.Redirect&&i.code!==Xn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Qi)this.navigated=!0;else if(i instanceof Bh){const s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),a={info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yU(r.source)};this.scheduleNavigation(s,Ic,null,a,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function TU(e){return!(e instanceof Hh||e instanceof Bh)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ic,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Qh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=wb(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return bb(d,t,u,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=Sa(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ic,null,i)}navigate(t,i={skipLocationChange:!1}){return function xU(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new T(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{...DU}:!1===i?{...MU}:i,Sa(t))return db(this.currentUrlTree,t,r);const o=this.parseUrl(t);return db(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(null!=o&&(i[r]=o),i),{})}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((d,m)=>{a=d,l=m});const u=this.pendingTasks.add();return Xb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),eu=(()=>{class e{constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new N,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Qi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,r,o,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==t||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const i=null===this.href?null:function c7(e,n,t){return function Dz(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?l7:Gt}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||e)(w(xt),w(Mr),function ml(e){return function XE(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(f5(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}(Oe(),e)}("tabindex"),w(vn),w(Re),w(Vo))}}static{this.\u0275dir=H({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){1&i&&z("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&nt("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Q.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Rn],skipLocationChange:[Q.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Rn],replaceUrl:[Q.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Rn],routerLink:"routerLink"},standalone:!0,features:[Wr,yt]})}}return e})(),Jb=(()=>{class e{get isActive(){return this._isActive}constructor(t,i,r,o,s){this.router=t,this.element=i,this.renderer=r,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new U,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Qi&&this.update()})}ngAfterContentInit(){G(this.links.changes,G(null)).pipe(ya()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Mt(t).pipe(ya()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){const i=Array.isArray(t)?t:t.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();
1this.classes.forEach(i=>{t?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){const i=function EU(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{const o=r.urlTree;return!!o&&t.isActive(o,i)}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(i){return new(i||e)(w(xt),w(Re),w(vn),w(Qt),w(eu,8))}}static{this.\u0275dir=H({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,o){if(1&i&&ra(o,eu,5),2&i){let s;Pn(s=On())&&(r.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[yt]})}}return e})();class eC{}let kU=(()=>{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(mt(t=>t instanceof Qi),pa(()=>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=H4(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 Mt(r).pipe(ya())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):G(null);const o=r.pipe(Xt(s=>null===s?G(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?Mt([o,this.loader.loadComponent(i)]).pipe(ya()):o})}static{this.\u0275fac=function(i){return new(i||e)(x(xt),x(Py),x(nn),x(eC),x(i6))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const o6=new P("");let tC=(()=>{class e{constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=k(nn),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof q2?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Qi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ma&&t.code===W2.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Eb&&(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){var r=this;this.zone.runOutsideAngular(dt(function*(){yield new Promise(o=>{setTimeout(()=>{o()}),A0(()=>{o()},{injector:r.environmentInjector})}),r.zone.run(()=>{r.transitions.events.next(new Eb(t,"popstate"===r.lastSource?r.store[r.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){c0()}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();function Ji(e,n){return{\u0275kind:e,\u0275providers:n}}function iC(){const e=k(_t);return n=>{const t=e.get(xi);if(n!==t.components[0])return;const i=e.get(xt),r=e.get(rC);1===e.get(s6)&&i.initialNavigation(),e.get(oC,null,me.Optional)?.setUpPreloading(),e.get(o6,null,me.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const rC=new P("",{factory:()=>new N}),s6=new P("",{providedIn:"root",factory:()=>1}),oC=new P("");function PU(e){return Ji(0,[{provide:oC,useExisting:kU},{provide:eC,useExisting:e}])}function RU(e){return Ji(9,[{provide:Kb,useValue:gU},{provide:Zb,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const sC=new P("ROUTER_FORROOT_GUARD"),FU=[ca,{provide:Ca,useClass:Rh},xt,Ac,{provide:Mr,useFactory:function nC(e){return e.routerState.root},deps:[xt]},i6,[]];let tu=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[FU,[],{provide:Ia,multi:!0,useValue:t},{provide:sC,useFactory:HU,deps:[[xt,new A1,new P1]]},{provide:za,useValue:i||{}},i?.useHash?{provide:Vo,useClass:kN}:{provide:Vo,useClass:M_},{provide:o6,useFactory:()=>{const e=k($_),n=k(J),t=k(za),i=k(J2),r=k(Ca);return t.scrollOffset&&e.setOffset(t.scrollOffset),new tC(r,i,e,n,t)}},i?.preloadingStrategy?PU(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?BU(i):[],i?.bindToComponentInputs?Ji(8,[Rb,{provide:K2,useExisting:Rb}]).\u0275providers:[],i?.enableViewTransitions?RU().\u0275providers:[],[{provide:aC,useFactory:iC},{provide:u2,multi:!0,useExisting:aC}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Ia,multi:!0,useValue:t}]}}static{this.\u0275fac=function(i){return new(i||e)(x(sC,8))}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();function HU(e){return"guarded"}function BU(e){return["disabled"===e.initialNavigation?Ji(3,[{provide:I8,multi:!0,useFactory:()=>{const n=k(xt);return()=>{n.setUpLocationChangeListener()}}},{provide:s6,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ji(2,[{provide:s6,useValue:0},{provide:I8,multi:!0,deps:[_t],useFactory:n=>{const t=n.get(TN,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(xt),o=n.get(rC);Xb(r,()=>{i(!0)}),n.get(J2).afterPreactivation=()=>(i(!0),o.closed?G(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const aC=new P("");function nu(e,n){const t="object"==typeof n;return new Promise((i,r)=>{let s,o=!1;e.subscribe({next:a=>{s=a,o=!0},error:r,complete:()=>{o?i(s):t?i(n.defaultValue):r(new Za)}})})}var re=function(e){return e.DATAMASK="DATAMASK",e.TRIAL="TRIAL",e.PAID_PUSH="PAID_PUSH",e.SLICE="SLICE",e.BRAVE="BRAVE",e.DIRECT="DIRECT",e.X_METAMASK="X_METAMASK",e.X_BRAVE="X_BRAVE",e.X_TRUSTWALLET="X_TRUSTWALLET",e}(re||{}),jt=function(e){return e.INSTALLED="INSTALLED",e.UNINSTALLED="UNINSTALLED",e.CLICKED="CLICKED",e.VISITED="VISITED",e.VISITORS="VISITORS",e.CLICK_DOWNLOAD="CLICK_DOWNLOAD",e.LEAD="LEAD",e.NO_LEAD="NO_LEAD",e.GO2STORE="GO2STORE",e.DOWNLOADED="DOWNLOADED",e.WALLET_CONNECTED="WALLET_CONNECTED",e.EXTENSION="EXTENSION",e}(jt||{}),Ut=function(e){return e.REDIRECT="REDIRECT",e.SUBMIT="SUBMIT",e.CLICK="CLICK",e.DOWNLOAD="DOWNLOAD",e.PAYMENT_LINK="PAYMENT_LINK",e.PAID_PUSH="PAID_PUSH",e.SLICE="SLICE",e.ACCOUNT="ACCOUNT",e.TOTALS="TOTALS",e.PLATFORM="PLATFORM",e.CLAIM="CLAIM",e.DATAMASK="DATAMASK",e.WEBSITE="WEBSITE",e.INSTALL="INSTALL",e}(Ut||{}),Vc=function(e){return e[e.DATAMASK=2]="DATAMASK",e[e.APP=5]="APP",e[e.DAPP=6]="DAPP",e[e.WEBSITE=4]="WEBSITE",e[e.DATAMASK_WEBSITE=9]="DATAMASK_WEBSITE",e}(Vc||{});let Hc=(()=>{class e{constructor(t){this.httpClient=t,this.endpoint="https://analytics.humandataincome.com/matomo.php",this.websiteId=Vc.DATAMASK_WEBSITE}pushEvent(t,i,r,o=0,s=this.websiteId){var a=this;return dt(function*(){const l=a.buildUrl(s,{e_c:t,e_a:`${i}_${r}`,e_n:`${t}_${i}_${r}`,e_v:o});try{yield nu(a.httpClient.get(l,{}))}catch{}})()}pushView(t,i=0,r=0,o=this.websiteId){var s=this;return dt(function*(){const a=new Date,l=s.buildUrl(o,{url:t,res:`${i}x${r}`,h:a.getHours(),m:a.getMinutes(),s:a.getSeconds()});try{yield nu(s.httpClient.get(l,{}))}catch{}})()}buildUrl(t,i){const r={idsite:t,rec:1,rand:this.randomNumber(),...i};return`${this.endpoint}?${new URLSearchParams(r).toString()}`}randomNumber(){return Math.floor(1e3*Math.random())}static{this.\u0275fac=function(i){return new(i||e)(x(Gi))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();
1class jU extends et{constructor(n,t){super()}schedule(n,t=0){return this}}const iu={setInterval(e,n,...t){const{delegate:i}=iu;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=iu;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class a6 extends jU{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 iu.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&&iu.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,w1(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const l6={now:()=>(l6.delegate||Date).now(),delegate:void 0};class Bc{constructor(n,t=Bc.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Bc.now=l6.now;class c6 extends Bc{constructor(n,t=Bc.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 ru=new c6(a6),UU=ru;var zi=function(e){return e.SUBSCRIBE_NEWSLETTER="SUBSCRIBE_NEWSLETTER",e}(zi||{});let ou=(()=>{class e{constructor(){this.notifyDismiss=new N,this.pendingModals=[],this.data=new Map,this.notifyDismiss.pipe(function lC(e,n=ru){return pt((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(st(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(500)).subscribe(()=>{this.data.set(this.pendingModals[0],!0)})}show(t){this.pendingModals.push(t),1===this.pendingModals.length&&this.notifyDismiss.next()}hide(t){this.data.set(t,!1),this.pendingModals.includes(t)&&(this.pendingModals.shift(),this.pendingModals.length&&this.notifyDismiss.next())}closeAll(){this.data.clear(),this.pendingModals=[]}isVisible(t){return this.data.get(t)||!1}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),cC=(()=>{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)}static{this.\u0275fac=function(i){return new(i||e)(w(vn),w(Re))}}static{this.\u0275dir=H({type:e})}}return e})(),Uo=(()=>{class e extends cC{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})()}static{this.\u0275dir=H({type:e,features:[de]})}}return e})();const er=new P(""),qU={provide:er,useExisting:qe(()=>u6),multi:!0};let u6=(()=>{class e extends Uo{writeValue(t){this.setProperty("checked",t)}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})()}static{this.\u0275dir=H({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([qU]),de]})}}return e})();const WU={provide:er,useExisting:qe(()=>su),multi:!0},KU=new P("");let su=(()=>{class e extends cC{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function GU(){const e=_r()?_r().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)}static{this.\u0275fac=function(i){return new(i||e)(w(vn),w(Re),w(KU,8))}}static{this.\u0275dir=H({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(i,r){1&i&&z("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([WU]),de]})}}return e})();function oo(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function uC(e){return null!=e&&"number"==typeof e.length}const un=new P(""),so=new P(""),ZU=/^(?=.{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 ao{static min(n){return function dC(e){return n=>{if(oo(n.value)||oo(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 hC(e){return n=>{if(oo(n.value)||oo(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 fC(e){return oo(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function pC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function mC(e){return oo(e.value)||ZU.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function gC(e){return n=>oo(n.value)||!uC(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function vC(e){return n=>uC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function yC(e){if(!e)return au;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(oo(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 DC(n)}static composeAsync(n){return MC(n)}}function au(e){return null}function _C(e){return null!=e}function wC(e){return hc(e)?Mt(e):e}function bC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function CC(e,n){return n.map(t=>t(e))}function SC(e){return e.map(n=>function QU(e){return!e.validate}(n)?n:t=>n.validate(t))}function DC(e){if(!e)return null;const n=e.filter(_C);return 0==n.length?null:function(t){return bC(CC(t,n))}}function d6(e){return null!=e?DC(SC(e)):null}function MC(e){if(!e)return null;const n=e.filter(_C);return 0==n.length?null:function(t){return function $U(...e){const n=nw(e),{args:t,keys:i}=rb(e),r=new $e(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;bn(t[u]).subscribe(st(o,m=>{d||(d=!0,c--),a[u]=m},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?ob(i,a):a),o.complete())}))}});return n?r.pipe(Th(n)):r}(CC(t,n).map(wC)).pipe(ce(bC))}}function h6(e){return null!=e?MC(SC(e)):null}function xC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function TC(e){return e._rawValidators}function EC(e){return e._rawAsyncValidators}function f6(e){return e?Array.isArray(e)?e:[e]:[]}function lu(e,n){return Array.isArray(e)?e.includes(n):e===n}function kC(e,n){const t=f6(n);return f6(e).forEach(r=>{lu(t,r)||t.push(r)}),t}function zC(e,n){return f6(n).filter(t=>!lu(e,t))}class IC{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=d6(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=h6(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=void 0){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 Cn extends IC{get formDirective(){return null}get path(){return null}}class tr extends IC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class AC{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 Aa=(()=>{class e extends AC{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)(w(tr,2))}}static{this.\u0275dir=H({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Zt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[de]})}}return e})(),cu=(()=>{class e extends AC{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)(w(Cn,10))}}static{this.\u0275dir=H({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Zt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[de]})}}return e})();const Yc="VALID",du="INVALID",Pa="PENDING",jc="DISABLED";function g6(e){return(hu(e)?e.validators:e)||null}function v6(e,n){return(hu(n)?n.asyncValidators:e)||null}function hu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class y6{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._assignValidators(n),this._assignAsyncValidators(t)}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===Yc}get invalid(){return this.status===du}get pending(){return this.status==Pa}get disabled(){return this.status===jc}get enabled(){return this.status!==jc}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._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(kC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(kC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(zC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(zC(n,this._rawAsyncValidators))}hasValidator(n){return lu(this._rawValidators,n)}hasAsyncValidator(n){return lu(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=Pa,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=jc,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);
1this.status=Yc,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===Yc||this.status===Pa)&&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()?jc:Yc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Pa,this._hasOwnPendingAsyncValidator=!0;const t=wC(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 U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?jc:this.errors?du:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pa)?Pa:this._anyControlsHaveStatus(du)?du:Yc}_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){hu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function t$(e){return Array.isArray(e)?d6(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function n$(e){return Array.isArray(e)?h6(e):e||null}(this._rawAsyncValidators)}}class $o extends y6{constructor(n,t,i){super(g6(t),v6(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
1alueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function RC(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new T(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function OC(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new T(1e3,"");if(!i[t])throw new T(1001,"")})(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?n[r]:null,{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}}const qo=new P("CallSetDisabledState",{providedIn:"root",factory:()=>Uc}),Uc="always";function $c(e,n,t=Uc){_6(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function o$(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&FC(e,n)})}(e,n),function a$(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)}
1)}(e,n),function s$(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&FC(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function r$(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function pu(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),gu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function mu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function _6(e,n){const t=TC(e);null!==n.validator?e.setValidators(xC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=EC(e);null!==n.asyncValidator?e.setAsyncValidators(xC(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();mu(n._rawValidators,r),mu(n._rawAsyncValidators,r)}function gu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=TC(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=EC(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 mu(n._rawValidators,i),mu(n._rawAsyncValidators,i),t}function FC(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function b6(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function C6(e,n){if(!n)return null;let t,i,r;
1return Array.isArray(n),n.forEach(o=>{o.constructor===su?t=o:function u$(e){return Object.getPrototypeOf(e.constructor)===Uo}(o)?i=o:r=o}),r||i||t||null}function VC(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function HC(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const lo=class extends y6{constructor(n=null,t,i){super(g6(t),v6(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}),hu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=HC(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){VC(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){VC(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){HC(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}};Promise.resolve();let vu=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=H({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})();const D6=new P(""),w$={provide:tr,useExisting:qe(()=>yu)};let yu=(()=>{class e extends tr{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new U,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=C6(0,r)}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&pu(i,this,!1),$c(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}b6(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pu(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")}static{this.\u0275fac=function(i){return new(i||e)(w(un,10),w(so,10),w(er,10),w(D6,8),w(qo,8))}}static{this.\u0275dir=H({type:e,selectors:[["","formControl",""]],inputs:{form:[Q.None,"formControl","form"],isDisabled:[Q.None,"disabled","isDisabled"],model:[Q.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ie([w$]),de,yt]})}}return e})();const b$={provide:Cn,useExisting:qe(()=>Oa)};let Oa=(()=>{class e extends Cn{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new U,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&&(gu(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 $c(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}
1removeControl(t){pu(t.control||null,t,!1),function d$(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,function NC(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(pu(i||null,t),(e=>e instanceof lo)(r)&&($c(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function LC(e,n){_6(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function l$(e,n){return gu(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_6(this.form,this),this._oldForm&&gu(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(i){return new(i||e)(w(un,10),w(so,10),w(qo,8))}}static{this.\u0275dir=H({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&z("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[Q.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ie([b$]),de,yt]})}}return e})();const D$={provide:tr,useExisting:qe(()=>Wc)};let Wc=(()=>{class e extends tr{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new U,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=C6(0,o)}ngOnChanges(t){this._added||this._setUpControl(),b6(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function fu(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(i){return new(i||e)(w(Cn,13),w(un,10),w(so,10),w(er,10),w(D6,8))}}static{this.\u0275dir=H({type:e,selectors:[["","formControlName",""]],inputs:{name:[Q.None,"formControlName","name"],isDisabled:[Q.None,"disabled","isDisabled"],model:[Q.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ie([D$]),de,yt]})}}return e})(),sS=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})(),H$=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:qo,useValue:t.callSetDisabledState??Uc}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[sS]})}}return e})(),z6=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:D6,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:qo,useValue:t.callSetDisabledState??Uc}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[sS]})}}return e})(),aS=(()=>{class e{constructor(t){this.httpClient=t}onSendRequest(t){return nu(this.httpClient.post("https://utils.datamask.app/api/v1/helpers/subscribe",t,{headers:{"Content-Type":"application/json"}}))}static{this.\u0275fac=function(i){return new(i||e)(x(Gi))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const B$=[[["","rightContent",""]],"*"],Y$=["[rightContent]","*"],j$=(e,n,t)=>({"focus:border-[#B4B4B4]":e,"border-error":n,"opacity-50":t});function U$(e,n){1&e&&(h(0,"span",8),f(1,"*"),p())}function $$(e,n){if(1&e&&(h(0,"label",6),f(1),F(2,U$,2,0,"span",7),p()),2&e){const t=I();b(),pe(" ",t.label," "),b(),M("ngIf",t.isRequired)}}function q$(e,n){if(1&e&&(h(0,"div",9)(1,"span"),f(2),p()()),2&e){const t=I();b(2),Dt(t.errorTip)}}let I6=(()=>{class e{constructor(t){this.ngControl=t,this.name="",this.type="",this.label="",this.min="",this.placeholder="",this.placeholderStyle="",this.info="",this.errorTip="",this.disabled=!1,this.readonly=!1,this.isRequired=!1,this.check=!1,this.iconPosition="right-3 !top-4 mt-1",this.inputPadding="!pt-6 !p-2 !px-5",this.checkIcon=!1,this.eye="",this.hasValidator=!1,this.search=!1,this.coin=!1,this.coinSize="",this.placeholderSize="text-xl",this.textSize="text-xs",this.ngControl&&(this.ngControl.valueAccessor=this)}ngOnInit(){null!==this.ngControl.control?.validator&&this.ngControl.control?.errors?.required&&(this.hasValidator=!this.hasValidator,this.check=!this.check,this.checkIcon=!this.checkIcon),null!==this.ngControl.control?.validator&&"password"===this.type&&(this.checkIcon=!this.checkIcon),""!==this.placeholder&&(this.placeholderStyle="placeholder:invisible")}writeValue(t){this.value=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}hideAndShow(){this.type="password"===this.type?"text":"password"}static{this.\u0275fac=function(i){return new(i||e)(w(tr,10))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-input-text"]],inputs:{name:"name",type:"type",label:"label",min:"min",placeholder:"placeholder",placeholderStyle:"placeholderStyle",info:"info",errorTip:"errorTip",disabled:"disabled",readonly:"readonly",isRequired:"isRequired",iconPosition:"iconPosition",inputPadding:"inputPadding",search:"search",coin:"coin",coinSize:"coinSize",placeholderSize:"placeholderSize",textSize:"textSize"},ngContentSelectors:Y$,decls:8,vars:17,consts:[[1,"flex","flex-col"],[1,"flex","flex-row","justify-between"],["class","font-bold text-secondary text-textColor font_montserrat text-[14px] pb-2",4,"ngIf"],[1,"relative","flex","flex-row","justify-between","items-center","cursor-pointer","z-0","!bg-[#F7F7F8]","rounded-[8px]"],[3,"ngClass","type","name","min","placeholder","formControl","readonly"],["class","text-error text-xs pt-2 pl-3",4,"ngIf"],[1,"font-bold","text-secondary","text-textColor","font_montserrat","text-[14px]","pb-2"],["class","text-error-100 text-[14px]",4,"ngIf"],[1,"text-error-100","text-[14px]"],[1,"text-error","text-xs","pt-2","pl-3"]],template:function(i,r){1&i&&(Lo(B$),h(0,"div",0)(1,"div",1),F(2,$$,3,2,"label",2),Qr(3),p(),h(4,"div",3),_(5,"input",4),Qr(6,1),p()(),F(7,q$,3,1,"div",5)),2&i&&(b(2),M("ngIf",r.label),b(3),it("\n        ",r.textSize,"\n        text-textColor\n        font_montserrat\n        caret-secondary\n        font-normal\n        rounded-[8px]\n        placeholder:text-neutral\n        !bg-transparent\n        z-50\n        !p-4\n        w-full\n        h-[48px]\n        relative\n        hover:bg-opacity-50\n        border\n        border-solid\n        border-[#B4B4B4]\n        focus:outline-none\n        transition\n        duration-200\n      "),M("ngClass",ty(13,j$,(null==r.ngControl.control?null:r.ngControl.control.pristine)&&r.check,(null==r.ngControl.control?null:r.ngControl.control.invalid)&&!(null!=r.ngControl.control&&r.ngC
1ontrol.control.pristine),r.disabled||r.readonly))("type",r.type)("name",r.name)("min",r.min)("placeholder",r.placeholder)("formControl",r.ngControl.control)("readonly",r.readonly),nt("disabled",!!r.disabled||null),b(2),M("ngIf",(null==r.ngControl.control?null:r.ngControl.control.dirty)&&(null==r.ngControl.control?null:r.ngControl.control.invalid)))},dependencies:[da,Sr,su,Aa,yu],styles:["input[_ngcontent-%COMP%]:focus ~ .input-text[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:not(:placeholder-shown) ~ .input-text[_ngcontent-%COMP%]{transform:translate(-8px,-12px);font-size:12px!important}"]})}}return e})();function cS(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function A6(e){return Array.isArray(e)?e:[e]}function Tt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Fn(e){return e instanceof Re?e.nativeElement:e}const G$=["addListener","removeListener"],K$=["addEventListener","removeEventListener"],Z$=["on","off"];function Ra(e,n,t,i){if(De(t)&&(i=t,t=void 0),i)return Ra(e,n,t).pipe(Th(i));const[r,o]=function J$(e){return De(e.addEventListener)&&De(e.removeEventListener)}(e)?K$.map(s=>a=>e[s](n,a,t)):function Q$(e){return De(e.addListener)&&De(e.removeListener)}(e)?G$.map(uS(e,n)):function X$(e){return De(e.on)&&De(e.off)}(e)?Z$.map(uS(e,n)):[];if(!r&&hh(e))return Xt(s=>Ra(s,n,t))(bn(e));if(!r)throw new TypeError("Invalid event target");return new $e(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function uS(e,n){return t=>i=>e[t](n,i)}const Gc={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Gc;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new et(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Gc;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Gc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},dS=new class tq extends c6{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 eq extends a6{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=Gc.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&&(Gc.cancelAnimationFrame(t),n._scheduled=void 0)}});let P6,nq=1;const _u={};function hS(e){return e in _u&&(delete _u[e],!0)}const iq={setImmediate(e){const n=nq++;return _u[n]=!0,P6||(P6=Promise.resolve()),P6.then(()=>hS(n)&&e()),n},clearImmediate(e){hS(e)}},{setImmediate:rq,clearImmediate:oq}=iq,wu={setImmediate(...e){const{delegate:n}=wu;return(n?.setImmediate||rq)(...e)},clearImmediate(e){const{delegate:n}=wu;return(n?.clearImmediate||oq)(e)},delegate:void 0};new class aq extends c6{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 sq extends a6{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=wu.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&&(wu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function O6(e=0,n,t=UU){let i=-1;return null!=n&&(tw(n)?t=n:i=n),new $e(r=>{let o=function uq(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 fS(e,n=ru){return function cq(e){return pt((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>
1{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(st(t,c=>{i=!0,r=c,o||bn(e(c)).subscribe(o=st(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>O6(e,n))}let R6;try{R6=typeof Intl<"u"&&Intl.v8BreakIterator}catch{R6=!1}let Kc,Go,F6,co=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Jr(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&&!R6)&&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}static{this.\u0275fac=function(i){return new(i||e)(x(ri))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function La(e){return function dq(){if(null==Kc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Kc=!0}))}finally{Kc=Kc||!1}return Kc}()?e:!!e.capture}function hq(){if(null==Go){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Go=!1,Go;if("scrollBehavior"in document.documentElement.style)Go=!0;else{const e=Element.prototype.scrollTo;Go=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Go}function mS(e){if(function fq(){if(null==F6){const e=typeof document<"u"?document.head:null;F6=!(!e||!e.createShadowRoot&&!e.attachShadow)}return F6}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Na(e){return e.composedPath?e.composedPath()[0]:e.target}function gS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}let vS=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new N,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 $e(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(fS(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):G()}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(mt(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=Fn(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ra(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||e)(x(J),x(co),x(ye,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),L6=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new N,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();
1return{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(fS(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}}static{this.\u0275fac=function(i){return new(i||e)(x(co),x(J),x(ye,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const gq=new P("cdk-dir-doc",{providedIn:"root",factory:function vq(){return k(ye)}}),yq=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Va=(()=>{class e{constructor(t){this.value="ltr",this.change=new U,t&&(this.value=function _q(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?yq.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||e)(x(gq,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class N6{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 Cu extends N6{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class yS extends N6{constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}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 wq extends N6{constructor(n){super(),this.element=n instanceof Re?n.nativeElement:n}}class V6{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Cu?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof yS?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof wq?(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 bq extends V6{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,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||_t.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,{injector:n.injector});
1return 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 Su=(()=>{class e extends V6{constructor(t,i,r){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new U,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._attachedRef=this._attachedPortal=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,t.projectableNodes||void 0);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,{injector:t.injector});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}static{this.\u0275fac=function(i){return new(i||e)(w(Ns),w(Kt),w(ye))}}static{this.\u0275dir=H({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[Q.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[de]})}}return e})(),_S=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();function Qc(...e){const n=_c(e),t=function SH(e,n){return"number"==typeof ah(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?bn(i[0]):ya(t)(Mt(i,n)):fi}const wS=hq();class Cq{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=Tt(-this._previousScrollPosition.left),n.style.top=Tt(-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"),wS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wS&&(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 Sq{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).pipe(mt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));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 bS{enable(){}disable(){}attach(){}}function H6(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function CS(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class Dq{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler
1=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();H6(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 Mq=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new bS,this.close=s=>new Sq(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Cq(this._viewportRuler,this._document),this.reposition=s=>new Dq(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||e)(x(vS),x(L6),x(J),x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class SS{constructor(n){if(this.scrollStrategy=new bS,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 Et{constructor(n,t,i,r,o){this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class xq{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let DS=(()=>{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()}static{this.\u0275fac=function(i){return new(i||e)(x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Tq=(()=>{class e extends DS{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)}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(J,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Eq=(()=>{class e extends DS{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Na(o)},this._clickListener=o=>{const s=Na(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)}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(co),x(J,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),MS=(()=>{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||gS()){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),gS()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(co))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class Du{constructor(n,t,i,r,o,s,a,l,c,u=!1){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._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new N,this._attachments=new N,this._detachments=new N,this._locationChanges=et.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new N,this._outsidePointerEvents=new N,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(pn(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),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),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=Tt(this._config.width),n.height=Tt(this._config.height),n.minWidth=Tt(this._config.minWidth),n.minHeight=Tt(this._config.minHeight),n.maxWidth=Tt(this._config.maxWidth),n.maxHeight=Tt(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._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&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;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(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=A6(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(rt(Qc(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 xS="cdk-overlay-connected-position-bounding-box",kq=/([A-Za-z%]+)$/;class zq{get positions(){return this._preferredPositions}
1constructor(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 N,this._resizeSubscription=et.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(xS),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&&Ko(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xS),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=ES(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let m=0-a,g=a+o.height-i.height,v=this._subtractOverflows(o.width,0-s,s+o.width-i.width),y=this._subtractOverflows(o.height,m,g),C=v*y;return{visibleArea:C,isCompletelyWithinViewport:o.width*o.height===C,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=TS(this._overlayRef.getConfig().minHeight),a=TS(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}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=ES(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._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function Iq(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new xq(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,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,m;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 g=Math.min(i.bottom-n.y+i.top,n.y),v=this._lastBoundingBoxSize.height;o=2*g,s=n.y-g,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)m=i.width-n.x+2*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 g=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;u=2*g,d=n.x-g,u>v&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-v/2)}return{top:s,left:d,bottom:a,right:m,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=Tt(i.height),r.top=Tt(i.top),r.bottom=Tt(i.bottom),r.width=Tt(i.width),r.left=Tt(i.left),r.right=Tt(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=Tt(o)),s&&(r.maxWidth=Tt(s))}this._lastBoundingBoxSize=i,Ko(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ko(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ko(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();Ko(i,this._getExactOverlayY(t,n,u)),Ko(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=Tt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Tt(s.maxWidth):o&&(i.maxWidth="")),Ko(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=Tt(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=Tt(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CS(n,i),isOriginOutsideView:H6(n,i),isOverlayClipped:CS(t,i),isOverlayOutsideView:H6(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?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&A6(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 Re)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 Ko(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function TS(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(kq);return t&&"px"!==t?null:parseFloat(n)}return e||null}function ES(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 kS="cdk-global-overlay-wrapper";class Aq{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}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(kS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="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._xPosition="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),u=this._xPosition,d=this._xOffset,m="rtl"===this._overlayRef.getConfig().direction;let g="",v="",y="";l?y="flex-start":"center"===u?(y="center",m?v=d:g=d):m?"left"===u||"end"===u?(y="flex-end",g=d):("right"===u||"start"===u)&&(y="flex-start",v=d):"left"===u||"start"===u?(y="flex-start",g=d):("right"===u||"end"===u)&&(y="flex-end",v=d),n.position=this._cssPosition,n.marginLeft=l?"0":g,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,t.justifyContent=y,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(kS),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Pq=(()=>
1{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new Aq}flexibleConnectedTo(t){return new zq(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||e)(x(L6),x(ye),x(co),x(MS))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Oq=0,Mu=(()=>{class e{constructor(t,i,r,o,s,a,l,c,u,d,m,g){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=m,this._animationsModuleType=g}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new SS(t);return s.direction=s.direction||this._directionality.value,new Du(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Oq++,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(xi)),new bq(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||e)(x(Mq),x(MS),x(Ns),x(Pq),x(Tq),x(_t),x(J),x(ye),x(Va),x(ca),x(Eq),x(Es,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Ha=(...e)=>{};new Et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),new Et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),new Et({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Et({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Et({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),new Et({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),new Et({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),new Et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),new Et({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new Et({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new Et({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),new Et({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),new Et({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"});function Tu(e){return typeof e<"u"&&null!==e}function Hq(e){return function W$(e){return null!=e&&"false"!=`${e}`}(e)}function Y6(e,n){return function t(i,r,o){const s=`$$__zorroPropDecorator__${r}`;return Object.prototype.hasOwnProperty.call(i,s)&&Ha(`The prop "${s}" is already exist, it will be overrided by ${e} decorator.`),Object.defineProperty(i,s,{configurable:!0,writable:!0}),{get(){return o&&o.get?o.get.bind(this)():this[s]},set(a){o&&o.set&&o.set.bind(this)(n(a)),this[s]=n(a)}}}}function kt(){return Y6("InputBoolean",Hq)}function Xc(e){return Y6("InputNumber",n=>function Bq(e,n=0){return cS(e)?Number(e):n}(n,e))}function j6(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}function RS(e){return"number"==typeof e&&isFinite(e)}function FS(e,n){return Math.round(e*Math.pow(10,n))/Math.pow(10,n)}new Et({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Et({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new Et({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new Et({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new Et({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new Et({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new Et({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);function HS(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}typeof window<"u"&&window;const Xq="rc-util-key";function BS({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:Xq}function K6(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function YS(e,n={}){if(!HS())return null;const t=document.createElement("style");n.cspNonce&&(t.nonce=n.cspNonce),t.innerHTML=e;const i=K6(n),{firstChild:r}=i;return n.prepend&&i.prepend?i.prepend(t):n.prepend&&r?i.insertBefore(t,r):i.appendChild(t),t}const Z6=new Map;function Jt(e,n){(function eW(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function tW(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===n?e:Math.min(n,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*n),10)/100),Math.abs(e-n)<1e-6?1:e=360===n?(e<0?e%n+n:e%n)/parseFloat(String(n)):e%n/parseFloat(String(n))}function ku(e){return Math.min(1,Math.max(0,e))}function US(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function zu(e){return e<=1?"".concat(100*Number(e),"%"):e}function Zo(e){return 1===e.length?"0"+e:String(e)}function $S(e,n,t){e=Jt(e,255),n=Jt(n,255),t=Jt(t,255);var i=Math.max(e,n,t),r=Math.min(e,n,t),o=0,s=0,a=(i+r)/2;if(i===r)s=0,o=0;else{var l=i-r;switch(s=a>.5?l/(2-i-r):l/(i+r),i){case e:o=(n-t)/l+(n<t?6:0);break;case n:o=(t-e)/l+2;break;case t:o=(e-n)/l+4}o/=6}return{h:o,s,l:a}}function Q6(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(n-e):t<.5?n:t<2/3?e+(n-e)*(2/3-t)*6:e}function Iu(e,n,t){e=Jt(e,255),n=Jt(n,255),t=Jt(t,255);var i=Math.max(e,n,t),r=Math.min(e,n,t),o=0,s=i,a=i-r,l=0===i?0:a/i;if(i===r)o=0;else{switch(i){case e:o=(n-t)/a+(n<t?6:0);break;case n:o=(t-e)/a+2;break;case t:o=(e-n)/a+4}o/=6}return{h:o,s:l,v:s}}function Au(e,n,t,i){var r=[Zo(Math.round(e).toString(16)),Zo(Math.round(n).toString(16)),Zo(Math.round(t).toString(16))];return i&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function qS(e){return Math.round(255*parseFloat(e)).toString(16)}function WS(e){return Jn(e)/255}function Jn(e){return parseInt(e,16)}var X6={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
1almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ii(e){var n={r:0,g:0,b:0},t=1,i=null,r=null,o=null,s=!1,a=!1;return"string"==typeof e&&(e=function cW(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var n=!1;if(X6[e])e=X6[e],n=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=Ai.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=Ai.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Ai.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Ai.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Ai.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Ai.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Ai.hex8.exec(e))?{r:Jn(t[1]),g:Jn(t[2]),b:Jn(t[3]),a:WS(t[4]),format:n?"name":"hex8"}:(t=Ai.hex6.exec(e))?{r:Jn(t[1]),g:Jn(t[2]),b:Jn(t[3]),format:n?"name":"hex"}:(t=Ai.hex4.exec(e))?{r:Jn(t[1]+t[1]),g:Jn(t[2]+t[2]),b:Jn(t[3]+t[3]),a:WS(t[4]+t[4]),format:n?"name":"hex8"}:!!(t=Ai.hex3.exec(e))&&{r:Jn(t[1]+t[1]),g:Jn(t[2]+t[2]),b:Jn(t[3]+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(xr(e.r)&&xr(e.g)&&xr(e.b)?(n=function nW(e,n,t){return{r:255*Jt(e,255),g:255*Jt(n,255),b:255*Jt(t,255)}}(e.r,e.g,e.b),s=!0,a="%"===String(e.r).substr(-1)?"prgb":"rgb"):xr(e.h)&&xr(e.s)&&xr(e.v)?(i=zu(e.s),r=zu(e.v),n=function rW(e,n,t){e=6*Jt(e,360),n=Jt(n,100),t=Jt(t,100);var i=Math.floor(e),r=e-i,o=t*(1-n),s=t*(1-r*n),a=t*(1-(1-r)*n),l=i%6;return{r:255*[t,s,o,o,a,t][l],g:255*[a,t,t,s,o,o][l],b:255*[o,o,a,t,t,s][l]}}(e.h,i,r),s=!0,a="hsv"):xr(e.h)&&xr(e.s)&&xr(e.l)&&(i=zu(e.s),o=zu(e.l),n=function iW(e,n,t){var i,r,o;if(e=Jt(e,360),n=Jt(n,100),t=Jt(t,100),0===n)r=t,o=t,i=t;else{var s=t<.5?t*(1+n):t+n-t*n,a=2*t-s;i=Q6(a,s,e+1/3),r=Q6(a,s,e),o=Q6(a,s,e-1/3)}return{r:255*i,g:255*r,b:255*o}}(e.h,i,o),s=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=US(t),{ok:s,format:e.format||a,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t}}var uo="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),J6="[\\s|\\(]+(".concat(uo,")[,|\\s]+(").concat(uo,")[,|\\s]+(").concat(uo,")\\s*\\)?"),ef="[\\s|\\(]+(".concat(uo,")[,|\\s]+(").concat(uo,")[,|\\s]+(").concat(uo,")[,|\\s]+(").concat(uo,")\\s*\\)?"),Ai={CSS_UNIT:new RegExp(uo),rgb:new RegExp("rgb"+J6),rgba:new RegExp("rgba"+ef),hsl:new RegExp("hsl"+J6),hsla:new RegExp("hsla"+ef),hsv:new RegExp("hsv"+J6),hsva:new RegExp("hsva"
1+ef),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function xr(e){return!!Ai.CSS_UNIT.exec(String(e))}var Pu=function(){function e(n,t){var i;if(void 0===n&&(n=""),void 0===t&&(t={}),n instanceof e)return n;"number"==typeof n&&(n=function sW(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(n)),this.originalInput=n;var r=Ii(n);this.originalInput=n,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=t.format)&&void 0!==i?i:r.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var n=this.toRgb();return(299*n.r+587*n.g+114*n.b)/1e3},e.prototype.getLuminance=function(){var n=this.toRgb(),o=n.r/255,s=n.g/255,a=n.b/255;return.2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(n){return this.a=US(n),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var n=Iu(this.r,this.g,this.b);return{h:360*n.h,s:n.s,v:n.v,a:this.a}},e.prototype.toHsvString=function(){var n=Iu(this.r,this.g,this.b),t=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.v);return 1===this.a?"hsv(".concat(t,", ").concat(i,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var n=$S(this.r,this.g,this.b);return{h:360*n.h,s:n.s,l:n.l,a:this.a}},e.prototype.toHslString=function(){var n=$S(this.r,this.g,this.b),t=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.l);return 1===this.a?"hsl(".concat(t,", ").concat(i,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(n){return void 0===n&&(n=!1),Au(this.r,this.g,this.b,n)},e.prototype.toHexString=function(n){return void 0===n&&(n=!1),"#"+this.toHex(n)},e.prototype.toHex8=function(n){return void 0===n&&(n=!1),function oW(e,n,t,i,r){var o=[Zo(Math.round(e).toString(16)),Zo(Math.round(n).toString(16)),Zo(Math.round(t).toString(16)),Zo(qS(i))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,n)},e.prototype.toHex8String=function(n){return void 0===n&&(n=!1),"#"+this.toHex8(n)},e.prototype.toHexShortString=function(n){return void 0===n&&(n=!1),1===this.a?this.toHexString(n):this.toHex8String(n)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var n=Math.round(this.r),t=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(n,", ").concat(t,", ").concat(i,")"):"rgba(".concat(n,", ").concat(t,", ").concat(i,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var n=function(t){return"".concat(Math.round(100*Jt(t,255)),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var n=function(t){return Math.round(100*Jt(t,255))};return 1===this.a?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var n="#"+Au(this.r,this.g,this.b,!1),t=0,i=Object.entries(X6);t<i.length;t++){var r=i[t];if(n===r[1])return r[0]}return!1},e.prototype.toString=function(n){var t=!!n;n=n??this.format;var i=!1;return!t&&this.a<1&&this.a>=0&&(n.startsWith("hex")||"name"===n)?"name"===n&&0===this.a?this.toName():this.toRgbString():("rgb"===n&&(i=this.toRgbString()),"prgb"===n&&(i=this.toPercentageRgbString()),("hex"===n||"hex6"===n)&&(i=this.toHexString()),"hex3"===n&&(i=this.toHexString(!0)),"hex4"===n&&(i=this.toHex8String(!0)),"hex8"===n&&(i=this.toHex8String()),"name"===n&&(i=this.toName()),"hsl"===n&&(i=this.toHslString()),"hsv"===n&&(i=this.toHsvString()),i||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.l+=n/100,t.l=ku(t.l),new e(t)},e.prototype.brighten=function(n){void 0===n&&(n=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-n/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-n/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-n/100*255))),new e(t)},e.prototype.darken=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.l-=n/100,t.l=ku(t.l),new e(t)},e.prototype.tint=function(n){return void 0===n&&(n=10),this.mix("white",n)},e.prototype.shade=function(n){return void 0===n&&(n=10),this.mix("black",n)},e.prototype.desaturate=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.s-=n/100,t.s=ku(t.s),new e(t)},e.prototype.saturate=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.s+=n/100,t.s=ku(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(n){var t=this.toHsl(),i=(t.h+n)%360;return t.h=i<0?360+i:i,new e(t)},e.prototype.mix=function(n,t){void 0===t&&(t=50);var i=this.toRgb(),r=new e(n).toRgb(),o=t/100;return new e({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)
1*o+i.a})},e.prototype.analogous=function(n,t){void 0===n&&(n=6),void 0===t&&(t=30);var i=this.toHsl(),r=360/t,o=[this];for(i.h=(i.h-(r*n>>1)+720)%360;--n;)i.h=(i.h+r)%360,o.push(new e(i));return o},e.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new e(n)},e.prototype.monochromatic=function(n){void 0===n&&(n=6);for(var t=this.toHsv(),i=t.h,r=t.s,o=t.v,s=[],a=1/n;n--;)s.push(new e({h:i,s:r,v:o})),o=(o+a)%1;return s},e.prototype.splitcomplement=function(){var n=this.toHsl(),t=n.h;return[this,new e({h:(t+72)%360,s:n.s,l:n.l}),new e({h:(t+216)%360,s:n.s,l:n.l})]},e.prototype.onBackground=function(n){var t=this.toRgb(),i=new e(n).toRgb(),r=t.a+i.a*(1-t.a);return new e({r:(t.r*t.a+i.r*i.a*(1-t.a))/r,g:(t.g*t.a+i.g*i.a*(1-t.a))/r,b:(t.b*t.a+i.b*i.a*(1-t.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(n){for(var t=this.toHsl(),i=t.h,r=[this],o=360/n,s=1;s<n;s++)r.push(new e({h:(i+s*o)%360,s:t.s,l:t.l}));return r},e.prototype.equals=function(n){return this.toRgbString()===new e(n).toRgbString()},e}();const Ou=2,GS=.16,hW=.05,fW=.05,pW=.15,KS=5,ZS=4,mW=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function QS({r:e,g:n,b:t}){const i=Iu(e,n,t);return{h:360*i.h,s:i.s,v:i.v}}function Ru({r:e,g:n,b:t}){return`#${Au(e,n,t,!1)}`}function XS(e,n,t){let i;return i=Math.round(e.h)>=60&&Math.round(e.h)<=240?t?Math.round(e.h)-Ou*n:Math.round(e.h)+Ou*n:t?Math.round(e.h)+Ou*n:Math.round(e.h)-Ou*n,i<0?i+=360:i>=360&&(i-=360),i}function JS(e,n,t){if(0===e.h&&0===e.s)return e.s;let i;return i=t?e.s-GS*n:n===ZS?e.s+GS:e.s+hW*n,i>1&&(i=1),t&&n===KS&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function eD(e,n,t){let i;return i=t?e.v+fW*n:e.v-pW*n,i>1&&(i=1),Number(i.toFixed(2))}function tD(e,n={}){const t=[],i=Ii(e);for(let r=KS;r>0;r-=1){const o=QS(i),s=Ru(Ii({h:XS(o,r,!0),s:JS(o,r,!0),v:eD(o,r,!0)}));t.push(s)}t.push(Ru(i));for(let r=1;r<=ZS;r+=1){const o=QS(i),s=Ru(Ii({h:XS(o,r),s:JS(o,r),v:eD(o,r)}));t.push(s)}return"dark"===n.theme?mW.map(({index:r,opacity:o})=>Ru(function gW(e,n,t){const i=t/100;return{r:(n.r-e.r)*i+e.r,g:(n.g-e.g)*i+e.g,b:(n.b-e.b)*i+e.b}}(Ii(n.backgroundColor||"#141414"),Ii(t[r]),100*o))):t}const nD=new P("nz-config"),vW=`-ant-${Date.now()}-${Math.random()}`;function iD(e,n,t){const i=function yW(e,n){const t={},i=(s,a)=>{let l=s.clone();return l=a?.(l)||l,l.toRgbString()},r=(s,a)=>{const l=new Pu(s),c=tD(l.toRgbString());t[`${a}-color`]=i(l),t[`${a}-color-disabled`]=c[1],t[`${a}-color-hover`]=c[4],t[`${a}-color-active`]=c[7],t[`${a}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),t[`${a}-color-deprecated-bg`]=c[1],t[`${a}-color-deprecated-border`]=c[3]};if(n.primaryColor){r(n.primaryColor,"primary");const s=new Pu(n.primaryColor),a=tD(s.toRgbString());a.forEach((c,u)=>{t[`primary-${u+1}`]=c}),t["primary-color-deprecated-l-35"]=i(s,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=i(s,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=i(s,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=i(s,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=i(s,c=>c.setAlpha(.12*c.getAlpha()));const l=new Pu(a[0]);t["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),t["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&r(n.successColor,"success"),n.warningColor&&r(n.warningColor,"warning"),n.errorColor&&r(n.errorColor,"error"),n.infoColor&&r(n.infoColor,"info"),`\n  :root {\n    ${Object.keys(t).map(s=>`--${e}-${s}: ${t[s]};`).join("\n")}\n  }\n  `.trim()}(e,n);HS()?function Jq(e,n,t={}){const i=K6(t);if(!Z6.has(i)){const s=YS("",t),{parentNode:a}=s;Z6.set(i,a),a.removeChild(s)}const r=function jS(e,n={}){const t=K6(n);return Array.from(Z6.get(t)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(BS(n))===e)}(n,t);if(r)return t.cspNonce&&r.nonce!==t.cspNonce&&(r.nonce=t.cspNonce),r.innerHTML!==e&&(r.innerHTML=e),r;const o=YS(e,t);o?.setAttribute(BS(t),n)}(i,`${vW}-dynamic-theme`,{cspNonce:t}):Ha("NzConfigService: SSR do not support dynamic theme with css variables.")}const rD=function(e){return void 0!==e};let ho=(()=>{class e{constructor(t,i){this.configUpdated$=new N,this.config=t||{},this.cspNonce=i,this.config.theme&&iD(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,i)}getConfig(){return this.config}getConfigForComponent(t){return this.config[t]}getConfigChangeEventForComponent(t){return this.configUpdated$.pipe(mt(i=>i===t),Ph(void 0))}set(t,i){this.config[t]={...this.config[t],...i},"theme"===t&&this.config.theme&&iD(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(t)}static{this.\u0275fac=function(i){return new(i||e)(x(nD,8),x(a4,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function fo(){return function(n,t,i){const r=`$$__zorroConfigDecorator__${t}`;return Object.defineProperty(n,r,{configurable:!0,writable:!0,enumerable:!1}),{get(){const o=i?.get?i.get.bind(this)():this[r],s=(this.propertyAssignCounter?.[t]||0)>1,a=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[t];return s&&rD(o)?o:rD(a)?a:o},set(o){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[t]=(this.propertyAssignCounter[t]||0)+1,i?.set?i.set.bind(this)(o):this[r]=o},configurable:!0,enumerable:!0}}}var Fu=2,sD=.16,_W=.05,wW=.05,bW=.15,aD=5,lD=4,CW=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function cD(e){var r=Iu(e.r,e.g,e.b);return{h:360*r.h,s:r.s,v:r.v}}function Lu(e){return"#".concat(Au(e.r,e.g,e.b,!1))}function uD(e,n,t){var i;return(i=Math.round(e.h)>=60&&Math.round(e.h)<=240?t?Math.round(e.h)-Fu*n:Math.round(e.h)+Fu*n:t?Math.round(e.h)+Fu*n:Math.round(e.h)-Fu*n)<0?i+=360:i>=360&&(i-=360),i}function dD(e,n,t){return 0===e.h&&0===e.s?e.s:((i=t?e.s-sD*n:n===lD?e.s+sD:e.s+_W*n)>1&&(i=1),t&&n===aD&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function hD(e,n,t){var i;return(i=t?e.v+wW*n:e.v-bW*n)>1&&(i=1),Number(i.toFixed(2))}var tf=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];tf.primary=tf[5];var nf=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];nf.primary=nf[5];var rf=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];rf.primary=rf[5];var sf=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];
1sf.primary=sf[5];var af=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];af.primary=af[5];var lf=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];lf.primary=lf[5];var cf=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];cf.primary=cf[5];var uf=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];uf.primary=uf[5];var df=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];df.primary=df[5];var hf=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];hf.primary=hf[5];var ff=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];ff.primary=ff[5];var pf=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];pf.primary=pf[5];var mf=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];mf.primary=mf[5];var gf=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];gf.primary=gf[5];var vf=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];vf.primary=vf[5];var yf=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];yf.primary=yf[5];var _f=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];_f.primary=_f[5];var wf=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];wf.primary=wf[5];var bf=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];bf.primary=bf[5];var Cf=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Cf.primary=Cf[5];var Sf=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Sf.primary=Sf[5];var Df=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Df.primary=Df[5];var Mf=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Mf.primary=Mf[5];var xf=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];xf.primary=xf[5];var Tf=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Tf.primary=Tf[5];var Ef=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];function fD(e={}){const{connector:n=(()=>new N),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const m=()=>{a?.unsubscribe(),a=void 0},g=()=>{m(),s=l=void 0,u=d=!1},v=()=>{const y=s;g(),y?.unsubscribe()};return pt((y,C)=>{c++,!d&&!u&&m();const S=l=l??n();C.add(()=>{c--,0===c&&!d&&!u&&(a=kf(v,r))}),S.subscribe(C),!s&&c>0&&(s=new Ka({next:D=>S.next(D),error:D=>{d=!0,m(),a=kf(g,t,D),S.error(D)},complete:()=>{u=!0,m(),a=kf(g,i),S.complete()}}),bn(y).subscribe(s))})(o)}}function kf(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Ka({next:()=>{i.unsubscribe(),e()}});return bn(n(...t)).subscribe(i)}Ef.primary=Ef[5];const Tr="[@ant-design/icons-angular]:";function mD(e){return function DW(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=[],i=Ii(e),r=aD;r>0;r-=1){var o=cD(i),s=Lu(Ii({h:uD(o,r,!0),s:dD(o,r,!0),v:hD(o,r,!0)}));t.push(s)}t.push(Lu(i));for(var a=1;a<=lD;a+=1){var l=cD(i),c=Lu(Ii({h:uD(l,a),s:dD(l,a),v:hD(l,a)}));t.push(c)}return"dark"===n.theme?CW.map(function(u){var d=u.index,m=u.opacity,g=Lu(function SW(e,n,t){var i=t/100;return{r:(n.r-e.r)*i+e.r,g:(n.g-e.g)*i+e.g,b:(n.b-e.b)*i+e.b}}(Ii(n.backgroundColor||"#141414"),Ii(t[d]),100*m));return g}):t}(e)[0]}function Nu(e,n){switch(n){case"fill":return`${e}-fill`;case"outline":return`${e}-o`;case"twotone":return`${e}-twotone`;case void 0:return e;default:throw new Error(`${Tr}Theme "${n}" is not a recognized theme!`)}}function gD(e){return"object"==typeof e&&"string"==typeof e.name&&("string"==typeof e.theme||void 0===e.theme)&&"string"==typeof e.icon}function Vu(e){const n=e.split(":");switch(n.length){case 1:return[e,""];case 2:return[n[1],n[0]];default:throw new Error(`${Tr}The icon type ${e}
1 is not valid!`)}}function vD(e){return new Error(`${Tr}the icon ${e} does not exist or is not registered.`)}function FW(){return new Error(`${Tr}<svg> tag not found.`)}const VW=new P("ant_icons");let yD=(()=>{class e{set twoToneColor({primaryColor:t,secondaryColor:i}){this._twoToneColorPalette.primaryColor=t,this._twoToneColorPalette.secondaryColor=i||mD(t)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(t,i,r,o,s){this._rendererFactory=t,this._handler=i,this._document=r,this.sanitizer=o,this._antIcons=s,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new N,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Gi(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading||(this._enableJsonpLoading=!0,window.__ant_icon_load=t=>{this._jsonpIconLoad$.next(t)})}changeAssetsSource(t){this._assetsUrlRoot=t.endsWith("/")?t:t+"/"}addIcon(...t){t.forEach(i=>{this._svgDefinitions.set(Nu(i.name,i.theme),i)})}addIconLiteral(t,i){const[r,o]=Vu(t);if(!o)throw function PW(){return new Error(`${Tr}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:t,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(t,i){const r=gD(t)?t:this._svgDefinitions.get(t)||null;if(!r&&this._disableDynamicLoading)throw vD(t);return(r?G(r):this._loadIconDynamically(t)).pipe(ce(s=>{if(!s)throw vD(t);return this._loadSVGFromCacheOrCreateNew(s,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(t){if(!this._http&&!this._enableJsonpLoading)return G(function OW(){return function MW(e){console.error(`${Tr} ${e}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let i=this._inProgressFetches.get(t);if(!i){const[r,o]=Vu(t),s=o?{name:t,icon:""}:function kW(e){const n=e.split("-"),t=function TW(e){return"o"===e?"outline":e}(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:t,icon:""}}(r),l=(o?`${this._assetsUrlRoot}assets/${o}/${r}`:`${this._assetsUrlRoot}assets/${s.theme}/${s.name}`)+(this._enableJsonpLoading?".js":".svg"),c=this.sanitizer.sanitize(zn.URL,l);if(!c)throw function RW(e){return new Error(`${Tr}The url "${e}" is unsafe.`)}(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(s,c):this._http.get(c,{responseType:"text"}).pipe(ce(d=>({...s,icon:d})))).pipe(Yt(d=>this.addIcon(d)),ma(()=>this._inProgressFetches.delete(t)),io(()=>G(null)),fD()),this._inProgressFetches.set(t,i)}return i}_loadIconDynamicallyWithJsonp(t,i){return new $e(r=>{const o=this._document.createElement("script"),s=setTimeout(()=>{a(),r.error(function LW(){return new Error(`${Tr}Importing timeout error.`)}())},6e3);function a(){o.parentNode.removeChild(o),clearTimeout(s)}o.src=i,this._document.body.appendChild(o),this._jsonpIconLoad$.pipe(mt(l=>l.name===t.name&&l.theme===t.theme),pn(1)).subscribe(l=>{r.next(l),a()})})}_loadSVGFromCacheOrCreateNew(t,i){let r;const o=i||this._twoToneColorPalette.primaryColor,s=mD(o)||this._twoToneColorPalette.secondaryColor,a="twotone"===t.theme?function xW(e,n,t,i){return`${Nu(e,n)}-${t}-${i}`}(t.name,t.theme,o,s):void 0===t.theme?t.name:Nu(t.name,t.theme),l=this._svgRenderedDefinitions.get(a);return l?r=l.icon:(r=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function AW(e){return""!==Vu(e)[1]}(t.name)?t.icon:function IW(e){return e.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(t.icon)),"twotone"===t.theme,o,s)),this._svgRenderedDefinitions.set(a,{...t,icon:r})),function zW(e){return e.cloneNode(!0)}(r)}_createSVGElementFromString(t){const i=this._document.createElement("div");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw FW;return r}_setSVGAttribute(t){return this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em"),t}_colorizeSVGIcon(t,i,r,o){if(i){const s=t.childNodes,a=s.length;for(let l=0;l<a;l++){const c=s[l];
1"secondaryColor"===c.getAttribute("fill")?this._renderer.setAttribute(c,"fill",o):this._renderer.setAttribute(c,"fill",r)}}return this._renderer.setAttribute(t,"fill","currentColor"),t}static{this.\u0275fac=function(i){return new(i||e)(x(Nl),x(ga,8),x(ye,8),x(va),x(VW,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),BW=(()=>{class e{constructor(t,i,r){this._iconService=t,this._elementRef=i,this._renderer=r}ngOnChanges(t){(t.type||t.theme||t.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(t=>{if(!this.type)return this._clearSVGElement(),void t(null);const i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(r=>{const o=this._getSelfRenderMeta();!function HW(e,n){return e.type===n.type&&e.theme===n.theme&&e.twoToneColor===n.twoToneColor}(i,o)?t(null):(this._setSVGElement(r),t(r))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(t,i){if(gD(t))return t;{const[r,o]=Vu(t);return o?t:function EW(e){return e.endsWith("-fill")||e.endsWith("-o")||e.endsWith("-twotone")}(r)?r:Nu(r,i||this._iconService.defaultTheme)}}_setSVGElement(t){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,t)}_clearSVGElement(){const t=this._elementRef.nativeElement,i=t.childNodes;for(let o=i.length-1;o>=0;o--){const s=i[o];"svg"===s.tagName?.toLowerCase()&&this._renderer.removeChild(t,s)}}static{this.\u0275fac=function(i){return new(i||e)(w(yD),w(Re),w(vn))}}static{this.\u0275dir=H({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[yt]})}}return e})();const _D={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'},IG=[{name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},{name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false">
1<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},{name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},{name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'},{name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'},{name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'},{name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},{name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false">
1<path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},{name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'},{name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'},{name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'},{name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},{name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'},{name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},{name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" />
1<path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'},{name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},{name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},{name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},{name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'},{name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'},{name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'},{name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'},{name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'},{name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false">
1<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},{name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'},{name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'},{name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},_D,{name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'},_D,{name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},{name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'},{name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'},{name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},{name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false">
1<path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'},{name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},{name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'}],wD=new P("nz_icons"),bD=(new P("nz_icon_default_twotone_color"),"#1890ff");let CD=(()=>{class e extends yD{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(t){t.getAttribute("viewBox")||this._renderer.setAttribute(t,"viewBox","0 0 1024 1024"),(!t.getAttribute("width")||!t.getAttribute("height"))&&(this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em")),t.getAttribute("fill")||this._renderer.setAttribute(t,"fill","currentColor")}fetchFromIconfont(t){const{scriptUrl:i}=t;if(this._document&&!this.iconfontCache.has(i)){const r=this._renderer.createElement("script");this._renderer.setAttribute(r,"src",i),this._renderer.setAttribute(r,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,r),this.iconfontCache.add(i)}}createIconfontIcon(t){return this._createSVGElementFromString(`<svg><use xlink:href="${t}"></svg>`)}constructor(t,i,r,o,s,a,l){super(t,s,a,i,[...IG,...l||[]]),this.nzConfigService=r,this.platform=o,this.configUpdated$=new N,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const t=this.getConfig();this.defaultTheme=t.nzTheme||"outline"}configDefaultTwotoneColor(){const i=this.getConfig().nzTwotoneColor||bD;let r=bD;i&&(i.startsWith("#")?r=i:Ha("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:r}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static{this.\u0275fac=function(i){return new(i||e)(x(Nl),x(va),x(ho),x(co),x(ga,8),x(ye,8),x(wD,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const SD=new P("nz_icons_patch");let DD=(()=>{class e{constructor(t,i){this.extraIcons=t,this.rootIconService=i,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(t=>this.rootIconService.addIcon(t)),this.patched=!0)}static{this.\u0275fac=function(i){return new(i||e)(x(SD,2),x(CD))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),Ba=(()=>{class e extends BW{set nzSpin(t){this.spin=t}set nzType(t){this.type=t}set nzTheme(t){this.theme=t}set nzTwotoneColor(t){this.twoToneColor=t}set nzIconfont(t){this.iconfont=t}constructor(t,i,r,o,s,a){super(o,r,s),this.ngZone=t,this.changeDetectorRef=i,this.iconService=o,this.renderer=s,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new N,a&&a.doPatch(),this.el=r.nativeElement}ngOnChanges(t){const{nzType:i,nzTwotoneColor:r,nzSpin:o,nzTheme:s,nzRotate:a}=t;i||r||o||s?this.changeIcon2():a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const t=this.el.children;let i=t.length;if(!this.type&&t.length)for(;i--;){const r=t[i];
1"svg"===r.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(r)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{Mt(this._changeIcon()).pipe(rt(this.destroy$)).subscribe({next:t=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),t&&(this.setSVGData(t),this.handleSpin(t),this.handleRotate(t))})},error:Ha})})}handleSpin(t){this.spin||"loading"===this.type?this.renderer.addClass(t,"anticon-spin"):this.renderer.removeClass(t,"anticon-spin")}handleRotate(t){this.nzRotate?this.renderer.setAttribute(t,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(t,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(t){this.renderer.setAttribute(t,"data-icon",this.type),this.renderer.setAttribute(t,"aria-hidden","true")}static{this.\u0275fac=function(i){return new(i||e)(w(J),w(Qt),w(Re),w(CD),w(vn),w(DD,8))}}static{this.\u0275dir=H({type:e,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(i,r){2&i&&Zt("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],standalone:!0,features:[de,yt]})}}return Ce([kt()],e.prototype,"nzSpin",null),e})(),Jc=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:wD,useValue:t}]}}static forChild(t){return{ngModule:e,providers:[DD,{provide:SD,useValue:t}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})(),MD=(()=>{class e{setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(t,i){this.elementRef=t,this.renderer=i,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(vn))}}static{this.\u0275dir=H({type:e,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},standalone:!0,features:[yt]})}}return e})(),AG=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();class PG{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(n,t,i,r,o){this.triggerElement=n,this.ngZone=t,this.insertExtraNode=i,this.platformId=r,this.cspNonce=o,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=s=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===s.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new co(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const n=this.triggerElement,t=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(t)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`\n      [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n        --antd-wave-shadow-color: ${t};\n      }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",n.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&this.isNotGrey(n)&&!
1/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n}isNotGrey(n){const t=n.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}getWaveColor(n){const t=getComputedStyle(n);return t.getPropertyValue("border-top-color")||t.getPropertyValue("border-color")||t.getPropertyValue("background-color")}runTimeoutOutsideZone(n,t){this.ngZone.runOutsideAngular(()=>setTimeout(n,t))}}const OG={disabled:!1},xD=new P("nz-wave-global-options");function RG(e){return bo([{provide:xD,useValue:e}])}let TD=(()=>{class e{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(t,i,r,o,s,a){this.ngZone=t,this.elementRef=i,this.config=r,this.animationType=o,this.platformId=s,this.cspNonce=a,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let t=!1;return this.config&&"boolean"==typeof this.config.disabled&&(t=this.config.disabled),"NoopAnimations"===this.animationType&&(t=!0),t}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new PG(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static{this.\u0275fac=function(i){return new(i||e)(w(J),w(Re),w(xD,8),w(Es,8),w(ri),w(a4,8))}}static{this.\u0275dir=H({type:e,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"],standalone:!0})}}return e})(),FG=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({providers:[RG(OG)]})}}return e})();const LG=["nz-button",""],NG=["*"];function VG(e,n){1&e&&_(0,"span",0)}let zf=(()=>{class e{insertSpan(t,i){t.forEach(r=>{if("#text"===r.nodeName){const o=i.createElement("span"),s=i.parentNode(r);i.insertBefore(s,o,r),i.appendChild(o,r)}})}get iconOnly(){const t=Array.from(this.elementRef?.nativeElement?.childNodes||[]),i=t.every(o=>"#text"!==o.nodeName),r=0==t.filter(o=>!("#comment"===o.nodeName||o?.attributes?.getNamedItem("nz-icon"))).length;return!!this.nzIconDirectiveElement&&r&&i}constructor(t,i,r,o,s,a){this.ngZone=t,this.elementRef=i,this.cdr=r,this.renderer=o,this.nzConfigService=s,this.directionality=a,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new N,this.loading$=new N,this.nzConfigService.getConfigChangeEventForComponent("button").pipe(rt(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe(rt(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{Ra(this.elementRef.nativeElement,"click",{capture:!0}).pipe(rt(this.destroy$)).subscribe(t=>{(this.disabled&&"A"===t.target?.tagName||this.nzLoading)&&(t.preventDefault(),t.stopImmediatePropagation())})})}ngOnChanges(t){const{nzLoading:i}=t;i&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(_a(this.nzLoading),mt(()=>!!this.nzIconDirectiveElement),rt(this.destroy$)).subscribe(t=>{const i=this.nzIconDirectiveElement.nativeElement;t?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||e)(w(J),w(Re),w(Qt),w(vn),w(ho),w(Va,8))}}static{this.\u0275cmp=ve({type:e,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(i,r,o){if(1&i&&ra(o,Ba,5,Re),2&i){let s;Pn(s=On())&&(r.nzIconDirectiveElement=s.first)}},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(i,r){2&i&&(nt("tabindex",r.disabled?-1:null===r.tabIndex?null:r.tabIndex)("disabled",r.disabled||null),Zt("ant-btn-default","default"===r.nzType)("ant-btn-primary","primary"===r.nzType)("ant-btn-dashed","dashed"===r.nzType)("ant-btn-l
1ink","link"===r.nzType)("ant-btn-text","text"===r.nzType)("ant-btn-circle","circle"===r.nzShape)("ant-btn-round","round"===r.nzShape)("ant-btn-lg","large"===r.nzSize)("ant-btn-sm","small"===r.nzSize)("ant-btn-dangerous",r.nzDanger)("ant-btn-loading",r.nzLoading)("ant-btn-background-ghost",r.nzGhost)("ant-btn-block",r.nzBlock)("ant-input-search-button",r.nzSearch)("ant-btn-rtl","rtl"===r.dir)("ant-btn-icon-only",r.iconOnly))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],standalone:!0,features:[yt,It],attrs:LG,ngContentSelectors:NG,decls:2,vars:1,consts:[["nz-icon","","nzType","loading"]],template:function(i,r){1&i&&(Lo(),F(0,VG,1,0,"span",0),Qr(1)),2&i&&St(0,r.nzLoading?0:-1)},dependencies:[Jc,Ba],encapsulation:2,changeDetection:0})}}return Ce([kt()],e.prototype,"nzBlock",void 0),Ce([kt()],e.prototype,"nzGhost",void 0),Ce([kt()],e.prototype,"nzSearch",void 0),Ce([kt()],e.prototype,"nzLoading",void 0),Ce([kt()],e.prototype,"nzDanger",void 0),Ce([kt()],e.prototype,"disabled",void 0),Ce([fo()],e.prototype,"nzSize",void 0),e})(),kD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[zf,AG,FG]})}}return e})(),Ya=(()=>{class e{static ngTemplateContextGuard(t,i){return!0}recreateView(){this.viewContainer.clear();const t=this.nzStringTemplateOutlet instanceof ct;this.embeddedViewRef=this.viewContainer.createEmbeddedView(t?this.nzStringTemplateOutlet:this.templateRef,t?this.nzStringTemplateOutletContext:this.context)}updateContext(){const i=this.nzStringTemplateOutlet instanceof ct?this.nzStringTemplateOutletContext:this.context,r=this.embeddedViewRef.context;if(i)for(const o of Object.keys(i))r[o]=i[o]}constructor(t,i){this.viewContainer=t,this.templateRef=i,this.embeddedViewRef=null,this.context=new HG,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(t){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:r}=t;r&&(this.context.$implicit=r.currentValue),(()=>{let a=!1;return r&&(a=!!r.firstChange||(r.previousValue instanceof ct||r.currentValue instanceof ct)),i&&(u=>{const d=Object.keys(u.previousValue||{}),m=Object.keys(u.currentValue||{});if(d.length===m.length){for(const g of m)if(-1===d.indexOf(g))return!0;return!1}return!0})(i)||a})()?this.recreateView():this.updateContext()}static{this.\u0275fac=function(i){return new(i||e)(w(Kt),w(ct))}}static{this.\u0275dir=H({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],standalone:!0,features:[yt]})}}return e})();class HG{}let ja=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();class Ln{static{this.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}}}transform(n,t=0,i="B",r){if(!(RS(n)&&RS(t)&&t%1==0&&t>=0))return n;let o=n,s=i;for(;"B"!==s;)o*=1024,s=Ln.formats[s].prev;if(r){const l=FS(Ln.calculateResult(Ln.formats[r],o),t);return Ln.formatResult(l,r)}for(const a in Ln.formats)if(Ln.formats.hasOwnProperty(a)){const l=Ln.formats[a];if(o<l.max){const c=FS(Ln.calculateResult(l,o),t);return Ln.formatResult(c,a)}}}static formatResult(n,t){return`${n} ${t}`}static calculateResult(n,t){const i=n.prev?Ln.formats[n.prev]:void 0;return i?t/i.max:t}static{this.\u0275fac=function(t){return new(t||Ln)}}static{this.\u0275pipe=at({name:"nzBytes",type:Ln,pure:!0,standalone:!0})}}let If=(()=>{class e{transform(t,i="px"){return"number"==typeof t?`${t}${i}`:t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275pipe=at({name:"nzToCssUnit",type:e,pure:!0,standalone:!0})}}return e})(),zD=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({})}}return e})();var ne=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(ne||{});const Er="*";
1function Nn(e,n){return{type:ne.Trigger,name:e,definitions:n,options:{}}}function ke(e,n=null){return{type:ne.Animate,styles:n,timings:e}}function j(e){return{type:ne.Style,styles:e,offset:null}}function Sn(e,n,t){return{type:ne.State,name:e,styles:n,options:t}}function Ae(e,n,t=null){return{type:ne.Transition,expr:e,animation:n,options:t}}function ID(e,n,t=null){return{type:ne.Query,selector:e,animation:n,options:t}}function AD(e,n){return{type:ne.Stagger,timings:e,animation:n}}class e1{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(){queueMicrotask(()=>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 PD{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?queueMicrotask(()=>this._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}}const OD=["moz","ms","webkit"],KG=function GG(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const e=OD.filter(n=>`${n}RequestAnimationFrame`in window)[0];return e?window[`${e}RequestAnimationFrame`]:function WG(){let e=0;return function(n){const t=(new Date).getTime(),i=Math.max(0,16-(t-e)),r=window.setTimeout(()=>{n(t+i)},i);return e=t+i,r}}()}();let yK=(()=>{class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function wK(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 _K(e){try{return e.frameElement}catch{return null}}(function EK(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(t));if(i&&(-1===VD(i)||!this.isVisible(i)))return!1;let r=t.nodeName.toLowerCase(),o=VD(t);return t.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function xK(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 TK(e){return!function CK(e){return function DK(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function bK(e){let n=e.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(e)||function SK(e){return function MK(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||ND(e))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static{this.\u0275fac=function(i){return new(i||e)(x(co))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ND(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let n=e.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function VD(e){if(!ND(e))return null;const n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class HD{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))}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()}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(pn(1)).subscribe(n)}}let BD=(()=>{class e{constructor(t,i,r){this._checker=t,this._ngZone=i,this._document=r}create(t,i=!1){return new HD(t,this._checker,this._ngZone,this._document,i)}static{this.\u0275fac=function(i){return new(i||e)(x(yK),x(J),x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var YD={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D
1/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh"}},OK={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"}
1,Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0"}};const Pf=new P("nz-i18n"),RK=new P("nz-date-locale");let Of=(()=>{class e{get localeChange(){return this._change.asObservable()}constructor(t,i){this._change=new xn(this._locale),this.setLocale(t||OK),this.setDateLocale(i||null)}translate(t,i){let r=this._getObjectPath(this._locale,t);
1return"string"==typeof r?(i&&Object.keys(i).forEach(o=>r=r.replace(new RegExp(`%${o}%`,"g"),i[o])),r):t}setLocale(t){this._locale&&this._locale.locale===t.locale||(this._locale=t,this._change.next(t))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(t){this.dateLocale=t}getDateLocale(){return this.dateLocale}getLocaleData(t,i){const r=t?this._getObjectPath(this._locale,t):this._locale;return!r&&!i&&Ha(`Missing translations for "${t}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),r||i||this._getObjectPath(YD,t)||{}}_getObjectPath(t,i){let r=t;const o=i.split("."),s=o.length;let a=0;for(;r&&a<s;)r=r[o[a++]];return a===s?r:null}static{this.\u0275fac=function(i){return new(i||e)(x(Pf,8),x(RK,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Rf(e,n,t){for(let i in n)if(n.hasOwnProperty(i)){const r=n[i];r?e.setProperty(i,r,t?.has(i)?"important":""):e.removeProperty(i)}return e}function Ua(e,n){const t=n?"":"none";Rf(e.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function jD(e,n,t){Rf(e.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},t)}function Hu(e,n){return n&&"none"!=n?e+" "+n:e}function UD(e,n){e.style.width=`${n.width}px`,e.style.height=`${n.height}px`,e.style.transform=Bu(n.left,n.top)}function Bu(e,n){return`translate3d(${Math.round(e)}px, ${Math.round(n)}px, 0)`}function Ff(e){const n=e.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function Lf(e,n,t){const{top:i,bottom:r,left:o,right:s}=e;return t>=i&&t<=r&&n>=o&&n<=s}function t1(e,n,t){e.top+=n,e.bottom=e.top+e.height,e.left+=t,e.right=e.left+e.width}function $D(e,n,t,i){const{top:r,right:o,bottom:s,left:a,width:l,height:c}=e,u=l*n,d=c*n;return i>r-d&&i<s+d&&t>a-u&&t<o+u}new P("date-config");class qD{constructor(n){this._document=n,this.positions=new Map}clear(){this.positions.clear()}cache(n){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),n.forEach(t=>{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:Ff(t)})})}handleScroll(n){const t=Na(n),i=this.positions.get(t);if(!i)return null;const r=i.scrollPosition;let o,s;if(t===this._document){const c=this.getViewportScrollPosition();o=c.top,s=c.left}else o=t.scrollTop,s=t.scrollLeft;const a=r.top-o,l=r.left-s;return this.positions.forEach((c,u)=>{c.clientRect&&t!==u&&t.contains(u)&&t1(c.clientRect,a,l)}),r.top=o,r.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function WD(e){const n=e.cloneNode(!0),t=n.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r<t.length;r++)t[r].removeAttribute("id");return"canvas"===i?ZD(e,n):("input"===i||"select"===i||"textarea"===i)&&KD(e,n),GD("canvas",e,n,ZD),GD("input, textarea, select",e,n,KD),n}function GD(e,n,t,i){const r=n.querySelectorAll(e);if(r.length){const o=t.querySelectorAll(e);for(let s=0;s<r.length;s++)i(r[s],o[s])}}let BK=0;function KD(e,n){"file"!==n.type&&(n.value=e.value),"radio"===n.type&&n.name&&(n.name=`mat-clone-${n.name}-${BK++}`)}function ZD(e,n){const t=n.getContext("2d");if(t)try{t.drawImage(e,0,0)}catch{}}function QD(e,n){const t=e.rootNodes;if(1===t.length&&t[0].nodeType===n.ELEMENT_NODE)return t[0];const i=n.createElement("div");return t.forEach(r=>i.appendChild(r)),i}function XD(e){const n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Nf(e,n){return e.getPropertyValue(n).split(",").map(i=>i.trim())}const jK=new Set(["position"]);class UK{constructor(n,t,i,r,o,s,a,l,c){this._document=n,this._rootElement=t,this._direction=i,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=c}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return function YK(e){const n=getComputedStyle(e),t=Nf(n,"transition-property"),i=t.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=t.indexOf(i),o=Nf(n,"transition-duration"),s=Nf(n,"transition-delay");
1return XD(o[r])+XD(s[r])}(this._preview)}addEventListener(n,t){this._preview.addEventListener(n,t)}removeEventListener(n,t){this._preview.removeEventListener(n,t)}_createPreview(){const n=this._previewTemplate,t=this._previewClass,i=n?n.template:null;let r;if(i&&n){const o=n.matchSize?this._initialDomRect:null,s=n.viewContainer.createEmbeddedView(i,n.context);s.detectChanges(),r=QD(s,this._document),this._previewEmbeddedView=s,n.matchSize?UD(r,o):r.style.transform=Bu(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=WD(this._rootElement),UD(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return Rf(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},jK),Ua(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(o=>r.classList.add(o)):r.classList.add(t)),r}}const JD=La({passive:!0}),Yu=La({passive:!1}),eM=La({passive:!1,capture:!0}),tM=new Set(["position"]);class qK{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Ua(t,n)))}constructor(n,t,i,r,o,s){this._config=t,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new N,this._pointerMoveSubscription=et.EMPTY,this._pointerUpSubscription=et.EMPTY,this._scrollSubscription=et.EMPTY,this._resizeSubscription=et.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new N,this.started=new N,this.released=new N,this.ended=new N,this.entered=new N,this.exited=new N,this.dropped=new N,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const g=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),v=this._dropContainer;if(!g)return void this._endDragSequence(a);(!v||!v.isDragging()&&!v.isReceiving())&&(a.cancelable&&a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.cancelable&&a.preventDefault();const c=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,l);else{const u=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,d=this._activeTransform;d.x=c.x-u.x+this._passiveTransform.x,d.y=c.y-u.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:a,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(n).withParent(t.parentDragRef||null),this._parentPositions=new qD(i),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>Fn(i)),this._handles.forEach(i=>Ua(i,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;
1return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&t.add(i)}),this._disabledHandles=t,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const t=Fn(n);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,Yu),t.addEventListener("touchstart",this._pointerDown,JD),t.addEventListener("dragstart",this._nativeDragStart,Yu)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?Fn(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),Ua(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),Ua(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",iM,eM)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}
1_startDragSequence(n){n1(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._getShadowRoot(),i=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",iM,eM)}),i){const r=this._rootElement,o=r.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");o.insertBefore(a,r),this._initialTransform=r.style.transform||"",this._preview=new UK(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(o,t)),jD(r,!1,tM),this._document.body.appendChild(o.replaceChild(s,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,t){this._parentDragRef&&t.stopPropagation();const i=this.isDragging(),r=n1(t),o=!r&&0!==t.button,s=this._rootElement,a=Na(t),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=r?function zK(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)}(t):function kK(e){return 0===e.buttons||0===e.detail}(t);if(a&&a.draggable&&"mousedown"===t.type&&t.preventDefault(),i||o||l||c)return;if(this._handles.length){const m=s.style;this._rootElementTapHighlight=m.webkitTapHighlightColor||"",m.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(m=>this._updateOnScroll(m)),this._boundaryElement&&(this._boundaryRect=Ff(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,t);const d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(n){jD(this._rootElement,!0,tM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,i=t.getItemIndex(this),r=this._getPointerPositionOnPage(n),o=this._getDragDistance(r),s=t._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:r,event:n}),t.drop(this,i,this._initialIndex,this._initialContainer,s,o,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:t},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,n,t);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,t)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,n,t,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,n,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,t):this._applyPreviewTransform(n-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const t=this._preview.getTransitionDuration();return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=s=>{(!s||Na(s)===this._preview&&"transform"===s.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*t);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,t=n?n.template:null;let i;return t?(this._placeholderRef=n.viewContainer.createEmbeddedView(t,n.context),this._placeholderRef.detectChanges(),i=QD(this._placeholderRef,this._document)):i=WD(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(n,t,i){const r=t===this._rootElement?null:t,o=r?r.getBoundingClientRect():n,s=n1(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition();return{x:o.left-n.left+(s.pageX-o.left-a.left),y:o.top-n.top+(s.pageY-o.top-a.top)}}_getPointerPositionOnPage(n){const t=this._getViewportScrollPosition(),i=n1(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-t.left,o=i.pageY-t.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=o,a.matrixTransform(s.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(n){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===t)&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:o,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(c-s);i=nM(i,a.left+o,a.right-(l-o)),r=nM(r,u,d)}return{x:i,y:r}}_updatePointerDirectionDelta(n){const{x:t,y:i}=n,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(t-o.x),a=Math.abs(i-o.y);return s>this._config.pointerDirectionChangeThreshold&&(r.x=t>o.x?1:-1,o.x=t),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,Ua(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,Yu),n.removeEventListener("touchstart",this._pointerDown,JD),n.removeEventListener("dragstart",this._nativeDragStart,Yu)}_applyRootElementTransform(n,t){const i=Bu(n,t),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=Hu(i,this._initialTransform)}_applyPreviewTransform(n,t){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=Bu(n,t);this._preview.setTransform(Hu(r,i))}_getDragDistance(n){const t=this._pickupPositionOnPage;return t?{x:n.x-t.x,y:n.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:t}=this._passiveTransform;if(0===n&&0===t||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,s=i.right-r.right,a=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(o>0&&(n+=o),s>0&&(n-=s)):n=0,r.height>i.height?(a>0&&(t+=a),l>0&&(t-=l)):t=0,(n!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:n})}_getDragStartDelay(n){const t=this.dragStartDelay;return"number"==typeof t?t:n1(n)?t.touch:t?t.mouse:0}_updateOnScroll(n){const t=this._parentPositions.handleScroll(n);if(t){const i=Na(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&t1(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=mS(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,t){const i=this._previewContainer||"global";if("parent"===i)return n;if("global"===i){const r=this._document;return t||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Fn(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(n){return this._handles.find(t=>n.target&&(n.target===t||t.contains(n.target)))}}function nM(e,n,t){return Math.max(n,Math.min(t,e))}function n1(e){return"t"===e.type[0]}function iM(e){e.preventDefault()}function r1(e,n){return Math.max(0,Math.min(n,e))}class GK{constructor(n,t){this._element=n,this._dragDropRegistry=t,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(n){this.withItems(n)}sort(n,t,i,r){const o=this._itemPositions,s=this._getItemIndexFromPointerPosition(n,t,i,r);if(-1===s&&o.length>0)return null;const a="horizontal"===this.orientation,l=o.findIndex(C=>C.drag===n),c=o[s],d=c.clientRect,m=l>s?1:-1,g=this._getItemOffsetPx(o[l].clientRect,d,m),v=this._getSiblingOffsetPx(l,o,m),y=o.slice();return function WK(e,n,t){const i=r1(n,e.length-1),r=r1(t,e.length-1);if(i===r)return;const o=e[i],s=r<i?-1:1;for(let a=i;a!==r;a+=s)e[a]=e[a+s];e[r]=o}(o,l,s),o.forEach((C,S)=>{if(y[S]===C)return;const D=C.drag===n,A=D?g:v,L=D?n.getPlaceholderElement():C.drag.getRootElement();C.offset+=A,a?(L.style.transform=Hu(`translate3d(${Math.round(C.offset)}px, 0, 0)`,C.initialTransform),t1(C.clientRect,0,A)):(L.style.transform=Hu(`translate3d(0, ${Math.round(C.offset)}px, 0)`,C.initialTransform),t1(C.clientRect,A,0))}),this._previousSwap.overlaps=Lf(d,t,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?r.x:r.y,{previousIndex:l,currentIndex:s}}enter(n,t,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(n,t,i):r,s=this._activeDraggables,a=s.indexOf(n),l=n.getPlaceholderElement();let c=s[o];if(c===n&&(c=s[o+1]),!c&&(null==o||-1===o||o<s.length-1)&&this._shouldEnterAsFirstChild(t,i)&&(c=s[0]),a>-1&&s.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(l,u),s.splice(o,0,n)}else Fn(this._element).appendChild(l),s.push(n);l.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}
1reset(){this._activeDraggables.forEach(n=>{const t=n.getRootElement();if(t){const i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;t.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===n)}updateOnScroll(n,t){this._itemPositions.forEach(({clientRect:i})=>{t1(i,n,t)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const n="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const i=t.getVisibleElement();return{drag:t,offset:0,initialTransform:i.style.transform||"",clientRect:Ff(i)}}).sort((t,i)=>n?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_getItemOffsetPx(n,t,i){const r="horizontal"===this.orientation;let o=r?t.left-n.left:t.top-n.top;return-1===i&&(o+=r?t.width-n.width:t.height-n.height),o}_getSiblingOffsetPx(n,t,i){const r="horizontal"===this.orientation,o=t[n].clientRect,s=t[n+-1*i];let a=o[r?"width":"height"]*i;if(s){const l=r?"left":"top",c=r?"right":"bottom";-1===i?a-=s.clientRect[l]-o[c]:a+=o[l]-s.clientRect[c]}return a}_shouldEnterAsFirstChild(n,t){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return r?n>=s.right:t>=s.bottom}{const s=i[0].clientRect;return r?n<=s.left:t<=s.top}}_getItemIndexFromPointerPosition(n,t,i,r){const o="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>a!==n&&((!r||a!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?t>=Math.floor(l.left)&&t<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom))));return-1!==s&&this._sortPredicate(s,n)?s:-1}}var ci=function(e){return e[e.NONE=0]="NONE",e[e.UP=1]="UP",e[e.DOWN=2]="DOWN",e}(ci||{}),Dn=function(e){return e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e}(Dn||{});class KK{constructor(n,t,i,r,o){this._dragDropRegistry=t,this._ngZone=r,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new N,this.entered=new N,this.exited=new N,this.dropped=new N,this.sorted=new N,this.receivingStarted=new N,this.receivingStopped=new N,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=et.EMPTY,this._verticalScrollDirection=ci.NONE,this._horizontalScrollDirection=Dn.NONE,this._stopScrollTimers=new N,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function HK(e=0,n=ru){return e<0&&(e=0),O6(e,e,n)}(0,dS).pipe(rt(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,a=this.autoScrollStep;this._verticalScrollDirection===ci.UP?s.scrollBy(0,-a):this._verticalScrollDirection===ci.DOWN&&s.scrollBy(0,a),this._horizontalScrollDirection===Dn.LEFT?s.scrollBy(-a,0):this._horizontalScrollDirection===Dn.RIGHT&&s.scrollBy(a,0)})},this.element=Fn(n),this._document=i,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new qD(i),this._sortStrategy=new GK(this.element,t),this._sortStrategy.withSortPredicate((s,a)=>this.sortPredicate(s,a,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,t,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,t,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,t,i,r,o,s,a,l={}){this._reset(),this.dropped.next({item:n,currentIndex:t,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(n){const t=this._draggables;
1return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(t.filter(r=>r.isDragging()).every(r=>-1===n.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._sortStrategy.direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._sortStrategy.orientation=n,this}withScrollableParents(n){const t=Fn(this.element);return this._scrollableElements=-1===n.indexOf(t)?[t,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,t,i,r){if(this.sortingDisabled||!this._domRect||!$D(this._domRect,.05,t,i))return;const o=this._sortStrategy.sort(n,t,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,t){if(this.autoScrollDisabled)return;let i,r=ci.NONE,o=Dn.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||i||$D(s.clientRect,.05,n,t)&&([r,o]=function ZK(e,n,t,i,r){const o=sM(n,r),s=aM(n,i);let a=ci.NONE,l=Dn.NONE;if(o){const c=e.scrollTop;o===ci.UP?c>0&&(a=ci.UP):e.scrollHeight-c>e.clientHeight&&(a=ci.DOWN)}if(s){const c=e.scrollLeft;"rtl"===t?s===Dn.RIGHT?c<0&&(l=Dn.RIGHT):e.scrollWidth+c>e.clientWidth&&(l=Dn.LEFT):s===Dn.LEFT?c>0&&(l=Dn.LEFT):e.scrollWidth-c>e.clientWidth&&(l=Dn.RIGHT)}return[a,l]}(a,s.clientRect,this._sortStrategy.direction,n,t),(r||o)&&(i=a))}),!r&&!o){const{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};r=sM(l,t),o=aM(l,n),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=Fn(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=Fn(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(n).clientRect}_reset(){this._isDragging=!1;const n=Fn(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(n,t){return null!=this._domRect&&Lf(this._domRect,n,t)}_getSiblingContainerFromPosition(n,t,i){return this._siblings.find(r=>r._canReceive(n,t,i))}_canReceive(n,t,i){if(!this._domRect||!Lf(this._domRect,t,i)||!this.enterPredicate(n,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,i);if(!r)return!1;const o=Fn(this.element);return r===o||o.contains(r)}_startReceiving(n,t){const i=this._activeSiblings;!i.has(n)&&t.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:t}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(n);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=mS(Fn(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());
1this._siblings.forEach(t=>t._startReceiving(this,n))}}function sM(e,n){const{top:t,bottom:i,height:r}=e,o=.05*r;return n>=t-o&&n<=t+o?ci.UP:n>=i-o&&n<=i+o?ci.DOWN:ci.NONE}function aM(e,n){const{left:t,right:i,width:r}=e,o=.05*r;return n>=t-o&&n<=t+o?Dn.LEFT:n>=i-o&&n<=i+o?Dn.RIGHT:Dn.NONE}const ju=La({passive:!1,capture:!0}),Uu=new Set;let QK=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ve({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[It],decls:0,vars:0,template:function(i,r){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}}return e})(),XK=(()=>{class e{constructor(t,i){this._ngZone=t,this._appRef=k(xi),this._environmentInjector=k(nn),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new N,this.pointerUp=new N,this.scroll=new N,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,ju)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ju)}startDragging(t,i){if(!(this._activeDragInstances.indexOf(t)>-1)&&(this._loadResets(),this._activeDragInstances.push(t),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ju}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:ju}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,s)=>{this._document.addEventListener(s,o.handler,o.options)})})}}stopDragging(t){const i=this._activeDragInstances.indexOf(t);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(t){return this._activeDragInstances.indexOf(t)>-1}scrolled(t){const i=[this.scroll];return t&&t!==this._document&&i.push(new $e(r=>this._ngZone.runOutsideAngular(()=>{const s=a=>{this._activeDragInstances.length&&r.next(a)};return t.addEventListener("scroll",s,!0),()=>{t.removeEventListener("scroll",s,!0)}}))),Qc(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}_loadResets(){if(!Uu.has(this._appRef)){Uu.add(this._appRef);const t=function SN(e,n){const t=he(e),i=n.elementInjector||B1();return new Yl(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}(QK,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{Uu.delete(this._appRef),0===Uu.size&&t.destroy()})}}static{this.\u0275fac=function(i){return new(i||e)(x(J),x(ye))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const JK={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let lM=(()=>{class e{constructor(t,i,r,o){this._document=t,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(t,i=JK){return new qK(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new KK(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(J),x(L6),x(XK))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const o1=new P("CDK_DRAG_PARENT"),cM=new P("CdkDragHandle");let uM=(()=>{class e{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._stateChanges.next(this)}constructor(t,i){this.element=t,this._parentDrag=i,this._stateChanges=new N,this._disabled=!1,i?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(o1,12))}}static{this.\u0275dir=H({type:e,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[Q.HasDecoratorInputTransform,"cdkDragHandleDisabled","disabled",Rn]},standalone:!0,features:[Ie([{provide:cM,useExisting:e}]),Wr]})}}return e})();const dM=new P("CDK_DRAG_CONFIG"),hM=new P("CdkDropList");let fM=(()=>{class e{static{this._dragInstances=[]}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}constructor(t,i,r,o,s,a,l,c,u,d,m){this.element=t,this.dropContainer=i,this._ngZone=o,this._viewContainerRef
1=s,this._dir=l,this._changeDetectorRef=u,this._selfHandle=d,this._parentDrag=m,this._destroyed=new N,this._handles=new xn([]),this.started=new U,this.released=new U,this.ended=new U,this.entered=new U,this.exited=new U,this.dropped=new U,this.moved=new $e(g=>{const v=this._dragRef.moved.pipe(ce(y=>({source:this,pointerPosition:y.pointerPosition,event:y.event,delta:y.delta,distance:y.distance}))).subscribe(g);return()=>{v.unsubscribe()}}),this._dragRef=c.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:a?.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),a&&this._assignDefaults(a),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(pn(1),rt(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(t){const i=t.rootElementSelector,r=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){const i=this._handles.getValue();i.push(t),this._handles.next(i)}_removeHandle(t){const i=this._handles.getValue(),r=i.indexOf(t);r>-1&&(i.splice(r,1),this._handles.next(i))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const t=this.element.nativeElement;let i=t;this.rootElementSelector&&(i=void 0!==t.closest?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?this.element.nativeElement.closest(t):Fn(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof r&&r?r:function lS(e,n=0){return cS(e)?Number(e):n}(r),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe(pn(1)).subscribe(()=>{if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){t.withParent(e._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){const{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:s,boundaryElement:a,draggingDisabled:l,rootElementSelector:c,previewContainer:u}=t;this.disabled=l??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),s&&(this.previewClass=s),a&&(this.boundaryElement=a),c&&(this.rootElementSelector=c),u&&(this.previewContainer=u)}_setupHandlesListener(){this._handles.pipe(Yt(t=>{const i=t.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Qn(t=>Qc(...t.map(i=>i._stateChanges.pipe(_a(i))))),rt(this._destroyed)).subscribe(t=>{const i=this._dragRef,r=t.element.nativeElement;
1t.disabled?i.disableHandle(r):i.enableHandle(r)})}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(hM,12),w(ye),w(J),w(Kt),w(dM,8),w(Va,8),w(lM),w(Qt),w(cM,10),w(o1,12))}}static{this.\u0275dir=H({type:e,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){2&i&&Zt("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:[Q.None,"cdkDragData","data"],lockAxis:[Q.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[Q.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[Q.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[Q.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[Q.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[Q.HasDecoratorInputTransform,"cdkDragDisabled","disabled",Rn],constrainPosition:[Q.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[Q.None,"cdkDragPreviewClass","previewClass"],previewContainer:[Q.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Ie([{provide:o1,useExisting:e}]),Wr,yt]})}}return e})();const aZ=["nz-modal-close",""];function lZ(e,n){if(1&e&&(Gn(0),_(1,"span",2),Kn()),2&e){const t=n.$implicit;b(),M("nzType",t)}}const pM=["modalElement"];function cZ(e,n){if(1&e){const t=Ze();h(0,"button",16),z("click",function(){return B(t),Y(I().onCloseClick())}),p()}}function uZ(e,n){if(1&e&&(Gn(0),_(1,"span",12),Kn()),2&e){const t=I();b(),M("innerHTML",t.config.nzTitle,wi)}}function dZ(e,n){}function hZ(e,n){1&e&&_(0,"div",12),2&e&&M("innerHTML",I().config.nzContent,wi)}function fZ(e,n){if(1&e){const t=Ze();h(0,"button",17),z("click",function(){return B(t),Y(I().onCancel())}),f(1),p()}if(2&e){const t=I();M("nzLoading",t.config.nzCancelLoading)("disabled",t.config.nzCancelDisabled),nt("cdkFocusInitial","cancel"===t.config.nzAutofocus||null),b(),pe(" ",t.config.nzCancelText||t.locale.cancelText," ")}}function pZ(e,n){if(1&e){const t=Ze();h(0,"button",18),z("click",function(){return B(t),Y(I().onOk())}),f(1),p()}if(2&e){const t=I();M("nzType",t.config.nzOkType)("nzLoading",t.config.nzOkLoading)("disabled",t.config.nzOkDisabled)("nzDanger",t.config.nzOkDanger),nt("cdkFocusInitial","ok"===t.config.nzAutofocus||null),b(),pe(" ",t.config.nzOkText||t.locale.okText," ")}}const mZ=["nz-modal-footer",""],gZ=(e,n)=>({$implicit:e,modalRef:n});function vZ(e,n){if(1&e){const t=Ze();h(0,"button",2),z("click",function(){const r=B(t).$implicit;return Y(I(4).onButtonClick(r))}),f(1),p()}if(2&e){const t=n.$implicit,i=I(4);M("hidden",!i.getButtonCallableProp(t,"show"))("nzLoading",i.getButtonCallableProp(t,"loading"))("disabled",i.getButtonCallableProp(t,"disabled"))("nzType",t.type)("nzDanger",t.danger)("nzShape",t.shape)("nzSize",t.size)("nzGhost",t.ghost),b(),pe(" ",t.label," ")}}function yZ(e,n){1&e&&Ql(0,vZ,2,9,"button",1,Zl),2&e&&Xl(I(3).buttons)}function _Z(e,n){1&e&&_(0,"div",3),2&e&&M("innerHTML",I(3).config.nzFooter,wi)}function wZ(e,n){if(1&e&&(Gn(0),F(1,yZ,2,0)(2,_Z,1,1),Kn()),2&e){const t=I(2);b(),St(1,t.buttonsFooter?1:2)}}function bZ(e,n){if(1&e&&F(0,wZ,3,1,"ng-container",0),2&e){const t=I();M("nzStringTemplateOutlet",t.config.nzFooter)("nzStringTemplateOutletContext",o2(2,gZ,t.config.nzData,t.modalRef))}}function CZ(e,n){if(1&e){const t=Ze();
1h(0,"button",6),z("click",function(){return B(t),Y(I(2).onCancel())}),f(1),p()}if(2&e){const t=I(2);M("nzLoading",t.config.nzCancelLoading)("disabled",t.config.nzCancelDisabled),nt("cdkFocusInitial","cancel"===t.config.nzAutofocus||null),b(),pe(" ",t.config.nzCancelText||t.locale.cancelText," ")}}function SZ(e,n){if(1&e){const t=Ze();h(0,"button",7),z("click",function(){return B(t),Y(I(2).onOk())}),f(1),p()}if(2&e){const t=I(2);M("nzType",t.config.nzOkType)("nzDanger",t.config.nzOkDanger)("nzLoading",t.config.nzOkLoading)("disabled",t.config.nzOkDisabled),nt("cdkFocusInitial","ok"===t.config.nzAutofocus||null),b(),pe(" ",t.config.nzOkText||t.locale.okText," ")}}function DZ(e,n){if(1&e&&F(0,CZ,2,4,"button",4)(1,SZ,2,6,"button",5),2&e){const t=I();St(0,null!==t.config.nzCancelText?0:-1),b(),St(1,null!==t.config.nzOkText?1:-1)}}const MZ=["nz-modal-title",""];function xZ(e,n){if(1&e&&(Gn(0),_(1,"div",2),Kn()),2&e){const t=I();b(),M("innerHTML",t.config.nzTitle,wi)}}function TZ(e,n){if(1&e){const t=Ze();h(0,"button",9),z("click",function(){return B(t),Y(I().onCloseClick())}),p()}}function EZ(e,n){1&e&&_(0,"div",10),2&e&&Si("cursor",I().config.nzDraggable?"move":"auto")}function kZ(e,n){}function zZ(e,n){1&e&&_(0,"div",7),2&e&&M("innerHTML",I().config.nzContent,wi)}function IZ(e,n){if(1&e){const t=Ze();h(0,"div",11),z("cancelTriggered",function(){return B(t),Y(I().onCloseClick())})("okTriggered",function(){return B(t),Y(I().onOkClick())}),p()}2&e&&M("modalRef",I().modalRef)}const mM=()=>{};class Qo{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzDraggable=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=mM,this.nzOnOk=mM,this.nzIconType="question-circle"}}const $u="ant-modal-mask",qu="modal",AZ=new P("NZ_MODAL_DATA"),gM={modalContainer:Nn("modalContainer",[Sn("void, exit",j({})),Sn("enter",j({})),Ae("* => enter",ke(".24s",j({}))),Ae("* => void, * => exit",ke(".2s",j({})))])};let Hf=(()=>{class e{constructor(t){this.config=t}static{this.\u0275fac=function(i){return new(i||e)(w(Qo))}}static{this.\u0275cmp=ve({type:e,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],standalone:!0,features:[It],attrs:aZ,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(i,r){1&i&&(h(0,"span",0),F(1,lZ,2,1,"ng-container",1),p()),2&i&&(b(),M("nzStringTemplateOutlet",r.config.nzCloseIcon))},dependencies:[Jc,Ba,ja,Ya],encapsulation:2,changeDetection:0})}}return e})();function s1(e,n,t){return typeof e>"u"?typeof n>"u"?t:n:e}function vM(e){const{nzCentered:n,nzMask:t,nzMaskClosable:i,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzDraggable:d,nzContent:m,nzFooter:g,nzZIndex:v,nzWidth:y,nzWrapClassName:C,nzClassName:S,nzStyle:D,nzTitle:A,nzCloseIcon:L,nzMaskStyle:q,nzBodyStyle:oe,nzOkText:fe,nzCancelText:Be,nzOkType:we,nzOkDanger:ft,nzIconType:Vn,nzModalType:Ot,nzOnOk:or,nzOnCancel:zr,nzAfterOpen:Ir,nzAfterClose:V,nzCloseOnNavigation:W,nzAutofocus:K}=e;return{nzCentered:n,nzMask:t,nzMaskClosable:i,nzDraggable:d,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzContent:m,nzFooter:g,nzZIndex:v,nzWidth:y,nzWrapClassName:C,nzClassName:S,nzStyle:D,nzTitle:A,nzCloseIcon:L,nzMaskStyle:q,nzBodyStyle:oe,nzOkText:fe,nzCancelText:Be,nzOkType:we,nzOkDanger:ft,nzIconType:Vn,nzModalType:Ot,nzOnOk:or,nzOnCancel:zr,nzAfterOpen:Ir,nzAfterClose:V,nzCloseOnNavigation:W,nzAutofocus:K}}function yM(){throw Error("Attempting to attach modal content after content is already attached")}let _M=(()=>{class e extends V6{get showMask(){const t=this.nzConfigService.getConfigForComponent(qu)||{};return!!s1(this.config.nzMask,t.nzMask,!0)}get maskClosable(){const t=this.nzConfigService.getConfigForComponent(qu)||{};return!!s1(this.config.nzMaskClosable,t.nzMaskClosable,!0)}constructor(t,i,r,o,s,a,l,c,u,d){super(),this.ngZone=t,this.host=i,this.focusTrapFactory=r,this.cdr=o,this.render=s,this.overlayRef=a,this.nzConfigService=l,this.config=c,this.animationType=d,this.animationStateChanged=new U,this.containerClick=new U,this.cancelTriggered=new U,this.okTriggered=new U,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new N,this.document=u,this.dir=a.getDirection(),this.isStringContent="string"==typeof c.nzContent,this.nzConfigService.getConfigChangeEventForComponent(qu).pipe(rt(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(t){t.target===t.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(t){return this.portalOutlet.hasAttached()&&yM(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this.portalOutlet.hasAttached()&&yM(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(t)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const t=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const i=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),r=function Yq(e){if(!e.getClientRects().length)return{top:0,left:0};const n=e.getBoundingClientRect(),t=e.ownerDocument.defaultView;return{top:n.top+t.pageYOffset,left:n.left+t.pageXOffset}}(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(t,"transform-origin",`${r.left+i.width/2-t.offsetLeft}px ${r.top+i.height/2-t.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>KG(()=>this.host.nativeElement.focus())))}trapFocus(){const t=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const i=this.document.activeElement;
1i!==t&&!t.contains(i)&&t.focus()}}restoreFocus(){const t=this.elementFocusedBeforeModalWasOpened;if(t&&"function"==typeof t.focus){const i=this.document.activeElement,r=this.host.nativeElement;(!i||i===this.document.body||i===r||r.contains(i))&&t.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const t=this.modalElementRef.nativeElement,i=this.overlayRef.backdropElement;t.classList.add("ant-zoom-enter"),t.classList.add("ant-zoom-enter-active"),i&&(i.classList.add("ant-fade-enter"),i.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const t=this.modalElementRef.nativeElement;t.classList.add("ant-zoom-leave"),t.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(t=!1){const i=this.overlayRef.backdropElement;if(i){if(this.animationDisabled()||t)return void i.classList.remove($u);i.classList.add("ant-fade-leave"),i.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const t=this.overlayRef.backdropElement,i=this.modalElementRef.nativeElement;t&&(t.classList.remove("ant-fade-enter"),t.classList.remove("ant-fade-enter-active")),i.classList.remove("ant-zoom-enter"),i.classList.remove("ant-zoom-enter-active"),i.classList.remove("ant-zoom-leave"),i.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const t=this.overlayRef.backdropElement;t&&Tu(this.config.nzZIndex)&&this.render.setStyle(t,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const t=this.overlayRef.backdropElement;if(t&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(r=>{this.render.removeStyle(t,r)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const i={...this.config.nzMaskStyle};
1Object.keys(i).forEach(r=>{this.render.setStyle(t,r,i[r])}),this.oldMaskStyle=i}}updateMaskClassname(){const t=this.overlayRef.backdropElement;t&&(this.showMask?t.classList.add($u):t.classList.remove($u))}onAnimationDone(t){"enter"===t.toState?this.trapFocus():"exit"===t.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(t)}onAnimationStart(t){"enter"===t.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===t.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(t)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(t){this.ngZone.runOutsideAngular(()=>{Ra(this.host.nativeElement,"mouseup").pipe(rt(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),Ra(t.nativeElement,"mousedown").pipe(rt(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}static{this.\u0275fac=function(i){c0()}}static{this.\u0275dir=H({type:e,features:[de]})}}return e})(),wM=(()=>{class e extends _M{constructor(t,i,r,o,s,a,l,c,u,d,m){super(t,r,o,s,a,l,c,u,d,m),this.i18n=i,this.config=u,this.cancelTriggered=new U,this.okTriggered=new U,this.i18n.localeChange.pipe(rt(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}static{this.\u0275fac=function(i){return new(i||e)(w(J),w(Of),w(Re),w(BD),w(Qt),w(vn),w(Du),w(ho),w(Qo),w(ye,8),w(Es,8))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-modal-confirm-container"]],viewQuery:function(i,r){if(1&i&&(vr(Su,7),vr(pM,7)),2&i){let o;Pn(o=On())&&(r.portalOutlet=o.first),Pn(o=On())&&(r.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(i,r){1&i&&(n2("@modalContainer.start",function(s){return r.onAnimationStart(s)})("@modalContainer.done",function(s){return r.onAnimationDone(s)}),z("click",function(s){return r.onContainerClick(s)})),2&i&&(Q4("@.disabled",r.config.nzNoAnimation)("@modalContainer",r.state),Ro(r.config.nzWrapClassName?"ant-modal-wrap "+r.config.nzWrapClassName:"ant-modal-wrap"),Si("z-index",r.config.nzZIndex),Zt("ant-modal-wrap-rtl","rtl"===r.dir)("ant-modal-centered",r.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],standalone:!0,features:[de,It],decls:17,vars:13,consts:[["modalElement",""],["role","document",1,"ant-modal",3,"ngClass","ngStyle"],[1,"ant-modal-content"],["nz-modal-close",""],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger"],["nz-modal-close","",3,"click"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzLoading","disabled","nzDanger"]],template:function(i,r){1&i&&(h(0,"div",1,0),sc(2,"nzToCssUnit"),h(3,"div",2),F(4,cZ,1,0,"button",3),h(5,"div",4)(6,"div",5)(7,"div",6),_(8,"span",7),h(9,"span",8),F(10,uZ,2,1,"ng-container",9),p(),h(11,"div",10),F(12,dZ,0,0,"ng-template",11)(13,hZ,1,1,"div",12),p()(),h(14,"div",13),F(15,fZ,2,4,"button",14)(16,pZ,2,6,"button",15),p()()()()()),2&i&&(Si("width",ac(2,11,null==r.config?null:r.config.nzWidth)),M("ngClass",r.config.nzClassName)("ngStyle",r.config.nzStyle),b(4),St(4,r.config.nzClosable?4:-1),b(),M("ngStyle",r.config.nzBodyStyle),b(3),M("nzType",r.config.nzIconType),b(2),M("nzStringTemplateOutlet",r.config.nzTitle),b(3),St(13,r.isStringContent?13:-1),b(2),St(15,null!==r.config.nzCancelText?15:-1),b(),St(16,null!==r.config.nzOkText?16:-1))},dependencies:[da,ha,zD,If,Jc,Ba,Hf,ja,Ya,_S,Su,kD,zf,MD,TD],encapsulation:2,data:{animation:[gM.modalContainer]}})}}return e})(),bM=(()=>{class e{constructor(t,i){this.i18n=t,this.config=i,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new U,this.okTriggered=new U,this.destroy$=new N,Array.isArray(i.nzFooter)&&(this.buttonsFooter=!0,this.buttons=i.nzFooter.map(OZ)),this.i18n.localeChange.pipe(rt(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(t,i){const r=t[i],o=this.modalRef.getContentComponent();return"function"==typeof r?r.apply(t,o&&[o]):r}onButtonClick(t){if(!this.getButtonCallableProp(t,"loading")){const r=this.getButtonCallableProp(t,"onClick");t.autoLoading&&j6(r)&&(t.loading=!0,r.then(()=>t.loading=!1).catch(o=>{throw t.loading=!1,o}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||e)(w(Of),w(Qo))}}static{this.\u0275cmp=ve({type:e,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],standalone:!0,features:[It],attrs:mZ,decls:2,vars:1,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],["nz-button","",3,"click","hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzDanger","nzLoading","disabled"]],template:function(i,r){1&i&&F(0,bZ,1,5,"ng-container")(1,DZ,2,2),2&i&&St(0,r.config.nzFooter?0:1)},dependencies:[ja,Ya,kD,zf,MD,TD],encapsulation:2})}}return e})();function OZ(e){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...e}}let CM=(()=>{class e{constructor(t){this.config=t}static{this.\u0275fac=function(i){return new(i||e)(w(Qo))}}static{this.\u0275cmp=ve({type:e,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],standalone:!0,features:[It],attrs:MZ,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(i,r){1&i&&(h(0,"div",0),F(1,xZ,2,1,"ng-container",1),p()),2&i&&(b(),M("nzStr
1ingTemplateOutlet",r.config.nzTitle))},dependencies:[ja,Ya],encapsulation:2,changeDetection:0})}}return e})(),SM=(()=>{class e extends _M{constructor(t,i,r,o,s,a,l,c,u,d){super(t,i,r,o,s,a,l,c,u,d),this.config=c}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}static{this.\u0275fac=function(i){return new(i||e)(w(J),w(Re),w(BD),w(Qt),w(vn),w(Du),w(ho),w(Qo),w(ye,8),w(Es,8))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-modal-container"]],viewQuery:function(i,r){if(1&i&&(vr(Su,7),vr(pM,7)),2&i){let o;Pn(o=On())&&(r.portalOutlet=o.first),Pn(o=On())&&(r.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(i,r){1&i&&(n2("@modalContainer.start",function(s){return r.onAnimationStart(s)})("@modalContainer.done",function(s){return r.onAnimationDone(s)}),z("click",function(s){return r.onContainerClick(s)})),2&i&&(Q4("@.disabled",r.config.nzNoAnimation)("@modalContainer",r.state),Ro(r.config.nzWrapClassName?"ant-modal-wrap "+r.config.nzWrapClassName:"ant-modal-wrap"),Si("z-index",r.config.nzZIndex),Zt("ant-modal-wrap-rtl","rtl"===r.dir)("ant-modal-centered",r.config.nzCentered))},exportAs:["nzModalContainer"],standalone:!0,features:[de,It],decls:10,vars:12,consts:[["modalElement",""],["cdkDrag","","cdkDragBoundary",".cdk-overlay-container","role","document",1,"ant-modal",3,"cdkDragDisabled","ngClass","ngStyle"],[1,"ant-modal-content"],["nz-modal-close",""],["nz-modal-title","","cdkDragHandle","",3,"cursor"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef"],["nz-modal-close","",3,"click"],["nz-modal-title","","cdkDragHandle",""],["nz-modal-footer","",3,"cancelTriggered","okTriggered","modalRef"]],template:function(i,r){1&i&&(h(0,"div",1,0),sc(2,"nzToCssUnit"),h(3,"div",2),F(4,TZ,1,0,"button",3)(5,EZ,1,2,"div",4),h(6,"div",5),F(7,kZ,0,0,"ng-template",6)(8,zZ,1,1,"div",7),p(),F(9,IZ,1,1,"div",8),p()()),2&i&&(Si("width",ac(2,10,null==r.config?null:r.config.nzWidth)),M("cdkDragDisabled",!r.config.nzDraggable)("ngClass",r.config.nzClassName)("ngStyle",r.config.nzStyle),b(4),St(4,r.config.nzClosable?4:-1),b(),St(5,r.config.nzTitle?5:-1),b(),M("ngStyle",r.config.nzBodyStyle),b(2),St(8,r.isStringContent?8:-1),b(),St(9,null!==r.config.nzFooter?9:-1))},dependencies:[da,ha,Hf,CM,_S,Su,bM,zD,If,fM,uM],encapsulation:2,data:{animation:[gM.modalContainer]}})}}return e})();class Wu{constructor(n,t,i){this.overlayRef=n,this.config=t,this.containerInstance=i,this.componentInstance=null,this.componentRef=null,this.state=0,this.afterClose=new N,this.afterOpen=new N,this.destroy$=new N,i.animationStateChanged.pipe(mt(r=>
1"done"===r.phaseName&&"enter"===r.toState),pn(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),t.nzAfterOpen instanceof U&&t.nzAfterOpen.emit()}),i.animationStateChanged.pipe(mt(r=>"done"===r.phaseName&&"exit"===r.toState),pn(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),i.containerClick.pipe(rt(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),n.keydownEvents().pipe(mt(r=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&27===r.keyCode&&!function RD(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r))).subscribe(r=>{r.preventDefault(),this.trigger("cancel")}),i.cancelTriggered.pipe(rt(this.destroy$)).subscribe(()=>this.trigger("cancel")),i.okTriggered.pipe(rt(this.destroy$)).subscribe(()=>this.trigger("ok")),n.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),t.nzAfterClose instanceof U&&t.nzAfterClose.emit(this.result),this.componentInstance=null,this.componentRef=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getContentComponentRef(){return this.componentRef}getElement(){return this.containerInstance.getNativeElement()}destroy(n){this.close(n)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(n){0===this.state&&(this.result=n,this.containerInstance.animationStateChanged.pipe(mt(t=>"start"===t.phaseName),pn(1)).subscribe(t=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},t.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(n){Object.assign(this.config,n),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(n){var t=this;return dt(function*(){if(1===t.state)return;const i={ok:t.config.nzOnOk,cancel:t.config.nzOnCancel}[n],r={ok:"nzOkLoading",cancel:"nzCancelLoading"}[n];if(!t.config[r])if(i instanceof U)i.emit(t.getContentComponent());else if("function"==typeof i){const s=i(t.getContentComponent());if(j6(s)){t.config[r]=!0;let a=!1;try{a=yield s}finally{t.config[r]=!1,t.closeWhitResult(a)}}else t.closeWhitResult(s)}})()}closeWhitResult(n){!1!==n&&this.close(n)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let DM=(()=>{class e{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const t=this.parentModal;return t?t._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(t,i,r,o,s){this.overlay=t,this.injector=i,this.nzConfigService=r,this.parentModal=o,this.directionality=s,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new N,this.afterAllClose=zh(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(_a(void 0)))}create(t){return this.open(t.nzContent,t)}closeAll(){this.closeModals(this.openModals)}confirm(t={},i="confirm"){return"nzFooter"in t&&Ha('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in t||(t.nzWidth=416),"nzMaskClosable"in t||(t.nzMaskClosable=!1),t.nzModalType="confirm",t.nzClassName=`ant-modal-confirm ant-modal-confirm-${i} ${t.nzClassName||""}`,this.create(t)}info(t={}){return this.confirmFactory(t,"info")}success(t={}){return this.confirmFactory(t,"success")}error(t={}){return this.confirmFactory(t,"error")}warning(t={}){return this.confirmFactory(t,"warning")}open(t,i){const r=function PZ(e,n){return{...n,...e}}(i||{},new Qo),o=this.createOverlay(r),s=this.attachModalContainer(o,r),a=this.attachModalContent(t,s,o,r);return s.modalRef=a,function Nq(e,n){n&&(e._host.style.zIndex=`${n}`)}(o,i?.nzZIndex),this.openModals.push(a),a.afterClose.subscribe(()=>this.removeOpenModal(a)),a}removeOpenModal(t){const i=this.openModals.indexOf(t);i>-1&&(this.openModals.splice(i,1),this.openModals.length||this._afterAllClosed.next())}closeModals(t){let i=t.length;for(;i--;)t[i].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(t){const i=this.nzConfigService.getConfigForComponent(qu)||{},r=new SS({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:s1(t.nzCloseOnNavigation,i.nzCloseOnNavigation,!0),direction:s1(t.nzDirection,i.nzDirection,this.directionality.value)});return s1(t.nzMask,i.nzMask,!0)&&(r.backdropClass=$u),this.overlay.create(r)}attachModalContainer(t,i){const o=_t.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:Du,useValue:t},{provide:Qo,useValue:i}]}),a=new Cu("confirm"===i.nzModalType?wM:SM,i.nzViewContainerRef,o);return t.attach(a).instance}attachModalContent(t,i,r,o){const s=new Wu(r,o,i);if(t instanceof ct)i.attachTemplatePortal(new yS(t,null,{$implicit:o.nzData,modalRef:s}));else if(Tu(t)&&"string"!=typeof t){const a=this.createInjector(s,o),l=i.attachComponentPortal(new Cu(t,o.nzViewContainerRef,a));s.componentRef=l,s.componentInstance=l.instance}else i.attachStringContent();return s}createInjector(t,i){return _t.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:Wu,useValue:t},{provide:AZ,useValue:i.nzData}]})}confirmFactory(t={},i){return"nzIconType"in t||(t.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[i]),"nzCancelText"in t||(t.nzCancelText=null),this.confirm(t,i)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}static{this.\u0275fac=function(i){return new(i||e)(x(Mu),x(_t),x(ho),x(e,12),x(Va,8))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),MM=(()=>{class e{constructor(t){this.templateRef=t}static{this.\u0275fac=function(i){return new(i||e)(w(ct))}}static{this.\u0275dir=H({type:e,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"],standalone:!0})}}return e})(),RZ=(()=>{class e{constructor(t,i){this.nzModalRef=t,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}static{this.\u0275fac=function(i){return new(i||e)(w(Wu,8),w(ct))}}static{this.\u0275dir=H({type:e,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"],standalone:!0})}}return e})(),FZ=(()=>{class e{constructor(t,i){this.nzModalRef=t,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}static{this.\u0275fac=function(i){return new(i||e)(w(Wu,8),w(ct))}}static{this.\u0275dir=H({type:e,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"],standalone:!0})}}return e})(),LZ=(()=>{class e{set modalTitle(t){t&&this.setTitleWithTemplate(t)}
1set modalFooter(t){t&&this.setFooterWithTemplate(t)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}constructor(t,i,r){this.cdr=t,this.modal=i,this.viewContainerRef=r,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzDraggable=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new U,this.nzOnCancel=new U,this.nzAfterOpen=new U,this.nzAfterClose=new U,this.nzVisibleChange=new U,this.modalRef=null,this.destroy$=new N}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const t=this.getConfig();this.modalRef=this.modal.create(t),this.modalRef.afterClose.asObservable().pipe(rt(this.destroy$)).subscribe(()=>{this.close()})}}close(t){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(t),this.modalRef=null)}destroy(t){this.close(t)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(t){this.nzTitle=t,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(t){this.nzFooter=t,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const t=vM(this);return t.nzViewContainerRef=this.viewContainerRef,t.nzContent=this.nzContent||this.contentFromContentChild,t}ngOnChanges(t){const{nzVisible:i,...r}=t;Object.keys(r).length&&this.modalRef&&this.modalRef.updateConfig(vM(this)),i&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||e)(w(Qt),w(DM),w(Kt))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-modal"]],contentQueries:function(i,r,o){if(1&i&&(ra(o,FZ,7,ct),ra(o,MM,7,ct),ra(o,RZ,7,ct)),2&i){let s;Pn(s=On())&&(r.modalTitle=s.first),Pn(s=On())&&(r.contentFromContentChild=s.first),Pn(s=On())&&(r.modalFooter=s.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzDraggable:"nzDraggable",nzContent:"nzContent",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],standalone:!0,features:[yt,It],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}}return Ce([kt()],e.prototype,"nzMask",void 0),Ce([kt()],e.prototype,"nzMaskClosable",void 0),Ce([kt()],e.prototype,"nzCloseOnNavigation",void 0),Ce([kt()],e.prototype,"nzVisible",void 0),Ce([kt()],e.prototype,"nzClosable",void 0),Ce([kt()],e.prototype,"nzOkLoading",void 0),Ce([kt()],e.prototype,"nzOkDisabled",void 0),Ce([kt()],e.prototype,"nzCancelDisabled",void 0),Ce([kt()],e.prototype,"nzCancelLoading",void 0),Ce([kt()],e.prototype,"nzKeyboard",void 0),Ce([kt()],e.prototype,"nzNoAnimation",void 0),Ce([kt()],e.prototype,"nzCentered",void 0),Ce([kt()],e.prototype,"nzDraggable",void 0),Ce([kt()],e.prototype,"nzOkDanger",void 0),e})(),NZ=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({providers:[DM],imports:[Hf,bM,CM,SM,wM]})}}return e})();const VZ=["*"];function HZ(e,n){1&e&&(Gn(0),Qr(1),Kn())}function BZ(e,n){1&e&&(h(0,"div",3),_(1,"img",4),p())}let xM=(()=>{class e{constructor(t){this.modalService=t,this.closable=!0,this.titleTemplateRef=null,this.onClose=new 
1U,this.onOpen=new U}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||e)(w(ou))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-modal"]],inputs:{className:"className",closable:"closable",modalName:"modalName",titleTemplateRef:"titleTemplateRef"},outputs:{onClose:"onClose",onOpen:"onOpen"},ngContentSelectors:VZ,decls:4,vars:7,consts:[["closeIconTemplateRef",""],["nzCentered","",3,"nzAfterOpen","nzOnCancel","nzClassName","nzClosable","nzMaskClosable","nzKeyboard","nzFooter","nzCloseIcon","nzVisible"],[4,"nzModalContent"],[1,"bg-main","flex-center","w-8","h-8","rounded-full","group","hover:bg-secondary"],["src","./assets/icons/close.svg","alt","x"]],template:function(i,r){if(1&i){const o=Ze();Lo(),h(0,"nz-modal",1),z("nzAfterOpen",function(){return B(o),Y(r.onOpen.emit())})("nzOnCancel",function(){return B(o),r.modalService.hide(r.modalName),Y(r.onClose.emit())}),F(1,HZ,2,0,"ng-container",2),p(),F(2,BZ,2,0,"ng-template",null,0,s2)}if(2&i){const o=oa(3);M("nzClassName",r.className)("nzClosable",r.closable)("nzMaskClosable",r.closable)("nzKeyboard",r.closable)("nzFooter",null)("nzCloseIcon",o)("nzVisible",r.modalService.isVisible(r.modalName))}},dependencies:[LZ,MM],encapsulation:2})}}return e})();function YZ(e,n){1&e&&_(0,"img",9)}function jZ(e,n){1&e&&_(0,"img",10)}function UZ(e,n){if(1&e){const t=Ze();h(0,"div",11)(1,"a",12),z("click",function(){return B(t),Y(I().goHome())}),f(2," Home "),p(),h(3,"a",12),z("click",function(){return B(t),Y(I().navigateToDiamond())}),f(4," Diamond "),p(),h(5,"a",13),z("click",function(){return B(t),Y(I().goToSubscribe())}),f(6,"Upgrade Now"),p()()}if(2&e){const t=I();b(),it("cursor-pointer whitespace-normal hover:border-b-2 hover:border-[#37D0A2] ",t.router.url.includes("diamond")?"font-light text-[#97A7B0]":"font-bold text-[#37D0A2]",""),b(2),it("cursor-pointer whitespace-normal hover:border-b-2 hover:border-[#37D0A2] ",t.router.url.includes("diamond")?"font-bold text-[#37D0A2]":"font-light text-[#97A7B0]","")}}function $Z(e,n){if(1&e){const t=Ze();h(0,"img",14),z("click",function(){return B(t),Y(I().onShowNavbar())}),p()}}function qZ(e,n){if(1&e){const t=Ze();h(0,"img",15),z("click",function(){return B(t),Y(I().onShowNavbar())}),p()}}function WZ(e,n){1&e&&(h(0,"span",26),f(1,"START FREE TRIAL"),p())}function GZ(e,n){if(1&e&&(h(0,"span",27),_(1,"img",28),h(2,"span"),f(3),p()()),2&e){const t=I(2);b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function KZ(e,n){if(1&e){const t=Ze();h(0,"div",16)(1,"div",17)(2,"div",18),_(3,"img",19),h(4,"img",20),z("click",function(){return B(t),Y(I().onHideNavbar())}),p()(),h(5,"div",21)(6,"a",22,0),f(8,"Homepage"),p(),h(9,"a",22,0),f(11,"Diamond"),p()(),h(12,"button",23),z("click",function(){return B(t),Y(I().openDownload())}),F(13,WZ,2,0,"span",24)(14,GZ,4,2,"span",25),p()()()}if(2&e){const t=I();b(6),it("cursor-pointer ",t.router.url.includes("publisher")?"font-light":"font-bold",""),M("routerLink","/"),b(3),it("cursor-pointer ",t.router.url.includes("diamond")?"font-bold":"font-light",""),M("routerLink","/diamond"),b(4),M("ngIf",t.campaign===t.AnalyticsEventCategories.TRIAL),b(),M("ngIf",t.campaign!==t.AnalyticsEventCategories.TRIAL)}}function TM(){let e=null;return navigator.userAgent.match(/edg/i)?e="edge":navigator.userAgent.match(/chrome|chromium|crios/i)&&!navigator.brave?.isBrave?.()?e="chrome":navigator.userAgent.match(/firefox|fxios/i)&&!navigator.brave?.isBrave?.()?e="firefox":navigator.userAgent.match(/safari/i)&&!navigator.brave?.isBrave?.()?e="safari":navigator.userAgent.match(/opr\//i)?e="opera":navigator.brave?.isBrave?.()&&(e="brave"),e}let Gu=(()=>{class e{constructor(t,i,r){this.router=t,this.analyticsService=i,this.modalService=r,this.ModalName=zi,this.showNavbar=!1,this.campaign=re.DIRECT,this.AnalyticsEventCategories=re,this.footerSocialLinks=[{icon:"twitter",link:"https://twitter.com/humandataincome"},{icon:"discord",link:"https://discord.gg/jqNu734AaH"},{icon:"instagram",link:"https://www.instagram.com/humandataincome/"},{icon:"facebook",link:"https://www.facebook.com/humandataincome"}]}ngOnInit(){this.browser=TM()}onShowNavbar(){this.showNavbar=!0,document.querySelectorAll("section").forEach(i=>
1{i.classList.add("hidden")}),document.querySelector("footer")?.classList.add("hidden")}capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1)}onHideNavbar(){this.showNavbar=!1,document.querySelectorAll("section").forEach(i=>{i.classList.remove("hidden")}),document.querySelector("footer")?.classList.remove("hidden")}goHome(){this.router.navigate(["/"])}navigateToDiamond(){this.onHideNavbar(),this.router.navigate(["/diamond"])}navigateToHudiDApp(){window.open("https://dapp.humandataincome.com","_blank")}startOnBoard(t){this.analyticsService.pushEvent(this.campaign,jt.CLICK_DOWNLOAD,Ut.CLICK).then().catch();try{t&&window.twq("event","tw-ojdi4-ojtav",{})}catch{}this.modalService.show(zi.SUBSCRIBE_NEWSLETTER)}goToSubscribe(){window.open("https://web.datamask.app/diamond/subscribe","_blank")}openDownload(){switch(TM()){case"chrome":case"edge":case"brave":window.open("https://chromewebstore.google.com/detail/datamask/fnpipcojmcnkacpopfaomgplijfckdkm","_blank")?.focus();break;case"firefox":window.open("https://addons.mozilla.org/it/firefox/addon/datamask/","_blank")?.focus();break;case"safari":window.open("https://apps.apple.com/it/app/hudi-datamask/id1658381792","_blank")?.focus()}}static{this.\u0275fac=function(i){return new(i||e)(w(xt),w(Hc),w(ou))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-navbar"]],decls:9,vars:9,consts:[["anchorElement","routerLinkActive"],[1,"flex","flex-row","items-center","justify-between","space-x-8","w-full"],[1,"flex","flex-row","items-center","justify-center","md:justify-start","cursor-pointer",3,"click"],["class","h-[32px]","src","./assets/landing-datamask/datamask-main-icon.svg","alt","",4,"ngIf"],["class","h-[32px]","src","./assets/logo-white.svg","alt","",4,"ngIf"],["class","flex-row items-center justify-start lg:justify-between text-[18px] text-[#151515] font-medium space-x-2 lg:space-x-8 hidden lg:flex lg:w-auto w-full",4,"ngIf"],["src","./assets/burger.svg","alt","","class","block lg:hidden cursor-pointer",3,"click",4,"ngIf"],["src","./assets/burger-white.svg","alt","","class","block lg:hidden cursor-pointer",3,"click",4,"ngIf"],["class","absolute top-0 h-screen w-screen z-[9999] bg-[#37D0A2] overflow-hidden",4,"ngIf"],["src","./assets/landing-datamask/datamask-main-icon.svg","alt","",1,"h-[32px]"],["src","./assets/logo-white.svg","alt","",1,"h-[32px]"],[1,"flex-row","items-center","justify-start","lg:justify-between","text-[18px]","text-[#151515]","font-medium","space-x-2","lg:space-x-8","hidden","lg:flex","lg:w-auto","w-full"],[3,"click"],[1,"flex","items-center","justify-center","btn-footer","!w-full",3,"click"],["src","./assets/burger.svg","alt","",1,"block","lg:hidden","cursor-pointer",3,"click"],["src","./assets/burger-white.svg","alt","",1,"block","lg:hidden","cursor-pointer",3,"click"],[1,"absolute","top-0","h-screen","w-screen","z-[9999]","bg-[#37D0A2]","overflow-hidden"],[1,"flex","flex-col","h-full","w-full","py-6","px-8"],[1,"flex","flex-row","justify-between","items-center"],["src","./assets/logo-white.svg","alt","",1,"cursor-pointer"],["src","./assets/close-white.svg","alt","",1,"cursor-pointer",3,"click"],[1,"h-full","flex","flex-col","items-center","justify-center","space-y-10","text-white","text-2xl","font-medium"],["routerLinkActive","font-bold",3,"routerLink"],[1,"!w-full","lg:w-auto","lg:flex","btn-nav-green","flex-row","items-center","justify-center","rounded-full","!text-white","px-8",3,"click"],["class","font-[900] font_montserrat",4,"ngIf"],["class","font-[900] font_montserrat !flex !flex-row !items-center justify-center !space-x-2",4,"ngIf"],[1,"font-[900]","font_montserrat"],[1,"font-[900]","font_montserrat","!flex","!flex-row","!items-center","justify-center","!space-x-2"],["alt","",3,"src"]],template:function(i,r){1&i&&(h(0,"div")(1,"div",1)(2,"div",2),z("click",function(){return r.goHome()}),F(3,YZ,1,0,"img",3)(4,jZ,1,0,"img",4),p(),F(5,UZ,7,6,"div",5),p(),F(6,$Z,1,0,"img",6)(7,qZ,1,0,"img",7),p(),F(8,KZ,15,10,"div",8)),2&i&&(it("flex flex-row items-center justify-between py-6 px-8 relative z-50 font_montserrat ",r.router.url.includes("diamond")?"bg-[#070707]":" bg-transparent",""),b(3),M("ngIf",!r.router.url.includes("diamond")),b(),M("ngIf",r.router.url.includes("diamond")),b(),M("ngIf",!r.router.url.includes("welcome")&&!r.router.url.includes("goodbye")),b(),M("ngIf",!r.router.url.includes("diamond")&&!r.router.url.includes("welcome")&&!r.router.url.includes("goodbye")),b(),M("ngIf",r.router.url.includes("diamond")&&!r.router.url.includes("welcome")&&!r.router.url.includes("goodbye")),b(),M("ngIf",r.showNavbar))},dependencies:[Sr,eu,Jb]})}}return e})();const EM=["carousel"],ZZ=(e,n,t,i,r,o,s)=>({image:e,icon:n,title:t,text:i,tag1:r,tag2:o,visible:s}),QZ=(e,n)=>({"border-bottom-left-radius":e,"border-bottom-right-radius":n});function XZ(e,n){1&e&&(h(0,"span",154),f(1,"START FREE TRIAL"),p())}function JZ(e,n){if(1&e&&(h(0,"span",155),_(1,"img",156),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function eQ(e,n){if(1&e){const t=Ze();
1h(0,"div",157),z("click",function(){const r=B(t).$implicit;return Y(I().onSelectProduct(r))}),h(1,"span"),f(2),p(),h(3,"p"),f(4),p()()}if(2&e){const t=n.$implicit;it("flex flex-row items-center space-x-2 py-1 px-4 cursor-pointer border border-transparent hover:shadow-md ",t.visible?"bg-[#DAFFF4]":"bg-transparent"," rounded-2xl"),b(),it("material-symbols-outlined text-base  ",t.visible?"text-[#37D0A2]":"text-[#97A7B0]",""),b(),Dt(t.icon),b(),it("font-semibold ",t.visible?"text-[#37D0A2]":"text-[#97A7B0]",""),b(),Dt(t.name)}}function tQ(e,n){1&e&&f8(0)}function nQ(e,n){if(1&e&&(Gn(0),F(1,tQ,1,0,"ng-container",158),Kn()),2&e){const t=n.$implicit;I();const i=oa(61);b(),M("ngTemplateOutlet",i)("ngTemplateOutletContext",ny(2,ZZ,t.image,t.icon,t.title,t.text,t.tag1,t.tag2,t.visible))}}function iQ(e,n){if(1&e&&(h(0,"span",170),f(1),p()),2&e){const t=I(2).tag1;b(),Dt(t)}}function rQ(e,n){if(1&e&&(h(0,"span",170),f(1),p()),2&e){const t=I(2).tag2;b(),Dt(t)}}function oQ(e,n){if(1&e&&(h(0,"div",160)(1,"div",161),_(2,"img",162),p(),h(3,"div",163)(4,"div",164),_(5,"img",165),h(6,"p",166),f(7),p()(),h(8,"p",167),f(9),p(),F(10,iQ,2,1,"span",168)(11,rQ,2,1,"span",169),p()()),2&e){const t=I(),i=t.image,r=t.icon,o=t.title,s=t.text,a=t.tag1,l=t.tag2;b(2),M("src",i,Gt),b(3),M("src",r,Gt),b(2),Dt(o),b(2),Dt(s),b(),M("ngIf",a),b(),M("ngIf",l)}}function sQ(e,n){1&e&&F(0,oQ,12,6,"div",159),2&e&&M("ngIf",n.visible)}function aQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.diamond?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.diamond," ")}}function lQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.diamond," ")}}function cQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.datamask?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.datamask," ")}}function uQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.datamask," ")}}function dQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.password?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.password," ")}}function hQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.password," ")}}function fQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.lastpass?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.lastpass," ")}}function pQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.lastpass," ")}}function mQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.dashlane?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.dashlane," ")}}function gQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.dashlane," ")}}function vQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.bitwarden?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.bitwarden," ")}}
1function yQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.bitwarden," ")}}function _Q(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.roboform?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.roboform," ")}}function wQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.roboform," ")}}function bQ(e,n){if(1&e&&(h(0,"span"),f(1),p()),2&e){const t=I().$implicit;it("material-icons-outlined ","check"===t.keeper?"text-[#37D0A2]":"text-[#FF1010]",""),b(),pe(" ",t.keeper," ")}}function CQ(e,n){if(1&e&&(h(0,"span",84),f(1),p()),2&e){const t=I().$implicit;b(),pe(" ",t.keeper," ")}}function SQ(e,n){1&e&&_(0,"div",176)}function DQ(e,n){if(1&e&&(Gn(0),h(1,"tr",84)(2,"td",171),f(3),p(),h(4,"td"),F(5,aQ,2,4,"span",172)(6,lQ,2,1,"span",173),p(),h(7,"td",174),F(8,cQ,2,4,"span",172)(9,uQ,2,1,"span",173),p(),h(10,"td",174),F(11,dQ,2,4,"span",172)(12,hQ,2,1,"span",173),p(),h(13,"td",174),F(14,fQ,2,4,"span",172)(15,pQ,2,1,"span",173),p(),h(16,"td",174),F(17,mQ,2,4,"span",172)(18,gQ,2,1,"span",173),p(),h(19,"td",174),F(20,vQ,2,4,"span",172)(21,yQ,2,1,"span",173),p(),h(22,"td",174),F(23,_Q,2,4,"span",172)(24,wQ,2,1,"span",173),p(),h(25,"td",174),F(26,bQ,2,4,"span",172)(27,CQ,2,1,"span",173),p()(),F(28,SQ,1,0,"div",175),Kn()),2&e){const t=n.$implicit;b(3),Dt(t.text),b(),it("text-center py-4 w-[11.11%] border-r border-l bg-[#DAFFF4] z-20 border-[#37D0A2] ","",""),b(),M("ngIf","check"===t.diamond||"close"===t.diamond),b(),M("ngIf",!("check"===t.diamond||"close"===t.diamond)),b(2),M("ngIf","check"===t.datamask||"close"===t.datamask),b(),M("ngIf",!("check"===t.datamask||"close"===t.datamask)),b(2),M("ngIf","check"===t.password||"close"===t.password),b(),M("ngIf",!("check"===t.password||"close"===t.password)),b(2),M("ngIf","check"===t.lastpass||"close"===t.lastpass),b(),M("ngIf",!("check"===t.lastpass||"close"===t.lastpass)),b(2),M("ngIf","check"===t.dashlane||"close"===t.dashlane),b(),M("ngIf",!("check"===t.dashlane||"close"===t.dashlane)),b(2),M("ngIf","check"===t.bitwarden||"close"===t.bitwarden),b(),M("ngIf",!("check"===t.bitwarden||"close"===t.bitwarden)),b(2),M("ngIf","check"===t.roboform||"close"===t.roboform),b(),M("ngIf",!("check"===t.roboform||"close"===t.roboform)),b(2),M("ngIf","check"===t.keeper||"close"===t.keeper),b(),M("ngIf",!("check"===t.keeper||"close"===t.keeper)),b(),M("ngIf","0"===t.diamond)}}function MQ(e,n){1&e&&(h(0,"span",154),f(1,"START FREE TRIAL"),p())}function xQ(e,n){if(1&e&&(h(0,"span",155),_(1,"img",156),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function TQ(e,n){if(1&e&&(h(0,"div",182),_(1,"p",183),p()),2&e){const t=I(),i=t.$implicit,r=t.index,o=I();M("ngStyle",o2(2,QZ,r+1==o.faqItems.length?"30px":"",r+1==o.faqItems.length?"30px":"")),b(),M("innerHTML",i.answer,wi)}}function EQ(e,n){if(1&e){const t=Ze();h(0,"div")(1,"div")(2,"div",177),z("click",function(){const r=B(t).$implicit;return Y(r.open=!r.open)}),h(3,"div",178)(4,"h5",179),f(5),p()(),h(6,"span",180),f(7),p()(),F(8,TQ,2,5,"div",181),p()()}if(2&e){const t=n.$implicit,i=n.index,r=I();b(),Zt("faq-border",i<r.faqItems.length-1),b(4),Dt(t.question),b(2),pe(" ",t.open?"expand_less":"expand_more"," "),b(),M("ngIf",t.open)}}function kQ(e,n){1&e&&(h(0,"span",154),f(1,"START FREE TRIAL"),p())}function zQ(e,n){if(1&e&&(h(0,"span",184),_(1,"img",156),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function IQ(e,n){1&e&&(h(0,"span",154),f(1,"START FREE TRIAL"),p())}function AQ(e,n){if(1&e&&(h(0,"span",184),_(1,"img",156),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function PQ(e,n){if(1&e&&(h(0,"a",185)(1,"span"),f(2),p()()),2&e){const t=n.$implicit;l8("font-light text-[#FAFAFA] text-[14px] md:text-[17.5px] hover:font-normal ","Privacy policy"===t.text?"text-left w-32":"text-right w-20"," ","terms"===t.text?"!text-center":"","  whitespace-nowrap"),M("href",t.link,Gt),b(2),Dt(t.text)}}
1function OQ(e,n){1&e&&(h(0,"div",211)(1,"p",135),f(2," These cookies are required to use DataMask Products. They're necessary for these sites to work as intended. "),p()())}function RQ(e,n){if(1&e){const t=Ze();h(0,"div",212)(1,"p",135),f(2," We use tools from other companies for advertising and measurement services off DataMask Products, for analytics and to provide certain features and improve our services for you. These companies also use cookies. "),p(),h(3,"p")(4,"a",213),z("click",function(){return B(t),Y(I(2).goToCookiePolicies())}),f(5," More information "),p()()()}}function FQ(e,n){if(1&e){const t=Ze();h(0,"section",186)(1,"div",187)(2,"div",188)(3,"h2",189),f(4," Allow the use of cookies? "),p(),h(5,"p",190),f(6," We use cookies and similar technologies to help: "),p(),h(7,"div",191)(8,"div",192),Ke(),h(9,"svg",193),_(10,"path",194),p(),$t(),h(11,"div",195)(12,"p",196),f(13," Provide and improve content on DataMask Products "),p()()(),h(14,"div",192),Ke(),h(15,"svg",193),_(16,"path",197),p(),$t(),h(17,"div",195)(18,"p",196),f(19," Provide a safer experience by using information that we receive from cookies on and off Preline "),p()()(),h(20,"div",192),Ke(),h(21,"svg",193),_(22,"path",198),p(),$t(),h(23,"div",195)(24,"p",196),f(25," Provide and improve DataMask Products for people who have an account "),p()()()(),h(26,"p",199),f(27," For analytics and to provide certain features and improve our services for you, we use tools from other companies on Preline. "),p(),h(28,"p",199),f(29," You can allow the use of all cookies, just essential cookies or you can choose more options below. You can learn more about cookies and how we use them, and review or change your choice at any time in our "),h(30,"a",136),z("click",function(){return B(t),Y(I().goToCookiePolicies())}),f(31,"Cookies Policy"),p(),f(32,". "),p(),h(33,"div",200)(34,"div",201)(35,"div",202),z("click",function(){return B(t),Y(I().toggleEssentialCookieCollapse())}),f(36," Essential cookies "),Ke(),h(37,"svg",203),_(38,"path",204),p()(),F(39,OQ,3,0,"div",205),p(),$t(),h(40,"div",201)(41,"div",206),z("click",function(){return B(t),Y(I().toggleOptionalCookieCollapse())}),f(42," Optional cookies "),Ke(),h(43,"svg",203),_(44,"path",204),p()(),F(45,RQ,6,0,"div",207),p()()(),$t(),h(46,"div",208)(47,"a",209),z("click",function(){return B(t),Y(I().onHideCookiebannerRefuse())}),f(48," Only essentials "),p(),h(49,"a",210),z("click",function(){return B(t),Y(I().onHideCookiebanner())}),f(50," Allow all "),p()()()()}if(2&e){const t=I();b(39),M("ngIf",t.showEssentialCookieCollapse),b(6),M("ngIf",t.showOptionalCookieCollapse)}}const LQ=Pr(512);function Ku(){let e=null;return navigator.userAgent.match(/edg/i)?e="edge":navigator.userAgent.match(/chrome|chromium|crios/i)&&!navigator.brave?.isBrave?.()?e="chrome":navigator.userAgent.match(/safari/i)&&!navigator.brave?.isBrave?.()?e="safari":navigator.userAgent.match(/opr\//i)?e="opera":navigator.brave?.isBrave?.()&&(e="brave"),e}let NQ=(()=>{class e{constructor(t,i,r,o,s,a){this.analyticsService=t,this.route=i,this.modalService=r,this.router=o,this.helpersService=s,this.viewportScroller=a,this.ModalName=zi,this.AnalyticsEventCategories=re,this.hideCookieBanner=!1,this.showCookiesOption=!1,this.showEssentialCookieCollapse=!1,this.showOptionalCookieCollapse=!1,this.campaign=re.DIRECT,this.clickid="",this.faqItems=[{question:"What is Datamask?",answer:"Datamask is a data wallet app designed to safeguard your passwords and personal data from cyber threats and data breaches. It securely encrypts and stores your information directly on your device, ensuring complete control and reducing the risk of theft.",open:!1},{question:"How does Datamask protect my passwords from hackers? ",answer:" Datamask protects your data using advanced encryption technologies and secure local storage on your device. It leverages the power of IPDW (InterPlanetary Data Wallet) for storing personal user data within a safe and distributed storage network, enhancing security and privacy.",open:!1},{question:"Is Datamask available on all devices?  ",answer:"Datamask is available as a Mobile Application for iOS and as a Browser Extension for Safari, Firefox & all Chromium-based Browser",open:!1},{question:"Can I access my passwords offline with Datamask?    ",answer:"Yes, Datamask stores your data directly on your device, which allows you to access your passwords and other personal information offline, ensuring your data is always available when you need it.",open:!1},{question:"How do I import existing passwords into Datamask?",answer:'To 
1import your existing passwords into Datamask, simply click on the "Add Data" icons within the app. From there, you can select which password managers you`d like to import your passwords from.',open:!1},{question:"What is Datamask Diamond?    ",answer:"Datamask Diamond is the premium tier of the Datamask app, offering advanced features beyond the basic version. It includes exclusive access to a Private AI Assistant, enhanced data types like health records and private notes, and the ability to connect to specialized apps.",open:!1}],this.footerSocialLinks=[{icon:"twitter",link:"https://twitter.com/humandataincome"},{icon:"telegram",link:"https://t.me/hudicommunity"},{icon:"discord",link:"https://discord.gg/jqNu734AaH"},{icon:"instagram",link:"https://www.instagram.com/humandataincome/"},{icon:"facebook",link:"https://www.facebook.com/humandataincome"},{icon:"medium",link:"https://medium.com/humandataincome"},{icon:"reddit",link:"https://www.reddit.com/r/hudi/"}],this.footerLinks=[{text:"Privacy policy",link:"/privacy-policy"},{text:"Terms",link:"/tos"},{text:"Cookie",link:"/cookie-policy"}],this.footerEcosystem=[{text:"Hudi Website",link:"https://humandataincome.com/"},{text:"dApp",link:"https://dapp.humandataincome.com/wallet/overview"},{text:"Human ID",link:"https://humandataincome.com/human-id"}],this.diamondPerks=[{text:"Logins & Passwords"},{text:"Identity data"},{text:"Payments data"},{text:"Health records"},{text:"Certificates"},{text:"Data Apps support"},{text:"Private Notes"},{text:"Personal AI Assistant"},{text:"Unlock Storage provider"},{text:"Full Experience without Limitations"},{text:"Exclusive Data Apps access"}],this.dataMaskProducts=[{icon:"key",name:"Access",visible:!0,id:1},{icon:"credit_card",name:"Payments",visible:!1,id:2},{icon:"news",name:"Secure note",visible:!1,id:3},{icon:"account_balance_wallet",name:"Secret Key",visible:!1,id:4},{icon:"license",name:"Certificate",visible:!1,id:5},{icon:"my_location",name:"Targeting",visible:!1,id:6},{icon:"cardiology",name:"Health",visible:!1,id:7}],this.dataMaskProductsCards=[{id:1,icon:"./assets/landing-datamask/key.svg",title:"Access",image:"./assets/landing-datamask/acces.svg",text:"Ensure optimal security by effortlessly safeguarding passwords and usernames of websites.",tag1:"Password Generator",tag2:"Instant autofill",visible:!0},{id:2,icon:"./assets/landing-datamask/credit_card.svg",title:"Payments",image:"./assets/landing-datamask/payments.svg",text:"Save your card numbers and security codes securely with DataMask. Manage your payment methods easily and keep your transactions safe.",visible:!1},{id:3,icon:"./assets/landing-datamask/news.svg",title:"Secure Note",image:"./assets/landing-datamask/note.svg",text:"Store and manage your confidential details securely with DataMask`s Secure Notes. Save passwords, bank details, diary entries, license keys, and medical information, ensuring they are protected and accessible only to you.",visible:!1},{id:4,icon:"./assets/landing-datamask/account_balance_wallet.svg",title:"Secret Key",image:"./assets/landing-datamask/secret.svg",text:"Securely store and manage your Web3 wallet addresses and private keys with DataMask. Keep your cryptocurrency information safe and easily accessible for streamlined account management.",visible:!1},{id:5,icon:"./assets/landing-datamask/cert.svg",title:"Certificate",image:"./assets/landing-datamask/certificat.svg",text:"Safeguard your identity effortlessly! Securely store proofs of personhood, premium membership certificates, and more in one convenient application.",visible:!1},{id:6,icon:"./assets/landing-datamask/location.svg",title:"Targeting",image:"./assets/landing-datamask/targ.svg",text:"Customize your ad experience! Save personalized targeting preferences to tailor the ADS you see, creating a more tailored online journey.",tag1:"Cookieless targeting",tag2:"Tag based taxonomy",visible:!1},{id:7,icon:"./assets/landing-datamask/cardiology.svg",title:"Health",image:"./assets/landing-datamask/health-scr.svg",text:"You can organize your medical data and unlock a world of real-time analysis by feeding it to statistical models..",tag1:"Unlock real-time analysis",visible:!1}],this.newsLetterFormGroup=new $o({first_name:new lo(null,ao.required),email:new lo(null,[ao.required,ao.email])}),this.currentSlideIndex=0,this.comparisonData=[{text:"Passowords & Logins",diamond:"Unlimited",datamask:"Unlimited",password:"check",lastpass:"check",dashlane:"check",bitwarden:"check",roboform:"check",keeper:"check"},{text:"Cards & Identities ",diamond:"Unlimited",datamask:"Unlimited",password:"check",lastpass:"check",dashlane:"check",bitwarden:"check",roboform:"check",keeper:"check"},{text:"Health records",diamond:"Unlimited",datamask:"Unlimited",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Zero-Knowledge Certificates",diamond:"Unlimited",datamask:"Unlimited",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Data transaction History",diamond:"Unlimited",datamask:"Unlimited",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Storage & Backup",diamond:"Local device, private P2P network, data blockchains",datamask:"Local device, private P2P network",password:"Servers",lastpass:"Servers",dashlane:"Servers",bitwarden:"Servers",roboform:"Servers",keeper:"Servers"},{text:"Support Cookieless Ads",diamond:"check",datamask:"check",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Integrate with DATA Apps",diamond:"check",datamask:"check",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Integrate with AI Apps",diamond:"check",datamask:"check",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"}
1,{text:"Self-Hosted LLM",diamond:"Phi-3-Mini- 4K-Instruct",datamask:"close",password:"close",lastpass:"close",dashlane:"close",bitwarden:"close",roboform:"close",keeper:"close"},{text:"Data Breaches",diamond:"0",datamask:"0",password:"3",lastpass:"8",dashlane:"3",bitwarden:"1",roboform:"2",keeper:"5"}],this.imageLoaded=!0,this.route.queryParams.subscribe(l=>{this.campaign={trial:re.TRIAL,download:re.DIRECT,slice:re.SLICE,brave:re.BRAVE,"paid-push":re.PAID_PUSH,"x-metamask":re.X_METAMASK,"x-brave":re.X_BRAVE,"x-trustwallet":re.X_TRUSTWALLET}[l.utm_campaign??"download"]||re.DIRECT,this.clickid=l.clickid||"",this.analyticsService.pushEvent(this.campaign,jt.VISITED,Ut.WEBSITE,0).then().catch(),LQ.set?.("dm_campaign",this.campaign)})}ngOnInit(){this.browser=Ku(),"true"===localStorage.getItem("cookie-permission")&&(this.hideCookieBanner=!0)}goToHudiLanding(){window.open("https://humandataincome.com/","_blank")}goToTwitter(){window.open("https://twitter.com/humandataincome","blank")}onImageLoad(){this.imageLoaded=!0}onSelectProduct(t){this.dataMaskProducts.forEach(i=>{i.name===t.name?(i.visible=!0,this.imageLoaded=!0,this.onShowRightCard(i.id)):i.visible=!1})}onShowRightCard(t){this.dataMaskProducts.find(i=>{i.visible&&i.id===t&&this.dataMaskProductsCards.forEach(r=>{r.visible=r.id===t})})}updateCurrentSlideIndex(t,i){this.currentSlideIndex=i,this.carousel.onDotClick(t,i)}goToPricing(){this.router.navigate(["/diamond"],{fragment:"pricing"})}capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1)}goToHudiProtocol(){window.open("https://docs.humandataincome.com/","_blank")}goToIPDW(){window.open("https://ipdw.tech/","_blank")}ngAfterViewInit(){}openDataMaskLink(){if(this.campaign===re.DIRECT||this.campaign===re.TRIAL)try{window.gtag("event","conversion",{send_to:this.campaign===re.DIRECT?"AW-10979011796/JMr0CJmYkdsDENTZmfMo":"AW-10979011796/WftQCK-VueUYENTZmfMo"})}catch(t){console.error(t)}try{window.twq("event","tw-ojdi4-ojg27",{})}catch{}switch(this.campaign){case re.TRIAL:window.open("https://widget.humandataincome.com/datamask/payment");break;case re.PAID_PUSH:this.analyticsService.pushEvent(this.campaign,jt.GO2STORE,Ut.REDIRECT).then().catch(),fetch(`https://mtc.a65seftrk.site/postback?cid=${this.clickid}`).then(),this.openDownload();break;default:this.analyticsService.pushEvent(this.campaign,jt.GO2STORE,Ut.REDIRECT).then().catch(),this.openDownload()}}openDownload(){switch(Ku()){case"chrome":case"edge":case"brave":case"firefox":window.open("https://chromewebstore.google.com/detail/datamask/fnpipcojmcnkacpopfaomgplijfckdkm","_blank")?.focus();break;case"safari":window.open("https://apps.apple.com/it/app/hudi-datamask/id1658381792","_blank")?.focus()}}goHome(){this.router.navigate(["/"])}onHideCookiebanner(){(null===localStorage.getItem("cookie-permission")||"false"===localStorage.getItem("cookie-permission"))&&(localStorage.setItem("cookie-permission","true"),this.hideCookieBanner=!0,this.showCookiesOption=!1)}onHideCookiebannerRefuse(){(null===localStorage.getItem("cookie-permission")||"false"===localStorage.getItem("cookie-permission"))&&(localStorage.setItem("cookie-permission","false"),this.hideCookieBanner=!0,this.showCookiesOption=!1)}onShowCookieOption(){this.showCookiesOption=!0}toggleEssentialCookieCollapse(){this.showEssentialCookieCollapse=!this.showEssentialCookieCollapse}toggleOptionalCookieCollapse(){this.showOptionalCookieCollapse=!this.showOptionalCookieCollapse}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goToCookiePolicies(){window.open("/cookie-policy","_blank")}goToSubscribe(){window.open("https://web.datamask.app/diamond/subscribe","_blank")}goToHome(){window.open("/")}get screenWidth(){return window.innerWidth}startOnBoard(t){this.analyticsService.pushEvent(this.campaign,jt.CLICK_DOWNLOAD,Ut.CLICK).then().catch();try{t&&window.twq("event","tw-ojdi4-ojtav",{})}catch{}this.modalService.show(zi.SUBSCRIBE_NEWSLETTER)}submit(){var t=this;return dt(function*(){const i=t.newsLetterFormGroup.getRawValue();yield t.helpersService.onSendRequest(i);try{window.twq("event","tw-ojdi4-oju8y",{})}catch{}t.analyticsService.pushEvent(t.campaign,jt.LEAD,Ut.SUBMIT).then().catch(),t.openDataMaskLink(),t.modalService.hide(zi.SUBSCRIBE_NEWSLETTER)})()}downloadNow(){var t=this;return dt(function*(){t.analyticsService.pushEvent(t.campaign,jt.NO_LEAD,Ut.CLICK).then().catch();try{window.twq("event","tw-ojdi4-oo1pz",{})}catch{}t.openDataMaskLink(),t.modalService.hide(zi.SUBSCRIBE_NEWSLETTER)})()}openDatamaskApp(){window.open("https://web.datamask.app/","_blank")?.focus()}static{this.\u0275fac=function(i){return new(i||e)(w(Hc),w(Mr),w(ou),w(xt),w(aS),w($_))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-home"]],viewQuery:function(i,r){if(1&i&&(vr(EM,5),vr(EM,5)),2&i){let o;Pn(o=On())&&(r.carousel=o.first),Pn(o=On())&&(r.carouselContainer=o.first)}},decls:291,vars:20,consts:[["card",""],[1,"w-full","px-0","lg:px-16","lg:flex","lg:justify-center"],[1,"lg:w-full","lg:max-w-[1312px]"],[1,"w-full","flex","flex-col","items-center","justify-center","lg:justify-between","gap-x-0","lg:gap-x-3","pr-o","lg:pr-6","mt-[32px]","lg:mt-[80px]"],[1,"w-full","flex","flex-col","items-center","text-center","px-4","lg:px-0"],[1,"text-[#151515]","text-[40px]","lg:text-[64px]","font-extrabold","pb-2","font_montserrat","lg:w-[85%]",2,"line-height","105% !important"],[1,"text-[#151515]","text-[24px]","leading-tight","font_questrial","pb-4","w-full","lg:w-[80%]"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-6"],[1,"btn","rounded-full","px-8","py-4",3,"click"],[1,"btn-outline","rounded-full","px-8","py-4",3,"click"],["class","font-[900] font_montserrat",4,"ngIf"],["class","font-[900] font_montserrat !flex !flex-row !items-center !space-x-2",4,"ngIf"],[1,"text-[#97A7B0]","text-[18px]","font_questrial","pt-[10px]","lg:pt-4"],["src","./assets/landing-datamask/datamask-screen-hero.svg","alt","",1,"lg:h-[760px]","h-auto","hidden","lg:block"],["src","./assets/landing-datamask/datamask-screen-mobile.svg","alt","",1,"lg:h-[760px]","h-auto","block","lg:hidden","w-full"],[1,"lg:pt-[80px]","pt-[40px]","px-4","lg:px-16","lg:flex","lg:justify-center","pb-2","font_montserrat"],[1,"flex","flex-col","items-center","text-center","space-y-6","text-[#151515]","mb-10"],[1,"font-extrabold","text-[40px]","lg:text-5xl",2,"line-height","105% !important"],[1,"flex","flex-col","lg:flex-row","space-x-0","lg:space-x-4","space-y-6","lg:space-y-0","!text-white","w-full"],[1,"rounded-3xl","p-4","bg-[#37D0A2]","h-[216px]","flex","items-center","justify-center","flex-col","w-full"],["src","./assets/landing-datamask/storage.svg","alt","",1,"mb-2"],[1,"mb-4","text-2xl","font-bold","text-white"],[1,"font-medium","text-base"],["src","./assets/landing-datamask/encrypted.svg","alt","",1,"mb-2"],["src","./assets/landing-datamask/network_node.svg","alt","",1,"mb-2"],[1,"font_montserrat","pt-12","lg:pt-[100px]","pb-[20px]","lg:pb-[100px]","px-4","lg:px-16","flex","lg:justify-center","text-[#151515]"],[1,"flex","flex-col","items-center"],[1,"font-extrabold","text-[40px]","lg:text-5xl","!text-center","mb-10","w-full","lg:w-[60%]",2,"line-height","105%"],[1,"w-full","lg:w-[80%]","text-2xl","text-[#151515]",2,"line-height","105% !important"],[1,"grid","grid-cols-2","gap-4","lg:gap-0","lg:flex","flex-row","items-center","p-1","rounded-[100px]","lg:border","lg:border-[#
1E9EAEC]","space-x-1","justify-evenly","mt-8"],[3,"class","click",4,"ngFor","ngForOf"],[1,"card-container","relative","mt-0","lg:mt-8","h-auto","lg:h-[500px]"],[4,"ngFor","ngForOf"],[1,"font_montserrat","pt-12","lg:pt-[48px]","pb-[50px]","lg:pb-[100px]","px-4","lg:px-16","flex","lg:justify-center"],[1,"lg:w-full","lg:max-w-[1312px]","text-[#FFFFFF]","rounded-3xl","lg:py-10","py-4","px-4","lg:px-[56px]","relative","dark-diamond"],[1,"flex","flex-col","lg:flex-row","items-center","justify-center"],[1,"flex","flex-col","lg:items-start","lg:justify-start","w-full","lg:w-[50%]"],[1,"text-2xl","text-[#37D0A2]","font-extrabold"],[1,"font-extrabold","text-[32px]","lg:text-[48px]","!text-start","mt-6","mb-12","w-full","text-[#FFFFFF]",2,"line-height","105%"],[1,"flex","flex-col","items-start","justify-start","w-full"],[1,"flex","flex-col","items-start","space-y-4"],[1,"flex","flex-row","items-center","space-x-4"],["src","./assets/landing-datamask/v.svg","alt",""],[1,"text-base","text-[#FFFFFF]"],[1,"btn-green","rounded-full","mt-12","space-x-4","flex","flex-row","items-center",3,"click"],[1,"material-icons-outlined"],[1,"text-center","text-[18px]","font-light","text-[#97A7B0]","font_questrial","mt-4","lg:w-[50%]","w-full","mb-8","lg:mb-0",2,"line-height","105%"],[1,"w-full","lg:w-[50%]","p-0","lg:p-24","flex","items-center","justify-center"],["src","./assets/private-ai.svg","alt",""],[1,"font_montserrat","py-[30px]","lg:py-[80px]","px-4","lg:px-16","flex","lg:justify-center"],[1,"flex","flex-col","lg:flex-row","items-center","justify-center","space-y-12","lg:space-y-0","lg:space-x-[80px]"],[1,"flex","flex-col","space-y-4","w-full","lg:w-[40%]","px-0","lg:px-[40px]"],[1,"flex","flex-row"],[1,"font-extrabold","lg:text-[56px]","!text-start","text-[40px]",2,"line-height","105%"],[1,"text-[18px]","font-normal",2,"line-height","105%"],[1,"cursor-pointer","flex","flex-row","space-x-2","items-center","pt-6","lg:mt-6"],[1,"text-lg","font-bold","border-b-2","border-white","hover:border-b-2","hover:border-[#000]",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M12 20L10.95 18.925L17.125 12.75H4V11.25H17.125L10.95 5.075L12 4L20 12L12 20Z","fill","black"],[1,"relative","overflow-hidden","w-full","lg:w-[60%]","flex","items-center","justify-center"],["controls","","poster","/assets/landing-datamask/extension-screen.svg","onclick","this.play()","data-aos","fade-in","data-aos-delay","1000","data-aos-duration","1000",1,"w-100","z-20","rounded-2xl"],["src","/assets/vid/wallet.mp4","type","video/mp4"],["src","./assets/landing-datamask/extension-blur.svg","alt","",1,"z-10","absolute","w-full","lg:w-[50%]"],[1,"flex","flex-col-reverse","lg:flex-row","items-center","justify-center","space-y-12","lg:space-y-0","lg:space-x-[80px]"],["controls","","poster","/assets/ai-vid.cover.svg","onclick","this.play()","data-aos","fade-in","data-aos-delay","1000","data-aos-duration","1000",1,"w-100","z-20","rounded-2xl"],[1,"cursor-pointer","flex","flex-row","space-x-2","items-center","pt-6","lg:mt-6","pb-6","lg:pb-0"],[1,"text-lg","font-bold","border-b-2","border-white","hover:border-b-2","hover:border-[#000]",2,"line-height","130%",3,"click"],[1,"pt-[80px]","px-4","lg:px-16","lg:flex","lg:justify-center","font_montserrat"],[1,"rounded-[32px]","w-full","bg-[#141414]","text-white","flex","flex-row","justify-center","items-center"],[1,"w-full","py-[44px]","px-4","lg:px-[127px]","flex","flex-col","justify-center","items-center","space-y-6"],[1,"text-[40px]","lg:text-[50px]","font-extrabold","text-center",2,"line-height","105%"],["src","./assets/landing-datamask/ipdw.svg","alt",""],[1,"w-full","lg:w-[80%]","text-[24px]","lg:text-[30px]","text-center",2,"line-height","105%"],[1,"flex","flex-row","items-center","sapce-x-2","cursor-pointer","group",3,"click"],[1,"font-bold","text-[18px]","group-hover:underline","text-[#37D0A2]"],["xmlns","http://www.w3.org/2000/svg","width","24","height","25","viewBox","0 0 24 25","fill","none"],["id","mask0_3202_2901","maskUnits","userSpaceOnUse","x","0","y","0","width","24","height","25",2,"mask-type","alpha"],["y","0.34375","width","24","height","24","fill","#D9D9D9"],["mask","url(#mask0_3202_2901)"],["d","M12.6 12.3438L8 7.74375L9.4 6.34375L15.4 12.3438L9.4 18.3438L8 16.9438L12.6 12.3438Z","fill","#37D0A2"],[1,"text-[#151515]","text-[40px]","lg:text-[32px]","font-extrabold","font_montserrat","lg:w-[85%]","mb
1-6","lg:mb-[70px]",2,"line-height","105% !important"],[1,"overflow-x-scroll","lg:overflow-visible","w-full","hide_scrollbar"],[1,"table","table-borderless","border-collapse","comparison-table","w-full"],[1,"text-transparent","left-0","z-50","sticky","bg-white","lg:bg-transparent",2,"vertical-align","middle"],[1,""],[1,"px-2","lg:px-0","text-center","py-4","bg-[#DAFFF4]","rounded-tl-2xl","rounded-tr-2xl","border-t","border-l","border-r","border-[#37D0A2]","-mb-1",2,"width","102%","margin-left","-1px"],[1,"font-700","text-lg"],[1,"text-center","py-3","px-2","lg:px-0"],[1,"font-700","text-[14px]","lg:text-lg"],[1,"pt-[50px]","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"flex","flex-col","items-center","gap-y-6","lg:gap-y-[39px]","px-6","py-12","lg:py-[80px]","bg-white",2,"border-radius","16px !important"],["src","./assets/big-frog.svg","alt","",1,"w-[126px]","lg:w-[112px]"],[1,"flex","flex-col","items-center","text-center","gap-y-6","text-[#151515]"],[1,"font-extrabold","text-[32px]","lg:text-[56px]","leading-tight","font_montserrat","w-full","lg:w-[70%]",2,"line-height","105%"],[1,"w-full","lg:w-2/3","text-[24px]","lg:text-[24px]","text-center","leading-tight","font_questrial",2,"line-height","105%"],[1,"w-full","lg:w-auto","btn","rounded-full","px-8","py-4",3,"click"],["id","faq",1,"px-4","lg:py-[120px]","py-[80px]","lg:px-16","lg:flex","lg:justify-center","bg-white","text-[#0B0B0B]","font_montserrat"],[1,"lg:w-full","flex","flex-col","items-center","lg:flex-row","lg:max-w-[1312px]"],[1,"flex","flex-col","items-start","w-full","lg:w-[50%]"],[1,"lg:text-[56px]","text-[32px]","font-extrabold","lg:mb-6","mb-8",2,"line-height","105%"],[1,"hidden","lg:block"],[1,"hidden","lg:block","text-[30px]","w-[80%]",2,"line-height","105%"],[1,"w-full","lg:w-[50%]"],[1,"w-full","px-12","md:px-16","md:flex","md:justify-center","pb-[54px]","bg-[#141414]","z-50","relative","font_montserrat"],[1,"w-full","max-w-[1312px]","pt-[100px]"],[1,"w-full","flex","lg:flex-row","flex-col","justify-between","items-start","pb-0","lg:pb-10"],[1,"w-full","flex","flex-col","gap-x-0","lg:gap-x-[119px]","gap-y-2","mb-6","lg:mb-0","lg:gap-0","items-center","justify-center","lg:items-start","lg:justify-start"],["src","./assets/landing-datamask/full-logo.svg","alt","",1,"cursor-pointer","h-[53px]",3,"click"],[1,"text-lg","lg:text-2xl","font-light","text-white","mt-6","text-center","lg:text-start"],[1,"flex","flex-row","items-center","space-x-2","mt-10","cursor-pointer",3,"click"],["src","./assets/landing-datamask/social-icons/twitter.svg","alt",""],[1,"text-sm","font-bold","text-white"],[1,"flex","lg:hidden","flex-col","items-center","justify-center","space-y-6","w-full","mt-6","lg:mt-0"],[1,"!w-full","lg:w-auto","lg:flex","btn-footer-outline","flex-row","items-center","justify-center","rounded-full","px-8",3,"click"],["class","font-[900] font_montserrat !flex !flex-row !items-center justify-center !space-x-2",4,"ngIf"],[1,"hidden","lg:flex","flex-col","items-center","justify-center","space-y-6","w-[35%]"],[1,"text-center","text-[14px]","font-light","text-white"],[1,"flex","flex-row","items-center","cursor-pointer","justify-center","w-full",3,"click"],[1,"text-[16px]","font-light","text-[#FAFAFA]","mr-0","lg:mr-2"],["src","./assets/small-hudi-logo.svg","alt","",1,"h-6"],[1,"flex","lg:hidden","flex-row","items-center","cursor-pointer","justify-center","w-full",3,"click"],[1,"text-[10px]","font-light","text-[#FAFAFA]","mr-0","lg:mr-2"],["src","./assets/small-hudi-logo.svg","alt","",1,""],[1,"w-full","h-[1px]","!bg-[#FFFFFF80]","z-40","my-6"],[1,"w-full","lg:w-[35%]","flex","flex-col","lg:flex-row","justify-center","mx-auto"],[1,"w-full","flex","flex-row","items-center","justify-between"],["target","_blank",3,"class","href",4,"ngFor","ngForOf"],["id","cookies-with-stacked-buttons"],[1,"p-4","bg-white/[.6]","backdrop-blur-lg","rounded-xl","shadow-2xl"],[1,"flex","justify-between","items-center","gap-x-5","sm:gap-x-10"],[1,"font-semibold","text-gray-800"],["type","button","data-hs-remove-element","#cookies-with-stacked-buttons",1,"inline-flex","rounded-full","p-2","text-gray-500","hover:bg-gray-200","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-gray-50","focus:ring-gray-600",3,"click"],[1,"sr-only"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg","aria-hidden","true",1,"h-3","w-3"],["d","M0.92524 0.687069C1.126 0.486219 1.39823 0.373377 1.68209 0.373377C1.96597 0.373377 2.2382 0.486219 2.43894 0.687069L8.10514 6.35813L13.7714 0.687069C13.8701 0.584748 13.9882 0.503105 14.1188 0.446962C14.2494 0.39082 14.3899 0.361248 14.5321 0.360026C14.6742 0.358783 14.8151 0.38589 14.9468 0.439762C15.0782 0.493633 15.1977 0.573197 15.2983 0.673783C15.3987 0.774389 15.4784 0.894026 15.5321 1.02568C15.5859 1.15736 15.6131 1.29845 15.6118 1.44071C15.6105 1.58297 15.5809 1.72357 15.5248 1.85428C15.4688 1.98499 15.3872 2.10324 15.2851 2.20206L9.61883 7.87312L15.2851 13.5441C15.4801 13.7462 15.588 14.0168 15.5854 14.2977C15.5831 14.5787 15.4705 14.8474 15.272 15.046C15.0735 15.2449 14.805 15.3574 14.5244 15.3599C14.2437 15.3623 13.9733 15.2543 13.7714 15.0591L8.10514 9.38812L2.43894 15.0591C2.23704 15.2543 1.96663 15.3623 1.68594 15.3599C1.40526 15.3574 1.13677 15.2449 0.938279 15.046C0.739807 14.8474 0.627232 14.5787 0.624791 14.2977C0.62235 14.0168 0.730236 13.7462 0.92524 13.5441L6.59144 7.87312L0.92524 2.20206C0.724562 2.00115 0.611816 1.72867 0.611816 1.44457C0.611816 1.16047 0.724562 0.887983 0.92524 0.687069Z","fill","currentColor"],[1,"mt-2","text-sm","text-gray-800"],[1,"inline-flex","items-center","gap-x-1.5","text-[#242424E5]","decoration-2","hover:underline","font-medium",3,"click"],[1,"mt-5","mb-2","w-full","flex","gap-x-2"],[1,"grid","w-full"],["type","button",1,"py-2","px-3","inline-flex","justify-center","items-center","gap-2","rounded-md","border","border-transparent","font-semibold","bg-[#242424E5]","text-white","hover:bg-[#242424E5]","focus:outline-none","focus:ring-2","focus:ring-[#242424E5]","focus:ring-offset-2","transition-all","text-sm",3,"click"],["type","button",1,"py-2","px-3","inline-flex","justify-center","items-center","gap-2","rounded-md","border","font-medium","bg-white","text-gray-700","shadow-sm","align-middle","hover:bg-gray-50","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-white","focus:ring-[#242424E5]","transition-all","text-sm",3,"click"],["class","fixed inset-0 z-[60] sm:max-w-lg w-full mx-auto p-6 overflow-y-scroll hide_scrollbar",4,"ngIf"],[3,"modalName"],[1,"flex","flex-col","gap-8","pt-8","p-4","md:pt-10","md:p-10"],[1,"flex","flex-col","items-center","gap-2"],[1,"text-neutral-900","text-center","text-[30px]","md:text-[40px]","font-extrabold","leading-[42px]","font_montserrat"],[1,"w-[367px]","text-center","text-neutral-500","text-base","font-normal","leading-none","font_montserrat"],[1,"flex","flex-col","gap-4",3,"ngSubmit","formGroup"],["formControlName","first_name","label","First Name","placeholder","Inser your name"],["formControlName","email","label","E-mail address","placeholder","Inser your e-mail address"],[1,"flex","flex-col","justify-center","gap-4"],[1,"btn","rounded-full","px-8","py-4",3,"click","disabled"],[1,"text-center","text-base","font-bold","font_montserrat","leading-none"],[1,"text-center","text-neutral-900","text-sm","font-bold","font_montserrat","hover:underline","leading-[14.70px]","cursor-pointer",3,"click"],[1,"font-[900]","font_montserrat"],[1,"font-[900]","font_montserrat","!flex","!flex-row","!items-center","!space-x-2"],["alt","",3,"src"],[3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","flex flex-col-reverse lg:flex-row items-center justify-center space-y-0 lg:space-x-[80px] pt-4 pb-10 lg:pt-8 lg:pb-8 max-h-max",4,"ngIf"],[1,"flex","flex-col-reverse","lg:flex-row","items-center","justify-center","space-y-0","lg:space-x-[80px]","pt-4","pb-10","lg:pt-8","lg:pb-8","max-h-max"],[1,"relative","bg-[#F8F8F8]","rounded-[32px]","pt-10","px-[19px]","lg:px-[62px]","overflow-hidden","mt-4","lg:mt-0"],["loading","lazy","alt","","data-aos","fade-in","data-aos-delay","200","data-aos-duration","1000",1,"z-20","relative",3,"src"],[1,"flex","flex-col","space-y-4","w-full","lg:w-[40%]","px-0","lg:px-[40px]","justify-center","lg:justify-start","items-center","lg:items-start"],[1,"flex","flex-row","items-center","justify-center","lg:justify-start","space-x-4"],["alt","","loading","lazy",3,"src"],[1,"font-bold","text-[40px]"],[1,"text-[18px]","text-center","lg:text-start","font-normal",2,"line-height","105%"],["class","font-bold text-[#02E09C] bg-white text-[18px] py-2 px-4 border border-[#02E09C] rounded-[8px] text-center w-min whitespace-nowrap",4,"ngIf"],["class","font-bold text-[#02E09C] bg-white text-[18px] py-2 px-4 border border-[#02E09C]  rounded-[8px] text-center w-min whitespace-nowrap",4,"ngIf"],[1,"font-bold","text-[#02E09C]","bg-white","text-[18px]","py-2","px-4","border","border-[#02E09C]","rounded-[8px]","text-center","w-min","whitespace-nowrap"],[1,"text-center","py-4","w-[11.11%]","left-0","z-50","sticky","bg-white","lg:bg-transparent"],[3,"class",4,"ngIf"],["class","",4,"ngIf"],[1,"text-center","py-4","w-[11.11%]"],["class","additional-info  rounded-bl-2xl rounded-br-2xl hidden lg:block",4,"ngIf"],[1,"additional-info","rounded-bl-2xl","rounded-br-2xl","hidden","lg:block"],[1,"flex","justify-between","items-center","lg:px-4","pt-4","pb-3","cursor-pointer",3,"click"],[1,"flex","items-center"],[1,"text-xl","lg:text-2xl","font-bold"],[1,"font-medium","font-2","flex","items-center","material-symbols-outlined"],["class","px-4 py-3",3,"ngStyle",4,"ngIf"],[1,"px-4","py-3",3,"ngStyle"],[3,"innerHTML"],[1,"font-[900]","font_montserrat","!flex","!flex-row","!items-center","justify-center","!space-x-2"],["target","_blank",3,"href"],[1,"fixed","inset-0","z-[60]","sm:max-w-lg","w-full","mx-auto","p-6","overflow-y-scroll","hide_scrollbar"],[1,"bg-white","rounded-xl","shadow-2xl"],[1,"p-4","md:p-6","overflow-x-hidden","overflow-y-scroll","hide_scrollbar"],[1,"text-lg","sm:text-xl","font-semibold","text-gray-800"],[1,"mt-3","text-sm","text-gray-800"],[1,"mt-4","space-y-5"],[1,"flex","gap-x-5"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"flex-shrink-0","mt-1","w-5","h-5","text-gray-800"],["d","M8 1a2 2 0 0 1 2 2v2H6V3a2 2 0 0 1 2-2zm3 4V3a3 3 0 1 0-6 0v2H3.36a1.5 1.5 0 0 0-1.483 1.277L.85 13.13A2.5 2.5 0 0 0 3.322 16h9.355a2.5 2.5 0 0 0 2.473-2.87l-1.028-6.853A1.5 1.5 0 0 0 12.64 5H11zm-1 1v1.5a.5.5 0 0 0 1 0V6h1.639a.5.5 0 0 1 .494.426l1.028 6.851A1.5 1.5 0 0 1 12.678 
115H3.322a1.5 1.5 0 0 1-1.483-1.723l1.028-6.851A.5.5 0 0 1 3.36 6H5v1.5a.5.5 0 1 0 1 0V6h4z"],[1,"grow"],[1,"text-sm","text-gray-800"],["d","M13 2.5a1.5 1.5 0 0 1 3 0v11a1.5 1.5 0 0 1-3 0v-.214c-2.162-1.241-4.49-1.843-6.912-2.083l.405 2.712A1 1 0 0 1 5.51 15.1h-.548a1 1 0 0 1-.916-.599l-1.85-3.49a68.14 68.14 0 0 0-.202-.003A2.014 2.014 0 0 1 0 9V7a2.02 2.02 0 0 1 1.992-2.013 74.663 74.663 0 0 0 2.483-.075c3.043-.154 6.148-.849 8.525-2.199V2.5zm1 0v11a.5.5 0 0 0 1 0v-11a.5.5 0 0 0-1 0zm-1 1.35c-2.344 1.205-5.209 1.842-8 2.033v4.233c.18.01.359.022.537.036 2.568.189 5.093.744 7.463 1.993V3.85zm-9 6.215v-4.13a95.09 95.09 0 0 1-1.992.052A1.02 1.02 0 0 0 1 7v2c0 .55.448 1.002 1.006 1.009A60.49 60.49 0 0 1 4 10.065zm-.657.975 1.609 3.037.01.024h.548l-.002-.014-.443-2.966a68.019 68.019 0 0 0-1.722-.082z"],["d","M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z"],[1,"mt-4","text-sm","text-gray-800"],[1,"mt-5","divide-y","divide-gray-200"],[1,"py-4","first:pt-0","last:pb-0"],["id","hs-essential-cookie-collapse","data-hs-collapse","#hs-essential-cookie-collapse-heading",1,"hs-collapse-toggle","flex","justify-between","items-center","gap-x-5","font-semibold","text-gray-800","cursor-pointer",3,"click"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",1,"hs-collapse-open:rotate-180","w-3","h-3"],["d","M2 5L8.16086 10.6869C8.35239 10.8637 8.64761 10.8637 8.83914 10.6869L15 5","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["id","hs-essential-cookie-collapse-heading","class","hs-collapse w-full overflow-hidden transition-[height] duration-300","aria-labelledby","hs-essential-cookie-collapse",4,"ngIf"],["id","hs-optional-cookie-collapse","data-hs-collapse","#hs-optional-cookie-collapse-heading",1,"hs-collapse-toggle","flex","justify-between","items-center","gap-x-5","font-semibold","text-gray-800","cursor-pointer",3,"click"],["id","hs-optional-cookie-collapse-heading","class","hs-collapse w-full overflow-hidden transition-[height] duration-300","aria-labelledby","hs-optional-cookie-collapse",4,"ngIf"],[1,"flex","border-t","border-gray-200","divide-x","divide-gray-200"],[1,"cursor-pointer","w-full","py-3","px-4","inline-flex","justify-center","items-center","gap-2","rounded-bl-xl","font-medium","bg-white","text-gray-700","shadow-sm","align-middle","hover:bg-gray-50","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-white","focus:ring-[#242424E5]","transition-all","text-sm","sm:p-4",3,"click"],[1,"cursor-pointer","w-full","py-3","px-4","inline-flex","justify-center","items-center","gap-2","rounded-br-xl","font-medium","text-[#242424E5]","hover:bg-gray-50","focus:outline-none","focus:ring-2","ring-offset-white","focus:ring-[#242424E5]","focus:ring-offset-2","transition-all","text-sm",3,"click"],["id","hs-essential-cookie-collapse-heading","aria-labelledby","hs-essential-cookie-collapse",1,"hs-collapse","w-full","overflow-hidden","transition-[height]","duration-300"],["id","hs-optional-cookie-collapse-heading","aria-labelledby","hs-optional-cookie-collapse",1,"hs-collapse","w-full","overflow-hidden","transition-[height]","duration-300"],[1,"mt-2","inline-flex","items-center","gap-x-1.5","text-sm","text-[#242424E5]","decoration-2","hover:underline","font-medium",3,"click"]],template:function(i,r){if(1&i){const o=Ze();_(0,"app-navbar"),h(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),f(6," Protect Your Data Like You Protect Your Crypto "),p(),h(7,"h2",6),f(8," The Ultimate Data Wallet: Safeguard Your Passwords and Personal Data from Cyber Attacks and Data Breaches. Think of it as a Crypto Wallet for Your Data. "),p(),h(9,"div",7)(10,"button",8),z("click",function(){return B(o),Y(r.openDatamaskApp())}),h(11,"span"),f(12,"Open Datamask"),p()(),h(13,"button",9),z("click",function(){return B(o),Y(r.downloadNow())}),F(14,XZ,2,0,"span",10)(15,JZ,4,2,"span",11),p()(),h(16,"span",12),f(17," Available on Safari, Chrome and all Chromium-based browsers. "),p()(),_(18,"img",13)(19,"img",14),p()()(),h(20,"section",15)(21,"div",2)(22,"div",16)(23,"h2",17),f(24," Why Datamask? "),p()(),h(25,"div",18)(26,"div",19),_(27,"img",20),h(28,"h5",21),f(29,"Secure Local Storage"),p(),h(30,"p",22),f(31,"Keep your data safe on your device, giving you full control and reducing the risk of theft."),p()(),h(32,"div",19),_(33,"img",23),h(34,"h5",21),f(35,"Advanced Encryption"),p(),h(36,"p",22),f(37,"Protect your data with strong security measures: even if someone tries to access your data, they won\u2019t be able to read it."),p()(),h(38,"div",19),_(39,"img",24),h(40,"h5",21),f(41,"Powered by IPDW"),p(),h(42,"p",22),f(43,"Enjoy reliable and safe storage: your data is always available when you need it, without worrying about losing it."),p()()()()(),h(44,"section",25)(45,"div",2)(46,"div",26)(47,"h1",27),f(48," Goodbye Cloud, Hello Data Wallet. "),p(),h(49,"h3",28)(50,"b"),f(51,"DataMask"),p(),f(52," is the Data Wallet for ALL YOUR DATA, securely encrypted and "),h(53,"b"),f(54,"stored directly on your device"),p(),f(55,", ensuring complete control and reducing the risk of theft. "),p(),h(
156,"div",29),F(57,eQ,5,11,"div",30),p()(),h(58,"div",31),F(59,nQ,2,10,"ng-container",32),p(),F(60,sQ,1,1,"ng-template",null,0,s2),p()(),h(62,"section",33)(63,"div",34)(64,"div",35)(65,"div",36)(66,"h4",37),f(67,"ADD AI TO YOUR DATA WALLET"),p(),h(68,"h1",38),f(69," Meet your PRIVATE AI Companion and talk with your data "),p(),h(70,"div",39)(71,"div",40)(72,"div",41),_(73,"img",42),h(74,"p",43)(75,"b"),f(76,"No More Data Harvesting:"),p(),f(77," Stop corporations from exploiting your personal information. With DataMask, your data is completely private."),p()(),h(78,"div",41),_(79,"img",42),h(80,"p",43)(81,"b"),f(82,"Local-Only Processing:"),p(),f(83," Keep your data safe and sound, right where it belongs\u2014on your device, away from external threats."),p()(),h(84,"div",41),_(85,"img",42),h(86,"p",43)(87,"b"),f(88,"Unlimited Access, No Fees:"),p(),f(89," Enjoy full freedom without the worry of tokens or usage limits\u2014DataMask is completely free to use, forever."),p()()()(),h(90,"button",44),z("click",function(){return B(o),Y(r.goToPricing())}),h(91,"span"),f(92,"Get Datamask Diamond"),p(),h(93,"span",45),f(94,"chevron_right"),p()(),h(95,"p",46),f(96,"Available on Safari, Chrome and all Chromium-based browsers."),p()(),h(97,"div",47),_(98,"img",48),p()()()(),h(99,"section",49)(100,"div",2)(101,"div",50)(102,"div",51)(103,"div",52)(104,"h2",53),f(105,"Your gateway to Data Apps"),p()(),h(106,"p",54),f(107,"Approve or decline data transactions with ease."),p(),h(108,"div",55)(109,"p",56),z("click",function(){return B(o),Y(r.goToHudiProtocol())}),f(110,"Read Documentation"),p(),Ke(),h(111,"svg",57),_(112,"path",58),p()()(),$t(),h(113,"div",59)(114,"video",60),_(115,"source",61),p(),_(116,"img",62),p()()()(),h(117,"section",49)(118,"div",2)(119,"div",63)(120,"div",59)(121,"video",64),_(122,"source",61),p(),_(123,"img",62),p(),h(124,"div",51)(125,"div",52)(126,"h2",53),f(127,"A unified interface for LLMs"),p()(),h(128,"p",54),f(129,"DataMask providers a simple and secure way to access to LLMs tecnology for any web applications"),p(),h(130,"div",65)(131,"p",66),z("click",function(){return B(o),Y(r.goToHudiProtocol())}),f(132,"Go to the discovery section and discover the data apps"),p()()()()()(),h(133,"section",67)(134,"div",2)(135,"div",68)(136,"div",69)(137,"p",70),f(138,"Where are stored those data?"),p(),_(139,"img",71),h(140,"p",72),f(141,"In a p2p network powered by IPDW (InterPlanetary Data Wallet).A Javascript Library for storing personal or user data within a safe and distributed storage."),p(),h(142,"div",73),z("click",function(){return B(o),Y(r.goToIPDW())}),h(143,"p",74),f(144,"Discover IPDW"),p(),Ke(),h(145,"svg",75)(146,"mask",76),_(147,"rect",77),p(),h(148,"g",78),_(149,"path",79),p()()()()()()(),$t(),h(150,"section",1)(151,"div",2)(152,"div",3)(153,"div",4)(154,"h1",80),f(155," Compare Password Managers and Data Security Solutions "),p(),h(156,"div",81)(157,"table",82)(158,"tbody")(159,"tr")(160,"th",83),f(161," somthing "),p(),h(162,"th",84)(163,"div",85)(164,"h6",86),f(165,"DataMask "),_(166,"br"),f(167," DIAMOND"),p()()(),h(168,"th",87)(169,"h6",88),f(170,"DataMask"),p()(),h(171,"th",87)(172,"h6",88),f(173,"1Password"),p()(),h(174,"th",87)(175,"h6",88),f(176,"Lastpass"),p()(),h(177,"th",87)(178,"h6",88),f(179,"Dashlane"),p()(),h(180,"th",87)(181,"h6",88),f(182,"Bitwarden"),p()(),h(183,"th",87)(184,"h6",88),f(185,"Roboform"),p()(),h(186,"th",87)(187,"h6",88),f(188,"Keeper"),p()()(),F(189,DQ,29,21,"ng-container",32),p()()()()()()(),h(190,"section",89)(191,"div",2)(192,"div")(193,"div",90),_(194,"img",91),h(195,"div",92)(196,"span",93),f(197,"Protect your Passwords with Datamask"),p(),h(198,"span",94),f(199,"Your passwords are securely encrypted and stored on your device, ensuring complete control and privacy."),p()(),h(200,"button",95),z("click",function(){return B(o),Y(r.downloadNow())}),F(201,MQ,2,0,"span",10)(202,xQ,4,2,"span",11),p()()()()(),h(203,"section",96)(204,"div",97)(205,"div",98)(206,"h1",99),f(207," Frequently "),_(208,"br",100),f(209," Asked "),_(210,"br",100),f(211," Questions "),p(),h(212,"p",101),f(213,"Need help with something? Here are our most frequently asked questions."),p()(),h(214,"div",102),F(215,EQ,9,5,"div",32),p()()(),h(216,"footer",103)(217,"div",104)(218,"div",105)(219,"div",106)(220,"img",107),z("click",function(){return B(o),Y(r.goHome())}),p(),h(221,"h4",108),f(222,"Take Control of Your Data."),p(),h(223,"div",109),z("click",function(){return B(o),Y(r.goToTwitter())}),_(224,"img",110),h(225,"p",111),f(226,"Stay updated!"),p()(),h(227,"div",112)(228,"button",113),z("click",function(){return B(o),Y(r.startOnBoard(!0))}),F(229,kQ,2,0,"span",10)(230,zQ,4,2,"span",114),p()()(),h(231,"div",115)(232,"button",113),z("click",function(){return B(o),Y(r.startOnBoard(!0))}),F(233,IQ,2,0,"span",10)(234,AQ,4,2,"span",114),p(),h(235,"p",116),f(236,"Available on Safari, Chrome and all Chromium-based browsers."),p(),h(237,"div",117),z("click",function(){return B(o),Y(r.goToHudiLanding())}),h(238,"p",118),f(239,"Powered by"),p(),_(240,"img",119),p()(),h(241,"div",120),z("click",function(){return B(o),Y(r.goToHudiLanding())}),h(242,"p",121),f(243,"Powered by"),p(),_(244,"img",122),p()(),_(245,"div",123),h(246,"div",124)(247,"div",125),F(248,PQ,3,6,"a",126),p()()()(),h(249,"section",127)(250,"div",128)(251,"div",129)(252,"h2",130),f(253," Cookie Settings "),p(),h(254,"button",131),z("click",function(){return B(o),Y(r.hideCookieBanner=!r.hideCookieBanner)}),h(255,"span",132),f(256,"Dismiss"),p(),Ke(),h(257,"svg",133),_(258,"path",134),p()()(),$t(),h(259,"p",135),f(260," We use cookies to improve your experience and for marketing. Visit our "),h(261,"a",136),z("click",function(){return B(o),Y(r.goToCookiePolicies())}),f(262,"Cookies Policy"),p(),f(263," to learn more. "),p(),h(264,"div",137)(265,"div",138)(266,"button",139),z("click",function(){return B(o),Y(r.onHideCookiebanner())}),f(267," Allow all "),p()(),h(268,"div",138)(269,"button",139),z("click",function(){return B(o),Y(r.onHideCookiebannerRefuse())}),f(270," Reject all "),p()()(),h(271,"div",138)(272,"button",140),z("click",function(){return B(o),Y(r.onShowCookieOption())}),f(273," Manage cookies "),p()()()(),F(274,FQ,51,2,"section",141),h(275,"app-modal",142)(276,"div",143)(277,"div",144)(278,"div",145),f(279," Get on Board! "),p(),h(280,"div",146),f(281," Get the latest news delivered straight to your inbox. Sign up now for exclusive updates! "),p()(),h(282,"form",147),z("ngSubmit",function(){return B(o),Y(r.submit())}),_(283,"app-input-text",148)(284,"app-input-text",149),p(),h(285,"div",150)(286,"button",151),z("click",function(){return B(o),Y(r.submit())}),h(287,"div",152),f(288,"Subscribe & Download"),p()(),h(289,"div",153),z("click",function(){return B(o),Y(r.downloadNow())}),f(290," remind me later and Download Now "),p()()()()}2&i&&(b(14),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(42),M("ngForOf",r.dataMaskProducts),b(2),M("ngForOf",r.dataMaskProductsCards),b(130),M("ngForOf",r.comparisonData),b(12),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(13),M("ngForOf",r.faqItems),b(14),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(3),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(14),M("ngForOf",r.footerLinks),b(),it("",r.hideCookieBanner?"!hidden":"fixed"," fixed bottom-0 right-0 z-[60] sm:max-w-sm w-full mx-auto p-6"),b(25),M("ngIf",r.showCookiesOption),b(),M("modalName",r.ModalName.SUBSCRIBE_NEWSLETTER),b(7),M("formGroup",r.newsLetterFormGroup),b(4),M("disabled",r.newsLetterFormGroup.invalid))},dependencies:[gc,Sr,nh,ha,vu,Aa,cu,I6,xM,Gu,Oa,Wc],styles:[".how-to-card[_ngcontent-%COMP%]{box-shadow:0 2px 8px 4px #3333331a;border-radius:30px;width:100%;padding:2em;margin-top:1.5em;text-align:left;border:none}@media screen and (min-width: 1500px){.how-to-card[_ngcontent-%COMP%]{padding:1em}}
1.carousel[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden}.slides-container[_ngcontent-%COMP%]{display:flex;transition:transform .3s ease-in-out}.slide[_ngcontent-%COMP%]{flex-shrink:0;width:100%}.navigation[_ngcontent-%COMP%]{position:absolute;top:50%;left:5px;transform:translateY(-50%)}.prevButton[_ngcontent-%COMP%], .nextButton[_ngcontent-%COMP%]{border:none;font-size:24px;cursor:pointer}.prevButton[_ngcontent-%COMP%]:focus, .nextButton[_ngcontent-%COMP%]:focus{outline:none!important;-webkit-tap-highlight-color:transparent}"]})}}return e})(),VQ=(()=>{class e{constructor(t){this.router=t}ngOnInit(){}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goToCookiePolicies(){window.open("/cookie-policy","_blank")}goToHome(){window.open("/")}static{this.\u0275fac=function(i){return new(i||e)(w(xt))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-tos"]],decls:204,vars:0,consts:[[1,"bg-white"],[1,"w-full","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"lg:w-full","lg:max-w-[1312px]"],[1,"flex","flex-row","items-center","justify-center","md:justify-start","gap-x-3","pt-12","pb-12","md:pb-6",3,"click"],["src","./assets/landing-datamask/datamask-main-icon.png","alt","",1,"h-[32px]"],["src","./assets/landing-datamask/datamask-text-logo.svg","alt","",1,"h-[22px]"],[1,"font_montserrat","pb-[145px]","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"text-4xl","font-normal","py-10","mx-8","lg:mx-40"],[1,"mx-8","lg:mx-40","text-base","text-left"],[1,"w-full","px-4","md:px-16","md:flex","md:justify-center","pt-[100px]","pb-[54px]","bg-[#141414]"],[1,"w-full","max-w-[1312px]","flex","flex-col","md:flex-row","justify-between","mt-[64px]","space-y-8","md:space-y-0"],["src","./assets/landing-datamask/hudi-logo-footer.svg","alt","",1,"md:w-auto","cursor-pointer",3,"click"],[1,"flex","flex-row","items-center","justify-between","gap-6","font_montserrat"],["target","_blank",1,"cursor-pointer","font-medium","text-white","text-[14px]","md:text-[21px]",3,"click"]],template:function(i,r){1&i&&(h(0,"div")(1,"div",0)(2,"section",1)(3,"div",2)(4,"div",3),z("click",function(){return r.goToHome()}),_(5,"img",4)(6,"img",5),p()()(),h(7,"section",6)(8,"div",2)(9,"h1",7),f(10,"Terms of Service"),p(),h(11,"p",8),f(12,"These Terms of Service (\u201cTerms\u201d) govern your use of the Datamask software-as-a-service offerings, including the website at www.datamask.app and all software, applications and other content (the \u201cServices\u201d) made available or operated by Human Data Income Ltd and its affiliates (\u201cDatamask,\u201d \u201cus,\u201d or \u201cwe\u201d). These Terms apply to all individuals who access or use the Services. "),_(13,"br")(14,"br"),f(15,"It is important that you read these Terms carefully because you will be legally bound by them. If you do not agree to these Terms, please do not use the Services. "),_(16,"br")(17,"br"),f(18,"1. Using the Services "),_(19,"br")(20,"br"),f(21,"1.1. Right to Use Services "),_(22,"br"),f(23,"Datamask will provide the Services, and you may access and use the Services, in accordance with these Terms for your own personal and individual use. By accessing or using the Services, you represent that you are of legal age and have accepted these Terms. "),_(24,"br")(25,"br"),f(26,"1.2. Limitations on Use "),_(27,"br"),f(28,"By using the Services, you agree not to: (i) modify, prepare derivative works of, or reverse engineer, the Services; (ii) use the Services in a way that does or attempts to abuse or disrupt our networks, user accounts, or the Services; (iii) store within, upload or transmit any harassing, indecent, obscene, or unlawful material, or any type of virus, malware, or malicious code; (iv) upload or transmit any material that may infringe the intellectual property, privacy, or other rights of third parties through the Services; or (v) use the Services to commit fraud or impersonate any person or entity. "),_(29,"br")(30,"br"),f(31,"1.3. Changes "),_(32,"br"),f(33,"We may modify or discontinue the Services as we deem appropriate and in our discretion. Access to additional functionality or premium feature improvements may be subject to an additional cost. "),_(34,"br")(35,"br"),f(36,"2. Fees and Payment "),_(37,"br")(38,"br"),f(39,"2.1. Fees; Payment Information "),_(40,"br"),f(41,"If you have purchased a paid version of the Services, you agree to provide Datamask with accurate billing, contact, and payment information, and 
1you agree to pay all applicable fees. All payments are final and non-refundable. We may charge any payment card on file or bill you for all amounts due for your use of the Services, including any fees or overdraft charges incurred in collecting payment. Your credit card and payment information may be provided to our third-party payment processors for payment and fraud prevention. "),_(42,"br")(43,"br"),f(44,"2.2. Taxes and Withholding "),_(45,"br"),f(46,"You are responsible for all applicable sales, services, value-added, goods and services, withholding and similar taxes, tariffs, or fees imposed by any government entity or collecting agency based on the Services. In all cases, you will pay the amounts due to us in full without any right of set-off or deduction. "),_(47,"br")(48,"br"),f(49,"2.3. Non-Payment; Price Updates "),_(50,"br"),f(51,"We may, with notice to you, suspend or terminate the Services if you do not pay applicable fees, and you agree to reimburse us for all reasonable costs and expenses incurred in collecting any delinquent amounts. We reserve the right to update the price for access to the Services at any time after your initial subscription term, and price changes will be effective as of your next billing cycle. Your continued use of the Service after such notification serves as your agreement to the price change. "),_(52,"br")(53,"br")(54,"br"),f(55,"3. Subscription and Termination "),_(56,"br")(57,"br"),f(58,"3.1. Subscription "),_(59,"br"),f(60," Some Services are billed on a subscription basis, in advance and on a recurring billing cycle (which is typically monthly or yearly). To help ensure uninterrupted service, the Services will, by default, automatically renew for additional periods equal to your expiring subscription term. Customers will be notified via email seven (7) days before their subscription renewal date, providing them with details of the upcoming charge and any changes to the service. Customers have the opportunity to opt out of the renewal by cancelling the subscription within these seven (7) days from the date of notification. You may provide notice of non-renewal to our customer support team. Terminating specific Services does not affect the term of any other Services still in effect. "),_(61,"br")(62,"br"),f(63,"3.2. Termination "),_(64,"br"),f(65," You may cease using the Services at any time and contact us to cancel your account, but you will continue to be charged for Services until the end of your then-current subscription term. We may suspend or terminate your account upon notice if you violate these Terms and may reinstate your access to the Services if you remedy the violation to our satisfaction. We reserve the right to terminate your account without notice where doing so is prohibited by law or has a reasonable risk of incurring liability for us. "),_(66,"br")(67,"br"),f(68,"3.3. Effect of Termination "),_(69,"br"),f(70," If any Services are terminated or your subscription expires, your paid account may be converted to a \u201cStarter\u201d version of the Service, if available, at our discretion. Where your account is not converted to a free version, you must immediately discontinue all use of the terminated Services. To the extent permitted by applicable law, neither party will be liable for any damages resulting from the valid termination of the Services, and termination will not affect any claim arising prior to the effective termination date. "),_(71,"br")(72,"br"),f(73,"4. Your Content and Accounts "),_(74,"br")(75,"br"),f(76,"4.1. Your Content "),_(77,"br"),f(78,"Your \u201cContent\u201d includes any files, documents, or similar data that you upload, store, retrieve, or input (e.g., manually or via optional functionality such as password save and fill) to the Services. You retain all rights to your Content and you grant us a license to use, reproduce, display and distribute your Content solely to the extent required and in order to provide and operate the Services. "),_(79,"br")(80,"br"),f(81,"4.2. Your Privacy and Security "),_(82,"br"),f(83,"We are committed to protecting your privacy and the security of your data. We have implemented and maintain appropriate organizational, administrative, and technical safeguards to protect your Content from unauthorized access, loss, misuse, or disclosure. You understand that the use of the Services or interaction with our websites may involve the processing of your personal data through equipment and resources located in the United Kingdom and other parts of the world. We acknowledge that the Internet may be subject to security breaches and that the submission of personal information may not always be secure. For further details, please refer to our Privacy Policy "),_(84,"br")(85,"br"),f(86,"4.3. Your Accounts "),_(87,"br"),f(88,"When you use the Services, you must provide us with information that is accurate, complete, and current. You agree to safeguard the password that you use to access the Service and not to disclose your password to any third party. We do not send emails asking for your usernames or passwords. We are not liable for any loss that you may incur if you fail to properly secure your master password or account. We may suspend the Services or terminate your account if you or your users are using the Services in a manner that is likely to cause harm to us or if we have reasonable grounds for suspecting any illegal, fraudulent, or abusive activity on your part. "),_(89,"br"),f(90,"NOTE THAT, WHERE APPLICABLE, WE DO NOT STORE OR HAVE ACCESS TO YOUR MASTER PASSWORD, AND IF YOUR MASTER PASSWORD IS LOST, STOLEN, OR FORGOTTEN, WE CANNOT RETRIEVE YOUR MASTER PASSWORD AND YOU MAY BE UNABLE TO UNLOCK OR ACCESS YOUR ACCOUNT. "),_(91,"br")(92,"br"),f(93,"4.4 Data Breach Notification "),_(94,"br"),f(95,"In the event of a data breach that affects your personal data, we will notify you as soon as possible and take appropriate steps to mitigate the impact of such breach. "),_(96,"br")(97,"br"),f(98,"5. Compliance with Laws "),_(99,"br"),f(100,"You agree to comply with all applicable laws, rules and regulations including, but not limited to export, privacy, and data protection laws and regulations. You acknowledge that the Services are subject to export control and trade sanctions laws in the United Kingdom and other countries. You may not access, use, export, or disclose any portion of the Services in violation of applicable export control and sanctions laws. Where required by law, we will c
1ooperate with government authorities with respect to the Services. We may immediately terminate your subscription if we have reason to believe that you have failed to comply with applicable law. "),_(101,"br")(102,"br")(103,"br"),f(104,"6. Disclaimer of Warranties "),_(105,"br"),f(106,"TO THE EXTENT PERMITTED BY APPLICABLE LAW, DATAMASK DISCLAIMS ALL WARRANTIES AND CONDITIONS, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING ANY EXPRESS OR IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. SPECIFICALLY, DATAMASK DOES NOT REPRESENT OR WARRANT THAT: (i) THE USE OF THE SERVICES WILL BE TIMELY, UNINTERRUPTED, OR ERROR FREE; (ii) THE SERVICES WILL OPERATE IN COMBINATION WITH ANY SPECIFIC HARDWARE, SOFTWARE, SYSTEM, OR DATA; (iii) THE SERVICES WILL MEET YOUR REQUIREMENTS; OR (iv) ALL ERRORS OR DEFECTS WILL BE CORRECTED. USE OF THE SERVICES IS AT YOUR SOLE RISK. "),_(107,"br")(108,"br"),f(109,"7. Limitation of Liability "),_(110,"br"),f(111,"TO THE EXTENT PERMITTED BY APPLICABLE LAW, DATAMASK WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR OTHER SUCH DAMAGES OR LOSSES, INCLUDING, WITHOUT LIMITATION, DAMAGES ARISING OUT OF OR RELATING TO: (i) LOSS OR CORRUPTION OF FILES OR DATA; (ii) LOSS OF INCOME; (iii) LOSS OF OPPORTUNITY; (iv) LOST PROFITS; OR (v) COSTS OF RECOVERY, HOWEVER CAUSED AND BASED ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR VIOLATION OF STATUTE, WHETHER OR NOT DATAMASK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE TOTAL CUMULATIVE LIABILITY OF DATAMASK, ITS DIRECTORS, EMPLOYEES, PARTNERS, AGENTS, SUPPLIERS, AND AFFILIATES ARISING OUT OF THESE TERMS IS LIMITED TO DIRECT DAMAGES PROVEN UP TO THE SUM OF THE AMOUNTS PAID FOR ACCESS TO THE APPLICABLE SERVICE DURING THE SIX (6) MONTHS IMMEDIATELY PRECEDING THE INCIDENT GIVING RISE TO THE LIABILITY. "),_(112,"br")(113,"br")(114,"br"),f(115,"8. Additional Terms "),_(116,"br")(117,"br"),f(118,"8.1. Sales, Promotional Offers, Coupons and Pricing "),_(119,"br"),f(120,"Sales, promotions and other special discounted pricing offers are temporary and, upon the renewal of your subscription, any such discounted pricing or promotional offers may expire. We reserve the right to discontinue or modify any coupons, credits, sales, and special promotional offers in our sole discretion. "),_(121,"br")(122,"br"),f(123,"8.2. Free Services and Trials "),_(124,"br"),f(125,"Your right to access and use any free Services is not guaranteed for any period of time, and we reserve the right to modify or terminate your access to free Services in our discretion. If you are using the Services on a trial or promotional basis, your access will terminate at the end of the trial period or upon your conversion to a paid subscription. You may need to enter your billing information to register for a trial; and if you do, we will not charge you until the trial period has expired. At the end of the trial period, unless you have cancelled the paid subscription, you will be automatically charged the relevant subscription fees, based on the type of paid subscription selected. At any time and without notice, we reserve the right to modify the terms of the trial Service or cancel the trial period. "),_(126,"br")(127,"br"),f(128,"8.3. Third Party Services "),_(129,"br"),f(130,"We are not responsible for, do not endorse, and have no control over any third-party sites or services that you link to or integrate with the Services. You have sole discretion whether to purchase or connect to any third-party services and your use is governed solely by the separate terms and privacy policies for those services. We strongly advise that you read the terms and conditions and privacy policies of any such third-party sites or applications. "),_(131,"br")(132,"br"),f(133,"8.4. Beta Services "),_(134,"br"),f(135,"We may offer you access to beta services that are being provided prior to general release, but we do not make any guarantees that these services will be made generally available. Use of beta Services is voluntary and optional. We have no obligation to provide technical support for beta Services and may discontinue them at any time without prior notice to you. These beta Services are offered \u201cAS-IS,\u201d at your sole risk, and to the extent permitted by applicable law, we disclaim any liability, warranties, indemnities, and conditions, whether express, implied, statutory, or otherwise. If you are using beta Services, you may receive related correspondence and updates from us. We own any feedback about the beta Service you share with us. "),_(136,"br")(137,"br"),f(138,"8.5. Proprietary Rights and Datamask Marks "),_(139,"br"),f(140,"Datamask retains all proprietary right, title and interest in the Services, including our name, logo and other marks, and any related intellectual property rights, including, without limitation, all modifications, enhancements, derivative works, and upgrades. You may not use or register any trademark, service mark, business name, domain name or social media account name or handle which incorporates or is similar to part or all of any of the above. "),_(141,"br")(142,"br"),f(143,"8.6. No Class Actions "),_(144,"br"),f(145,"You may only resolve disputes with us on an individual basis and you agree not to bring or participate in any class, consolidated, or representative action against us or any of our employees or affiliates. "),_(146,"br")(147,"br"),f(148,"8.7. Security Emergencie
1s "),_(149,"br"),f(150,"If we reasonably determine that the security of the Services or infrastructure may be compromised due to hacking attempts, denial of service attacks, or other malicious activities, we may temporarily suspend the Services. If we do so, we will, to the extent practicable, provide you notice, and take actions designed to promptly resolve any security issues and restore the Services. "),_(151,"br")(152,"br"),f(153,"8.8. High-Risk Use "),_(154,"br"),f(155,"You understand that the Services are not designed or intended for use during high-risk activities, which include but are not limited to use in hazardous environments requiring fail-safe controls, weapons systems, aircraft navigation, control, or communications systems, and/or life support systems. "),_(156,"br")(157,"br"),f(158,"8.9. Assignment "),_(159,"br"),f(160,"You may not assign or sublicense your rights or delegate your duties under these Terms, either in whole or in part, without our prior written consent. Datamask may assign these Terms, in whole or in part, to an affiliated entity, or as part of a corporate reorganization, consolidation, merger, acquisition, divestiture or sale of all or substantially all of its business or assets to which these Terms relate. "),_(161,"br")(162,"br"),f(163,"8.10. Emails and Communications "),_(164,"br"),f(165,"We may provide operational notifications regarding billing, account activity, and service updates to the primary email designated on your account, electronically via postings on our website, in-product notices, or our self-service portal or administrative center. If you have any questions about these Terms, you can contact our support team or write us by mail at: [insert Datamask's address here]. "),_(166,"br")(167,"br"),f(168,"8.11. Survival "),_(169,"br"),f(170,"The following sections of these Terms will survive termination: Sections 2 (Fees and Payment), 3.3 (Effect of Termination), 4 (Your Content and Accounts), 7 (Limitation on Liability), 8.6 (No Class Actions), 8.9 (Communications), and 8.15 (Contracting Party, Choice of Law and Location for Resolving Disputes). "),_(171,"br")(172,"br"),f(173,"8.12. Entire Agreement; Changes "),_(174,"br"),f(175,"These Terms are the entire agreement between you and Datamask relating to the Services and they supersede all prior or simultaneous oral and written agreements between the parties. We may update these Terms from time to time, which will be identified by the last updated date, and may be reviewed at [insert link to Datamask's TOS here]. If a revision is material, we will make reasonable efforts to provide at least thirty (30) days\u2019 notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion. Your continued access to and use of the Services constitutes your acceptance of the then-current Terms. If you do not agree to the new terms, or any portion of the new terms, please stop using the Service. "),_(176,"br")(177,"br"),f(178,"8.13. General Terms "),_(179,"br"),f(180,"If any provision of these Terms is found not to be enforceable, it will not affect any other provisions. No person or entity not a party to these Terms will be a third party beneficiary. Our authorized distributors do not have the right to modify these Terms or to make commitments binding on us. Failure to enforce any right under these Terms will not waive that right. Unless otherwise specified, remedies are cumulative. These Terms may be agreed to online or executed by electronic signature and in one or more counterparts. We will not be responsible for any delay or failure to perform under these Terms due to any events or circumstances that are outside of our control or that we could not have reasonably anticipated (e.g., natural disasters; terrorist activities, activities of third-party service providers, labor disputes; acts of government, etc.). "),_(181,"br")(182,"br"),f(183,"8.14. Contracting Party, Choice of Law and Location for Resolving Disputes "),_(184,"br"),f(185,"The Datamask contracting entity, contact information, and governing law for your use of the Services depen
1ds on your billing location, and is stated at [email protected]. "),_(186,"br")(187,"br"),f(188,"Please remember to replace the placeholders with the appropriate links and addresses. Also, always consult a legal professional when drafting or revising terms of service. "),_(189,"br")(190,"br"),f(191,"Last update: 4 aug 2023 "),_(192,"br"),p()()(),h(193,"div")(194,"footer",9)(195,"div",10)(196,"img",11),z("click",function(){return r.goToHome()}),p(),h(197,"div",12)(198,"a",13),z("click",function(){return r.goToPrivacyAndPolicy()}),f(199,"Privacy policy"),p(),h(200,"a",13),z("click",function(){return r.goToTermsAndConditions()}),f(201,"Terms"),p(),h(202,"a",13),z("click",function(){return r.goToCookiePolicies()}),f(203,"Cookie"),p()()()()()()())}})}}return e})(),HQ=(()=>{class e{constructor(t){this.router=t}ngOnInit(){}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goToCookiePolicies(){window.open("/cookie-policy","_blank")}goToHome(){window.open("/")}static{this.\u0275fac=function(i){return new(i||e)(w(xt))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-privacy-policy"]],decls:205,vars:0,consts:[[1,"bg-white"],[1,"w-full","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"lg:w-full","lg:max-w-[1312px]"],[1,"flex","flex-row","items-center","justify-center","md:justify-start","gap-x-3","pt-12","pb-12","md:pb-6",3,"click"],["src","./assets/landing-datamask/datamask-main-icon.png","alt","",1,"h-[32px]"],["src","./assets/landing-datamask/datamask-text-logo.svg","alt","",1,"h-[22px]"],[1,"font_montserrat","pb-[145px]","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"text-lg","font-bold","py-10","mx-8","lg:mx-40"],[1,"mx-8","lg:mx-40","text-base","text-left"],[1,"overflow-x-scroll","p-6","lg:p-0","hide_scrollbar"],[1,"table-auto","border-collapse","border","border-slate-500","mt-12","w-[80%]","mx-auto"],[1,"p-6","border","border-slate-500"],[1,"p-4","border","border-slate-500"],[1,"w-full","px-4","md:px-16","md:flex","md:justify-center","pt-[100px]","pb-[54px]","bg-[#141414]"],[1,"w-full","max-w-[1312px]","flex","flex-col","md:flex-row","justify-between","mt-[64px]","space-y-8","md:space-y-0"],["src","./assets/landing-datamask/hudi-logo-footer.svg","alt","",1,"md:w-auto","cursor-pointer",3,"click"],[1,"flex","flex-row","items-center","justify-between","gap-6","font_montserrat"],["target","_blank",1,"cursor-pointer","font-medium","text-white","text-[14px]","md:text-[21px]",3,"click"]],template:function(i,r){1&i&&(h(0,"div")(1,"div",0)(2,"section",1)(3,"div",2)(4,"div",3),z("click",function(){return r.goToHome()}),_(5,"img",4)(6,"img",5),p()()(),h(7,"section",6)(8,"div",2)(9,"h1",7),f(10,"Privacy Notice on Processing of Personal Data pursuant to Articles 13 and 14 of the GDPR "),_(11,"br"),p(),h(12,"p",8),f(13," DATAMASK considers the protection of its users\u2019 data to be of fundamental importance and guarantees that the processing of their personal data is carried out in full compliance with the principles, safeguards and rights recognised by Regulation (EU) 2016/679 of the European Parliament and of the Council (GDPR) of 27 April 2016 on the protection of individuals with regard to the processing of personal data and on the free movement of such data (hereinafter referred to as the \u201cRegulation\u201d or \u201cGDPR\u201d) and the further applicable rules on the protection of personal data. "),_(14,"br")(15,"br"),f(16," This Privacy Notice provides you with information regarding the collection, use, and disclosure of your personal information in connection with DATAMASK Website, Browser Extension and applications as defined in DATAMASK User Terms of Services in accordance with Articles 13 and 14 of the GDPR. "),p(),_(17,"br"),h(18,"h1",7),f(19,"Data Controller"),p(),h(20,"p",8),f(21," The Data Controller is Human Data Income Ltd, based in London (UK), 16 Whitehall, London, SW1A2DY from now on also \u201cDATAMASK\u201d or \u201cwe\u201d \u201cus\u201d. "),_(22,"br"),f(23," If you have general questions about your account or how to contact customer service for assistance, please contact us at "),h(24,"b"),f(25,"[email protected]"),p(),f(26,". For questions specifically about this Privacy Policy, or our use of your personal information, please contact us at "),h(27,"b"),f(28,"[email protected]"),p(),f(29,". "),_(30,"br"),f(31," Please note that when you contact us to assist you, for your safety and ours we may need to verify your identity before fulfilling your request. "),p(),_(32,"br"),h(33,"h1",7),f(34,"Data Source"),p(),h(35,"p",8),f(36," \u2022 Information you provide to us: information such as name, surname, e-mail address or any other information given freely by you while using the functionalities of DATAMASK "),_(37,"br")(38,"br"),f(39," \u2022 Information collected automatically as a result of your use of DATAMASK: we collect information about your browsing experience while use our apps. This information may include device and software characteristics, connection information, URL addresses, IP address, browser information, standard web server log information. "),_(40,"br")(41,"br"),f(42," \u2022 Information collected from third parties: third-party companies that provide (or have provided) services to you or other online platforms with which you have interacted may share the personal data they hold about you (e.g., data about your online purchases) with DATAMASK Apps in order to enrich your profile (\u201cData Provider\u201d). Data Providers are responsible for personal data they obtained, published, or shared through DATAMASK Apps and for identifying a lawful basis for the transfer of such data with DATAMASK. We also collect information from companies that provide services to you or with which you interact while using DATAMASK Apps (e.g., payment service providers, social media platforms, e-commerce solutions, etc.). "),p(),_(43,"br"),h(44,"h1",7),f(45,"Purposes of Processing and Legal Basis"),p(),h(46,"p",8),f(47,"We process personal data for the purposes and on the legal bases indicated below:"),p(),h(48,"div",9)(49,"table",10)(50,"thead")(51,"tr")(52,"th",11),f(53,"Purposes"),p(),h(
154,"th",11),f(55,"Categories of Personal Data"),p(),h(56,"th",11),f(57,"Legal Basis"),p()()(),h(58,"tbody")(59,"tr")(60,"td",12),f(61,"To manage the technical functioning of DATAMASK Apps "),p(),h(62,"td",12),f(63,"Data for this purpose are collected automatically and may include device and software characteristics, connection information, URL addresses, IP address, browser information, standard web server log information"),p(),h(64,"td",12),f(65,"To perform a contract with you (article 6 (1)(b) of the GDPR)"),p()(),h(66,"tr")(67,"td",12),f(68," To enable you to create an account and authenticate your access to your account, to allow you to create, update and enrich your profile "),p(),h(69,"td",12),f(70,"Name, surname, contact details (e-mail, phone number), date of birth, country, password (as required to complete your registration); any further information included by you in your data monetisation section, concerning your career, education level, employment status, marital and parental status, gender, lifestyle and demographic data. This information may be kept in its identifiable form, or in an aggregated form (so that individuals cannot be identified)"),p(),h(71,"td",12),f(72,"To perform a contract with you (Article 6(1)(b) of the GDPR)"),p()(),h(73,"tr")(74,"td",12),f(75,"To enable you to create an account and authenticate your access to your account, to allow you to create, update and enrich your data monetisation inventory that third party partners may use to create and export an audience for their own direct marketing and research purposes (\u201cDataBuyers\u201d)"),p(),h(76,"td",12),f(77,"Name, surname, contact details (e-mail, phone number), date of birth, country, password (as required to complete your registration); any further information included by you in your data monetisation section, concerning your career, education level, employment status, marital and parental status, gender, lifestyle and demographic data. This information may be kept in its identifiable form, or in an aggregated form (so that individuals cannot be identified); any further information shared by Data Providers concerning your purchases and actions taken by you within the Data Providers\u2019 platform"),p(),h(78,"td",12),f(79,"Your consent (Article 6(1)(a) of the GDPR)"),p()(),h(80,"tr")(81,"td",12),f(82,"To connect your account on other third-party services (e.g., your social media account) to DATAMASK Apps (if you choose to do so by using the specific functionalities made available within your reserved area)"),p(),h(83,"td",12),f(84,"Information that such other services may transfer to DATAMASK depending on their own policy. Such information may include your name, profile picture, language, and friend list."),p(),h(85,"td",12),f(86,"Your consent (article 6 (1)(a) of the GDPR)"),p()(),h(87,"tr")(88,"td",12),f(89,"To transfer the personal data you or Data Providers have shared with DATAMASK Apps to Data Buyers for their own direct marketing and research purposes. As legitimate owner of the data, you will receive royalties from every data-related transaction as described in the DATAMASK User Terms of Services"),p(),h(90,"td",12),f(91,"The personal data in your profile section (except for your profile picture that will only be visible to you). Data Buyers may create and populate audiences by performing a query with parameters provided by you. Please note that these data will be transferred in a pseudonymized form as described in the DATAMASK Apps"),p(),h(92,"td",12),f(93,"To perform a contract with you (article 6 (1)(b) of the GDPR)"),p()(),h(94,"tr")(95,"td",12),f(96,"To carry out direct marketing activities by DATAMASK, such as sending advertising material and communications with informative and/or promotional content in relation to services or products provided and/or promoted by DATAMASK"),p(),h(97,"td",12),f(98,"Identification and contact information"),p(),h(99,"td",12),f(100,"Your consent (article 6 (1)(a) of the GDPR). Please note that consent is not required when we use your email address in order to send you information about similar products and services. In this case, we process your personal data for the purposes of pursuing our legitimate interests (so-called soft spam)"),p()(),h(101,"tr")(102,"td",12),f(103,"To process and respond to customer support communications and requests for information you may raise with us"),p(),h(104,"td",12),f(105,"Identification and contact information, any other personal data that you provide to us when making your request and any other personal data that we may 
1need to acquire in order to fulfil your requests"),p(),h(106,"td",12),f(107,"To perform a contract with you (Article 6 (1)(b) of the GDPR)"),p()(),h(108,"tr")(109,"td",12),f(110,"To improve our products and services (for example, by conducting user surveys and research activities to provide you with new features, and to assess user satisfaction; processing of statistical data in order to understand how DATAMASK Apps is used)"),p(),h(111,"td",12),f(112,"Statistical data on how DATAMASK Apps is used, your answers to our surveys and research activities, technical performance data, crash data/performance data/other diagnostic data"),p(),h(113,"td",12),f(114,"For the purposes of pursuing our legitimate interests, where it is not overridden by your data protection interests or fundamental rights and freedoms (Article 6 (1)(f) of the GDPR)"),p()(),h(115,"tr")(116,"td",12),f(117,"To secure our systems, prevent payment fraud, help us protect the security of your account and enforce our terms"),p(),h(118,"td",12),f(119,"Data collected automatically, including device and software characteristics, connection information, URL addresses, IP address, browser information, standard web server log information, user identification and contact information"),p(),h(120,"td",12),f(121,"For the purposes of pursuing our legitimate interests, where it is not overridden by your interests or fundamental rights and freedoms (Article 6 (1)(f) of the GDPR)"),p()(),h(122,"tr")(123,"td",12),f(124,"To comply with our legal obligations, including requests from public authorities"),p(),h(125,"td",12),f(126,"Any information which may be required by the law or by public authorities"),p(),h(127,"td",12),f(128,"For compliance with a legal obligation to which we are subject (Article 6 (1)(c) of the GDPR)"),p()(),h(129,"tr")(130,"td",12),f(131,"To establish, exercise or defend our rights and those of our employees, and to carry out corporate transactions or operations (for example, in case of bankruptcy, merger, acquisition, reorganization, sale of assets or assignments, and due diligence related to any such transactions)"),p(),h(132,"td",12),f(133,"Any information which may be necessary in order to fulfil this purpose"),p(),h(134,"td",12),f(135,"For the purposes of pursuing our legitimate interests, where it is not overridden by your interests or fundamental rights and freedoms (Article 6 (1)(f) of the GDPR)"),p()()()()(),_(136,"br")(137,"br"),h(138,"h1",7),f(139,"Your Choices Regarding the Processing of Your Personal Data"),p(),h(140,"p",8),f(141," Your personal data is necessary and mandatory for the aforementioned purposes. Any refusal to provide them would prevent us from pursuing our contractual relationship with you and from providing the requested services.\n"),_(142,"br"),f(143," Where we rely on your consent for the purposes indicated above, your provision of personal data is optional, and you have the right to withdraw your consent at any time without affecting your contractual relationship with us. If you choose to grant us access to the data in your account on another service (see section 3 above), you can remove our access to that other service by using the specific functionalities made available in your reserved area. "),_(144,"br"),f(145,"\nWhere we rely on our legitimate interest, you may, at any time, object to the processing of your personal data as described in section 7. "),p(),_(146,"br"),h(147,"h1",7),f(148,"Data Storage and Data Retention"),p(),h(149,"p",8),f(150," Personal data will be processed by both automated and non-automated means and are stored at our service provider\u2019s servers. Unless otherwise specified, personal data shall not be transferred or processed outside the U.K. or the European Economic Area or other country not providing an adequate level of protection in this field. In this case, the data transfer may take place on the basis of Standard Contractual Clauses adopted by the European Commission or other appropriate safeguards (according to article 46 GDPR) or derogations according to article 49 GDPR, if not otherwise specified case-by-case. "),p(),_(151,"br"),h(152,"p",8),f(153," Your personal data will be kept as long as necessary to fulfill the purposes indicated above, without prejudice to the cases in which the retention for a longer period is necessary to comply with the applicable legislation or with requests received by competent authorities. The personal data that we process on the basis of your consent are retained until your consent is withdrawn where there is no other legal ground for processing. "),p(),_(154,"br"),h(155,"h1",7),f(156,"Sharing Your Personal Data "),p(),h(157,"p",8),f(158,"We will share or disclose your personal data to the following categories of recipients: "),_(159,"br"),f(160," Suppliers carrying out activities that are related or instrumental to our business and operational activities as data processors appointed in writing or acting as autonomous data controllers (such as suppliers of infrastru
1cture and IT services, consultancy services, accounting, administrative, legal services)\nWith your consent, Data Buyers for their own direct marketing and research purposes. "),_(161,"br"),f(162,"\nIf we carry out a corporate transaction or operation (for example, in case of bankruptcy, merger, acquisition, reorganization, sale of assets or assignments, and due diligence related to any such transactions), your personal data may be disclosed to our advisers and any prospective purchaser's advisers and may be included in the asset that is transferred to another company.\nPublic, judicial or police authorities, within the limits established by applicable laws. "),_(163,"br"),f(164,"\nPersonal data will not be disclosed for any reason other than those stated above unless such disclosure is deemed necessary for the fulfillment of a legal obligation or if we request your consent.\n"),_(165,"br"),f(166,"\nIn order to obtain an updated list of the subjects who may become aware of your personal data, please contact us by email at "),h(167,"b"),f(168,"[email protected]"),p(),f(169,".\n"),p(),_(170,"br"),h(171,"h1",7),f(172,"Information and Privacy Rights "),p(),h(173,"p",8),f(174," You can request access to your personal information, or correct or update out-of-date or inaccurate personal information we hold about you. You may also request that we delete personal information that we hold about you. "),_(175,"br"),f(176," You can object to processing of your personal information, ask us to restrict processing of your personal information or request portability of your personal information; if we have collected and processed your personal information with your consent, you can withdraw your consent at any time; withdrawing your consent will not affect the lawfulness of any processing we conducted prior to your withdrawal, nor will it affect processing of your personal information conducted in reliance on lawful processing grounds other than consent. "),p(),_(177,"br"),h(178,"h1",7),f(179,"To exercise your data protection rights you may: "),p(),h(180,"p",8),f(181," contact us at any time by email at: "),h(182,"b"),f(183,"[email protected]"),p(),f(184,". We respond to all requests we receive from individuals wishing to exercise their data protection rights in accordance with applicable data protection laws. "),_(185,"br"),f(186," You also have the right to lodge a complaint with a Data Protection Authority about our collection and use of your personal information, in particular in the Member State in which you habitually live or work or in the place where the alleged violation took place. "),p(),h(187,"h1",7),f(188,"Changes to this Privacy Notice "),p(),h(189,"p",8),f(190," This policy may be subject to modifications also as a consequence of any regulatory changes. In this case, we will inform you of such modifications with the means of communication available. Should these changes relate to activities carried out on the basis of consent, we will require a new consent before proceeding to any further processing. We also kindly invite you to periodically review this Privacy Notice for the latest information on our privacy practices. "),p(),_(191,"br"),h(192,"p",8),f(193,"Last update: 4 aug 2023 "),p()()(),h(194,"div")(195,"footer",13)(196,"div",14)(197,"img",15),z("click",function(){return r.goToHome()}),p(),h(198,"div",16)(199,"a",17),z("click",function(){return r.goToPrivacyAndPolicy()}),f(200,"Privacy policy"),p(),h(201,"a",17),z("click",function(){return r.goToTermsAndConditions()}),f(202,"Terms"),p(),h(203,"a",17),z("click",function(){return r.goToCookiePolicies()}),f(204,"Cookie"),p()()()()()()())}})}}return e})(),BQ=(()=>{class e{constructor(t){this.router=t}ngOnInit(){}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goToCookiePolicies(){window.open("/cookie-policy","_blank")}goToHome(){window.open("/")}static{this.\u0275fac=function(i){return new(i||e)(w(xt))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-cookie-policy"]],decls:121,vars:0,consts:[[1,"bg-white"],[1,"w-full","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"lg:w-full","lg:max-w-[1312px]"],[1,"flex","flex-row","items-center","justify-center","md:justify-start","gap-x-3","pt-12","pb-12","md:pb-6",3,"click"],["src","./assets/landing-datamask/datamask-main-icon.png","alt","",1,"h-[32px]"],["src","./assets/landing-datamask/datamask-text-logo.svg","alt","",1,"h-[22px]"],[1,"font_montserrat","pb-[145px]","px-4","lg:px-16","lg:flex","lg:justify-center"],[1,"text-4xl","font-normal","py-10","mx-8","lg:mx-40"],[1,"mx-8","lg:mx-40","text-base","text-left"],["href","https://en.wikipedia.org/wiki/HTTP_cookie","target","_blank",1,"text-[#1E6BFF]"],["href","https://support.google.com/accounts/answer/61416","target","_blank",1,"text-[#1E6BFF]"],["href","https://support.microsoft.com/en-gb/help/4468242/microsoft-edge-browsing-data-and-privacy-microsoft-privacy","target","_blank",1,"text-[#1E6BFF]"],["href","https://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences","target","_blank",1,"text-[#1E6BFF]"],["href","https://help.opera.com/en/latest/web-preferences/","target","_blank",1,"text-[#1E6BFF]"],["href","https://support.apple.com/en-gb/guide/safari/manage-cookies-and-website-data-sfri11471/mac","target","_blank",1,"text-[#1E6BFF]"],[1,"w-full","px-4","md:px-16","md:flex","md:justify-center","pt-[100px]","pb-[54px]","bg-[#141414]"],[1,"w-full","max-w-[1312px]","flex","flex-col","md:flex-row","justify-between","mt-[64px]","space-y-8","md:space-y-0"],["src","./assets/landing-datamask/hudi-logo-footer.svg","alt","",1,"md:w-auto","cursor-pointer",3,"click"],[1,"flex","flex-row","items-center","justify-between","gap-6","font_montserrat"],["target","_blank",1,"curs
1or-pointer","font-medium","text-white","text-[14px]","md:text-[21px]",3,"click"]],template:function(i,r){1&i&&(h(0,"div")(1,"div",0)(2,"section",1)(3,"div",2)(4,"div",3),z("click",function(){return r.goToHome()}),_(5,"img",4)(6,"img",5),p()()(),h(7,"section",6)(8,"div",2)(9,"h1",7),f(10,"Cookie Policy Datamask"),p(),h(11,"p",8),f(12,"Cookie Policy "),_(13,"br")(14,"br"),f(15,"What are cookies? "),_(16,"br"),f(17,"Our website, like many others, uses cookies to work correctly. "),_(18,"br")(19,"br"),f(20,"When you access our website, cookies are small text files downloaded onto your device. They allow us to recognise your device and store some information about your preferences or past actions on our website, ultimately allowing us to improve your experience. This cookie policy describes the kinds of information that we gather, how we use the information, and why we need to store these cookies. We will also explain how you can prevent these cookies from being stored; however, this may downgrade or break certain elements of the site's functionality. "),_(21,"br")(22,"br"),f(23,"For more general information on cookies, see this "),h(24,"a",9),f(25,"Wikipedia definition"),p(),f(26,". "),_(27,"br")(28,"br"),f(29,"How we use cookies "),_(30,"br"),f(31,"We use cookies to understand how users interact with our services and, thus, how we can improve them. Details of this usage are described below. Unfortunately, in most cases, there are no industry standard options for disabling cookies without completely disabling the functionality and features they add to the site. It is recommended that you accept our usage of cookies if you are unsure whether you need them or not, in case they are necessary for a service you use. "),_(32,"br")(33,"br"),f(34,"The types of cookies we use "),_(35,"br"),f(36,"If you create an account at our site, we will use cookies to manage the sign-up process and general administration. These cookies will usually be deleted when you log out; however, in some cases, they may remain afterwards to remember your site preferences when logged out. "),_(37,"br")(38,"br"),f(39,"We use cookies when you are logged in to remember this fact. This prevents you from having to log in every time you visit a new page. These cookies are typically removed or cleared when you log out to ensure that you can only access restricted features and areas when logged in. "),_(40,"br")(41,"br"),f(42,"When you submit data through a form such as a contact page or comment box, cookies may be set to remember your user details for future correspondence. To provide you with a great experience on this site, we provide the functionality to set your preferences for how this site runs when you use it. "),_(43,"br")(44,"br"),f(45,"To remember your preferences, we need to set cookies so that this information can be called whenever you interact with a page affected by your preferences. "),_(46,"br")(47,"br"),f(48,"Some cookies are persistent, meaning they remain stored on your device for one year. "),_(49,"br")(50,"br"),f(51,"As we sell services, we need to understand statistics on how many of the visitors to our site make a purchase, and thus cookies will track this kind of data. This is important to you as it means we can accurately make business predictions to monitor our advertising and product costs to ensure the best possible price. "),_(52,"br")(53,"br"),f(54,"The behavioural advertising cookies this site uses are designed to ensure that we provide you with the most relevant adverts where possible by anonymously tracking your interests and presenting similar things you may like. "),_(55,"br")(56,"br"),f(57,"In some cases, we may provide you with custom content based on what you tell us about yourself, directly or indirectly, if you link a social media account. These cookies simply allow us to provide you with content that interests you. "),_(58,"br")(59,"br"),f(60,"Use of third-party cookies "),_(61,"br"),f(62,"In some special cases, we also use cookies provided by trusted third parties. The following section specifies which third-party cookies you might encounter at this site and why we use them. "),_(63,"br")(64,"br"),f(65,"Third-party analytics are used to track and measure the usage of this site so that we can continue to produce engaging content. These 
1cookies may track how long you spend on the site or pages you visit, which helps us understand how we can improve the site for you. "),_(66,"br")(67,"br"),f(68,"From time to time, we test new features and make subtle changes to how the site is delivered. While we are still testing new features, these cookies may be used to ensure that you receive a consistent experience on our site. That way, we can understand which optimisations our users appreciate most. "),_(69,"br")(70,"br"),f(71,"Several partners advertise on our behalf, and affiliate-tracking cookies simply allow us to see if our customers have visited the site through one of our partner sites. This lets us credit them appropriately and also allows you to enjoy any bonuses they might be offering for use of their service. "),_(72,"br")(73,"br"),f(74,"How to disable cookies "),_(75,"br"),f(76,"A lot of web browsers allow control of cookies through the settings. You can prevent the setting of cookies by adjusting the browser settings (see your browser's Help section for the instructions). Find out how to manage cookies on popular browsers: "),_(77,"br")(78,"br"),f(79,"\u2022"),h(80,"a",10),f(81," Google Chrome"),p(),_(82,"br"),f(83,"\u2022"),h(84,"a",11),f(85," Microsoft Edge"),p(),_(86,"br"),f(87,"\u2022"),h(88,"a",12),f(89," Mozilla Firefox"),p(),_(90,"br"),f(91,"\u2022"),h(92,"a",13),f(93," Opera"),p(),_(94,"br"),f(95,"\u2022"),h(96,"a",14),f(97," Apple Safari"),p(),_(98,"br")(99,"br"),f(100,"Be aware that disabling cookies will affect the functionality of our website. Disabling cookies will usually affect the functionality and specific features of sites. "),_(101,"br")(102,"br"),f(103,"More information "),_(104,"br"),f(105,"We hope this article has clarified things for you. As previously mentioned, it's best to leave cookies enabled just in case they are needed while you use our site. However, if you'd still like more information, please contact us. "),_(106,"br")(107,"br"),f(108,"Last updated: August 4rd, 2023 "),_(109,"br"),p()()(),h(110,"div")(111,"footer",15)(112,"div",16)(113,"img",17),z("click",function(){return r.goToHome()}),p(),h(114,"div",18)(115,"a",19),z("click",function(){return r.goToPrivacyAndPolicy()}),f(116,"Privacy policy"),p(),h(117,"a",19),z("click",function(){return r.goToTermsAndConditions()}),f(118,"Terms"),p(),h(119,"a",19),z("click",function(){return r.goToCookiePolicies()}),f(120,"Cookie"),p()()()()()()())}})}}return e})(),YQ=(()=>{class e{constructor(t){this.analyticsService=t;try{window.gtag("event","conversion",{send_to:"AW-10979011796/QYR9CMGVueUYENTZmfMo"})}catch(i){console.error(i)}t.pushEvent(re.DATAMASK,jt.UNINSTALLED,Ut.DATAMASK,0,Vc.DATAMASK).then().catch()}openDataMaskLink(){switch(Ku()){case"chrome":case"edge":case"brave":window.open("https://chromewebstore.google.com/detail/datamask/fnpipcojmcnkacpopfaomgplijfckdkm","_blank")?.focus();break;case"firefox":window.open("https://addons.mozilla.org/it/firefox/addon/datamask/","_blank")?.focus();break;case"safari":window.open("https://apps.apple.com/it/app/hudi-datamask/id1658381792","_blank")?.focus()}}static{this.\u0275fac=function(i){return new(i||e)(w(Hc))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-goodbye"]],decls:12,vars:0,consts:[[1,"h-screen","overflow-hidden"],[1,"w-full","px-0","lg:px-16","lg:flex","lg:justify-center","h-full"],[1,"lg:w-full","lg:max-w-[1312px]","big-blur","flex","justify-center","items-center","mb-20","font_montserrat"],[1,"flex","flex-col","items-center","justify-center","p-10","rounded-3xl","border","border-[#37D0A2]","bg-[#fff]"],["src","./assets/images/frog.png","alt","",1,"h-[63px]","w-auto"],[1,"text-[24px]","text-[#37D0A2]","font-bold","mb-[30px]","text-center","w-[70%]","mt-6",2,"line-height","normal"],[1,"text-[16px]","text-center","text-[#151515]","mb-[30px]","w-[70%]",2,"line-height","normal"],[1,"btn","rounded-full","px-8","py-4",3,"click"]],template:function(i,r){1&i&&(h(0,"div",0),_(1,"app-navbar"),h(2,"section",1)(3,"div",2)(4,"div",3),_(5,"img",4),h(6,"h2",5),f(7," DATAMASK "),p(),h(8,"h3",6),f(9," You will no longer be able to take advantage of DataMask exclusive features! "),p(),h(10,"button",7),z("click",function(){return r.openDataMaskLink()}),f(11," REINSTALL DATAMASK "),p()()()()())},dependencies:[Gu],encapsulation:2})}}return e})();const jQ=Pr(512);let UQ=(()=>{class e{constructor(t){try{window.gtag("event","conversion",{send_to:"AW-10979011796/JMr0CJmYkdsDENTZmfMo"})}catch(r){console.error(r)}t.pushEvent(re.DATAMASK,jt.INSTALLED,Ut.DATAMASK,0,Vc.DATAMASK).then().catch();const i=jQ.get?.("dm_campaign");t.pushEvent(i,jt.EXTENSION,Ut.INSTALL,0,Vc.DATAMASK_WEBSITE).then().catch()}openDataMaskLink(){switch(Ku()){case"chrome":case"edge":case"brave":window.open("chrome-extension://fnpipcojmcnkacpopfaomgplijfckdkm/onboarding/index.html","_blank")?.focus();break;case"safari":window.open("safari-web-extension://25233076-90CE-4D5B-8F37-2D8249D2B942/onboarding/index.html","_blank")?.focus()}}static{this.\u0275fac=function(i){return new(i||e)(w(Hc))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-welcome"]],decls:15,vars:0,consts:[[1,"h-screen","overflow-hidden"],[1,"w-full","px-0","lg:px-16","lg:flex","lg:justify-center","h-full"],[1,"lg:w-full","lg:max-w-[1312px]","big-blur","flex","justify-center","items-center","mb-20","font_montserrat"],[1,"flex","flex-col","items-center","justify-center","p-10","rounded-3xl","border","border-[#37D0A2]","bg-[#fff]"],[1,"text-[64px]","font-extrabold","text-[#37D0A2]","text-center","mb-2",2,"line-height","100%","font-weight","800"],[1,"text-[24px]","text-[#151515]","font-bold","mb-[30px]","text-center","w-[70%]",2,"line-height","normal"],[1,"text-[16px]","text-center","text-[#151515]","mb-[30px]","w-[70%]",2,"line-height","normal"],[1,"btn","rounded-full","px-8","py-4",3,"click"]],template:function(i,r){1&i&&(h(0,"div",0),_(1,"app-navbar"),h(2,"section",1)(3,"div",2)(4,"div",3)(5,"h1",4),f(6,"Welcome "),_(7,"br"),f(8,"to Datamask"),p(),h(9,"h2",5),f(10," Your secure solution for managing your data wallet. "),p(),h(11,"h3",6),f(12," Store and control your passwords, payment cards, and access keys, all in one convenient place. "),p(),h(13,"button",7),z("click",function(){return r.openDataMaskLink()}),f(14," Start to use Datamask "),p()()()()())},dependencies:[Gu],encapsulation:2})}}return e})();class $Q{constructor(n,t,i){this.httpClient=n,this.message=t,this.baseUrl=i,this.httpOptions={headers:{"Content-Type":"application/json",accept:"application/json"}}}get(n,t){return this.httpClient.get(`${this.baseUrl}${n}`,{headers:new cn({...this.httpOptions.headers,...t?.headers}),params:new li({fromObject:t?.params})})}post(n,t=null,i){return this.httpClient.post(`${this.baseUrl}${n}`,t,{headers:new cn({...this.httpOptions.headers,...i?.headers}),params:new li({fromObject:i?.params})})}put(n,t=null,i){return this.httpClient.put(`${this.baseUrl}${n}`,t,{headers:new cn({...this.httpOptions.headers,...i?.headers}),params:new li({fromObject:i?.params})})}delete(n,t){return this.httpClient.delete(`${this.baseUrl}${n}`,{headers:new cn({...this.httpOptions.headers,...t?.headers}),params:new li({fromObject:t?.params})})}}function kM(e){return jp(ce(n=>n instanceof Bo?n.error:(e?.(n.data),n.data)))}function zM(e){return Bf.apply(this,arguments)}function Bf(){return(Bf=dt(function*(e){try{return yield nu(e),!0}catch{return!1}}
1)).apply(this,arguments)}let en=(()=>{class e{static{this.SLOW="0.3s"}static{this.BASE="0.2s"}static{this.FAST="0.1s"}}return e})(),hn=(()=>{class e{static{this.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)"}static{this.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)"}static{this.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)"}static{this.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)"}static{this.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)"}static{this.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)"}static{this.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)"}static{this.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)"}static{this.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)"}static{this.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)"}static{this.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)"}static{this.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)"}static{this.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)"}static{this.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}}return e})();Nn("collapseMotion",[Sn("expanded",j({height:"*"})),Sn("collapsed",j({height:0,overflow:"hidden"})),Sn("hidden",j({height:0,overflow:"hidden",borderTopWidth:"0"})),Ae("expanded => collapsed",ke(`150ms ${hn.EASE_IN_OUT}`)),Ae("expanded => hidden",ke(`150ms ${hn.EASE_IN_OUT}`)),Ae("collapsed => expanded",ke(`150ms ${hn.EASE_IN_OUT}`)),Ae("hidden => expanded",ke(`150ms ${hn.EASE_IN_OUT}`))]),Nn("treeCollapseMotion",[Ae("* => *",[ID("nz-tree-node:leave,nz-tree-builtin-node:leave",[j({overflow:"hidden"}),AD(0,[ke(`150ms ${hn.EASE_IN_OUT}`,j({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),ID("nz-tree-node:enter,nz-tree-builtin-node:enter",[j({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),AD(0,[ke(`150ms ${hn.EASE_IN_OUT}`,j({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Nn("drawerMaskMotion",[Ae(":enter",[j({opacity:0}),ke(`${en.SLOW}`,j({opacity:1}))]),Ae(":leave",[j({opacity:1}),ke(`${en.SLOW}`,j({opacity:0}))])]),Nn("fadeMotion",[Ae("* => enter",[j({opacity:0}),ke(`${en.BASE}`,j({opacity:1}))]),Ae("* => leave, :leave",[j({opacity:1}),ke(`${en.BASE}`,j({opacity:0}))])]),Nn("helpMotion",[Ae(":enter",[j({opacity:0,transform:"translateY(-5px)"}),ke(`${en.SLOW} ${hn.EASE_IN_OUT}`,j({opacity:1,transform:"translateY(0)"}))]),Ae(":leave",[j({opacity:1,transform:"translateY(0)"}),ke(`${en.SLOW} ${hn.EASE_IN_OUT}`,j({opacity:0,transform:"translateY(-5px)"}))])]);const qQ=Nn("moveUpMotion",[Ae("* => enter",[j({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),ke(`${en.BASE}`,j({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Ae("* => leave",[j({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),ke(`${en.BASE}`,j({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),WQ=(Nn("notificationMotion",[Sn("enterRight",j({opacity:1,transform:"translateX(0)"})),Ae("* => enterRight",[j({opacity:0,transform:"translateX(5%)"}),ke("100ms linear")]),Sn("enterLeft",j({opacity:1,transform:"translateX(0)"})),Ae("* => enterLeft",[j({opacity:0,transform:"translateX(-5%)"}),ke("100ms linear")]),Sn("enterTop",j({opacity:1,transform:"translateY(0)"})),Ae("* => enterTop",[j({opacity:0,transform:"translateY(-5%)"}),ke("100ms linear")]),Sn("enterBottom",j({opacity:1,transform:"translateY(0)"})),Ae("* => enterBottom",[j({opacity:0,transform:"translateY(5%)"}),ke("100ms linear")]),Sn("leave",j({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Ae("* => leave",[j({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),ke("100ms linear")])]),`${en.BASE} ${hn.EASE_OUT_QUINT}`),GQ=`${en.BASE} ${hn.EASE_IN_QUINT}`;Nn("slideMotion",[Sn("void",j({opacity:0,transform:"scaleY(0.8)"})),Sn("enter",j({opacity:1,transform:"scaleY(1)"})),Ae("void => *",[ke(WQ)]),Ae("* => void",[ke(GQ)])]),Nn("slideAlertMotion",[Ae(":leave",[j({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),ke(`${en.SLOW} ${hn.EASE_IN_OUT_CIRC}`,j({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Nn("tabSwitchMotion",[Sn("leave",j({display:"none"})),Ae("* => enter",[j({display:"block",opacity:0}
1),ke(en.SLOW)]),Ae("* => leave, :leave",[j({position:"absolute",top:0,left:0,width:"100%"}),ke(en.SLOW,j({opacity:0})),j({display:"none"})])]),Nn("thumbMotion",[Sn("from",j({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),Sn("to",j({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),Ae("from => to",ke(`300ms ${hn.EASE_IN_OUT}`))]),Nn("zoomBigMotion",[Ae("void => active",[j({opacity:0,transform:"scale(0.8)"}),ke(`${en.BASE} ${hn.EASE_OUT_CIRC}`,j({opacity:1,transform:"scale(1)"}))]),Ae("active => void",[j({opacity:1,transform:"scale(1)"}),ke(`${en.BASE} ${hn.EASE_IN_OUT_CIRC}`,j({opacity:0,transform:"scale(0.8)"}))])]),Nn("zoomBadgeMotion",[Ae(":enter",[j({opacity:0,transform:"scale(0) translate(50%, -50%)"}),ke(`${en.SLOW} ${hn.EASE_OUT_BACK}`,j({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Ae(":leave",[j({opacity:1,transform:"scale(1) translate(50%, -50%)"}),ke(`${en.SLOW} ${hn.EASE_IN_BACK}`,j({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);let ZQ=(()=>{class e{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return this._singletonRegistry}registerSingletonWithKey(t,i){const r=this.singletonRegistry.has(t),o=r?this.singletonRegistry.get(t):this.withNewTarget(i);r||this.singletonRegistry.set(t,o)}unregisterSingletonWithKey(t){this.singletonRegistry.has(t)&&this.singletonRegistry.delete(t)}getSingletonWithKey(t){return this.singletonRegistry.has(t)?this.singletonRegistry.get(t).target:null}withNewTarget(t){return{target:t}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function XQ(e,n){1&e&&_(0,"span",10)}function JQ(e,n){1&e&&_(0,"span",11)}function eX(e,n){1&e&&_(0,"span",12)}function tX(e,n){1&e&&_(0,"span",13)}function nX(e,n){1&e&&_(0,"span",14)}function iX(e,n){if(1&e&&(Gn(0),_(1,"span",15),Kn()),2&e){const t=I();b(),M("innerHTML",t.instance.content,wi)}}function rX(e,n){if(1&e){const t=Ze();h(0,"nz-message",2),z("destroyed",function(r){return B(t),Y(I().remove(r.id,r.userAction))}),p()}2&e&&M("instance",n.$implicit)}let oX=0;class sX{constructor(n,t,i){this.nzSingletonService=n,this.overlay=t,this.injector=i}remove(n){this.container&&(n?this.container.remove(n):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${oX++}`}withContainer(n){let t=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(t)return t;const i=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),r=new Cu(n,null,this.injector),o=i.attach(r);return i.hostElement.style.zIndex="1010",t||(this.container=t=o.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,t),this.container.afterAllInstancesRemoved.subscribe(()=>{this.container=void 0,this.nzSingletonService.unregisterSingletonWithKey(this.componentPrefix),i.dispose()})),t}}let aX=(()=>{class e{constructor(t,i){this.cdr=t,this.nzConfigService=i,this.instances=[],this._afterAllInstancesRemoved=new N,this.afterAllInstancesRemoved=this._afterAllInstancesRemoved.asObservable(),this.destroy$=new N,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(t){const i=this.onCreate(t);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,i],this.readyInstances(),i}remove(t,i=!1){this.instances.map((r,o)=>({index:o,instance:r})).filter(({instance:r})=>r.messageId===t).forEach(({index:r,instance:o})=>{this.instances.splice(r,1),this.instances=[...this.instances],this.onRemove(o,i),this.readyInstances()}),this.instances.length||this.onAllInstancesRemoved()}removeAll(){this.instances.forEach(t=>this.onRemove(t,!1)),this.instances=[],this.readyInstances(),this.onAllInstancesRemoved()}onCreate(t){return t.options=this.mergeOptions(t.options),t.onClose=new N,t}onRemove(t,i){t.onClose.next(i),t.onClose.complete()}onAllInstancesRemoved(){this._afterAllInstancesRemoved.next(),this._afterAllInstancesRemoved.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(t){const{nzDuration:i,nzAnimate:r,nzPauseOnHover:o}=this.config;return{nzDuration:i,nzAnimate:r,nzPauseOnHover:o,...t}}static{this.\u0275fac=function(i){return new(i||e)(w(Qt),w(ho))}}static{this.\u0275dir=H({type:e})}}return e})(),lX=(()=>{class e{constructor(t){this.cdr=t,this.destroyed=new U,this.animationStateChanged=new N,this.userAction=!1}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe(mt(t=>"done"===t.phaseName&&"leave"===t.toState),pn(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(t=!1){this.userAction=t,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:t})},200)):this.destroyed.next({id:this.instance.messageId,userAction:t})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=void 0)}static{this.\u0275fac=function(i){return new(i||e)(w(Qt))}}static{this.\u0275dir=H({type:e})}}return e})(),cX=(()=>{class e extends lX{constructor(t){super(t),this.destroyed=new U}static{this.\u0275fac=function(i){return new(i||e)(w(Qt))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],standalone:!0,features:[de,It],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(i,r){1&i&&(h(0,"div",0),z("@moveUpMotion.done",function(s){return r.animationStateChanged.next(s)})("mouseenter",function(){return r.onEnter()})("mouseleave",function(){return r.onLeave()}),h(1,"div",1)(2,"div",2),Gn(3,3),F(4,XQ,1,0,"span",4)(5,JQ,1,0,"span",5)(6,eX,1,0,"span",6)(7,tX,1,0,"span",7)(8,nX,1,0,"span",8),Kn(),F(9,iX,2,1,"ng-container",9),p()()()),2&i&&(M("@moveUpMotion",r.instance.state),b(2),M("ngClass","ant-message-"+r.instance.type),b(),M("ngSwitch",r.instance.type),b(),M("ngSwitchCase","success"),b(),M("ngSwitchCase","info"),b(),M("ngSwitchCase","warning"),b(),M("ngSwitchCase","error"),b(),M("ngSwitchCase","loading"),b(),M("nzStr
1ingTemplateOutlet",r.instance.content))},dependencies:[da,A2,H_,Jc,Ba,ja,Ya],encapsulation:2,data:{animation:[qQ]},changeDetection:0})}}return e})();const Zu="message",uX={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let dX=(()=>{class e extends aX{constructor(t,i){super(t,i),this.dir="ltr";const r=this.nzConfigService.getConfigForComponent(Zu);this.dir=r?.nzDirection||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(Zu).pipe(rt(this.destroy$)).subscribe(()=>{this.updateConfig();const t=this.nzConfigService.getConfigForComponent(Zu);if(t){const{nzDirection:i}=t;this.dir=i||this.dir}})}updateConfig(){this.config={...uX,...this.config,...this.nzConfigService.getConfigForComponent(Zu)},this.top=function PS(e){return Tt(e)}(this.config.nzTop),this.cdr.markForCheck()}static{this.\u0275fac=function(i){return new(i||e)(w(Qt),w(ho))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],standalone:!0,features:[de,It],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"destroyed","instance"]],template:function(i,r){1&i&&(h(0,"div",0),F(1,rX,1,1,"nz-message",1),p()),2&i&&(Si("top",r.top),Zt("ant-message-rtl","rtl"===r.dir),b(),M("ngForOf",r.instances))},dependencies:[cX,gc],encapsulation:2,changeDetection:0})}}return e})(),IM=(()=>{class e extends sX{constructor(t,i,r){super(t,i,r),this.componentPrefix="message-"}success(t,i){return this.createInstance({type:"success",content:t},i)}error(t,i){return this.createInstance({type:"error",content:t},i)}info(t,i){return this.createInstance({type:"info",content:t},i)}warning(t,i){return this.createInstance({type:"warning",content:t},i)}loading(t,i){return this.createInstance({type:"loading",content:t},i)}create(t,i,r){return this.createInstance({type:t,content:i},r)}createInstance(t,i){return this.container=this.withContainer(dX),this.container.create({...t,createdAt:new Date,messageId:this.getInstanceId(),options:i})}static{this.\u0275fac=function(i){return new(i||e)(x(ZQ),x(Mu),x(_t))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),AM=(()=>{class e{constructor(t,i){this.core=new $Q(t,i,"https://api.humandataincome.com/api/v2/core/")}static{this.\u0275fac=function(i){return new(i||e)(x(Gi),x(IM))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class hX{}let fX=(()=>{class e{constructor(t,i,r){this.nzMessage=t,this.api=i,this.http=r,this.data=new hX}getPrices(){var t=this;return dt(function*(){try{return zM(t.http.get("https://api.humandataincome.com/api/v2/core/billing/prices").pipe(kM(i=>{t.data={...t.data,pricesData:i}})))}catch(i){throw console.error("Error fetching prices:",i),i}})()}static{this.\u0275fac=function(i){return new(i||e)(x(IM),x(AM),x(Gi))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const PM=["carousel"],pX=(e,n)=>({"border-bottom-left-radius":e,"border-bottom-right-radius":n});function mX(e,n){1&e&&(h(0,"span",134),f(1,"START FREE TRIAL"),p())}function gX(e,n){1&e&&(h(0,"span",135)(1,"span",136),f(2,"Upgrade Now for True Data Freedom"),p()())}function vX(e,n){if(1&e&&(h(0,"div",137),_(1,"img",138),h(2,"p",139),f(3),p()()),2&e){const t=n.$implicit;b(),M("src",t.logo,Gt),b(2),Dt(t.text)}}function yX(e,n){if(1&e&&(h(0,"span",140),f(1),p()),2&e){const t=I();b(),pe("",t.price.price/100,"$")}}function _X(e,n){if(1&e&&(h(0,"div",137),_(1,"img",138),h(2,"p",139),f(3),p()()),2&e){const t=n.$implicit;b(),M("src",t.logo,Gt),b(2),Dt(t.text)}}function wX(e,n){if(1&e&&(h(0,"div",146),_(1,"p",147),p()),2&e){const t=I(),i=t.$implicit,r=t.index,o=I();M("ngStyle",o2(2,pX,r+1==o.faqItems.length?"30px":"",r+1==o.faqItems.length?"30px":"")),b(),M("innerHTML",i.answer,wi)}}function bX(e,n){if(1&e){const t=Ze();h(0,"div")(1,"div")(2,"div",141),z("click",function(){const r=B(t).$implicit;return Y(r.open=!r.open)}),h(3,"div",142)(4,"h5",143),f(5),p()(),h(6,"span",144),f(7),p()(),F(8,wX,2,5,"div",145),p()()}if(2&e){const t=n.$implicit,i=n.index,r=I();b(),Zt("faq-border",i<r.faqItems.length-1),b(4),Dt(t.question),b(2),pe(" ",t.open?"expand_less":"expand_more"," "),b(),M("ngIf",t.open)}}function CX(e,n){1&e&&(h(0,"span",148),f(1,"START FREE TRIAL"),p())}function SX(e,n){if(1&e&&(h(0,"span",149),_(1,"img",138),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function DX(e,n){1&e&&(h(0,"span",148),f(1,"START FREE TRIAL"),p())}function MX(e,n){if(1&e&&(h(0,"span",149),_(1,"img",138),h(2,"span"),f(3),p()()),2&e){const t=I();b(),M("src","./assets/landing-datamask/browsers/"+t.browser+".svg",Gt),b(2),pe("Add to ",t.capitalizeFirstLetter(t.browser)," - It's free")}}function xX(e,n){if(1&e&&(h(0,"a",150)(1,"span"),f(2),p()()),2&e){const t=n.$implicit;l8("font-light text-[#FAFAFA] text-[14px] md:text-[17.5px] hover:font-normal ","Privacy policy"===t.text?"text-left w-32":"text-right w-20"," ","terms"===t.text?"!text-center":"","  whitespace-nowrap"),M("href",t.link,Gt),b(2),Dt(t.text)}}
1function TX(e,n){1&e&&(h(0,"div",176)(1,"p",115),f(2," These cookies are required to use DataMask Products. They're necessary for these sites to work as intended. "),p()())}function EX(e,n){if(1&e){const t=Ze();h(0,"div",177)(1,"p",115),f(2," We use tools from other companies for advertising and measurement services off DataMask Products, for analytics and to provide certain features and improve our services for you. These companies also use cookies. "),p(),h(3,"p")(4,"a",178),z("click",function(){return B(t),Y(I(2).goToCookiePolicies())}),f(5," More information "),p()()()}}function kX(e,n){if(1&e){const t=Ze();h(0,"section",151)(1,"div",152)(2,"div",153)(3,"h2",154),f(4," Allow the use of cookies? "),p(),h(5,"p",155),f(6," We use cookies and similar technologies to help: "),p(),h(7,"div",156)(8,"div",157),Ke(),h(9,"svg",158),_(10,"path",159),p(),$t(),h(11,"div",160)(12,"p",161),f(13," Provide and improve content on DataMask Products "),p()()(),h(14,"div",157),Ke(),h(15,"svg",158),_(16,"path",162),p(),$t(),h(17,"div",160)(18,"p",161),f(19," Provide a safer experience by using information that we receive from cookies on and off Datamask "),p()()(),h(20,"div",157),Ke(),h(21,"svg",158),_(22,"path",163),p(),$t(),h(23,"div",160)(24,"p",161),f(25," Provide and improve DataMask Products for people who have an account "),p()()()(),h(26,"p",164),f(27," For analytics and to provide certain features and improve our services for you, we use tools from other companies on Datamask. "),p(),h(28,"p",164),f(29," You can allow the use of all cookies, just essential cookies or you can choose more options below. You can learn more about cookies and how we use them, and review or change your choice at any time in our "),h(30,"a",116),z("click",function(){return B(t),Y(I().goToCookiePolicies())}),f(31,"Cookies Policy"),p(),f(32,". "),p(),h(33,"div",165)(34,"div",166)(35,"div",167),z("click",function(){return B(t),Y(I().toggleEssentialCookieCollapse())}),f(36," Essential cookies "),Ke(),h(37,"svg",168),_(38,"path",169),p()(),F(39,TX,3,0,"div",170),p(),$t(),h(40,"div",166)(41,"div",171),z("click",function(){return B(t),Y(I().toggleOptionalCookieCollapse())}),f(42," Optional cookies "),Ke(),h(43,"svg",168),_(44,"path",169),p()(),F(45,EX,6,0,"div",172),p()()(),$t(),h(46,"div",173)(47,"a",174),z("click",function(){return B(t),Y(I().onHideCookiebannerRefuse())}),f(48," Only essentials "),p(),h(49,"a",175),z("click",function(){return B(t),Y(I().onHideCookiebanner())}),f(50," Allow all "),p()()()()}if(2&e){const t=I();b(39),M("ngIf",t.showEssentialCookieCollapse),b(6),M("ngIf",t.showOptionalCookieCollapse)}}const zX=Pr(512);function OM(){let e=null;return navigator.userAgent.match(/edg/i)?e="edge":navigator.userAgent.match(/chrome|chromium|crios/i)&&!navigator.brave?.isBrave?.()?e="chrome":navigator.userAgent.match(/firefox|fxios/i)&&!navigator.brave?.isBrave?.()?e="firefox":navigator.userAgent.match(/safari/i)&&!navigator.brave?.isBrave?.()?e="safari":navigator.userAgent.match(/opr\//i)?e="opera":navigator.brave?.isBrave?.()&&(e="brave"),e}let IX=(()=>{class e{constructor(t,i,r,o,s,a){this.analyticsService=t,this.route=i,this.modalService=r,this.helpersService=o,this.coreAPIService=s,this.router=a,this.ModalName=zi,this.AnalyticsEventCategories=re,this.hideCookieBanner=!1,this.showCookiesOption=!1,this.showEssentialCookieCollapse=!1,this.showOptionalCookieCollapse=!1,this.campaign=re.DIRECT,this.clickid="",this.faqItems=[{question:"What is Datamask?",answer:"Datamask is a data wallet app designed to safeguard your passwords and personal data from cyber threats and data breaches. It securely encrypts and stores your information directly on your device, ensuring complete control and reducing the risk of theft.",open:!1},{question:"How does Datamask protect my passwords from hackers? ",answer:" Datamask protects your data using advanced encryption technologies and secure local storage on your device. It leverages the power of IPDW (InterPlanetary Data Wallet) for storing personal user data within a safe and distributed storage network, enhancing security and privacy.",open:!1},{question:"Is Datamask available on all devices?  ",answer:"Datamask is available as a Mobile Application for iOS and as a Browser Extension for Safari, Firefox & all Chromium-based Browser",open:!1},{question:"Can I access my passwords offline with Datamask?    ",answer:"Yes, Datamask stores your data directly on your device, which allows you to access your passwords and other personal information offline, ensuring your data is always available when you need it.",open:!1},{question:"How do I import existing passwords into Datamask?",answer:'To 
1import your existing passwords into Datamask, simply click on the "Add Data" icons within the app. From there, you can select which password managers you`d like to import your passwords from.',open:!1},{question:"What is Datamask Diamond?    ",answer:"Datamask Diamond is the premium tier of the Datamask app, offering advanced features beyond the basic version. It includes exclusive access to a Private AI Assistant, enhanced data types like health records and private notes, and the ability to connect to specialized apps.",open:!1}],this.footerSocialLinks=[{icon:"twitter",link:"https://twitter.com/humandataincome"},{icon:"telegram",link:"https://t.me/hudicommunity"},{icon:"discord",link:"https://discord.gg/jqNu734AaH"},{icon:"instagram",link:"https://www.instagram.com/humandataincome/"},{icon:"facebook",link:"https://www.facebook.com/humandataincome"},{icon:"medium",link:"https://medium.com/humandataincome"},{icon:"reddit",link:"https://www.reddit.com/r/hudi/"}],this.footerLinks=[{text:"Privacy policy",link:"/privacy-policy"},{text:"Terms",link:"/tos"},{text:"Cookie",link:"/cookie-policy"}],this.footerEcosystem=[{text:"Hudi Website",link:"https://humandataincome.com/"},{text:"dApp",link:"https://dapp.humandataincome.com/wallet/overview"},{text:"Human ID",link:"https://humandataincome.com/human-id"}],this.diamondPerks=[{text:"Logins & Passwords",logo:"./assets/landing-datamask/v.svg"},{text:"Identity data",logo:"./assets/landing-datamask/v.svg"},{text:"Payments data",logo:"./assets/landing-datamask/v.svg"},{text:"Health records",logo:"./assets/landing-datamask/v.svg"},{text:"Certificates",logo:"./assets/landing-datamask/v.svg"},{text:"Data Apps support",logo:"./assets/landing-datamask/v.svg"},{text:"Private Notes",logo:"./assets/landing-datamask/v.svg"},{text:"Personal AI Assistant",logo:"./assets/landing-datamask/x.svg"},{text:"Unlock Storage provider",logo:"./assets/landing-datamask/x.svg"},{text:"Full Experience without Limitations",logo:"./assets/landing-datamask/x.svg"},{text:"Exclusive Data Apps access",logo:"./assets/landing-datamask/x.svg"}],this.diamond=[{text:"Logins & Passwords",logo:"./assets/landing-datamask/v-white.svg"},{text:"Identity data",logo:"./assets/landing-datamask/v-white.svg"},{text:"Payments data",logo:"./assets/landing-datamask/v-white.svg"},{text:"Health records",logo:"./assets/landing-datamask/v-white.svg"},{text:"Certificates",logo:"./assets/landing-datamask/v-white.svg"},{text:"Data Apps support",logo:"./assets/landing-datamask/v-white.svg"},{text:"Private Notes",logo:"./assets/landing-datamask/v-white.svg"},{text:"Personal AI Assistant",logo:"./assets/landing-datamask/v-white.svg"},{text:"Unlock Storage provider",logo:"./assets/landing-datamask/v-white.svg"},{text:"Full Experience without Limitations",logo:"./assets/landing-datamask/v-white.svg"},{text:"Exclusive Data Apps access",logo:"./assets/landing-datamask/v-white.svg"}],this.newsLetterFormGroup=new $o({first_name:new lo(null,ao.required),email:new lo(null,[ao.required,ao.email])}),this.selectedTrial="monthly",this.route.queryParams.subscribe(l=>{this.campaign={trial:re.TRIAL,download:re.DIRECT,slice:re.SLICE,brave:re.BRAVE,"paid-push":re.PAID_PUSH,"x-metamask":re.X_METAMASK,"x-brave":re.X_BRAVE,"x-trustwallet":re.X_TRUSTWALLET}[l.utm_campaign??"download"]||re.DIRECT,this.clickid=l.clickid||"",this.analyticsService.pushEvent(this.campaign,jt.VISITED,Ut.WEBSITE,0).then().catch(),zX.set?.("dm_campaign",this.campaign)})}ngOnInit(){this.browser=OM(),"true"===localStorage.getItem("cookie-permission")&&(this.hideCookieBanner=!0),this.coreAPIService.getPrices().then(t=>{t&&(this.price=this.coreAPIService.data.pricesData.items[0].prices.find(i=>"month"===i.period))})}goHome(){this.router.navigate(["/"])}formatCurrency(t){return(Number(t)/100).toFixed(2)+"$"}selectTrial(t){this.selectedTrial=t,"yearly"===t&&(this.price=this.coreAPIService.data.pricesData.items[0].prices.find(i=>"year"===i.period)),"monthly"===t&&(this.price=this.coreAPIService.data.pricesData.items[0].prices.find(i=>"month"===i.period))}capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1)}goToTwitter(){window.open("https://twitter.com/humandataincome","blank")}goToSubscribeCard(){window.open("https://web.datamask.app/diamond/subscribe?trial="+this.selectedTrial,"_blank")}goToHudiProtocol(){window.open("https://docs.humandataincome.com/","_blank")}goOnRedeem(){window.open("https://web.datamask.app/diamond/subscribe?redeem=true&trial="+this.selectedTrial,"_blank")}goToIPDW(){window.open("https://ipdw.tech/","_blank")}ngAfterViewInit(){const t=document.querySelector(".grid-container");setInterval(function r(){const o=document.createElement("div");o.classList.add("drop");const s=50*Math.floor(Math.random()*(t.clientWidth/50)),a=50*Math.floor(Math.random()*(t.clientHeight/50));o.style.left=`${s}px`,o.style.top=`${a}px`,t.appendChild(o),o.addEventListener("animationend",()=>{o.remove()})},300)}openDataMaskLink(){if(this.campaign===re.DIRECT||this.campaign===re.TRIAL)try{window.gtag("event","conversion",{send_to:this.campaign===re.DIRECT?"AW-10979011796/JMr0CJmYkdsDENTZmfMo":"AW-10979011796/WftQCK-VueUYENTZmfMo"})}catch(t){console.error(t)}try{window.twq("event","tw-ojdi4-ojg27",{})}catch{}switch(this.campaign){case re.TRIAL:window.open("https://web.datamask.app/diamond/subscribe");break;case re.PAID_PUSH:this.analyticsService.pushEvent(this.campaign,jt.GO2STORE,Ut.REDIRECT).then().catch(),fetch(`https://mtc.a65seftrk.site/postback?cid=${this.clickid}`).then(),this.openDownload();break;default:this.analyticsService.pushEvent(this.campaign,jt.GO2STORE,Ut.REDIRECT).then().catch(),this.openDownload()}}openDownload(){switch(OM()){case"chrome":case"edge":case"brave":window.open("https://chromewebstore.google.com/detail/datamask/fnpipcojmcnkacpopfaomgplijfckdkm","_blank")?.focus();break;case"firefox":window.open("https://addons.mozilla.org/it/firefox/addon/datamask/","_blank")?.focus();break;case"safari":window.open("https://apps.apple.com/it/app/hudi-datamask/id1658381792","_blank")?.focus()}}onHideCookiebanner(){(null===localStorage.getItem("cookie-permission")||"false"===localStorage.getItem("cookie-permission"))&&(localStorage.setItem("cookie-permission","true"),this.hideCookieBanner=!0,this.showCookiesOption=!1)}onHideCookiebannerRefuse(){(null===localStorage.getItem("cookie-permission")||"false"===localStorage.getItem("cookie-permission"))&&(localStorage.setItem("cookie-permission","false"),this.hideCookieBanner=!0,this.showCookiesOption=!1)}goToHudiLanding(){window.open("https://humandataincome.com/","_blank")}onShowCookieOption(){this.showCookiesOption=!0}toggleEssentialCookieCollapse(){this.showEssentialCookieCollapse=!this.showEssentialCookieCollapse}toggleOptionalCookieCollapse(){this.showOptionalCookieCollapse=!this.showOptionalCookieCollapse}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goToCookiePolicies(){window.open("/cookie-policy","_blank")}goToHome(){window.open("/")}get screenWidth(){return window.innerWidth}startOnBoard(t){this.analyticsService.pushEvent(this.campaign,jt.CLICK_DOWNLOAD,Ut.CLICK).then().catch();try{t&&window.twq("event","tw-ojdi4-ojtav",{})}catch{}this.modalService.show(zi.SUBSCRIBE_NEWSLETTER)}submit(){var t=this;return dt(function*(){const i=t.newsLetterFormGroup.getRawValue();yield t.helpersService.onSendRequest(i);try{window.twq("event","tw-ojdi4-oju8y",{})}catch{}t.analyticsService.pushEvent(t.campaign,jt.LEAD,Ut.SUBMIT).then().catch(),t.openDataMaskLink(),t.modalService.hide(zi.SUBSCRIBE_NEWSLETTER)})()}downloadNow(){var t=this;return dt(function*(){t.analyticsService.pushEvent(t.campaign,jt.NO_LEAD,Ut.CLICK).then().catch(),t.openDataMaskLink(),t.modalService.hide(zi.SUBSCRIBE_NEWSLETTER)})()}goToSubscribe(){window.open("https://web.datamask.app/diamond/subscribe","_blank")}static{this.\u0275fac=function(i){return new(i||e)(w(Hc),w(Mr),w(ou),w(aS),w(fX
vendor: 5,137 bytes, line 1
1),w(xt))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-diamond"]],viewQuery:function(i,r){if(1&i&&(vr(PM,5),vr(PM,5)),2&i){let o;Pn(o=On())&&(r.carousel=o.first),Pn(o=On())&&(r.carouselContainer=o.first)}},decls:228,vars:25,consts:[[1,"blur-diamond","bg-transparent","z-50","!overflow-hidden","-mt-1"],[1,"w-full","px-0","lg:px-16","lg:flex","lg:justify-center","!text-[#FFFFFF]","-mt-1","z-0","!overflow-hidden","relative"],[1,"w-full","lg:max-w-[1312px]","!overflow-hidden"],[1,"grid-container","!overflow-hidden"],[1,"grid-s","!overflow-hidden"],[1,"w-full","flex","flex-col","items-center","justify-center","lg:justify-between","gap-x-0","lg:gap-x-3","!overflow-hidden","pr-o","lg:pr-6","bg-transparent"],[1,"content","w-full","flex","flex-col","items-center","text-center","px-4","lg:px-0"],[1,"text-[40px]","lg:text-[64px]","font-extrabold","pb-2","font_montserrat","lg:w-[85%]","!text-[#FFFFFF]","mt-8",2,"line-height","105% !important"],[1,"text-[24px]","leading-tight","font_questrial","pb-12","!text-[#FFFFFF]"],[1,"btn-diamond","z-50",3,"click"],["class","font_montserrat",4,"ngIf"],["class","font_montserrat !flex !flex-row !items-center !space-x-2",4,"ngIf"],[1,"relative","pt-0","lg:pt-10","px-0","mt-6","lg:px-[62px]","!w-full","lg:w-[100%]","flex","items-center","justify-center","multiple-backgrounds","overflow-visible","h-[400px]"],[1,"lg:pt-[80px]","px-4","lg:px-16","lg:flex","lg:justify-center","pb-2","font_montserrat"],[1,"lg:w-full","lg:max-w-[1312px]"],[1,"flex","flex-col","items-center","text-center","space-y-6","text-white","mb-10"],[1,"font-extrabold","text-[40px]","lg:text-5xl","text-white",2,"line-height","105% !important"],[1,"flex","flex-col","lg:flex-row","space-x-0","lg:space-x-4","space-y-6","lg:space-y-0","!text-white","w-full"],[1,"rounded-3xl","p-4","bg-[#37D0A2]","h-[216px]","flex","items-center","justify-center","flex-col","w-full"],["src","./assets/landing-datamask/storage.svg","alt","",1,"mb-2"],[1,"mb-4","text-2xl","font-bold","text-white"],[1,"font-medium","text-base"],["src","./assets/landing-datamask/encrypted.svg","alt","",1,"mb-2"],["src","./assets/landing-datamask/network_node.svg","alt","",1,"mb-2"],[1,"lg:pt-[80px]","pt-[40px]","px-4","lg:px-16","lg:flex","lg:justify-center","pb-2","font_montserrat","-mt-1","z-0"],[1,"flex","flex-col","items-center","text-center","space-y-0","lg:space-y-6","mb-10"],[1,"font-extrabold","text-5xl","pb-8","lg:pb-[100px]","!text-[#FFFFFF]",2,"line-height","105% !important"],[1,"flex","flex-col-reverse","lg:flex-row","items-center","justify-center","lg:space-x-[80px]","pb-20"],[1,"relative","bg-[#F8F8F8]","rounded-[32px]","pt-10","px-[19px]","lg:px-[62px]","mt-4","lg:mt-0",2,"background","rgba(255, 255, 255, 0.30)"],["src","./assets/ai.svg","alt","","data-aos","fade-in","data-aos-delay","200","data-aos-duration","500",1,"z-20","relative"],[1,"flex","flex-col","w-full","lg:w-[50%]","px-0","lg:px-[40px]","justify-start","lg:justify-start","items-start"],[1,"flex","flex-col","items-start","justify-start","lg:justify-center"],[1,"font-bold","text-[32px]","lg:text-[40px]","!text-[#FFFFFF]","text-start",2,"line-height","105%"],[1,"text-lg","lg:text-2xl","font-bold","mt-6","text-start"],[1,"text-[18px]","text-start","font-normal","!text-[#FFFFFF]","mt-2","mb-[30px]",2,"line-height","105%"],[1,"flex","flex-col","space-y-4","lg:space-y-4","w-full","justify-start","items-start","pb-[30px]"],[1,"flex","flex-col","space-y-[10px]","justify-start"],[1,"flex","flex-row","items-center","space-x-2","justify-start"],["src","./assets/analytics.svg","alt",""],[1,"text-[#37D0A2]","text-[16px]","font-bold","text-start",2,"line-height","105%"],[1,"flex","flex-col","space-y-[10px]"],[1,"flex","flex-row","items-center","space-x-2"],["src","./assets/lab_profile.svg","alt",""],["src","./assets/automation.svg","alt",""],[1,"btn-green",3,"click"],[1,"flex","flex-col","lg:flex-row","items-center","justify-center","space-y-12","lg:space-y-0","lg:space-x-[80px]","pb-0","lg:pb-20"],[1,"flex","flex-col","space-y-4","w-full","lg:w-[50%]","px-0","lg:px-[40px]","justify-start","items-start"],[1,"flex","flex-col","items-start","justify-center","lg:justify-start"],[1,"text-[18px]","text-start","font-normal","!text-[#FFFFFF]",2,"line-height","105%"],[1,"flex","flex-col","lg:flex-row","space-x-0","lg:space-x-2","pt-[30px]","space-y-4","lg:space-y-0","w-full","justify-start","items-start","lg:justify-center","lg:items-center","pb-[30px]"],[1,"relative","bg-[#F8F8F8]","rounded-[32px]","!lg:py-[54px]","lg:px-[40px]","px-4","py-6","mt-4","lg:mt-0",2,"background","rgba(255, 255, 255, 0.30)"],["src","./assets/storage.svg","alt","","data-aos","fade-in","data-aos-delay","400","data-aos-duration","500",1,"z-20","relative"],["id","pricing",1,"font_montserrat","pt-[50px]","lg:pt-[100px]","pb-[20px]","lg:pb-[100px]","px-4","lg:px-16","flex","justify-center","text-white","bg-[#070707]","-mt-1","green-blur"],[1,"flex","flex-col","items-center"],[1,"font-extrabold","text-[40px]","lg:text-5xl","!text-center","mb-10","w-full","lg:w-[60%]","text-white",2,"line-height","105%"],[1,"flex","flex-col","lg:flex-row","lg:space-x-8","space-x-0","
1space-y-8","lg:space-y-0","items-center","justify-center"],[1,"flex","flex-col","items-center","justify-center","space-y-6","bg-white","rounded-[24px]","py-[40px]","px-4","lg:px-[24px]","h-[790px]","w-full","md:w-[435px]"],["src","./assets/dm-basic.svg","alt","",1,""],[1,"text-[32px]","font-bold","text-[#16161D]"],[1,"font-medium","text-[#151515]"],[1,"w-full","h-0.5","bg-[#EAEAEA]"],[1,"flex","flex-col","items-start","lg:items-center","justify-start","lg:justify-center","w-full","pb-10"],[1,"flex","flex-col","items-start","space-y-2"],["class","flex flex-row items-center space-x-4",4,"ngFor","ngForOf"],[1,"btn","w-full",3,"click"],[1,"flex","flex-col","items-center","justify-evenly","align-middle","rounded-[24px]","py-[20px]","px-4","lg:px-[24px]","h-[790px]","w-full","md:w-[435px]",2,"background","var(--gradient, linear-gradient(127deg, #55F29E 0%, #37D0A2 71.59%))"],["src","./assets/landing-datamask/dm-diamond.svg","alt","",1,"pb-4"],[1,"rounded-[100px]","border","p-1","flex","flex-row","border-[#FFFFFF]"],[3,"click"],["class","text-[28px] text-[#16161D] font-bold -mb-2 -mt-2",4,"ngIf"],[1,"text-[16px]","text-white",3,"innerHTML"],[1,"flex","flex-col","items-start","lg:items-center","justify-start","lg:justify-center","w-full","pt-4","pb-4"],[1,"text-[#F5F6FF]","text-center",3,"click"],[1,"cursor-pointer"],["id","faq",1,"px-4","lg:py-[120px]","py-[80px]","lg:px-16","lg:flex","lg:justify-center","text-white","bg-[#070707]","font_montserrat","-mt-1"],[1,"lg:w-full","flex","flex-col","items-center","lg:flex-row","lg:max-w-[1312px]"],[1,"flex","flex-col","items-start","w-full","lg:w-[50%]"],[1,"lg:text-[56px]","text-[32px]","font-extrabold","lg:mb-6","mb-8","text-white",2,"line-height","105%"],[1,"hidden","lg:block"],[1,"hidden","lg:block","text-[30px]","w-[80%]",2,"line-height","105%"],[1,"w-full","lg:w-[50%]"],[4,"ngFor","ngForOf"],[1,"w-full","px-12","md:px-16","md:flex","md:justify-center","pb-[54px]","bg-[#070707]","z-50","relative","font_montserrat"],[1,"w-full","max-w-[1312px]","pt-[100px]"],[1,"w-full","flex","lg:flex-row","flex-col","justify-between","items-start","pb-0","lg:pb-10"],[1,"w-full","flex","flex-col","gap-x-0","lg:gap-x-[119px]","gap-y-2","mb-6","lg:mb-0","lg:gap-0","items-center","justify-center","lg:items-start","lg:justify-start"],["src","./assets/landing-datamask/full-logo.svg","alt","",1,"cursor-pointer","h-[53px]",3,"click"],[1,"text-lg","lg:text-2xl","font-light","text-white","mt-6","text-center","lg:text-start"],[1,"flex","flex-row","items-center","space-x-2","mt-10","cursor-pointer",3,"click"],["src","./assets/landing-datamask/social-icons/twitter.svg","alt",""],[1,"text-sm","font-bold","text-white"],[1,"flex","lg:hidden","flex-col","items-center","justify-center","space-y-6","w-full","mt-6","lg:mt-0"],[1,"!w-full","lg:w-auto","lg:flex","btn-footer-outline","flex-row","items-center","justify-center","rounded-full","px-8",3,"click"],["class","font-[900] font_montserrat",4,"ngIf"],["class","font-[900] font_montserrat !flex !flex-row !items-center justify-center !space-x-2",4,"ngIf"],[1,"hidden","lg:flex","flex-col","items-center","justify-center","space-y-6","w-[35%]"],[1,"text-center","text-[14px]","font-light","text-white"],[1,"flex","flex-row","items-center","cursor-pointer","justify-center","w-full",3,"click"],[1,"text-[16px]","font-light","text-[#FAFAFA]","mr-0","lg:mr-2"],["src","./assets/small-hudi-logo.svg","alt","",1,"h-6"],[1,"flex","lg:hidden","flex-row","items-center","cursor-pointer","justify-center","w-full",3,"click"],[1,"text-[10px]","font-light","text-[#FAFAFA]","mr-0","lg:mr-2"],["src","./assets/small-hudi-logo.svg","alt","",1,""],[1,"w-full","h-[1px]","!bg-[#FFFFFF80]","z-40","my-6"],[1,"w-full","lg:w-[35%]","flex","flex-col","lg:flex-row","justify-center","mx-auto"],[1,"w-full","flex","flex-row","items-center","justify-between"],["target","_blank",3,"class","href",4,"ngFor","ngForOf"],["id","cookies-with-stacked-buttons"],[1,"p-4","bg-white/[.6]","backdrop-blur-lg","rounded-xl","shadow-2xl"],[1,"flex","justify-between","items-center","gap-x-5","sm:gap-x-10"],[1,"font-semibold","text-gray-800"],["type","button","data-hs-remove-element","#cookies-with-stacked-buttons",1,"inline-flex","rounded-full","p-2","text-gray-500","hover:bg-gray-200","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-gray-50","focus:ring-gray-600",3,"click"],[1,"sr-only"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg","aria-hidden","true",1,"h-3","w-3"],["d","M0.92524 0.687069C1.126 0.486219 1.39823 0.373377 1.68209 0.373377C1.96597 0.373377 2.2382 0.486219 2.43894 0.687069L8.10514 6.35813L13.7714 0.687069C13.8701 0.584748 13.9882 0.503105 14.1188 0.446962C14.2494 0.39082 14.3899 0.361248 14.5321 0.360026C14.6742 0.358783 14.8151 0.38589 14.9468 0.439762C15.0782 0.493633 15.1977 0.573197 15.2983 0.673783C15.3987 0.774389 15.4784 0.894026 15.5321 1.02568C15.5859 1.15736 15.6131 1.29845 15.6118 1.44071C15.6105 1.58297 15.5809 1.72357 15.5248 1.85428C15.4688 1.98499 15.3872 2.10324 15.2851 2.20206L9.61883 7.87312L15.2851 13.5441C15.4801 13.7462 15.588 14.0168 15.5854 14.2977C15.5831 14.5787 15.4705 14.8474 15.272 15.046C15.0735 15.2449 14.805 15.3574 14.5244 15.3599C14.2437 15.3623 13.9733 15.2543 13.7714 15.0591L8.10514 9.38812L2.43894 15.0591C2.23704 15.2543 1.96663 15.3623 1.68594 15.3599C1.40526 15.3574 1.13677 15.2449 0.938279 15.046C0.739807 14.8474 0.627232 14.5787 0.624791 14.2977C0.62235 14.0168 0.730236 13.7462 0.92524 13.5441L6.59144 7.87312L0.92524 2.20206C0.724562 2.00115 0.611816 1.72867 0.611816 1.44457C0.611816 1.16047 0.724562 0.887983 0.92524 0.687069Z","fill","currentColor"],[1,"mt-2","text-sm","text-gray-800"],[1,"inline-flex","items-center","gap-x-1.5","text-[#242424E5]","decoration-2","hover:underline","font-medium",3,"click"],[1,"mt-5","mb-2","w-full","flex","gap-x-2"],[1,"grid","w-full"],["type","button",1,"py-2","px-3","inline-flex","justify-center","items-center","gap-2","rounded-md","border","border-transparent","font-semibold","bg-[#242424E5]","text-white","hover:bg-[#242424E5]","focus:outline-none","focus:ring-2","focus:ring-[#242424E5]","focus:ring-offset-2","transition-all","text-sm",3,"click"],["type","button",1,"py-2","px-3","inline-flex","justify-center","items-center","gap-2","rounded-md","border","font-medium","bg-white","text-gray-700","shadow-sm","align-middle","hover:bg-gray-50","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-white","focus:ring-[#242424E5]","transition-all","text-sm",3,"click"],["class","fixed inset-0 z-[60] sm:max-w-lg w-full mx-auto p-6 overflow-y-scroll hide_scrollbar",4,"ngIf"],[3,"modalName"],[1,"flex","flex-col","gap-8","pt-8","p-4","md:pt-10","md:p-10"],[1,"flex","flex-col","items-center","gap-2"],[1,"text-neutral-900","text-center","text-[30px]","md:text-[40px]","font-extrabold","leading-[42px]","font_montserrat"],[1,"w-[367px]","text-center","text-neutral-500","text-base","font-normal","leading-none","font_montserrat"],[1,"flex","flex-col","gap-4",3,"ngSubmit","formGroup"],["formControlName","first_name","label","First Name","placeholder","Inser your name"],["formControlName","email","label","E-mail address","placeholder","Inser your e-mail address"],[1,"flex","flex-col","justify-center","gap-4"],[1,"btn","rounded-full","px-8","py-4",3,"click","disabled"],[1,"text-center","text-base","font-bold","font_montserrat","leading-none"],[1,"text-center","text-neutral-900","text-sm","font-bold","font_montserrat","hover:underline","leading-[14.70px]","cursor-pointer",3,"click"],[1,"font_montserrat"],[1,"font_montserrat","!flex","!flex-row","!items-center","!space-x-2"],[1,"px-16"],[1,"flex","flex-row","items-center","space-x-4"],["alt","",3,"src"],[1,"font-medium","text-black"],[1,"text-[28px]","text-[#16161D]","font-bold","-mb-2","-mt-2"],[1,"flex","justify-between","items-center","lg:px-4","pt-4","pb-3","cursor-pointer",3,"click"],[1,"flex","items-center"],[1,"text-xl","lg:text-2xl","font-bold","text-white"],[1,"font-medium","font-2","flex","items-center","material-symbols-outlined","text-white"],["class","px-4 py-3 text-white",3,"ngStyle",4,"ngIf"],[1,"px-4","py-3","text-white",3,"ngStyle"],[3,"innerHTML"],[1,"font-[900]","font_montserrat"],[1,"font-[900]","font_montserrat","!flex","!flex-row","!items-center","justify-center","!space-x-2"],["target","_blank",3,"href"],[1,"fixed","inset-0","z-[60]","sm:max-w-lg","w-full","mx-auto","p-6","overflow-y-scroll","hide_scrollbar"],[1,"bg-white","rounded-xl","shadow-2xl"],[1,"p-4","md:p-6","overflow-x-hidden","overflow-y-scroll","hide_scrollbar"],[1,"text-lg","sm:text-xl","font-semibold","text-gray-800"],[1,"mt-3","text-sm","text-gray-800"],[1,"mt-4","space-y-5"],[1,"flex","gap-x-5"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"flex-shrink-0","mt-1","w-5","h-5","text-gray-800"],["d","M8 1a2 2 0 0 1 2 2v2H6V3a2 2 0 0 1 2-2zm3 4V3a3 3 0 1 0-6 0v2H3.36a1.5 1.5 0 0 0-1.483 1.277L.85 13.13A2.5 2.5 0 0 0 3.322 16h9.355a2.5 2.5 0 0 0 2.473-2.87l-1.028-6.853A1.5 1.5 0 0 0 12.64 5H11zm-1 1v1.5a.5.5 0 0 0 1 0V6h1.639a.5.5 0 0 1 .494.426l1.028 6.851A1.5 1.5 0 0 1 12.678 
115H3.322a1.5 1.5 0 0 1-1.483-1.723l1.028-6.851A.5.5 0 0 1 3.36 6H5v1.5a.5.5 0 1 0 1 0V6h4z"],[1,"grow"],[1,"text-sm","text-gray-800"],["d","M13 2.5a1.5 1.5 0 0 1 3 0v11a1.5 1.5 0 0 1-3 0v-.214c-2.162-1.241-4.49-1.843-6.912-2.083l.405 2.712A1 1 0 0 1 5.51 15.1h-.548a1 1 0 0 1-.916-.599l-1.85-3.49a68.14 68.14 0 0 0-.202-.003A2.014 2.014 0 0 1 0 9V7a2.02 2.02 0 0 1 1.992-2.013 74.663 74.663 0 0 0 2.483-.075c3.043-.154 6.148-.849 8.525-2.199V2.5zm1 0v11a.5.5 0 0 0 1 0v-11a.5.5 0 0 0-1 0zm-1 1.35c-2.344 1.205-5.209 1.842-8 2.033v4.233c.18.01.359.022.537.036 2.568.189 5.093.744 7.463 1.993V3.85zm-9 6.215v-4.13a95.09 95.09 0 0 1-1.992.052A1.02 1.02 0 0 0 1 7v2c0 .55.448 1.002 1.006 1.009A60.49 60.49 0 0 1 4 10.065zm-.657.975 1.609 3.037.01.024h.548l-.002-.014-.443-2.966a68.019 68.019 0 0 0-1.722-.082z"],["d","M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z"],[1,"mt-4","text-sm","text-gray-800"],[1,"mt-5","divide-y","divide-gray-200"],[1,"py-4","first:pt-0","last:pb-0"],["id","hs-essential-cookie-collapse","data-hs-collapse","#hs-essential-cookie-collapse-heading",1,"hs-collapse-toggle","flex","justify-between","items-center","gap-x-5","font-semibold","text-gray-800","cursor-pointer",3,"click"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",1,"hs-collapse-open:rotate-180","w-3","h-3"],["d","M2 5L8.16086 10.6869C8.35239 10.8637 8.64761 10.8637 8.83914 10.6869L15 5","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["id","hs-essential-cookie-collapse-heading","class","hs-collapse w-full overflow-hidden transition-[height] duration-300","aria-labelledby","hs-essential-cookie-collapse",4,"ngIf"],["id","hs-optional-cookie-collapse","data-hs-collapse","#hs-optional-cookie-collapse-heading",1,"hs-collapse-toggle","flex","justify-between","items-center","gap-x-5","font-semibold","text-gray-800","cursor-pointer",3,"click"],["id","hs-optional-cookie-collapse-heading","class","hs-collapse w-full overflow-hidden transition-[height] duration-300","aria-labelledby","hs-optional-cookie-collapse",4,"ngIf"],[1,"flex","border-t","border-gray-200","divide-x","divide-gray-200"],[1,"cursor-pointer","w-full","py-3","px-4","inline-flex","justify-center","items-center","gap-2","rounded-bl-xl","font-medium","bg-white","text-gray-700","shadow-sm","align-middle","hover:bg-gray-50","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-offset-white","focus:ring-[#242424E5]","transition-all","text-sm","sm:p-4",3,"click"],[1,"cursor-pointer","w-full","py-3","px-4","inline-flex","justify-center","items-center","gap-2","rounded-br-xl","font-medium","text-[#242424E5]","hover:bg-gray-50","focus:outline-none","focus:ring-2","ring-offset-white","focus:ring-[#242424E5]","focus:ring-offset-2","transition-all","text-sm",3,"click"],["id","hs-essential-cookie-collapse-heading","aria-labelledby","hs-essential-cookie-collapse",1,"hs-collapse","w-full","overflow-hidden","transition-[height]","duration-300"],["id","hs-optional-cookie-collapse-heading","aria-labelledby","hs-optional-cookie-collapse",1,"hs-collapse","w-full","overflow-hidden","transition-[height]","duration-300"],[1,"mt-2","inline-flex","items-center","gap-x-1.5","text-sm","text-[#242424E5]","decoration-2","hover:underline","font-medium",3,"click"]],template:function(i,r){1&i&&(_(0,"app-navbar"),h(1,"div",0)(2,"section",1)(3,"div",2)(4,"div",3),_(5,"div",4),p(),h(6,"div",5)(7,"div",6)(8,"h1",7),f(9," Meet the first AI Companion you can Trust to talk directly to All Your Data "),p(),h(10,"h2",8),f(11,"Experience True Data Privacy and Control with DataMask Diamond's Private AI Assistant: Store, Manage, and Interact with Your Data Like Never Before"),p(),h(12,"button",9),z("click",function(){return r.goToSubscribe()}),F(13,mX,2,0,"span",10)(14,gX,3,0,"span",11),p()(),_(15,"div",12),p()()(),h(16,"section",13)(17,"div",14)(18,"div",15)(19,"h2",16),f(20," Why Datamask Diamond? "),p()(),h(21,"div",17)(22,"div",18),_(23,"img",19),h(24,"h5",20),f(25,"Ultimate Privacy"),p(),h(26,"p",21),f(27,"Your data is stored securely and privately, with no third-party access."),p()(),h(28,"div",18),_(29,"img",22),h(30,"h
15",20),f(31,"AI-Powered Insights"),p(),h(32,"p",21),f(33,"Interact with your data like never before, with a private AI assistant."),p()(),h(34,"div",18),_(35,"img",23),h(36,"h5",20),f(37,"All-in-One Solution"),p(),h(38,"p",21),f(39,"Manage everything from passwords to health records in one place."),p()()()()(),h(40,"section",24)(41,"div",14)(42,"div",25)(43,"h2",26),f(44," Unlock Powerful Capabilities "),p(),h(45,"div",27)(46,"div",28),_(47,"img",29),p(),h(48,"div",30)(49,"div",31)(50,"h2",32),f(51," Private AI Companion "),p(),h(52,"h3",33),f(53," How Users Can Interact with Their Data: "),p()(),h(54,"p",34),f(55," With Datamask Diamond, transform how you interact with your data. Easily analyze trends, generate reports, and get answers effortlessly. "),p(),h(56,"div",35)(57,"div",36)(58,"div",37),_(59,"img",38),h(60,"p",39),f(61,"Direct Access to your Data"),p()()(),h(62,"div",40)(63,"div",41),_(64,"img",42),h(65,"p",39),f(66,"Ask Customized Reports"),p()()(),h(67,"div",40)(68,"div",41),_(69,"img",43),h(70,"p",39),f(71,"Talk with no-one listening"),p()()()(),h(72,"button",44),z("click",function(){return r.goToSubscribe()}),f(73,"Get Diamond"),p()()(),h(74,"div",45)(75,"div",46)(76,"div",47)(77,"h2",32),f(78," Decentralised Data Storage & Back-up "),p()(),h(79,"p",48),f(80," Boost your data security and redundancy by connecting Datamask with top decentralized storage providers. "),p(),h(81,"div",49)(82,"div",36)(83,"div",37),_(84,"img",38),h(85,"p",39),f(86,"Integrate with Top Providers"),p()()(),h(87,"div",40)(88,"div",41),_(89,"img",42),h(90,"p",39),f(91,"Automated Backups"),p()()(),h(92,"div",40)(93,"div",41),_(94,"img",43),h(95,"p",39),f(96,"Enhanced Reliability"),p()()()(),h(97,"button",44),z("click",function(){return r.goToSubscribe()}),f(98,"Get Diamond"),p()(),h(99,"div",50),_(100,"img",51),p()()()()()(),h(101,"section",52)(102,"div",14)(103,"div",53)(104,"h1",54),f(105," Choose Your Plan "),p()(),h(106,"div",55)(107,"div",56),_(108,"img",57),h(109,"span",58),f(110,"FREE"),p(),h(111,"span",59),f(112,"Perfect for basic data storage and management."),p(),_(113,"div",60),h(114,"div",61)(115,"div",62),F(116,vX,4,2,"div",63),p()(),h(117,"button",64),z("click",function(){return r.openDownload()}),f(118,"Try Datamask"),p()(),h(119,"div",65),_(120,"img",66),h(121,"div",67)(122,"span",68),z("click",function(){return r.selectTrial("monthly")}),f(123,"monthly"),p(),h(124,"span",68),z("click",function(){return r.selectTrial("yearly")}),f(125,"yearly"),p()(),F(126,yX,2,1,"span",69),_(127,"p",70),h(128,"span",59),f(129,"Unlock advanced features including private AI assistance and exclusive apps."),p(),_(130,"div",60),h(131,"div",71)(132,"div",62),F(133,_X,4,2,"div",63),p()(),h(134,"button",64),z("click",function(){return r.goToSubscribeCard()}),f(135,"Get Diamond"),p(),h(136,"span",72),z("click",function(){return r.goOnRedeem()}),f(137,"Do you have a promotional code? "),h(138,"b",73),f(139,"Redeem it!"),p()()()()()(),h(140,"section",74)(141,"div",75)(142,"div",76)(143,"h1",77),f(144," Frequently "),_(145,"br",78),f(146," Asked "),_(147,"br",78),f(148," Questions "),p(),h(149,"p",79),f(150,"Need help with something? Here are our most frequently asked questions."),p()(),h(151,"div",80),F(152,bX,9,5,"div",81),p()()(),h(153,"footer",82)(154,"div",83)(155,"div",84)(156,"div",85)(157,"img",86),z("click",function(){return r.goHome()}),p(),h(158,"h4",87),f(159,"Take Control of Your Data."),p(),h(160,"div",88),z("click",function(){return r.goToTwitter()}),_(161,"img",89),h(162,"p",90),f(163,"Stay updated!"),p()(),h(164,"div",91)(165,"button",92),z("click",function(){return r.startOnBoard(!0)}),F(166,CX,2,0,"span",93)(167,SX,4,2,"span",94),p()()(),h(168,"div",95)(169,"button",92),z("click",function(){return r.startOnBoard(!0)}),F(170,DX,2,0,"span",93)(171,MX,4,2,"span",94),p(),h(172,"p",96),f(173,"Available on Safari, Firefox and all Chromium-based browsers."),p(),h(174,"div",97),z("click",function(){return r.goToHudiLanding()}),h(175,"p",98),f(176,"Powered by"),p(),_(177,"img",99),p()(),h(178,"div",100),z("click",function(){return r.goToHudiLanding()}),h(179,"p",101),f(180,"Powered by"),p(),_(181,"img",102),p()(),_(182,"div",103),h(183,"div",104)(184,"div",105),F(185,xX,3,6,"a",106),p()()()(),h(186,"section",107)(187,"div",108)(188,"div",109)(189,"h2",110),f(190," Cookie Settings "),p(),h(191,"button",111),z("click",function(){return r.hideCookieBanner=!r.hideCookieBanner}),h(192,"span",112),f(193,"Dismiss"),p(),Ke(),h(194,"svg",113),_(195,"path",114),p()()(),$t(),h(196,"p",115),f(197," We use cookies to improve your experience and for marketing. Visit our "),h(198,"a",116),z("click",function(){return r.goToCookiePolicies()}),f(199,"Cookies Policy"),p(),f(200," to learn more. "),p(),h(201,"div",117)(202,"div",118)(203,"button",119),z("click",function(){return r.onHideCookiebanner()}),f(204," Allow all "),p()(),h(205,"div",118)(206,"button",119),z("click",function(){return r.onHideCookiebannerRefuse()}),f(207," Reject all "),p()()(),h(208,"div",118)(209,"button",120),z("click",function(){return r.onShowCookieOption()}),f(210," Manage cookies "),p()()()(),F(211,kX,51,2,"section",121),h(212,"app-modal",122)(213,"div",123)(214,"div",124)(215,"div",125),f(216," Get on Board! "),p(),h(217,"div",126),f(218," Get the latest news delivered straight to your inbox. Sign up now for exclusive updates! "),p()(),h(219,"form",127),z("ngSubmit",function(){return r.submit()}),_(220,"app-input-text",128)(221,"app-input-text",129),p(),h(222,"div",130)(223,"button",131),z("click",function(){return r.submit()}),h(224,"div",132),f(225,"Subscribe & Download"),p()(),h(226,"div",133),z("click",function(){return r.downloadNow()}),f(227," remind me later and Download Now "),p()()()()),2&i&&(b(13),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(102),M("ngForOf",r.diamondPerks),b(6),it("px-8 py-2 font-semibold cursor-pointer rounded-[16px] ","monthly"===r.selectedTrial?"bg-white text-black":"text-white bg-transparent",""),b(2),it("rounded-[16px] px-8 py-2 font-semibold cursor-pointer ","yearly"===r.selectedTrial?"bg-white text-black":"text-white bg-transparent",""),b(2),M("ngIf",r.price),b(),M("innerHTML","yearly"===r.selectedTrial?"every 365 days <b>(Save 20%)</b>":"every month",wi),b(6),M("ngForOf",r.diamond),b(19),M("ngForOf",r.faqItems),b(14),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(3),M("ngIf",r.campaign===r.AnalyticsEventCategories.TRIAL),b(),M("ngIf",r.campaign!==r.AnalyticsEventCategories.TRIAL),b(14),M("ngForOf",r.footerLinks),b(),it("",r.hideCookieBanner?"!hidden":"fixed"," fixed bottom-0 right-0 z-[60] sm:max-w-sm w-full mx-auto p-6"),b(25),M("ngIf",r.showCookiesOption),b(),M("modalName",r.ModalName.SUBSCRIBE_NEWSLETTER),b(7),M("formGroup",r.newsLetterFormGroup),b(4),M("disabled",r.newsLetterFormGroup.invalid))},dependencies:[gc,Sr,ha,vu,Aa,cu,I6,xM,Gu,Oa,Wc],encapsulation:2})}}return e})(),AX=(()=>{class e{constructor(t){this.api=t,this.baseURL="https://api.humandataincome.com/api/v2/"}checkIfBeenPwned(t){return zM(this.api.core.get("data/compromised?email="+t).pipe(io(i=>Mc(i)),kM(i=>{})))}static{this.\u0275fac=function(i){return new(i||e)(x(AM))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const PX=["*"];function OX(e,n){if(1&e&&_(0,"label",5),2&e){const t=I();M("for",t.name)("innerHTML",t.label,wi)}}function RX(e,n){1&e&&(h(0,"label",6),Qr(1),p()),2&e&&M("for",I().name)}function FX(e,n){if(1&e&&(h(0,"div",7)(1,"span"),f(2),p()()),2&e){const t=I();b(2),Dt(t.errorTip)}}let LX=(()=>{class e{constructor(t){this.ngControl=t,this.name="",this.label="",this.errorTip="",this.isCheckedValue=!1,this.ngControl&&(this.ngControl.valueAccessor=this)}ngOnInit(){}writeValue(t){this.value=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}check(){this.isCheckedValue=!this.isCheckedValue}static{this.\u0275fac=function(i){return new(i||e)(w(tr,10))}}
1static{this.\u0275cmp=ve({type:e,selectors:[["app-input-checkbox"]],inputs:{name:"name",label:"label",errorTip:"errorTip"},ngContentSelectors:PX,decls:5,vars:7,consts:[[1,"flex","flex-row","space-x-3","items-center","pl-1"],["type","checkbox",1,"appearance-none","rounded-lg","bg-white","ring-1","ring-gray-50","shadow-inner","w-6","h-6","hover:shadow-md","hover:shadow-primary/[0.8]","hover:ring-1","hover:ring-primary","cursor-pointer",3,"click","name","formControl"],["class","my-auto text-[16px] text-gray-800",3,"for","innerHTML",4,"ngIf"],["class","my-auto text-[16px] text-gray-800",3,"for",4,"ngIf"],["class","text-[#D80A0A] text-xs pl-6 ml-9",4,"ngIf"],[1,"my-auto","text-[16px]","text-gray-800",3,"for","innerHTML"],[1,"my-auto","text-[16px]","text-gray-800",3,"for"],[1,"text-[#D80A0A]","text-xs","pl-6","ml-9"]],template:function(i,r){1&i&&(Lo(),h(0,"div",0)(1,"input",1),z("click",function(){return r.check()}),p(),F(2,OX,1,2,"label",2)(3,RX,2,1,"label",3),p(),F(4,FX,3,1,"div",4)),2&i&&(b(),Zt("checkedIcon",r.isCheckedValue),M("name","name")("formControl",r.ngControl.control),b(),M("ngIf",r.label),b(),M("ngIf",!r.label),b(),M("ngIf",(null==r.ngControl.control?null:r.ngControl.control.dirty)&&(null==r.ngControl.control?null:r.ngControl.control.invalid)))},dependencies:[Sr,u6,Aa,yu]})}}return e})();function NX(e,n){1&e&&(h(0,"h1",17),f(1,"Has Your Email Been Compromised? Find Out Now \u2013 Get Your Free Data Breach Report!"),p())}function VX(e,n){1&e&&(h(0,"h1",17),f(1,"Thank You! Your Free Data Breach "),_(2,"br"),f(3," Report is on its Way!"),p())}function HX(e,n){1&e&&(h(0,"h3",18),f(1,"Discover if your email has been exposed in a data breach and learn how to protect yourself. Enter your email to get instant results and start securing your online identity."),p())}function BX(e,n){1&e&&(h(0,"h3",19),f(1,"Your request has been received, and we are currently scanning our database to check if your email has been compromised in any data breaches."),p())}function YX(e,n){1&e&&(h(0,"form",20)(1,"p",21),f(2,"E-mail"),p(),_(3,"app-input-text",22),p()),2&e&&M("formGroup",I().form)}function jX(e,n){if(1&e){const t=Ze();h(0,"button",23),z("click",function(){return B(t),Y(I().checkIfBeenPwned())}),f(1,"Get My Free Report Now"),p()}if(2&e){let t,i;const r=I();it("btn-green !mt-4 w-full !py-6 flex items-center justify-center ",null!=(t=r.form.get("email"))&&t.value&&null!=(t=r.checkForm.get("check"))&&t.value?"!cursor-pointer":"!cursor-not-allowed",""),M("disabled",!(null!=(i=r.form.get("email"))&&i.value&&null!=(i=r.checkForm.get("check"))&&i.value))}}function UX(e,n){if(1&e){const t=Ze();h(0,"form",24),_(1,"app-input-checkbox",25),h(2,"p",26),f(3,"Agree to our "),h(4,"u",27),z("click",function(){return B(t),Y(I().goToPrivacyAndPolicy())}),f(5,"Privacy Policy"),p(),f(6," and "),h(7,"u",27),z("click",function(){return B(t),Y(I().goToTermsAndConditions())}),f(8,"Terms of Service"),p(),f(9,". Get notified if your email is in a data breach."),p()()}2&e&&M("formGroup",I().checkForm)}function $X(e,n){1&e&&(h(0,"div",28),_(1,"img",29),h(2,"p",30),f(3,"You will receive an email shortly with your Free Data Breach Report and important steps to help you secure your online identity."),p()())}function qX(e,n){1&e&&(h(0,"div",31)(1,"h3",32),f(2,"What to Expect Next:"),p(),h(3,"div",33)(4,"div",34)(5,"span",35),f(6,"1."),p(),h(7,"p",35),f(8,"Check Your Inbox:"),p()(),h(9,"p",36),f(10,"Your detailed report will be sent to the email address you provided. Be sure to check your spam or promotions folder if you don\u2019t see it within a few minutes."),p()(),h(11,"div",33)(12,"div",34)(13,"span",35),f(14,"2."),p(),h(15,"p",35),f(16,"Review Your Report:"),p()(),h(17,"p",36),f(18,"Learn if your email was exposed in any data breaches, see when and where it was compromised, and understand the risks involved."),p()(),h(19,"div",37)(20,"div",34)(21,"span",35),f(22,"3."),p(),h(23,"p",35),f(24,"Follow the Recommendations:"),p()(),h(25,"p",36),f(26,"Protect your personal information by following the easy-to-understand security steps provided in the report. Taking action now can help prevent identity theft and keep you safe online."),p()()())}
1function WX(e,n){1&e&&(h(0,"div",38)(1,"div",39),Ke(),h(2,"svg",40),_(3,"path",41),p(),$t(),h(4,"div",42)(5,"p")(6,"b"),f(7,"Immediate Results:"),p()(),h(8,"p",43),f(9,"Instantly discover if your email has been found in any data breaches."),p()()(),h(10,"div",39),Ke(),h(11,"svg",40),_(12,"path",41),p(),$t(),h(13,"div",42)(14,"p")(15,"b"),f(16,"Comprehensive Details:"),p()(),h(17,"p",43),f(18,"See when, where, and how your email was compromised."),p()()(),h(19,"div",39),Ke(),h(20,"svg",40),_(21,"path",41),p(),$t(),h(22,"div",42)(23,"p")(24,"b"),f(25,"Security Recommendations:"),p()(),h(26,"p",43),f(27,"Get actionable steps to protect your online identity."),p()()()())}function GX(e,n){if(1&e){const t=Ze();h(0,"p",44),z("click",function(){const r=B(t).$implicit;return Y(I().goTo(r.link))}),f(1),p()}if(2&e){const t=n.$implicit;b(),Dt(t.text)}}let RM=(()=>{class e{constructor(t,i,r){this.breachServce=t,this.meta=i,this.title=r,this.form=new $o({email:new lo("",[ao.required])}),this.checkForm=new $o({check:new lo(!1,[ao.required])}),this.success=!1,this.footerLinks=[{text:"Privacy policy",link:"/privacy-policy"},{text:"Terms",link:"/tos"},{text:"Cookie",link:"/cookie-policy"}]}ngOnInit(){return dt(function*(){try{window.twq("event","tw-ojdi4-oo1q9",{})}catch{}})()}goTo(t){window.open(t,"_blank")}goToPrivacyAndPolicy(){window.open("/privacy-policy","_blank")}goToTermsAndConditions(){window.open("/tos","_blank")}goHome(){window.open("/","_blank")}checkIfBeenPwned(){if(this.form.get("email")?.value){try{window.twq("event","tw-ojdi4-oo1ph",{})}catch{}this.breachServce.checkIfBeenPwned(this.form.get("email")?.value).then(t=>{t&&(this.success=!0)})}}static{this.\u0275fac=function(i){return new(i||e)(w(AX),w(eb),w(xh))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-breach"]],decls:18,vars:11,consts:[[1,"flex","flex-col","lg:flex-row","w-full","h-full","overflow-y-scroll","lg:overflow-auto","!bg-black","breach-multiple-backgrounds","font_montserrat"],[1,"w-full","flex","flex-col","items-center","px-4","justify-between"],[1,"px-[48px]","py-6","flex","items-center","justify-center","w-full"],["src","./assets/logo-white.svg","alt","","height","32","width","246",1,"cursor-pointer",3,"click"],[1,"max-w-screen-xl","flex","justify-center","flex-col","items-center"],["class","text-[40px] lg:text-[60px] text-white font-extrabold text-center mb-6","style","line-height: 105%",4,"ngIf"],["class","text-lg lg:text-2xl text-white font-normal text-center mb-[56px]","style","line-height: 105%",4,"ngIf"],["class","text-lg lg:text-2xl text-white font-normal text-center mb-[69px]","style","line-height: 105%",4,"ngIf"],[1,"flex","flex-col","justify-center","items-center","w-full","lg:w-[75%]"],["class","w-full",3,"formGroup",4,"ngIf"],[3,"disabled","class","click",4,"ngIf"],["class","flex flex-row space-x-2 mt-4 mb-[64px] items-center",3,"formGroup",4,"ngIf"],["class","flex flex-col justify-center items-center text-center mb-[64px] border-2 border-[#37D0A2] rounded-lg p-8 w-full lg:w-[70%]","style","background-color: rgba(231, 255, 248, 0.20);",4,"ngIf"],["class","flex flex-col text-white w-full lg:w-[80%] mb-[66px]",4,"ngIf"],["class","flex flex-col lg:space-y-2 space-y-4 text-white mb-[66px]",4,"ngIf"],[1,"flex","flex-row","space-x-4","items-center","py-6","text-white","border-t-[1px]","border-[rgba(255,","255,","255,","0.50)]","w-full","justify-center"],["class","text-[13px] font-light cursor-pointer",3,"click",4,"ngFor","ngForOf"],[1,"text-[40px]","lg:text-[60px]","text-white","font-extrabold","text-center","mb-6",2,"line-height","105%"],[1,"text-lg","lg:text-2xl","text-white","font-normal","text-center","mb-[56px]",2,"line-height","105%"],[1,"text-lg","lg:text-2xl","text-white","font-normal","text-center","mb-[69px]",2,"line-height","105%"],[1,"w-full",3,"formGroup"],[1,"text-sm","text-[#97A7B0]","mb-2"],["placeholder","Insert your E-mail","formControlName","email","type","email",1,"w-full","!pb-4"],[3,"click","disabled"],[1,"flex","flex-row","space-x-2","mt-4","mb-[64px]","items-center",3,"formGroup"],["formControlName","check"],[1,"text-[14px]","text-white"],[1,"curs
1or-pointer",3,"click"],[1,"flex","flex-col","justify-center","items-center","text-center","mb-[64px]","border-2","border-[#37D0A2]","rounded-lg","p-8","w-full","lg:w-[70%]",2,"background-color","rgba(231, 255, 248, 0.20)"],["src","/assets/email.svg","alt","",1,"mb-4"],[1,"text-xl","text-[#37D0A2]","font-semibold","w-full","lg:w-[60%]",2,"line-height","105%"],[1,"flex","flex-col","text-white","w-full","lg:w-[80%]","mb-[66px]"],[1,"text-center","text-2xl","font-bold","mb-4"],[1,"flex","flex-col","space-y-1","mb-4","justify-start"],[1,"flex","flex-row","items-center","space-x-2"],[1,"text-lg","font-bold"],[1,"text-lg",2,"line-height","105%"],[1,"flex","flex-col","space-y-1","justify-start"],[1,"flex","flex-col","lg:space-y-2","space-y-4","text-white","mb-[66px]"],[1,"flex","flex-row","items-center","space-x-4"],["xmlns","http://www.w3.org/2000/svg","width","24","height","23","viewBox","0 0 24 23","fill","none"],["d","M12 0C5.64805 0 0.5 5.14805 0.5 11.5C0.5 17.852 5.64805 23 12 23C18.352 23 23.5 17.852 23.5 11.5C23.5 5.14805 18.352 0 12 0ZM10.3666 16.4252C8.67758 14.7434 7.04781 13.1172 5.35875 11.4335C5.97508 10.9088 6.62555 10.3554 7.34609 9.74445C8.21398 10.6824 9.20586 11.7534 10.257 12.889C12.5247 10.8352 14.6468 8.9125 16.8318 6.93234C17.4266 7.57563 18.0034 8.20094 18.6448 8.89453C15.8507 11.4353 13.1123 13.9294 10.3684 16.4234L10.3666 16.4252Z","fill","#37D0A2"],[1,"flex","flex-col","lg:flex-row","space-y-1","lg:space-y-0","space-x-0","lg:space-x-4"],[2,"line-height","105%"],[1,"text-[13px]","font-light","cursor-pointer",3,"click"]],template:function(i,r){1&i&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"img",3),z("click",function(){return r.goHome()}),p()(),h(4,"div",4),F(5,NX,2,0,"h1",5)(6,VX,4,0,"h1",5)(7,HX,2,0,"h3",6)(8,BX,2,0,"h3",7),h(9,"div",8),F(10,YX,4,1,"form",9)(11,jX,2,4,"button",10),p(),F(12,UX,10,1,"form",11)(13,$X,4,0,"div",12)(14,qX,27,0,"div",13)(15,WX,28,0,"div",14),p(),h(16,"div",15),F(17,GX,2,1,"p",16),p()()()),2&i&&(b(5),M("ngIf",!r.success),b(),M("ngIf",r.success),b(),M("ngIf",!r.success),b(),M("ngIf",r.success),b(2),M("ngIf",!r.success),b(),M("ngIf",!r.success),b(),M("ngIf",!r.success),b(),M("ngIf",r.success),b(),M("ngIf",r.success),b(),M("ngIf",!r.success),b(2),M("ngForOf",r.footerLinks))},dependencies:[gc,Sr,vu,Aa,cu,Oa,Wc,I6,LX],encapsulation:2})}}return e})(),KX=(()=>{class e{constructor(t){this.router=t}ngOnInit(){window.location.href="https://buy.stripe.com/5kA28K9wM50EdtmdQT"}static{this.\u0275fac=function(i){return new(i||e)(w(xt))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-strapi"]],decls:0,vars:0,template:function(i,r){},encapsulation:2})}}return e})();class ZX{}let QX=(()=>{class e{constructor(t){this.httpClient=t,this.data=new ZX}getData(){var t=this;return dt(function*(){try{const i=yield t.httpClient.get("https://content.humandataincome.com/api/downloads?populate=*",{}).toPromise();if(i)return t.data=i}catch(i){return console.error("Error fetching data:",i),[]}})()}static{this.\u0275fac=function(i){return new(i||e)(x(Gi))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function JX(e,n){return e===n}class eJ extends N{constructor(n=1/0,t=1/0,i=l6){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}let Xo={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function FM(e){Xo=e}const LM=/[&<>"']/,nJ=new RegExp(LM.source,"g"),NM=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,iJ=new RegExp(NM.source,"g"),rJ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},VM=e=>rJ[e];function ei(e,n){if(n){if(LM.test(e))return e.replace(nJ,VM)}else if(NM.test(e))return e.replace(iJ,VM);return e}const oJ=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,aJ=/(^|[^\[])\^/g;function He(e,n){let t="string"==typeof e?e:e.source;n=n||"";const i={replace:(r,o)=>{let s="string"==typeof o?o:o.source;return s=s.replace(aJ,"$1"),t=t.replace(r,s),i},getRegex:()=>new RegExp(t,n)};return i}function HM(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const a1={exec:()=>null};function BM(e,n){const i=e.replace(/\|/g,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(/ \|/);let r=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(/\\\|/g,"|");return i}function l1(e,n,t){const i=e.length;if(0===i)return"";let r=0;for(;r<i;){const o=e.charAt(i-r-1);if(o!==n||t){if(o===n||!t)break;r++}else r++}return e.slice(0,i-r)}function YM(e,n,t,i){const r=n.href,o=n.title?ei(n.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;
1const a={type:"link",raw:t,href:r,title:o,text:s,tokens:i.inlineTokens(s)};return i.state.inLink=!1,a}return{type:"image",raw:t,href:r,title:o,text:ei(s)}}class Qu{options;rules;lexer;constructor(n){this.options=n||Xo}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:l1(i,"\n")}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const i=t[0],r=function cJ(e,n){const t=e.match(/^(\s+)(?:```)/);if(null===t)return n;const i=t[1];return n.split("\n").map(r=>{const o=r.match(/^\s+/);if(null===o)return r;const[s]=o;return s.length>=i.length?r.slice(i.length):r}).join("\n")}(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let i=t[2].trim();if(/#$/.test(i)){const r=l1(i,"#");(this.options.pedantic||!r||/ $/.test(r))&&(i=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:l1(t[0],"\n")}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){let i=l1(t[0],"\n").split("\n"),r="",o="";const s=[];for(;i.length>0;){let a=!1;const l=[];let c;for(c=0;c<i.length;c++)if(/^ {0,3}>/.test(i[c]))l.push(i[c]),a=!0;else{if(a)break;l.push(i[c])}i=i.slice(c);const u=l.join("\n"),d=u.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n    $1").replace(/^ {0,3}>[ \t]?/gm,"");r=r?`${r}\n${u}`:u,o=o?`${o}\n${d}`:d;const m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,s,!0),this.lexer.state.top=m,0===i.length)break;const g=s[s.length-1];if("code"===g?.type)break;if("blockquote"===g?.type){const v=g,y=v.raw+"\n"+i.join("\n"),C=this.blockquote(y);s[s.length-1]=C,r=r.substring(0,r.length-v.raw.length)+C.raw,o=o.substring(0,o.length-v.text.length)+C.text;break}if("list"!==g?.type);else{const v=g,y=v.raw+"\n"+i.join("\n"),C=this.list(y);s[s.length-1]=C,r=r.substring(0,r.length-g.raw.length)+C.raw,o=o.substring(0,o.length-v.raw.length)+C.raw,i=y.substring(s[s.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:s,text:o}}}list(n){let t=this.rules.block.list.exec(n);if(t){let i=t[1].trim();const r=i.length>1,o={type:"list",raw:"",ordered:r,start:r?+i.slice(0,-1):"",loose:!1,items:[]};i=r?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=r?i:"[*+-]");const s=new RegExp(`^( {0,3}${i})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;n;){let l=!1,c="",u="";if(!(t=s.exec(n))||this.rules.block.hr.test(n))break;c=t[0],n=n.substring(c.length);let d=t[2].split("\n",1)[0].replace(/^\t+/,S=>" ".repeat(3*S.length)),m=n.split("\n",1)[0],g=!d.trim(),v=0;if(this.options.pedantic?(v=2,u=d.trimStart()):g?v=t[1].length+1:(v=t[2].search(/[^ ]/),v=v>4?1:v,u=d.slice(v),v+=t[1].length),g&&/^ *$/.test(m)&&(c+=m+"\n",n=n.substring(m.length+1),l=!0),!l){const S=new RegExp(`^ {0,${Math.min(3,v-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),D=new RegExp(`^ {0,${Math.min(3,v-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),A=new RegExp(`^ {0,${Math.min(3,v-1)}}(?:\`\`\`|~~~)`),L=new RegExp(`^ {0,${Math.min(3,v-1)}}#`);for(;n;){const q=n.split("\n",1)[0];if(m=q,this.options.pedantic&&(m=m.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),A.test(m)||L.test(m)||S.test(m)||D.test(n))break;if(m.search(/[^ ]/)>=v||!m.trim())u+="\n"+m.slice(v);else{if(g||d.search(/[^ ]/)>=4||A.test(d)||L.test(d)||D.test(d))break;u+="\n"+m}!g&&!m.trim()&&(g=!0),c+=q+"\n",n=n.substring(q.length+1),d=m.slice(v)}}o.loose||(a?o.loose=!0:/\n *\n *$/.test(c)&&(a=!0));let C,y=null;this.options.gfm&&(y=/^\[[ xX]\] /.exec(u),y&&(C="[ ] "!==y[0],u=u.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:c,task:!!y,checked:C,loose:!1,text:u,tokens:[]}),o.raw+=c}o.items[o.items.length-1].raw=o.items[o.items.length-1].raw.trimEnd(),o.items[o.items.length-1].text=o.items[o.items.length-1].text.trimEnd(),o.raw=o.raw.trimEnd();for(let l=0;l<o.items.length;l++)if(this.lexer.state.top=!1,o.items[l].tokens=this.lexer.blockTokens(o.items[l].text,[]),!o.loose){const c=o.items[l].tokens.filter(d=>
vendor: 14,003 bytes, line 1
1"space"===d.type),u=c.length>0&&c.some(d=>/\n.*\n/.test(d.raw));o.loose=u}if(o.loose)for(let l=0;l<o.items.length;l++)o.items[l].loose=!0;return o}}html(n){const t=this.rules.block.html.exec(n);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(n){const t=this.rules.block.def.exec(n);if(t){const i=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:i,raw:t[0],href:r,title:o}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!/[:|]/.test(t[2]))return;const i=BM(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),o=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(i.length===r.length){for(const a of r)/^ *-+: *$/.test(a)?s.align.push("right"):/^ *:-+: *$/.test(a)?s.align.push("center"):/^ *:-+ *$/.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<i.length;a++)s.header.push({text:i[a],tokens:this.lexer.inline(i[a]),header:!0,align:s.align[a]});for(const a of o)s.rows.push(BM(a,s.header.length).map((l,c)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[c]})));return s}}lheading(n){const t=this.rules.block.lheading.exec(n);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(n){const t=this.rules.block.paragraph.exec(n);if(t){const i="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:i,tokens:this.lexer.inline(i)}}}text(n){const t=this.rules.block.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(n){const t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:ei(t[1])}}tag(n){const t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const i=t[2].trim();if(!this.options.pedantic&&/^</.test(i)){if(!/>$/.test(i))return;const s=l1(i.slice(0,-1),"\\");if((i.length-s.length)%2==0)return}else{const s=function lJ(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===n[0])t++;else if(e[i]===n[1]&&(t--,t<0))return i;return-1}(t[2],"()");if(s>-1){const l=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);s&&(r=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(i)?r.slice(1):r.slice(1,-1)),YM(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(n,t){let i;if((i=this.rules.inline.reflink.exec(n))||(i=this.rules.inline.nolink.exec(n))){const o=t[(i[2]||i[1]).replace(/\s+/g," ").toLowerCase()];if(!o){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return YM(i,o,i[0],this.lexer)}}emStrong(n,t,i=""){let r=this.rules.inline.emStrongLDelim.exec(n);if(!(!r||r[3]&&i.match(/[\p{L}\p{N}]/u))&&(!r[1]&&!r[2]||!i||this.rules.inline.punctuation.exec(i))){const s=[...r[0]].length-1;let a,l,c=s,u=0;const d="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,t=t.slice(-1*n.length+s);null!=(r=d.exec(t));){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(l=[...a].length,r[3]||r[4]){c+=l;continue}if((r[5]||r[6])&&s%3&&!((s+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const m=[...r[0]][0].length,g=n.slice(0,s+r.index+m+l);if(Math.min(s,l)%2){const y=g.slice(1,-1);return{type:"em",raw:g,text:y,tokens:this.lexer.inlineTokens(y)}}const v=g.slice(2,-2);return{type:"strong",raw:g,text:v,tokens:this.lexer.inlineTokens(v)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let i=t[2].replace(/\n/g," ");const r=/[^ ]/.test(i),o=/^ /.test(i)&&/ $/.test(i);return r&&o&&(i=i.substring(1,i.length-1)),i=ei(i,!0),{type:"codespan",raw:t[0],text:i}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let i,r;return"@"===t[2]?(i=ei(t[1]),r="mailto:"+i):(i=ei(t[1]),r=i),{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}url(n){let t;if(t=this.rules.inline.url.exec(n)){let i,r;if("@"===t[2])i=ei(t[0]),r="mailto:"+i;else{let o;do{o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(o!==t[0]);i=ei(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let i;return i=this.lexer.state.inRawBlock?t[0]:ei(t[0]),{type:"text",raw:t[0],text:i}}}}const c1=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jM=/(?:[*+-]|\d{1,9}[.)])/,UM=He(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,jM).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Uf=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$f=/(?!\s*\])(?:\\.|[^\[\]\\])+/,mJ=He(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",$f).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),gJ=He(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,jM).getRegex(),Xu="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",qf=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,vJ=He("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",qf).replace("tag",Xu).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$M=He(Uf).replace("hr",c1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xu).getRegex(),Wf={blockquote:He(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",$M).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:mJ,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:c1,html:vJ,lheading:UM,list:gJ,newline:/^(?: *(?:\n|$))+/,paragraph:$M,table:a1,text:/^[^\n]+/},qM=He("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",c1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xu).getRegex(),yJ={...Wf,table:qM,paragraph:He(Uf).replace("hr",c1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",qM).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xu).getRegex()},_J={...Wf,html:He("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",qf).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:a1,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:He(Uf).replace("hr",c1).replace("heading"," *#{1,6} *[^\n]").replace("lheading",UM).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},WM=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,GM=/^( {2,}|\\)\n(?!\s*$)/,u1="\\p{P}\\p{S}",CJ=He(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,u1).getRegex(),DJ=He(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,u1).getRegex(),MJ=He("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,u1).getRegex(),xJ=He("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,u1).getRegex(),TJ=He(/\\([punct])/,"gu").replace(/punct/g,u1).getRegex(),EJ=He(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),kJ=He(qf).replace("(?:--\x3e|$)","--\x3e").getRegex(),zJ=He("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",kJ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ju=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,IJ=He(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ju).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),KM=He(/^!?\[(label)\]\[(ref)\]/).replace("label",Ju).replace("ref",$f).getRegex(),ZM=He(/^!?\[(ref)\](?:\[\])?/).replace("ref",$f).getRegex(),Gf={_backpedal:a1,anyPunctuation:TJ,autolink:EJ,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:GM,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:a1,emStrongLDelim:DJ,emStrongRDelimAst:MJ,emStrongRDelimUnd:xJ,escape:WM,link:IJ,nolink:ZM,punctuation:CJ,reflink:KM,reflinkSearch:He("reflink|nolink(?!\\()","g").replace("reflink",KM).replace("nolink",ZM).getRegex(),tag:zJ,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:a1},PJ={...Gf,link:He(/^!?\[(label)\]\((.*?)\)/).replace("label",Ju).getRegex(),reflink:He(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ju).getRegex()},Kf={...Gf,escape:He(WM).replace("])","~|])").getRegex(),url:He(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},OJ={...Kf,br:He(GM).replace("{2,}","*").getRegex(),text:He(Kf.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ed={normal:Wf,gfm:yJ,pedantic:_J},d1={normal:Gf,gfm:Kf,breaks:OJ,pedantic:PJ};class nr{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Xo,this.options.tokenizer=this.options.tokenizer||new Qu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:ed.normal,inline:d1.normal};this.options.pedantic?(t.block=ed.pedantic,t.inline=d1.pedantic):this.options.gfm&&(t.block=ed.gfm,t.inline=this.options.breaks?d1.breaks:d1.gfm),this.tokenizer.rules=t}static get rules(){return{block:ed,inline:d1}}static lex(n,t){return new nr(t).lex(n)}static lexInline(n,t){return new nr(t).inlineTokens(n)}lex(n){n=n.replace(/\r\n|\r/g,"\n"),this.blockTokens(n,this.tokens);for(let t=0;
1t<this.inlineQueue.length;t++){const i=this.inlineQueue[t];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,t=[],i=!1){let r,o,s;for(n=this.options.pedantic?n.replace(/\t/g,"    ").replace(/^ +$/gm,""):n.replace(/^( *)(\t+)/gm,(a,l,c)=>l+"    ".repeat(c.length));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(r=a.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?t.push(r):(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length),o=t[t.length-1],!o||"paragraph"!==o.type&&"text"!==o.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(o.raw+="\n"+r.raw,o.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text);continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(s=n,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=n.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),"number"==typeof c&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(s=n.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){o=t[t.length-1],i&&"paragraph"===o?.type?(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(r),i=s.length!==n.length,n=n.substring(r.raw.length);continue}if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length),o=t[t.length-1],o&&"text"===o.type?(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):t.push(r);continue}if(n){const a="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let i,r,o,a,l,c,s=n;
vendor: 8,747 bytes, line 1
1if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(s));)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>!!(i=u.call({lexer:this},n,t))&&(n=n.substring(i.raw.length),t.push(i),!0)))){if(i=this.tokenizer.escape(n)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(n)){n=n.substring(i.raw.length),r=t[t.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(i=this.tokenizer.link(n)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(i.raw.length),r=t[t.length-1],r&&"text"===i.type&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(i=this.tokenizer.emStrong(n,s,c)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.codespan(n)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.br(n)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.del(n)){n=n.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.autolink(n)){n=n.substring(i.raw.length),t.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(n))){n=n.substring(i.raw.length),t.push(i);continue}if(o=n,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const d=n.slice(1);let m;this.options.extensions.startInline.forEach(g=>{m=g.call({lexer:this},d),"number"==typeof m&&m>=0&&(u=Math.min(u,m))}),u<1/0&&u>=0&&(o=n.substring(0,u+1))}if(i=this.tokenizer.inlineText(o)){n=n.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(c=i.raw.slice(-1)),l=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(n){const u="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}return t}}class Jo{options;parser;constructor(n){this.options=n||Xo}space(n){return""}code({text:n,lang:t,escaped:i}){const r=(t||"").match(/^\S*/)?.[0],o=n.replace(/\n$/,"")+"\n";return r?'<pre><code class="language-'+ei(r)+'">'+(i?o:ei(o,!0))+"</code></pre>\n":"<pre><code>"+(i?o:ei(o,!0))+"</code></pre>\n"}blockquote({tokens:n}){return`<blockquote>\n${this.parser.parse(n)}</blockquote>\n`}html({text:n}){return n}heading({tokens:n,depth:t}){return`<h${t}>${this.parser.parseInline(n)}</h${t}>\n`}hr(n){return"<hr>\n"}list(n){const t=n.ordered,i=n.start;let r="";for(let a=0;a<n.items.length;a++)r+=this.listitem(n.items[a]);const o=t?"ol":"ul";return"<"+o+(t&&1!==i?' start="'+i+'"':"")+">\n"+r+"</"+o+">\n"}listitem(n){let t="";if(n.task){const i=this.checkbox({checked:!!n.checked});n.loose?n.tokens.length>0&&"paragraph"===n.tokens[0].type?(n.tokens[0].text=i+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=i+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",raw:i+" ",text:i+" "}):t+=i+" "}return t+=this.parser.parse(n.tokens,!!n.loose),`<li>${t}</li>\n`}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>\n`}table(n){let t="",i="";for(let o=0;o<n.header.length;o++)i+=this.tablecell(n.header[o]);t+=this.tablerow({text:i});let r="";for(let o=0;o<n.rows.length;o++){const s=n.rows[o];i="";for(let a=0;a<s.length;a++)i+=this.tablecell(s[a]);r+=this.tablerow({text:i})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:n}){return`<tr>\n${n}</tr>\n`}tablecell(n){const t=this.parser.parseInline(n.tokens),i=n.header?"th":"td";return(n.align?`<${i} align="${n.align}">`:`<${i}>`)+t+`</${i}>\n`}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${n}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:t,tokens:i}){const r=this.parser.parseInline(i),o=HM(n);if(null===o)return r;let s='<a href="'+(n=o)+'"';return t&&(s+=' title="'+t+'"'),s+=">"+r+"</a>",s}image({href:n,title:t,text:i}){const r=HM(n);if(null===r)return i;let o=`<img src="${n=r}" alt="${i}"`;return t&&(o+=` title="${t}"`),o+=">",o}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):n.text}}class Zf{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}}class ir{options;renderer;textRenderer;constructor(n){this.options=n||Xo,this.options.renderer=this.options.renderer||new Jo,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Zf}static parse(n,t){return new ir(t).parse(n)}static parseInline(n,t){return new ir(t).parseInline(n)}parse(n,t=!0){let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const a=o,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==l||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){i+=l||"";continue}}const s=o;switch(s.type){case"space":i+=this.renderer.space(s);continue;case"hr":i+=this.renderer.hr(s);continue;case"heading":i+=this.renderer.heading(s);continue;case"code":i+=this.renderer.code(s);continue;case"table":i+=this.renderer.table(s);continue;case"blockquote":i+=this.renderer.blockquote(s);continue;case"list":i+=this.renderer.list(s);continue;case"html":i+=this.renderer.html(s);continue;case"paragraph":i+=this.renderer.paragraph(s);continue;case"text":{let a=s,l=this.renderer.text(a);for(;r+1<n.length&&"text"===n[r+1].type;)a=n[++r],l+="\n"+this.renderer.text(a);i+=t?this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l}]}):l;continue}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}parseInline(n,t){t=t||this.renderer;let i="";for(let r=0;r<n.length;r++){const o=n[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const a=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){i+=a||"";continue}}const s=o;switch(s.type){case"escape":case"text":i+=t.text(s);break;case"html":i+=t.html(s);break;case"link":i+=t.link(s);break;case"image":i+=t.image(s);break;case"strong":i+=t.strong(s);break;case"em":i+=t.em(s);break;case"codespan":i+=t.codespan(s);break;case"br":i+=t.br(s);break;case"del":i+=t.del(s);break;default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}}class td{options;constructor(n){this.options=n||Xo}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}}const es=new class RJ{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(nr.lex,ir.parse);parseInline=this.#e(nr.lexInline,ir.parseInline);Parser=ir;Renderer=Jo;TextRenderer=Zf;Lexer=nr;Tokenizer=Qu;Hooks=td;constructor(...n){this.use(...n)}walkTokens(n,t){let i=[];for(const r of n)switch(i=i.concat(t.call(this,r)),r.type){case"table":{const o=r;for(const s of o.header)i=i.concat(this.walkTokens(s.tokens,t));for(const s of o.rows)for(const a of s)i=i.concat(this.walkTokens(a.tokens,t));break}case"list":i=i.concat(this.walkTokens(r.items,t));break;default:{const o=r;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(s=>{const a=o[s].flat(1/0);i=i.concat(this.walkTokens(a,t))}):o.tokens&&(i=i.concat(this.walkTokens(o.tokens,t)))}}return i}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};
1return n.forEach(i=>{const r={...i};if(r.async=this.defaults.async||r.async||!1,i.extensions&&(i.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=t.renderers[o.name];t.renderers[o.name]=s?function(...a){let l=o.renderer.apply(this,a);return!1===l&&(l=s.apply(this,a)),l}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),r.extensions=t),i.renderer){const o=this.defaults.renderer||new Jo(this.defaults);for(const s in i.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const a=s;let l=i.renderer[a];i.useNewRenderer||(l=this.#t(l,a,o));const c=o[a];o[a]=(...u)=>{let d=l.apply(o,u);return!1===d&&(d=c.apply(o,u)),d||""}}r.renderer=o}if(i.tokenizer){const o=this.defaults.tokenizer||new Qu(this.defaults);for(const s in i.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const l=i.tokenizer[s],c=o[s];o[s]=(...u)=>{let d=l.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}r.tokenizer=o}if(i.hooks){const o=this.defaults.hooks||new td;for(const s in i.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if("options"===s)continue;const l=i.hooks[s],c=o[s];o[s]=td.passThroughHooks.has(s)?u=>{if(this.defaults.async)return Promise.resolve(l.call(o,u)).then(m=>c.call(o,m));const d=l.call(o,u);return c.call(o,d)}:(...u)=>{let d=l.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}r.hooks=o}if(i.walkTokens){const o=this.defaults.walkTokens,s=i.walkTokens;r.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...r}}),this}#t(n,t,i){switch(t){case"heading":return function(r){return r.type&&r.type===t?n.call(this,i.parser.parseInline(r.tokens),r.depth,function sJ(e){return e.replace(oJ,(n,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}(i.parser.parseInline(r.tokens,i.parser.textRenderer))):n.apply(this,arguments)};case"code":return function(r){return r.type&&r.type===t?n.call(this,r.text,r.lang,!!r.escaped):n.apply(this,arguments)};case"table":return function(r){if(!r.type||r.type!==t)return n.apply(this,arguments);let o="",s="";for(let l=0;l<r.header.length;l++)s+=this.tablecell({text:r.header[l].text,tokens:r.header[l].tokens,header:!0,align:r.align[l]});o+=this.tablerow({text:s});let a="";for(let l=0;l<r.rows.length;l++){const c=r.rows[l];s="";for(let u=0;u<c.length;u++)s+=this.tablecell({text:c[u].text,tokens:c[u].tokens,header:!1,align:r.align[u]});a+=this.tablerow({text:s})}return n.call(this,o,a)};case"blockquote":return function(r){if(!r.type||r.type!==t)return n.apply(this,arguments);const o=this.parser.parse(r.tokens);return n.call(this,o)};case"list":return function(r){if(!r.type||r.type!==t)return n.apply(this,arguments);const o=r.ordered,s=r.start,a=r.loose;let l="";for(let c=0;c<r.items.length;c++){const u=r.items[c],d=u.checked,m=u.task;let g="";if(u.task){const v=this.checkbox({checked:!!d});a?u.tokens.length>0&&"paragraph"===u.tokens[0].type?(u.tokens[0].text=v+" "+u.tokens[0].text,u.tokens[0].tokens&&u.tokens[0].tokens.length>0&&"text"===u.tokens[0].tokens[0].type&&(u.tokens[0].tokens[0].text=v+" "+u.tokens[0].tokens[0].text)):u.tokens.unshift({type:"text",text:v+" "}):g+=v+" "}g+=this.parser.parse(u.tokens,a),l+=this.listitem({type:"list_item",raw:g,text:g,task:m,checked:!!d,loose:a,tokens:u.tokens})}return n.call(this,l,o,s)};case"html":return function(r){return r.type&&r.type===t?n.call(this,r.text,r.block):n.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(r){return r.type&&r.type===t?n.call(this,this.parser.parseInline(r.tokens)):n.apply(this,arguments)};case"escape":case"codespan":case"text":return function(r){return r.type&&r.type===t?n.call(this,r.text):n.apply(this,arguments)};case"link":return function(r){return r.type&&r.type===t?n.call(this,r.href,r.title,this.parser.parseInline(r.tokens)):n.apply(this,arguments)};case"image":return function(r){return r.type&&r.type===t?n.call(this,r.href,r.title,r.text):n.apply(this,arguments)}}return n}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return nr.lex(n,t??this.defaults)}parser(n,t){return ir.parse(n,t??this.defaults)}#e(n,t){return(i,r)=>{const o={...r},s={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const a=this.#n(!!s.silent,!!s.async);if(typeof i>"u"||null===i)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(i):i).then(l=>n(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>t(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(a);try{s.hooks&&(i=s.hooks.preprocess(i));let l=n(i,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let c=t(l,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(l){return a(l)}}}#n(n,t){return i=>{if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const r="<p>An error occurred:</p><pre>"+ei(i.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(i);throw i}}};function Me(e,n){return es.parse(e,n)}Me.options=Me.setOptions=function(e){return es.setOptions(e),FM(Me.defaults=es.defaults),Me},Me.getDefaults=function jf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},Me.defaults=Xo,Me.use=function(...e){return es.use(...e),FM(Me.defaults=es.defaults),Me},Me.walkTokens=function(e,n){return es.walkTokens(e,n)},Me.parseInline=es.parseInline,Me.Parser=ir,Me.parser=ir.parse,Me.Renderer=Jo,Me.TextRenderer=Zf,Me.Lexer=nr,Me.lexer=nr.lex,Me.Tokenizer=Qu,Me.Hooks=td,Me.parse=Me;const FJ=["*"];let QM=(()=>{class e{constructor(){this._buttonClick$=new N,this.copied$=this._buttonClick$.pipe(Qn(()=>Qc(G(!0),O6(3e3).pipe(Ph(!1)))),function XX(e,n=Fr){return e=e??JX,pt((t,i)=>{let r,o=!0;t.subscribe(st(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}(),function tJ(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,fD({connector:()=>new eJ(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}(1)),this.copiedText$=this.copied$.pipe(_a(!1),ce(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=ve({type:e,selectors:[["markdown-clipboard"]],standalone:!0,features:[It],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,r){1&i&&(h(0,"button",0),sc(1,"async"),z("click",function(){return r.onCopyToClipboardClick()}),f(2),sc(3,"async"),p()),2&i&&(Zt("copied",ac(1,3,r.copied$)),b(2),Dt(ac(3,5,r.copiedText$)))},dependencies:[Y_],encapsulation:2,changeDetection:0})}}return e})();const VJ=new P("CLIPBOARD_OPTIONS");var Qf=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(Qf||{});const XM=new P("MARKED_EXTENSIONS"),BJ=new P("MARKED_OPTIONS"),JM=new P("SECURITY_CONTEXT");let Xf=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,r,o,s,a,l){this.clipboardOptions=t,this.extensions=i,this.platform=o,this.securityContext=s,this.http=a,this.sanitizer=l,this.DEFAULT_MARKED_OPTIONS={renderer:new Jo},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new N,this.reload$=this._reload$.asObservable(),this.options=r}parse(t,i=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:r,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=i,c={...this.options,...i.markedOptions},u=c.renderer||this.renderer||new Jo;this.extensions&&(this.renderer=this.extendsRendererForExtensions(u)),a&&(this.renderer=this.extendsRendererForMermaid(u));const d=this.trimIndentation(t),m=r?this.decodeHtml(d):d,g=s?this.parseEmoji(m):m,v=this.parseMarked(g,c,o);return(l?v:this.sanitizer.sanitize(this.securityContext,v))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,r){const{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:u}=i;a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...u}),o&&this.renderClipboard(t,r,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(ce(i=>this.handleExtension(t,i)))}highlight(t){if(!Jr(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,r=>r.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!Jr(this.platform))return t;const i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){const i=t;return!0===i.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&Me.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const i=t;if(!0===i.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const r=t.code;return t.code=function(o,s,a){return"mermaid"===s?`<div class="mermaid">${o}</div>`:r.call(this,o,s,a)},i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){const r=t.lastIndexOf("://"),o=r>-1?t.substring(r+4):t,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+i+"\n```":i}parseMarked(t,i,r=!1){if(i.renderer){const o={...i.renderer};delete o.\u0275NgxMarkdownRendererExtendedForExtensions,delete o.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,Me.use({renderer:o})}
1return r?Me.parseInline(t,i):Me.parse(t,i)}parseEmoji(t){if(!Jr(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if(Jr(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,i)}}renderClipboard(t,i,r){if(!Jr(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!i)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:o,buttonTemplate:s}=r,a=t.querySelectorAll("pre");for(let l=0;l<a.length;l++){const c=a.item(l),u=document.createElement("div");u.style.position="relative",c.parentNode.insertBefore(u,c),u.appendChild(c);const d=document.createElement("div");let m,g;if(d.classList.add("markdown-clipboard-toolbar"),d.style.position="absolute",d.style.top=".5em",d.style.right=".5em",d.style.zIndex="1",u.insertAdjacentElement("beforeend",d),u.onmouseenter=()=>d.classList.add("hover"),u.onmouseleave=()=>d.classList.remove("hover"),o){const v=i.createComponent(o);m=v.hostView,v.changeDetectorRef.markForCheck()}else if(s)m=i.createEmbeddedView(s);else{const v=i.createComponent(QM);m=v.hostView,v.changeDetectorRef.markForCheck()}m.rootNodes.forEach(v=>{d.appendChild(v),g=new ClipboardJS(v,{text:()=>c.innerText})}),m.onDestroy(()=>g.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!Jr(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const r=t.querySelectorAll(".mermaid");0!==r.length&&(mermaid.initialize(i),mermaid.run({nodes:r}))}trimIndentation(t){if(!t)return"";let i;return t.split("\n").map(r=>{let o=i;return r.length>0&&(o=isNaN(o)?r.search(/\S|$/):Math.min(r.search(/\S|$/),o)),isNaN(i)&&(i=o),o?r.substring(o):r}).join("\n")}static{this.\u0275fac=function(i){return new(i||e)(x(VJ,8),x(XM,8),x(BJ,8),x(ri),x(JM),x(Gi,8),x(va))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})(),Jf=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,r){this.element=t,this.markdownService=i,this.viewContainerRef=r,this.error=new U,this.load=new U,this.ready=new U,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new N}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(rt(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){var r=this;return dt(function*(){const o={decodeHtml:i,inline:r.inline,emoji:r.emoji,mermaid:r.mermaid,disableSanitizer:r.disableSanitizer}
1,s={clipboard:r.clipboard,clipboardOptions:r.getClipboardOptions(),katex:r.katex,katexOptions:r.katexOptions,mermaid:r.mermaid,mermaidOptions:r.mermaidOptions},a=yield r.markdownService.parse(t,o);r.element.nativeElement.innerHTML=a,r.handlePlugins(),r.markdownService.render(r.element.nativeElement,s,r.viewContainerRef),r.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Qf.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Qf.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;o++){const s=i instanceof Array?i:[i];r.item(o).classList.add(...s)}}setPluginOptions(t,i){const r=t.querySelectorAll("pre");for(let o=0;o<r.length;
1o++)Object.keys(i).forEach(s=>{const a=i[s];if(a){const l=this.toLispCase(s);r.item(o).setAttribute(l,a.toString())}})}toLispCase(t){const i=t.match(/([A-Z])/g);if(!i)return t;let r=t.toString();for(let o=0,s=i.length;o<s;o++)r=r.replace(new RegExp(i[o]),"-"+i[o].toLowerCase());return"-"===r.slice(0,1)&&(r=r.slice(1)),r}static{this.\u0275fac=function(i){return new(i||e)(w(Re),w(Xf),w(Kt))}}static{this.\u0275cmp=ve({type:e,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},standalone:!0,features:[yt,It],ngContentSelectors:FJ,decls:1,vars:0,template:function(i,r){1&i&&(Lo(),Qr(0))},encapsulation:2})}}return e})();function ex(e){return[Xf,e?.loader??[],e?.clipboardOptions??[],e?.markedOptions??[],{provide:XM,useValue:e?.markedExtensions??[]},{provide:JM,useValue:e?.sanitize??zn.HTML}]}let KJ=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[ex(t)]}}static forChild(){return{ngModule:e}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[fa]})}}return e})();var tx;function ZJ(e,n){if(1&e&&(h(0,"div",8),f(1),p()),2&e){const t=I();b(),Dt(t.data.data.data[0].attributes.title)}}!function(e){let n;var r;let t,i;(r=n=e.SecurityLevel||(e.SecurityLevel={})).Strict="strict",r.Loose="loose",r.Antiscript="antiscript",r.Sandbox="sandbox",function(r){r.Base="base",r.Forest="forest",r.Dark="dark",r.Default="default",r.Neutral="neutral"}(t=e.Theme||(e.Theme={})),function(r){r[r.Debug=1]="Debug",r[r.Info=2]="Info",r[r.Warn=3]="Warn",r[r.Error=4]="Error",r[r.Fatal=5]="Fatal"}(i=e.LogLevel||(e.LogLevel={}))}(tx||(tx={}));let XJ=(()=>{class e{constructor(t,i){this.router=t,this.data=i}ngOnInit(){var t=this;return dt(function*(){yield t.data.getData()})()}openDownload(){switch(function QJ(){let e=null;return navigator.userAgent.match(/edg/i)?e="edge":navigator.userAgent.match(/chrome|chromium|crios/i)&&!navigator.brave?.isBrave?.()?e="chrome":navigator.userAgent.match(/firefox|fxios/i)&&!navigator.brave?.isBrave?.()?e="firefox":navigator.userAgent.match(/safari/i)&&!navigator.brave?.isBrave?.()?e="safari":navigator.userAgent.match(/opr\//i)?e="opera":navigator.brave?.isBrave?.()&&(e="brave"),e}()){case"chrome":case"edge":case"brave":window.open("https://chromewebstore.google.com/detail/datamask/fnpipcojmcnkacpopfaomgplijfckdkm","_blank")?.focus();break;case"firefox":window.open("https://addons.mozilla.org/it/firefox/addon/datamask/","_blank")?.focus();break;case"safari":window.open("https://apps.apple.com/it/app/hudi-datamask/id1658381792","_blank")?.focus()}}static{this.\u0275fac=function(i){return new(i||e)(w(xt),w(QX))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-download"]],decls:11,vars:5,consts:[[1,"lg:h-screen","w-full","flex","flex-col","justify-center","items-center"],[1,"flex","flex-col","justify-center","items-center","lg:py-0","py-6","px-4","lg:px-0","w-full","lg:max-w-screen-xl","space-y-6","lg:space-y-24"],["class","text-[30px] lg:text-[40px] font-bold text-center leading-8",4,"ngIf"],[1,"w-full","flex","flex-col","lg:flex-row","justify-between","items-center"],[1,"w-full","lg:w-[50%]","flex","items-center","justify-center","px-o","lg:px-6"],[1,"text-base","lg:text-lg",3,"data","disableSanitizer"],["alt","",1,"w-full",3,"src"],[1,"btn","rounded-full","px-8","py-4",3,"click"],[1,"text-[30px]","lg:text-[40px]","font-bold","text-center","leading-8"]],template:function(i,r){1&i&&(h(0,"div",0)(1,"div",1),F(2,ZJ,2,1,"div",2),h(3,"div",3)(4,"div",4),_(5,"markdown",5),p(),h(6,"div",4),_(7,"img",6),p()(),h(8,"div")(9,"button",7),z("click",function(){return r.openDownload()}),f(10),p()()()()),2&i&&(b(2),M("ngIf",r.data.data),b(3),M("data",null==r.data.data.data[0]||null==r.data.data.data[0].attributes?null:r.data.data.data[0].attributes.list)("disableSanitizer",!0),b(2),M("src","https://content.humandataincome.com"+(null==r.data.data.data[0].attributes||null==r.data.data.data[0].attributes.img||null==r.data.data.data[0].attributes.img.data||null==r.data.data.data[0].attributes.img.data.attributes?null:r.data.data.data[0].attributes.img.data.attributes.url),Gt),b(3),pe(" ",null==r.data.data.data[0].attributes?null:r.data.data.data[0].attributes.action," "))},dependencies:[Sr,Jf],encapsulation:2})}}return e})();class JJ{}let eee=(()=>{class e{constructor(t){this.httpClient=t,this.data=new JJ}getData(){var t=this;return dt(function*(){try{const i=yield t.httpClient.get("https://content.humandataincome.com/api/offers?populate=*",{}).toPromise();if(i)return t.data=i}catch(i){return console.error("Error fetching data:",i),[]}})()}static{this.\u0275fac=function(i){return new(i||e)(x(Gi))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function tee(e,n){if(1&e&&(h(0,"div",8),f(1),p()),2&e){const t=I();b(),Dt(t.data.data.data[0].attributes.title)}}const nee=[{path:"",component:NQ},{path:"tos",component:VQ},{path:"privacy-policy",component:HQ},{path:"cookie-policy",component:BQ},{path:"goodbye",component:YQ},{path:"welcome",component:UQ},{path:"diamond",component:IX},{path:"download",component:XJ},{path:"offer",component:(()=>{class e{constructor(t,i){this.router=t,this.data=i}ngOnInit(){var t=this;return dt(function*(){yield t.data.getData(),console.log(t.data.data.data)})()}goToStripe(){window.open("https://buy.stripe.com/7sI4gSeR63WA74YbIK","_blank")}static{this.\u0275fac=function(i){return new(i||e)(w(xt),w(eee))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-offer"]],decls:11,vars:5,consts:[[1,"lg:h-screen","w-full","flex","flex-col","justify-center","items-center"],[1,"flex","flex-col","justify-center","items-center","lg:py-0","py-6","px-4","lg:px-0","w-full","lg:max-w-screen-xl","space-y-6","lg:space-y-24"],["class","text-[30px] lg:text-[40px] font-bold text-center leading-8",4,"ngIf"],[1,"w-full","flex","flex-col","lg:flex-row","justify-between","items-center"],[1,"w-full","lg:w-[50%]","flex","items-center","justify-center","px-o","lg:px-6"],[1,"text-base","lg:text-lg",3,"data","disableSanitizer"],["alt","",1,"w-full",3,"src"],[1,"btn","rounded-full","px-8","py-4",3,"click"],[1,"text-[30px]","lg:text-[40px]","font-bold","text-center","leading-8"]],template:function(i,r){1&i&&(h(0,"div",0)(1,"div",1),F(2,tee,2,1,"div",2),h(3,"div",3)(4,"div",4),_(5,"markdown",5),p(),h(6,"div",4),_(7,"img",6),p()(),h(8,"div")(9,"button",7),z("click",function(){return r.goToStripe()}),f(10),p()()()()),2&i&&(b(2),M("ngIf",r.data.data),b(3),M("data",null==r.data.data.data[0]||null==r.data.data.data[0].attributes?null:r.data.data.data[0].attributes.list)("disableSanitizer",!0),b(2),M("src","https://content.humandataincome.com"+(null==r.data.data.data[0].attributes||null==r.data.data.data[0].attributes.img||null==r.data.data.data[0].attributes.img.data||null==r.data.data.data[0].attributes.img.data.attributes?null:r.data.data.data[0].attributes.img.data.attributes.url),Gt),b(3),pe(" ",null==r.data.data.data[0].attributes?null:r.data.data.data[0].attributes.action," "))},dependencies:[Sr,Jf],encapsulation:2})}}return e})()},{path:"breach",component:RM,data:{title:"FREE Data Breach Report",description:"Has Your Email Been Compromised? Find Out Now \u2013 Get Your Free Data Breach Report!","og:url":"https://datamask.app/breach","og:type":"website","og:title":"FREE Data Breach Report","og:description":"Has Your Email Been Compromised? Find Out Now \u2013 Get Your Free Data Breach Report!","og:image":"https://datamask.app/assets/breach-cover.png","twitter:card":"summary","twitter:domain":"datamask.app","twitter:url":"https://datamask.app/breach","twitter:title":"FREE Data Breach Report","t
1witter:description":"Has Your Email Been Compromised? Find Out Now \u2013 Get Your Free Data Breach Report!","twitter:image":"https://datamask.app/assets/breach-cover-x.png"}},{path:"69",redirectTo:"99"},{path:"99",component:KX}];let iee=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[tu.forRoot(nee,{scrollPositionRestoration:"enabled",useHash:!1}),tu]})}}return e})(),ree=(()=>{class e{constructor(t,i,r,o){this.router=t,this.activatedRoute=i,this.meta=r,this.titleService=o}initializeMetaTags(){this.router.events.pipe(mt(t=>t instanceof Qi),ce(()=>this.activatedRoute),ce(t=>{for(;t.firstChild;)t=t.firstChild;return t}),ce(t=>t.snapshot.data)).subscribe(t=>{this.updateTitle(t.title),this.updateMetaTags(t)})}updateTitle(t){t&&this.titleService.setTitle(t)}updateMetaTags(t){t.description&&this.meta.updateTag({name:"description",content:t.description}),t["og:url"]&&this.meta.updateTag({property:"og:url",content:t["og:url"]}),t["og:type"]&&this.meta.updateTag({property:"og:type",content:t["og:type"]}),t["og:title"]&&this.meta.updateTag({property:"og:title",content:t["og:title"]}),t["og:description"]&&this.meta.updateTag({property:"og:description",content:t["og:description"]}),t["og:image"]&&this.meta.updateTag({property:"og:image",content:t["og:image"]}),t["twitter:card"]&&this.meta.updateTag({name:"twitter:card",content:t["twitter:card"]}),t["twitter:domain"]&&this.meta.updateTag({property:"twitter:domain",content:t["twitter:domain"]}),t["twitter:url"]&&this.meta.updateTag({property:"twitter:url",content:t["twitter:url"]}),t["twitter:title"]&&this.meta.updateTag({name:"twitter:title",content:t["twitter:title"]}),t["twitter:description"]&&this.meta.updateTag({name:"twitter:description",content:t["twitter:description"]}),t["twitter:image"]&&this.meta.updateTag({name:"twitter:image",content:t["twitter:image"]})}static{this.\u0275fac=function(i){return new(i||e)(x(xt),x(Mr),x(eb),x(xh))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),oee=(()=>{class e{constructor(t){this.metaService=t,this.title="datamask-web-landing"}ngOnInit(){this.metaService.initializeMetaTags()}static{this.\u0275fac=function(i){return new(i||e)(w(ree))}}static{this.\u0275cmp=ve({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,r){1&i&&_(0,"router-outlet")},dependencies:[Kh]})}}return e})();const ts=void 0,aee=["en",[["a","p"],["AM","PM"],ts],[["AM","PM"],ts,ts],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ts,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ts,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ts,"{1} 'at' {0}",ts],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function see(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];function nx(e){return new T(3e3,!1)}function mo(e){switch(e.length){case 0:return new e1;case 1:return e[0];default:return new PD(e)}}function ix(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),u=c==s,d=u&&a||new Map;l.forEach((m,g)=>{let v=g,y=m;if("offset"!==g)switch(v=e.normalizePropertyName(v,r),y){case"!":y=t.get(g);break;case Er:y=i.get(g);break;default:y=e.normalizeStyleValue(g,v,y,r)}d.set(v,y)}),u||o.push(d),a=d,s=c}),r.length)throw function zee(e){return new T(3502,!1)}();return o}function ep(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&tp(t,"start",e)));break;case"done":e.onDone(()=>i(t&&tp(t,"done",e)));break;
1case"destroy":e.onDestroy(()=>i(t&&tp(t,"destroy",e)))}}function tp(e,n,t){const o=np(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 np(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function ti(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function rx(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const Yee=typeof document>"u"?null:document.documentElement;function ip(e){const n=e.parentNode||e.host||null;return n===Yee?null:n}let ns=null,ox=!1;function sx(e,n){for(;n;){if(n===e)return!0;n=ip(n)}return!1}function ax(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let rp=(()=>{class e{validateStyleProperty(t){return function Uee(e){ns||(ns=function $ee(){return typeof document<"u"?document.body:null}()||{},ox=!!ns.style&&"WebkitAppearance"in ns.style);let n=!0;return ns.style&&!function jee(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in ns.style,!n&&ox&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in ns.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return sx(t,i)}getParentElement(t){return ip(t)}query(t,i,r){return ax(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new e1(r,o)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})();class op{static{this.NOOP=new rp}}class sp{}const Wee=1e3,ap="ng-enter",nd="ng-leave",id="ng-trigger",rd=".ng-trigger",cx="ng-animating",lp=".ng-animating";function kr(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:cp(parseFloat(n[1]),n[2])}function cp(e,n){return"s"===n?e*Wee:e}function od(e,n,t){return e.hasOwnProperty("duration")?e:function Kee(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(nx()),{duration:0,delay:0,easing:""};r=cp(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=cp(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 lee(){return new T(3100,!1)}()),a=!0),o<0&&(n.push(function cee(){return new T(3101,!1)}()),a=!0),a&&n.splice(l,0,nx())}return{duration:r,delay:o,easing:s}}(e,n,t)}function rr(e,n,t){n.forEach((i,r)=>{const o=dp(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function is(e,n){n.forEach((t,i)=>{const r=dp(i);e.style[r]=""})}function h1(e){return Array.isArray(e)?1==e.length?e[0]:function YG(e,n=null){return{type:ne.Sequence,steps:e,options:n}}(e):e}const up=new RegExp("{{\\s*(.+?)\\s*}}","g");function dx(e){let n=[];if("string"==typeof e){let t;for(;t=up.exec(e);)n.push(t[1]);up.lastIndex=0}return n}function f1(e,n,t){const i=`${e}`,r=i.replace(up,(o,s)=>{let a=n[s];return null==a&&(t.push(function dee(e){return new T(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const Xee=/-+([a-z0-9])/g;function dp(e){return e.replace(Xee,(...n)=>n[1].toUpperCase())}function ni(e,n,t){switch(n.type){case ne.Trigger:return e.visitTrigger(n,t);case ne.State:return e.visitState(n,t);case ne.Transition:return e.visitTransition(n,t);case ne.Sequence:return e.visitSequence(n,t);case ne.Group:return e.visitGroup(n,t);case ne.Animate:return e.visitAnimate(n,t);case ne.Keyframes:return e.visitKeyframes(n,t);case ne.Style:return e.visitStyle(n,t);case ne.Reference:return e.visitReference(n,t);case ne.AnimateChild:return e.visitAnimateChild(n,t);case ne.AnimateRef:return e.visitAnimateRef(n,t);case ne.Query:return e.visitQuery(n,t);case ne.Stagger:return e.visitStagger(n,t);default:throw function hee(e){return new T(3004,!1)}()}}function hp(e,n){return window.getComputedStyle(e)[n]}const tte=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 hx extends sp{normalizePropertyName(n,t){return dp(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(tte.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 fee(e,n){return new T(3005,!1)}())}return s+o}}const sd="*";const ad=new Set(["true","1"]),ld=new Set(["false","0"]);function fx(e,n){const t=ad.has(e)||ld.has(e),i=ad.has(n)||ld.has(n);return(r,o)=>{let s=e==sd||e==r,a=n==sd||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?ad.has(e):ld.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?ad.has(n):ld.has(n)),s&&a}}const ote=new RegExp("s*:selfs*,?","g");function fp(e,n,t,i){return new ste(e).build(n,t,i)}class ste{constructor(n){this._driver=n}build(n,t,i){const r=new cte(t);return this._resetContextStyleTimingState(r),ni(this,h1(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 pee(){return new T(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==ne.State){const l=a,c=l.name;
1c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==ne.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function mee(){return new T(3007,!1)}())}),{type:ne.Trigger,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=>{dx(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function gee(e,n){return new T(3008,!1)}(0,o.values()))}return{type:ne.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=ni(this,h1(n.animation),t),r=function nte(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function ite(e,n,t){if(":"==e[0]){const l=function rte(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 xee(e){return new T(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 Mee(e){return new T(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(fx(r,s)),"<"==o[0]&&(r!=sd||s!=sd)&&n.push(fx(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:ne.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:rs(n.options)}}visitSequence(n,t){return{type:ne.Sequence,steps:n.steps.map(i=>ni(this,i,t)),options:rs(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=ni(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:ne.Group,steps:o,options:rs(n.options)}}visitAnimate(n,t){const i=function dte(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return pp(od(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=pp(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=od(t,n);return pp(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:j({});if(o.type==ne.Keyframes)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=j(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:ne.Animate,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===Er?i.push(a):t.errors.push(new T(3002,!1)):i.push(new Map(Object.entries(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:ne.Style,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 yee(e,n,t,i,r){return new T(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),t.options&&function Qee(e,n,t){const i=n.params||{},r=dx(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function uee(e){return new T(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:ne.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function _ee(){return new T(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=n.steps.map(S=>{const D=this._makeStyleAst(S,t);let A=null!=D.offset?D.offset:function ute(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}(D.styles),L=0;return null!=A&&(o++,L=D.offset=A),l=l||L<0||L>
11,a=a||L<c,c=L,s.push(L),D});l&&t.errors.push(function wee(){return new T(3012,!1)}()),a&&t.errors.push(function bee(){return new T(3200,!1)}());const d=n.steps.length;let m=0;o>0&&o<d?t.errors.push(function Cee(){return new T(3202,!1)}()):0==o&&(m=1/(d-1));const g=d-1,v=t.currentTime,y=t.currentAnimateTimings,C=y.duration;return u.forEach((S,D)=>{const A=m>0?D==g?1:m*D:s[D],L=A*C;t.currentTime=v+y.delay+L,y.duration=L,this._validateStyleAst(S,t),S.offset=A,i.styles.push(S)}),i}visitReference(n,t){return{type:ne.Reference,animation:ni(this,h1(n.animation),t),options:rs(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:ne.AnimateChild,options:rs(n.options)}}visitAnimateRef(n,t){return{type:ne.AnimateRef,animation:this.visitReference(n.animation,t),options:rs(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function ate(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(ote,"")),e=e.replace(/@\*/g,rd).replace(/@\w+/g,t=>rd+"-"+t.slice(1)).replace(/:animating/g,lp),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,ti(t.collectedStyles,t.currentQuerySelector,new Map);const a=ni(this,h1(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:ne.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:rs(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function See(){return new T(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:od(n.timings,t.errors,!0);return{type:ne.Stagger,animation:ni(this,h1(n.animation),t),timings:i,options:null}}}class cte{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 rs(e){return e?(e={...e}).params&&(e.params=function lte(e){return e?{...e}:null}(e.params)):e={},e}function pp(e,n,t){return{duration:e,delay:n,easing:t}}function mp(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 cd{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 pte=new RegExp(":enter","g"),gte=new RegExp(":leave","g");function gp(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new vte).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class vte{buildKeyframes(n,t,i,r,o,s,a,l,c,u=[]){c=c||new cd;const d=new vp(n,t,c,r,o,u,[]);d.options=l;const m=l.delay?kr(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([s],null,d.errors,l),ni(this,i,d);const g=d.timelines.filter(v=>v.containsAnimation());if(g.length&&a.size){let v;for(let y=g.length-1;y>=0;y--){const C=g[y];if(C.element===t){v=C;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,d.errors,l)}return g.length?g.map(v=>v.buildKeyframes()):[mp(t,[],[],[],0,m,"",!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:kr(f1(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?kr(i.duration):null,a=null!=i.delay?kr(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),ni(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)){r.previousNode.type==ne.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ud);const s=kr(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ni(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?kr(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);
1o&&a.delayNextStep(o),ni(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 od(t.params?f1(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;o.type==ne.Keyframes?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?kr(r.delay):0;o&&(t.previousNode.type===ne.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ud);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),ni(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;ni(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const ud={};class vp{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=ud,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new dd(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=kr(i.duration)),null!=i.delay&&(r.delay=kr(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]=f1(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 vp(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=ud,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 yte(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(pte,"."+this._enterClassName)).replace(gte,"."+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 Dee(e){return new T(3014,!1)}()),a}}class dd{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=ne
1w 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 dd(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||Er),this._currentKeyframe.set(t,Er);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function _te(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Er)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=f1(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Er),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}
1mergeTimelineCollectedStyles(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=new Map([...this._backFill,...a]);c.forEach((u,d)=>{"!"===u?n.add(d):u===Er&&t.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return mp(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class yte extends dd{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=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",gx(a)),o.push(c);const u=n.length-1;for(let d=1;d<=u;d++){let m=new Map(n[d]);const g=m.get("offset");m.set("offset",gx((t+g*i)/s)),o.push(m)}i=s,t=0,r="",n=o}return mp(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function gx(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function vx(e,n,t,i,r,o,s,a,l,c,u,d,m){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:m}}const yp={};class yx{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function wte(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=[],m=this.ast.options&&this.ast.options.params||yp,v=this.buildStyles(i,a&&a.params||yp,d),y=l&&l.params||yp,C=this.buildStyles(r,y,d),S=new Set,D=new Map,A=new Map,L="void"===r,q={params:_x(y,m),delay:this.ast.options?.delay},oe=u?[]:gp(n,t,this.ast.animation,o,s,v,C,q,c,d);let fe=0;return oe.forEach(Be=>{fe=Math.max(Be.duration+Be.delay,fe)}),d.length?vx(t,this._triggerName,i,r,L,v,C,[],[],D,A,fe,d):(oe.forEach(Be=>{const we=Be.element,ft=ti(D,we,new Set);Be.preStyleProps.forEach(Ot=>ft.add(Ot));const Vn=ti(A,we,new Set);Be.postStyleProps.forEach(Ot=>Vn.add(Ot)),we!==t&&S.add(we)}),vx(t,this._triggerName,i,r,L,v,C,oe,[...S.values()],D,A,fe))}}function _x(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class bte{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=_x(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=f1(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class Ste{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 bte(r.style,r.options&&r.options.params||{},i))}),wx(this.states,"true","1"),wx(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new yx(n,r,this.states))}),this.fallbackTransition=function Dte(e,n,t){return new yx(e,{type:ne.Transition,animation:{type:ne.Sequence,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 wx(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 Mte=new cd;class xte{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=fp(this._driver,t,i,[]);if(i.length)throw function Iee(e){return new T(3503,!1)}();this._animations.set(n,o)}
1_buildPlayer(n,t,i){const r=n.element,o=ix(this._normalizer,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=gp(this._driver,t,o,ap,nd,new Map,new Map,i,Mte,r),s.forEach(u=>{const d=ti(a,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(r.push(function Aee(){return new T(3300,!1)}()),s=[]),r.length)throw function Pee(e){return new T(3504,!1)}();a.forEach((u,d)=>{u.forEach((m,g)=>{u.set(g,this._driver.computeStyle(d,g,Er))})});const c=mo(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 Oee(e){return new T(3301,!1)}();return t}listen(n,t,i,r){const o=np(t,"","","");return ep(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 bx="ng-animate-queued",_p="ng-animate-disabled",Ite=[],Cx={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ate={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pi="__ng_removed";class wp{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function Fte(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(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 p1="void",bp=new wp(p1);class Pte{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-"
1+n,ui(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function Ree(e,n){return new T(3302,!1)}();if(null==i||0==i.length)throw function Fee(e){return new T(3303,!1)}();if(!function Lte(e){return"start"==e||"done"==e}(i))throw function Lee(e,n){return new T(3400,!1)}();const o=ti(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=ti(this._engine.statesByElement,n,new Map);return a.has(t)||(ui(n,id),ui(n,id+"-"+t),a.set(t,bp)),()=>{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 Nee(e){return new T(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new Cp(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(ui(n,id),ui(n,id+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new wp(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=bp),c.value!==p1&&l.value===c.value){if(!function Hte(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 y=[],C=o.matchStyles(l.value,l.params,y),S=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{is(n,C),rr(n,S)})}return}const m=ti(this._engine.playersByElement,n,[]);m.forEach(y=>{y.namespaceId==this.id&&y.triggerName==t&&y.queued&&y.destroy()});let g=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!g){if(!r)return;g=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:g,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(ui(n,bx),s.onStart(()=>{qa(n,bx)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);const C=this._engine.playersByElement.get(n);if(C){let S=C.indexOf(s);S>=0&&C.splice(S,1)}}),this.players.push(s),m.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,rd,!0);i.forEach(r=>{if(r[Pi])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,p1,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&mo(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)||bp,u=new wp(p1),d=new Cp(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[Pi];(!o||o===Cx)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){ui(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>
1{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=np(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ep(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)}}class Ote{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=r,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=(o,s)=>{}}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 Pte(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){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_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(hd(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!hd(t))return;const o=t[Pi];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),ui(n,_p)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),qa(n,_p))}removeNode(n,t,i){if(hd(t)){this.scheduler?.notify();const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Pi]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return hd(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,rd,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,lp,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>
1{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 mo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Pi];if(t&&t.setForRemoval){if(n[Pi]=Cx,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(_p)&&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++)ui(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?mo(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Vee(e){return new T(3402,!1)}()}_flushAnimations(n,t){const i=new cd,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(V=>{u.add(V);const W=this.driver.query(V,".ng-animate-queued",!0);for(let K=0;K<W.length;K++)u.add(W[K])});const d=this.bodyNode,m=Array.from(this.statesByElement.keys()),g=Mx(m,this.collectedEnterElements),v=new Map;let y=0;g.forEach((V,W)=>{const K=ap+y++;v.set(W,K),V.forEach(Se=>ui(Se,K))});const C=[],S=new Set,D=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){const W=this.collectedLeaveElements[V],K=W[Pi];K&&K.setForRemoval&&(C.push(W),S.add(W),K.hasAnimation?this.driver.query(W,".ng-star-inserted",!0).forEach(Se=>S.add(Se)):D.add(W))}const A=new Map,L=Mx(m,Array.from(S));L.forEach((V,W)=>{const K=nd+y++;A.set(W,K),V.forEach(Se=>ui(Se,K))}),n.push(()=>{g.forEach((V,W)=>{const K=v.get(W);V.forEach(Se=>qa(Se,K))}),L.forEach((V,W)=>{const K=A.get(W);V.forEach(Se=>qa(Se,K))}),C.forEach(V=>{this.processLeaveNode(V)})});const q=[],oe=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].drainQueuedTransitions(t).forEach(K=>{const Se=K.player,qt=K.element;if(q.push(Se),this.collectedEnterElements.length){const fn=qt[Pi];if(fn&&fn.setForMove){if(fn.previousTriggersValues&&fn.previousTriggersValues.has(K.triggerName)){const os=fn.previousTriggersValues.get(K.triggerName),di=this.statesByElement.get(K.element);if(di&&di.has(K.triggerName)){const md=di.get(K.triggerName);md.value=os,di.set(K.triggerName,md)}}return void Se.destroy()}}const sr=!d||!this.driver.containsElement(d,qt),ii=A.get(qt),go=v.get(qt),ut=this._buildInstruction(K,i,go,ii,sr);if(ut.errors&&ut.errors.length)return void oe.push(ut);if(sr)return Se.onStart(()=>is(qt,ut.fromStyles)),Se.onDestroy(()=>rr(qt,ut.toStyles)),void r.push(Se);if(K.isFallbackTransition)return Se.onStart(()=>is(qt,ut.fromStyles)),Se.onDestroy(()=>rr(qt,ut.toStyles)),void r.push(Se);const Hx=[];ut.timelines.forEach(fn=>{fn.stretchStartingKeyframe=!0,this.disabledNodes.has(fn.element)||Hx.push(fn)}),ut.timelines=Hx,i.append(qt,ut.timelines),s.push({instruction:ut,player:Se,element:qt}),ut.queriedElements.forEach(fn=>ti(a,fn,[]).push(Se)),ut.preStyleProps.forEach((fn,os)=>{if(fn.size){let di=l.get(os);di||l.set(os,di=new Set),fn.forEach((md,xp)=>di.add(xp))}}),ut.postStyleProps.forEach((fn,os)=>{let di=c.get(os);di||c.set(os,di=new Set),fn.forEach((md,xp)=>di.add(xp))})});if(oe.length){const V=[];oe.forEach(W=>{V.push(function Hee(e,n){return new T(3505,!1)}())}),q.forEach(W=>
1W.destroy()),this.reportError(V)}const fe=new Map,Be=new Map;s.forEach(V=>{const W=V.element;i.has(W)&&(Be.set(W,W),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,fe))}),r.forEach(V=>{const W=V.element;this._getPreviousPlayers(W,!1,V.namespaceId,V.triggerName,null).forEach(Se=>{ti(fe,W,[]).push(Se),Se.destroy()})});const we=C.filter(V=>Tx(V,l,c)),ft=new Map;Dx(ft,this.driver,D,c,Er).forEach(V=>{Tx(V,l,c)&&we.push(V)});const Ot=new Map;g.forEach((V,W)=>{Dx(Ot,this.driver,new Set(V),l,"!")}),we.forEach(V=>{const W=ft.get(V),K=Ot.get(V);ft.set(V,new Map([...W?.entries()??[],...K?.entries()??[]]))});const or=[],zr=[],Ir={};s.forEach(V=>{const{element:W,player:K,instruction:Se}=V;if(i.has(W)){if(u.has(W))return K.onDestroy(()=>rr(W,Se.toStyles)),K.disabled=!0,K.overrideTotalTime(Se.totalTime),void r.push(K);let qt=Ir;if(Be.size>1){let ii=W;const go=[];for(;ii=ii.parentNode;){const ut=Be.get(ii);if(ut){qt=ut;break}go.push(ii)}go.forEach(ut=>Be.set(ut,qt))}const sr=this._buildAnimation(K.namespaceId,Se,fe,o,Ot,ft);if(K.setRealPlayer(sr),qt===Ir)or.push(K);else{const ii=this.playersByElement.get(qt);ii&&ii.length&&(K.parentPlayer=mo(ii)),r.push(K)}}else is(W,Se.fromStyles),K.onDestroy(()=>rr(W,Se.toStyles)),zr.push(K),u.has(W)&&r.push(K)}),zr.forEach(V=>{const W=o.get(V.element);if(W&&W.length){const K=mo(W);V.setRealPlayer(K)}}),r.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<C.length;V++){const W=C[V],K=W[Pi];if(qa(W,nd),K&&K.hasAnimation)continue;let Se=[];if(a.size){let sr=a.get(W);sr&&sr.length&&Se.push(...sr);let ii=this.driver.query(W,lp,!0);for(let go=0;go<ii.length;go++){let ut=a.get(ii[go]);ut&&ut.length&&Se.push(...ut)}}const qt=Se.filter(sr=>!sr.destroyed);qt.length?Nte(this,W,qt):this.processLeaveNode(W)}return C.length=0,or.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();const W=this.players.indexOf(V);this.players.splice(W,1)}),V.play()}),or}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==p1;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=ti(i,c,[]);this._getPreviousPlayers(c,u,s,a,t.toState).forEach(g=>{const v=g.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),g.destroy(),d.push(g)})}is(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,m=t.timelines.map(v=>{const y=v.element;u.add(y);const C=y[Pi];if(C&&C.removedBeforeQueried)return new e1(v.duration,v.delay);const S=y!==l,D=function Vte(e){const n=[];return xx(e,n),n}((i.get(y)||Ite).map(fe=>fe.getRealPlayer())).filter(fe=>!!fe.element&&fe.element===y),A=o.get(y),L=s.get(y),q=ix(this._normalizer,v.keyframes,A,L),oe=this._buildPlayer(v,q,D);if(v.subTimeline&&r&&d.add(y),S){const fe=new Cp(n,a,y);fe.setRealPlayer(oe),c.push(fe)}return oe});c.forEach(v=>{ti(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function Rte(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,v.element,v))}),u.forEach(v=>ui(v,cx));const g=mo(m);return g.onDestroy(()=>{u.forEach(v=>qa(v,cx)),rr(l,t.toStyles)}),d.forEach(v=>{ti(r,v,[]).push(g)}),g}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new e1(n.duration,n.delay)}}class Cp{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new e1,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,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=>ep(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){ti(this._queuedCallbacks,n,[]).push(t)}
1onDone(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 hd(e){return e&&1===e.nodeType}function Sx(e,n){const t=e.style.display;return e.style.display=n??"none",t}function Dx(e,n,t,i,r){const o=[];t.forEach(l=>o.push(Sx(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const m=n.computeStyle(c,d,r);u.set(d,m),(!m||0==m.length)&&(c[Pi]=Ate,s.push(c))}),e.set(c,u)});let a=0;return t.forEach(l=>Sx(l,o[a++])),s}function Mx(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 ui(e,n){e.classList?.add(n)}function qa(e,n){e.classList?.remove(n)}function Nte(e,n,t){mo(t).onDone(()=>e.processLeaveNode(n))}function xx(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof PD?xx(i.players,n):n.push(i)}}function Tx(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 m1{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new Ote(n.body,t,i,r),this._timelineEngine=new xte(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=fp(this._driver,o,l,[]);if(l.length)throw function kee(e,n){return new T(3404,!1)}();a=function Cte(e,n,t){return new Ste(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){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=rx(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]=rx(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,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class g1{static{this.initialStylesByElement=new WeakMap}constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=g1.initialStylesByElement.get(n);r||g1.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&rr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rr(this._element,this._initialStyles),this._endStyles&&(rr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g1.initialStylesByElement.delete(this._element),this._startStyles&&(is(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(is(this._element,this._endStyles),this._endStyles=null),rr(this._element,this._initialStyles),this._state=3)}}function Sp(e){let n=null;return e.forEach((t,i)=>{(function Yte(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class Ex{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;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];
1return 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??0)/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:hp(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class kx{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return sx(n,t)}getParentElement(n){return ip(n)}query(n,t,i){return ax(n,t,i)}computeStyle(n,t,i){return hp(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(g=>g instanceof Ex);(function Jee(e,n){return 0===e||0===n})(i,r)&&u.forEach(g=>{g.currentSnapshot.forEach((v,y)=>c.set(y,v))});let d=function Zee(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(g=>new Map(g));d=function ete(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,hp(e,a)))}}return n}(n,d,c);const m=function Bte(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Sp(n[0]),n.length>1&&(i=Sp(n[n.length-1]))):n instanceof Map&&(t=Sp(n)),t||i?new g1(e,t,i):null}(n,d);return new Ex(n,d,l,m)}}const zx="@.disabled";class Ix{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{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)}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==zx?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 jte extends Ix{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==zx?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 Ute(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 $te(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)}}class qte{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let u=c.get(r);return u||(u=new Ix("",r,this.engine,()=>c.delete(r)),c.set(r,u)),u}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>
1{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new jte(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}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()}}const Ax=[{provide:sp,useFactory:function Gte(){return new hx}},{provide:m1,useClass:(()=>{class e extends m1{constructor(t,i,r){super(t,i,r,k(P4,{optional:!0}))}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||e)(x(ye),x(op),x(sp))}}static{this.\u0275prov=O({token:e,factory:e.\u0275fac})}}return e})()},{provide:Nl,useFactory:function Kte(e,n,t){return new qte(e,n,t)},deps:[Sh,m1,J]}],Dp=[{provide:op,useFactory:()=>new kx},{provide:Es,useValue:"BrowserAnimations"},...Ax],Px=[{provide:op,useClass:rp},{provide:Es,useValue:"NoopAnimations"},...Ax];let Zte=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?Px:Dp}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({providers:Dp,imports:[Jw]})}}return e})(),Ox=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ye({type:e});static \u0275inj=Le({})}return e})();class v1{static isArray(n,t=!0){return Array.isArray(n)&&(t||0!==n.length)}static isObject(n,t=!0){return"object"==typeof n&&!Array.isArray(n)&&null!=n&&(t||0!==Object.keys(n).length)}static equals(n,t,i){return i?this.resolveFieldData(n,i)===this.resolveFieldData(t,i):this.equalsByValue(n,t)}static equalsByValue(n,t){if(n===t)return!0;if(n&&t&&"object"==typeof n&&"object"==typeof t){var o,s,a,i=Array.isArray(n),r=Array.isArray(t);if(i&&r){if((s=n.length)!=t.length)return!1;for(o=s;0!=o--;)if(!this.equalsByValue(n[o],t[o]))return!1;return!0}if(i!=r)return!1;var l=this.isDate(n),c=this.isDate(t);if(l!=c)return!1;if(l&&c)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var m=Object.keys(n);if((s=m.length)!==Object.keys(t).length)return!1;for(o=s;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,m[o]))return!1;for(o=s;0!=o--;)if(!this.equalsByValue(n[a=m[o]],t[a]))return!1;return!0}return n!=n&&t!=t}static resolveFieldData(n,t){if(n&&t){if(this.isFunction(t))return t(n);if(-1==t.indexOf("."))return n[t];{let i=t.split("."),r=n;for(let o=0,s=i.length;o<s;++o){if(null==r)return null;r=r[i[o]]}return r}}return null}static isFunction(n){return!!(n&&n.constructor&&n.call&&n.apply)}static reorderArray(n,t,i){n&&t!==i&&(i>=n.length&&(i%=n.length,t%=n.length),n.splice(i,0,n.splice(t,1)[0]))}static insertIntoOrderedArray(n,t,i,r){if(i.length>0){let o=!1;for(let s=0;s<i.length;s++)if(this.findIndexInList(i[s],r)>t){i.splice(s,0,n),o=!0;break}o||i.push(n)}else i.push(n)}static findIndexInList(n,t){let i=-1;if(t)for(let r=0;r<t.length;r++)if(t[r]==n){i=r;break}return i}static contains(n,t){if(null!=n&&t&&t.length)for(let i of t)if(this.equals(n,i))return!0;return!1}static removeAccents(n){return n&&(n=n.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),n}static isDate(n){return"[object Date]"===Object.prototype.toString.call(n)}static isEmpty(n){return null==n||""===n||Array.isArray(n)&&0===n.length||!this.isDate(n)&&"object"==typeof n&&0===Object.keys(n).length}static isNotEmpty(n){return!this.isEmpty(n)}static compare(n,t,i,r=1){let o=-1;const s=this.isEmpty(n),a=this.isEmpty(t);return o=s&&a?0:s?r:a?-r:"string"==typeof n&&"string"==typeof t?n.localeCompare(t,i,{numeric:!0}):n<t?-1:n>t?1:0,o}static sort(n,t,i=1,r,o=1){const s=v1.compare(n,t,r,i);let a=i;return(v1.isEmpty(n)||v1.isEmpty(t))&&(a=1===o?i:o),a*s}static merge(n,t){if(null!=n||null!=t)return null!=n&&"object"!=typeof n||null!=t&&"object"!=typeof t?null!=n&&"string"!=typeof n||null!=t&&"string"!=typeof t?t||n:[n||"",t||""].join(" "):{...n||{},...t||{}}}static isPrintableCharacter(n=""){return this.isNotEmpty(n)&&1===n.length&&n.match(/\S| /)}
1static getItemValue(n,...t){return this.isFunction(n)?n(...t):n}static findLastIndex(n,t){let i=-1;if(this.isNotEmpty(n))try{i=n.findLastIndex(t)}catch{i=n.lastIndexOf([...n].reverse().find(t))}return i}static findLast(n,t){let i;if(this.isNotEmpty(n))try{i=n.findLast(t)}catch{i=[...n].reverse().find(t)}return i}static deepEquals(n,t){if(n===t)return!0;if(n&&t&&"object"==typeof n&&"object"==typeof t){var o,s,a,i=Array.isArray(n),r=Array.isArray(t);if(i&&r){if((s=n.length)!=t.length)return!1;for(o=s;0!=o--;)if(!this.deepEquals(n[o],t[o]))return!1;return!0}if(i!=r)return!1;var l=n instanceof Date,c=t instanceof Date;if(l!=c)return!1;if(l&&c)return n.getTime()==t.getTime();var u=n instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return n.toString()==t.toString();var m=Object.keys(n);if((s=m.length)!==Object.keys(t).length)return!1;for(o=s;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,m[o]))return!1;for(o=s;0!=o--;)if(!this.deepEquals(n[a=m[o]],t[a]))return!1;return!0}return n!=n&&t!=t}}!function Xte(){let e=[];const r=o=>o&&parseInt(o.style.zIndex,10)||0}();const Jte=["*"];let pd=(()=>{class e{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const t=v1.isEmpty(this.label);this.role=t?void 0:"img",this.ariaLabel=t?void 0:this.label,this.ariaHidden=t}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=ve({type:e,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:[Q.HasDecoratorInputTransform,"spin","spin",Rn],styleClass:"styleClass"},standalone:!0,features:[Wr,It],ngContentSelectors:Jte,decls:1,vars:0,template:function(i,r){1&i&&(Lo(),Qr(0))},encapsulation:2,changeDetection:0})}return e})(),ene=(()=>{class e extends pd{static \u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})();static \u0275cmp=ve({type:e,selectors:[["ChevronDownIcon"]],standalone:!0,features:[de,It],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(i,r){1&i&&(Ke(),h(0,"svg",0),_(1,"path",1),p()),2&i&&(Ro(r.getClassNames()),nt("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return e})(),tne=(()=>{class e extends pd{static \u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})();static \u0275cmp=ve({type:e,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[de,It],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,r){1&i&&(Ke(),h(0,"svg",0),_(1,"path",1),p()),2&i&&(Ro(r.getClassNames()),nt("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return e})(),nne=(()=>{class e extends pd{static \u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})();static \u0275cmp=ve({type:e,selectors:[["ChevronRightIcon"]],standalone:!0,features:[de,It],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,r){1&i&&(Ke(),h(0,"svg",0),_(1,"path",1),p()),2&i&&(Ro(r.getClassNames()),nt("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return e})(),ine=(()=>{class e extends pd{static \u0275fac=(()=>{let t;return function(r){return(t||(t=ht(e)))(r||e)}})();static \u0275cmp=ve({type:e,selectors:[["ChevronUpIcon"]],standalone:!0,features:[de,It],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,r){1&i&&(Ke(),h(0,"svg",0),_(1,"path",1),p()),2&i&&(Ro(r.getClassNames()),nt("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return e})(),rne=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ye({type:e});static \u0275inj=Le({})}return e})(),Tne=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ye({type:e});static \u0275inj=Le({imports:[fa,Ox,rne,nne,tne,ene,ine,fa,Ox]})}return e})(),Lx=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[fa,NZ,z6,tu]})}}return e})();const Ene=e=>({$implicit:e});function kne(e,n){1&e&&_(0,"span",4),2&e&&M("nzType",I(3).icon)}function zne(e,n){if(1&e&&(Gn(0),f(1),Kn()),2&e){const t=n.$implicit,i=I(4);b(),pe(" ",t(i.nzPercent)," ")}}function Ine(e,n){if(1&e&&F(0,zne,2,1,"ng-container",5),2&e){const t=I(3);
1M("nzStringTemplateOutlet",t.formatter)("nzStringTemplateOutletContext",function ey(e,n,t,i){return iy(E(),gn(),e,n,t,i)}(2,Ene,t.nzPercent))}}function Ane(e,n){if(1&e&&(h(0,"span",3),F(1,kne,1,1,"span",4)(2,Ine,1,4),p()),2&e){const t=I(2);b(),St(1,"exception"!==t.status&&"success"!==t.status||t.nzFormat?2:1)}}function Pne(e,n){1&e&&F(0,Ane,3,1,"span",3),2&e&&St(0,I().nzShowInfo?0:-1)}function One(e,n){1&e&&_(0,"div",7),2&e&&M("ngStyle",n.$implicit)}function Rne(e,n){}function Fne(e,n){if(1&e&&(h(0,"div",6),Ql(1,One,1,1,"div",7,Zl),F(3,Rne,0,0,"ng-template",8),p()),2&e){const t=I(2),i=oa(1);b(),Xl(t.steps),b(2),M("ngTemplateOutlet",i)}}function Lne(e,n){if(1&e&&_(0,"div",13),2&e){const t=I(3);Si("width",t.nzSuccessPercent,"%")("border-radius","round"===t.nzStrokeLinecap?"100px":"0")("height",t.strokeWidth,"px")}}function Nne(e,n){}function Vne(e,n){if(1&e&&(h(0,"div",9)(1,"div",10),_(2,"div",11),F(3,Lne,1,6,"div",12),p()(),F(4,Nne,0,0,"ng-template",8)),2&e){const t=I(2),i=oa(1);b(2),Si("width",t.nzPercent,"%")("border-radius","round"===t.nzStrokeLinecap?"100px":"0")("background",t.isGradient?null:t.nzStrokeColor)("background-image",t.isGradient?t.lineGradient:null)("height",t.strokeWidth,"px"),b(),St(3,t.nzSuccessPercent||0===t.nzSuccessPercent?3:-1),b(),M("ngTemplateOutlet",i)}}function Hne(e,n){if(1&e&&(h(0,"div"),F(1,Fne,4,1,"div",6)(2,Vne,5,12),p()),2&e){const t=I();b(),St(1,t.isSteps?1:2)}}function Bne(e,n){if(1&e&&(Ke(),_(0,"stop")),2&e){const t=n.$implicit;nt("offset",t.offset)("stop-color",t.color)}}function Yne(e,n){if(1&e&&(Ke(),h(0,"defs")(1,"linearGradient",17),Ql(2,Bne,1,2,":svg:stop",null,Zl),p()()),2&e){const t=I(2);b(),M("id","gradient-"+t.gradientId),b(),Xl(t.circleGradient)}}function jne(e,n){if(1&e&&(Ke(),_(0,"path",16)),2&e){const t=n.$implicit,i=I(2);M("ngStyle",t.strokePathStyle),nt("d",i.pathString)("stroke-linecap",i.nzStrokeLinecap)("stroke",t.stroke)("stroke-width",i.nzPercent?i.strokeWidth:0)}}function Une(e,n){}function $ne(e,n){if(1&e&&(h(0,"div",10),Ke(),h(1,"svg",14),F(2,Yne,4,1,":svg:defs"),_(3,"path",15),Ql(4,jne,1,5,":svg:path",16,Zl),p(),F(6,Une,0,0,"ng-template",8),p()),2&e){const t=I(),i=oa(1);Si("width",t.nzWidth,"px")("height",t.nzWidth,"px")("font-size",.15*t.nzWidth+6,"px"),Zt("ant-progress-circle-gradient",t.isGradient),b(2),St(2,t.isGradient?2:-1),b(),M("ngStyle",t.trailPathStyle),nt("stroke-width",t.strokeWidth)("d",t.pathString),b(),Xl(t.progressCirclePath),b(2),M("ngTemplateOutlet",i)}}const Nx=e=>{let n=[];return Object.keys(e).forEach(t=>{const i=e[t],r=function qne(e){return+e.replace("%","")}(t);isNaN(r)||n.push({key:r,value:i})}),n=n.sort((t,i)=>t.key-i.key),n};let Kne=0;const Vx="progress",Zne=new Map([["success","check"],["exception","close"]]),Qne=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),Xne=e=>`${e}%`;let Jne=(()=>{class e{get formatter(){return this.nzFormat||Xne}get status(){return this.nzStatus||this.inferredStatus}get strokeWidth(){return this.nzStrokeWidth||("line"===this.nzType&&"small"!==this.nzSize?8:6)}get isCircleStyle(){return"circle"===this.nzType||"dashboard"===this.nzType}constructor(t,i,r){this.cdr=t,this.nzConfigService=i,this.directionality=r,this._nzModuleName=Vx,this.nzShowInfo=!0,this.nzWidth=132,this.nzStrokeColor=void 0,this.nzSize="default",this.nzPercent=0,this.nzStrokeWidth=void 0,this.nzGapDegree=void 0,this.nzType="line",this.nzGapPosition="top",this.nzStrokeLinecap="round",this.nzSteps=0,this.steps=[],this.lineGradient=null,this.isGradient=!1,this.isSteps=!1,this.gradientId=Kne++,this.progressCirclePath=[],this.trailPathStyle=null,this.dir="ltr",this.cachedStatus="normal",this.inferredStatus="normal",this.destroy$=new N}ngOnChanges(t){const{nzSteps:i,nzGapPosition:r,nzStrokeLinecap:o,nzStrokeColor:s,nzGapDegree:a,nzType:l,nzStatus:c,nzPercent:u,nzSuccessPercent:d,nzStrokeWidth:m}=t;c&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(u||d)&&(parseInt(this.nzPercent.toString(),10)>=100?(Tu(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||void 0===this.nzSuccessPercent)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(c||u||d||s)&&this.updateIcon(),s&&this.setStrokeColor(),(r||o||a||l||u||s||s)&&this.getCirclePaths(),(u||i||m)&&(this.isSteps=this.nzSteps>
10,this.isSteps&&this.getSteps())}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent(Vx).pipe(rt(this.destroy$)).subscribe(()=>{this.updateIcon(),this.setStrokeColor(),this.getCirclePaths()}),this.directionality.change?.pipe(rt(this.destroy$)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateIcon(){const t=Zne.get(this.status);this.icon=t?t+(this.isCircleStyle?"-o":"-circle-fill"):""}getSteps(){const t=Math.floor(this.nzSteps*(this.nzPercent/100)),i="small"===this.nzSize?2:14,r=[];for(let o=0;o<this.nzSteps;o++){let s;o<=t-1&&(s=this.nzStrokeColor),r.push({backgroundColor:`${s}`,width:`${i}px`,height:`${this.strokeWidth}px`})}this.steps=r}getCirclePaths(){if(!this.isCircleStyle)return;const t=Tu(this.nzSuccessPercent)?[this.nzSuccessPercent,this.nzPercent]:[this.nzPercent],i=50-this.strokeWidth/2,o=2*Math.PI*i,s=this.nzGapDegree||("circle"===this.nzType?0:75);let a=0,l=-i,c=0,u=-2*i;switch(this.nzGapPosition||("circle"===this.nzType?"top":"bottom")){case"left":a=-i,l=0,c=2*i,u=0;break;case"right":a=i,l=0,c=-2*i,u=0;break;case"bottom":l=i,u=2*i}this.pathString=`M 50,50 m ${a},${l}\n       a ${i},${i} 0 1 1 ${c},${-u}\n       a ${i},${i} 0 1 1 ${-c},${u}`,this.trailPathStyle={strokeDasharray:`${o-s}px ${o}px`,strokeDashoffset:`-${s/2}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"},this.progressCirclePath=t.map((d,m)=>{const g=2===t.length&&0===m;return{stroke:this.isGradient&&!g?`url(#gradient-${this.gradientId})`:null,strokePathStyle:{stroke:this.isGradient?null:g?Qne.get("success"):this.nzStrokeColor,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s",strokeDasharray:`${(d||0)/100*(o-s)}px ${o}px`,strokeDashoffset:`-${s/2}px`}}}).reverse()}setStrokeColor(){const t=this.nzStrokeColor,i=this.isGradient=!!t&&"string"!=typeof t;i&&!this.isCircleStyle?this.lineGradient=(e=>{const{from:n="#1890ff",to:t="#1890ff",direction:i="to right",...r}=e;return 0!==Object.keys(r).length?`linear-gradient(${i}, ${Nx(r).map(({key:s,value:a})=>`${a} ${s}%`).join(", ")})`:`linear-gradient(${i}, ${n}, ${t})`})(t):i&&this.isCircleStyle?this.circleGradient=(e=>Nx(this.nzStrokeColor).map(({key:n,value:t})=>({offset:`${n}%`,color:t})))():(this.lineGradient=null,this.circleGradient=[])}static{this.\u0275fac=function(i){return new(i||e)(w(Qt),w(ho),w(Va,8))}}static{this.\u0275cmp=ve({type:e,selectors:[["nz-progress"]],inputs:{nzShowInfo:"nzShowInfo",nzWidth:"nzWidth",nzStrokeColor:"nzStrokeColor",nzSize:"nzSize",nzFormat:"nzFormat",nzSuccessPercent:"nzSuccessPercent",nzPercent:"nzPercent",nzStrokeWidth:"nzStrokeWidth",nzGapDegree:"nzGapDegree",nzStatus:"nzStatus",nzType:"nzType",nzGapPosition:"nzGapPosition",nzStrokeLinecap:"nzStrokeLinecap",nzSteps:"nzSteps"},exportAs:["nzProgress"],standalone:!0,features:[yt,It],decls:5,vars:17,consts:[["progressInfoTemplate",""],[3,"ngClass"],[1,"ant-progress-inner",3,"width","height","fontSize","ant-progress-circle-gradient"],[1,"ant-progress-text"],["nz-icon","",3,"nzType"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-progress-steps-outer"],[1,"ant-progress-steps-item",3,"ngStyle"],[3,"ngTemplateOutlet"],[1,"ant-progress-outer"],[1,"ant-progress-inner"],[1,"ant-progress-bg"],[1,"ant-progress-success-bg",3,"width","border-radius","height"],[1,"ant-progress-success-bg"],["viewBox","0 0 100 100",1,"ant-progress-circle"],["stroke","#f3f3f3","fill-opacity","0",1,"ant-progress-circle-trail",3,"ngStyle"],["fill-opacity","0",1,"ant-progress-circle-path",3,"ngStyle"],["x1","100%","y1","0%","x2","0%","y2","0%",3,"id"]],template:function(i,r){1&i&&(F(0,Pne,1,1,"ng-template",null,0,s2),h(2,"div",1),F(3,Hne,3,1,"div")(4,$ne,7,13,"div",2),p()),2&i&&(b(2),Zt("ant-progress-line","line"===r.nzType)("ant-progress-small","small"===r.nzSize)("ant-progress-default","default"===r.nzSize)("ant-progress-show-info",r.nzShowInfo)("ant-progress-circle",r.isCircleStyle)("ant-progress-steps",r.isSteps)("ant-progress-rtl","rtl"===r.dir),M("ngClass","ant-progress ant-progress-status-"+r.status),b(),St(3,"line"===r.nzType?3:-1),b(),St(4,r.isCircleStyle?4:-1))},dependencies:[Jc,Ba,ja,Ya,da,nh,ha],encapsulation:2,changeDetection:0})}}return Ce([fo()],e.prototype,"nzShowInfo",void 0),Ce([fo()],e.prototype,"nzStrokeColor",void 0),Ce([fo()],e.prototype,"nzSize",void 0),Ce([Xc()],e.prototype,"nzSuccessPercent",void 0),Ce([Xc()],e.prototype,"nzPercent",void 0),Ce([fo(),Xc()],e.prototype,"nzStrokeWidth",void 0),Ce([fo(),Xc()],e.prototype,"nzGapDegree",void 0),Ce([fo()],e.prototype,"nzGapPosition",void 0),Ce([fo()],e.prototype,"nzStrokeLinecap",void 0),Ce([Xc()],e.prototype,"nzSteps",void 0),e})(),eie=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[Jne]})}}return e})(),tie=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e})}static{this.\u0275inj=Le({imports:[fa,tu.forChild([{path:"",pathMatch:"full",component:RM}]),z6,Lx,eie]})}}return e})();!function gV(e,n,t){(function HO(e,n,t){"string"!=typeof n&&(t=n,n=e[Qe.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),na[n]=e,t&&(na[n][Qe.ExtraData]=t)})(e,n,t)}(aee);let nie=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=Ye({type:e,bootstrap:[oee]})}static{this.\u0275inj=Le({providers:[{provide:Pf,useValue:YD},dY(),ex({loader:Gi})],imports:[Jw,iee,IB,H$,Zte,Tne,Lx,z6,tie,KJ.forRoot()]})}}return e})();rY().bootstrapModule(nie).catch(e=>console.error(e))},512:function(Wa){Wa.exports=function(){"use strict";function Ar(Mn){for(var Ue=1;Ue<arguments.length;Ue++){var hi=arguments[Ue];for(var ar in hi)Mn[ar]=hi[ar]}return Mn}var dt=function Or(Mn,Ue){function hi(ot,ie,Rt){if(!(typeof document>"u")){"number"==typeof(Rt=Ar({},Ue,Rt)).expires&&(Rt.expires=new Date(Date.now()+864e5*Rt.expires)),Rt.expires&&(Rt.expires=Rt.expires.toUTCString()),ot=encodeURIComponent(ot).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var lr="";for(var Rr in Rt)Rt[Rr]&&(lr+="; "+Rr,!0!==Rt[Rr]&&(lr+="="+Rt[Rr].split(";")[0]));return document.cookie=ot+"="+Mn.write(ie,ot)+lr}}return Object.create({set:hi,get:function ar(ot){if(!(typeof document>"u"||arguments.length&&!ot)){for(var ie=document.cookie?document.cookie.split("; "):[],Rt={},lr=0;lr<ie.length;lr++){var Rr=ie[lr].split("="),y1=Rr.slice(1).join("=");try{var vo=decodeURIComponent(Rr[0]);if(Rt[vo]=Mn.read(y1,vo),ot===vo)break}catch{}}return ot?Rt[ot]:Rt}},remove:function(ot,ie){hi(ot,"",Ar({},ie,{expires:-1}))},withAttributes:function(ot){return Or(this.converter,Ar({},this.attributes,ot))},withConverter:function(ot){return Or(Ar({},this.converter,ot),this.attributes)}},{attributes:{value:Object.freeze(Ue)},converter:{value:Object.freeze(Mn)}})}({read:function(Mn){return'"'===Mn[0]&&(Mn=Mn.slice(1,-1)),Mn.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(Mn){return encodeURIComponent(Mn).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return dt}()}},Wa=>{Wa(Wa.s=954)}]);

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.