commit 68c1143d3f76e3286e2a37c8f784411bfe0d5243 Author: Rutra Date: Wed Feb 25 13:50:10 2026 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..15a2bf8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ + +# Environment variables +.env + + +# IDE files +.vscode/ diff --git a/assets/icons/clock.png b/assets/icons/clock.png new file mode 100644 index 0000000..1d851c2 Binary files /dev/null and b/assets/icons/clock.png differ diff --git a/assets/icons/code-svgrepo-com.svg b/assets/icons/code-svgrepo-com.svg new file mode 100644 index 0000000..5e33f50 --- /dev/null +++ b/assets/icons/code-svgrepo-com.svg @@ -0,0 +1,44 @@ + + + + + + + + diff --git a/assets/icons/invader.png b/assets/icons/invader.png new file mode 100644 index 0000000..4e02919 Binary files /dev/null and b/assets/icons/invader.png differ diff --git a/assets/icons/note_music.png b/assets/icons/note_music.png new file mode 100644 index 0000000..c2cc158 Binary files /dev/null and b/assets/icons/note_music.png differ diff --git a/assets/icons/server-minimalistic-svgrepo-com.svg b/assets/icons/server-minimalistic-svgrepo-com.svg new file mode 100644 index 0000000..7b0272b --- /dev/null +++ b/assets/icons/server-minimalistic-svgrepo-com.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + diff --git a/assets/icons/trashcan.png b/assets/icons/trashcan.png new file mode 100644 index 0000000..3c9a281 Binary files /dev/null and b/assets/icons/trashcan.png differ diff --git a/assets/icons/video-frame-play-vertical-svgrepo-com.svg b/assets/icons/video-frame-play-vertical-svgrepo-com.svg new file mode 100644 index 0000000..be3f12e --- /dev/null +++ b/assets/icons/video-frame-play-vertical-svgrepo-com.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + diff --git a/assets/icons/youtube-svgrepo-com.svg b/assets/icons/youtube-svgrepo-com.svg new file mode 100644 index 0000000..19fe607 --- /dev/null +++ b/assets/icons/youtube-svgrepo-com.svg @@ -0,0 +1,51 @@ + + + + + + + + + diff --git a/assets/images/agility.gif b/assets/images/agility.gif new file mode 100644 index 0000000..ba51583 Binary files /dev/null and b/assets/images/agility.gif differ diff --git a/assets/images/charisma.gif b/assets/images/charisma.gif new file mode 100644 index 0000000..71b67c4 Binary files /dev/null and b/assets/images/charisma.gif differ diff --git a/assets/images/endurance.gif b/assets/images/endurance.gif new file mode 100644 index 0000000..a1caadd Binary files /dev/null and b/assets/images/endurance.gif differ diff --git a/assets/images/intelligence.gif b/assets/images/intelligence.gif new file mode 100644 index 0000000..332db15 Binary files /dev/null and b/assets/images/intelligence.gif differ diff --git a/assets/images/luck.gif b/assets/images/luck.gif new file mode 100644 index 0000000..196bee8 Binary files /dev/null and b/assets/images/luck.gif differ diff --git a/assets/images/output.gif b/assets/images/output.gif new file mode 100644 index 0000000..0db482f Binary files /dev/null and b/assets/images/output.gif differ diff --git a/assets/images/perception.gif b/assets/images/perception.gif new file mode 100644 index 0000000..ed47a6e Binary files /dev/null and b/assets/images/perception.gif differ diff --git a/assets/images/stand_by.gif b/assets/images/stand_by.gif new file mode 100644 index 0000000..35d0493 Binary files /dev/null and b/assets/images/stand_by.gif differ diff --git a/assets/images/strength.gif b/assets/images/strength.gif new file mode 100644 index 0000000..97e58c5 Binary files /dev/null and b/assets/images/strength.gif differ diff --git a/assets/images/vault_boy_walking.gif b/assets/images/vault_boy_walking.gif new file mode 100644 index 0000000..02c9005 Binary files /dev/null and b/assets/images/vault_boy_walking.gif differ diff --git a/assets/sounds/click.mp3 b/assets/sounds/click.mp3 new file mode 100644 index 0000000..8449908 Binary files /dev/null and b/assets/sounds/click.mp3 differ diff --git a/assets/sounds/click.wav b/assets/sounds/click.wav new file mode 100644 index 0000000..1db5b48 Binary files /dev/null and b/assets/sounds/click.wav differ diff --git a/assets/sounds/hover.mp3 b/assets/sounds/hover.mp3 new file mode 100644 index 0000000..030395a Binary files /dev/null and b/assets/sounds/hover.mp3 differ diff --git a/assets/sounds/hover.wav b/assets/sounds/hover.wav new file mode 100644 index 0000000..5c1e62c Binary files /dev/null and b/assets/sounds/hover.wav differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..57614f9 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..07abbbc --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + + + Portfolio + + + + + +
+ +
+ + + diff --git a/main-PKKUFFG3.js b/main-PKKUFFG3.js new file mode 100644 index 0000000..1c8e8d8 --- /dev/null +++ b/main-PKKUFFG3.js @@ -0,0 +1,67 @@ +var gE=Object.defineProperty,mE=Object.defineProperties;var vE=Object.getOwnPropertyDescriptors;var Sh=Object.getOwnPropertySymbols;var yE=Object.prototype.hasOwnProperty,DE=Object.prototype.propertyIsEnumerable;var Th=(e,t,n)=>t in e?gE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||={})yE.call(t,n)&&Th(e,n,t[n]);if(Sh)for(var n of Sh(t))DE.call(t,n)&&Th(e,n,t[n]);return e},L=(e,t)=>mE(e,vE(t));var Jl;function Ps(){return Jl}function Ut(e){let t=Jl;return Jl=e,t}var xh=Symbol("NotFound");function zr(e){return e===xh||e?.name==="\u0275NotFound"}function Bs(e,t){return Object.is(e,t)}var ke=null,Fs=!1,Xl=1,CE=null,Pe=Symbol("SIGNAL");function k(e){let t=ke;return ke=e,t}function $s(){return ke}var Gr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Wr(e){if(Fs)throw new Error("");if(ke===null)return;ke.consumerOnSignalRead(e);let t=ke.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ke.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ke.producers,n!==void 0&&n.producer===e)){ke.producersTail=n,n.lastReadVersion=e.version;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===ke&&(!r||bE(i,ke)))return;let o=Zr(ke),s={producer:e,consumer:ke,nextProducer:n,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};ke.producersTail=s,t!==void 0?t.nextProducer=s:ke.producers=s,o&&Oh(e,s)}function Ah(){Xl++}function Us(e){if(!(Zr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xl)){if(!e.producerMustRecompute(e)&&!eo(e)){Vs(e);return}e.producerRecomputeValue(e),Vs(e)}}function eu(e){if(e.consumers===void 0)return;let t=Fs;Fs=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||EE(r)}}finally{Fs=t}}function tu(){return ke?.consumerAllowSignalWrites!==!1}function EE(e){e.dirty=!0,eu(e),e.consumerMarkedDirty?.(e)}function Vs(e){e.dirty=!1,e.lastCleanEpoch=Xl}function qr(e){return e&&Nh(e),k(e)}function Nh(e){e.producersTail=void 0,e.recomputing=!0}function Xi(e,t){k(t),e&&Rh(e)}function Rh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Zr(e))do n=nu(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function eo(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Us(n),r!==n.version))return!0}return!1}function to(e){if(Zr(e)){let t=e.producers;for(;t!==void 0;)t=nu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Oh(e,t){let n=e.consumersTail,r=Zr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let i=e.producers;i!==void 0;i=i.nextProducer)Oh(i.producer,i)}function nu(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:t.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(t.consumers=r,!Zr(t)){let o=t.producers;for(;o!==void 0;)o=nu(o)}return n}function Zr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Hs(e){CE?.(e)}function bE(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function zs(e,t){let n=Object.create(_E);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Us(n),Wr(n),n.value===Ji)throw n.error;return n.value};return r[Pe]=n,Hs(n),r}var Ls=Symbol("UNSET"),js=Symbol("COMPUTING"),Ji=Symbol("ERRORED"),_E=L(D({},Gr),{value:Ls,dirty:!0,error:null,equal:Bs,kind:"computed",producerMustRecompute(e){return e.value===Ls||e.value===js},producerRecomputeValue(e){if(e.value===js)throw new Error("");let t=e.value;e.value=js;let n=qr(e),r,i=!1;try{r=e.computation(),k(null),i=t!==Ls&&t!==Ji&&r!==Ji&&e.equal(t,r)}catch(o){r=Ji,e.error=o}finally{Xi(e,n)}if(i){e.value=t;return}e.value=r,e.version++}});function wE(){throw new Error}var kh=wE;function Ph(e){kh(e)}function ru(e){kh=e}var IE=null;function iu(e,t){let n=Object.create(Gs);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Fh(n);return r[Pe]=n,Hs(n),[r,s=>Yr(n,s),s=>ou(n,s)]}function Fh(e){return Wr(e),e.value}function Yr(e,t){tu()||Ph(e),e.equal(e.value,t)||(e.value=t,ME(e))}function ou(e,t){tu()||Ph(e),Yr(e,t(e.value))}var Gs=L(D({},Gr),{equal:Bs,value:void 0,kind:"signal"});function ME(e){e.version++,Ah(),eu(e),IE?.(e)}function P(e){return typeof e=="function"}function Qr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ws=Qr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function no(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var pe=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(P(r))try{r()}catch(o){t=o instanceof Ws?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Lh(o)}catch(s){t=t??[],s instanceof Ws?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ws(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Lh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&no(n,t)}remove(t){let{_finalizers:n}=this;n&&no(n,t),t instanceof e&&t._removeParent(this)}};pe.EMPTY=(()=>{let e=new pe;return e.closed=!0,e})();var su=pe.EMPTY;function qs(e){return e instanceof pe||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function Lh(e){P(e)?e():e.unsubscribe()}var Tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kr={setTimeout(e,t,...n){let{delegate:r}=Kr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Kr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zs(e){Kr.setTimeout(()=>{let{onUnhandledError:t}=Tt;if(t)t(e);else throw e})}function ro(){}var jh=au("C",void 0,void 0);function Vh(e){return au("E",void 0,e)}function Bh(e){return au("N",e,void 0)}function au(e,t,n){return{kind:e,value:t,error:n}}var cr=null;function Jr(e){if(Tt.useDeprecatedSynchronousErrorHandling){let t=!cr;if(t&&(cr={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=cr;if(cr=null,n)throw r}}else e()}function $h(e){Tt.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=e)}var lr=class extends pe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qs(t)&&t.add(this)):this.destination=xE}static create(t,n,r){return new Xr(t,n,r)}next(t){this.isStopped?lu(Bh(t),this):this._next(t)}error(t){this.isStopped?lu(Vh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?lu(jh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},SE=Function.prototype.bind;function cu(e,t){return SE.call(e,t)}var uu=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ys(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ys(r)}else Ys(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ys(n)}}},Xr=class extends lr{constructor(t,n,r){super();let i;if(P(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Tt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&cu(t.next,o),error:t.error&&cu(t.error,o),complete:t.complete&&cu(t.complete,o)}):i=t}this.destination=new uu(i)}};function Ys(e){Tt.useDeprecatedSynchronousErrorHandling?$h(e):Zs(e)}function TE(e){throw e}function lu(e,t){let{onStoppedNotification:n}=Tt;n&&Kr.setTimeout(()=>n(e,t))}var xE={closed:!0,next:ro,error:TE,complete:ro};var ei=typeof Symbol=="function"&&Symbol.observable||"@@observable";function st(e){return e}function du(...e){return fu(e)}function fu(e){return e.length===0?st:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var U=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=NE(n)?n:new Xr(n,r,i);return Jr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Uh(r),new r((i,o)=>{let s=new Xr({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ei](){return this}pipe(...n){return fu(n)(this)}toPromise(n){return n=Uh(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Uh(e){var t;return(t=e??Tt.Promise)!==null&&t!==void 0?t:Promise}function AE(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function NE(e){return e&&e instanceof lr||AE(e)&&qs(e)}function pu(e){return P(e?.lift)}function G(e){return t=>{if(pu(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(e,t,n,r,i){return new hu(e,t,n,r,i)}var hu=class extends lr{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ti(){return G((e,t)=>{let n=null;e._refCount++;let r=z(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let i=e._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ni=class extends U{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,pu(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new pe;let n=this.getSubject();t.add(this.source.subscribe(z(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=pe.EMPTY)}return t}refCount(){return ti()(this)}};var Hh=Qr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends U{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Qs(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Hh}next(n){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?su:(this.currentObservers=null,o.push(n),new pe(()=>{this.currentObservers=null,no(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new U;return n.source=this,n}}return e.create=(t,n)=>new Qs(t,n),e})(),Qs=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:su}};var Se=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Je=new U(e=>e.complete());function zh(e){return e&&P(e.schedule)}function Gh(e){return e[e.length-1]}function Ks(e){return P(Gh(e))?e.pop():void 0}function Vn(e){return zh(Gh(e))?e.pop():void 0}function qh(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Wh(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ur(e){return this instanceof ur?(this.v=e,this):new ur(e)}function Zh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(i[f]=function(w){return new Promise(function(b,_){o.push([f,w,b,_])>1||c(f,w)})},h&&(i[f]=h(i[f])))}function c(f,h){try{l(r[f](h))}catch(w){p(o[0][3],w)}}function l(f){f.value instanceof ur?Promise.resolve(f.value.v).then(u,d):p(o[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Yh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Wh=="function"?Wh(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){s=e[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Js=e=>e&&typeof e.length=="number"&&typeof e!="function";function Xs(e){return P(e?.then)}function ea(e){return P(e[ei])}function ta(e){return Symbol.asyncIterator&&P(e?.[Symbol.asyncIterator])}function na(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function RE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ra=RE();function ia(e){return P(e?.[ra])}function oa(e){return Zh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield ur(n.read());if(i)return yield ur(void 0);yield yield ur(r)}}finally{n.releaseLock()}})}function sa(e){return P(e?.getReader)}function he(e){if(e instanceof U)return e;if(e!=null){if(ea(e))return OE(e);if(Js(e))return kE(e);if(Xs(e))return PE(e);if(ta(e))return Qh(e);if(ia(e))return FE(e);if(sa(e))return LE(e)}throw na(e)}function OE(e){return new U(t=>{let n=e[ei]();if(P(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kE(e){return new U(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Zs)})}function FE(e){return new U(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Qh(e){return new U(t=>{jE(e,t).catch(n=>t.error(n))})}function LE(e){return Qh(oa(e))}function jE(e,t){var n,r,i,o;return qh(this,void 0,void 0,function*(){try{for(n=Yh(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})}function Xe(e,t,n,r=0,i=!1){let o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function aa(e,t=0){return G((n,r)=>{n.subscribe(z(r,i=>Xe(r,e,()=>r.next(i),t),()=>Xe(r,e,()=>r.complete(),t),i=>Xe(r,e,()=>r.error(i),t)))})}function ca(e,t=0){return G((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Kh(e,t){return he(e).pipe(ca(t),aa(t))}function Jh(e,t){return he(e).pipe(ca(t),aa(t))}function Xh(e,t){return new U(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function eg(e,t){return new U(n=>{let r;return Xe(n,t,()=>{r=e[ra](),Xe(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){n.error(s);return}o?n.complete():n.next(i)},0,!0)}),()=>P(r?.return)&&r.return()})}function la(e,t){if(!e)throw new Error("Iterable cannot be null");return new U(n=>{Xe(n,t,()=>{let r=e[Symbol.asyncIterator]();Xe(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function tg(e,t){return la(oa(e),t)}function ng(e,t){if(e!=null){if(ea(e))return Kh(e,t);if(Js(e))return Xh(e,t);if(Xs(e))return Jh(e,t);if(ta(e))return la(e,t);if(ia(e))return eg(e,t);if(sa(e))return tg(e,t)}throw na(e)}function ae(e,t){return t?ng(e,t):he(e)}function N(...e){let t=Vn(e);return ae(e,t)}function ri(e,t){let n=P(e)?e:()=>e,r=i=>i.error(n());return new U(t?i=>t.schedule(r,0,i):r)}function gu(e){return!!e&&(e instanceof U||P(e.lift)&&P(e.subscribe))}var pn=Qr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function V(e,t){return G((n,r)=>{let i=0;n.subscribe(z(r,o=>{r.next(e.call(t,o,i++))}))})}var{isArray:VE}=Array;function BE(e,t){return VE(t)?e(...t):e(t)}function ua(e){return V(t=>BE(e,t))}var{isArray:$E}=Array,{getPrototypeOf:UE,prototype:HE,keys:zE}=Object;function da(e){if(e.length===1){let t=e[0];if($E(t))return{args:t,keys:null};if(GE(t)){let n=zE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function GE(e){return e&&typeof e=="object"&&UE(e)===HE}function fa(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function pa(...e){let t=Vn(e),n=Ks(e),{args:r,keys:i}=da(e);if(r.length===0)return ae([],t);let o=new U(WE(r,t,i?s=>fa(i,s):st));return n?o.pipe(ua(n)):o}function WE(e,t,n=st){return r=>{rg(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let c=0;c{let l=ae(e[c],t),u=!1;l.subscribe(z(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function rg(e,t,n){e?Xe(n,e,t):t()}function ig(e,t,n,r,i,o,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=w=>l{o&&t.next(w),l++;let b=!1;he(n(w,u++)).subscribe(z(t,_=>{i?.(_),o?f(_):t.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&lh(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(z(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ce(e,t,n=1/0){return P(t)?Ce((r,i)=>V((o,s)=>t(r,o,i,s))(he(e(r,i))),n):(typeof t=="number"&&(n=t),G((r,i)=>ig(r,i,e,n)))}function og(e=1/0){return Ce(st,e)}function sg(){return og(1)}function ii(...e){return sg()(ae(e,Vn(e)))}function io(e){return new U(t=>{he(e()).subscribe(t)})}function mu(...e){let t=Ks(e),{args:n,keys:r}=da(e),i=new U(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?fa(r,a):a),o.complete())}))}});return t?i.pipe(ua(t)):i}function et(e,t){return G((n,r)=>{let i=0;n.subscribe(z(r,o=>e.call(t,o,i++)&&r.next(o)))})}function Bn(e){return G((t,n)=>{let r=null,i=!1,o;r=t.subscribe(z(n,void 0,void 0,s=>{o=he(e(s,Bn(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function ag(e,t,n,r,i){return(o,s)=>{let a=n,c=t,l=0;o.subscribe(z(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function $n(e,t){return P(t)?Ce(e,t,1):Ce(e,1)}function Un(e){return G((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function hn(e){return e<=0?()=>Je:G((t,n)=>{let r=0;t.subscribe(z(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function ha(e=qE){return G((t,n)=>{let r=!1;t.subscribe(z(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function qE(){return new pn}function dr(e){return G((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function gn(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((i,o)=>e(i,o,r)):st,hn(1),n?Un(t):ha(()=>new pn))}function oi(e){return e<=0?()=>Je:G((t,n)=>{let r=[];t.subscribe(z(n,i=>{r.push(i),e{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function vu(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((i,o)=>e(i,o,r)):st,oi(1),n?Un(t):ha(()=>new pn))}function yu(e,t){return G(ag(e,t,arguments.length>=2,!0))}function Du(...e){let t=Vn(e);return G((n,r)=>{(t?ii(e,n,t):ii(e,n)).subscribe(r)})}function Fe(e,t){return G((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(z(r,c=>{i?.unsubscribe();let l=0,u=o++;he(e(c,u)).subscribe(i=z(r,d=>r.next(t?t(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function ga(e){return G((t,n)=>{he(e).subscribe(z(n,()=>n.complete(),ro)),!n.closed&&t.subscribe(n)})}function _e(e,t,n){let r=P(e)||t||n?{next:e,error:t,complete:n}:e;return r?G((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(z(o,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),o.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):st}function cg(e){let t=k(null);try{return e()}finally{k(t)}}var Da="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(t,n){super(ai(t,n)),this.code=t}};function ZE(e){return`NG0${Math.abs(e)}`}function ai(e,t){return`${ZE(e)}${t?": "+t:""}`}var ht=globalThis;function q(e){for(let t in e)if(e[t]===q)return t;throw Error("")}function dg(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function vn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(vn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` +`);return r>=0?n.slice(0,r):n}function Ca(e,t){return e?t?`${e} ${t}`:e:t||""}var YE=q({__forward_ref__:q});function Dn(e){return e.__forward_ref__=Dn,e.toString=function(){return vn(this())},e}function Te(e){return Nu(e)?e():e}function Nu(e){return typeof e=="function"&&e.hasOwnProperty(YE)&&e.__forward_ref__===Dn}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function At(e){return{providers:e.providers||[],imports:e.imports||[]}}function co(e){return QE(e,Ea)}function Ru(e){return co(e)!==null}function QE(e,t){return e.hasOwnProperty(t)&&e[t]||null}function KE(e){let t=e?.[Ea]??null;return t||null}function Eu(e){return e&&e.hasOwnProperty(va)?e[va]:null}var Ea=q({\u0275prov:q}),va=q({\u0275inj:q}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ou(e){return e&&!!e.\u0275providers}var ku=q({\u0275cmp:q}),Pu=q({\u0275dir:q}),Fu=q({\u0275pipe:q}),Lu=q({\u0275mod:q}),so=q({\u0275fac:q}),mr=q({__NG_ELEMENT_ID__:q}),lg=q({__NG_ENV_ID__:q});function Cn(e){return typeof e=="string"?e:e==null?"":String(e)}function fg(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Cn(e)}var pg=q({ngErrorCode:q}),JE=q({ngErrorMessage:q}),XE=q({ngTokenPath:q});function ju(e,t){return hg("",-200,t)}function ba(e,t){throw new E(-201,!1)}function hg(e,t,n){let r=new E(t,e);return r[pg]=t,r[JE]=e,n&&(r[XE]=n),r}function eb(e){return e[pg]}var bu;function gg(){return bu}function He(e){let t=bu;return bu=e,t}function Vu(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;ba(e,"Injector")}var tb={},fr=tb,nb="__NG_DI_FLAG__",_u=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=pr(n)||0;try{return this.injector.get(t,r&8?null:fr,r)}catch(i){if(zr(i))return i;throw i}}};function rb(e,t=0){let n=Ps();if(n===void 0)throw new E(-203,!1);if(n===null)return Vu(e,void 0,t);{let r=ib(t),i=n.retrieve(e,r);if(zr(i)){if(r.optional)return null;throw i}return i}}function x(e,t=0){return(gg()||rb)(Te(e),t)}function m(e,t){return x(e,pr(t))}function pr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ib(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function wu(e){let t=[];for(let n=0;nArray.isArray(n)?_a(n,t):t(n))}function Bu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yg(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function wa(e,t,n){let r=ci(e,t);return r>=0?e[r|1]=n:(r=~r,yg(e,r,t,n)),r}function Ia(e,t){let n=ci(e,t);if(n>=0)return e[n|1]}function ci(e,t){return sb(e,t,1)}function sb(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<{n.push(s)};return _a(t,s=>{let a=s;ya(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&bg(i,o),n}function bg(e,t){for(let n=0;n{t(o,r)})}}function ya(e,t,n,r){if(e=Te(e),!e)return!1;let i=null,o=Eu(e),s=!o&&Wn(e);if(!o&&!s){let c=e.ngModule;if(o=Eu(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ya(l,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{_a(o.imports,u=>{ya(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&bg(l,t)}if(!a){let l=Hn(i)||(()=>new i);t({provide:i,useFactory:l,deps:ze},i),t({provide:Uu,useValue:i,multi:!0},i),t({provide:Ht,useValue:()=>x(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=e;Wu(c,u=>{t(u,l)})}}else return!1;return i!==e&&e.providers!==void 0}function Wu(e,t){for(let n of e)Ou(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}var ab=q({provide:String,useValue:q});function _g(e){return e!==null&&typeof e=="object"&&ab in e}function cb(e){return!!(e&&e.useExisting)}function lb(e){return!!(e&&e.useFactory)}function hr(e){return typeof e=="function"}function wg(e){return!!e.useClass}var uo=new M(""),ma={},ug={},Cu;function fo(){return Cu===void 0&&(Cu=new ao),Cu}var ge=class{},gr=class extends ge{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Mu(t,s=>this.processProvider(s)),this.records.set($u,si(void 0,this)),i.has("environment")&&this.records.set(ge,si(void 0,this));let o=this.records.get(uo);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Uu,ze,{self:!0}))}retrieve(t,n){let r=pr(n)||0;try{return this.get(t,fr,r)}catch(i){if(zr(i))return i;throw i}}destroy(){oo(this),this._destroyed=!0;let t=k(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),k(t)}}onDestroy(t){return oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){oo(this);let n=Ut(this),r=He(void 0),i;try{return t()}finally{Ut(n),He(r)}}get(t,n=fr,r){if(oo(this),t.hasOwnProperty(lg))return t[lg](this);let i=pr(r),o,s=Ut(this),a=He(void 0);try{if(!(i&4)){let l=this.records.get(t);if(l===void 0){let u=hb(t)&&co(t);u&&this.injectableDefInScope(u)?l=si(Iu(t),ma):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let c=i&2?fo():this.parent;return n=i&8&&n===fr?null:n,c.get(t,n)}catch(c){let l=eb(c);throw l===-200||l===-201?new E(l,null):c}finally{He(a),Ut(s)}}resolveInjectorInitializers(){let t=k(null),n=Ut(this),r=He(void 0),i;try{let o=this.get(Ht,ze,{self:!0});for(let s of o)s()}finally{Ut(n),He(r),k(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(vn(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Te(t);let n=hr(t)?t:Te(t&&t.provide),r=db(t);if(!hr(t)&&t.multi===!0){let i=this.records.get(n);i||(i=si(void 0,ma,!0),i.factory=()=>wu(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let i=k(null);try{if(n.value===ug)throw ju(vn(t));return n.value===ma&&(n.value=ug,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&pb(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{k(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Te(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Iu(e){let t=co(e),n=t!==null?t.factory:Hn(e);if(n!==null)return n;if(e instanceof M)throw new E(204,!1);if(e instanceof Function)return ub(e);throw new E(204,!1)}function ub(e){if(e.length>0)throw new E(204,!1);let n=KE(e);return n!==null?()=>n.factory(e):()=>new e}function db(e){if(_g(e))return si(void 0,e.useValue);{let t=qu(e);return si(t,ma)}}function qu(e,t,n){let r;if(hr(e)){let i=Te(e);return Hn(i)||Iu(i)}else if(_g(e))r=()=>Te(e.useValue);else if(lb(e))r=()=>e.useFactory(...wu(e.deps||[]));else if(cb(e))r=(i,o)=>x(Te(e.useExisting),o!==void 0&&o&8?8:void 0);else{let i=Te(e&&(e.useClass||e.provide));if(fb(e))r=()=>new i(...wu(e.deps));else return Hn(i)||Iu(i)}return r}function oo(e){if(e.destroyed)throw new E(205,!1)}function si(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fb(e){return!!e.deps}function pb(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hb(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Mu(e,t){for(let n of e)Array.isArray(n)?Mu(n,t):n&&Ou(n)?Mu(n.\u0275providers,t):t(n)}function xe(e,t){let n;e instanceof gr?(oo(e),n=e):n=new _u(e);let r,i=Ut(n),o=He(void 0);try{return t()}finally{Ut(i),He(o)}}function Ig(){return gg()!==void 0||Ps()!=null}var Nt=0,A=1,R=2,we=3,gt=4,mt=5,po=6,li=7,Ae=8,ui=9,Gt=10,se=11,di=12,Zu=13,vr=14,vt=15,qn=16,yr=17,Wt=18,ho=19,Yu=20,mn=21,Ma=22,go=23,ct=24,Dr=25,Ge=26,me=27,Mg=1;var Zn=7,mo=8,Cr=9,Le=10;function qt(e){return Array.isArray(e)&&typeof e[Mg]=="object"}function Rt(e){return Array.isArray(e)&&e[Mg]===!0}function Qu(e){return(e.flags&4)!==0}function Yn(e){return e.componentOffset>-1}function vo(e){return(e.flags&1)===1}function Zt(e){return!!e.template}function fi(e){return(e[R]&512)!==0}function Er(e){return(e[R]&256)===256}var Sg="svg",Tg="math";function yt(e){for(;Array.isArray(e);)e=e[Nt];return e}function Ku(e,t){return yt(t[e])}function Ot(e,t){return yt(t[e.index])}function yo(e,t){return e.data[t]}function Ju(e,t){return e[t]}function Xu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Dt(e,t){let n=t[e];return qt(n)?n:n[Nt]}function xg(e){return(e[R]&4)===4}function Sa(e){return(e[R]&128)===128}function Ag(e){return Rt(e[we])}function Yt(e,t){return t==null?null:e[t]}function ed(e){e[yr]=0}function td(e){e[R]&1024||(e[R]|=1024,Sa(e)&&pi(e))}function Ng(e,t){for(;e>0;)t=t[vr],e--;return t}function Do(e){return!!(e[R]&9216||e[ct]?.dirty)}function Ta(e){e[Gt].changeDetectionScheduler?.notify(8),e[R]&64&&(e[R]|=1024),Do(e)&&pi(e)}function pi(e){e[Gt].changeDetectionScheduler?.notify(0);let t=zn(e);for(;t!==null&&!(t[R]&8192||(t[R]|=8192,!Sa(t)));)t=zn(t)}function nd(e,t){if(Er(e))throw new E(911,!1);e[mn]===null&&(e[mn]=[]),e[mn].push(t)}function Rg(e,t){if(e[mn]===null)return;let n=e[mn].indexOf(t);n!==-1&&e[mn].splice(n,1)}function zn(e){let t=e[we];return Rt(t)?t[we]:t}function rd(e){return e[li]??=[]}function id(e){return e.cleanup??=[]}function Og(e,t,n,r){let i=rd(t);i.push(n),e.firstCreatePass&&id(e).push(r,i.length-1)}var B={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Su=!1;function kg(){return B.lFrame.elementDepthCount}function Pg(){B.lFrame.elementDepthCount++}function od(){B.lFrame.elementDepthCount--}function sd(){return B.bindingsEnabled}function Fg(){return B.skipHydrationRootTNode!==null}function ad(e){return B.skipHydrationRootTNode===e}function cd(){B.skipHydrationRootTNode=null}function F(){return B.lFrame.lView}function Ee(){return B.lFrame.tView}function Ct(e){return B.lFrame.contextLView=e,e[Ae]}function Et(e){return B.lFrame.contextLView=null,e}function Ne(){let e=ld();for(;e!==null&&e.type===64;)e=e.parent;return e}function ld(){return B.lFrame.currentTNode}function Lg(){let e=B.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hi(e,t){let n=B.lFrame;n.currentTNode=e,n.isParent=t}function ud(){return B.lFrame.isParent}function jg(){B.lFrame.isParent=!1}function dd(){return Su}function fd(e){let t=Su;return Su=e,t}function Co(){let e=B.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vg(){return B.lFrame.bindingIndex}function Bg(e){return B.lFrame.bindingIndex=e}function br(){return B.lFrame.bindingIndex++}function xa(e){let t=B.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $g(){return B.lFrame.inI18n}function Ug(e,t){let n=B.lFrame;n.bindingIndex=n.bindingRootIndex=e,Aa(t)}function Hg(){return B.lFrame.currentDirectiveIndex}function Aa(e){B.lFrame.currentDirectiveIndex=e}function zg(e){let t=B.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function pd(){return B.lFrame.currentQueryIndex}function Na(e){B.lFrame.currentQueryIndex=e}function gb(e){let t=e[A];return t.type===2?t.declTNode:t.type===1?e[mt]:null}function hd(e,t,n){if(n&4){let i=t,o=e;for(;i=i.parent,i===null&&!(n&1);)if(i=gb(o),i===null||(o=o[vr],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=B.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function Ra(e){let t=Gg(),n=e[A];B.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){let e=B.lFrame,t=e===null?null:e.child;return t===null?Wg(e):t}function Wg(e){let t={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 e!==null&&(e.child=t),t}function qg(){let e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var gd=qg;function Oa(){let e=qg();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 Zg(e){return(B.lFrame.contextLView=Ng(e,B.lFrame.contextLView))[Ae]}function En(){return B.lFrame.selectedIndex}function Qn(e){B.lFrame.selectedIndex=e}function ka(){let e=B.lFrame;return yo(e.tView,e.selectedIndex)}function Yg(){return B.lFrame.currentNamespace}var Qg=!0;function Pa(){return Qg}function Fa(e){Qg=e}function Tu(e,t=null,n=null,r){let i=md(e,t,n,r);return i.resolveInjectorInitializers(),i}function md(e,t=null,n=null,r,i=new Set){let o=[n||ze,Eg(e)];return r=r||(typeof e=="object"?void 0:vn(e)),new gr(o,t||fo(),r||null,i)}var at=class e{static THROW_IF_NOT_FOUND=fr;static NULL=new ao;static create(t,n){if(Array.isArray(t))return Tu({name:""},n,t,"");{let r=t.name??"";return Tu({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:e,providedIn:"any",factory:()=>x($u)});static __NG_ELEMENT_ID__=-1},fe=new M(""),kt=(()=>{class e{static __NG_ELEMENT_ID__=mb;static __NG_ENV_ID__=n=>n}return e})(),xu=class extends kt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Er(this._lView)}onDestroy(t){let n=this._lView;return nd(n,t),()=>Rg(n,t)}};function mb(){return new xu(F())}var xt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},We=new M("",{providedIn:"root",factory:()=>{let e=m(ge),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(xt),t.handleError(n))}}}),Kg={provide:Ht,useValue:()=>void m(xt),multi:!0},vb=new M("",{providedIn:"root",factory:()=>{let e=m(fe).defaultView;if(!e)return;let t=m(We),n=o=>{t(o.reason),o.preventDefault()},r=o=>{o.error?t(o.error):t(new Error(o.message,{cause:o})),o.preventDefault()},i=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(i):i(),m(kt).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function vd(){return zt([Cg(()=>void m(vb))])}function yd(e){return typeof e=="function"&&e[Pe]!==void 0}function bt(e,t){let[n,r,i]=iu(e,t?.equal),o=n,s=o[Pe];return o.set=r,o.update=i,o.asReadonly=Jg.bind(o),o}function Jg(){let e=this[Pe];if(e.readonlyFn===void 0){let t=()=>this();t[Pe]=e,e.readonlyFn=t}return e.readonlyFn}function Dd(e){return yd(e)&&typeof e.set=="function"}var yn=class{},gi=new M("",{providedIn:"root",factory:()=>!1});var Cd=new M(""),Ed=new M("");var La=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=yb}return e})();function yb(){return new La(F(),Ne())}var Qt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Se(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new U(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),ja=(()=>{class e{internalPendingTasks=m(Qt);scheduler=m(yn);errorHandler=m(We);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function Eo(...e){}var bd=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Au})}return e})(),Au=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function To(e){return{toString:e}.toString()}function Mb(e){return typeof e=="function"}var Za=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Om(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Xt=(()=>{let e=()=>km;return e.ngInherit=!0,e})();function km(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tb),Sb}function Sb(){let e=Fm(this),t=e?.current;if(t){let n=e.previous;if(n===Gn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tb(e,t,n,r,i){let o=this.declaredInputs[r],s=Fm(e)||xb(e,{previous:Gn,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Za(l&&l.currentValue,n,c===Gn),Om(e,t,i,n)}var Pm="__ngSimpleChanges__";function Fm(e){return e[Pm]||null}function xb(e,t){return e[Pm]=t}var Xg=[];var Q=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[yr]+=65536),(a>14>16&&(e[R]&3)===t&&(e[R]+=16384,em(a,o)):em(a,o)}var vi=-1,wr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}};function Rb(e){return(e.flags&8)!==0}function Ob(e){return(e.flags&16)!==0}function kb(e,t,n){let r=0;for(;rt){s=o-1;break}}}for(;o>16}function Qa(e,t){let n=Fb(e),r=t;for(;n>0;)r=r[vr],n--;return r}var kd=!0;function Ka(e){let t=kd;return kd=e,t}var Lb=256,$m=Lb-1,Um=5,jb=0,Kt={};function Vb(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mr)&&(r=n[mr]),r==null&&(r=n[mr]=jb++);let i=r&$m,o=1<>Um)]|=o}function Ja(e,t){let n=Hm(e,t);if(n!==-1)return n;let r=t[A];r.firstCreatePass&&(e.injectorIndex=t.length,wd(r.data,e),wd(t,null),wd(r.blueprint,null));let i=gf(e,t),o=e.injectorIndex;if(Bm(i)){let s=Ya(i),a=Qa(i,t),c=a[A].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=i,o}function wd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function gf(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=Zm(i),r===null)return vi;if(n++,i=i[vr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return vi}function Pd(e,t,n){Vb(e,t,n)}function Bb(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,i=0;for(;i>20,d=r?a:a+u,p=i?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(i){let f=s[c];if(f&&Zt(f)&&f.type===n)return c}return null}function wo(e,t,n,r,i){let o=e[n],s=t.data;if(o instanceof wr){let a=o;if(a.resolving){let f=fg(s[n]);throw ju(f)}let c=Ka(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?He(a.injectImpl):null,p=hd(e,r,0);try{o=e[n]=a.factory(void 0,i,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ab(n,s[n],t)}finally{d!==null&&He(d),Ka(c),a.resolving=!1,gd()}}return o}function Ub(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mr)?e[mr]:void 0;return typeof t=="number"?t>=0?t&$m:Hb:t}function nm(e,t,n){let r=1<>Um)]&r)}function rm(e,t){return!(e&2)&&!(e&1&&t)}var _r=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wm(this._tNode,this._lView,t,pr(r),n)}};function Hb(){return new _r(Ne(),F())}function Xn(e){return To(()=>{let t=e.prototype.constructor,n=t[so]||Fd(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[so]||Fd(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Fd(e){return Nu(e)?()=>{let t=Fd(Te(e));return t&&t()}:Hn(e)}function zb(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[R]&2048&&!fi(s);){let a=qm(o,s,n,r|2,Kt);if(a!==Kt)return a;let c=o.parent;if(!c){let l=s[Yu];if(l){let u=l.get(n,Kt,r);if(u!==Kt)return u}c=Zm(s),s=s[vr]}o=c}return i}function Zm(e){let t=e[A],n=t.type;return n===2?t.declTNode:n===1?e[mt]:null}function xo(e){return Bb(Ne(),e)}function Gb(){return bi(Ne(),F())}function bi(e,t){return new lt(Ot(e,t))}var lt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Gb}return e})();function Wb(e){return e instanceof lt?e.nativeElement:e}function qb(){return this._results[Symbol.iterator]()}var Xa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new de}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=vg(t);(this._changesDetected=!mg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=qb};function Ym(e){return(e.flags&128)===128}var mf=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(mf||{}),Qm=new Map,Zb=0;function Yb(){return Zb++}function Qb(e){Qm.set(e[ho],e)}function Ld(e){Qm.delete(e[ho])}var im="__ngContext__";function Di(e,t){qt(t)?(e[im]=t[ho],Qb(t)):e[im]=t}function Km(e){return Xm(e[di])}function Jm(e){return Xm(e[gt])}function Xm(e){for(;e!==null&&!Rt(e);)e=e[gt];return e}var jd;function vf(e){jd=e}function yf(){if(jd!==void 0)return jd;if(typeof document<"u")return document;throw new E(210,!1)}var pc=new M("",{providedIn:"root",factory:()=>Kb}),Kb="ng",hc=new M(""),_i=new M("",{providedIn:"platform",factory:()=>"unknown"});var gc=new M("",{providedIn:"root",factory:()=>yf().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Jb="h",Xb="b";var ev=!1,tv=new M("",{providedIn:"root",factory:()=>ev});var e_=(e,t,n,r)=>{};function t_(e,t,n,r){e_(e,t,n,r)}function Df(e){return(e.flags&32)===32}var n_=()=>null;function nv(e,t,n=!1){return n_(e,t,n)}function rv(e,t){let n=e.contentQueries;if(n!==null){let r=k(null);try{for(let i=0;ie,createScript:e=>e,createScriptURL:e=>e})}catch{}return Va}function mc(e){return r_()?.createHTML(e)||e}var Ba;function ov(){if(Ba===void 0&&(Ba=null,ht.trustedTypes))try{Ba=ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ba}function om(e){return ov()?.createHTML(e)||e}function sm(e){return ov()?.createScriptURL(e)||e}var _n=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Da})`}},Bd=class extends _n{getTypeName(){return"HTML"}},$d=class extends _n{getTypeName(){return"Style"}},Ud=class extends _n{getTypeName(){return"Script"}},Hd=class extends _n{getTypeName(){return"URL"}},zd=class extends _n{getTypeName(){return"ResourceURL"}};function wt(e){return e instanceof _n?e.changingThisBreaksApplicationSecurity:e}function en(e,t){let n=sv(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Da})`)}return n===t}function sv(e){return e instanceof _n&&e.getTypeName()||null}function Cf(e){return new Bd(e)}function Ef(e){return new $d(e)}function bf(e){return new Ud(e)}function _f(e){return new Hd(e)}function wf(e){return new zd(e)}function i_(e){let t=new Wd(e);return o_()?new Gd(t):t}var Gd=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(mc(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Wd=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mc(t),n}};function o_(){try{return!!new window.DOMParser().parseFromString(mc(""),"text/html")}catch{return!1}}var s_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ao(e){return e=String(e),e.match(s_)?e:"unsafe:"+e}function wn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function No(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var av=wn("area,br,col,hr,img,wbr"),cv=wn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lv=wn("rp,rt"),a_=No(lv,cv),c_=No(cv,wn("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")),l_=No(lv,wn("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")),am=No(av,c_,l_,a_),uv=wn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),u_=wn("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"),d_=wn("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"),f_=No(uv,u_,d_),p_=wn("script,style,template"),qd=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){i.push(n),n=m_(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=g_(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(t){let n=cm(t).toLowerCase();if(!am.hasOwnProperty(n))return this.sanitizedSomething=!0,!p_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let i=0;i"),!0}endElement(t){let n=cm(t).toLowerCase();am.hasOwnProperty(n)&&!av.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(lm(t))}};function h_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function g_(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw dv(t);return t}function m_(e){let t=e.firstChild;if(t&&h_(e,t))throw dv(t);return t}function cm(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function dv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var v_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y_=/([^\#-~ |!])/g;function lm(e){return e.replace(/&/g,"&").replace(v_,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(y_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var $a;function vc(e,t){let n=null;try{$a=$a||i_(e);let r=t?String(t):"";n=$a.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=$a.getInertBodyElement(r)}while(r!==o);let a=new qd().sanitizeChildren(um(n)||n);return mc(a)}finally{if(n){let r=um(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function um(e){return"content"in e&&D_(e)?e.content:null}function D_(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var It=(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})(It||{});function If(e){let t=Sf();return t?om(t.sanitize(It.HTML,e)||""):en(e,"HTML")?om(wt(e)):vc(yf(),Cn(e))}function Lt(e){let t=Sf();return t?t.sanitize(It.URL,e)||"":en(e,"URL")?wt(e):Ao(Cn(e))}function fv(e){let t=Sf();if(t)return sm(t.sanitize(It.RESOURCE_URL,e)||"");if(en(e,"ResourceURL"))return sm(wt(e));throw new E(904,!1)}function C_(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?fv:Lt}function Mf(e,t,n){return C_(t,n)(e)}function Sf(){let e=F();return e&&e[Gt].sanitizer}function pv(e){return e instanceof Function?e():e}function E_(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}var hv="ng-template";function b_(e,t,n,r){let i=0;if(r){for(;i-1){let o;for(;++io?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(Pt(r))return!1;s=!0}}}}return Pt(r)||s}function Pt(e){return(e&1)===0}function I_(e,t,n,r){if(t===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Pt(s)&&(t+=dm(o,i),i=""),r=s,o=o||!Pt(r);n++}return i!==""&&(t+=dm(o,i)),t}function A_(e){return e.map(x_).join(",")}function N_(e){let t=[],n=[],r=1,i=2;for(;r{k_(t,c,a)}):e===3&&pm(o,()=>{t.destroyNode(c)}),s!=null&&X_(t,e,s,n,i)}}function $_(e,t){Ev(e,t),t[Nt]=null,t[mt]=null}function U_(e,t,n,r,i,o){r[Nt]=i,r[mt]=t,Cc(e,r,n,1,i,o)}function Ev(e,t){t[Gt].changeDetectionScheduler?.notify(9),Cc(e,t,t[se],2,null,null)}function H_(e){let t=e[di];if(!t)return Id(e[A],e);for(;t;){let n=null;if(qt(t))n=t[di];else{let r=t[Le];r&&(n=r)}if(!n){for(;t&&!t[gt]&&t!==e;)qt(t)&&Id(t[A],t),t=t[we];t===null&&(t=e),qt(t)&&Id(t[A],t),n=t&&t[gt]}t=n}}function Of(e,t){let n=e[Cr],r=n.indexOf(t);n.splice(r,1)}function kf(e,t){if(Er(t))return;let n=t[se];n.destroyNode&&Cc(e,t,n,3,null,null),H_(t)}function Id(e,t){if(Er(t))return;let n=k(null);try{t[R]&=-129,t[R]|=256,t[ct]&&to(t[ct]),W_(e,t),G_(e,t),t[A].type===1&&t[se].destroy();let r=t[qn];if(r!==null&&Rt(t[we])){r!==t[we]&&Of(r,t);let i=t[Wt];i!==null&&i.detachView(e)}Ld(t)}finally{k(n)}}function pm(e,t){if(e&&e[Ge]&&e[Ge].leave)if(e[Ge].skipLeaveAnimations)e[Ge].skipLeaveAnimations=!1;else{let n=e[Ge].leave,r=[];for(let i=0;i{e[Ge]&&e[Ge].running&&(e[Ge].running=void 0),Dc.delete(e),t()});return}t()}function G_(e,t){let n=e.cleanup,r=t[li];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[li]=null);let i=t[mn];if(i!==null){t[mn]=null;for(let s=0;sme&&Cv(e,t,me,!1),Q(s?2:0,i,n),n(r,i)}finally{Qn(o),Q(s?3:1,i,n)}}function Lf(e,t,n){a0(e,t,n),(n.flags&64)===64&&c0(e,t,n)}function Ec(e,t,n=Ot){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;onull;function i0(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function wv(e,t,n,r,i,o){let s=t[A];if(jf(e,s,t,n,r)){Yn(e)&&s0(t,e.index);return}e.type&3&&(n=i0(n)),o0(e,t,n,r,i,o)}function o0(e,t,n,r,i,o){if(e.type&3){let s=Ot(e,t);r=o!=null?o(r,e.value||"",n):r,i.setProperty(s,n,r)}else e.type&12}function s0(e,t){let n=Dt(t,e);n[R]&16||(n[R]|=64)}function a0(e,t,n){let r=n.directiveStart,i=n.directiveEnd;Yn(n)&&V_(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ja(n,t);let o=n.initialInputs;for(let s=r;s{pi(e.lView)},consumerOnSignalRead(){this.lView[ct]=this}});function E0(e){let t=e[ct]??Object.create(b0);return t.lView=e,t}var b0=L(D({},Gr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=zn(e.lView);for(;t&&!Rv(t[A]);)t=zn(t);t&&td(t)},consumerOnSignalRead(){this.lView[ct]=this}});function Rv(e){return e.type!==2}function Ov(e){if(e[go]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[go])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[R]&8192)}}var _0=100;function kv(e,t=0){let r=e[Gt].rendererFactory,i=!1;i||r.begin?.();try{w0(e,t)}finally{i||r.end?.()}}function w0(e,t){let n=dd();try{fd(!0),Kd(e,t);let r=0;for(;Do(e);){if(r===_0)throw new E(103,!1);r++,Kd(e,1)}}finally{fd(n)}}function I0(e,t,n,r){if(Er(t))return;let i=t[R],o=!1,s=!1;Ra(t);let a=!0,c=null,l=null;o||(Rv(e)?(l=v0(t),c=qr(l)):$s()===null?(a=!1,l=E0(t),c=qr(l)):t[ct]&&(to(t[ct]),t[ct]=null));try{ed(t),Bg(e.bindingStartIndex),n!==null&&_v(e,t,n,2,r),M0(t);let u=(i&3)===3;if(!o)if(u){let f=e.preOrderCheckHooks;f!==null&&za(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ga(t,f,0,null),_d(t,0)}if(s||S0(t),Ov(t),Pv(t,0),e.contentQueries!==null&&rv(e,t),!o)if(u){let f=e.contentCheckHooks;f!==null&&za(t,f)}else{let f=e.contentHooks;f!==null&&Ga(t,f,1),_d(t,1)}x0(e,t);let d=e.components;d!==null&&Lv(t,d,0);let p=e.viewQuery;if(p!==null&&Vd(2,p,r),!o)if(u){let f=e.viewCheckHooks;f!==null&&za(t,f)}else{let f=e.viewHooks;f!==null&&Ga(t,f,2),_d(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ma]){for(let f of t[Ma])f();t[Ma]=null}o||(Av(t),t[R]&=-73)}catch(u){throw o||pi(t),u}finally{l!==null&&(Xi(l,c),a&&D0(l)),Oa()}}function M0(e){let t=e[Ge];if(t?.enter){for(let n of t.enter)n();t.enter=void 0}}function Pv(e,t){for(let n=Km(e);n!==null;n=Jm(n))for(let r=Le;r0&&(e[n-1][gt]=r[gt]);let o=lo(e,Le+t);$_(r[A],r);let s=o[Wt];s!==null&&s.detachView(o[A]),r[we]=null,r[gt]=null,r[R]&=-129}return r}function R0(e,t,n,r){let i=Le+r,o=n.length;r>0&&(n[i-1][gt]=t),r-1&&(tc(t,r),lo(n,r))}this._attachedToViewContainer=!1}kf(this._lView[A],this._lView)}onDestroy(t){nd(this._lView,t)}markForCheck(){Bf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[R]&=-129}reattach(){Ta(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,kv(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=fi(this._lView),n=this._lView[qn];n!==null&&!t&&Of(n,this._lView),Ev(this._lView[A],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let n=fi(this._lView),r=this._lView[qn];r!==null&&!n&&Bv(r,this._lView),Ta(this._lView)}};var Jn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=O0;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){let o=Tv(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new Kn(o)}}return e})();function O0(){return $f(Ne(),F())}function $f(e,t){return e.type&4?new Jn(t,e,bi(e,t)):null}function Ro(e,t,n,r,i){let o=e.data[t];if(o===null)o=k0(e,t,n,r,i),$g()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=Lg();o.injectorIndex=s===null?-1:s.injectorIndex}return hi(o,!0),o}function k0(e,t,n,r,i){let o=ld(),s=ud(),a=s?o:o&&o.parent,c=e.data[t]=F0(e,a,n,t,r,i);return P0(e,c,o,s),c}function P0(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function F0(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return Fg()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var CL=new RegExp(`^(\\d+)*(${Xb}|${Jb})*(.*)`);var L0=()=>null,j0=()=>null;function gm(e,t){return L0(e,t)}function V0(e,t,n){return j0(e,t,n)}var $v=class{},bc=class{},Jd=class{resolveComponentFactory(t){throw new E(917,!1)}},Oo=class{static NULL=new Jd},Ir=class{},In=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>B0()}return e})();function B0(){let e=F(),t=Ne(),n=Dt(t.index,e);return(qt(n)?n:e)[se]}var Uv=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();var qa={},Xd=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let i=this.injector.get(t,qa,r);return i!==qa||n===qa?i:this.parentInjector.get(t,n,r)}};function nc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Z0(e,t,n){if(n){if(t.exportAs)for(let r=0;rr(yt(w[e.index])):e.index;Yv(h,t,n,o,a,f,!1)}}return l}function ew(e){return e.startsWith("animation")||e.startsWith("transition")}function tw(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function Yv(e,t,n,r,i,o,s){let a=t.firstCreatePass?id(t):null,c=rd(n),l=c.length;c.push(i,o),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Cm(e,t,n,r,i,o){let s=t[n],a=t[A],l=a.data[n].outputs[r],d=s[l].subscribe(o);Yv(e.index,a,t,i,o,d,!0)}var ef=Symbol("BINDING");var rc=class extends Oo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Wn(t);return new Ci(n,this.ngModule)}};function nw(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&yc.SignalBased)!==0};return i&&(o.transform=i),o})}function rw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function iw(e,t,n){let r=t instanceof ge?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Xd(n,r):n}function ow(e){let t=e.get(Ir,null);if(t===null)throw new E(407,!1);let n=e.get(Uv,null),r=e.get(yn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function sw(e,t){let n=Qv(e);return gv(t,n,n==="svg"?Sg:n==="math"?Tg:null)}function Qv(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ci=class extends bc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=nw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=rw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=A_(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,o,s){Q(22);let a=k(null);try{let c=this.componentDef,l=aw(r,c,s,o),u=iw(c,i||this.ngModule,t),d=ow(u),p=d.rendererFactory.createRenderer(null,c),f=r?t0(p,r,c.encapsulation,u):sw(c,p),h=s?.some(Em)||o?.some(_=>typeof _!="function"&&_.bindings.some(Em)),w=Af(null,l,null,512|yv(c),null,null,d,p,u,null,nv(f,u,!0));w[me]=f,Ra(w);let b=null;try{let _=Gv(me,w,2,"#host",()=>l.directiveRegistry,!0,0);f&&(vv(p,f,_),Di(f,w)),Lf(l,w,_),iv(l,_,w),Wv(l,_),n!==void 0&&lw(_,this.ngContentSelectors,n),b=Dt(_.index,w),w[Ae]=b[Ae],Vf(l,w,null)}catch(_){throw b!==null&&Ld(b),Ld(w),_}finally{Q(23),Oa()}return new ic(this.componentType,w,!!h)}finally{k(a)}}};function aw(e,t,n,r){let i=e?["ng-version","20.3.1"]:N_(t.selectors[0]),o=null,s=null,a=0;if(n)for(let u of n)a+=u[ef].requiredVars,u.create&&(u.targetIdx=0,(o??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Em(e){let t=e[ef].kind;return t==="input"||t==="twoWay"}var ic=class extends $v{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=yo(n[A],me),this.location=bi(this._tNode,n),this.instance=Dt(this._tNode.index,n)[Ae],this.hostView=this.changeDetectorRef=new Kn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView,o=jf(r,i[A],i,t,n);this.previousInputValues.set(t,n);let s=Dt(r.index,i);Bf(s,1)}get injector(){return new _r(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function lw(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static __NG_ELEMENT_ID__=uw}return e})();function uw(){let e=Ne();return Jv(e,F())}var dw=Mn,Kv=class extends dw{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return bi(this._hostTNode,this._hostLView)}get injector(){return new _r(this._hostTNode,this._hostLView)}get parentInjector(){let t=gf(this._hostTNode,this._hostLView);if(Bm(t)){let n=Qa(t,this._hostLView),r=Ya(t),i=n[A].data[r+8];return new _r(i,n)}else return new _r(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=bm(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=gm(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Qd(this._hostTNode,s)),a}createComponent(t,n,r,i,o,s,a){let c=t&&!Mb(t),l;if(c)l=n;else{let b=n||{};l=b.index,r=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef,s=b.directives,a=b.bindings}let u=c?t:new Ci(Wn(t)),d=r||this.parentInjector;if(!o&&u.ngModule==null){let _=(c?d:this.parentInjector).get(ge,null);_&&(o=_)}let p=Wn(u.componentType??{}),f=gm(this._lContainer,p?.id??null),h=f?.firstChild??null,w=u.create(d,i,h,o,s,a);return this.insertImpl(w.hostView,l,Qd(this._hostTNode,f)),w}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(Ag(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=i[we],l=new Kv(c,c[mt],c[we]);l.detach(l.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return Vv(s,i,o,r),t.attachToViewContainerRef(),Bu(Sd(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=bm(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=tc(this._lContainer,n);r&&(lo(Sd(this._lContainer),n),kf(r[A],r))}detach(t){let n=this._adjustIndex(t,-1),r=tc(this._lContainer,n);return r&&lo(Sd(this._lContainer),n)!=null?new Kn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function bm(e){return e[mo]}function Sd(e){return e[mo]||(e[mo]=[])}function Jv(e,t){let n,r=t[e.index];return Rt(r)?n=r:(n=jv(r,t,null,e),t[e.index]=n,Nf(t,n)),pw(n,t,e,r),new Kv(n,e,t)}function fw(e,t){let n=e[se],r=n.createComment(""),i=Ot(t,e),o=n.parentNode(i);return ec(n,o,r,n.nextSibling(i),!1),r}var pw=mw,hw=()=>!1;function gw(e,t,n){return hw(e,t,n)}function mw(e,t,n,r){if(e[Zn])return;let i;n.type&8?i=yt(r):i=fw(t,n),e[Zn]=i}var tf=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nf=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{let l=o[a+1],u=t[-c];for(let d=Le;dt.trim())}function Iw(e,t,n){e.queries===null&&(e.queries=new of),e.queries.track(new sf(t,n))}function zf(e,t){return e.queries.getByIndex(t)}function Mw(e,t){let n=e[A],r=zf(n,t);return r.crossesNgTemplate?af(n,e,t,[]):Xv(n,e,r,t)}var _m=new Set;function er(e){_m.has(e)||(_m.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mr=class{},wc=class{};var oc=class extends Mr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new rc(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;let o=Hu(t);this._bootstrapComponents=pv(o.bootstrap),this._r3Injector=md(t,n,[{provide:Mr,useValue:this},{provide:Oo,useValue:this.componentFactoryResolver},...r],vn(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},sc=class extends wc{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new oc(this.moduleType,t,[])}};var Mo=class extends Mr{injector;componentFactoryResolver=new rc(this);instance=null;constructor(t){super();let n=new gr([...t.providers,{provide:Mr,useValue:this},{provide:Oo,useValue:this.componentFactoryResolver}],t.parent||fo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ko(e,t,n=null){return new Mo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Sw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Gu(!1,n.type),i=r.length>0?ko([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(x(ge))})}return e})();function H(e){return To(()=>{let t=ey(e),n=L(D({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(Sw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||ze,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&er("NgStandalone"),ty(n);let r=e.dependencies;return n.directiveDefs=wm(r,Tw),n.pipeDefs=wm(r,Dg),n.id=Nw(n),n})}function Tw(e){return Wn(e)||zu(e)}function tn(e){return To(()=>({type:e.type,bootstrap:e.bootstrap||ze,declarations:e.declarations||ze,imports:e.imports||ze,exports:e.exports||ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xw(e,t){if(e==null)return Gn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a,c;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,c=i[3]||null):(o=i,s=i,a=yc.None,c=null),n[o]=[r,a,c],t[o]=s}return n}function Aw(e){if(e==null)return Gn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ve(e){return To(()=>{let t=ey(e);return ty(t),t})}function Po(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ey(e){let t={};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:t,inputConfig:e.inputs||Gn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ze,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:xw(e.inputs,t),outputs:Aw(e.outputs),debugInfo:null}}function ty(e){e.features?.forEach(t=>t(e))}function wm(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let i of n){let o=t(i);o!==null&&r.push(o)}return r}:null}function Nw(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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];for(let o of r.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Rw(e){return Object.getPrototypeOf(e.prototype).constructor}function Sn(e){let t=Rw(e.type),n=!0,r=[e];for(;t;){let i;if(Zt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=Td(e.inputs),s.declaredInputs=Td(e.declaredInputs),s.outputs=Td(e.outputs);let a=i.hostBindings;a&&Lw(e,a);let c=i.viewQuery,l=i.contentQueries;if(c&&Pw(e,c),l&&Fw(e,l),Ow(e,i),dg(e.outputs,i.outputs),Zt(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=yi(i.hostAttrs,n=yi(n,i.hostAttrs))}}function Td(e){return e===Gn?{}:e===ze?[]:e}function Pw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function Fw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function Lw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function ny(e,t,n,r,i,o,s,a){if(n.firstCreatePass){e.mergedAttrs=yi(e.mergedAttrs,e.attrs);let u=e.tView=xf(2,e,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),hi(e,!1);let c=Vw(n,t,e,r);Pa()&&Pf(n,t,c,e),Di(c,t);let l=jv(c,t,c,e);t[r+me]=l,Nf(t,l),gw(l,e,t)}function jw(e,t,n,r,i,o,s,a,c,l,u){let d=n+me,p;return t.firstCreatePass?(p=Ro(t,d,4,s||null,a||null),sd()&&Hv(t,e,p,Yt(t.consts,l),Iv),Lm(t,p)):p=t.data[d],ny(p,e,t,n,r,i,o,c),vo(p)&&Lf(t,e,p),l!=null&&Ec(e,p,u),p}function ry(e,t,n,r,i,o,s,a,c,l,u){let d=n+me,p;if(t.firstCreatePass){if(p=Ro(t,d,4,s||null,a||null),l!=null){let f=Yt(t.consts,l);p.localNames=[];for(let h=0;hnull),s=r;if(t&&typeof t=="object"){let c=t;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof pe&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},be=cf;function oy(e){let t,n;function r(){e=Eo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Im(e){return queueMicrotask(()=>e()),()=>{e=Eo}}var Gf="isAngularZone",ac=Gf+"_ID",$w=0,ce=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new be(!1);onMicrotaskEmpty=new be(!1);onStable=new be(!1);onError=new be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=iy}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,zw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Gf)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,Uw,Eo,Eo);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Uw={};function Wf(e){if(e._nesting==0&&!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 Hw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){oy(()=>{e.callbackScheduled=!1,lf(e),e.isCheckStableRunning=!0,Wf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),lf(e)}function zw(e){let t=()=>{Hw(e)},n=$w++;e._inner=e._inner.fork({name:"angular",properties:{[Gf]:!0,[ac]:n,[ac+n]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(Gw(c))return r.invokeTask(o,s,a,c);try{return Mm(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Sm(e)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return Mm(e),r.invoke(o,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ww(c)&&t(),Sm(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,lf(e),Wf(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function lf(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sm(e){e._nesting--,Wf(e)}var cc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new be;onMicrotaskEmpty=new be;onStable=new be;onError=new be;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function Gw(e){return sy(e,"__ignore_ng_zone__")}function Ww(e){return sy(e,"__scheduler_tick__")}function sy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var qf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),ay=[0,1,2,3],cy=(()=>{class e{ngZone=m(ce);scheduler=m(yn);errorHandler=m(xt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Tr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&Q(16),this.executing=!0;for(let r of ay)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Q(17)}register(n){let{view:r}=n;r!==void 0?((r[Dr]??=[]).push(n),pi(r),r[R]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ic.AFTER_NEXT_RENDER,n):n()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),lc=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,o,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Dr];t&&(this.view[Dr]=t.filter(n=>n!==this))}};function Mc(e,t){let n=t?.injector??m(at);return er("NgAfterNextRender"),Zw(e,n,t,!0)}function qw(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Zw(e,t,n,r){let i=t.get(qf);i.impl??=t.get(cy);let o=t.get(Tr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(kt):null,a=t.get(La,null,{optional:!0}),c=new lc(i.impl,qw(e),a?.view,r,s,o?.snapshot(null));return i.impl.register(c),c}var Sc=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Zf=new M("");function tr(e){return!!e&&typeof e.then=="function"}function Yf(e){return!!e&&typeof e.subscribe=="function"}var ly=new M("");var Qf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(ly,{optional:!0})??[];injector=m(at);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=xe(this.injector,i);if(tr(o))n.push(o);else if(Yf(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Tc=new M("");function uy(){ru(()=>{let e="";throw new E(600,e)})}function dy(e){return e.isBoundToModule}var Yw=10;var nn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(We);afterRenderManager=m(qf);zonelessEnabled=m(gi);rootEffectScheduler=m(bd);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new de;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(Qt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(n=>!n))}constructor(){m(Tr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=at.NULL){return this._injector.get(ce).run(()=>{Q(10);let s=n instanceof bc;if(!this._injector.get(Qf).done){let h="";throw new E(405,h)}let c;s?c=n:c=this._injector.get(Oo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=dy(c)?void 0:this._injector.get(Mr),u=r||c.selector,d=c.create(i,[],u,l),p=d.location.nativeElement,f=d.injector.get(Zf,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),_o(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),Q(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Q(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ic.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new E(101,!1);let n=k(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,k(n),this.afterTick.next(),Q(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ir,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++Do(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;_o(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(Tc,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>_o(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _o(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Fo(e,t,n,r){let i=F(),o=br();if(_t(i,o,t)){let s=Ee(),a=ka();u0(a,i,e,t,n,r)}return Fo}var SL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Tn(e,t,n,r,i,o,s,a){er("NgControlFlow");let c=F(),l=Ee(),u=Yt(l.consts,o);return ry(c,l,e,t,n,r,i,u,256,s,a),Kf}function Kf(e,t,n,r,i,o,s,a){er("NgControlFlow");let c=F(),l=Ee(),u=Yt(l.consts,o);return ry(c,l,e,t,n,r,i,u,512,s,a),Kf}function xn(e,t){er("NgControlFlow");let n=F(),r=br(),i=n[r]!==je?n[r]:-1,o=i!==-1?Tm(n,me+i):void 0,s=0;if(_t(n,r,e)){let a=k(null);try{if(o!==void 0&&N0(o,s),e!==-1){let c=me+e,l=Tm(n,c),u=Qw(n[A],c),d=V0(l,u,n),p=Tv(n,u,t,{dehydratedView:d});Vv(l,p,s,Qd(u,d))}}finally{k(a)}}else if(o!==void 0){let a=A0(o,s);a!==void 0&&(a[Ae]=t)}}function Tm(e,t){return e[t]}function Qw(e,t){return yo(e,t)}function T(e,t,n){let r=F(),i=br();if(_t(r,i,t)){let o=Ee(),s=ka();wv(s,r,e,t,r[se],n)}return T}function uf(e,t,n,r,i){jf(t,e,n,i?"class":"style",r)}function v(e,t,n,r){let i=F(),o=i[A],s=e+me,a=o.firstCreatePass?Gv(s,i,2,t,Iv,sd(),n,r):o.data[s];if(Mv(a,i,e,t,fy),vo(a)){let c=i[A];Lf(c,i,a),iv(c,a,i)}return r!=null&&Ec(i,a),v}function g(){let e=Ee(),t=Ne(),n=Sv(t);return e.firstCreatePass&&Wv(e,n),ad(n)&&cd(),od(),n.classesWithoutHost!=null&&Rb(n)&&uf(e,n,F(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Ob(n)&&uf(e,n,F(),n.stylesWithoutHost,!1),g}function O(e,t,n,r){return v(e,t,n,r),g(),O}function rn(e,t,n,r){let i=F(),o=i[A],s=e+me,a=o.firstCreatePass?Q0(s,o,2,t,n,r):o.data[s];return Mv(a,i,e,t,fy),r!=null&&Ec(i,a),rn}function An(){let e=Ne(),t=Sv(e);return ad(t)&&cd(),od(),An}function wi(e,t,n,r){return rn(e,t,n,r),An(),wi}var fy=(e,t,n,r,i)=>(Fa(!0),gv(t[se],r,Yg()));function Nn(){return F()}var Ua=void 0;function Kw(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Jw=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Ua,[["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"]],Ua,[["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}",Ua,"{1} 'at' {0}",Ua],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Kw],xd={};function tt(e){let t=Xw(e),n=xm(t);if(n)return n;let r=t.split("-")[0];if(n=xm(r),n)return n;if(r==="en")return Jw;throw new E(701,!1)}function xm(e){return e in xd||(xd[e]=ht.ng&&ht.ng.common&&ht.ng.common.locales&&ht.ng.common.locales[e]),xd[e]}var le=(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})(le||{});function Xw(e){return e.toLowerCase().replace(/_/g,"-")}var Lo="en-US";var eI=Lo;function py(e){typeof e=="string"&&(eI=e.toLowerCase().replace(/_/g,"-"))}function K(e,t,n){let r=F(),i=Ee(),o=Ne();return hy(i,r,r[se],o,e,t,n),K}function hy(e,t,n,r,i,o,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Md(r,t,o),X0(r,e,t,s,n,i,o,c)&&(a=!1)),a){let l=r.outputs?.[i],u=r.hostDirectiveOutputs?.[i];if(u&&u.length)for(let d=0;d>17&32767}function tI(e){return(e&2)==2}function nI(e,t){return e&131071|t<<17}function df(e){return e|2}function Ei(e){return(e&131068)>>2}function Ad(e,t){return e&-131069|t<<2}function rI(e){return(e&1)===1}function ff(e){return e|1}function iI(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Sr(s),c=Ei(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||ci(d,u)>0)&&(l=!0)}else u=n;if(i)if(c!==0){let p=Sr(e[a+1]);e[r+1]=Ha(p,a),p!==0&&(e[p+1]=Ad(e[p+1],r)),e[a+1]=nI(e[a+1],r)}else e[r+1]=Ha(a,0),a!==0&&(e[a+1]=Ad(e[a+1],r)),a=r;else e[r+1]=Ha(c,0),a===0?a=r:e[c+1]=Ad(e[c+1],r),c=r;l&&(e[r+1]=df(e[r+1])),Am(e,u,r,!0),Am(e,u,r,!1),oI(t,u,e,r,o),s=Ha(a,c),o?t.classBindings=s:t.styleBindings=s}function oI(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&ci(o,t)>=0&&(n[r+1]=ff(n[r+1]))}function Am(e,t,n,r){let i=e[n+1],o=t===null,s=r?Sr(i):Ei(i),a=!1;for(;s!==0&&(a===!1||o);){let c=e[s],l=e[s+1];sI(c,t)&&(a=!0,e[s+1]=r?ff(l):df(l)),s=r?Sr(l):Ei(l)}a&&(e[n+1]=r?df(i):ff(i))}function sI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ci(e,t)>=0:!1}var Ft={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function aI(e){return e.substring(Ft.key,Ft.keyEnd)}function cI(e){return lI(e),gy(e,my(e,0,Ft.textEnd))}function gy(e,t){let n=Ft.textEnd;return n===t?-1:(t=Ft.keyEnd=uI(e,Ft.key=t,n),my(e,t,n))}function lI(e){Ft.key=0,Ft.keyEnd=0,Ft.value=0,Ft.valueEnd=0,Ft.textEnd=e.length}function my(e,t,n){for(;t32;)t++;return t}function on(e,t,n){return vy(e,t,n,!1),on}function xr(e,t){return vy(e,t,null,!0),xr}function qe(e){fI(yI,dI,e,!0)}function dI(e,t){for(let n=cI(t);n>=0;n=gy(t,n))wa(e,aI(t),!0)}function vy(e,t,n,r){let i=F(),o=Ee(),s=xa(2);if(o.firstUpdatePass&&Dy(o,e,s,r),t!==je&&_t(i,s,t)){let a=o.data[En()];Cy(o,a,i,i[se],e,i[s+1]=CI(t,n),r,s)}}function fI(e,t,n,r){let i=Ee(),o=xa(2);i.firstUpdatePass&&Dy(i,null,o,r);let s=F();if(n!==je&&_t(s,o,n)){let a=i.data[En()];if(Ey(a,r)&&!yy(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ca(c,n||"")),uf(i,a,s,n,r)}else DI(i,a,s,s[se],s[o+1],s[o+1]=vI(e,t,n),r,o)}}function yy(e,t){return t>=e.expandoStartIndex}function Dy(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[En()],s=yy(e,n);Ey(o,r)&&t===null&&!s&&(t=!1),t=pI(i,o,t,r),iI(i,o,t,n,s,r)}}function pI(e,t,n,r){let i=zg(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Nd(null,e,t,n,r),n=So(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Nd(i,e,t,n,r),o===null){let c=hI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Nd(null,e,t,c[1],r),c=So(c,t.attrs,r),gI(e,t,r,c))}else o=mI(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function hI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ei(r)!==0)return e[Sr(r)]}function gI(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Sr(i)]=r}function mI(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let c=e[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[i+1];p===je&&(p=d?ze:void 0);let f=d?Ia(p,r):u===r?p:void 0;if(l&&!uc(f)&&(f=Ia(c,r)),uc(f)&&(a=f,s))return a;let h=e[i+1];i=s?Sr(h):Ei(h)}if(t!==null){let c=o?t.residualClasses:t.residualStyles;c!=null&&(a=Ia(c,r))}return a}function uc(e){return e!==void 0}function CI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=vn(wt(e)))),e}function Ey(e,t){return(e.flags&(t?8:16))!==0}function C(e,t=""){let n=F(),r=Ee(),i=e+me,o=r.firstCreatePass?Ro(r,i,1,t,null):r.data[i],s=EI(r,n,o,t,e);n[i]=s,Pa()&&Pf(r,n,s,o),hi(o,!1)}var EI=(e,t,n,r,i)=>(Fa(!0),R_(t[se],r));function by(e,t,n,r=""){return _t(e,br(),n)?t+Cn(n)+r:je}function bI(e,t,n,r,i,o=""){let s=Vg(),a=Hf(e,s,n,i);return xa(2),a?t+Cn(n)+r+Cn(i)+o:je}function ie(e){return ue("",e),ie}function ue(e,t,n){let r=F(),i=by(r,e,t,n);return i!==je&&_y(r,En(),i),ue}function ut(e,t,n,r,i){let o=F(),s=bI(o,e,t,n,r,i);return s!==je&&_y(o,En(),s),ut}function _y(e,t,n){let r=Ku(t,e);O_(e[se],r,n)}function Vo(e,t,n){Dd(t)&&(t=t());let r=F(),i=br();if(_t(r,i,t)){let o=Ee(),s=ka();wv(s,r,e,t,r[se],n)}return Vo}function xc(e,t){let n=Dd(e);return n&&e.set(t),n}function Bo(e,t){let n=F(),r=Ee(),i=Ne();return hy(r,n,n[se],i,e,t),Bo}function Ar(e){return _t(F(),br(),e)?Cn(e):je}function Nr(e,t,n=""){return by(F(),e,t,n)}function _I(e,t,n){let r=Ee();if(r.firstCreatePass){let i=Zt(e);pf(n,r.data,r.blueprint,i,!0),pf(t,r.data,r.blueprint,i,!1)}}function pf(e,t,n,r,i){if(e=Te(e),Array.isArray(e))for(let o=0;o>20;if(hr(e)||!e.multi){let f=new wr(l,i,I,null),h=Od(c,t,i?u:u+p,d);h===-1?(Pd(Ja(a,s),o,c),Rd(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Od(c,t,u+p,d),h=Od(c,t,u,u+p),w=f>=0&&n[f],b=h>=0&&n[h];if(i&&!b||!i&&!w){Pd(Ja(a,s),o,c);let _=MI(i?II:wI,n.length,i,r,l,e);!i&&b&&(n[h].providerFactory=_),Rd(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=wy(n[i?h:f],l,!i&&r);Rd(o,e,f>-1?f:h,_)}!i&&r&&b&&n[h].componentProviders++}}}function Rd(e,t,n,r){let i=hr(t),o=wg(t);if(i||o){let c=(o?Te(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Od(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>_I(r,i?i(e):e,t)}}function Ze(e,t,n){let r=Co()+e,i=F();return i[r]===je?_c(i,r,n?t.call(n):t()):K0(i,r)}function $o(e,t,n,r){return SI(F(),Co(),e,t,n,r)}function Jf(e,t){let n=e[t];return n===je?void 0:n}function SI(e,t,n,r,i,o){let s=t+n;return _t(e,s,i)?_c(e,s+1,o?r.call(o,i):r(i)):Jf(e,s+1)}function TI(e,t,n,r,i,o,s){let a=t+n;return Hf(e,a,i,o)?_c(e,a+2,s?r.call(s,i,o):r(i,o)):Jf(e,a+2)}function xI(e,t,n,r,i,o,s,a){let c=t+n;return J0(e,c,i,o,s)?_c(e,c+3,a?r.call(a,i,o,s):r(i,o,s)):Jf(e,c+3)}function Ye(e,t){let n=Ee(),r,i=e+me;n.firstCreatePass?(r=AI(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Hn(r.type,!0)),s,a=He(I);try{let c=Ka(!1),l=o();return Ka(c),Xu(n,F(),i,l),l}finally{He(a)}}function AI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function dt(e,t,n,r){let i=e+me,o=F(),s=Ju(o,i);return Iy(o,i)?TI(o,Co(),t,s.transform,n,r,s):s.transform(n,r)}function Xf(e,t,n,r,i){let o=e+me,s=F(),a=Ju(s,o);return Iy(s,o)?xI(s,Co(),t,a.transform,n,r,i,a):a.transform(n,r,i)}function Iy(e,t){return e[A].data[t].pure}var dc=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ep=(()=>{class e{compileModuleSync(n){return new sc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=Hu(n),o=pv(i.declarations).reduce((s,a)=>{let c=Wn(a);return c&&s.push(new Ci(c)),s},[]);return new dc(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var NI=(()=>{class e{zone=m(ce);changeDetectionScheduler=m(yn);applicationRef=m(nn);applicationErrorHandler=m(We);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),My=new M("",{factory:()=>!1});function tp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ce(L(D({},rp()),{scheduleInRootZone:n})),[{provide:ce,useFactory:e},{provide:Ht,multi:!0,useFactory:()=>{let r=m(NI,{optional:!0});return()=>r.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{let r=m(RI);return()=>{r.initialize()}}},t===!0?{provide:Cd,useValue:!0}:[],{provide:Ed,useValue:n??iy},{provide:We,useFactory:()=>{let r=m(ce),i=m(ge),o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(xt),o.handleError(s))})}}}]}function np(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=tp({ngZoneFactory:()=>{let i=rp(e);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&er("NgZone_CoalesceEvent"),new ce(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return zt([{provide:My,useValue:!0},{provide:gi,useValue:!1},r])}function rp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var RI=(()=>{class e{subscription=new pe;initialized=!1;zone=m(ce);pendingTasks=m(Qt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Sy=(()=>{class e{applicationErrorHandler=m(We);appRef=m(nn);taskService=m(Qt);ngZone=m(ce);zonelessEnabled=m(gi);tracing=m(Tr,{optional:!0});disableScheduling=m(Cd,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new pe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ac):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Ed,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof cc||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Im:oy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ac+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Im(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OI(){return typeof $localize<"u"&&$localize.locale||Lo}var Ti=new M("",{providedIn:"root",factory:()=>m(Ti,{optional:!0,skipSelf:!0})||OI()});function Re(e){return cg(e)}function Uo(e,t){return zs(e,t?.equal)}var Ty=class{[Pe];constructor(t){this[Pe]=t}destroy(){this[Pe].destroy()}};var ky=Symbol("InputSignalNode#UNSET"),ZI=L(D({},Gs),{transformFn:void 0,applyValueToInputSignal(e,t){Yr(e,t)}});function Py(e,t){let n=Object.create(ZI);n.value=e,n.transformFn=t?.transform;function r(){if(Wr(n),n.value===ky){let i=null;throw new E(-950,i)}return n.value}return r[Pe]=n,r}var Nc=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>xo(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},YI=new M("");YI.__NG_ELEMENT_ID__=e=>{let t=Ne();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new E(204,!1)};function xy(e,t){return Py(e,t)}function QI(e){return Py(ky,e)}var Fy=(xy.required=QI,xy);var ip=new M(""),KI=new M("");function Ho(e){return!e.moduleRef}function JI(e){let t=Ho(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ce);return n.run(()=>{Ho(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),Ho(e)){let o=()=>t.destroy(),s=e.platformInjector.get(ip);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ip);s.add(o),e.moduleRef.onDestroy(()=>{_o(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return eM(r,n,()=>{let o=t.get(Qt),s=o.add(),a=t.get(Qf);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ti,Lo);if(py(c||Lo),!t.get(KI,!0))return Ho(e)?t.get(nn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ho(e)){let u=t.get(nn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return XI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void o.remove(s))})})}var XI;function eM(e,t,n){try{let r=n();return tr(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ac=null;function tM(e=[],t){return at.create({name:t,providers:[{provide:uo,useValue:"platform"},{provide:ip,useValue:new Set([()=>Ac=null])},...e]})}function nM(e=[]){if(Ac)return Ac;let t=tM(e);return Ac=t,uy(),rM(t),t}function rM(e){let t=e.get(hc,null);xe(e,()=>{t?.forEach(n=>n())})}var Rr=(()=>{class e{static __NG_ELEMENT_ID__=iM}return e})();function iM(e){return oM(Ne(),F(),(e&16)===16)}function oM(e,t,n){if(Yn(e)&&!n){let r=Dt(e.index,t);return new Kn(r,r)}else if(e.type&175){let r=t[vt];return new Kn(r,t)}return null}var op=class{constructor(){}supports(t){return Uf(t)}create(t){return new sp(t)}},sM=(e,t)=>t,sp=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||sM}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(i,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,i),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,i),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new ap(n,r),o,i)),t}_verifyReinsertion(t,n,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let i=t._prevRemoved,o=t._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let i=n===null?this._itHead:n._next;return t._next=i,t._prev=n,i===null?this._itTail=t:i._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Rc),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Rc),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ap=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},cp=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Rc=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new cp,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,i=this.map.get(r);return i?i.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ay(e,t,n){let r=e.previousIndex;if(r===null)return r;let i=0;return n&&r{class e{factories;static \u0275prov=S({token:e,providedIn:"root",factory:Ny});constructor(n){this.factories=n}static create(n,r){if(r!=null){let i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||Ny())}}}find(n){let r=this.factories.find(i=>i.supports(n));if(r!=null)return r;throw new E(901,!1)}}return e})();function Ly(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:i}=e;Q(8);try{let o=i?.injector??nM(r),s=[tp({}),{provide:yn,useExisting:Sy},Kg,...n||[]],a=new Mo({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return JI({r3Injector:a.injector,platformInjector:o,rootComponent:t})}catch(o){return Promise.reject(o)}finally{Q(9)}}function xi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var By=null;function Mt(){return By}function up(e){By??=e}var zo=class{},dp=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m($y),providedIn:"platform"})}return e})();var $y=(()=>{class e extends dp{_location;_history;_doc=m(fe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mt().getBaseHref(this._doc)}onPopState(n){let r=Mt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Mt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Uy(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function jy(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function nr(e){return e&&e[0]!=="?"?`?${e}`:e}var Ai=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m(zy),providedIn:"root"})}return e})(),Hy=new M(""),zy=(()=>{class e extends Ai{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(fe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Uy(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+nr(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+nr(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+nr(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(x(dp),x(Hy,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ni=(()=>{class e{_subject=new de;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=lM(jy(Vy(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+nr(r))}normalize(n){return e.stripTrailingSlash(cM(this._basePath,Vy(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+nr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+nr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=nr;static joinWithSlash=Uy;static stripTrailingSlash=jy;static \u0275fac=function(r){return new(r||e)(x(Ai))};static \u0275prov=S({token:e,factory:()=>aM(),providedIn:"root"})}return e})();function aM(){return new Ni(x(Ai))}function cM(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Vy(e){return e.replace(/\/index.html$/,"")}function lM(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var vp=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(vp||{});var Ve=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ve||{}),ee=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(ee||{}),nt=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(nt||{}),rt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Yy(e){return tt(e)[le.LocaleId]}function Qy(e,t,n){let r=tt(e),i=[r[le.DayPeriodsFormat],r[le.DayPeriodsStandalone]],o=St(i,t);return St(o,n)}function Ky(e,t,n){let r=tt(e),i=[r[le.DaysFormat],r[le.DaysStandalone]],o=St(i,t);return St(o,n)}function Jy(e,t,n){let r=tt(e),i=[r[le.MonthsFormat],r[le.MonthsStandalone]],o=St(i,t);return St(o,n)}function Xy(e,t){let r=tt(e)[le.Eras];return St(r,t)}function Go(e,t){let n=tt(e);return St(n[le.DateFormat],t)}function Wo(e,t){let n=tt(e);return St(n[le.TimeFormat],t)}function qo(e,t){let r=tt(e)[le.DateTimeFormat];return St(r,t)}function sn(e,t){let n=tt(e),r=n[le.NumberSymbols][t];if(typeof r>"u"){if(t===rt.CurrencyDecimal)return n[le.NumberSymbols][rt.Decimal];if(t===rt.CurrencyGroup)return n[le.NumberSymbols][rt.Group]}return r}function eD(e,t){return tt(e)[le.NumberFormats][t]}function tD(e){if(!e[le.ExtraData])throw new E(2303,!1)}function nD(e){let t=tt(e);return tD(t),(t[le.ExtraData][2]||[]).map(r=>typeof r=="string"?fp(r):[fp(r[0]),fp(r[1])])}function rD(e,t,n){let r=tt(e);tD(r);let i=[r[le.ExtraData][0],r[le.ExtraData][1]],o=St(i,t)||[];return St(o,n)||[]}function St(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new E(2304,!1)}function fp(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var uM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Oc={},dM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function iD(e,t,n,r){let i=CM(e);t=Rn(n,t)||t;let s=[],a;for(;t;)if(a=dM.exec(t),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;t=u}else{s.push(t);break}let c=i.getTimezoneOffset();r&&(c=sD(r,c),i=DM(i,r));let l="";return s.forEach(u=>{let d=vM(u);l+=d?d(i,n,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function jc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Rn(e,t){let n=Yy(e);if(Oc[n]??={},Oc[n][t])return Oc[n][t];let r="";switch(t){case"shortDate":r=Go(e,nt.Short);break;case"mediumDate":r=Go(e,nt.Medium);break;case"longDate":r=Go(e,nt.Long);break;case"fullDate":r=Go(e,nt.Full);break;case"shortTime":r=Wo(e,nt.Short);break;case"mediumTime":r=Wo(e,nt.Medium);break;case"longTime":r=Wo(e,nt.Long);break;case"fullTime":r=Wo(e,nt.Full);break;case"short":let i=Rn(e,"shortTime"),o=Rn(e,"shortDate");r=kc(qo(e,nt.Short),[i,o]);break;case"medium":let s=Rn(e,"mediumTime"),a=Rn(e,"mediumDate");r=kc(qo(e,nt.Medium),[s,a]);break;case"long":let c=Rn(e,"longTime"),l=Rn(e,"longDate");r=kc(qo(e,nt.Long),[c,l]);break;case"full":let u=Rn(e,"fullTime"),d=Rn(e,"fullDate");r=kc(qo(e,nt.Full),[u,d]);break}return r&&(Oc[n][t]=r),r}function kc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function jt(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,o=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return fM(a,t);let c=sn(s,rt.MinusSign);return jt(a,t,c,r,i)}}function pM(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new E(2301,!1)}}function te(e,t,n=Ve.Format,r=!1){return function(i,o){return hM(i,o,e,t,n,r)}}function hM(e,t,n,r,i,o){switch(n){case 2:return Jy(t,i,r)[e.getMonth()];case 1:return Ky(t,i,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let l=nD(t),u=rD(t,i,r),d=l.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,w=s>=f.hours&&a>=f.minutes,b=s0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+jt(s,2,o)+jt(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+jt(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+jt(s,2,o)+":"+jt(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+jt(s,2,o)+":"+jt(Math.abs(i%60),2,o);default:throw new E(2310,!1)}}}var gM=0,Lc=4;function mM(e){let t=jc(e,gM,1).getDay();return jc(e,0,1+(t<=Lc?Lc:Lc+7)-t)}function oD(e){let t=e.getDay(),n=t===0?-3:Lc-t;return jc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function pp(e,t=!1){return function(n,r){let i;if(t){let o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7)}else{let o=oD(n),s=mM(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return jt(i,e,sn(r,rt.MinusSign))}}function Fc(e,t=!1){return function(n,r){let o=oD(n).getFullYear();return jt(o,e,sn(r,rt.MinusSign),t)}}var hp={};function vM(e){if(hp[e])return hp[e];let t;switch(e){case"G":case"GG":case"GGG":t=te(3,ee.Abbreviated);break;case"GGGG":t=te(3,ee.Wide);break;case"GGGGG":t=te(3,ee.Narrow);break;case"y":t=ye(0,1,0,!1,!0);break;case"yy":t=ye(0,2,0,!0,!0);break;case"yyy":t=ye(0,3,0,!1,!0);break;case"yyyy":t=ye(0,4,0,!1,!0);break;case"Y":t=Fc(1);break;case"YY":t=Fc(2,!0);break;case"YYY":t=Fc(3);break;case"YYYY":t=Fc(4);break;case"M":case"L":t=ye(1,1,1);break;case"MM":case"LL":t=ye(1,2,1);break;case"MMM":t=te(2,ee.Abbreviated);break;case"MMMM":t=te(2,ee.Wide);break;case"MMMMM":t=te(2,ee.Narrow);break;case"LLL":t=te(2,ee.Abbreviated,Ve.Standalone);break;case"LLLL":t=te(2,ee.Wide,Ve.Standalone);break;case"LLLLL":t=te(2,ee.Narrow,Ve.Standalone);break;case"w":t=pp(1);break;case"ww":t=pp(2);break;case"W":t=pp(1,!0);break;case"d":t=ye(2,1);break;case"dd":t=ye(2,2);break;case"c":case"cc":t=ye(7,1);break;case"ccc":t=te(1,ee.Abbreviated,Ve.Standalone);break;case"cccc":t=te(1,ee.Wide,Ve.Standalone);break;case"ccccc":t=te(1,ee.Narrow,Ve.Standalone);break;case"cccccc":t=te(1,ee.Short,Ve.Standalone);break;case"E":case"EE":case"EEE":t=te(1,ee.Abbreviated);break;case"EEEE":t=te(1,ee.Wide);break;case"EEEEE":t=te(1,ee.Narrow);break;case"EEEEEE":t=te(1,ee.Short);break;case"a":case"aa":case"aaa":t=te(0,ee.Abbreviated);break;case"aaaa":t=te(0,ee.Wide);break;case"aaaaa":t=te(0,ee.Narrow);break;case"b":case"bb":case"bbb":t=te(0,ee.Abbreviated,Ve.Standalone,!0);break;case"bbbb":t=te(0,ee.Wide,Ve.Standalone,!0);break;case"bbbbb":t=te(0,ee.Narrow,Ve.Standalone,!0);break;case"B":case"BB":case"BBB":t=te(0,ee.Abbreviated,Ve.Format,!0);break;case"BBBB":t=te(0,ee.Wide,Ve.Format,!0);break;case"BBBBB":t=te(0,ee.Narrow,Ve.Format,!0);break;case"h":t=ye(3,1,-12);break;case"hh":t=ye(3,2,-12);break;case"H":t=ye(3,1);break;case"HH":t=ye(3,2);break;case"m":t=ye(4,1);break;case"mm":t=ye(4,2);break;case"s":t=ye(5,1);break;case"ss":t=ye(5,2);break;case"S":t=ye(6,1);break;case"SS":t=ye(6,2);break;case"SSS":t=ye(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Pc(0);break;case"ZZZZZ":t=Pc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Pc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Pc(2);break;default:return null}return hp[e]=t,t}function sD(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function yM(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function DM(e,t,n){let i=e.getTimezoneOffset(),o=sD(t,i);return yM(e,-1*(o-i))}function CM(e){if(Gy(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[i,o=1,s=1]=e.split("-").map(a=>+a);return jc(i,o-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(uM))return EM(r)}let t=new Date(e);if(!Gy(t))throw new E(2311,!1);return t}function EM(e){let t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(t,s,a,c,l),t}function Gy(e){return e instanceof Date&&!isNaN(e.valueOf())}var bM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Wy=22,Vc=".",Zo="0",_M=";",wM=",",gp="#";function IM(e,t,n,r,i,o,s=!1){let a="",c=!1;if(!isFinite(e))a=sn(n,rt.Infinity);else{let l=TM(e);s&&(l=SM(l));let u=t.minInt,d=t.minFrac,p=t.maxFrac;if(o){let X=o.match(bM);if(X===null)throw new E(2306,!1);let oe=X[1],$=X[3],Me=X[5];oe!=null&&(u=mp(oe)),$!=null&&(d=mp($)),Me!=null?p=mp(Me):$!=null&&d>p&&(p=d)}xM(l,d,p);let f=l.digits,h=l.integerLen,w=l.exponent,b=[];for(c=f.every(X=>!X);h0?b=f.splice(h,f.length):(b=f,f=[0]);let _=[];for(f.length>=t.lgSize&&_.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)_.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(sn(n,r)),b.length&&(a+=sn(n,i)+b.join("")),w&&(a+=sn(n,rt.Exponential)+"+"+w)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function aD(e,t,n){let r=eD(t,vp.Decimal),i=MM(r,sn(t,rt.MinusSign));return IM(e,i,t,rt.Group,rt.Decimal,n)}function MM(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(_M),i=r[0],o=r[1],s=i.indexOf(Vc)!==-1?i.split(Vc):[i.substring(0,i.lastIndexOf(Zo)+1),i.substring(i.lastIndexOf(Zo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(gp));for(let u=0;u-1&&(t=t.replace(Vc,"")),(o=t.search(/e/i))>0?(i<0&&(i=o),i+=+t.slice(o+1),t=t.substring(0,o)):i<0&&(i=t.length),o=0;t.charAt(o)===Zo;o++);if(o===(a=t.length))r=[0],i=1;else{for(a--;t.charAt(a)===Zo;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(t.charAt(o))}return i>Wy&&(r=r.splice(0,Wy-1),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}function xM(e,t,n){if(t>n)throw new E(2307,!1);let r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i=l?h.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function mp(e){let t=parseInt(e);if(isNaN(t))throw new E(2305,!1);return t}var Bc=class{$implicit;ngForOf;index;count;constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Be=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new Bc(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),qy(a,i)}});for(let i=0,o=r.length;i{let o=r.get(i.currentIndex);qy(o,i)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(I(Mn),I(Jn),I(lp))};static \u0275dir=ve({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function qy(e,t){e.context.$implicit=t.item}var Yo=(()=>{class e{_viewContainer;_context=new $c;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Zy(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Zy(n,!1),this._elseTemplateRef=n,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(I(Mn),I(Jn))};static \u0275dir=ve({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),$c=class{$implicit=null;ngIf=null};function Zy(e,t){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}function yp(e,t){return new E(2100,!1)}var AM="mediumDate",cD=new M(""),lD=new M(""),Or=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,i){this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??AM,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return iD(n,s,o||this.locale,a)}catch(s){throw yp(e,s.message)}}static \u0275fac=function(r){return new(r||e)(I(Ti,16),I(cD,24),I(lD,24))};static \u0275pipe=Po({name:"date",type:e,pure:!0})}return e})();var Dp=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,i){if(!NM(n))return null;i||=this._locale;try{let o=RM(n);return aD(o,i,r)}catch(o){throw yp(e,o.message)}}static \u0275fac=function(r){return new(r||e)(I(Ti,16))};static \u0275pipe=Po({name:"number",type:e,pure:!0})}return e})();function NM(e){return!(e==null||e===""||e!==e)}function RM(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new E(2309,!1);return e}var Cp=(()=>{class e{transform(n,r,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw yp(e,n);return n.slice(r,i)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Po({name:"slice",type:e,pure:!1})}return e})();var $e=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=tn({type:e});static \u0275inj=At({})}return e})();function Qo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var kr=class{};var uD="browser";var Hc=new M(""),Ip=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(x(Hc),x(ce))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ko=class{_doc;constructor(t){this._doc=t}manager},Ep="ng-app-id";function dD(e){for(let t of e)t.remove()}function fD(e,t){let n=t.createElement("style");return n.textContent=e,n}function OM(e,t,n,r){let i=e.head?.querySelectorAll(`style[${Ep}="${t}"],link[${Ep}="${t}"]`);if(i)for(let o of i)o.removeAttribute(Ep),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function _p(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Mp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,OM(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,fD);r?.forEach(i=>this.addUsage(i,this.external,_p))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(dD(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])dD(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,fD(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,_p(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(x(fe),x(pc),x(gc,8),x(_i))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),bp={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/Math/MathML"},Sp=/%COMP%/g;var hD="%COMP%",kM=`_nghost-${hD}`,PM=`_ngcontent-${hD}`,FM=!0,LM=new M("",{providedIn:"root",factory:()=>FM});function jM(e){return PM.replace(Sp,e)}function VM(e){return kM.replace(Sp,e)}function gD(e,t){return t.map(n=>n.replace(Sp,e))}var Tp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,c,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new Jo(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(n,r);return i instanceof Uc?i.applyToHost(n):i instanceof Xo&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case bn.Emulated:o=new Uc(c,l,r,this.appId,u,s,a,d,p);break;case bn.ShadowDom:return new wp(c,l,n,r,s,a,this.nonce,d,p);default:o=new Xo(c,l,r,u,s,a,d,p);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(x(Ip),x(Mp),x(pc),x(LM),x(fe),x(_i),x(ce),x(gc),x(Tr,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Jo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,i,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(bp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(pD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(pD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=bp[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=bp[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Jt.DashCase|Jt.Important)?t.style.setProperty(n,r,i&Jt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Jt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,i){if(typeof t=="string"&&(t=Mt().getGlobalEventTarget(this.doc,t),!t))throw new E(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,i)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function pD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var wp=class extends Jo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,i,o,s,a,c,l){super(t,o,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=gD(i.id,u);for(let p of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=i.getExternalStyles?.();if(d)for(let p of d){let f=_p(p,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xo=class extends Jo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,i,o,s,a,c,l){super(t,o,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=l?gD(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Dc.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Uc=class extends Xo{contentAttr;hostAttr;constructor(t,n,r,i,o,s,a,c,l){let u=i+"-"+r.id;super(t,n,r,o,s,a,c,l,u),this.contentAttr=jM(u),this.hostAttr=VM(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var zc=class e extends zo{supportsDOMEvents=!0;static makeCurrent(){up(new e)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=BM();return n==null?null:$M(n)}resetBaseElement(){es=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Qo(document.cookie,t)}},es=null;function BM(){return es=es||document.head.querySelector("base"),es?es.getAttribute("href"):null}function $M(e){return new URL(e,document.baseURI).pathname}var UM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),vD=(()=>{class e extends Ko{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(x(fe))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),mD=["alt","control","meta","shift"],HM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},yD=(()=>{class e extends Ko{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mt().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),mD.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let i=HM[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),mD.forEach(s=>{if(s!==i){let a=zM[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(x(fe))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function xp(e,t,n){let r=D({rootComponent:e,platformRef:n?.platformRef},GM(t));return Ly(r)}function GM(e){return{appProviders:[...QM,...e?.providers??[]],platformProviders:YM}}function WM(){zc.makeCurrent()}function qM(){return new xt}function ZM(){return vf(document),document}var YM=[{provide:_i,useValue:uD},{provide:hc,useValue:WM,multi:!0},{provide:fe,useFactory:ZM}];var QM=[{provide:uo,useValue:"root"},{provide:xt,useFactory:qM},{provide:Hc,useClass:vD,multi:!0,deps:[fe]},{provide:Hc,useClass:yD,multi:!0,deps:[fe]},Tp,Mp,Ip,{provide:Ir,useExisting:Tp},{provide:kr,useClass:UM},[]];var ki=class{},ts=class{},rr=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Wc=class{encodeKey(t){return DD(t)}encodeValue(t){return DD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function KM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var JM=/%(\d[a-f0-9])/gi,XM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DD(e){return encodeURIComponent(e).replace(JM,(t,n)=>XM[n]??t)}function Gc(e){return`${e}`}var On=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Wc,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=KM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map(Gc):[Gc(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Gc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Gc(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var qc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function eS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function CD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function ED(e){return typeof Blob<"u"&&e instanceof Blob}function bD(e){return typeof FormData<"u"&&e instanceof FormData}function tS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var _D="Content-Type",wD="Accept",ID="X-Request-URL",MD="text/plain",SD="application/json",nS=`${SD}, ${MD}, */*`,Ri=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,i){this.url=n,this.method=t.toUpperCase();let o;if(eS(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new E(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new rr,this.context??=new qc,!this.params)this.params=new On,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":aMe.set(ot,t.setHeaders[ot]),X)),t.setParams&&(oe=Object.keys(t.setParams).reduce((Me,ot)=>Me.set(ot,t.setParams[ot]),oe)),new e(n,r,w,{params:oe,headers:X,context:$,reportProgress:_,responseType:i,withCredentials:b,transferCache:f,keepalive:o,cache:a,priority:s,timeout:h,mode:c,redirect:l,credentials:u,referrer:d,integrity:p})}},Fr=(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})(Fr||{}),Pi=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new rr,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Zc=class e extends Pi{constructor(t={}){super(t)}type=Fr.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ns=class e extends Pi{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Fr.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Oi=class extends Pi{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},rS=200,iS=204;function Ap(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var Qc=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Ri)o=n;else{let c;i.headers instanceof rr?c=i.headers:c=new rr(i.headers);let l;i.params&&(i.params instanceof On?l=i.params:l=new On({fromObject:i.params})),o=new Ri(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=N(o).pipe($n(c=>this.handler.handle(c)));if(n instanceof Ri||i.observe==="events")return s;let a=s.pipe(et(c=>c instanceof ns));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(V(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));case"json":default:return a.pipe(V(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new On().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Ap(i,r))}post(n,r,i={}){return this.request("POST",n,Ap(i,r))}put(n,r,i={}){return this.request("PUT",n,Ap(i,r))}static \u0275fac=function(r){return new(r||e)(x(ki))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();var oS=new M("");function sS(e,t){return t(e)}function aS(e,t,n){return(r,i)=>xe(n,()=>t(r,o=>e(o,i)))}var TD=new M(""),xD=new M(""),AD=new M("",{providedIn:"root",factory:()=>!0});var Yc=(()=>{class e extends ki{backend;injector;chain=null;pendingTasks=m(ja);contributeToStability=m(AD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(TD),...this.injector.get(xD,[])]));this.chain=r.reduceRight((i,o)=>aS(i,o,this.injector),sS)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(dr(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(x(ts),x(ge))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();var cS=/^\)\]\}',?\n/,lS=RegExp(`^${ID}:`,"m");function uS(e){return"responseURL"in e&&e.responseURL?e.responseURL:lS.test(e.getAllResponseHeaders())?e.getResponseHeader(ID):null}var Np=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return N(null).pipe(Fe(()=>new U(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((b,_)=>s.setRequestHeader(b,_.join(","))),n.headers.has(wD)||s.setRequestHeader(wD,nS),!n.headers.has(_D)){let b=n.detectContentTypeHeader();b!==null&&s.setRequestHeader(_D,b)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let b=n.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let b=s.statusText||"OK",_=new rr(s.getAllResponseHeaders()),X=uS(s)||n.url;return c=new Zc({headers:_,status:s.status,statusText:b,url:X}),c},u=()=>{let{headers:b,status:_,statusText:X,url:oe}=l(),$=null;_!==iS&&($=typeof s.response>"u"?s.responseText:s.response),_===0&&(_=$?rS:0);let Me=_>=200&&_<300;if(n.responseType==="json"&&typeof $=="string"){let ot=$;$=$.replace(cS,"");try{$=$!==""?JSON.parse($):null}catch(fn){$=ot,Me&&(Me=!1,$={error:fn,text:$})}}Me?(o.next(new ns({body:$,headers:b,status:_,statusText:X,url:oe||void 0})),o.complete()):o.error(new Oi({error:$,headers:b,status:_,statusText:X,url:oe||void 0}))},d=b=>{let{url:_}=l(),X=new Oi({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(X)},p=d;n.timeout&&(p=b=>{let{url:_}=l(),X=new Oi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:_||void 0});o.error(X)});let f=!1,h=b=>{f||(o.next(l()),f=!0);let _={type:Fr.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),n.responseType==="text"&&s.responseText&&(_.partialText=s.responseText),o.next(_)},w=b=>{let _={type:Fr.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),o.next(_)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),o.next({type:Fr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(x(kr))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),ND=new M(""),dS="XSRF-TOKEN",fS=new M("",{providedIn:"root",factory:()=>dS}),pS="X-XSRF-TOKEN",hS=new M("",{providedIn:"root",factory:()=>pS}),rs=class{},gS=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Qo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(x(fe),x(fS))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();function mS(e,t){let n=e.url.toLowerCase();if(!m(ND)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=m(rs).getToken(),i=m(hS);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}function Rp(...e){let t=[Qc,Np,Yc,{provide:ki,useExisting:Yc},{provide:ts,useFactory:()=>m(oS,{optional:!0})??m(Np)},{provide:TD,useValue:mS,multi:!0},{provide:ND,useValue:!0},{provide:rs,useClass:gS}];for(let n of e)t.push(...n.\u0275providers);return zt(t)}var RD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(x(fe))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Op=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=x(yS),i},providedIn:"root"})}return e})(),yS=(()=>{class e extends Op{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case It.NONE:return r;case It.HTML:return en(r,"HTML")?wt(r):vc(this._doc,String(r)).toString();case It.STYLE:return en(r,"Style")?wt(r):r;case It.SCRIPT:if(en(r,"Script"))return wt(r);throw new E(5200,!1);case It.URL:return en(r,"URL")?wt(r):Ao(String(r));case It.RESOURCE_URL:if(en(r,"ResourceURL"))return wt(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(n){return Cf(n)}bypassSecurityTrustStyle(n){return Ef(n)}bypassSecurityTrustScript(n){return bf(n)}bypassSecurityTrustUrl(n){return _f(n)}bypassSecurityTrustResourceUrl(n){return wf(n)}static \u0275fac=function(r){return new(r||e)(x(fe))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var j="primary",ys=Symbol("RouteTitle"),jp=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Vr(e){return new jp(e)}function $D(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[o]===i)}else return e===t}function HD(e){return e.length>0?e[e.length-1]:null}function Pn(e){return gu(e)?e:tr(e)?ae(Promise.resolve(e)):N(e)}var CS={exact:GD,subset:WD},zD={exact:ES,subset:bS,ignored:()=>!0};function kD(e,t,n){return CS[n.paths](e.root,t.root,n.matrixParams)&&zD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function ES(e,t){return an(e,t)}function GD(e,t,n){if(!Lr(e.segments,t.segments)||!Xc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!GD(e.children[r],t.children[r],n))return!1;return!0}function bS(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>UD(e[n],t[n]))}function WD(e,t,n){return qD(e,t,t.segments,n)}function qD(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!Lr(i,n)||t.hasChildren()||!Xc(i,n,r))}else if(e.segments.length===n.length){if(!Lr(e.segments,n)||!Xc(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!WD(e.children[i],t.children[i],r))return!1;return!0}else{let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!Lr(e.segments,i)||!Xc(e.segments,i,r)||!e.children[j]?!1:qD(e.children[j],t,o,r)}}function Xc(e,t,n){return t.every((r,i)=>zD[n](e[i].parameters,r.parameters))}var ln=class{root;queryParams;fragment;_queryParamMap;constructor(t=new W([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Vr(this.queryParams),this._queryParamMap}toString(){return IS.serialize(this)}},W=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return el(this)}},ir=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Vr(this.parameters),this._parameterMap}toString(){return YD(this)}};function _S(e,t){return Lr(e,t)&&e.every((n,r)=>an(n.parameters,t[r].parameters))}function Lr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function wS(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===j&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==j&&(n=n.concat(t(i,r)))}),n}var Ds=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>new Br,providedIn:"root"})}return e})(),Br=class{parse(t){let n=new $p(t);return new ln(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${is(t.root,!0)}`,r=TS(t.queryParams),i=typeof t.fragment=="string"?`#${MS(t.fragment)}`:"";return`${n}${r}${i}`}},IS=new Br;function el(e){return e.segments.map(t=>YD(t)).join("/")}function is(e,t){if(!e.hasChildren())return el(e);if(t){let n=e.children[j]?is(e.children[j],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==j&&r.push(`${i}:${is(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=wS(e,(r,i)=>i===j?[is(e.children[j],!1)]:[`${i}:${is(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[j]!=null?`${el(e)}/${n[0]}`:`${el(e)}/(${n.join("//")})`}}function ZD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kc(e){return ZD(e).replace(/%3B/gi,";")}function MS(e){return encodeURI(e)}function Bp(e){return ZD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tl(e){return decodeURIComponent(e)}function PD(e){return tl(e.replace(/\+/g,"%20"))}function YD(e){return`${Bp(e.path)}${SS(e.parameters)}`}function SS(e){return Object.entries(e).map(([t,n])=>`;${Bp(t)}=${Bp(n)}`).join("")}function TS(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${Kc(n)}=${Kc(i)}`).join("&"):`${Kc(n)}=${Kc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var xS=/^[^\/()?;#]+/;function kp(e){let t=e.match(xS);return t?t[0]:""}var AS=/^[^\/()?;=#]+/;function NS(e){let t=e.match(AS);return t?t[0]:""}var RS=/^[^=?&#]+/;function OS(e){let t=e.match(RS);return t?t[0]:""}var kS=/^[^&#]+/;function PS(e){let t=e.match(kS);return t?t[0]:""}var $p=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[j]=new W(t,n)),r}parseSegment(){let t=kp(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new ir(tl(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=NS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=kp(this.remaining);i&&(r=i,this.capture(r))}t[tl(n)]=tl(r)}parseQueryParam(t){let n=OS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=PS(this.remaining);s&&(r=s,this.capture(r))}let i=PD(n),o=PD(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=kp(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=j);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[j]:new W([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function QD(e){return e.segments.length>0?new W([],{[j]:e}):e}function KD(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=KD(i);if(r===j&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let n=new W(e.segments,t);return FS(n)}function FS(e){if(e.numberOfChildren===1&&e.children[j]){let t=e.children[j];return new W(e.segments.concat(t.segments),t.children)}return e}function or(e){return e instanceof ln}function JD(e,t,n=null,r=null){let i=XD(e);return eC(i,t,n,r)}function XD(e){let t;function n(o){let s={};for(let c of o.children){let l=n(c);s[c.outlet]=l}let a=new W(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=QD(r);return t??i}function eC(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Pp(i,i,i,n,r);let o=LS(t);if(o.toRoot())return Pp(i,i,new W([],{}),n,r);let s=jS(o,i,e),a=s.processChildren?ss(s.segmentGroup,s.index,o.commands):nC(s.segmentGroup,s.index,o.commands);return Pp(i,s.segmentGroup,a,n,r)}function nl(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function ls(e){return typeof e=="object"&&e!=null&&e.outlets}function Pp(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===t?s=n:s=tC(e,t,n);let a=QD(KD(s));return new ln(a,o,i)}function tC(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=tC(o,t,n)}),new W(e.segments,r)}var rl=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&nl(r[0]))throw new E(4003,!1);let i=r.find(ls);if(i&&i!==HD(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function LS(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new rl(!0,0,e);let t=0,n=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new rl(n,t,r)}var ji=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function jS(e,t,n){if(e.isAbsolute)return new ji(t,!0,0);if(!n)return new ji(t,!1,NaN);if(n.parent===null)return new ji(n,!0,0);let r=nl(e.commands[0])?0:1,i=n.segments.length-1+r;return VS(n,i,e.numberOfDoubleDots)}function VS(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new ji(r,!1,i-o)}function BS(e){return ls(e[0])?e[0].outlets:{[j]:e}}function nC(e,t,n){if(e??=new W([],{}),e.segments.length===0&&e.hasChildren())return ss(e,t,n);let r=$S(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==j)&&e.children[j]&&e.numberOfChildren===1&&e.children[j].segments.length===0){let o=ss(e.children[j],t,n);return new W(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=nC(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new W(e.segments,i)}}function $S(e,t,n){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let s=e.segments[i],a=n[r];if(ls(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!LD(c,l,s))return o;r+=2}else{if(!LD(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Up(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Up(new W([],{}),0,r))}),t}function FD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function LD(e,t,n){return e==n.path&&an(t,n.parameters)}var as="imperative",Ie=(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})(Ie||{}),pt=class{id;url;constructor(t,n){this.id=t,this.url=n}},$r=class extends pt{type=Ie.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},it=class extends pt{urlAfterRedirects;type=Ie.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qe=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Qe||{}),us=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(us||{}),cn=class extends pt{reason;code;type=Ie.NavigationCancel;constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},kn=class extends pt{reason;code;type=Ie.NavigationSkipped;constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i}},Bi=class extends pt{error;target;type=Ie.NavigationError;constructor(t,n,r,i){super(t,n),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ds=class extends pt{urlAfterRedirects;state;type=Ie.RoutesRecognized;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},il=class extends pt{urlAfterRedirects;state;type=Ie.GuardsCheckStart;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ol=class extends pt{urlAfterRedirects;state;shouldActivate;type=Ie.GuardsCheckEnd;constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},sl=class extends pt{urlAfterRedirects;state;type=Ie.ResolveStart;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},al=class extends pt{urlAfterRedirects;state;type=Ie.ResolveEnd;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cl=class{route;type=Ie.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ll=class{route;type=Ie.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ul=class{snapshot;type=Ie.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dl=class{snapshot;type=Ie.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fl=class{snapshot;type=Ie.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pl=class{snapshot;type=Ie.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var fs=class{},$i=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function HS(e){return!(e instanceof fs)&&!(e instanceof $i)}function zS(e,t){return e.providers&&!e._injector&&(e._injector=ko(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Vt(e){return e.outlet||j}function GS(e,t){let n=e.filter(r=>Vt(r)===t);return n.push(...e.filter(r=>Vt(r)!==t)),n}function zi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var hl=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return zi(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Gi(this.rootInjector)}},Gi=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new hl(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(x(ge))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gl=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Hp(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Hp(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=zp(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return zp(t,this._root).map(n=>n.value)}};function Hp(e,t){if(e===t.value)return t;for(let n of t.children){let r=Hp(e,n);if(r)return r}return null}function zp(e,t){if(e===t.value)return[t];for(let n of t.children){let r=zp(e,n);if(r.length)return r.unshift(t),r}return[]}var ft=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Li(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var ps=class extends gl{snapshot;constructor(t,n){super(t),this.snapshot=n,Jp(this,t)}toString(){return this.snapshot.toString()}};function rC(e){let t=WS(e),n=new Se([new ir("",{})]),r=new Se({}),i=new Se({}),o=new Se({}),s=new Se(""),a=new Bt(n,r,o,s,i,j,e,t.root);return a.snapshot=t.root,new ps(new ft(a,[]),t)}function WS(e){let t={},n={},r={},o=new jr([],t,r,"",n,j,e,null,{});return new hs("",new ft(o,[]))}var Bt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(V(l=>l[ys]))??N(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,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(V(t=>Vr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>Vr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ml(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:D(D({},t.params),e.params),data:D(D({},t.data),e.data),resolve:D(D(D(D({},e.data),t.data),i?.data),e._resolvedData)}:r={params:D({},e.params),data:D({},e.data),resolve:D(D({},e.data),e._resolvedData??{})},i&&oC(i)&&(r.resolve[ys]=i.title),r}var jr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ys]}constructor(t,n,r,i,o,s,a,c,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=Vr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vr(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},hs=class extends gl{url;constructor(t,n){super(n),this.url=t,Jp(this,n)}toString(){return iC(this._root)}};function Jp(e,t){t.value._routerState=e,t.children.forEach(n=>Jp(e,n))}function iC(e){let t=e.children.length>0?` { ${e.children.map(iC).join(", ")} } `:"";return`${e.value}${t}`}function Fp(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,an(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),an(t.params,n.params)||e.paramsSubject.next(n.params),DS(t.url,n.url)||e.urlSubject.next(n.url),an(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Gp(e,t){let n=an(e.params,t.params)&&_S(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Gp(e.parent,t.parent))}function oC(e){return typeof e.title=="string"||e.title===null}var sC=new M(""),Cs=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=j;activateEvents=new be;deactivateEvents=new be;attachEvents=new be;detachEvents=new be;routerOutletData=Fy(void 0);parentContexts=m(Gi);location=m(Mn);changeDetector=m(Rr);inputBinder=m(Cl,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Wp(n,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ve({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Xt]})}return e})(),Wp=class{route;childContexts;parent;outletData;constructor(t,n,r,i){this.route=t,this.childContexts=n,this.parent=r,this.outletData=i}get(t,n){return t===Bt?this.route:t===Gi?this.childContexts:t===sC?this.outletData:this.parent.get(t,n)}},Cl=new M("");var Xp=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=H({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&O(0,"router-outlet")},dependencies:[Cs],encapsulation:2})}return e})();function eh(e){let t=e.children&&e.children.map(eh),n=t?L(D({},e),{children:t}):D({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==j&&(n.component=Xp),n}function qS(e,t,n){let r=gs(e,t._root,n?n._root:void 0);return new ps(r,t)}function gs(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=ZS(e,t,n);return new ft(r,i)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>gs(e,a)),s}}let r=YS(t.value),i=t.children.map(o=>gs(e,o));return new ft(r,i)}}function ZS(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return gs(e,r,i);return gs(e,r)})}function YS(e){return new Bt(new Se(e.url),new Se(e.params),new Se(e.queryParams),new Se(e.fragment),new Se(e.data),e.outlet,e.component,e)}var Ui=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},aC="ngNavigationCancelingError";function vl(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=or(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=cC(!1,Qe.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function cC(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[aC]=!0,n.cancellationCode=t,n}function QS(e){return lC(e)&&or(e.url)}function lC(e){return!!e&&e[aC]}var KS=(e,t,n,r)=>V(i=>(new qp(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),qp=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Fp(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=Li(n);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Li(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=Li(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let i=Li(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new pl(o.value.snapshot))}),t.children.length&&this.forwardEvent(new dl(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(Fp(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),Fp(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},yl=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Vi=class{component;route;constructor(t,n){this.component=t,this.route=n}};function JS(e,t,n){let r=e._root,i=t?t._root:null;return os(r,i,n,[r.value])}function XS(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Wi(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Ru(e)?e:t.get(e):r}function os(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Li(t);return e.children.forEach(s=>{eT(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>cs(a,n.getContext(s),i)),i}function eT(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=tT(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new yl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?os(e,t,a?a.children:null,r,i):os(e,t,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Vi(a.outlet.component,s))}else s&&cs(t,a,i),i.canActivateChecks.push(new yl(r)),o.component?os(e,null,a?a.children:null,r,i):os(e,null,n,r,i);return i}function tT(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Lr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Lr(e.url,t.url)||!an(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gp(e,t)||!an(e.queryParams,t.queryParams);case"paramsChange":default:return!Gp(e,t)}}function cs(e,t,n){let r=Li(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?cs(s,t.children.getContext(o),n):cs(s,null,n):cs(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Vi(t.outlet.component,i)):n.canDeactivateChecks.push(new Vi(null,i)):n.canDeactivateChecks.push(new Vi(null,i))}function Es(e){return typeof e=="function"}function nT(e){return typeof e=="boolean"}function rT(e){return e&&Es(e.canLoad)}function iT(e){return e&&Es(e.canActivate)}function oT(e){return e&&Es(e.canActivateChild)}function sT(e){return e&&Es(e.canDeactivate)}function aT(e){return e&&Es(e.canMatch)}function uC(e){return e instanceof pn||e?.name==="EmptyError"}var Jc=Symbol("INITIAL_VALUE");function Hi(){return Fe(e=>pa(e.map(t=>t.pipe(hn(1),Du(Jc)))).pipe(V(t=>{for(let n of t)if(n!==!0){if(n===Jc)return Jc;if(n===!1||cT(n))return n}return!0}),et(t=>t!==Jc),hn(1)))}function cT(e){return or(e)||e instanceof Ui}function lT(e,t){return Ce(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?N(L(D({},n),{guardsResult:!0})):uT(s,r,i,e).pipe(Ce(a=>a&&nT(a)?dT(r,o,e,t):N(a)),V(a=>L(D({},n),{guardsResult:a})))})}function uT(e,t,n,r){return ae(e).pipe(Ce(i=>mT(i.component,i.route,n,t,r)),gn(i=>i!==!0,!0))}function dT(e,t,n,r){return ae(t).pipe($n(i=>ii(pT(i.route.parent,r),fT(i.route,r),gT(e,i.path,n),hT(e,i.route,n))),gn(i=>i!==!0,!0))}function fT(e,t){return e!==null&&t&&t(new fl(e)),N(!0)}function pT(e,t){return e!==null&&t&&t(new ul(e)),N(!0)}function hT(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return N(!0);let i=r.map(o=>io(()=>{let s=zi(t)??n,a=Wi(o,s),c=iT(a)?a.canActivate(t,e):xe(s,()=>a(t,e));return Pn(c).pipe(gn())}));return N(i).pipe(Hi())}function gT(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>XS(s)).filter(s=>s!==null).map(s=>io(()=>{let a=s.guards.map(c=>{let l=zi(s.node)??n,u=Wi(c,l),d=oT(u)?u.canActivateChild(r,e):xe(l,()=>u(r,e));return Pn(d).pipe(gn())});return N(a).pipe(Hi())}));return N(o).pipe(Hi())}function mT(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return N(!0);let s=o.map(a=>{let c=zi(t)??i,l=Wi(a,c),u=sT(l)?l.canDeactivate(e,t,n,r):xe(c,()=>l(e,t,n,r));return Pn(u).pipe(gn())});return N(s).pipe(Hi())}function vT(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return N(!0);let o=i.map(s=>{let a=Wi(s,e),c=rT(a)?a.canLoad(t,n):xe(e,()=>a(t,n));return Pn(c)});return N(o).pipe(Hi(),dC(r))}function dC(e){return du(_e(t=>{if(typeof t!="boolean")throw vl(e,t)}),V(t=>t===!0))}function yT(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return N(!0);let o=i.map(s=>{let a=Wi(s,e),c=aT(a)?a.canMatch(t,n):xe(e,()=>a(t,n));return Pn(c)});return N(o).pipe(Hi(),dC(r))}var ms=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},vs=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Fi(e){return ri(new ms(e))}function DT(e){return ri(new E(4e3,!1))}function CT(e){return ri(cC(!1,Qe.GuardRejected))}var Zp=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return N(r);if(i.numberOfChildren>1||!i.children[j])return DT(`${t.redirectTo}`);i=i.children[j]}}applyRedirectCommands(t,n,r,i,o){return ET(n,i,o).pipe(V(s=>{if(s instanceof ln)throw new vs(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new vs(a);return a}))}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new ln(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i)}),new W(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++}return t}};function ET(e,t,n){if(typeof e=="string")return N(e);let r=e,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:l,data:u,title:d}=t;return Pn(xe(n,()=>r({params:l,data:u,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:d})))}var Yp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bT(e,t,n,r,i){let o=fC(e,t,n);return o.matched?(r=zS(t,r),yT(r,t,n,i).pipe(V(s=>s===!0?o:D({},Yp)))):N(o)}function fC(e,t,n){if(t.path==="**")return _T(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?D({},Yp):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||$D)(n,e,t);if(!i)return D({},Yp);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function _T(e){return{matched:!0,parameters:e.length>0?HD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function jD(e,t,n,r){return n.length>0&&MT(e,n,r)?{segmentGroup:new W(t,IT(r,new W(n,e.children))),slicedSegments:[]}:n.length===0&&ST(e,n,r)?{segmentGroup:new W(e.segments,wT(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new W(e.segments,e.children),slicedSegments:n}}function wT(e,t,n,r){let i={};for(let o of n)if(El(e,t,o)&&!r[Vt(o)]){let s=new W([],{});i[Vt(o)]=s}return D(D({},r),i)}function IT(e,t){let n={};n[j]=t;for(let r of e)if(r.path===""&&Vt(r)!==j){let i=new W([],{});n[Vt(r)]=i}return n}function MT(e,t,n){return n.some(r=>El(e,t,r)&&Vt(r)!==j)}function ST(e,t,n){return n.some(r=>El(e,t,r))}function El(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function TT(e,t,n){return t.length===0&&!e.children[n]}var Qp=class{};function xT(e,t,n,r,i,o,s="emptyOnly"){return new Kp(e,t,n,r,i,s,o).recognize()}var AT=31,Kp=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,i,o,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Zp(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=jD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(V(({children:n,rootSnapshot:r})=>{let i=new ft(r,n),o=new hs("",i),s=JD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let n=new jr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,j,n).pipe(V(r=>({children:r,rootSnapshot:n})),Bn(r=>{if(r instanceof vs)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ms?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,o):this.processSegment(t,n,r,r.segments,i,!0,o).pipe(V(s=>s instanceof ft?[s]:[]))}processChildren(t,n,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return ae(o).pipe($n(s=>{let a=r.children[s],c=GS(n,s);return this.processSegmentGroup(t,c,a,s,i)}),yu((s,a)=>(s.push(...a),s)),Un(null),vu(),Ce(s=>{if(s===null)return Fi(r);let a=pC(s);return NT(a),N(a)}))}processSegment(t,n,r,i,o,s,a){return ae(n).pipe($n(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,i,o,s,a).pipe(Bn(l=>{if(l instanceof ms)return N(null);throw l}))),gn(c=>!!c),Bn(c=>{if(uC(c))return TT(r,i,o)?N(new Qp):Fi(r);throw c}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,c){return Vt(r)!==s&&(s===j||!El(i,o,r))?Fi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,c):Fi(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=fC(n,i,o);if(!c)return Fi(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>AT&&(this.allowRedirects=!1));let f=new jr(o,l,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,VD(i),Vt(i),i.component??i._loadedComponent??null,i,BD(i)),h=ml(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(h.params),f.data=Object.freeze(h.data),this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,t).pipe(Fe(b=>this.applyRedirects.lineralizeSegments(i,b)),Ce(b=>this.processSegment(t,r,n,b.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=bT(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(Fe(({routes:l})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,h=new jr(p,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,VD(r),Vt(r),r.component??r._loadedComponent??null,r,BD(r)),w=ml(h,s,this.paramsInheritanceStrategy);h.params=Object.freeze(w.params),h.data=Object.freeze(w.data);let{segmentGroup:b,slicedSegments:_}=jD(n,p,f,l);if(_.length===0&&b.hasChildren())return this.processChildren(u,l,b,h).pipe(V(oe=>new ft(h,oe)));if(l.length===0&&_.length===0)return N(new ft(h,[]));let X=Vt(r)===o;return this.processSegment(u,l,b,_,X?j:o,!0,h).pipe(V(oe=>new ft(h,oe instanceof ft?[oe]:[])))}))):Fi(n)))}getChildConfig(t,n,r){return n.children?N({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?N({routes:n._loadedRoutes,injector:n._loadedInjector}):vT(t,n,r,this.urlSerializer).pipe(Ce(i=>i?this.configLoader.loadChildren(t,n).pipe(_e(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):CT(n))):N({routes:[],injector:t})}};function NT(e){e.sort((t,n)=>t.value.outlet===j?-1:n.value.outlet===j?1:t.value.outlet.localeCompare(n.value.outlet))}function RT(e){let t=e.value.routeConfig;return t&&t.path===""}function pC(e){let t=[],n=new Set;for(let r of e){if(!RT(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r)}for(let r of n){let i=pC(r.children);t.push(new ft(r.value,i))}return t.filter(r=>!n.has(r))}function VD(e){return e.data||{}}function BD(e){return e.resolve||{}}function OT(e,t,n,r,i,o){return Ce(s=>xT(e,t,n,r,s.extractedUrl,i,o).pipe(V(({state:a,tree:c})=>L(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function kT(e,t){return Ce(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return N(n);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of hC(c))s.add(l);let a=0;return ae(s).pipe($n(c=>o.has(c)?PT(c,r,e,t):(c.data=ml(c,c.parent,e).resolve,N(void 0))),_e(()=>a++),oi(1),Ce(c=>a===s.size?N(n):Je))})}function hC(e){let t=e.children.map(n=>hC(n)).flat();return[e,...t]}function PT(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!oC(i)&&(o[ys]=i.title),io(()=>(e.data=ml(e,e.parent,n).resolve,FT(o,e,t,r).pipe(V(s=>(e._resolvedData=s,e.data=D(D({},e.data),s),null)))))}function FT(e,t,n,r){let i=Vp(e);if(i.length===0)return N({});let o={};return ae(i).pipe(Ce(s=>LT(e[s],t,n,r).pipe(gn(),_e(a=>{if(a instanceof Ui)throw vl(new Br,a);o[s]=a}))),oi(1),V(()=>o),Bn(s=>uC(s)?Je:ri(s)))}function LT(e,t,n,r){let i=zi(t)??r,o=Wi(e,i),s=o.resolve?o.resolve(t,n):xe(i,()=>o(t,n));return Pn(s)}function Lp(e){return Fe(t=>{let n=e(t);return n?ae(n).pipe(V(()=>t)):N(t)})}var th=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===j);return r}getResolvedTitleForRoute(n){return n.data[ys]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m(gC),providedIn:"root"})}return e})(),gC=(()=>{class e extends th{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(x(RD))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qi=new M("",{providedIn:"root",factory:()=>({})}),bs=new M(""),mC=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(ep);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return N(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Pn(xe(n,()=>r.loadComponent())).pipe(V(yC),Fe(DC),_e(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),dr(()=>{this.componentLoaders.delete(r)})),o=new ni(i,()=>new de).pipe(ti());return this.componentLoaders.set(r,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return N({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=vC(r,this.compiler,n,this.onLoadEndListener).pipe(dr(()=>{this.childrenLoaders.delete(r)})),s=new ni(o,()=>new de).pipe(ti());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vC(e,t,n,r){return Pn(xe(n,()=>e.loadChildren())).pipe(V(yC),Fe(DC),Ce(i=>i instanceof wc||Array.isArray(i)?N(i):ae(t.compileModuleAsync(i))),V(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(bs,[],{optional:!0,self:!0}).flat()),{routes:s.map(eh),injector:o}}))}function jT(e){return e&&typeof e=="object"&&"default"in e}function yC(e){return jT(e)?e.default:e}function DC(e){return N(e)}var bl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m(VT),providedIn:"root"})}return e})(),VT=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),CC=new M("");var EC=new M(""),bC=(()=>{class e{currentNavigation=bt(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new de;transitionAbortWithErrorSubject=new de;configLoader=m(mC);environmentInjector=m(ge);destroyRef=m(kt);urlSerializer=m(Ds);rootContexts=m(Gi);location=m(Ni);inputBindingEnabled=m(Cl,{optional:!0})!==null;titleStrategy=m(th);options=m(qi,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=m(bl);createViewTransition=m(CC,{optional:!0});navigationErrorHandler=m(EC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>N(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=i=>this.events.next(new cl(i)),r=i=>this.events.next(new ll(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;Re(()=>{this.transitions?.next(L(D({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new Se(null),this.transitions.pipe(et(r=>r!==null),Fe(r=>{let i=!1;return N(r).pipe(Fe(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Qe.SupersededByNewNavigation),Je;this.currentTransition=r,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?L(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new kn(o.id,this.urlSerializer.serialize(o.rawUrl),"",us.IgnoredSameUrlNavigation)),o.resolve(!1),Je;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return N(o).pipe(Fe(c=>(this.events.next(new $r(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Je:Promise.resolve(c))),OT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),_e(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new ds(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:d,extras:p}=o,f=new $r(c,this.urlSerializer.serialize(l),u,d);this.events.next(f);let h=rC(this.rootComponentType).snapshot;return this.currentTransition=r=L(D({},o),{targetSnapshot:h,urlAfterRedirects:l,extras:L(D({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(w=>(w.finalUrl=l,w)),N(r)}else return this.events.next(new kn(o.id,this.urlSerializer.serialize(o.extractedUrl),"",us.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Je}),_e(o=>{let s=new il(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),V(o=>(this.currentTransition=r=L(D({},o),{guards:JS(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),lT(this.environmentInjector,o=>this.events.next(o)),_e(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw vl(this.urlSerializer,o.guardsResult);let s=new ol(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),et(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Qe.GuardRejected),!1)),Lp(o=>{if(o.guards.canActivateChecks.length!==0)return N(o).pipe(_e(s=>{let a=new sl(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Fe(s=>{let a=!1;return N(s).pipe(kT(this.paramsInheritanceStrategy,this.environmentInjector),_e({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Qe.NoDataFromResolver)}}))}),_e(s=>{let a=new al(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Lp(o=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=zi(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(_e(u=>{a.component=u}),V(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return pa(s(o.targetSnapshot.root)).pipe(Un(null),hn(1))}),Lp(()=>this.afterPreactivation()),Fe(()=>{let{currentSnapshot:o,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?ae(a).pipe(V(()=>r)):N(r)}),V(o=>{let s=qS(n.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=L(D({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),_e(()=>{this.events.next(new fs)}),KS(this.rootContexts,n.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),hn(1),ga(new U(o=>{let s=r.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(et(()=>!i&&!r.targetRouterState),_e(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Qe.Aborted)}))),_e({next:o=>{i=!0,this.lastSuccessfulNavigation=Re(this.currentNavigation),this.events.next(new it(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),ga(this.transitionAbortWithErrorSubject.pipe(_e(o=>{throw o}))),dr(()=>{i||this.cancelNavigationTransition(r,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Bn(o=>{if(this.destroyed)return r.resolve(!1),Je;if(i=!0,lC(o))this.events.next(new cn(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),QS(o)?this.events.next(new $i(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Bi(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let a=xe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Ui){let{message:c,cancellationCode:l}=vl(this.urlSerializer,a);this.events.next(new cn(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new $i(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return Je}))}))}cancelNavigationTransition(n,r,i){let o=new cn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Re(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function BT(e){return e!==as}var _C=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m($T),providedIn:"root"})}return e})(),Dl=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},$T=(()=>{class e extends Dl{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Xn(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wC=(()=>{class e{urlSerializer=m(Ds);options=m(qi,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=m(Ni);urlHandlingStrategy=m(bl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ln;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:i}){let o=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=i??o;return s instanceof ln?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:i}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=n):this.rawUrlTree=i}routerState=rC(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>m(UT),providedIn:"root"})}return e})(),UT=(()=>{class e extends wC{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof $r?this.updateStateMemento():n instanceof kn?this.commitTransition(r):n instanceof ds?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof fs?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof cn&&n.code!==Qe.SupersededByNewNavigation&&n.code!==Qe.Redirect?this.restoreHistory(r):n instanceof Bi?this.restoreHistory(r,!0):n instanceof it&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||o){let a=this.browserPageId,c=D(D({},s),this.generateNgRouterState(i,a));this.location.replaceState(n,"",c)}else{let a=D(D({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===n.finalUrl&&o===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Xn(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function nh(e,t){e.events.pipe(et(n=>n instanceof it||n instanceof cn||n instanceof Bi||n instanceof kn),V(n=>n instanceof it||n instanceof kn?0:(n instanceof cn?n.code===Qe.Redirect||n.code===Qe.SupersededByNewNavigation:!1)?2:1),et(n=>n!==2),hn(1)).subscribe(()=>{t()})}var HT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},$t=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(Sc);stateManager=m(wC);options=m(qi,{optional:!0})||{};pendingTasks=m(Qt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=m(bC);urlSerializer=m(Ds);location=m(Ni);urlHandlingStrategy=m(bl);injector=m(ge);_events=new de;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(_C);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=m(bs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(Cl,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new pe;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=Re(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof cn&&r.code!==Qe.Redirect&&r.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof it)this.navigated=!0;else if(r instanceof $i){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||BT(i.source)},s);this.scheduleNavigation(a,as,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}HS(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),as,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,i)=>{this.navigateToSyncWithBrowser(n,i,r)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=D({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,o).catch(c=>{this.disposed||this.injector.get(We)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Re(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(eh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=D(D({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=i?i.snapshot:this.routerState.snapshot.root;d=XD(p)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return eC(d,n,u,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=or(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,as,null,r)}navigate(n,r={skipLocationChange:!1}){return GT(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===!0?i=D({},HT):r===!1?i=D({},zT):i=r,or(n))return kD(this.currentUrlTree,n,i);let o=this.parseUrl(n);return kD(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return nh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GT(e){for(let t=0;t{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=bt(null);get href(){return Re(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new de;applicationErrorHandler=m(We);options=m(qi,{optional:!0});constructor(n,r,i,o,s,a){this.router=n,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(m(new Nc("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let n=this.preserveFragment,r=i=>i==="merge"||i==="preserve";n||=r(this.queryParamsHandling),n||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),n&&(this.subscription=this.router.events.subscribe(i=>{i instanceof it&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(or(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.reactiveHref.set(n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??"":null)}applyAttributeValue(n,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,n,r):i.removeAttribute(o,n)}get urlTree(){return this.routerLinkInput===null?null:or(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(I($t),I(Bt),xo("tabindex"),I(In),I(lt),I(Ai))};static \u0275dir=ve({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&K("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Fo("href",i.reactiveHref(),Mf)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",xi],skipLocationChange:[2,"skipLocationChange","skipLocationChange",xi],replaceUrl:[2,"replaceUrl","replaceUrl",xi],routerLink:"routerLink"},features:[Xt]})}return e})();var qT=new M("");function rh(e,...t){return zt([{provide:bs,multi:!0,useValue:e},[],{provide:Bt,useFactory:ZT,deps:[$t]},{provide:Tc,multi:!0,useFactory:YT},t.map(n=>n.\u0275providers)])}function ZT(e){return e.routerState.root}function YT(){let e=m(at);return t=>{let n=e.get(nn);if(t!==n.components[0])return;let r=e.get($t),i=e.get(QT);e.get(KT)===1&&r.initialNavigation(),e.get(JT,null,{optional:!0})?.setUpPreloading(),e.get(qT,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var QT=new M("",{factory:()=>new de}),KT=new M("",{providedIn:"root",factory:()=>1});var JT=new M("");var _l={apiUrl:"https://api.portfolio.nucleus-ludus.fr"};var De=class e{constructor(t){this.http=t}backendUrl=_l.apiUrl;getBackendUrl(){return this.backendUrl}getTagsWithProjects(){return this.http.get(`${this.backendUrl}/api/tags?populate=projects`)}getCategriesWithProjects(){return this.http.get(`${this.backendUrl}/api/categories?populate=projects`)}getProjectsWithCategory(){return this.http.get(`${this.backendUrl}/api/projects?populate=category&sort=start:desc`)}getCategories(){return this.http.get(`${this.backendUrl}/api/categories`)}getTrainings(){return this.http.get(`${this.backendUrl}/api/trainings?populate=*&sort=start:desc`)}getProjectByIdWithDetail(t){return this.http.get(`${this.backendUrl}/api/projects/${t}?populate=*`)}getInformation(){return this.http.get(`${this.backendUrl}/api/information`)}getMusic(){return this.http.get(`${this.backendUrl}/api/music?populate=*`)}getExperiences(){return this.http.get(`${this.backendUrl}/api/experiences?populate=*&sort=start:desc`)}static \u0275fac=function(n){return new(n||e)(x(Qc))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ue=class e{constructor(t){this.apiService=t}duration=0;progress=0;ngOnInit(){this.apiService.getInformation().subscribe({next:t=>{let n=new Date(t.data.birthday),r=new Date,i=r.getFullYear()-n.getFullYear(),o=r.getMonth()>n.getMonth()||r.getMonth()===n.getMonth()&&r.getDate()>=n.getDate();o||i--,this.duration=i;let s=new Date(r.getFullYear(),n.getMonth(),n.getDate());o&&s.setFullYear(r.getFullYear()+1);let a=r.getTime()-new Date(r.getFullYear()-(o?0:1),n.getMonth(),n.getDate()).getTime(),c=s.getTime()-new Date(s.getFullYear()-1,n.getMonth(),n.getDate()).getTime();this.progress=Math.round(a/c*100)},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des informations:",t)}})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-info"]],decls:9,vars:3,consts:[[1,"info"],[1,"hp","block"],[1,"lvl","block"],[1,"container-progress-bar"],[1,"progress-bar"],[1,"ap","block"]],template:function(n,r){n&1&&(rn(0,"div",0)(1,"div",1),C(2,"HP 90/90"),An(),rn(3,"div",2),C(4),rn(5,"div",3),wi(6,"div",4),An()(),rn(7,"div",5),C(8,"AP 70/70"),An()()),n&2&&(y(4),ue("LEVEL ",r.duration," "),y(2),on("width",r.progress,"%"))},styles:[".hidden[_ngcontent-%COMP%]{display:none!important}.block[_ngcontent-%COMP%]{background-color:#134213;padding:.5em;font-weight:bolder}.container-progress-bar[_ngcontent-%COMP%]{background:none;width:100%;height:100%;border:1px solid #060;animation:borderPulse 5s infinite ease-in-out;display:flex}.progress-bar[_ngcontent-%COMP%]{animation:backgroundPulse 5s infinite ease-in-out}.info[_ngcontent-%COMP%]{display:flex;justify-content:space-between;column-gap:1em;width:100%;position:absolute;bottom:0;left:0;margin-bottom:1em}.info[_ngcontent-%COMP%] > .hp[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] > .ap[_ngcontent-%COMP%]{width:20%}.info[_ngcontent-%COMP%] > .lvl[_ngcontent-%COMP%]{width:80%;display:flex;column-gap:10px}.info[_ngcontent-%COMP%] > .lvl[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:20px;width:85%}.info[_ngcontent-%COMP%] > .ap[_ngcontent-%COMP%]{text-align:right}"]})};var wl=class e{sounds={};volume=.5;constructor(){this.preloadSounds()}preloadSounds(){this.loadSound("click","/assets/sounds/click.wav")}loadSound(t,n){let r=new Audio(n);r.volume=this.volume,this.sounds[t]=r}play(t){let n=this.sounds[t];n?(n.currentTime=0,n.play().catch(r=>console.warn(`Could not play sound '${t}':`,r))):console.warn(`Sound '${t}' not found.`)}playClick(){this.play("click")}setVolume(t){this.volume=Math.max(0,Math.min(1,t)),Object.values(this.sounds).forEach(n=>{n.volume=this.volume})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})};var sr=class e{constructor(t){this.soundService=t}soundType="both";onClick(){(this.soundType==="click"||this.soundType==="both")&&this.soundService.playClick()}static \u0275fac=function(n){return new(n||e)(I(wl))};static \u0275dir=ve({type:e,selectors:[["","appSound",""]],hostBindings:function(n,r){n&1&&K("click",function(){return r.onClick()})},inputs:{soundType:[0,"appSound","soundType"]}})};var ex=()=>["/"],tx=()=>["/special"],nx=()=>["/perks"],ar=class e{constructor(t){this.router=t;this.router.events.subscribe(n=>{n instanceof it&&(this.routeName=n.urlAfterRedirects)})}routeName="";static \u0275fac=function(n){return new(n||e)(I($t))};static \u0275cmp=H({type:e,selectors:[["app-sub-bar"]],decls:10,vars:12,consts:[["id","sub-nav-bar"],[1,""],["appSound","click","href","/",3,"routerLink"],["appSound","click",3,"routerLink"]],template:function(n,r){n&1&&(v(0,"ul",0)(1,"li",1)(2,"a",2),C(3,"STATUS"),g()(),v(4,"li",1)(5,"a",3),C(6,"SPECIAL"),g()(),v(7,"li",1)(8,"a",3),C(9,"PERKS"),g()()()),n&2&&(y(2),qe(r.routeName=="/"?"sub-active-tab":""),T("routerLink",Ze(9,ex)),y(3),qe(r.routeName=="/special"?"sub-active-tab":""),T("routerLink",Ze(10,tx)),y(3),qe(r.routeName=="/perks"?"sub-active-tab":""),T("routerLink",Ze(11,nx)))},dependencies:[un,sr],styles:["#sub-nav-bar[_ngcontent-%COMP%]{width:50%;list-style-type:none;display:flex;justify-content:space-evenly;transition:color .3s ease;margin:0;padding:0}#sub-nav-bar[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{animation:colorPulse 5s infinite ease-in-out;background:none}.sub-active-tab[_ngcontent-%COMP%]{animation:borderPulse 5s infinite ease-in-out;border-width:0px 0px 4px 0px;border-style:solid;position:relative;font-weight:700}"]})};var Il=class e{constructor(t){this.apiService=t}name="";status="";ngOnInit(){this.apiService.getInformation().subscribe({next:t=>{this.name=t.data.name,this.status=t.data.headline},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des informations:",t)}})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-home"]],decls:12,vars:2,consts:[[1,"container-status","scrollbar"],["src","/assets/images/vault_boy_walking.gif","alt",""],[1,"icons"],["src","assets/icons/code-svgrepo-com.svg","alt","",1,"filter-img","block"],["src","assets/icons/server-minimalistic-svgrepo-com.svg","alt","",1,"filter-img","block"],["src","assets/icons/video-frame-play-vertical-svgrepo-com.svg","alt","",1,"filter-img","block"],["src","assets/icons/youtube-svgrepo-com.svg","alt","",1,"filter-img","block"],[1,"name"]],template:function(n,r){n&1&&(O(0,"app-sub-bar"),v(1,"main",0),O(2,"img",1),v(3,"div",2),O(4,"img",3)(5,"img",4)(6,"img",5)(7,"img",6),g(),v(8,"h3",7)(9,"p"),C(10),g()(),O(11,"app-info"),g()),n&2&&(y(10),ut("",r.name,": ",r.status," "))},dependencies:[Ue,ar],styles:['.container-status[_ngcontent-%COMP%]{height:70vh;display:grid;grid-template-columns:2fr repeat(5,1fr) 2fr;grid-template-rows:4fr 1fr 1fr;grid-template-areas:". . img img img . ." ". icons icons icons icons icons ." ". name name name name name .";grid-gap:0 1em}.container-status[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{grid-area:img;height:100%;place-self:center}.container-status[_ngcontent-%COMP%] > .icons[_ngcontent-%COMP%]{grid-area:icons;display:flex;justify-content:center;column-gap:1em}.container-status[_ngcontent-%COMP%] > .icons[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:70px}.container-status[_ngcontent-%COMP%] > .name[_ngcontent-%COMP%]{grid-area:name}.container-status[_ngcontent-%COMP%] > .name[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding:0;margin:35px 0 0;text-align:center;font-size:1.5em}@media (max-width : 1250px){.screen[_ngcontent-%COMP%]{padding:0}.container-status[_ngcontent-%COMP%]{height:70vh;display:grid;grid-template-columns:1fr 6fr 1fr;grid-template-rows:10fr 1fr 1fr;grid-template-areas:". img ." ". icons ." ". name .";grid-gap:0 1em}.container-status[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:50vh}.container-status[_ngcontent-%COMP%] > .icons[_ngcontent-%COMP%]{margin-top:1em;column-gap:.4em}.container-status[_ngcontent-%COMP%] > .icons[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:2.5em}.container-status[_ngcontent-%COMP%] > .name[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:1em;width:100%}}']})};function rx(e,t){if(e&1){let n=Nn();v(0,"li",5),K("click",function(){let i=Ct(n).$implicit,o=re();return Et(o.selectAttribut(i.id))}),C(1),v(2,"span"),C(3),g()()}if(e&2){let n=t.$implicit,r=re();xr("active-attribut",r.selectedId===n.id),T("id",n.id),y(),ue(" ",n.name," "),y(2),ie(n.value)}}function ix(e,t){if(e&1&&(v(0,"div",6),O(1,"img",7),v(2,"p"),C(3),g()()),e&2){let n=t.$implicit,r=re();xr("hidden",r.selectedId!==n.id),T("id",n.id+"-attribut"),y(),T("src","/assets/images/"+n.id+".gif",Lt),y(2),ue(" ",n.description," ")}}var Ml=class e{ulElements=[{id:"strength",name:"Strength",value:2,description:"Le minimum pour soulever un serveur et pour matraquer le crtl + s."},{id:"perception",name:"Perception",value:7,description:"Assez rapide pour voir les erreurs dans le terminal juste avant de faire crasher la machine."},{id:"endurance",name:"Endurance",value:7,description:"Peut coder pendant 24h, notamment durant les 24h du code, presque sans fermer les yeux, juste un peu."},{id:"charisma",name:"Charisma",value:2,description:"Utile, mais pas le plus important, n'est-ce pas ?!"},{id:"intelligence",name:"Intelligence",value:8,description:"R\xE9cemment upgrade de Stack Overflow \xE0 ChatGPT pour la chasse aux bugs..."},{id:"agility",name:"Agility",value:5,description:"Assez pour \xE9crire assez vite sur son clavier."},{id:"luck",name:"Luck",value:8,description:"Aucune de ses configs serveurs n'est tomb\xE9...pour l'instant."}];selectedId=this.ulElements[0].id;constructor(){}ngOnInit(){}selectAttribut(t){this.selectedId=t}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-special"]],decls:7,vars:2,consts:[[1,"container-special","scrollbar"],["id","ul-special"],[3,"id","active-attribut","click",4,"ngFor","ngForOf"],["id","container-attribut"],["class","attribut",3,"id","hidden",4,"ngFor","ngForOf"],[3,"click","id"],[1,"attribut",3,"id"],["alt","",1,"filter-img",3,"src"]],template:function(n,r){n&1&&(O(0,"app-sub-bar"),v(1,"main",0)(2,"ul",1),ne(3,rx,4,5,"li",2),g(),v(4,"div",3),ne(5,ix,4,5,"div",4),g(),O(6,"app-info"),g()),n&2&&(y(3),T("ngForOf",r.ulElements),y(2),T("ngForOf",r.ulElements))},dependencies:[Ue,ar,$e,Be],styles:['.container-special[_ngcontent-%COMP%]{height:70vh;display:flex;justify-content:center;column-gap:1em;flex-wrap:wrap}#ul-special[_ngcontent-%COMP%]{width:30%;display:flex;flex-direction:column;list-style:none;align-items:end}#ul-special[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:60%;display:flex;justify-content:space-between;padding:.15em .25em .25em;cursor:pointer;font-weight:700}#container-attribut[_ngcontent-%COMP%]{width:30%}.attribut[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 2fr;grid-template-areas:"img" "txt";height:75vh}.attribut[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{align-self:center;grid-area:img;width:100%}.attribut[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{grid-area:txt}.hidden[_ngcontent-%COMP%]{display:none!important}.active-attribut[_ngcontent-%COMP%]{animation:backgroundPulse 5s infinite ease-in-out;color:#000}@media (max-width : 1250px){.screen[_ngcontent-%COMP%]{padding:0}#ul-special[_ngcontent-%COMP%]{width:80%;align-items:center}#container-attribut[_ngcontent-%COMP%]{width:100%}.attribut[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;height:auto}.attribut[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{width:80%}}']})};function ox(e,t){if(e&1&&(v(0,"div",6),C(1),g()),e&2){let n=t.$implicit;on("background-color",n.color),y(),ut("",n.name," ",n.projects.length)}}function sx(e,t){if(e&1&&(v(0,"li"),C(1),g()),e&2){let n=t.$implicit;y(),ut("",n.name," ",n.projects.length)}}var Sl=class e{constructor(t){this.apiService=t}tags=[];categories=[];ngOnInit(){this.apiService.getTagsWithProjects().subscribe({next:t=>{this.tags=t.data.map(n=>({name:n.name,projects:n.projects,color:n.color||"#cccccc"}))},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des tags:",t),this.tags=[{name:"erreur",projects:[],color:"#ff0000"}]}}),this.apiService.getCategriesWithProjects().subscribe({next:t=>{this.categories=t.data.map(n=>({name:n.name,projects:n.projects}))},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des categories:",t),this.categories=[{name:"erreur",projects:[]}]}})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-perks"]],decls:13,vars:2,consts:[[1,"container-perks","scrollbar"],[1,"container-tags"],["class","tag",3,"background-color",4,"ngFor","ngForOf"],["src","/assets/images/charisma.gif","alt","",1,"filter-img"],[1,"container-categories"],[4,"ngFor","ngForOf"],[1,"tag"]],template:function(n,r){n&1&&(O(0,"app-sub-bar"),v(1,"main",0)(2,"div",1)(3,"h3"),C(4,"Les tags les plus utilis\xE9s :"),g(),ne(5,ox,2,4,"div",2),g(),O(6,"img",3),v(7,"div",4)(8,"h3"),C(9,"Les cat\xE9gories les plus pr\xE9sentes :"),g(),v(10,"ul"),ne(11,sx,2,2,"li",5),g()(),O(12,"app-info"),g()),n&2&&(y(5),T("ngForOf",r.tags),y(6),T("ngForOf",r.categories))},dependencies:[ar,Ue,$e,Be],styles:['.container-perks[_ngcontent-%COMP%]{height:70vh;display:grid;grid-template-columns:1fr 3fr 3fr 1fr;grid-template-rows:auto 1fr;grid-template-areas:". tag tag ." ". img category .";gap:var(--gap);align-items:start;padding:1rem;box-sizing:border-box}.container-tags[_ngcontent-%COMP%]{grid-area:tag;display:flex;flex-wrap:wrap;align-content:flex-start;gap:.6rem .6rem}.container-tags[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0}.tag-pill[_ngcontent-%COMP%]{background:var(--tag-bg);border:1px solid var(--tag-border);color:var(--muted);padding:.35rem .6rem;border-radius:999px;font-size:.95rem;line-height:1;transition:transform .12s ease,box-shadow .12s ease}.tag-pill[_ngcontent-%COMP%]:focus, .tag-pill[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 10px #2b8dd614;outline:none}.container-perks[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .container-perks[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-area:img;width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}h3[_ngcontent-%COMP%]{width:100%;margin:0 0 .4rem}.container-categories[_ngcontent-%COMP%]{grid-area:category}@media (max-width: 1250px){.container-perks[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:auto;padding:1rem}.container-perks[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .container-perks[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-area:unset;width:100%;height:40vh;max-height:50vh}.container-tags[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{font-size:16px}.container-categories[_ngcontent-%COMP%]{width:100%}}@media (max-width: 600px){[_ngcontent-%COMP%]:root{--gap: .6rem}.tag-pill[_ngcontent-%COMP%]{padding:.5rem .8rem;font-size:1rem}}.muted[_ngcontent-%COMP%]{color:var(--muted)}.accent[_ngcontent-%COMP%]{color:var(--accent)}']})};var OC=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(I(In),I(lt))};static \u0275dir=ve({type:e})}return e})(),lh=(()=>{class e extends OC{static \u0275fac=(()=>{let n;return function(i){return(n||(n=Xn(e)))(i||e)}})();static \u0275dir=ve({type:e,features:[Sn]})}return e})(),Rl=new M("");var ax={provide:Rl,useExisting:Dn(()=>Ol),multi:!0};function cx(){let e=Mt()?Mt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var lx=new M(""),Ol=(()=>{class e extends OC{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!cx())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(I(In),I(lt),I(lx,8))};static \u0275dir=ve({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(r,i){r&1&&K("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[Si([ax]),Sn]})}return e})();var ux=new M(""),dx=new M("");function kC(e){return e!=null}function PC(e){return tr(e)?ae(e):e}function FC(e){let t={};return e.forEach(n=>{t=n!=null?D(D({},t),n):t}),Object.keys(t).length===0?null:t}function LC(e,t){return t.map(n=>n(e))}function fx(e){return!e.validate}function jC(e){return e.map(t=>fx(t)?t:n=>t.validate(n))}function px(e){if(!e)return null;let t=e.filter(kC);return t.length==0?null:function(n){return FC(LC(n,t))}}function VC(e){return e!=null?px(jC(e)):null}function hx(e){if(!e)return null;let t=e.filter(kC);return t.length==0?null:function(n){let r=LC(n,t).map(PC);return mu(r).pipe(V(FC))}}function BC(e){return e!=null?hx(jC(e)):null}function IC(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function gx(e){return e._rawValidators}function mx(e){return e._rawAsyncValidators}function oh(e){return e?Array.isArray(e)?e:[e]:[]}function xl(e,t){return Array.isArray(e)?e.includes(t):e===t}function MC(e,t){let n=oh(t);return oh(e).forEach(i=>{xl(n,i)||n.push(i)}),n}function SC(e,t){return oh(t).filter(n=>!xl(e,n))}var Al=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=VC(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=BC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},sh=class extends Al{name;get formDirective(){return null}get path(){return null}},Ss=class extends Al{_parent=null;name=null;valueAccessor=null},ah=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},vx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},j8=L(D({},vx),{"[class.ng-submitted]":"isSubmitted"}),$C=(()=>{class e extends ah{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(I(Ss,2))};static \u0275dir=ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&xr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Sn]})}return e})();var _s="VALID",Tl="INVALID",Zi="PENDING",ws="DISABLED",Qi=class{},Nl=class extends Qi{value;source;constructor(t,n){super(),this.value=t,this.source=n}},Is=class extends Qi{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},Ms=class extends Qi{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},Yi=class extends Qi{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function yx(e){return(kl(e)?e.validators:e)||null}function Dx(e){return Array.isArray(e)?VC(e):e||null}function Cx(e,t){return(kl(t)?t.asyncValidators:e)||null}function Ex(e){return Array.isArray(e)?BC(e):e||null}function kl(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var ch=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return Re(this.statusReactive)}set status(t){Re(()=>this.statusReactive.set(t))}_status=Uo(()=>this.statusReactive());statusReactive=bt(void 0);get valid(){return this.status===_s}get invalid(){return this.status===Tl}get pending(){return this.status==Zi}get disabled(){return this.status===ws}get enabled(){return this.status!==ws}errors;get pristine(){return Re(this.pristineReactive)}set pristine(t){Re(()=>this.pristineReactive.set(t))}_pristine=Uo(()=>this.pristineReactive());pristineReactive=bt(!0);get dirty(){return!this.pristine}get touched(){return Re(this.touchedReactive)}set touched(t){Re(()=>this.touchedReactive.set(t))}_touched=Uo(()=>this.touchedReactive());touchedReactive=bt(!1);get untouched(){return!this.touched}_events=new de;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(MC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(MC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(SC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(SC(t,this._rawAsyncValidators))}hasValidator(t){return xl(this._rawValidators,t)}hasAsyncValidator(t){return xl(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(L(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Ms(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new Ms(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(L(D({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Is(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Is(!0,r))}markAsPending(t={}){this.status=Zi;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Yi(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(L(D({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ws,this.errors=null,this._forEachChild(i=>{i.disable(L(D({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Nl(this.value,r)),this._events.next(new Yi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(L(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=_s,this._forEachChild(r=>{r.enable(L(D({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(L(D({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_s||this.status===Zi)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Nl(this.value,n)),this._events.next(new Yi(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(L(D({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ws:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Zi,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=PC(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Yi(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?ws:this.errors?Tl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zi)?Zi:this._anyControlsHaveStatus(Tl)?Tl:_s}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new Is(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Ms(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){kl(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Dx(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Ex(this._rawAsyncValidators)}};var UC=new M("",{providedIn:"root",factory:()=>uh}),uh="always";function bx(e,t){return[...t.path,e]}function _x(e,t,n=uh){Ix(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),Mx(e,t),Tx(e,t),Sx(e,t),wx(e,t)}function TC(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function wx(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Ix(e,t){let n=gx(e);t.validator!==null?e.setValidators(IC(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=mx(e);t.asyncValidator!==null?e.setAsyncValidators(IC(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();TC(t._rawValidators,i),TC(t._rawAsyncValidators,i)}function Mx(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&HC(e,t)})}function Sx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&HC(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function HC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Tx(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function xx(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Ax(e){return Object.getPrototypeOf(e.constructor)===lh}function Nx(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===Ol?n=o:Ax(o)?r=o:i=o}),i||r||n||null}function xC(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function AC(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Rx=class extends ch{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(yx(n),Cx(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),kl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(AC(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){xC(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){xC(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){AC(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Ox={provide:Ss,useExisting:Dn(()=>dh)},NC=Promise.resolve(),dh=(()=>{class e extends Ss{_changeDetectorRef;callSetDisabledState;control=new Rx;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new be;constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Nx(this,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),xx(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){_x(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){NC.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&xi(r);NC.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?bx(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(I(sh,9),I(ux,10),I(dx,10),I(Rl,10),I(Rr,8),I(UC,8))};static \u0275dir=ve({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Si([Ox]),Sn,Xt]})}return e})();var kx={provide:Rl,useExisting:Dn(()=>Pl),multi:!0};function zC(e,t){return e==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function Px(e){return e.split(":")[0]}var Pl=(()=>{class e extends lh{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;appRefInjector=m(nn).injector;destroyRef=m(kt);cdr=m(Rr);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Mc({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(n){this.cdr.markForCheck(),this.value=n;let r=this._getOptionId(n),i=zC(r,n);this.setProperty("value",i)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){let r=Px(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Xn(e)))(i||e)}})();static \u0275dir=ve({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){r&1&&K("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Si([kx]),Sn]})}return e})(),GC=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,i){this._element=n,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(zC(this.id,n)),this._select._writeValueAfterRender())}set value(n){this._setElementValue(n),this._select&&this._select._writeValueAfterRender()}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(r){return new(r||e)(I(lt),I(In),I(Pl,9))};static \u0275dir=ve({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),Fx={provide:Rl,useExisting:Dn(()=>WC),multi:!0};function RC(e,t){return e==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function Lx(e){return e.split(":")[0]}var WC=(()=>{class e extends lh{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){this.value=n;let r;if(Array.isArray(n)){let i=n.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{let i=[],o=r.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a{let n;return function(i){return(n||(n=Xn(e)))(i||e)}})();static \u0275dir=ve({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){r&1&&K("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[Si([Fx]),Sn]})}return e})(),qC=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,i){this._element=n,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(RC(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(RC(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(I(lt),I(In),I(WC,9))};static \u0275dir=ve({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();var jx=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=tn({type:e});static \u0275inj=At({})}return e})();var ZC=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:UC,useValue:n.callSetDisabledState??uh}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=tn({type:e});static \u0275inj=At({imports:[jx]})}return e})();function gh(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Hr=gh();function eE(e){Hr=e}var Ns={exec:()=>null};function Y(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Ke.caret,"$1"),n=n.replace(i,s),r},getRegex:()=>new RegExp(n,t)};return r}var Ke={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Bx=/^(?:[ \t]*(?:\n|$))+/,$x=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ux=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Rs=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Hx=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,mh=/(?:[*+-]|\d{1,9}[.)])/,tE=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,nE=Y(tE).replace(/bull/g,mh).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).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/).replace(/\|table/g,"").getRegex(),zx=Y(tE).replace(/bull/g,mh).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).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/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),vh=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Gx=/^[^\n]+/,yh=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Wx=Y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",yh).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),qx=Y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,mh).getRegex(),Bl="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",Dh=/|$))/,Zx=Y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Dh).replace("tag",Bl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),rE=Y(vh).replace("hr",Rs).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",")|<(?:script|pre|style|textarea|!--)").replace("tag",Bl).getRegex(),Yx=Y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",rE).getRegex(),Ch={blockquote:Yx,code:$x,def:Wx,fences:Ux,heading:Hx,hr:Rs,html:Zx,lheading:nE,list:qx,newline:Bx,paragraph:rE,table:Ns,text:Gx},YC=Y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Bl).getRegex(),Qx=L(D({},Ch),{lheading:zx,table:YC,paragraph:Y(vh).replace("hr",Rs).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",YC).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Bl).getRegex()}),Kx=L(D({},Ch),{html:Y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Dh).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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ns,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Y(vh).replace("hr",Rs).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",nE).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Jx=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Xx=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,iE=/^( {2,}|\\)\n(?!\s*$)/,eA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,aE=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,oA=Y(aE,"u").replace(/punct/g,$l).getRegex(),sA=Y(aE,"u").replace(/punct/g,sE).getRegex(),cE="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",aA=Y(cE,"gu").replace(/notPunctSpace/g,oE).replace(/punctSpace/g,Eh).replace(/punct/g,$l).getRegex(),cA=Y(cE,"gu").replace(/notPunctSpace/g,rA).replace(/punctSpace/g,nA).replace(/punct/g,sE).getRegex(),lA=Y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oE).replace(/punctSpace/g,Eh).replace(/punct/g,$l).getRegex(),uA=Y(/\\(punct)/,"gu").replace(/punct/g,$l).getRegex(),dA=Y(/^<(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(),fA=Y(Dh).replace("(?:-->|$)","-->").getRegex(),pA=Y("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",fA).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ll=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,hA=Y(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ll).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),lE=Y(/^!?\[(label)\]\[(ref)\]/).replace("label",Ll).replace("ref",yh).getRegex(),uE=Y(/^!?\[(ref)\](?:\[\])?/).replace("ref",yh).getRegex(),gA=Y("reflink|nolink(?!\\()","g").replace("reflink",lE).replace("nolink",uE).getRegex(),bh={_backpedal:Ns,anyPunctuation:uA,autolink:dA,blockSkip:iA,br:iE,code:Xx,del:Ns,emStrongLDelim:oA,emStrongRDelimAst:aA,emStrongRDelimUnd:lA,escape:Jx,link:hA,nolink:uE,punctuation:tA,reflink:lE,reflinkSearch:gA,tag:pA,text:eA,url:Ns},mA=L(D({},bh),{link:Y(/^!?\[(label)\]\((.*?)\)/).replace("label",Ll).getRegex(),reflink:Y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ll).getRegex()}),fh=L(D({},bh),{emStrongRDelimAst:cA,emStrongLDelim:sA,url:Y(/^((?: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\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},QC=e=>yA[e];function dn(e,t){if(t){if(Ke.escapeTest.test(e))return e.replace(Ke.escapeReplace,QC)}else if(Ke.escapeTestNoEncode.test(e))return e.replace(Ke.escapeReplaceNoEncode,QC);return e}function KC(e){try{e=encodeURI(e).replace(Ke.percentDecode,"%")}catch{return null}return e}function JC(e,t){let n=e.replace(Ke.findPipe,(o,s,a)=>{let c=!1,l=s;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),r=n.split(Ke.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length0?-2:-1}function XC(e,t,n,r,i){let o=t.href,s=t.title||null,a=e[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let c={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:s,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,c}function CA(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(` +`).map(o=>{let s=o.match(n.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(` +`)}var jl=class{options;rules;lexer;constructor(e){this.options=e||Hr}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:xs(n,` +`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=CA(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=xs(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:xs(t[0],` +`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=xs(t[0],` +`).split(` +`),r="",i="",o=[];for(;n.length>0;){let s=!1,a=[],c;for(c=0;c1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let o=this.rules.other.listItemRegex(n),s=!1;for(;e;){let c=!1,l="",u="";if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;l=t[0],e=e.substring(l.length);let d=t[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,_=>" ".repeat(3*_.length)),p=e.split(` +`,1)[0],f=!d.trim(),h=0;if(this.options.pedantic?(h=2,u=d.trimStart()):f?h=t[1].length+1:(h=t[2].search(this.rules.other.nonSpaceChar),h=h>4?1:h,u=d.slice(h),h+=t[1].length),f&&this.rules.other.blankLine.test(p)&&(l+=p+` +`,e=e.substring(p.length+1),c=!0),!c){let _=this.rules.other.nextBulletRegex(h),X=this.rules.other.hrRegex(h),oe=this.rules.other.fencesBeginRegex(h),$=this.rules.other.headingBeginRegex(h),Me=this.rules.other.htmlBeginRegex(h);for(;e;){let ot=e.split(` +`,1)[0],fn;if(p=ot,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),fn=p):fn=p.replace(this.rules.other.tabCharGlobal," "),oe.test(p)||$.test(p)||Me.test(p)||_.test(p)||X.test(p))break;if(fn.search(this.rules.other.nonSpaceChar)>=h||!p.trim())u+=` +`+fn.slice(h);else{if(f||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||oe.test(d)||$.test(d)||X.test(d))break;u+=` +`+p}!f&&!p.trim()&&(f=!0),l+=ot+` +`,e=e.substring(ot.length+1),d=fn.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(s=!0));let w=null,b;this.options.gfm&&(w=this.rules.other.listIsTask.exec(u),w&&(b=w[0]!=="[ ] ",u=u.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:l,task:!!w,checked:b,loose:!1,text:u,tokens:[]}),i.raw+=l}let a=i.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let c=0;cd.type==="space"),u=l.length>0&&l.some(d=>this.rules.other.anyLine.test(d.raw));i.loose=u}if(i.loose)for(let c=0;c({text:a,tokens:this.lexer.inline(a),header:!1,align:o.align[c]})));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);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(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===` +`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.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(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let o=xs(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{let o=DA(t[2],"()");if(o===-2)return;if(o>-1){let s=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,s).trim(),t[3]=""}}let r=t[2],i="";if(this.options.pedantic){let o=this.rules.other.pedanticHrefTitle.exec(r);o&&(r=o[1],i=o[3])}else i=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),XC(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=t[r.toLowerCase()];if(!i){let o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return XC(n,i,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let i=[...r[0]].length-1,o,s,a=i,c=0,l=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+i);(r=l.exec(t))!=null;){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(s=[...o].length,r[3]||r[4]){a+=s;continue}else if((r[5]||r[6])&&i%3&&!((i+s)%3)){c+=s;continue}if(a-=s,a>0)continue;s=Math.min(s,s+a+c);let u=[...r[0]][0].length,d=e.slice(0,i+r.index+u+s);if(Math.min(i,s)%2){let f=d.slice(1,-1);return{type:"em",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}let p=d.slice(2,-2);return{type:"strong",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},Ln=class ph{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Hr,this.options.tokenizer=this.options.tokenizer||new jl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:Ke,block:Fl.normal,inline:Ts.normal};this.options.pedantic?(n.block=Fl.pedantic,n.inline=Ts.pedantic):this.options.gfm&&(n.block=Fl.gfm,this.options.breaks?n.inline=Ts.breaks:n.inline=Ts.gfm),this.tokenizer.rules=n}static get rules(){return{block:Fl,inline:Ts}}static lex(t,n){return new ph(n).lex(t)}static lexInline(t,n){return new ph(n).inlineTokens(t)}lex(t){t=t.replace(Ke.carriageReturn,` +`),this.blockTokens(t,this.tokens);for(let n=0;n(i=s.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))continue;if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length);let s=n.at(-1);i.raw.length===1&&s!==void 0?s.raw+=` +`:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length);let s=n.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` +`)?"":` +`)+i.raw,s.text+=` +`+i.text,this.inlineQueue.at(-1).src=s.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length);let s=n.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(` +`)?"":` +`)+i.raw,s.text+=` +`+i.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},n.push(i));continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}let o=t;if(this.options.extensions?.startBlock){let s=1/0,a=t.slice(1),c;this.options.extensions.startBlock.forEach(l=>{c=l.call({lexer:this},a),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(o=t.substring(0,s+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o))){let s=n.at(-1);r&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(` +`)?"":` +`)+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):n.push(i),r=o.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length);let s=n.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(` +`)?"":` +`)+i.raw,s.text+=` +`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):n.push(i);continue}if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,i=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)a.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(i=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let o=!1,s="";for(;t;){o||(s=""),o=!1;let a;if(this.options.extensions?.inline?.some(l=>(a=l.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.escape(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.tag(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.link(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(a.raw.length);let l=n.at(-1);a.type==="text"&&l?.type==="text"?(l.raw+=a.raw,l.text+=a.text):n.push(a);continue}if(a=this.tokenizer.emStrong(t,r,s)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.codespan(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.br(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.del(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.autolink(t)){t=t.substring(a.raw.length),n.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(t))){t=t.substring(a.raw.length),n.push(a);continue}let c=t;if(this.options.extensions?.startInline){let l=1/0,u=t.slice(1),d;this.options.extensions.startInline.forEach(p=>{d=p.call({lexer:this},u),typeof d=="number"&&d>=0&&(l=Math.min(l,d))}),l<1/0&&l>=0&&(c=t.substring(0,l+1))}if(a=this.tokenizer.inlineText(c)){t=t.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(s=a.raw.slice(-1)),o=!0;let l=n.at(-1);l?.type==="text"?(l.raw+=a.raw,l.text+=a.text):n.push(a);continue}if(t){let l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return n}},Vl=class{options;parser;constructor(e){this.options=e||Hr}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(Ke.notSpaceStart)?.[0],i=e.replace(Ke.endingNewline,"")+` +`;return r?'
'+(n?i:dn(i,!0))+`
+`:"
"+(n?i:dn(i,!0))+`
+`}blockquote({tokens:e}){return`
+${this.parser.parse(e)}
+`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`${this.parser.parseInline(e)} +`}hr(e){return`
+`}list(e){let t=e.ordered,n=e.start,r="";for(let s=0;s +`+r+" +`}listitem(e){let t="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=n+" "+dn(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`
  • ${t}
  • +`}checkbox({checked:e}){return"'}paragraph({tokens:e}){return`

    ${this.parser.parseInline(e)}

    +`}table(e){let t="",n="";for(let i=0;i${r}`),` + +`+t+` +`+r+`
    +`}tablerow({text:e}){return` +${e} +`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+` +`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${dn(e,!0)}`}br(e){return"
    "}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=KC(e);if(i===null)return r;e=i;let o='
    ",o}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=KC(e);if(i===null)return dn(n);e=i;let o=`${n}{let s=i[o].flat(1/0);n=n.concat(this.walkTokens(s,t))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r=D({},n);if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let o=t.renderers[i.name];o?t.renderers[i.name]=function(...s){let a=i.renderer.apply(this,s);return a===!1&&(a=o.apply(this,s)),a}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let o=t[i.level];o?o.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),r.extensions=t),n.renderer){let i=this.defaults.renderer||new Vl(this.defaults);for(let o in n.renderer){if(!(o in i))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;let s=o,a=n.renderer[s],c=i[s];i[s]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u||""}}r.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new jl(this.defaults);for(let o in n.tokenizer){if(!(o in i))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;let s=o,a=n.tokenizer[s],c=i[s];i[s]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}r.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new As;for(let o in n.hooks){if(!(o in i))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;let s=o,a=n.hooks[s],c=i[s];As.passThroughHooks.has(o)?i[s]=l=>{if(this.defaults.async&&As.passThroughHooksRespectAsync.has(o))return Promise.resolve(a.call(i,l)).then(d=>c.call(i,d));let u=a.call(i,l);return c.call(i,u)}:i[s]=(...l)=>{let u=a.apply(i,l);return u===!1&&(u=c.apply(i,l)),u}}r.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,o=n.walkTokens;r.walkTokens=function(s){let a=[];return a.push(o.call(this,s)),i&&(a=a.concat(i.call(this,s))),a}}this.defaults=D(D({},this.defaults),r)}),this}setOptions(e){return this.defaults=D(D({},this.defaults),e),this}lexer(e,t){return Ln.lex(e,t??this.defaults)}parser(e,t){return jn.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r=D({},n),i=D(D({},this.defaults),r),o=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);let s=i.hooks?i.hooks.provideLexer():e?Ln.lex:Ln.lexInline,a=i.hooks?i.hooks.provideParser():e?jn.parse:jn.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(c=>s(c,i)).then(c=>i.hooks?i.hooks.processAllTokens(c):c).then(c=>i.walkTokens?Promise.all(this.walkTokens(c,i.walkTokens)).then(()=>c):c).then(c=>a(c,i)).then(c=>i.hooks?i.hooks.postprocess(c):c).catch(o);try{i.hooks&&(t=i.hooks.preprocess(t));let c=s(t,i);i.hooks&&(c=i.hooks.processAllTokens(c)),i.walkTokens&&this.walkTokens(c,i.walkTokens);let l=a(c,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(c){return o(c)}}}onError(e,t){return n=>{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,e){let r="

    An error occurred:

    "+dn(n.message+"",!0)+"
    ";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},Ur=new EA;function J(e,t){return Ur.parse(e,t)}J.options=J.setOptions=function(e){return Ur.setOptions(e),J.defaults=Ur.defaults,eE(J.defaults),J};J.getDefaults=gh;J.defaults=Hr;J.use=function(...e){return Ur.use(...e),J.defaults=Ur.defaults,eE(J.defaults),J};J.walkTokens=function(e,t){return Ur.walkTokens(e,t)};J.parseInline=Ur.parseInline;J.Parser=jn;J.parser=jn.parse;J.Renderer=Vl;J.TextRenderer=_h;J.Lexer=Ln;J.lexer=Ln.lex;J.Tokenizer=jl;J.Hooks=As;J.parse=J;var $8=J.options,dE=J.setOptions,U8=J.use,H8=J.walkTokens,z8=J.parseInline,fE=J,G8=jn.parse,W8=Ln.lex;function _A(e,t){if(e&1&&(v(0,"div",1),O(1,"img",5),g()),e&2){let n=re(2);y(),T("src",Ar(n.project.thumbnail),Lt)("alt",Ar(n.project.title))}}function wA(e,t){if(e&1&&(v(0,"div",6),C(1),g()),e&2){let n=t.$implicit;on("background-color",n.color),y(),ie(n.name)}}function IA(e,t){if(e&1&&(v(0,"div",0)(1,"h2"),C(2),g(),v(3,"p"),C(4),Ye(5,"date"),Ye(6,"date"),g(),Tn(7,_A,2,4,"div",1),v(8,"div",2),ne(9,wA,2,3,"div",3),g(),O(10,"div",4),g()),e&2){let n=re();y(2),ie(n.project.title),y(2),ut(" ",n.project.start?dt(5,6,n.project.start,"dd/MM/yyyy"):""," - ",n.project.end?dt(6,9,n.project.end,"dd/MM/yyyy"):""," "),y(3),xn(n.project.thumbnail?7:-1),y(2),T("ngForOf",n.project.tags),y(),T("innerHTML",n.parseMarkdown(n.project.content),If)}}var Ul=class e{constructor(t,n){this.apiService=t;this.sanitizer=n}projectId="";project={title:"",content:"",start:void 0,end:void 0,thumbnail:"",tags:[],trainings:[]};ngOnChanges(t){t.projectId&&t.projectId.currentValue&&this.apiService.getProjectByIdWithDetail(this.projectId).subscribe({next:n=>{this.project={title:n.data.title,content:n.data.content,start:n.data.start?new Date(n.data.start):void 0,end:n.data.end?new Date(n.data.end):void 0,thumbnail:n.data.thumbnail&&n.data.thumbnail.length>0?this.apiService.getBackendUrl()+n.data.thumbnail[0].url:"",tags:n.data.tags||[],trainings:n.data.trainings||[]}},error:n=>{console.error("Erreur lors de la r\xE9cup\xE9ration des d\xE9tails du projet:",n)}})}parseMarkdown(t){if(!t)return"";dE({breaks:!0,gfm:!0});try{let n=fE(t);return this.sanitizer.bypassSecurityTrustHtml(n)}catch(n){return console.error("Erreur lors du parsing markdown:",n),t}}static \u0275fac=function(n){return new(n||e)(I(De),I(Op))};static \u0275cmp=H({type:e,selectors:[["app-project-detail"]],inputs:{projectId:"projectId"},features:[Xt],decls:1,vars:1,consts:[[1,"container-detail-project","scrollbar"],[1,"image-container"],[1,"tags-container"],["class","tag",3,"background-color",4,"ngFor","ngForOf"],[1,"markdown-content",3,"innerHTML"],[3,"src","alt"],[1,"tag"]],template:function(n,r){n&1&&Tn(0,IA,11,12,"div",0),n&2&&xn(r.project?0:-1)},dependencies:[$e,Be,Or],styles:['.container-detail-project[_ngcontent-%COMP%]{padding:2em;border-radius:.5em;margin:1em 0;max-height:65vh;display:flex;flex-direction:column;row-gap:1.5em}.image-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:320px;margin:1em auto 0;display:block}.tags-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:.7em 0 1em}.container-detail-project[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;margin:1em 0}.container-detail-project[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{display:inline-block;background:var(--secondary-color);color:#111;border:1px dashed var(--primary-color);border-radius:.3em;padding:.3em .8em;margin:.2em .4em .2em 0;font-size:1em;font-family:inherit;box-shadow:0 0 6px var(--primary-color) inset;transition:background .2s,color .2s}.container-detail-project[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]:hover{background:var(--primary-color);color:#0c0}.markdown-content[_ngcontent-%COMP%] h1, .markdown-content[_ngcontent-%COMP%] h2, .markdown-content[_ngcontent-%COMP%] h3, .markdown-content[_ngcontent-%COMP%] h4, .markdown-content[_ngcontent-%COMP%] h5, .markdown-content[_ngcontent-%COMP%] h6{color:var(--primary-color);margin-top:2em;margin-bottom:1em;font-weight:700;border-bottom:1px solid var(--primary-color)}.markdown-content[_ngcontent-%COMP%] h1{font-size:2em;border-bottom:2px solid var(--accent-color);padding-bottom:.3em}.markdown-content[_ngcontent-%COMP%] h2{font-size:1.5em;border-bottom:1px solid var(--primary-color);padding-bottom:.2em}.markdown-content[_ngcontent-%COMP%] h3{font-size:1.2em}.markdown-content[_ngcontent-%COMP%] h4, .markdown-content[_ngcontent-%COMP%] h5, .markdown-content[_ngcontent-%COMP%] h6{font-size:1em}.markdown-content[_ngcontent-%COMP%] p{margin-bottom:1em;color:var(--primary-color);line-height:1.6;font-family:Fira Mono,monospace}.markdown-content[_ngcontent-%COMP%] ul, .markdown-content[_ngcontent-%COMP%] ol{margin-bottom:1em;padding-left:2em;list-style:none}.markdown-content[_ngcontent-%COMP%] li{margin-bottom:.5em;color:var(--primary-color);font-family:Fira Mono,monospace}.markdown-content[_ngcontent-%COMP%] ul li:before{content:"> ";color:var(--accent-color);font-weight:700;margin-right:.5em}.markdown-content[_ngcontent-%COMP%] ol li:before{content:counter(item) ". ";color:var(--accent-color);font-weight:700;margin-right:.5em}.markdown-content[_ngcontent-%COMP%] code{padding:.2em .5em;font-family:Fira Mono,monospace;font-size:.95em}.markdown-content[_ngcontent-%COMP%] pre{background:#111;padding:1em;border-radius:.5em;overflow-x:auto;margin:1em 0;border:1px solid var(--primary-color);box-shadow:0 0 8px var(--primary-color)}.markdown-content[_ngcontent-%COMP%] blockquote{border-left:4px solid var(--accent-color);padding:.7em 1em;margin:1em 0;font-style:italic;color:var(--primary-color);background:#222;border-radius:0 8px 8px 0}.markdown-content[_ngcontent-%COMP%] a{color:var(--accent-color);text-decoration:underline;font-weight:700;transition:color .2s}.markdown-content[_ngcontent-%COMP%] a:hover{color:#fff}.markdown-content[_ngcontent-%COMP%] hr{border:none;height:2px;background:linear-gradient(90deg,transparent,var(--accent-color),transparent);margin:2em 0}.markdown-content[_ngcontent-%COMP%] img{max-width:100%;height:auto;border-radius:8px;margin:1em 0;box-shadow:0 2px 12px var(--primary-color)}.markdown-content[_ngcontent-%COMP%] strong{color:var(--accent-color);font-weight:700}.markdown-content[_ngcontent-%COMP%] em{color:var(--primary-color);font-style:italic}']})};function MA(e,t){if(e&1&&(v(0,"option",13),C(1),g()),e&2){let n=t.$implicit;T("value",n.name),y(),ie(n.name)}}function SA(e,t){if(e&1){let n=Nn();v(0,"li",14),K("click",function(){let i=Ct(n).$implicit,o=re();return Et(o.clickProject(i.id))}),C(1),g()}if(e&2){let n=t.$implicit;y(),ue(" ",n.title," ")}}function TA(e,t){if(e&1&&(v(0,"div",11),O(1,"app-project-detail",15),g()),e&2){let n=re();y(),T("projectId",n.projectId)}}function xA(e,t){e&1&&(v(0,"div",12),O(1,"img",16),g())}var Os=class e{constructor(t,n,r){this.route=t;this.apiService=n;this.router=r}projectId;projects=[];projectsFiltered=[];categories=[];selectedCategory="0";searchTerm="";ngOnInit(){this.route.queryParamMap.subscribe(t=>{let n=t.get("id");this.projectId=n||""}),this.apiService.getProjectsWithCategory().subscribe({next:t=>{this.projects=t.data.map(n=>({id:n.id,title:n.title,categories:n.category})),this.filterProjects()},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des tags:",t),this.projects=[{id:"",title:"error",categories:[]}],this.filterProjects()}}),this.apiService.getCategories().subscribe({next:t=>{this.categories=t.data.map(n=>({name:n.name}))},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des categories:",t),this.categories=[{name:"erreur"}]}})}onCategoryChange(t){this.selectedCategory=t.target.value,this.filterProjects()}onSearchChange(t){console.log(t.target.value),this.searchTerm=t.target.value.toLowerCase(),this.filterProjects()}filterProjects(){let t=this.projects??[];this.selectedCategory!=="0"&&(t=t.filter(n=>n.categories?.name===this.selectedCategory)),this.searchTerm&&this.searchTerm.trim()!==""&&(t=t.filter(n=>n.title?.toLowerCase().includes(this.searchTerm.toLowerCase()))),this.projectsFiltered=t}clearFilterProjects(){this.selectedCategory="0",this.searchTerm="",this.filterProjects()}clickProject(t){this.projectId=t,this.router.navigate([],{relativeTo:this.route,queryParams:{id:t},queryParamsHandling:"merge"})}static \u0275fac=function(n){return new(n||e)(I(Bt),I(De),I($t))};static \u0275cmp=H({type:e,selectors:[["app-project"]],decls:18,vars:5,consts:[[1,"container-projects","scrollbar"],[1,"filters"],["for","category"],["name","category",1,"input-theme",3,"ngModelChange","change","ngModel"],["value","0"],[3,"value",4,"ngFor","ngForOf"],["type","text","placeholder","Rechercher un projet",1,"input-theme",3,"ngModelChange","change","ngModel"],[1,"button-theme","button-accent",3,"click"],["src","assets/icons/trashcan.png","alt","",1,"filter-img"],[1,"lists","scrollbar"],[3,"click",4,"ngFor","ngForOf"],[1,"project-detail","scrollbar"],[1,"stand_by"],[3,"value"],[3,"click"],[3,"projectId"],["src","assets/images/stand_by.gif","alt","S\xE9lectionnez un projet",1,"filter-img","project-detail"]],template:function(n,r){n&1&&(v(0,"main",0)(1,"div",1)(2,"h3"),C(3,"Filtres"),g(),v(4,"label",2),C(5,"Cat\xE9gories "),g(),v(6,"select",3),Bo("ngModelChange",function(o){return xc(r.selectedCategory,o)||(r.selectedCategory=o),o}),K("change",function(o){return r.onCategoryChange(o)}),v(7,"option",4),C(8,"Tout"),g(),ne(9,MA,2,2,"option",5),g(),v(10,"input",6),Bo("ngModelChange",function(o){return xc(r.searchTerm,o)||(r.searchTerm=o),o}),K("change",function(o){return r.onSearchChange(o)}),g(),v(11,"button",7),K("click",function(){return r.clearFilterProjects()}),O(12,"img",8),g()(),v(13,"ul",9),ne(14,SA,2,1,"li",10),g(),Tn(15,TA,2,1,"div",11)(16,xA,2,0,"div",12),O(17,"app-info"),g()),n&2&&(y(6),Vo("ngModel",r.selectedCategory),y(3),T("ngForOf",r.categories),y(),Vo("ngModel",r.searchTerm),y(4),T("ngForOf",r.projectsFiltered),y(),xn(r.projectId?15:16))},dependencies:[Ue,$e,Be,ZC,GC,qC,Ol,Pl,$C,dh,Ul],styles:['.container-projects[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 3fr;gap:1em;grid-template-areas:"filters project-detail" "lists project-detail"}.filters[_ngcontent-%COMP%]{grid-area:filters;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:1em;margin-bottom:1em;max-height:10vh}.filters[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{width:100%;margin:0}.lists[_ngcontent-%COMP%]{grid-area:lists;list-style:none;padding:0;height:55vh}.lists[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:.7em 1.2em;margin-bottom:.3em;background:transparent;border-bottom:1px dashed var(--secondary-color, #090);color:var(--primary-color, #0c0);font-size:1.1em;letter-spacing:.5px;transition:background .2s,color .2s}.lists[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.lists[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background:var(--primary-color, #0c0);color:#111;cursor:pointer}.project-detail[_ngcontent-%COMP%]{grid-area:project-detail}.stand_by[_ngcontent-%COMP%]{grid-area:project-detail;width:100%}.stand_by[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;opacity:.8}']})};var AA=()=>["/project"],NA=e=>({id:e});function RA(e,t){if(e&1&&(v(0,"li"),C(1),g()),e&2){let n=t.$implicit;y(),ie(n)}}function OA(e,t){if(e&1&&(v(0,"div",10)(1,"h3"),C(2,"Comp\xE9tences acquises"),g(),v(3,"ul"),ne(4,RA,2,1,"li",11),g()()),e&2){let n=re().$implicit;y(4),T("ngForOf",n.skill.split(` +`))}}function kA(e,t){if(e&1&&(v(0,"li")(1,"a",13),C(2),g()()),e&2){let n=t.$implicit;y(),T("routerLink",Ze(3,AA))("queryParams",$o(4,NA,n.id)),y(),ue(" ",n.title)}}function PA(e,t){if(e&1&&(v(0,"div",12)(1,"h3"),C(2,"Projets r\xE9alis\xE9s :"),g(),v(3,"ul"),ne(4,kA,3,6,"li",11),g()()),e&2){let n=re().$implicit;y(4),T("ngForOf",n.projects)}}function FA(e,t){if(e&1&&(v(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2"),C(4),g(),v(5,"span",5),C(6),Ye(7,"date"),Ye(8,"date"),g()(),v(9,"div",6),C(10),g()(),v(11,"div",7),ne(12,OA,5,1,"div",8)(13,PA,5,1,"div",9),g()()),e&2){let n=t.$implicit;y(4),ie(n.name),y(2),ut(" ",n.start?dt(7,6,n.start,"MM/yyyy"):""," - ",n.end?dt(8,9,n.end,"MM/yyyy"):"Pr\xE9sent"," "),y(4),ie(n.place),y(2),T("ngIf",n.skill),y(),T("ngIf",n.projects&&n.projects.length>0)}}var Hl=class e{constructor(t){this.apiService=t}trainings=[];ngOnInit(){this.apiService.getTrainings().subscribe({next:t=>{this.trainings=t.data.map(n=>({name:n.name,start:n.start?new Date(n.start):void 0,end:n.end?new Date(n.end):void 0,skill:n.skill,place:n.place,projects:n.projects||null}))},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des formations:",t),this.trainings=[{name:"erreur",start:void 0,end:void 0,skill:"erreur",place:"erreur",projects:null}]}}).add(()=>{console.log(this.trainings)})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-training"]],decls:3,vars:1,consts:[[1,"container-trainings","scrollbar"],["class","section-training",4,"ngFor","ngForOf"],[1,"section-training"],[1,"training-header"],[1,"header-top"],[1,"duration"],[1,"place"],[1,"training-body"],["class","skills",4,"ngIf"],["class","projects",4,"ngIf"],[1,"skills"],[4,"ngFor","ngForOf"],[1,"projects"],[3,"routerLink","queryParams"]],template:function(n,r){n&1&&(v(0,"main",0),ne(1,FA,14,12,"div",1),O(2,"app-info"),g()),n&2&&(y(),T("ngForOf",r.trainings))},dependencies:[$e,Be,Yo,Ue,un,Or],styles:['.container-trainings[_ngcontent-%COMP%]{height:70vh;display:flex;flex-direction:column;gap:2rem;padding-right:1rem;padding-bottom:2rem}.section-training[_ngcontent-%COMP%]{border:1px solid var(--secondary-color, #090);padding:1.5rem;background:#0014004d;position:relative;box-shadow:0 0 10px #00ff000d}.section-training[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-1px;left:-1px;width:10px;height:10px;border-top:2px solid var(--primary-color, #0c0);border-left:2px solid var(--primary-color, #0c0)}.section-training[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-1px;right:-1px;width:10px;height:10px;border-bottom:2px solid var(--primary-color, #0c0);border-right:2px solid var(--primary-color, #0c0)}.training-header[_ngcontent-%COMP%]{margin-bottom:1.5rem;border-bottom:1px dashed var(--secondary-color, #090);padding-bottom:1rem}.header-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:1rem}.section-training[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.4rem;text-transform:uppercase;color:var(--primary-color, #0c0);text-shadow:0 0 5px rgba(0,255,0,.3);letter-spacing:1px}.duration[_ngcontent-%COMP%]{font-family:monospace;font-size:.95rem;opacity:.8;color:var(--primary-color, #0c0)}.place[_ngcontent-%COMP%]{margin-top:.5rem;font-style:italic;opacity:.9;color:var(--muted, #8a8)}.training-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.skills[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;font-size:1.1rem;margin-bottom:1rem;text-decoration:underline;text-underline-offset:4px;color:var(--primary-color, #0c0)}.skills[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.skills[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:.3rem 0 .3rem 1.2rem;position:relative;color:var(--primary-color, #0c0);transition:color .2s,text-shadow .2s}.skills[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before, .projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:">";position:absolute;left:0;color:var(--secondary-color, #090);font-weight:700}.projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .skills[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{color:#fff;text-shadow:0 0 5px #fff}.projects[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:inherit;display:block}@media (max-width: 900px){.training-body[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1.5rem}.header-top[_ngcontent-%COMP%]{flex-direction:column;gap:.2rem}}']})};var zl=class e{constructor(t){this.apiService=t}email="";subject="Contact depuis le portfolio";linkedin="";github="";ngOnInit(){this.apiService.getInformation().subscribe({next:t=>{this.email=t.data.contact,this.linkedin=t.data.linkedin,this.github=t.data.github},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des informations:",t)}})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-contact"]],decls:29,vars:10,consts:[[1,"container-contact","scrollbar"],[1,"media"],["src","assets/images/intelligence.gif","alt","Contact",1,"filter-img"],[1,"info"],[1,"row"],[3,"href"],["target","_blank","rel","noopener",3,"href"],["method","GET",1,"contact-form",3,"action"],["type","text","name","subject","placeholder","Sujet",1,"input-theme",3,"value"],["name","body","rows","5","placeholder","Votre message...",1,"input-theme"],["type","submit",1,"button-theme"]],template:function(n,r){n&1&&(v(0,"main",0)(1,"div",1),O(2,"img",2),g(),v(3,"section",3)(4,"h2"),C(5,"Contact"),g(),v(6,"div",4)(7,"h3"),C(8,"Email :"),g(),v(9,"a",5),C(10),g()(),v(11,"div",4)(12,"h3"),C(13,"LinkedIn :"),g(),v(14,"a",6),C(15,"Profil"),g()(),v(16,"div",4)(17,"h3"),C(18,"GitHub :"),g(),v(19,"a",6),C(20,"@github"),g()(),v(21,"form",7)(22,"h3"),C(23,"Envoyer un message"),g(),O(24,"input",8)(25,"textarea",9),v(26,"button",10),C(27,"Envoyer"),g()()(),O(28,"app-info"),g()),n&2&&(y(9),T("href",Nr("mailto:",r.email),Lt),y(),ie(r.email),y(4),T("href",Ar(r.linkedin),Lt),y(5),T("href",Ar(r.github),Lt),y(2),T("action",Nr("mailto:",r.email),Lt),y(3),T("value",r.subject))},dependencies:[$e,Ue],styles:[".container-contact[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 2fr;gap:1.5em;align-items:start;height:70vh}.container-contact[_ngcontent-%COMP%] > .media[_ngcontent-%COMP%]{align-self:center}.container-contact[_ngcontent-%COMP%] > .media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;opacity:.85}.info[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:1em}.info[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:.6em}.info[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--primary-color)}.contact-form[_ngcontent-%COMP%]{margin-top:1em}.contact-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .contact-form[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90%}@media (max-width : 1250px){.screen[_ngcontent-%COMP%]{padding:0}.container-contact[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1em;height:auto}.container-contact[_ngcontent-%COMP%] > .media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:70%;display:block;margin:0 auto}}"]})};function LA(e,t){if(e&1){let n=Nn();v(0,"div",6)(1,"div",7)(2,"span",8),C(3),g(),v(4,"span",9),C(5),g()(),v(6,"div",10)(7,"span",11),C(8),g(),v(9,"span",12),C(10),g(),v(11,"button",13),K("click",function(){let i=Ct(n).index,o=re();return Et(o.buy(i))}),C(12,"Acheter"),g()()()}if(e&2){let n=t.$implicit,r=re();y(3),ie(n.name),y(2),ue("x",n.owned),y(3),ue("Prix: ",r.getPrice(n.base,n.owned)),y(2),ue("+",n.cps," caps/s"),y(),T("disabled",r.capst+n.cps*n.owned,0)}loop=()=>{let t=performance.now(),n=(t-this.lastTick)/1e3;this.lastTick=t,this.capsPerSecond>0&&(this.caps+=this.capsPerSecond*n,this.caps=Math.round(this.caps*100)/100),this.raf=requestAnimationFrame(this.loop)};playPip(t=660){try{this.audioCtx||(this.audioCtx=new window.AudioContext);let n=this.audioCtx,r=n.createOscillator(),i=n.createGain();r.type="square",r.frequency.value=t,i.gain.value=.03,r.connect(i).connect(n.destination),r.start(),i.gain.exponentialRampToValueAtTime(1e-4,n.currentTime+.12),r.stop(n.currentTime+.12)}catch{}}spawnFloat(t){let n=document.createElement("span");n.textContent=t,n.className="float",document.body.appendChild(n),n.style.left="50%",n.style.top="50%",n.addEventListener("animationend",()=>n.remove())}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-caps"]],decls:21,vars:9,consts:[[1,"container"],[1,"caps-container"],[1,"stats"],[1,"button-theme","big",3,"click"],[1,"shop"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"meta"],[1,"name"],[1,"owned"],[1,"actions"],[1,"price"],[1,"cps"],[1,"button-theme",3,"click","disabled"]],template:function(n,r){n&1&&(v(0,"div",0)(1,"div",1)(2,"h2"),C(3,"Nuka-Cola CAPS Clicker"),g(),v(4,"div",2)(5,"p"),C(6,"Caps: "),v(7,"strong"),C(8),Ye(9,"number"),g()(),v(10,"p"),C(11,"CPS: "),v(12,"strong"),C(13),Ye(14,"number"),g()()(),v(15,"button",3),K("click",function(){return r.click()}),C(16,"+1 CAP"),g(),v(17,"div",4)(18,"h3"),C(19,"Am\xE9liorations"),g(),ne(20,LA,13,5,"div",5),g()()()),n&2&&(y(8),ie(dt(9,3,r.caps,"1.0-0")),y(5),ie(dt(14,6,r.capsPerSecond,"1.0-2")),y(7),T("ngForOf",r.upgrades))},dependencies:[Be,Dp],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;padding:16px;color:var(--primary-color);height:100%}.caps-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:center}.stats[_ngcontent-%COMP%]{display:flex;gap:16px}.big[_ngcontent-%COMP%]{font-size:1.4em;padding:.6em 1.2em}.shop[_ngcontent-%COMP%]{width:100%;max-width:560px;display:flex;flex-direction:column;gap:10px}.item[_ngcontent-%COMP%]{border:2px solid var(--primary-color);padding:8px;background:#000}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:6px}.item[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.float[_ngcontent-%COMP%]{position:fixed;pointer-events:none;color:var(--primary-color);animation:_ngcontent-%COMP%_floatUp .6s ease-out forwards}@keyframes _ngcontent-%COMP%_floatUp{0%{transform:translate(-50%,-50%) translateY(0);opacity:1}to{transform:translate(-50%,-50%) translateY(-40px);opacity:0}}"]})};var jA=()=>["/project"],VA=e=>({id:e});function BA(e,t){if(e&1&&(v(0,"li"),C(1),g()),e&2){let n=t.$implicit;y(),ie(n)}}function $A(e,t){if(e&1&&(v(0,"div",10)(1,"h3"),C(2,"Missions"),g(),v(3,"ul"),ne(4,BA,2,1,"li",11),g()()),e&2){let n=re().$implicit;y(4),T("ngForOf",n.missions.split(` +`))}}function UA(e,t){if(e&1&&(v(0,"li")(1,"a",13),C(2),g()()),e&2){let n=t.$implicit;y(),T("routerLink",Ze(3,jA))("queryParams",$o(4,VA,n.id)),y(),ue(" ",n.title," ")}}function HA(e,t){if(e&1&&(v(0,"div",12)(1,"h3"),C(2,"Projets li\xE9s :"),g(),v(3,"ul"),ne(4,UA,3,6,"li",11),g()()),e&2){let n=re().$implicit;y(4),T("ngForOf",n.projects)}}function zA(e,t){if(e&1&&(v(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2"),C(4),g(),v(5,"span",5),C(6),Ye(7,"date"),Ye(8,"date"),g()(),v(9,"div",6),C(10),g()(),v(11,"div",7),ne(12,$A,5,1,"div",8)(13,HA,5,1,"div",9),g()()),e&2){let n=t.$implicit;y(4),ie(n.name),y(2),ut(" ",n.start?dt(7,6,n.start,"MM/yyyy"):""," - ",n.end?dt(8,9,n.end,"MM/yyyy"):"Actuel"," "),y(4),ie(n.place),y(2),T("ngIf",n.missions),y(),T("ngIf",n.projects&&n.projects.length>0)}}var Gl=class e{constructor(t){this.apiService=t}experiences=[];ngOnInit(){this.apiService.getExperiences().subscribe({next:t=>{this.experiences=t.data.map(n=>({name:n.name,start:n.start?new Date(n.start):void 0,end:n.end?new Date(n.end):void 0,missions:n.missions,place:n.place,projects:n.projects||null}))},error:t=>{console.error("Erreur lors de la r\xE9cup\xE9ration des exp\xE9riences:",t)}})}static \u0275fac=function(n){return new(n||e)(I(De))};static \u0275cmp=H({type:e,selectors:[["app-experience"]],decls:3,vars:1,consts:[[1,"container-experiences","scrollbar"],["class","section-experience",4,"ngFor","ngForOf"],[1,"section-experience"],[1,"experience-header"],[1,"header-top"],[1,"duration"],[1,"place"],[1,"experience-body"],["class","missions",4,"ngIf"],["class","projects",4,"ngIf"],[1,"missions"],[4,"ngFor","ngForOf"],[1,"projects"],[3,"routerLink","queryParams"]],template:function(n,r){n&1&&(v(0,"main",0),ne(1,zA,14,12,"div",1),O(2,"app-info"),g()),n&2&&(y(),T("ngForOf",r.experiences))},dependencies:[$e,Be,Yo,Ue,un,Or],styles:['.container-experiences[_ngcontent-%COMP%]{height:70vh;display:flex;flex-direction:column;gap:2rem;padding-right:1rem;padding-bottom:2rem}.section-experience[_ngcontent-%COMP%]{border:1px solid var(--secondary-color, #090);padding:1.5rem;background:#0014004d;position:relative;box-shadow:0 0 10px #00ff000d}.section-experience[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-1px;left:-1px;width:10px;height:10px;border-top:2px solid var(--primary-color, #0c0);border-left:2px solid var(--primary-color, #0c0)}.section-experience[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-1px;right:-1px;width:10px;height:10px;border-bottom:2px solid var(--primary-color, #0c0);border-right:2px solid var(--primary-color, #0c0)}.experience-header[_ngcontent-%COMP%]{margin-bottom:1.5rem;border-bottom:1px dashed var(--secondary-color, #090);padding-bottom:1rem}.header-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:1rem}.section-experience[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.4rem;text-transform:uppercase;color:var(--primary-color, #0c0);text-shadow:0 0 5px rgba(0,255,0,.3);letter-spacing:1px}.duration[_ngcontent-%COMP%]{font-family:monospace;font-size:.95rem;opacity:.8;color:var(--primary-color, #0c0)}.place[_ngcontent-%COMP%]{margin-top:.5rem;font-style:italic;opacity:.9;color:var(--muted, #8a8)}.experience-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.missions[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;font-size:1.1rem;margin-bottom:1rem;text-decoration:underline;text-underline-offset:4px;color:var(--primary-color, #0c0)}.missions[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.missions[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:.3rem 0 .3rem 1.2rem;position:relative;color:var(--primary-color, #0c0);transition:color .2s,text-shadow .2s}.missions[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before, .projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:">";position:absolute;left:0;color:var(--secondary-color, #090);font-weight:700}.projects[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover, .missions[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{color:#fff;text-shadow:0 0 5px #fff}.projects[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:inherit;display:block}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#0000001a}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (max-width: 900px){.experience-body[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1.5rem}.header-top[_ngcontent-%COMP%]{flex-direction:column;gap:.2rem}}']})};var pE=[{path:"",component:Il},{path:"special",component:Ml},{path:"perks",component:Sl},{path:"project",component:Os},{path:"project/:id",component:Os},{path:"training",component:Hl},{path:"experience",component:Gl},{path:"contact",component:zl},{path:"caps",component:Ki}];var hE={providers:[vd(),np({eventCoalescing:!0}),rh(pE),Rp()]};var GA=()=>["/"],WA=()=>["/project"],qA=()=>["/training"],ZA=()=>["/experience"],YA=()=>["/contact"],Wl=class e{constructor(t){this.router=t;this.router.events.subscribe(n=>{n instanceof it&&(this.routeName=n.urlAfterRedirects.split("?")[0])})}routeName="";static \u0275fac=function(n){return new(n||e)(I($t))};static \u0275cmp=H({type:e,selectors:[["app-header"]],decls:18,vars:20,consts:[["id","nav-bar"],[1,""],["appSound","click",3,"routerLink"]],template:function(n,r){n&1&&(v(0,"header")(1,"nav")(2,"ul",0)(3,"li",1)(4,"a",2),C(5,"STAT"),g()(),v(6,"li",1)(7,"a",2),C(8,"PROJECTS"),g()(),v(9,"li",1)(10,"a",2),C(11,"TRAINING"),g()(),v(12,"li",1)(13,"a",2),C(14,"EXP"),g()(),v(15,"li",1)(16,"a",2),C(17,"CONTACT"),g()()()()()),n&2&&(y(4),qe(r.routeName=="/"||r.routeName=="/special"||r.routeName=="/perks"?"active-tab":""),T("routerLink",Ze(15,GA)),y(3),qe(r.routeName=="/project"?"active-tab":""),T("routerLink",Ze(16,WA)),y(3),qe(r.routeName=="/training"?"active-tab":""),T("routerLink",Ze(17,qA)),y(3),qe(r.routeName=="/experience"?"active-tab":""),T("routerLink",Ze(18,ZA)),y(3),qe(r.routeName=="/contact"?"active-tab":""),T("routerLink",Ze(19,YA)))},dependencies:[un,sr],styles:['a[_ngcontent-%COMP%]{text-decoration:none}ul[_ngcontent-%COMP%]{list-style-type:none;display:flex;list-style:none;justify-content:space-evenly;transition:color .3s ease}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{transition:border .5s ease;cursor:pointer}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{animation:colorPulse 5s infinite ease-in-out;background:none}.active-tab[_ngcontent-%COMP%]{animation:borderPulse 5s infinite ease-in-out;padding-left:1em;padding-right:1em;border-width:0px 4px 0px 4px;border-style:double;position:relative;font-weight:700}.active-tab[_ngcontent-%COMP%]:before, .active-tab[_ngcontent-%COMP%]:after{content:"";position:absolute;top:100%;height:2px;animation:backgroundPulse 5s infinite ease-in-out,heightBar .5s normal ease-in-out;width:100vw}.active-tab[_ngcontent-%COMP%]:before{right:100%}.active-tab[_ngcontent-%COMP%]:after{left:100%}']})};var QA=["canvas"],ks=class e{canvasRef;numberOfBars=120;refreshRate=50;barColor="#0f0";barSpacing=1;barWidthRatio=.8;useHue=!1;backgroundColor="rgba(0,0,0,0)";minBarHeight=4;fillWidth=!0;minFrequencyHz=20;maxFrequencyHz=2e4;width="100%";height="250px";analyser;dataArray;bufferLength=0;animationId=0;isDecaying=!1;decayPerFrame=.88;ngAfterViewInit(){this.resizeCanvas(),window.addEventListener("resize",this.resizeCanvasBound)}ngOnDestroy(){this.stop(),window.removeEventListener("resize",this.resizeCanvasBound)}attachAnalyser(t){this.analyser=t,this.bufferLength=this.analyser.frequencyBinCount,this.dataArray=new Uint8Array(this.bufferLength)}start(){this.analyser&&(this.isDecaying=!1,this.animationId&&cancelAnimationFrame(this.animationId),this.draw())}stop(){this.isDecaying=!0}draw(){let t=this.canvasRef?.nativeElement;if(!t||!this.analyser||!this.dataArray)return;let n=t.getContext("2d");if(!n)return;let r=window.devicePixelRatio||1,i=t.clientWidth||Math.floor(t.width/r),o=t.clientHeight||Math.floor(t.height/r),s=performance.now(),a=c=>{if(this.animationId=requestAnimationFrame(a),c-s0?Me:0}n.clearRect(0,0,i,o),n.fillStyle=this.backgroundColor,n.fillRect(0,0,i,o);let l=(this.analyser.context.sampleRate||48e3)/2,u=Math.max(0,Math.min(this.minFrequencyHz,l)),d=Math.max(u,Math.min(this.maxFrequencyHz,l)),p=Math.floor(u/l*(this.bufferLength-1)),f=Math.floor(d/l*(this.bufferLength-1)),h=Math.max(1,f-p+1),w=Math.max(1,Math.floor(h/this.numberOfBars)),b=Math.max(1,i-(this.numberOfBars-1)*this.barSpacing),_=Math.max(1,b/this.numberOfBars),X=this.fillWidth===!0,oe=X?i/this.numberOfBars:Math.max(1,_*this.barWidthRatio);for(let $=0;$this.resizeCanvas();resizeCanvas(){let t=this.canvasRef?.nativeElement;if(!t)return;let n=window.devicePixelRatio||1,r=t.clientWidth||800,i=t.clientHeight||200;t.width=Math.floor(r*n),t.height=Math.floor(i*n);let o=t.getContext("2d");o&&o.setTransform(n,0,0,n,0,0)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-waveform"]],viewQuery:function(n,r){if(n&1&&jo(QA,5),n&2){let i;Ii(i=Mi())&&(r.canvasRef=i.first)}},inputs:{numberOfBars:"numberOfBars",refreshRate:"refreshRate",barColor:"barColor",barSpacing:"barSpacing",barWidthRatio:"barWidthRatio",useHue:"useHue",backgroundColor:"backgroundColor",minBarHeight:"minBarHeight",fillWidth:"fillWidth",minFrequencyHz:"minFrequencyHz",maxFrequencyHz:"maxFrequencyHz",width:"width",height:"height"},decls:2,vars:4,consts:[["canvas",""],[1,"visualizer"]],template:function(n,r){n&1&&wi(0,"canvas",1,0),n&2&&on("width",r.width)("height",r.height)},encapsulation:2})};var ql=class e{constructor(t){this.apiService=t;this.apiService.getMusic().subscribe({next:n=>{this.playlist=n.data.musics.map(r=>({name:r.name.split(".")[0],url:this.backendUrl+r.url}))}}).add(()=>{console.log("Playlist loaded:",this.playlist)})}isPlaying=!1;currentTrack=null;playlist=[];backendUrl=_l.apiUrl;getRandomTrack(){return this.playlist[Math.floor(Math.random()*this.playlist.length)]}static \u0275fac=function(n){return new(n||e)(x(De))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})};var Zl=class e{constructor(t){this.musicPlayer=t;this.audio.crossOrigin="anonymous"}audio=new Audio;currentTrackName="";isPlaying=!1;audioCtx;analyser;source;waveform;numberOfBars=5;refreshRate=50;ngAfterViewInit(){this.audio.addEventListener("play",()=>console.log("audio play event, src=",this.audio.src)),this.audio.addEventListener("error",t=>console.error("audio element error",t)),this.audio.addEventListener("ended",()=>{this.changeTrack(),this.isPlaying=!0})}ngOnDestroy(){this.waveform?.stop(),this.audioCtx&&this.audioCtx.close().catch(()=>{})}play(){let t=this.musicPlayer.getRandomTrack();this.isPlaying=!0,this.audio.src=t.url,this.currentTrackName=t.name,this.audio.crossOrigin="anonymous",this.createAudioGraphIfNeeded();let n=this.audio.play();n!==void 0&&n.catch(i=>{console.warn("play() rejected:",i),this.audioCtx&&this.audioCtx.state==="suspended"&&this.audioCtx.resume().then(()=>this.audio.play()).catch(o=>console.error("resume+play failed",o))}),this.analyser&&this.waveform.attachAnalyser(this.analyser);let r=()=>this.waveform.start();this.audioCtx&&this.audioCtx.state==="suspended"?this.audioCtx.resume().then(r).catch(i=>console.error(i)):r()}stop(){this.audio.pause(),this.waveform?.stop(),this.isPlaying=!1,this.currentTrackName=""}changeTrack(){this.stop(),this.play()}createAudioGraphIfNeeded(){if(this.audioCtx||(this.audioCtx=new(window.AudioContext||window.webkitAudioContext),console.log("AudioContext created:",this.audioCtx.state)),!this.source){try{this.source=this.audioCtx.createMediaElementSource(this.audio)}catch(t){console.error("createMediaElementSource failed:",t)}this.analyser=this.audioCtx.createAnalyser(),this.analyser.fftSize=1024,this.source&&this.analyser&&(this.source.connect(this.analyser),this.analyser.connect(this.audioCtx.destination)),console.log("Analyser fftSize=",this.analyser.fftSize)}}static \u0275fac=function(n){return new(n||e)(I(ql))};static \u0275cmp=H({type:e,selectors:[["app-radio-player"]],viewQuery:function(n,r){if(n&1&&jo(ks,5),n&2){let i;Ii(i=Mi())&&(r.waveform=i.first)}},decls:16,vars:20,consts:[[1,"container-radio-player"],[1,"grid"],[1,"controls"],["appSound","click",1,"button-theme",3,"click","disabled"],["appSound","click",1,"button-theme",3,"click"],[1,"track-name"],[1,"crt-screen",2,"grid-column","1 / -1"],[3,"numberOfBars","refreshRate","barColor","barSpacing","barWidthRatio","useHue","backgroundColor","minBarHeight","fillWidth","minFrequencyHz","maxFrequencyHz","width","height"]],template:function(n,r){n&1&&(v(0,"div",0)(1,"h3"),C(2,"Terminal Radio"),g(),v(3,"div",1)(4,"div",2)(5,"button",3),K("click",function(){return r.play()}),C(6,"\u25B6 Play"),g(),v(7,"button",3),K("click",function(){return r.stop()}),C(8,"\u23F9 Stop"),g(),v(9,"button",4),K("click",function(){return r.changeTrack()}),C(10,"\u23ED Next"),g()(),v(11,"p",5),C(12),Ye(13,"slice"),g(),v(14,"div",6),O(15,"app-waveform",7),g()()()),n&2&&(y(5),T("disabled",r.isPlaying),y(2),T("disabled",!r.isPlaying),y(5),ue(" ",r.currentTrackName.length>40?Xf(13,16,r.currentTrackName,0,37)+"...":r.currentTrackName," "),y(3),T("numberOfBars",50)("refreshRate",50)("barColor","#0f0")("barSpacing",1)("barWidthRatio",.8)("useHue",!1)("backgroundColor","rgba(0,0,0,0)")("minBarHeight",4)("fillWidth",!0)("minFrequencyHz",20)("maxFrequencyHz",15e3)("width","100%")("height","200px"))},dependencies:[ks,sr,Cp],styles:[".containner-radio-player[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#1e1e1e}"]})};var Yl=class e{time="";intervalId;ngOnInit(){this.updateTime(),this.intervalId=setInterval(()=>this.updateTime(),1e3)}ngOnDestry(){this.intervalId&&clearInterval(this.intervalId)}updateTime(){let t=new Date;this.time=t.toLocaleTimeString()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-clock"]],decls:2,vars:1,consts:[[1,"container-clock"]],template:function(n,r){n&1&&(rn(0,"div",0),C(1),An()),n&2&&(y(),ue(" ",r.time,` +`))},styles:[".container-clock[_ngcontent-%COMP%]{text-align:center;font-size:3em}"]})};function JA(e,t){if(e&1){let n=Nn();v(0,"ul")(1,"li",3),K("click",function(){Ct(n);let i=re();return Et(i.toggleChild("radio-player"))}),O(2,"img",4),g(),v(3,"li",3),K("click",function(){Ct(n);let i=re();return Et(i.toggleChild("invader"))}),O(4,"img",5),g(),v(5,"li",3),K("click",function(){Ct(n);let i=re();return Et(i.toggleChild("clock"))}),O(6,"img",6),g()()}if(e&2){let n=re();qe(Nr("control-widget ",n.isEnabled?"":"hidden"))}}function XA(e,t){e&1&&O(0,"app-clock")}function eN(e,t){e&1&&O(0,"app-caps")}var Ql=class e{isEnabled=!0;activeChild="radio-player";toggleChild(t){this.activeChild=t}action(){this.isEnabled=!this.isEnabled;let t=document.querySelector(".container-widget");this.isEnabled?t.style.width="600px":t.style.width="35px"}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-widget"]],decls:9,vars:8,consts:[[1,"container-widget"],[1,"action-widget","button-theme",3,"click"],[3,"class"],[3,"click"],["src","/assets/icons/note_music.png","alt","",1,"filter-img",2,"width","2em"],["src","/assets/icons/invader.png","alt","",1,"filter-img",2,"width","2.1em"],["src","/assets/icons/clock.png","alt","",1,"filter-img",2,"width","2em"]],template:function(n,r){n&1&&(v(0,"div",0)(1,"button",1),K("click",function(){return r.action()}),C(2),g(),Tn(3,JA,7,3,"ul",2),v(4,"div")(5,"div"),O(6,"app-radio-player"),g(),Tn(7,XA,1,0,"app-clock")(8,eN,1,0,"app-caps"),g()()),n&2&&(y(2),ie(r.isEnabled?">":"<"),y(),xn(r.isEnabled?3:-1),y(),qe(Nr("children-widget scrollbar ",r.isEnabled?"":"hidden")),y(),qe(r.activeChild=="radio-player"?"":"hidden"),y(2),xn(r.isEnabled&&r.activeChild=="clock"?7:r.isEnabled&&r.activeChild=="invader"?8:-1))},dependencies:[Zl,Ki,Yl],styles:[".container-widget[_ngcontent-%COMP%]{position:fixed;right:0;bottom:0;border:2px solid var(--primary-color);display:flex;column-gap:.7em;background-color:#000;background-image:radial-gradient(#444,#111);box-shadow:0 0 5vmin 1vmin #000 inset;box-sizing:border-box;width:600px;height:350px;transition:height .4s cubic-bezier(.77,0,.175,1),width .4s cubic-bezier(.77,0,.175,1)}.action-widget[_ngcontent-%COMP%]{width:35px;border-radius:0;margin-right:0}.control-widget[_ngcontent-%COMP%]{padding-left:5px;list-style:none;display:flex;flex-direction:column;justify-content:space-evenly}.control-widget[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{cursor:pointer;width:auto}.children-widget[_ngcontent-%COMP%]{width:80%;display:flex;flex-direction:column;height:100%}.children-widget[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}"]})};var Kl=class e{title=bt("portfolio");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=H({type:e,selectors:[["app-root"]],decls:3,vars:0,template:function(n,r){n&1&&O(0,"app-header")(1,"router-outlet")(2,"app-widget")},dependencies:[Cs,Wl,Ql],encapsulation:2})};xp(Kl,hE).catch(e=>console.error(e)); diff --git a/polyfills-5CFQRCPP.js b/polyfills-5CFQRCPP.js new file mode 100644 index 0000000..b237b5e --- /dev/null +++ b/polyfills-5CFQRCPP.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===p)he&&E._transitionTo(d,A,p);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(p,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,p,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==p&&s._transitionTo(d,p),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,p)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),y=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[y]&&(L=ce[y].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var pe=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let y=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(y,T),y})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=pe(t,n);if(!e&&a&&pe(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),y=Ce[T];y||(y=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[y]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[y]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[y];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let y=a(g,T);return y.cbIdx>=0&&typeof T[y.cbIdx]=="function"?xe(y.name,T[y.cbIdx],y,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function yt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var pt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",y=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(p,d,A){if(p.isRemoved)return;let V=p.callback;typeof V=="object"&&V.handleEvent&&(p.callback=k=>V.handleEvent(k),p.originalDelegate=V);let X;try{p.invoke(p,d,[A])}catch(k){X=k}let F=p.options;if(F&&typeof F=="object"&&F.once){let k=p.originalDelegate?p.originalDelegate:p.callback;d[f].call(d,A.type,k,F)}return X};function H(p,d,A){if(d=d||t.event,!d)return;let V=p||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(p){return H(this,p,!1)},$=function(p){return H(this,p,!0)};function J(p,d){if(!p)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=p;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&p[c]&&(k=p),!k||k[y])return!1;let U=d&&d.eventNameToString,S={},R=k[y]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function y(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,y);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:p}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!p)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let y=0;yf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,y)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{ye("MutationObserver"),ye("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{ye("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{ye("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function p(R){let b=R.data,D=b.target;D[g]=!1,D[y]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,p,A);R&&R[y]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let y=n.PromiseRejectionEvent;if(y){let w=new y(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,y=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;y.length;){let h=y.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let p=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[p]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(p)&&o.hasOwnProperty(d)&&o[p]!==k)i(o),I(h,o[p],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[p]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[p]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[p]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[p]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[p]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,y,w){return y&&y.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=y.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(y.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,y,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=yt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=pe,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=ye,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/styles-YPTPQTOE.css b/styles-YPTPQTOE.css new file mode 100644 index 0000000..be577fb --- /dev/null +++ b/styles-YPTPQTOE.css @@ -0,0 +1 @@ +:root{--primary-color: #0c0;--secondary-color: #090;--tertiary-color: #060;--accent-color: rgb(231, 54, 10);--grey-color: #444;--dark-grey-color: #111}body{background-color:#000;margin:0;overflow:hidden;padding:0}.screen{animation:colorPulse 5s infinite ease-in-out;background-image:radial-gradient(var(--grey-color),var(--dark-grey-color));box-shadow:0 0 5vmin 1vmin #000 inset;box-sizing:border-box;font-family:Fira Mono,monospace;font-size:20px;height:100vh;overflow:hidden;padding:10vmin;width:100vw}.screen:before{animation:wave 10s infinite ease-in-out;content:"";height:20vh;left:0;opacity:.5;position:absolute;right:0;z-index:1}.screen:after{background-image:linear-gradient(transparent,transparent 3px,#222);background-size:4px 4px;content:"";inset:0;pointer-events:none;position:absolute;z-index:2}h1,h2,h3,h4,h5,h6,p,a{color:var(--primary-color);line-height:1.4;margin:0;position:relative;animation:colorPulse 5s infinite ease-in-out}h1,h2,h3,h4,h5,h6{font-weight:700;text-shadow:0 0 1px var(--primary-color)}a{text-decoration:none}p:last-child:after{animation:blink 1s infinite;content:"_"}.filter-img{filter:grayscale(100%) brightness(40%) sepia(100%) hue-rotate(50deg) saturate(1000%) contrast(.8)}.scrollbar{overflow-y:auto;overflow-x:hidden}.scrollbar::-webkit-scrollbar{width:12px}.scrollbar::-webkit-scrollbar-thumb{background-color:green;border-radius:6px}.tag{margin-left:1em;margin-right:1em;animation:none;padding:.3em .5em;cursor:pointer}.input-theme,select.input-theme,input.input-theme[type=text]{background:var(--dark-grey-color);color:var(--primary-color);border:2px solid var(--primary-color);border-radius:0;font-family:Fira Mono,monospace;padding:.5em 1em;margin-right:.5em;outline:none;transition:border-color .2s,box-shadow .2s}.input-theme:focus{border-color:var(--tertiary-color);box-shadow:0 0 12px var(--primary-color)}.button-theme{background:#222;color:inherit;border:2px solid var(--primary-color);font-family:Fira Mono,monospace;font-size:1.1em;padding:.2em;margin-right:.5em;cursor:pointer;transition:background .2s,border-color .2s}.button-theme:hover,.button-theme:focus{background:var(--primary-color);color:var(--dark-grey-color);border-color:var(--tertiary-color);box-shadow:0 0 16px var(--tertiary-color)}.button-theme>img{width:1.2em;vertical-align:middle}.button-theme:disabled,.button-theme[disabled]{background:var(--dark-grey-color);color:var(--grey-color);border-color:var(--grey-color);cursor:not-allowed;box-shadow:none}.button-accent{background-color:var(--accent-color);box-shadow:0 0 12px var(--accent-color)}.hidden{display:none}@keyframes colorPulse{0%,to{color:var(--primary-color)}48%,52%{color:#090}50%{color:#060}}@keyframes wave{0%{box-shadow:0 -10vh 20vh var(--primary-color);top:-100vh}48%,52%{box-shadow:0 -10vh 20vh #090}50%{box-shadow:0 -10vh 20vh #060}to{box-shadow:0 -10vh 20vh var(--primary-color);top:200vh}}@keyframes blink{50%{opacity:0}}@keyframes backgroundPulse{0%,to{background-color:#0c0}48%,52%{background-color:#090}50%{background-color:#060}}