From 6c152190e595b7bf1382519df24d4fd36323d3da Mon Sep 17 00:00:00 2001 From: cipchk Date: Sat, 23 Nov 2024 15:45:06 +0000 Subject: [PATCH] deploy: 06a40e23149658c352fcdcd61a97ee0752a150f0 --- 404.html | 4 +-- index.html | 4 +-- main-A5VAIROQ.js | 87 ------------------------------------------------ main-L33PEZ42.js | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 91 deletions(-) delete mode 100644 main-A5VAIROQ.js create mode 100644 main-L33PEZ42.js diff --git a/404.html b/404.html index cd44082..022815c 100644 --- a/404.html +++ b/404.html @@ -1,5 +1,5 @@ - + NgxTinymce @@ -17,5 +17,5 @@ Fork me on GitHub - + diff --git a/index.html b/index.html index cd44082..022815c 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + NgxTinymce @@ -17,5 +17,5 @@ Fork me on GitHub - + diff --git a/main-A5VAIROQ.js b/main-A5VAIROQ.js deleted file mode 100644 index 4f92420..0000000 --- a/main-A5VAIROQ.js +++ /dev/null @@ -1,87 +0,0 @@ -var Qg=Object.defineProperty,Kg=Object.defineProperties;var Jg=Object.getOwnPropertyDescriptors;var ll=Object.getOwnPropertySymbols;var Xg=Object.prototype.hasOwnProperty,em=Object.prototype.propertyIsEnumerable;var dl=(e,t,n)=>t in e?Qg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||={})Xg.call(t,n)&&dl(e,n,t[n]);if(ll)for(var n of ll(t))em.call(t,n)&&dl(e,n,t[n]);return e},N=(e,t)=>Kg(e,Jg(t));var wn=(e,t,n)=>new Promise((r,i)=>{var o=c=>{try{a(n.next(c))}catch(u){i(u)}},s=c=>{try{a(n.throw(c))}catch(u){i(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((n=n.apply(e,t)).next())});function fl(e,t){return Object.is(e,t)}var te=null,Ei=!1,Ii=1,tt=Symbol("SIGNAL");function L(e){let t=te;return te=e,t}function hl(){return te}var yr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Us(e){if(Ei)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let t=te.nextProducerIndex++;if(Si(te),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function $s(e){Si(e);for(let t=0;t0}function Si(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Dl(e){return e.producerNode!==void 0}function Cl(e){let t=Object.create(rm);t.computation=e;let n=()=>{if(pl(t),Us(t),t.value===bi)throw t.error;return t.value};return n[tt]=t,n}var Vs=Symbol("UNSET"),js=Symbol("COMPUTING"),bi=Symbol("ERRORED"),rm=N(p({},yr),{value:Vs,dirty:!0,error:null,equal:fl,producerMustRecompute(e){return e.value===Vs||e.value===js},producerRecomputeValue(e){if(e.value===js)throw new Error("Detected cycle in computations.");let t=e.value;e.value=js;let n=_i(e),r;try{r=e.computation()}catch(i){r=bi,e.error=i}finally{Bs(e,n)}if(t!==Vs&&t!==bi&&r!==bi&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function im(){throw new Error}var wl=im;function El(){wl()}function Il(e){wl=e}var om=null;function bl(e){let t=Object.create(Ml);t.value=e;let n=()=>(Us(t),t.value);return n[tt]=t,n}function zs(e,t){ml()||El(),e.equal(e.value,t)||(e.value=t,sm(e))}function _l(e,t){ml()||El(),zs(e,t(e.value))}var Ml=N(p({},yr),{equal:fl,value:void 0});function sm(e){e.version++,tm(),gl(e),om?.()}function M(e){return typeof e=="function"}function En(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 Ti=En(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 vr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=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(M(r))try{r()}catch(o){t=o instanceof Ti?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Sl(o)}catch(s){t=t??[],s instanceof Ti?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ti(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Sl(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)&&vr(n,t)}remove(t){let{_finalizers:n}=this;n&&vr(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var Gs=J.EMPTY;function xi(e){return e instanceof J||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function Sl(e){M(e)?e():e.unsubscribe()}var ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var In={setTimeout(e,t,...n){let{delegate:r}=In;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=In;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ai(e){In.setTimeout(()=>{let{onUnhandledError:t}=ke;if(t)t(e);else throw e})}function Dr(){}var Tl=Ws("C",void 0,void 0);function xl(e){return Ws("E",void 0,e)}function Al(e){return Ws("N",e,void 0)}function Ws(e,t,n){return{kind:e,value:t,error:n}}var qt=null;function bn(e){if(ke.useDeprecatedSynchronousErrorHandling){let t=!qt;if(t&&(qt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=qt;if(qt=null,n)throw r}}else e()}function Nl(e){ke.useDeprecatedSynchronousErrorHandling&&qt&&(qt.errorThrown=!0,qt.error=e)}var Zt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xi(t)&&t.add(this)):this.destination=um}static create(t,n,r){return new nt(t,n,r)}next(t){this.isStopped?Zs(Al(t),this):this._next(t)}error(t){this.isStopped?Zs(xl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Zs(Tl,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()}}},am=Function.prototype.bind;function qs(e,t){return am.call(e,t)}var Ys=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ni(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ni(r)}else Ni(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ni(n)}}},nt=class extends Zt{constructor(t,n,r){super();let i;if(M(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&ke.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&qs(t.next,o),error:t.error&&qs(t.error,o),complete:t.complete&&qs(t.complete,o)}):i=t}this.destination=new Ys(i)}};function Ni(e){ke.useDeprecatedSynchronousErrorHandling?Nl(e):Ai(e)}function cm(e){throw e}function Zs(e,t){let{onStoppedNotification:n}=ke;n&&In.setTimeout(()=>n(e,t))}var um={closed:!0,next:Dr,error:cm,complete:Dr};var _n=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ve(e){return e}function Cr(...e){return Qs(e)}function Qs(e){return e.length===0?ve:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var P=(()=>{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=dm(n)?n:new nt(n,r,i);return bn(()=>{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=Rl(r),new r((i,o)=>{let s=new nt({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)}[_n](){return this}pipe(...n){return Qs(n)(this)}toPromise(n){return n=Rl(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 Rl(e){var t;return(t=e??ke.Promise)!==null&&t!==void 0?t:Promise}function lm(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function dm(e){return e&&e instanceof Zt||lm(e)&&xi(e)}function Ks(e){return M(e?.lift)}function R(e){return t=>{if(Ks(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 O(e,t,n,r,i){return new Js(e,t,n,r,i)}var Js=class extends Zt{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 Mn(){return R((e,t)=>{let n=null;e._refCount++;let r=O(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 Sn=class extends P{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ks(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 J;let n=this.getSubject();t.add(this.source.subscribe(O(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=J.EMPTY)}return t}refCount(){return Mn()(this)}};var Ol=En(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ri(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ol}next(n){bn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){bn(()=>{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(){bn(()=>{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?Gs:(this.currentObservers=null,o.push(n),new J(()=>{this.currentObservers=null,vr(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new Ri(t,n),e})(),Ri=class extends X{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:Gs}};var ne=class extends X{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 De=new P(e=>e.complete());function Fl(e){return e&&M(e.schedule)}function Pl(e){return e[e.length-1]}function Oi(e){return M(Pl(e))?e.pop():void 0}function Ct(e){return Fl(Pl(e))?e.pop():void 0}function Ll(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?o(l.value):i(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function kl(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 Yt(e){return this instanceof Yt?(this.v=e,this):new Yt(e)}function Vl(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(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(i[f]=function(y){return new Promise(function(v,I){o.push([f,y,v,I])>1||c(f,y)})},m&&(i[f]=m(i[f])))}function c(f,m){try{u(r[f](m))}catch(y){h(o[0][3],y)}}function u(f){f.value instanceof Yt?Promise.resolve(f.value.v).then(l,d):h(o[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),o.shift(),o.length&&c(o[0][0],o[0][1])}}function jl(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 kl=="function"?kl(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(u){o({value:u,done:a})},s)}}var Fi=e=>e&&typeof e.length=="number"&&typeof e!="function";function Pi(e){return M(e?.then)}function ki(e){return M(e[_n])}function Li(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Vi(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 fm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ji=fm();function Ui(e){return M(e?.[ji])}function Bi(e){return Vl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield Yt(n.read());if(i)return yield Yt(void 0);yield yield Yt(r)}}finally{n.releaseLock()}})}function $i(e){return M(e?.getReader)}function W(e){if(e instanceof P)return e;if(e!=null){if(ki(e))return hm(e);if(Fi(e))return pm(e);if(Pi(e))return gm(e);if(Li(e))return Ul(e);if(Ui(e))return mm(e);if($i(e))return ym(e)}throw Vi(e)}function hm(e){return new P(t=>{let n=e[_n]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function pm(e){return new P(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ai)})}function mm(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ul(e){return new P(t=>{vm(e,t).catch(n=>t.error(n))})}function ym(e){return Ul(Bi(e))}function vm(e,t){var n,r,i,o;return Ll(this,void 0,void 0,function*(){try{for(n=jl(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 pe(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 Hi(e,t=0){return R((n,r)=>{n.subscribe(O(r,i=>pe(r,e,()=>r.next(i),t),()=>pe(r,e,()=>r.complete(),t),i=>pe(r,e,()=>r.error(i),t)))})}function zi(e,t=0){return R((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Bl(e,t){return W(e).pipe(zi(t),Hi(t))}function $l(e,t){return W(e).pipe(zi(t),Hi(t))}function Hl(e,t){return new P(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function zl(e,t){return new P(n=>{let r;return pe(n,t,()=>{r=e[ji](),pe(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)}),()=>M(r?.return)&&r.return()})}function Gi(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Gl(e,t){return Gi(Bi(e),t)}function Wl(e,t){if(e!=null){if(ki(e))return Bl(e,t);if(Fi(e))return Hl(e,t);if(Pi(e))return $l(e,t);if(Li(e))return Gi(e,t);if(Ui(e))return zl(e,t);if($i(e))return Gl(e,t)}throw Vi(e)}function q(e,t){return t?Wl(e,t):W(e)}function b(...e){let t=Ct(e);return q(e,t)}function Tn(e,t){let n=M(e)?e:()=>e,r=i=>i.error(n());return new P(t?i=>t.schedule(r,0,i):r)}function Xs(e){return!!e&&(e instanceof P||M(e.lift)&&M(e.subscribe))}var rt=En(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function S(e,t){return R((n,r)=>{let i=0;n.subscribe(O(r,o=>{r.next(e.call(t,o,i++))}))})}var{isArray:Dm}=Array;function Cm(e,t){return Dm(t)?e(...t):e(t)}function Wi(e){return S(t=>Cm(e,t))}var{isArray:wm}=Array,{getPrototypeOf:Em,prototype:Im,keys:bm}=Object;function qi(e){if(e.length===1){let t=e[0];if(wm(t))return{args:t,keys:null};if(_m(t)){let n=bm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _m(e){return e&&typeof e=="object"&&Em(e)===Im}function Zi(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function Yi(...e){let t=Ct(e),n=Oi(e),{args:r,keys:i}=qi(e);if(r.length===0)return q([],t);let o=new P(Mm(r,t,i?s=>Zi(i,s):ve));return n?o.pipe(Wi(n)):o}function Mm(e,t,n=ve){return r=>{ql(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let c=0;c{let u=q(e[c],t),l=!1;u.subscribe(O(r,d=>{o[c]=d,l||(l=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ql(e,t,n){e?pe(n,e,t):t()}function Zl(e,t,n,r,i,o,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u{o&&t.next(y),u++;let v=!1;W(n(y,l++)).subscribe(O(t,I=>{i?.(I),o?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&um(I)):m(I)}h()}catch(I){t.error(I)}}))};return e.subscribe(O(t,f,()=>{d=!0,h()})),()=>{a?.()}}function re(e,t,n=1/0){return M(t)?re((r,i)=>S((o,s)=>t(r,o,i,s))(W(e(r,i))),n):(typeof t=="number"&&(n=t),R((r,i)=>Zl(r,i,e,n)))}function ea(e=1/0){return re(ve,e)}function Yl(){return ea(1)}function xn(...e){return Yl()(q(e,Ct(e)))}function Qi(e){return new P(t=>{W(e()).subscribe(t)})}function ta(...e){let t=Oi(e),{args:n,keys:r}=qi(e),i=new P(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||o.next(r?Zi(r,a):a),o.complete())}))}});return t?i.pipe(Wi(t)):i}function ae(e,t){return R((n,r)=>{let i=0;n.subscribe(O(r,o=>e.call(t,o,i++)&&r.next(o)))})}function wt(e){return R((t,n)=>{let r=null,i=!1,o;r=t.subscribe(O(n,void 0,void 0,s=>{o=W(e(s,wt(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function Ql(e,t,n,r,i){return(o,s)=>{let a=n,c=t,u=0;o.subscribe(O(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Et(e,t){return M(t)?re(e,t,1):re(e,1)}function It(e){return R((t,n)=>{let r=!1;t.subscribe(O(n,i=>{r=!0,n.next(i)},()=>{r||n.next(e),n.complete()}))})}function it(e){return e<=0?()=>De:R((t,n)=>{let r=0;t.subscribe(O(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function na(e){return S(()=>e)}function Ki(e=Sm){return R((t,n)=>{let r=!1;t.subscribe(O(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(e())))})}function Sm(){return new rt}function Qt(e){return R((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ze(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((i,o)=>e(i,o,r)):ve,it(1),n?It(t):Ki(()=>new rt))}function An(e){return e<=0?()=>De:R((t,n)=>{let r=[];t.subscribe(O(n,i=>{r.push(i),e{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function ra(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((i,o)=>e(i,o,r)):ve,An(1),n?It(t):Ki(()=>new rt))}function ia(e,t){return R(Ql(e,t,arguments.length>=2,!0))}function sa(e={}){let{connector:t=()=>new X,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},m=()=>{let y=s;f(),y?.unsubscribe()};return R((y,v)=>{u++,!d&&!l&&h();let I=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=oa(m,i))}),I.subscribe(v),!s&&u>0&&(s=new nt({next:z=>I.next(z),error:z=>{d=!0,h(),a=oa(f,n,z),I.error(z)},complete:()=>{l=!0,h(),a=oa(f,r),I.complete()}}),W(y).subscribe(s))})(o)}}function oa(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new nt({next:()=>{r.unsubscribe(),e()}});return W(t(...n)).subscribe(r)}function aa(...e){let t=Ct(e);return R((n,r)=>{(t?xn(e,n,t):xn(e,n)).subscribe(r)})}function Ce(e,t){return R((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(O(r,c=>{i?.unsubscribe();let u=0,l=o++;W(e(c,l)).subscribe(i=O(r,d=>r.next(t?t(c,d,l,u++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function ca(e){return R((t,n)=>{W(e).subscribe(O(n,()=>n.complete(),Dr)),!n.closed&&t.subscribe(n)})}function ie(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?R((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(O(o,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),o.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ve}var Vd="https://g.co/ng/security#xss",C=class extends Error{constructor(t,n){super(No(t,n)),this.code=t}};function No(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Ro(e){return{toString:e}.toString()}var br=globalThis;function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function Tm(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Kl(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var xm=$({__forward_ref__:$});function sn(e){return e.__forward_ref__=sn,e.toString=function(){return de(this())},e}function le(e){return jd(e)?e():e}function jd(e){return typeof e=="function"&&e.hasOwnProperty(xm)&&e.__forward_ref__===sn}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Oo(e){return Jl(e,Bd)||Jl(e,$d)}function Ud(e){return Oo(e)!==null}function Jl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Am(e){let t=e&&(e[Bd]||e[$d]);return t||null}function Xl(e){return e&&(e.hasOwnProperty(ed)||e.hasOwnProperty(Nm))?e[ed]:null}var Bd=$({\u0275prov:$}),ed=$({\u0275inj:$}),$d=$({ngInjectableDef:$}),Nm=$({ngInjectorDef:$}),w=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Hd(e){return e&&!!e.\u0275providers}var Rm=$({\u0275cmp:$}),Om=$({\u0275dir:$}),Fm=$({\u0275pipe:$}),Pm=$({\u0275mod:$}),uo=$({\u0275fac:$}),Ir=$({__NG_ELEMENT_ID__:$}),td=$({__NG_ENV_ID__:$});function Or(e){return typeof e=="string"?e:e==null?"":String(e)}function km(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Or(e)}function Lm(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function pc(e,t){throw new C(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),Ea;function zd(){return Ea}function _e(e){let t=Ea;return Ea=e,t}function Gd(e,t,n){let r=Oo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(t!==void 0)return t;pc(e,"Injector")}var Vm={},_r=Vm,jm="__NG_DI_FLAG__",lo="ngTempTokenPath",Um="ngTokenPath",Bm=/\n/gm,$m="\u0275",nd="__source",Fn;function Hm(){return Fn}function bt(e){let t=Fn;return Fn=e,t}function zm(e,t=A.Default){if(Fn===void 0)throw new C(-203,!1);return Fn===null?Gd(e,void 0,t):Fn.get(e,t&A.Optional?null:void 0,t)}function E(e,t=A.Default){return(zd()||zm)(le(e),t)}function g(e,t=A.Default){return E(e,Fo(t))}function Fo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ia(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):de(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Bm,` - `)}`}function kn(e,t){let n=e.hasOwnProperty(uo);return n?e[uo]:null}function gc(e,t){e.forEach(n=>Array.isArray(n)?gc(n,t):t(n))}function Wd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zm(e,t){let n=[];for(let r=0;rt;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function Qm(e,t,n){let r=Fr(e,t);return r>=0?e[r|1]=n:(r=~r,Ym(e,r,t,n)),r}function ua(e,t){let n=Fr(e,t);if(n>=0)return e[n|1]}function Fr(e,t){return Km(e,t,1)}function Km(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<t){s=o-1;break}}}for(;o-1){let o;for(;++io?d="":d=i[l+1].toLowerCase(),r&2&&u!==d){if(Le(r))return!1;s=!0}}}}return Le(r)||s}function Le(e){return(e&1)===0}function ry(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!==""&&!Le(s)&&(t+=id(o,i),i=""),r=s,o=o||!Le(r);n++}return i!==""&&(t+=id(o,i)),t}function uy(e){return e.map(cy).join(",")}function ly(e){let t=[],n=[],r=1,i=2;for(;r{let t=rf(e),n=N(p({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qe.Emulated,styles:e.styles||Me,_:null,schemas:e.schemas||null,tView:null,id:""});of(n);let r=e.dependencies;return n.directiveDefs=sd(r,!1),n.pipeDefs=sd(r,!0),n.id=hy(n),n})}function dy(e){return Jt(e)||Xd(e)}function fy(e){return e!==null}function Ot(e){return Ro(()=>({type:e.type,bootstrap:e.bootstrap||Me,declarations:e.declarations||Me,imports:e.imports||Me,exports:e.exports||Me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function od(e,t){if(e==null)return Ln;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a=St.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),t?(n[o]=a!==St.None?[r,a]:r,t[o]=s):n[o]=r}return n}function we(e){return Ro(()=>{let t=rf(e);return of(t),t})}function Jt(e){return e[Rm]||null}function Xd(e){return e[Om]||null}function ef(e){return e[Fm]||null}function tf(e){let t=Jt(e)||Xd(e)||ef(e);return t!==null?t.standalone:!1}function nf(e,t){let n=e[Pm]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function rf(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,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:od(e.inputs,t),outputs:od(e.outputs),debugInfo:null}}function of(e){e.features?.forEach(t=>t(e))}function sd(e,t){if(!e)return null;let n=t?ef:dy;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(fy)}function hy(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function an(e){return{\u0275providers:e}}function py(...e){return{\u0275providers:sf(!0,e),\u0275fromNgModule:!0}}function sf(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return gc(t,s=>{let a=s;_a(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&af(i,o),n}function af(e,t){for(let n=0;n{t(o,r)})}}function _a(e,t,n,r){if(e=le(e),!e)return!1;let i=null,o=Xl(e),s=!o&&Jt(e);if(!o&&!s){let c=e.ngModule;if(o=Xl(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 u of c)_a(u,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;try{gc(o.imports,l=>{_a(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&af(u,t)}if(!a){let u=kn(i)||(()=>new i);t({provide:i,useFactory:u,deps:Me},i),t({provide:Zd,useValue:i,multi:!0},i),t({provide:Vn,useValue:()=>E(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let u=e;yc(c,l=>{t(l,u)})}}else return!1;return i!==e&&e.providers!==void 0}function yc(e,t){for(let n of e)Hd(n)&&(n=n.\u0275providers),Array.isArray(n)?yc(n,t):t(n)}var gy=$({provide:String,useValue:$});function cf(e){return e!==null&&typeof e=="object"&&gy in e}function my(e){return!!(e&&e.useExisting)}function yy(e){return!!(e&&e.useFactory)}function jn(e){return typeof e=="function"}function vy(e){return!!e.useClass}var Po=new w(""),io={},Dy={},la;function vc(){return la===void 0&&(la=new ho),la}var ge=class{},Sr=class extends ge{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sa(t,s=>this.processProvider(s)),this.records.set(qd,Nn(void 0,this)),i.has("environment")&&this.records.set(ge,Nn(void 0,this));let o=this.records.get(Po);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Zd,Me,A.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=L(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(),L(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=bt(this),r=_e(void 0),i;try{return t()}finally{bt(n),_e(r)}}get(t,n=_r,r=A.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(td))return t[td](this);r=Fo(r);let i,o=bt(this),s=_e(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=by(t)&&Oo(t);u&&this.injectableDefInScope(u)?c=Nn(Ma(t),io):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&A.Self?vc():this.parent;return n=r&A.Optional&&n===_r?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[lo]=a[lo]||[]).unshift(de(t)),o)throw a;return Wm(a,t,"R3InjectorError",this.source)}else throw a}finally{_e(s),bt(o)}}resolveInjectorInitializers(){let t=L(null),n=bt(this),r=_e(void 0),i;try{let o=this.get(Vn,Me,A.Self);for(let s of o)s()}finally{bt(n),_e(r),L(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){t=le(t);let n=jn(t)?t:le(t&&t.provide),r=wy(t);if(!jn(t)&&t.multi===!0){let i=this.records.get(n);i||(i=Nn(void 0,io,!0),i.factory=()=>Ia(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=L(null);try{return n.value===io&&(n.value=Dy,n.value=n.factory()),typeof n.value=="object"&&n.value&&Iy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{L(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=le(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 Ma(e){let t=Oo(e),n=t!==null?t.factory:kn(e);if(n!==null)return n;if(e instanceof w)throw new C(204,!1);if(e instanceof Function)return Cy(e);throw new C(204,!1)}function Cy(e){if(e.length>0)throw new C(204,!1);let n=Am(e);return n!==null?()=>n.factory(e):()=>new e}function wy(e){if(cf(e))return Nn(void 0,e.useValue);{let t=uf(e);return Nn(t,io)}}function uf(e,t,n){let r;if(jn(e)){let i=le(e);return kn(i)||Ma(i)}else if(cf(e))r=()=>le(e.useValue);else if(yy(e))r=()=>e.useFactory(...Ia(e.deps||[]));else if(my(e))r=()=>E(le(e.useExisting));else{let i=le(e&&(e.useClass||e.provide));if(Ey(e))r=()=>new i(...Ia(e.deps));else return kn(i)||Ma(i)}return r}function Nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ey(e){return!!e.deps}function Iy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function by(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Sa(e,t){for(let n of e)Array.isArray(n)?Sa(n,t):n&&Hd(n)?Sa(n.\u0275providers,t):t(n)}function Ue(e,t){e instanceof Sr&&e.assertNotDestroyed();let n,r=bt(e),i=_e(void 0);try{return t()}finally{bt(r),_e(i)}}function _y(){return zd()!==void 0||Hm()!=null}function My(e){return typeof e=="function"}var ct=0,F=1,_=2,fe=3,Ve=4,me=5,Tr=6,po=7,Ze=8,Un=9,Ye=10,Q=11,xr=12,ad=13,Yn=14,xe=15,Bn=16,Rn=17,$n=18,ko=19,lf=20,_t=21,da=22,Se=23,je=25,df=1;var Xt=7,go=8,mo=9,Te=10,yo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(yo||{});function Mt(e){return Array.isArray(e)&&typeof e[df]=="object"}function ut(e){return Array.isArray(e)&&e[df]===!0}function Dc(e){return(e.flags&4)!==0}function Lo(e){return e.componentOffset>-1}function Vo(e){return(e.flags&1)===1}function Tt(e){return!!e.template}function Ta(e){return(e[_]&512)!==0}var xa=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ff(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function lt(){return hf}function hf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ty),Sy}lt.ngInherit=!0;function Sy(){let e=gf(this),t=e?.current;if(t){let n=e.previous;if(n===Ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ty(e,t,n,r,i){let o=this.declaredInputs[r],s=gf(e)||xy(e,{previous:Ln,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new xa(u&&u.currentValue,n,c===Ln),ff(e,t,i,n)}var pf="__ngSimpleChanges__";function gf(e){return e[pf]||null}function xy(e,t){return e[pf]=t}var cd=null;var Ge=function(e,t,n){cd?.(e,t,n)},Ay="svg",Ny="math";function Qe(e){for(;Array.isArray(e);)e=e[ct];return e}function mf(e,t){return Qe(t[e])}function Ne(e,t){return Qe(t[e.index])}function yf(e,t){return e.data[t]}function Ft(e,t){let n=t[e];return Mt(n)?n:n[ct]}function Cc(e){return(e[_]&128)===128}function Ry(e){return ut(e[fe])}function Hn(e,t){return t==null?null:e[t]}function vf(e){e[Rn]=0}function Df(e){e[_]&1024||(e[_]|=1024,Cc(e)&&Uo(e))}function Oy(e,t){for(;e>0;)t=t[Yn],e--;return t}function jo(e){return!!(e[_]&9216||e[Se]?.dirty)}function Aa(e){e[Ye].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),jo(e)&&Uo(e)}function Uo(e){e[Ye].changeDetectionScheduler?.notify(0);let t=en(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Cc(t)));)t=en(t)}function Cf(e,t){if((e[_]&256)===256)throw new C(911,!1);e[_t]===null&&(e[_t]=[]),e[_t].push(t)}function Fy(e,t){if(e[_t]===null)return;let n=e[_t].indexOf(t);n!==-1&&e[_t].splice(n,1)}function en(e){let t=e[fe];return ut(t)?t[fe]:t}var k={lFrame:xf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wf=!1;function Py(){return k.lFrame.elementDepthCount}function ky(){k.lFrame.elementDepthCount++}function Ly(){k.lFrame.elementDepthCount--}function Ef(){return k.bindingsEnabled}function If(){return k.skipHydrationRootTNode!==null}function Vy(e){return k.skipHydrationRootTNode===e}function jy(){k.skipHydrationRootTNode=null}function H(){return k.lFrame.lView}function ce(){return k.lFrame.tView}function ue(){let e=bf();for(;e!==null&&e.type===64;)e=e.parent;return e}function bf(){return k.lFrame.currentTNode}function Uy(){let e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function cn(e,t){let n=k.lFrame;n.currentTNode=e,n.isParent=t}function wc(){return k.lFrame.isParent}function Ec(){k.lFrame.isParent=!1}function _f(){return wf}function ud(e){wf=e}function By(e){return k.lFrame.bindingIndex=e}function Bo(){return k.lFrame.bindingIndex++}function $y(e){let t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Hy(){return k.lFrame.inI18n}function zy(e,t){let n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Na(t)}function Gy(){return k.lFrame.currentDirectiveIndex}function Na(e){k.lFrame.currentDirectiveIndex=e}function Wy(e){let t=k.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Mf(e){k.lFrame.currentQueryIndex=e}function qy(e){let t=e[F];return t.type===2?t.declTNode:t.type===1?e[me]:null}function Sf(e,t,n){if(n&A.SkipSelf){let i=t,o=e;for(;i=i.parent,i===null&&!(n&A.Host);)if(i=qy(o),i===null||(o=o[Yn],i.type&10))break;if(i===null)return!1;t=i,e=o}let r=k.lFrame=Tf();return r.currentTNode=t,r.lView=e,!0}function Ic(e){let t=Tf(),n=e[F];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tf(){let e=k.lFrame,t=e===null?null:e.child;return t===null?xf(e):t}function xf(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 Af(){let e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Nf=Af;function bc(){let e=Af();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 Zy(e){return(k.lFrame.contextLView=Oy(e,k.lFrame.contextLView))[Ze]}function Qn(){return k.lFrame.selectedIndex}function tn(e){k.lFrame.selectedIndex=e}function _c(){let e=k.lFrame;return yf(e.tView,e.selectedIndex)}function Yy(){return k.lFrame.currentNamespace}var Rf=!0;function $o(){return Rf}function Ho(e){Rf=e}function Qy(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=hf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}function zo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Rn]+=65536),(a>14>16&&(e[_]&3)===t&&(e[_]+=16384,ld(a,o)):ld(a,o)}var Pn=-1,nn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Jy(e){return e instanceof nn}function Xy(e){return(e.flags&8)!==0}function ev(e){return(e.flags&16)!==0}var ha={},Ra=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Fo(r);let i=this.injector.get(t,ha,r);return i!==ha||n===ha?i:this.parentInjector.get(t,n,r)}};function Ff(e){return e!==Pn}function vo(e){return e&32767}function tv(e){return e>>16}function Do(e,t){let n=tv(e),r=t;for(;n>0;)r=r[Yn],n--;return r}var Oa=!0;function dd(e){let t=Oa;return Oa=e,t}var nv=256,Pf=nv-1,kf=5,rv=0,We={};function iv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ir)&&(r=n[Ir]),r==null&&(r=n[Ir]=rv++);let i=r&Pf,o=1<>kf)]|=o}function Co(e,t){let n=Lf(e,t);if(n!==-1)return n;let r=t[F];r.firstCreatePass&&(e.injectorIndex=t.length,pa(r.data,e),pa(t,null),pa(r.blueprint,null));let i=Mc(e,t),o=e.injectorIndex;if(Ff(i)){let s=vo(i),a=Do(i,t),c=a[F].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|c[s+u]}return t[o+8]=i,o}function pa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Lf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Mc(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=$f(i),r===null)return Pn;if(n++,i=i[Yn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Pn}function Fa(e,t,n){iv(e,t,n)}function ov(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+l,h=i?a+l:u;for(let f=d;f=c&&m.type===n)return f}if(i){let f=s[c];if(f&&Tt(f)&&f.type===n)return c}return null}function zn(e,t,n,r){let i=e[n],o=t.data;if(Jy(i)){let s=i;s.resolving&&Lm(km(o[n]));let a=dd(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?_e(s.injectImpl):null,l=Sf(e,r,A.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&Qy(n,o[n],t)}finally{u!==null&&_e(u),dd(a),s.resolving=!1,Nf()}}return i}function cv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ir)?e[Ir]:void 0;return typeof t=="number"?t>=0?t&Pf:uv:t}function fd(e,t,n){let r=1<>kf)]&r)}function hd(e,t){return!(e&A.Self)&&!(e&A.Host&&t)}var Kt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Uf(this._tNode,this._lView,t,Fo(r),n)}};function uv(){return new Kt(ue(),H())}function Pr(e){return Ro(()=>{let t=e.prototype.constructor,n=t[uo]||Pa(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[uo]||Pa(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Pa(e){return jd(e)?()=>{let t=Pa(le(e));return t&&t()}:kn(e)}function lv(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=Bf(o,s,n,r|A.Self,We);if(a!==We)return a;let c=o.parent;if(!c){let u=s[lf];if(u){let l=u.get(n,We,r);if(l!==We)return l}c=$f(s),s=s[Yn]}o=c}return i}function $f(e){let t=e[F],n=t.type;return n===2?t.declTNode:n===1?e[me]:null}function Sc(e){return ov(ue(),e)}function pd(e,t=null,n=null,r){let i=Hf(e,t,n,r);return i.resolveInjectorInitializers(),i}function Hf(e,t=null,n=null,r,i=new Set){let o=[n||Me,py(e)];return r=r||(typeof e=="object"?void 0:de(e)),new Sr(o,t||vc(),r||null,i)}var xt=class e{static{this.THROW_IF_NOT_FOUND=_r}static{this.NULL=new ho}static create(t,n){if(Array.isArray(t))return pd({name:""},n,t,"");{let r=t.name??"";return pd({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=D({token:e,providedIn:"any",factory:()=>E(qd)})}static{this.__NG_ELEMENT_ID__=-1}};var dv=new w("");dv.__NG_ELEMENT_ID__=e=>{let t=ue();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&A.Optional)return null;throw new C(204,!1)};var fv="ngOriginalError";function ga(e){return e[fv]}var zf=!0,Gf=(()=>{class e{static{this.__NG_ELEMENT_ID__=hv}static{this.__NG_ENV_ID__=n=>n}}return e})(),ka=class extends Gf{constructor(t){super(),this._lView=t}onDestroy(t){return Cf(this._lView,t),()=>Fy(this._lView,t)}};function hv(){return new ka(H())}var Pt=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ne(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})();var La=class extends X{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_y()&&(this.destroyRef=g(Gf,{optional:!0})??void 0,this.pendingTasks=g(Pt,{optional:!0})??void 0)}emit(t){let n=L(null);try{super.next(t)}finally{L(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),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 J&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Y=La;function wo(...e){}function Wf(e){let t,n;function r(){e=wo;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 gd(e){return queueMicrotask(()=>e()),()=>{e=wo}}var Tc="isAngularZone",Eo=Tc+"_ID",pv=0,G=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=zf}=t;if(typeof Zone>"u")throw new C(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,yv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,gv,wo,wo);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)}},gv={};function xc(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 mv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Wf(()=>{e.callbackScheduled=!1,Va(e),e.isCheckStableRunning=!0,xc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Va(e)}function yv(e){let t=()=>{mv(e)},n=pv++;e._inner=e._inner.fork({name:"angular",properties:{[Tc]:!0,[Eo]:n,[Eo+n]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(vv(c))return r.invokeTask(o,s,a,c);try{return md(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),yd(e)}},onInvoke:(r,i,o,s,a,c,u)=>{try{return md(e),r.invoke(o,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Dv(c)&&t(),yd(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Va(e),xc(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 Va(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function md(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yd(e){e._nesting--,xc(e)}var ja=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y,this.onMicrotaskEmpty=new Y,this.onStable=new Y,this.onError=new Y}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 vv(e){return qf(e,"__ignore_ng_zone__")}function Dv(e){return qf(e,"__scheduler_tick__")}function qf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ga(t);for(;n&&ga(n);)n=ga(n);return n||null}},Cv=new w("",{providedIn:"root",factory:()=>{let e=g(G),t=g(ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function wv(){return Go(ue(),H())}function Go(e,t){return new Ke(Ne(e,t))}var Ke=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=wv}}return e})();function Zf(e){return(e.flags&128)===128}var Yf=new Map,Ev=0;function Iv(){return Ev++}function bv(e){Yf.set(e[ko],e)}function Ua(e){Yf.delete(e[ko])}var vd="__ngContext__";function At(e,t){Mt(t)?(e[vd]=t[ko],bv(t)):e[vd]=t}function Qf(e){return Jf(e[xr])}function Kf(e){return Jf(e[Ve])}function Jf(e){for(;e!==null&&!ut(e);)e=e[Ve];return e}var Ba;function Xf(e){Ba=e}function eh(){if(Ba!==void 0)return Ba;if(typeof document<"u")return document;throw new C(210,!1)}var Ac=new w("",{providedIn:"root",factory:()=>_v}),_v="ng",Nc=new w(""),kt=new w("",{providedIn:"platform",factory:()=>"unknown"});var Rc=new w("",{providedIn:"root",factory:()=>eh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Mv="h",Sv="b";var Tv=()=>null;function Oc(e,t,n=!1){return Tv(e,t,n)}var th=!1,xv=new w("",{providedIn:"root",factory:()=>th});var Ji;function Av(){if(Ji===void 0&&(Ji=null,br.trustedTypes))try{Ji=br.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ji}function Wo(e){return Av()?.createHTML(e)||e}var Xi;function nh(){if(Xi===void 0&&(Xi=null,br.trustedTypes))try{Xi=br.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xi}function Dd(e){return nh()?.createHTML(e)||e}function Cd(e){return nh()?.createScriptURL(e)||e}var st=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vd})`}},$a=class extends st{getTypeName(){return"HTML"}},Ha=class extends st{getTypeName(){return"Style"}},za=class extends st{getTypeName(){return"Script"}},Ga=class extends st{getTypeName(){return"URL"}},Wa=class extends st{getTypeName(){return"ResourceURL"}};function Be(e){return e instanceof st?e.changingThisBreaksApplicationSecurity:e}function dt(e,t){let n=Nv(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Vd})`)}return n===t}function Nv(e){return e instanceof st&&e.getTypeName()||null}function rh(e){return new $a(e)}function ih(e){return new Ha(e)}function oh(e){return new za(e)}function sh(e){return new Ga(e)}function ah(e){return new Wa(e)}function Rv(e){let t=new Za(e);return Ov()?new qa(t):t}var qa=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Wo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Za=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Wo(t),n}};function Ov(){try{return!!new window.DOMParser().parseFromString(Wo(""),"text/html")}catch{return!1}}var Fv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qo(e){return e=String(e),e.match(Fv)?e:"unsafe:"+e}function ft(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function kr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ch=ft("area,br,col,hr,img,wbr"),uh=ft("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lh=ft("rp,rt"),Pv=kr(lh,uh),kv=kr(uh,ft("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")),Lv=kr(lh,ft("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")),wd=kr(ch,kv,Lv,Pv),dh=ft("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vv=ft("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"),jv=ft("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"),Uv=kr(dh,Vv,jv),Bv=ft("script,style,template"),Ya=class{constructor(){this.sanitizedSomething=!1,this.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=zv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=Hv(n);if(o){n=o;break}n=i.pop()}}return this.buf.join("")}startElement(t){let n=Ed(t).toLowerCase();if(!wd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Bv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let i=0;i"),!0}endElement(t){let n=Ed(t).toLowerCase();wd.hasOwnProperty(n)&&!ch.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Id(t))}};function $v(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Hv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw fh(t);return t}function zv(e){let t=e.firstChild;if(t&&$v(e,t))throw fh(t);return t}function Ed(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function fh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wv=/([^\#-~ |!])/g;function Id(e){return e.replace(/&/g,"&").replace(Gv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Wv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var eo;function Fc(e,t){let n=null;try{eo=eo||Rv(e);let r=t?String(t):"";n=eo.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=eo.getInertBodyElement(r)}while(r!==o);let a=new Ya().sanitizeChildren(bd(n)||n);return Wo(a)}finally{if(n){let r=bd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function bd(e){return"content"in e&&qv(e)?e.content:null}function qv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var $e=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}($e||{});function Zo(e){let t=Pc();return t?Dd(t.sanitize($e.HTML,e)||""):dt(e,"HTML")?Dd(Be(e)):Fc(eh(),Or(e))}function Zv(e){let t=Pc();return t?t.sanitize($e.URL,e)||"":dt(e,"URL")?Be(e):qo(Or(e))}function Yv(e){let t=Pc();if(t)return Cd(t.sanitize($e.RESOURCE_URL,e)||"");if(dt(e,"ResourceURL"))return Cd(Be(e));throw new C(904,!1)}function Qv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Yv:Zv}function hh(e,t,n){return Qv(t,n)(e)}function Pc(){let e=H();return e&&e[Ye].sanitizer}var Kv=/^>|^->||--!>|)/g,Xv="\u200B$1\u200B";function eD(e){return e.replace(Kv,t=>t.replace(Jv,Xv))}function ph(e){return e instanceof Function?e():e}var at=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(at||{}),tD;function kc(e,t){return tD(e,t)}function On(e,t,n,r,i){if(r!=null){let o,s=!1;ut(r)?o=r:Mt(r)&&(s=!0,r=r[ct]);let a=Qe(r);e===0&&n!==null?i==null?Ch(t,n,a):Io(t,n,a,i||null,!0):e===1&&n!==null?Io(t,n,a,i||null,!0):e===2?gD(t,a,s):e===3&&t.destroyNode(a),o!=null&&yD(t,e,o,n,i)}}function nD(e,t){return e.createText(t)}function rD(e,t,n){e.setValue(t,n)}function iD(e,t){return e.createComment(eD(t))}function gh(e,t,n){return e.createElement(t,n)}function oD(e,t){mh(e,t),t[ct]=null,t[me]=null}function sD(e,t,n,r,i,o){r[ct]=i,r[me]=t,Qo(e,r,n,1,i,o)}function mh(e,t){t[Ye].changeDetectionScheduler?.notify(9),Qo(e,t,t[Q],2,null,null)}function aD(e){let t=e[xr];if(!t)return ma(e[F],e);for(;t;){let n=null;if(Mt(t))n=t[xr];else{let r=t[Te];r&&(n=r)}if(!n){for(;t&&!t[Ve]&&t!==e;)Mt(t)&&ma(t[F],t),t=t[fe];t===null&&(t=e),Mt(t)&&ma(t[F],t),n=t&&t[Ve]}t=n}}function cD(e,t,n,r){let i=Te+r,o=n.length;r>0&&(n[i-1][Ve]=t),r0&&(e[n-1][Ve]=r[Ve]);let o=fo(e,Te+t);oD(r[F],r);let s=o[$n];s!==null&&s.detachView(o[F]),r[fe]=null,r[Ve]=null,r[_]&=-129}return r}function vh(e,t){if(!(t[_]&256)){let n=t[Q];n.destroyNode&&Qo(e,t,n,3,null,null),aD(t)}}function ma(e,t){if(t[_]&256)return;let n=L(null);try{t[_]&=-129,t[_]|=256,t[Se]&&Hs(t[Se]),lD(e,t),uD(e,t),t[F].type===1&&t[Q].destroy();let r=t[Bn];if(r!==null&&ut(t[fe])){r!==t[fe]&&Lc(r,t);let i=t[$n];i!==null&&i.detachView(e)}Ua(t)}finally{L(n)}}function uD(e,t){let n=e.cleanup,r=t[po];if(n!==null)for(let o=0;o=0?r[s]():r[-s].unsubscribe(),o+=2}else{let s=r[n[o+1]];n[o].call(s)}r!==null&&(t[po]=null);let i=t[_t];if(i!==null){t[_t]=null;for(let o=0;o-1){let{encapsulation:o}=e.data[r.directiveStart+i];if(o===qe.None||o===qe.Emulated)return null}return Ne(r,n)}}function Io(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Ch(e,t,n){e.appendChild(t,n)}function _d(e,t,n,r,i){r!==null?Io(e,t,n,r,i):Ch(e,t,n)}function wh(e,t){return e.parentNode(t)}function fD(e,t){return e.nextSibling(t)}function Eh(e,t,n){return pD(e,t,n)}function hD(e,t,n){return e.type&40?Ne(e,n):null}var pD=hD,Md;function Yo(e,t,n,r){let i=Dh(e,r,t),o=t[Q],s=r.parent||t[me],a=Eh(s,r,t);if(i!=null)if(Array.isArray(n))for(let c=0;cje&&Sh(e,t,je,!1),Ge(s?2:0,i),n(r,i)}finally{tn(o),Ge(s?3:1,i)}}function jc(e,t,n){if(Dc(t)){let r=L(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;snull;function MD(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return If()&&(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:void 0,inputs:null,outputs: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}}function Sd(e,t,n,r,i){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;r??={};let a,c=St.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}e===0?Td(r,n,u,a,c):Td(r,n,u,a)}return r}function Td(e,t,n,r,i){let o;e.hasOwnProperty(n)?(o=e[n]).push(t,r):o=e[n]=[t,r],i!==void 0&&o.push(i)}function SD(e,t,n){let r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function RD(e,t,n,r){let i=n.directiveStart,o=n.directiveEnd;Lo(n)&&jD(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Co(n,t),At(r,t);let s=n.initialInputs;for(let a=i;a{Uo(e.lView)},consumerOnSignalRead(){this.lView[Se]=this}});function tC(e){let t=e[Se]??Object.create(nC);return t.lView=e,t}var nC=N(p({},yr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=en(e.lView);for(;t&&!Bh(t[F]);)t=en(t);t&&Df(t)},consumerOnSignalRead(){this.lView[Se]=this}});function Bh(e){return e.type!==2}var rC=100;function $h(e,t=!0,n=0){let r=e[Ye],i=r.rendererFactory,o=!1;o||i.begin?.();try{iC(e,n)}catch(s){throw t&&Lh(e,s),s}finally{o||(i.end?.(),r.inlineEffectRunner?.flush())}}function iC(e,t){let n=_f();try{ud(!0),tc(e,t);let r=0;for(;jo(e);){if(r===rC)throw new C(103,!1);r++,tc(e,1)}}finally{ud(n)}}function oC(e,t,n,r){let i=t[_];if((i&256)===256)return;let o=!1,s=!1;!o&&t[Ye].inlineEffectRunner?.flush(),Ic(t);let a=!0,c=null,u=null;o||(Bh(e)?(u=KD(t),c=_i(u)):hl()===null?(a=!1,u=tC(t),c=_i(u)):t[Se]&&(Hs(t[Se]),t[Se]=null));try{vf(t),By(e.bindingStartIndex),n!==null&&Ah(e,t,n,2,r);let l=(i&3)===3;if(!o)if(l){let f=e.preOrderCheckHooks;f!==null&&oo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&so(t,f,0,null),fa(t,0)}if(s||sC(t),Hh(t,0),e.contentQueries!==null&&kh(e,t),!o)if(l){let f=e.contentCheckHooks;f!==null&&oo(t,f)}else{let f=e.contentHooks;f!==null&&so(t,f,1),fa(t,1)}CD(e,t);let d=e.components;d!==null&&Gh(t,d,0);let h=e.viewQuery;if(h!==null&&Xa(2,h,r),!o)if(l){let f=e.viewCheckHooks;f!==null&&oo(t,f)}else{let f=e.viewHooks;f!==null&&so(t,f,2),fa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[da]){for(let f of t[da])f();t[da]=null}o||(t[_]&=-73)}catch(l){throw o||Uo(t),l}finally{u!==null&&(Bs(u,c),a&&XD(u)),bc()}}function Hh(e,t){for(let n=Qf(e);n!==null;n=Kf(n))for(let r=Te;r-1&&(Qa(t,r),fo(n,r))}this._attachedToViewContainer=!1}vh(this._lView[F],this._lView)}onDestroy(t){Cf(this._lView,t)}markForCheck(){Wc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Aa(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,$h(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ta(this._lView),n=this._lView[Bn];n!==null&&!t&&Lc(n,this._lView),mh(this._lView[F],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=Ta(this._lView),r=this._lView[Bn];r!==null&&!n&&yh(r,this._lView),Aa(this._lView)}},Lr=(()=>{class e{static{this.__NG_ELEMENT_ID__=lC}}return e})(),cC=Lr,uC=class extends cC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let i=Vh(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new rn(i)}};function lC(){return dC(ue(),H())}function dC(e,t){return e.type&4?new uC(t,e,Go(e,t)):null}var aA=new RegExp(`^(\\d+)*(${Sv}|${Mv})*(.*)`);var fC=()=>null;function nc(e,t){return fC(e,t)}var Gn=class{},qc=new w("",{providedIn:"root",factory:()=>!1});var Wh=new w(""),qh=new w(""),rc=class{},_o=class{};function hC(e){let t=Error(`No component factory found for ${de(e)}.`);return t[pC]=e,t}var pC="ngComponent";var ic=class{resolveComponentFactory(t){throw hC(t)}},Wn=class{static{this.NULL=new ic}},qn=class{},un=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>gC()}}return e})();function gC(){let e=H(),t=ue(),n=Ft(t.index,e);return(Mt(n)?n:e)[Q]}var mC=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>null})}}return e})();function Mo(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s0&&_h(e,n,o.join(" "))}}function IC(e,t,n){let r=e.projection=[];for(let i=0;i{class e{static{this.__NG_ELEMENT_ID__=_C}}return e})();function _C(){let e=ue();return SC(e,H())}var MC=Vr,Zh=class extends MC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new Kt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Mc(this._hostTNode,this._hostLView);if(Ff(t)){let n=Do(t,this._hostLView),r=vo(t),i=n[F].data[r+8];return new Kt(i,n)}else return new Kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ad(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=nc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,ec(this._hostTNode,s)),a}createComponent(t,n,r,i,o){let s=t&&!My(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let c=s?t:new Ar(Jt(t)),u=r||this.parentInjector;if(!o&&c.ngModule==null){let y=(s?u:this.parentInjector).get(ge,null);y&&(o=y)}let l=Jt(c.componentType??{}),d=nc(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,i,h,o);return this.insertImpl(f.hostView,a,ec(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let i=t._lView;if(Ry(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=i[fe],u=new Zh(c,c[me],c[fe]);u.detach(u.indexOf(t))}}let o=this._adjustIndex(n),s=this._lContainer;return jh(s,i,o,r),t.attachToViewContainerRef(),Wd(ya(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ad(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qa(this._lContainer,n);r&&(fo(ya(this._lContainer),n),vh(r[F],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qa(this._lContainer,n);return r&&fo(ya(this._lContainer),n)!=null?new rn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ad(e){return e[go]}function ya(e){return e[go]||(e[go]=[])}function SC(e,t){let n,r=t[e.index];return ut(r)?n=r:(n=Ph(r,t,null,e),t[e.index]=n,Jo(t,n)),xC(n,t,e,r),new Zh(n,e,t)}function TC(e,t){let n=e[Q],r=n.createComment(""),i=Ne(t,e),o=wh(n,i);return Io(n,o,r,fD(n,i),!1),r}var xC=RC,AC=()=>!1;function NC(e,t,n){return AC(e,t,n)}function RC(e,t,n,r){if(e[Xt])return;let i;n.type&8?i=Qe(r):i=TC(t,n),e[Xt]=i}var Nd=new Set;function jr(e){Nd.has(e)||(Nd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function OC(e){return typeof e=="function"&&e[tt]!==void 0}function Xo(e,t){jr("NgSignals");let n=bl(e),r=n[tt];return t?.equal&&(r.equal=t.equal),n.set=i=>zs(r,i),n.update=i=>_l(r,i),n.asReadonly=FC.bind(n),n}function FC(){let e=this[tt];if(e.readonlyFn===void 0){let t=()=>this();t[tt]=e,e.readonlyFn=t}return e.readonlyFn}function Yh(e){return OC(e)&&typeof e.set=="function"}function PC(e){return Object.getPrototypeOf(e.prototype).constructor}function Xn(e){let t=PC(e.type),n=!0,r=[e];for(;t;){let i;if(Tt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);let s=e;s.inputs=to(e.inputs),s.inputTransforms=to(e.inputTransforms),s.declaredInputs=to(e.declaredInputs),s.outputs=to(e.outputs);let a=i.hostBindings;a&&UC(e,a);let c=i.viewQuery,u=i.contentQueries;if(c&&VC(e,c),u&&jC(e,u),kC(e,i),Tm(e.outputs,i.outputs),Tt(i)&&i.data.animation){let l=e.data;l.animation=(l.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=Mr(i.hostAttrs,n=Mr(n,i.hostAttrs))}}function to(e){return e===Ln?{}:e===Me?[]:e}function VC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i)}:e.viewQuery=t}function jC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o)}:e.contentQueries=t}function UC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i)}:e.hostBindings=t}function Ur(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}var Nt=class{},Nr=class{};var sc=class extends Nt{constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new So(this);let o=nf(t);this._bootstrapComponents=ph(o.bootstrap),this._r3Injector=Hf(t,n,[{provide:Nt,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver},...r],de(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)}},ac=class extends Nr{constructor(t){super(),this.moduleType=t}create(t){return new sc(this.moduleType,t,[])}};var To=class extends Nt{constructor(t){super(),this.componentFactoryResolver=new So(this),this.instance=null;let n=new Sr([...t.providers,{provide:Nt,useValue:this},{provide:Wn,useValue:this.componentFactoryResolver}],t.parent||vc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zc(e,t,n=null){return new To({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Br(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function BC(e){return(e.flags&32)===32}function $C(e,t,n,r,i,o,s,a,c){let u=t.consts,l=Jn(t,e,4,s||null,a||null);Hc(t,n,l,Hn(u,c)),zo(t,l);let d=l.tView=$c(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Qh(e,t,n,r,i,o,s,a,c,u){let l=n+je,d=t.firstCreatePass?$C(l,t,e,r,i,o,s,a,c):t.data[l];cn(d,!1);let h=HC(t,e,d,n);$o()&&Yo(t,e,h,d),At(h,e);let f=Ph(h,e,h,d);return e[l]=f,Jo(e,f),NC(f,d,e),Vo(d)&&Uc(t,e,d),c!=null&&Bc(e,d,u),d}function es(e,t,n,r,i,o,s,a){let c=H(),u=ce(),l=Hn(u.consts,o);return Qh(c,u,e,t,n,r,i,l,s,a),es}var HC=zC;function zC(e,t,n,r){return Ho(!0),t[Q].createComment("")}var Er=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Er||{}),GC=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})(),Rd=class e{constructor(){this.ngZone=g(G),this.scheduler=g(Gn),this.errorHandler=g(ot,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Er.EarlyRead,Er.Write,Er.MixedReadWrite,Er.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}};function ln(e,t,n,r){let i=H(),o=Bo();if(Br(i,o,t)){let s=ce(),a=_c();UD(a,i,e,t,n,r)}return ln}function WC(e,t,n,r){return Br(e,Bo(),n)?t+Or(n)+r:Kn}function no(e,t){return e<<17|t<<2}function on(e){return e>>17&32767}function qC(e){return(e&2)==2}function ZC(e,t){return e&131071|t<<17}function cc(e){return e|2}function Zn(e){return(e&131068)>>2}function va(e,t){return e&-131069|t<<2}function YC(e){return(e&1)===1}function uc(e){return e|1}function QC(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=on(s),c=Zn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Fr(d,l)>0)&&(u=!0)}else l=n;if(i)if(c!==0){let h=on(e[a+1]);e[r+1]=no(h,a),h!==0&&(e[h+1]=va(e[h+1],r)),e[a+1]=ZC(e[a+1],r)}else e[r+1]=no(a,0),a!==0&&(e[a+1]=va(e[a+1],r)),a=r;else e[r+1]=no(c,0),a===0?a=r:e[c+1]=va(e[c+1],r),c=r;u&&(e[r+1]=cc(e[r+1])),Od(e,l,r,!0),Od(e,l,r,!1),KC(t,l,e,r,o),s=no(a,c),o?t.classBindings=s:t.styleBindings=s}function KC(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&Fr(o,t)>=0&&(n[r+1]=uc(n[r+1]))}function Od(e,t,n,r){let i=e[n+1],o=t===null,s=r?on(i):Zn(i),a=!1;for(;s!==0&&(a===!1||o);){let c=e[s],u=e[s+1];JC(c,t)&&(a=!0,e[s+1]=r?uc(u):cc(u)),s=r?on(u):Zn(u)}a&&(e[n+1]=r?cc(i):uc(i))}function JC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Fr(e,t)>=0:!1}function Ee(e,t,n){let r=H(),i=Bo();if(Br(r,i,t)){let o=ce(),s=_c();Rh(o,s,r,e,t,r[Q],n,!1)}return Ee}function Fd(e,t,n,r,i){let o=t.inputs,s=i?"class":"style";zc(e,n,o[s],s,r)}function ts(e,t,n){return Kh(e,t,n,!1),ts}function Yc(e,t){return Kh(e,t,null,!0),Yc}function Kh(e,t,n,r){let i=H(),o=ce(),s=$y(2);if(o.firstUpdatePass&&ew(o,e,s,r),t!==Kn&&Br(i,s,t)){let a=o.data[Qn()];ow(o,a,i,i[Q],e,i[s+1]=sw(t,n),r,s)}}function XC(e,t){return t>=e.expandoStartIndex}function ew(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[Qn()],s=XC(e,n);aw(o,r)&&t===null&&!s&&(t=!1),t=tw(i,o,t,r),QC(i,o,t,n,s,r)}}function tw(e,t,n,r){let i=Wy(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=Da(null,e,t,n,r),n=Rr(n,t.attrs,r),o=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=Da(i,e,t,n,r),o===null){let c=nw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Da(null,e,t,c[1],r),c=Rr(c,t.attrs,r),rw(e,t,r,c))}else o=iw(e,t,r)}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function nw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Zn(r)!==0)return e[on(r)]}function rw(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[on(i)]=r}function iw(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let c=e[i],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[i+1];h===Kn&&(h=d?Me:void 0);let f=d?ua(h,r):l===r?h:void 0;if(u&&!xo(f)&&(f=ua(c,r)),xo(f)&&(a=f,s))return a;let m=e[i+1];i=s?on(m):Zn(m)}if(t!==null){let c=o?t.residualClasses:t.residualStyles;c!=null&&(a=ua(c,r))}return a}function xo(e){return e!==void 0}function sw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(Be(e)))),e}function aw(e,t){return(e.flags&(t?8:16))!==0}function cw(e,t,n,r,i,o){let s=t.consts,a=Hn(s,i),c=Jn(t,e,2,r,a);return Hc(t,n,c,Hn(s,o)),c.attrs!==null&&Mo(c,c.attrs,!1),c.mergedAttrs!==null&&Mo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function U(e,t,n,r){let i=H(),o=ce(),s=je+e,a=i[Q],c=o.firstCreatePass?cw(s,o,i,t,n,r):o.data[s],u=uw(o,i,c,a,t,e);i[s]=u;let l=Vo(c);return cn(c,!0),Mh(a,u,c),!BC(c)&&$o()&&Yo(o,i,u,c),Py()===0&&At(u,i),ky(),l&&(Uc(o,i,c),jc(o,c,i)),r!==null&&Bc(i,c),U}function B(){let e=ue();wc()?Ec():(e=e.parent,cn(e,!1));let t=e;Vy(t)&&jy(),Ly();let n=ce();return n.firstCreatePass&&(zo(n,e),Dc(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Xy(t)&&Fd(n,t,H(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ev(t)&&Fd(n,t,H(),t.stylesWithoutHost,!1),B}function Re(e,t,n,r){return U(e,t,n,r),B(),Re}var uw=(e,t,n,r,i,o)=>(Ho(!0),gh(r,i,Yy()));function lw(e,t,n,r,i){let o=t.consts,s=Hn(o,r),a=Jn(t,e,8,"ng-container",s);s!==null&&Mo(a,s,!0);let c=Hn(o,i);return Hc(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Qc(e,t,n){let r=H(),i=ce(),o=e+je,s=i.firstCreatePass?lw(o,i,r,t,n):i.data[o];cn(s,!0);let a=dw(i,r,s,e);return r[o]=a,$o()&&Yo(i,r,a,s),At(a,r),Vo(s)&&(Uc(i,r,s),jc(i,s,r)),n!=null&&Bc(r,s),Qc}function Kc(){let e=ue(),t=ce();return wc()?Ec():(e=e.parent,cn(e,!1)),t.firstCreatePass&&(zo(t,e),Dc(e)&&t.queries.elementEnd(e)),Kc}var dw=(e,t,n,r)=>(Ho(!0),iD(t[Q],""));var Ao="en-US";var fw=Ao;function hw(e){typeof e=="string"&&(fw=e.toLowerCase().replace(/_/g,"-"))}var pw=(e,t,n)=>{};function dn(e,t,n,r){let i=H(),o=ce(),s=ue();return Jh(o,i,i[Q],s,e,t,r),dn}function gw(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 Jh(e,t,n,r,i,o,s){let a=Vo(r),u=e.firstCreatePass&&GD(e),l=t[Ze],d=zD(t),h=!0;if(r.type&3||s){let y=Ne(r,t),v=s?s(y):y,I=d.length,z=s?oe=>s(Qe(oe[r.index])):r.index,V=null;if(!s&&a&&(V=gw(e,t,i,r.index)),V!==null){let oe=V.__ngLastListenerFn__||V;oe.__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,h=!1}else{o=Ld(r,t,l,o),pw(y,i,o);let oe=n.listen(v,i,o);d.push(o,oe),u&&u.push(i,z,I,I+1)}}else o=Ld(r,t,l,o);let f=r.outputs,m;if(h&&f!==null&&(m=f[i])){let y=m.length;if(y)for(let v=0;v-1?Ft(e.index,t):t;Wc(s,5);let a=kd(t,n,r,o),c=i.__ngNextListenerFn__;for(;c;)a=kd(t,n,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function $r(e=1){return Zy(e)}function mw(e,t){let n=null,r=iy(e);for(let i=0;i(Ho(!0),nD(t[Q],r));function Jc(e){return tp("",e,""),Jc}function tp(e,t,n){let r=H(),i=WC(r,e,t,n);return i!==Kn&&WD(r,Qn(),i),tp}function Lt(e,t,n){Yh(t)&&(t=t());let r=H(),i=Bo();if(Br(r,i,t)){let o=ce(),s=_c();Rh(o,s,r,e,t,r[Q],n,!1)}return Lt}function fn(e,t){let n=Yh(e);return n&&e.set(t),n}function Vt(e,t){let n=H(),r=ce(),i=ue();return Jh(r,n,n[Q],i,e,t),Vt}function Dw(e,t,n){let r=ce();if(r.firstCreatePass){let i=Tt(e);lc(n,r.data,r.blueprint,i,!0),lc(t,r.data,r.blueprint,i,!1)}}function lc(e,t,n,r,i){if(e=le(e),Array.isArray(e))for(let o=0;o>20;if(jn(e)||!e.multi){let f=new nn(u,i,T),m=wa(c,t,i?l:l+h,d);m===-1?(Fa(Co(a,s),o,c),Ca(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=wa(c,t,l+h,d),m=wa(c,t,l,l+h),y=f>=0&&n[f],v=m>=0&&n[m];if(i&&!v||!i&&!y){Fa(Co(a,s),o,c);let I=Ew(i?ww:Cw,n.length,i,r,u);!i&&v&&(n[m].providerFactory=I),Ca(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=np(n[i?m:f],u,!i&&r);Ca(o,e,f>-1?f:m,I)}!i&&r&&v&&n[m].componentProviders++}}}function Ca(e,t,n,r){let i=jn(t),o=vy(t);if(i||o){let c=(o?le(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function np(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wa(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>Dw(r,i?i(e):e,t)}}var Iw=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=sf(!1,n.type),i=r.length>0?Zc([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{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(E(ge))})}}return e})();function Oe(e){jr("NgStandalone"),e.getStandaloneInjector=t=>t.get(Iw).getOrCreateStandaloneInjector(e)}var ns=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var rp=new w("");function hn(e){return!!e&&typeof e.then=="function"}function ip(e){return!!e&&typeof e.subscribe=="function"}var op=new w(""),sp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=g(op,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=i();if(hn(o))n.push(o);else if(ip(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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),rs=new w("");function bw(){Il(()=>{throw new C(600,!1)})}function _w(e){return e.isBoundToModule}var Mw=10;function Sw(e,t,n){try{let r=n();return hn(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var jt=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Cv),this.afterRenderManager=g(GC),this.zonelessEnabled=g(qc),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new X,this.afterTick=new X,this.componentTypes=[],this.components=[],this.isStable=g(Pt).hasPendingTasks.pipe(S(n=>!n)),this._injector=g(ge)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let i=n instanceof _o;if(!this._injector.get(sp).done){let h=!i&&tf(n),f=!1;throw new C(405,f)}let s;i?s=n:s=this._injector.get(Wn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=_w(s)?void 0:this._injector.get(Nt),c=r||s.selector,u=s.create(xt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(rp,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ao(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new C(101,!1);let n=L(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,L(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(qn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++jo(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;ao(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(rs,[]);[...this._bootstrapListeners,...r].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ao(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ao(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tw(e,t,n,r){if(!n&&!jo(e))return;$h(e,t,n&&!r?0:1)}var fc=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Xc=(()=>{class e{compileModuleSync(n){return new ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),i=nf(n),o=ph(i.declarations).reduce((s,a)=>{let c=Jt(a);return c&&s.push(new Ar(c)),s},[]);return new fc(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var xw=(()=>{class e{constructor(){this.zone=g(G),this.changeDetectionScheduler=g(Gn),this.applicationRef=g(jt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Aw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new G(N(p({},Nw()),{scheduleInRootZone:n})),[{provide:G,useFactory:e},{provide:Vn,multi:!0,useFactory:()=>{let r=g(xw,{optional:!0});return()=>r.initialize()}},{provide:Vn,multi:!0,useFactory:()=>{let r=g(Rw);return()=>{r.initialize()}}},t===!0?{provide:Wh,useValue:!0}:[],{provide:qh,useValue:n??zf}]}function Nw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Rw=(()=>{class e{constructor(){this.subscription=new J,this.initialized=!1,this.zone=g(G),this.pendingTasks=g(Pt)}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(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ow=(()=>{class e{constructor(){this.appRef=g(jt),this.taskService=g(Pt),this.ngZone=g(G),this.zonelessEnabled=g(qc),this.disableScheduling=g(Wh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new J,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Eo):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(qh,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 ja||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;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 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?gd:Wf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Eo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gd(()=>{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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Fw(){return typeof $localize<"u"&&$localize.locale||Ao}var eu=new w("",{providedIn:"root",factory:()=>g(eu,A.Optional|A.SkipSelf)||Fw()});var hc=new w("");function ro(e){return!e.moduleRef}function Pw(e){let t=ro(e)?e.r3Injector:e.moduleRef.injector,n=t.get(G);return n.run(()=>{ro(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),ro(e)){let o=()=>t.destroy(),s=e.platformInjector.get(hc);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(hc);s.add(o),e.moduleRef.onDestroy(()=>{ao(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return Sw(r,n,()=>{let o=t.get(sp);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(eu,Ao);if(hw(s||Ao),ro(e)){let a=t.get(jt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return kw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function kw(e,t){let n=e.injector.get(jt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}var co=null;function Lw(e=[],t){return xt.create({name:t,providers:[{provide:Po,useValue:"platform"},{provide:hc,useValue:new Set([()=>co=null])},...e]})}function Vw(e=[]){if(co)return co;let t=Lw(e);return co=t,bw(),jw(t),t}function jw(e){e.get(Nc,null)?.forEach(n=>n())}var ht=(()=>{class e{static{this.__NG_ELEMENT_ID__=Uw}}return e})();function Uw(e){return Bw(ue(),H(),(e&16)===16)}function Bw(e,t,n){if(Lo(e)&&!n){let r=Ft(e.index,t);return new rn(r,r)}else if(e.type&175){let r=t[xe];return new rn(r,t)}return null}function ap(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,i=Vw(r),o=[Aw({}),{provide:Gn,useExisting:Ow},...n||[]],s=new To({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return Pw({r3Injector:s.injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}}function Je(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tu(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function is(e,t){jr("NgSignals");let n=Cl(e);return t?.equal&&(n[tt].equal=t.equal),n}function Ut(e){let t=L(null);try{return e()}finally{L(t)}}var dp=null;function gt(){return dp}function fp(e){dp??=e}var os=class{};var K=new w(""),iu=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(Hw),providedIn:"platform"})}}return e})();var Hw=(()=>{class e extends iu{constructor(){super(),this._doc=g(K),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gt().getBaseHref(this._doc)}onPopState(n){let r=gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=gt().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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function ou(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function cp(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function pt(e){return e&&e[0]!=="?"?"?"+e:e}var Bt=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(pp),providedIn:"root"})}}return e})(),hp=new w(""),pp=(()=>{class e extends Bt{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(K).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 ou(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+pt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+pt(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+pt(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{this.\u0275fac=function(r){return new(r||e)(E(iu),E(hp,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),gp=(()=>{class e extends Bt{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}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}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=ou(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+pt(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+pt(o));s.length==0&&(s=this._platformLocation.pathname),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{this.\u0275fac=function(r){return new(r||e)(E(iu),E(hp,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),zr=(()=>{class e{constructor(n){this._subject=new Y,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Ww(cp(up(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({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+pt(r))}normalize(n){return e.stripTrailingSlash(Gw(this._basePath,up(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+pt(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pt(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,complete:i})}static{this.normalizeQueryParams=pt}static{this.joinWithSlash=ou}static{this.stripTrailingSlash=cp}static{this.\u0275fac=function(r){return new(r||e)(E(Bt))}}static{this.\u0275prov=D({token:e,factory:()=>zw(),providedIn:"root"})}}return e})();function zw(){return new zr(E(Bt))}function Gw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function up(e){return e.replace(/\/index.html$/,"")}function Ww(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function ss(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 mp=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new nu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){lp("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){lp("ngIfElse",n),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 ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(T(Vr),T(Lr))}}static{this.\u0275dir=we({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),nu=class{constructor(){this.$implicit=null,this.ngIf=null}};function lp(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${de(t)}'.`)}var yp="browser",qw="server";function as(e){return e===qw}var er=class{};var Wr=class{},us=class{},mt=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,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=i.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(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}}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 au=class{encodeKey(t){return Dp(t)}encodeValue(t){return Dp(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Zw(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 Yw=/%(\d[a-f0-9])/gi,Qw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dp(e){return encodeURIComponent(e).replace(Yw,(t,n)=>Qw[n]??t)}function cs(e){return`${e}`}var Ht=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new au,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Zw(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(cs):[cs(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(cs(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(cs(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 cu=class{constructor(){this.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 Kw(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function wp(e){return typeof Blob<"u"&&e instanceof Blob}function Ep(e){return typeof FormData<"u"&&e instanceof FormData}function Jw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Gr=class e{constructor(t,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(Kw(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new mt,this.context??=new cu,!this.params)this.params=new Ht,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},zt=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}(zt||{}),qr=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new mt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},ls=class e extends qr{constructor(t={}){super(t),this.type=zt.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})}},Zr=class e extends qr{constructor(t={}){super(t),this.type=zt.Response,this.body=t.body!==void 0?t.body:null}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})}},$t=class extends qr{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,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}},Mp=200,Xw=204;function su(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,transferCache:e.transferCache}}var eE=(()=>{class e{constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof Gr)o=n;else{let c;i.headers instanceof mt?c=i.headers:c=new mt(i.headers);let u;i.params&&(i.params instanceof Ht?u=i.params:u=new Ht({fromObject:i.params})),o=new Gr(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=b(o).pipe(Et(c=>this.handler.handle(c)));if(n instanceof Gr||i.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof Zr));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(S(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(S(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}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 Ht().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,su(i,r))}post(n,r,i={}){return this.request("POST",n,su(i,r))}put(n,r,i={}){return this.request("PUT",n,su(i,r))}static{this.\u0275fac=function(r){return new(r||e)(E(Wr))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),tE=/^\)\]\}',?\n/,nE="X-Request-URL";function Ip(e){if(e.url)return e.url;let t=nE.toLocaleLowerCase();return e.headers.get(t)}var rE=(()=>{class e{constructor(){this.fetchImpl=g(uu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=g(G)}handle(n){return new P(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(lu,o=>r.error(new $t({error:o}))),()=>i.abort()})}doRequest(n,r,i){return wn(this,null,function*(){let o=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,p({signal:r},o)));iE(f),i.next({type:zt.Sent}),s=yield f}catch(f){i.error(new $t({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new mt(s.headers),c=s.statusText,u=Ip(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&i.next(new ls({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),m=[],y=s.body.getReader(),v=0,I,z,V=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>wn(this,null,function*(){for(;;){let{done:he,value:ee}=yield y.read();if(he)break;if(m.push(ee),v+=ee.length,n.reportProgress){z=n.responseType==="text"?(z??"")+(I??=new TextDecoder).decode(ee,{stream:!0}):void 0;let et=()=>i.next({type:zt.DownloadProgress,total:f?+f:void 0,loaded:v,partialText:z});V?V.run(et):et()}}}));let oe=this.concatChunks(m,v);try{let he=s.headers.get("Content-Type")??"";d=this.parseBody(n,oe,he)}catch(he){i.error(new $t({error:he,headers:new mt(s.headers),status:s.status,statusText:s.statusText,url:Ip(s)??n.urlWithParams}));return}}l===0&&(l=d?Mp:0),l>=200&&l<300?(i.next(new Zr({body:d,headers:a,status:l,statusText:c,url:u})),i.complete()):i.error(new $t({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,i){switch(n.responseType){case"json":let o=new TextDecoder().decode(r).replace(tE,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let o=n.detectContentTypeHeader();o!==null&&(r["Content-Type"]=o)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),uu=class{};function lu(){}function iE(e){e.then(lu,lu)}function oE(e,t){return t(e)}function sE(e,t,n){return(r,i)=>Ue(n,()=>t(r,o=>e(o,i)))}var Sp=new w(""),aE=new w(""),cE=new w("",{providedIn:"root",factory:()=>!0});var bp=(()=>{class e extends Wr{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=g(Pt),this.contributeToStability=g(cE)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Sp),...this.injector.get(aE,[])]));this.chain=r.reduceRight((i,o)=>sE(i,o,this.injector),oE)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Qt(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(E(us),E(ge))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();var uE=/^\)\]\}',?\n/;function lE(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var _p=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new C(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?q(r.\u0275loadImpl()):b(null)).pipe(Ce(()=>new P(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new mt(s.getAllResponseHeaders()),I=lE(s)||n.url;return c=new ls({headers:v,status:s.status,statusText:y,url:I}),c},l=()=>{let{headers:y,status:v,statusText:I,url:z}=u(),V=null;v!==Xw&&(V=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=V?Mp:0);let oe=v>=200&&v<300;if(n.responseType==="json"&&typeof V=="string"){let he=V;V=V.replace(uE,"");try{V=V!==""?JSON.parse(V):null}catch(ee){V=he,oe&&(oe=!1,V={error:ee,text:V})}}oe?(o.next(new Zr({body:V,headers:y,status:v,statusText:I,url:z||void 0})),o.complete()):o.error(new $t({error:V,headers:y,status:v,statusText:I,url:z||void 0}))},d=y=>{let{url:v}=u(),I=new $t({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});o.error(I)},h=!1,f=y=>{h||(o.next(u()),h=!0);let v={type:zt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),o.next(v)},m=y=>{let v={type:zt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),o.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:zt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(E(er))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Tp=new w(""),dE="XSRF-TOKEN",fE=new w("",{providedIn:"root",factory:()=>dE}),hE="X-XSRF-TOKEN",pE=new w("",{providedIn:"root",factory:()=>hE}),ds=class{},gE=(()=>{class e{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ss(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(E(K),E(kt),E(fE))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function mE(e,t){let n=e.url.toLowerCase();if(!g(Tp)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=g(ds).getToken(),i=g(pE);return r!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),t(e)}function xp(...e){let t=[eE,_p,bp,{provide:Wr,useExisting:bp},{provide:us,useFactory:()=>g(rE,{optional:!0})??g(_p)},{provide:Sp,useValue:mE,multi:!0},{provide:Tp,useValue:!0},{provide:ds,useClass:gE}];for(let n of e)t.push(...n.\u0275providers);return an(t)}var hu=class extends os{constructor(){super(...arguments),this.supportsDOMEvents=!0}},pu=class e extends hu{static makeCurrent(){fp(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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=vE();return n==null?null:DE(n)}resetBaseElement(){Yr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ss(document.cookie,t)}},Yr=null;function vE(){return Yr=Yr||document.querySelector("base"),Yr?Yr.getAttribute("href"):null}function DE(e){return new URL(e,document.baseURI).pathname}var CE=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),gu=new w(""),Op=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}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 C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(E(gu),E(G))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),fs=class{constructor(t){this._doc=t}},du="ng-app-id",Fp=(()=>{class e{constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=as(o),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(i=>i.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${du}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(n,r){let i=this.styleRef;if(i.has(n)){let o=i.get(n);return o.usage+=r,o.usage}return i.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===n)return i.delete(r),o.removeAttribute(du),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(du,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let i=this.getStyleElement(n,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(E(K),E(Ac),E(Rc,8),E(kt))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),fu={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"},yu=/%COMP%/g,Pp="%COMP%",wE=`_nghost-${Pp}`,EE=`_ngcontent-${Pp}`,IE=!0,bE=new w("",{providedIn:"root",factory:()=>IE});function _E(e){return EE.replace(yu,e)}function ME(e){return wE.replace(yu,e)}function kp(e,t){return t.map(n=>n.replace(yu,e))}var Ap=(()=>{class e{constructor(n,r,i,o,s,a,c,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=u,this.rendererByCompId=new Map,this.platformIsServer=as(a),this.defaultRenderer=new Qr(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===qe.ShadowDom&&(r=N(p({},r),{encapsulation:qe.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof hs?i.applyToHost(n):i instanceof Kr&&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,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case qe.Emulated:o=new hs(c,u,r,this.appId,l,s,a,d);break;case qe.ShadowDom:return new mu(c,u,n,r,s,a,this.nonce,d);default:o=new Kr(c,u,r,l,s,a,d);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(E(Op),E(Fp),E(Ac),E(bE),E(K),E(kt),E(G),E(Rc))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Qr=class{constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(fu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Np(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Np(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 C(-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=fu[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let i=fu[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&(at.DashCase|at.Important)?t.style.setProperty(n,r,i&at.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&at.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){if(typeof t=="string"&&(t=gt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Np(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var mu=class extends Qr{constructor(t,n,r,i,o,s,a,c){super(t,o,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=kp(i.id,i.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}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)}},Kr=class extends Qr{constructor(t,n,r,i,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?kp(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},hs=class extends Kr{constructor(t,n,r,i,o,s,a,c){let u=i+"-"+r.id;super(t,n,r,o,s,a,c,u),this.contentAttr=_E(u),this.hostAttr=ME(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}},SE=(()=>{class e extends fs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||e)(E(K))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Rp=["alt","control","meta","shift"],TE={"\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"},xE={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},AE=(()=>{class e extends fs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i){let o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gt().onAndCancel(n,o.domEventName,s))}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."),Rp.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),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=TE[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"),Rp.forEach(s=>{if(s!==i){let a=xE[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{this.\u0275fac=function(r){return new(r||e)(E(K))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function Lp(e,t){return ap(p({rootComponent:e},NE(t)))}function NE(e){return{appProviders:[...kE,...e?.providers??[]],platformProviders:PE}}function RE(){pu.makeCurrent()}function OE(){return new ot}function FE(){return Xf(document),document}var PE=[{provide:kt,useValue:yp},{provide:Nc,useValue:RE,multi:!0},{provide:K,useFactory:FE,deps:[]}];var kE=[{provide:Po,useValue:"root"},{provide:ot,useFactory:OE,deps:[]},{provide:gu,useClass:SE,multi:!0,deps:[K,G,kt]},{provide:gu,useClass:AE,multi:!0,deps:[K]},Ap,Fp,Op,{provide:qn,useExisting:Ap},{provide:er,useClass:CE,deps:[]},[]];var Vp=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(E(K))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Jr=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=E(LE),i},providedIn:"root"})}}return e})(),LE=(()=>{class e extends Jr{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case $e.NONE:return r;case $e.HTML:return dt(r,"HTML")?Be(r):Fc(this._doc,String(r)).toString();case $e.STYLE:return dt(r,"Style")?Be(r):r;case $e.SCRIPT:if(dt(r,"Script"))return Be(r);throw new C(5200,!1);case $e.URL:return dt(r,"URL")?Be(r):qo(String(r));case $e.RESOURCE_URL:if(dt(r,"ResourceURL"))return Be(r);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(n){return rh(n)}bypassSecurityTrustStyle(n){return ih(n)}bypassSecurityTrustScript(n){return oh(n)}bypassSecurityTrustUrl(n){return sh(n)}bypassSecurityTrustResourceUrl(n){return ah(n)}static{this.\u0275fac=function(r){return new(r||e)(E(K))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var x="primary",pi=Symbol("RouteTitle"),Iu=class{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 sr(e){return new Iu(e)}function VE(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 qp(e){return e.length>0?e[e.length-1]:null}function Wt(e){return Xs(e)?e:hn(e)?q(Promise.resolve(e)):b(e)}var UE={exact:Yp,subset:Qp},Zp={exact:BE,subset:$E,ignored:()=>!0};function jp(e,t,n){return UE[n.paths](e.root,t.root,n.matrixParams)&&Zp[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function BE(e,t){return Xe(e,t)}function Yp(e,t,n){if(!gn(e.segments,t.segments)||!ms(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Yp(e.children[r],t.children[r],n))return!1;return!0}function $E(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Wp(e[n],t[n]))}function Qp(e,t,n){return Kp(e,t,t.segments,n)}function Kp(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return!(!gn(i,n)||t.hasChildren()||!ms(i,n,r))}else if(e.segments.length===n.length){if(!gn(e.segments,n)||!ms(e.segments,n,r))return!1;for(let i in t.children)if(!e.children[i]||!Qp(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!gn(e.segments,i)||!ms(e.segments,i,r)||!e.children[x]?!1:Kp(e.children[x],t,o,r)}}function ms(e,t,n){return t.every((r,i)=>Zp[n](e[i].parameters,r.parameters))}var vt=class{constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){return GE.serialize(this)}},j=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ys(this)}},pn=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=sr(this.parameters),this._parameterMap}toString(){return Xp(this)}};function HE(e,t){return gn(e,t)&&e.every((n,r)=>Xe(n.parameters,t[r].parameters))}function gn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function zE(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===x&&(n=n.concat(t(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==x&&(n=n.concat(t(i,r)))}),n}var Qu=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new oi,providedIn:"root"})}}return e})(),oi=class{parse(t){let n=new Mu(t);return new vt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Xr(t.root,!0)}`,r=ZE(t.queryParams),i=typeof t.fragment=="string"?`#${WE(t.fragment)}`:"";return`${n}${r}${i}`}},GE=new oi;function ys(e){return e.segments.map(t=>Xp(t)).join("/")}function Xr(e,t){if(!e.hasChildren())return ys(e);if(t){let n=e.children[x]?Xr(e.children[x],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==x&&r.push(`${i}:${Xr(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=zE(e,(r,i)=>i===x?[Xr(e.children[x],!1)]:[`${i}:${Xr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[x]!=null?`${ys(e)}/${n[0]}`:`${ys(e)}/(${n.join("//")})`}}function Jp(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ps(e){return Jp(e).replace(/%3B/gi,";")}function WE(e){return encodeURI(e)}function _u(e){return Jp(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vs(e){return decodeURIComponent(e)}function Up(e){return vs(e.replace(/\+/g,"%20"))}function Xp(e){return`${_u(e.path)}${qE(e.parameters)}`}function qE(e){return Object.entries(e).map(([t,n])=>`;${_u(t)}=${_u(n)}`).join("")}function ZE(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${ps(n)}=${ps(i)}`).join("&"):`${ps(n)}=${ps(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var YE=/^[^\/()?;#]+/;function Du(e){let t=e.match(YE);return t?t[0]:""}var QE=/^[^\/()?;=#]+/;function KE(e){let t=e.match(QE);return t?t[0]:""}var JE=/^[^=?&#]+/;function XE(e){let t=e.match(JE);return t?t[0]:""}var eI=/^[^&#]+/;function tI(e){let t=e.match(eI);return t?t[0]:""}var Mu=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],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[x]=new j(t,n)),r}parseSegment(){let t=Du(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new pn(vs(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=KE(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=Du(this.remaining);i&&(r=i,this.capture(r))}t[vs(n)]=vs(r)}parseQueryParam(t){let n=XE(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=tI(this.remaining);s&&(r=s,this.capture(r))}let i=Up(n),o=Up(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=Du(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new C(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=x);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[x]:new j([],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 C(4011,!1)}};function eg(e){return e.segments.length>0?new j([],{[x]:e}):e}function tg(e){let t={};for(let[r,i]of Object.entries(e.children)){let o=tg(i);if(r===x&&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 j(e.segments,t);return nI(n)}function nI(e){if(e.numberOfChildren===1&&e.children[x]){let t=e.children[x];return new j(e.segments.concat(t.segments),t.children)}return e}function mn(e){return e instanceof vt}function rI(e,t,n=null,r=null){let i=ng(e);return rg(i,t,n,r)}function ng(e){let t;function n(o){let s={};for(let c of o.children){let u=n(c);s[c.outlet]=u}let a=new j(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=eg(r);return t??i}function rg(e,t,n,r){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Cu(i,i,i,n,r);let o=iI(t);if(o.toRoot())return Cu(i,i,new j([],{}),n,r);let s=oI(o,i,e),a=s.processChildren?ni(s.segmentGroup,s.index,o.commands):og(s.segmentGroup,s.index,o.commands);return Cu(i,s.segmentGroup,a,n,r)}function Ds(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function si(e){return typeof e=="object"&&e!=null&&e.outlets}function Cu(e,t,n,r,i){let o={};r&&Object.entries(r).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=ig(e,t,n);let a=eg(tg(s));return new vt(a,o,i)}function ig(e,t,n){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=ig(o,t,n)}),new j(e.segments,r)}var Cs=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ds(r[0]))throw new C(4003,!1);let i=r.find(si);if(i&&i!==qp(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function iI(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Cs(!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,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...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 Cs(n,t,r)}var rr=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function oI(e,t,n){if(e.isAbsolute)return new rr(t,!0,0);if(!n)return new rr(t,!1,NaN);if(n.parent===null)return new rr(n,!0,0);let r=Ds(e.commands[0])?0:1,i=n.segments.length-1+r;return sI(n,i,e.numberOfDoubleDots)}function sI(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new C(4005,!1);i=r.segments.length}return new rr(r,!1,i-o)}function aI(e){return si(e[0])?e[0].outlets:{[x]:e}}function og(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return ni(e,t,n);let r=cI(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==x)&&e.children[x]&&e.numberOfChildren===1&&e.children[x].segments.length===0){let o=ni(e.children[x],t,n);return new j(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=og(e.children[o],t,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new j(e.segments,i)}}function cI(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(si(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!$p(c,u,s))return o;r+=2}else{if(!$p(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Su(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Su(new j([],{}),0,r))}),t}function Bp(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function $p(e,t,n){return e==n.path&&Xe(t,n.parameters)}var ri="imperative",se=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}(se||{}),Pe=class{constructor(t,n){this.id=t,this.url=n}},ai=class extends Pe{constructor(t,n,r="imperative",i=null){super(t,n),this.type=se.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Gt=class extends Pe{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=se.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},be=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(be||{}),Tu=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Tu||{}),yt=class extends Pe{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=se.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},yn=class extends Pe{constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i,this.type=se.NavigationSkipped}},ci=class extends Pe{constructor(t,n,r,i){super(t,n),this.error=r,this.target=i,this.type=se.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ws=class extends Pe{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=se.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xu=class extends Pe{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=se.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Au=class extends Pe{constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=se.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Nu=class extends Pe{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=se.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ru=class extends Pe{constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i,this.type=se.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ou=class{constructor(t){this.route=t,this.type=se.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fu=class{constructor(t){this.route=t,this.type=se.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Pu=class{constructor(t){this.snapshot=t,this.type=se.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ku=class{constructor(t){this.snapshot=t,this.type=se.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lu=class{constructor(t){this.snapshot=t,this.type=se.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vu=class{constructor(t){this.snapshot=t,this.type=se.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ui=class{},ar=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function lI(e,t){return e.providers&&!e._injector&&(e._injector=Zc(e.providers,t,`Route: ${e.path}`)),e._injector??t}function He(e){return e.outlet||x}function dI(e,t){let n=e.filter(r=>He(r)===t);return n.push(...e.filter(r=>He(r)!==t)),n}function gi(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 ju=class{get injector(){return gi(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new Ts(this.rootInjector),this.attachRef=null}},Ts=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}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 ju(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(E(ge))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Es=class{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=Uu(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Uu(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Bu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return Bu(t,this._root).map(n=>n.value)}};function Uu(e,t){if(e===t.value)return t;for(let n of t.children){let r=Uu(e,n);if(r)return r}return null}function Bu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Bu(e,n);if(r.length)return r.unshift(t),r}return[]}var Ie=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function nr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Is=class extends Es{constructor(t,n){super(t),this.snapshot=n,Ku(this,t)}toString(){return this.snapshot.toString()}};function sg(e){let t=fI(e),n=new ne([new pn("",{})]),r=new ne({}),i=new ne({}),o=new ne({}),s=new ne(""),a=new vn(n,r,o,s,i,x,e,t.root);return a.snapshot=t.root,new Is(new Ie(a,[]),t)}function fI(e){let t={},n={},r={},i="",o=new ir([],t,r,i,n,x,e,null,{});return new _s("",new Ie(o,[]))}var vn=class{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(S(u=>u[pi]))??b(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(S(t=>sr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(t=>sr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bs(e,t,n="emptyOnly"){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:p(p({},t.params),e.params),data:p(p({},t.data),e.data),resolve:p(p(p(p({},e.data),t.data),i?.data),e._resolvedData)}:r={params:p({},e.params),data:p({},e.data),resolve:p(p({},e.data),e._resolvedData??{})},i&&cg(i)&&(r.resolve[pi]=i.title),r}var ir=class{get title(){return this.data?.[pi]}constructor(t,n,r,i,o,s,a,c,u){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=u}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??=sr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=sr(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}')`}},_s=class extends Es{constructor(t,n){super(n),this.url=t,Ku(this,n)}toString(){return ag(this._root)}};function Ku(e,t){t.value._routerState=e,t.children.forEach(n=>Ku(e,n))}function ag(e){let t=e.children.length>0?` { ${e.children.map(ag).join(", ")} } `:"";return`${e.value}${t}`}function wu(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Xe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Xe(t.params,n.params)||e.paramsSubject.next(n.params),jE(t.url,n.url)||e.urlSubject.next(n.url),Xe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function $u(e,t){let n=Xe(e.params,t.params)&&HE(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||$u(e.parent,t.parent))}function cg(e){return typeof e.title=="string"||e.title===null}var Ju=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=x,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=g(Ts),this.location=g(Vr),this.changeDetector=g(ht),this.inputBinder=g(Xu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}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 C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(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 C(4013,!1);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Hu(n,a,i.injector);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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=we({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[lt]})}}return e})(),Hu=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===vn?this.route:t===Ts?this.childContexts:this.parent.get(t,n)}},Xu=new w("");function hI(e,t,n){let r=li(e,t._root,n?n._root:void 0);return new Is(r,t)}function li(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let i=pI(e,t,n);return new Ie(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=>li(e,a)),s}}let r=gI(t.value),i=t.children.map(o=>li(e,o));return new Ie(r,i)}}function pI(e,t,n){return t.children.map(r=>{for(let i of n.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return li(e,r,i);return li(e,r)})}function gI(e){return new vn(new ne(e.url),new ne(e.params),new ne(e.queryParams),new ne(e.fragment),new ne(e.data),e.outlet,e.component,e)}var di=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},ug="ngNavigationCancelingError";function Ms(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=mn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=lg(!1,be.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function lg(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[ug]=!0,n.cancellationCode=t,n}function mI(e){return dg(e)&&mn(e.url)}function dg(e){return!!e&&e[ug]}var yI=(e,t,n,r)=>S(i=>(new zu(t,i.targetRouterState,i.currentRouterState,n,r).activate(e),i)),zu=class{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),wu(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let i=nr(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=nr(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=nr(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=nr(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Vu(o.value.snapshot))}),t.children.length&&this.forwardEvent(new ku(t.value.snapshot))}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(wu(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),wu(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)}},Ss=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},or=class{constructor(t,n){this.component=t,this.route=n}};function vI(e,t,n){let r=e._root,i=t?t._root:null;return ei(r,i,n,[r.value])}function DI(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ur(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Ud(e)?e:t.get(e):r}function ei(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=nr(t);return e.children.forEach(s=>{CI(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ii(a,n.getContext(s),i)),i}function CI(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=wI(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ss(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ei(e,t,a?a.children:null,r,i):ei(e,t,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new or(a.outlet.component,s))}else s&&ii(t,a,i),i.canActivateChecks.push(new Ss(r)),o.component?ei(e,null,a?a.children:null,r,i):ei(e,null,n,r,i);return i}function wI(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!gn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!gn(e.url,t.url)||!Xe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$u(e,t)||!Xe(e.queryParams,t.queryParams);case"paramsChange":default:return!$u(e,t)}}function ii(e,t,n){let r=nr(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?ii(s,t.children.getContext(o),n):ii(s,null,n):ii(s,t,n)}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new or(t.outlet.component,i)):n.canDeactivateChecks.push(new or(null,i)):n.canDeactivateChecks.push(new or(null,i))}function mi(e){return typeof e=="function"}function EI(e){return typeof e=="boolean"}function II(e){return e&&mi(e.canLoad)}function bI(e){return e&&mi(e.canActivate)}function _I(e){return e&&mi(e.canActivateChild)}function MI(e){return e&&mi(e.canDeactivate)}function SI(e){return e&&mi(e.canMatch)}function fg(e){return e instanceof rt||e?.name==="EmptyError"}var gs=Symbol("INITIAL_VALUE");function cr(){return Ce(e=>Yi(e.map(t=>t.pipe(it(1),aa(gs)))).pipe(S(t=>{for(let n of t)if(n!==!0){if(n===gs)return gs;if(n===!1||TI(n))return n}return!0}),ae(t=>t!==gs),it(1)))}function TI(e){return mn(e)||e instanceof di}function xI(e,t){return re(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?b(N(p({},n),{guardsResult:!0})):AI(s,r,i,e).pipe(re(a=>a&&EI(a)?NI(r,o,e,t):b(a)),S(a=>N(p({},n),{guardsResult:a})))})}function AI(e,t,n,r){return q(e).pipe(re(i=>kI(i.component,i.route,n,t,r)),ze(i=>i!==!0,!0))}function NI(e,t,n,r){return q(t).pipe(Et(i=>xn(OI(i.route.parent,r),RI(i.route,r),PI(e,i.path,n),FI(e,i.route,n))),ze(i=>i!==!0,!0))}function RI(e,t){return e!==null&&t&&t(new Lu(e)),b(!0)}function OI(e,t){return e!==null&&t&&t(new Pu(e)),b(!0)}function FI(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let i=r.map(o=>Qi(()=>{let s=gi(t)??n,a=ur(o,s),c=bI(a)?a.canActivate(t,e):Ue(s,()=>a(t,e));return Wt(c).pipe(ze())}));return b(i).pipe(cr())}function PI(e,t,n){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>DI(s)).filter(s=>s!==null).map(s=>Qi(()=>{let a=s.guards.map(c=>{let u=gi(s.node)??n,l=ur(c,u),d=_I(l)?l.canActivateChild(r,e):Ue(u,()=>l(r,e));return Wt(d).pipe(ze())});return b(a).pipe(cr())}));return b(o).pipe(cr())}function kI(e,t,n,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return b(!0);let s=o.map(a=>{let c=gi(t)??i,u=ur(a,c),l=MI(u)?u.canDeactivate(e,t,n,r):Ue(c,()=>u(e,t,n,r));return Wt(l).pipe(ze())});return b(s).pipe(cr())}function LI(e,t,n,r){let i=t.canLoad;if(i===void 0||i.length===0)return b(!0);let o=i.map(s=>{let a=ur(s,e),c=II(a)?a.canLoad(t,n):Ue(e,()=>a(t,n));return Wt(c)});return b(o).pipe(cr(),hg(r))}function hg(e){return Cr(ie(t=>{if(typeof t!="boolean")throw Ms(e,t)}),S(t=>t===!0))}function VI(e,t,n,r){let i=t.canMatch;if(!i||i.length===0)return b(!0);let o=i.map(s=>{let a=ur(s,e),c=SI(a)?a.canMatch(t,n):Ue(e,()=>a(t,n));return Wt(c)});return b(o).pipe(cr(),hg(r))}var fi=class{constructor(t){this.segmentGroup=t||null}},hi=class extends Error{constructor(t){super(),this.urlTree=t}};function tr(e){return Tn(new fi(e))}function jI(e){return Tn(new C(4e3,!1))}function UI(e){return Tn(lg(!1,be.GuardRejected))}var Gu=class{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 b(r);if(i.numberOfChildren>1||!i.children[x])return jI(`${t.redirectTo}`);i=i.children[x]}}applyRedirectCommands(t,n,r,i,o){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:y}=i,v=Ue(o,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:y}));if(v instanceof vt)throw new hi(v);n=v}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new hi(s);return s}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new vt(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 j(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 C(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}},Wu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function BI(e,t,n,r,i){let o=pg(e,t,n);return o.matched?(r=lI(t,r),VI(r,t,n,i).pipe(S(s=>s===!0?o:p({},Wu)))):b(o)}function pg(e,t,n){if(t.path==="**")return $I(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?p({},Wu):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||VE)(n,e,t);if(!i)return p({},Wu);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?p(p({},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 $I(e){return{matched:!0,parameters:e.length>0?qp(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Hp(e,t,n,r){return n.length>0&&GI(e,n,r)?{segmentGroup:new j(t,zI(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&WI(e,n,r)?{segmentGroup:new j(e.segments,HI(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function HI(e,t,n,r){let i={};for(let o of n)if(xs(e,t,o)&&!r[He(o)]){let s=new j([],{});i[He(o)]=s}return p(p({},r),i)}function zI(e,t){let n={};n[x]=t;for(let r of e)if(r.path===""&&He(r)!==x){let i=new j([],{});n[He(r)]=i}return n}function GI(e,t,n){return n.some(r=>xs(e,t,r)&&He(r)!==x)}function WI(e,t,n){return n.some(r=>xs(e,t,r))}function xs(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function qI(e,t,n){return t.length===0&&!e.children[n]}var qu=class{};function ZI(e,t,n,r,i,o,s="emptyOnly"){return new Zu(e,t,n,r,i,s,o).recognize()}var YI=31,Zu=class{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 Gu(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new C(4002,`'${t.segmentGroup}'`)}recognize(){let t=Hp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(S(({children:n,rootSnapshot:r})=>{let i=new Ie(r,n),o=new _s("",i),s=rI(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 ir([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),x,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,x,n).pipe(S(r=>({children:r,rootSnapshot:n})),wt(r=>{if(r instanceof hi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof fi?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(S(s=>s instanceof Ie?[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 q(o).pipe(Et(s=>{let a=r.children[s],c=dI(n,s);return this.processSegmentGroup(t,c,a,s,i)}),ia((s,a)=>(s.push(...a),s)),It(null),ra(),re(s=>{if(s===null)return tr(r);let a=gg(s);return QI(a),b(a)}))}processSegment(t,n,r,i,o,s,a){return q(n).pipe(Et(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,i,o,s,a).pipe(wt(u=>{if(u instanceof fi)return b(null);throw u}))),ze(c=>!!c),wt(c=>{if(fg(c))return qI(r,i,o)?b(new qu):tr(r);throw c}))}processSegmentAgainstRoute(t,n,r,i,o,s,a,c){return He(r)!==s&&(s===x||!xs(i,o,r))?tr(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):tr(i)}expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=pg(n,i,o);if(!c)return tr(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>YI&&(this.allowRedirects=!1));let f=new ir(o,u,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,zp(i),He(i),i.component??i._loadedComponent??null,i,Gp(i)),m=bs(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(i,y).pipe(re(v=>this.processSegment(t,r,n,v.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,i,o,s){let a=BI(n,r,i,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Ce(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(Ce(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new ir(h,d,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,zp(r),He(r),r.component??r._loadedComponent??null,r,Gp(r)),y=bs(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:v,slicedSegments:I}=Hp(n,h,f,u);if(I.length===0&&v.hasChildren())return this.processChildren(l,u,v,m).pipe(S(V=>new Ie(m,V)));if(u.length===0&&I.length===0)return b(new Ie(m,[]));let z=He(r)===o;return this.processSegment(l,u,v,I,z?x:o,!0,m).pipe(S(V=>new Ie(m,V instanceof Ie?[V]:[])))}))):tr(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):LI(t,n,r,this.urlSerializer).pipe(re(i=>i?this.configLoader.loadChildren(t,n).pipe(ie(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):UI(n))):b({routes:[],injector:t})}};function QI(e){e.sort((t,n)=>t.value.outlet===x?-1:n.value.outlet===x?1:t.value.outlet.localeCompare(n.value.outlet))}function KI(e){let t=e.value.routeConfig;return t&&t.path===""}function gg(e){let t=[],n=new Set;for(let r of e){if(!KI(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=gg(r.children);t.push(new Ie(r.value,i))}return t.filter(r=>!n.has(r))}function zp(e){return e.data||{}}function Gp(e){return e.resolve||{}}function JI(e,t,n,r,i,o){return re(s=>ZI(e,t,n,r,s.extractedUrl,i,o).pipe(S(({state:a,tree:c})=>N(p({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function XI(e,t){return re(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return b(n);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of mg(c))s.add(u);let a=0;return q(s).pipe(Et(c=>o.has(c)?eb(c,r,e,t):(c.data=bs(c,c.parent,e).resolve,b(void 0))),ie(()=>a++),An(1),re(c=>a===s.size?b(n):De))})}function mg(e){let t=e.children.map(n=>mg(n)).flat();return[e,...t]}function eb(e,t,n,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!cg(i)&&(o[pi]=i.title),tb(o,e,t,r).pipe(S(s=>(e._resolvedData=s,e.data=bs(e,e.parent,n).resolve,null)))}function tb(e,t,n,r){let i=bu(e);if(i.length===0)return b({});let o={};return q(i).pipe(re(s=>nb(e[s],t,n,r).pipe(ze(),ie(a=>{if(a instanceof di)throw Ms(new oi,a);o[s]=a}))),An(1),na(o),wt(s=>fg(s)?De:Tn(s)))}function nb(e,t,n,r){let i=gi(t)??r,o=ur(e,i),s=o.resolve?o.resolve(t,n):Ue(i,()=>o(t,n));return Wt(s)}function Eu(e){return Ce(t=>{let n=e(t);return n?q(n).pipe(S(()=>t)):b(t)})}var yg=(()=>{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===x);return r}getResolvedTitleForRoute(n){return n.data[pi]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(rb),providedIn:"root"})}}return e})(),rb=(()=>{class e extends yg{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(E(Vp))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),el=new w("",{providedIn:"root",factory:()=>({})}),ib=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ae({type:e,selectors:[["ng-component"]],standalone:!0,features:[Oe],decls:1,vars:0,template:function(r,i){r&1&&Re(0,"router-outlet")},dependencies:[Ju],encapsulation:2})}}return e})();function tl(e){let t=e.children&&e.children.map(tl),n=t?N(p({},e),{children:t}):p({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==x&&(n.component=ib),n}var nl=new w(""),ob=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Xc)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return b(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Wt(n.loadComponent()).pipe(S(vg),ie(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Qt(()=>{this.componentLoaders.delete(n)})),i=new Sn(r,()=>new X).pipe(Mn());return this.componentLoaders.set(n,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=sb(r,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(r)})),s=new Sn(o,()=>new X).pipe(Mn());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function sb(e,t,n,r){return Wt(e.loadChildren()).pipe(S(vg),re(i=>i instanceof Nr||Array.isArray(i)?b(i):q(t.compileModuleAsync(i))),S(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(nl,[],{optional:!0,self:!0}).flat()),{routes:s.map(tl),injector:o}}))}function ab(e){return e&&typeof e=="object"&&"default"in e}function vg(e){return ab(e)?e.default:e}var rl=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(cb),providedIn:"root"})}}return e})(),cb=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ub=new w("");var lb=new w(""),db=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=g(ob),this.environmentInjector=g(ge),this.urlSerializer=g(Qu),this.rootContexts=g(Ts),this.location=g(zr),this.inputBindingEnabled=g(Xu,{optional:!0})!==null,this.titleStrategy=g(yg),this.options=g(el,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(rl),this.createViewTransition=g(ub,{optional:!0}),this.navigationErrorHandler=g(lb,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ou(i)),r=i=>this.events.next(new Fu(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(N(p(p({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,i){return this.transitions=new ne({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ri,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ae(o=>o.id!==0),S(o=>N(p({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Ce(o=>{let s=!1,a=!1;return b(o).pipe(Ce(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",be.SupersededByNewNavigation),De;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?N(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new yn(c.id,this.urlSerializer.serialize(c.rawUrl),d,Tu.IgnoredSameUrlNavigation)),c.resolve(!1),De}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return b(c).pipe(Ce(d=>{let h=this.transitions?.getValue();return this.events.next(new ai(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?De:Promise.resolve(d)}),JI(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ie(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=N(p({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new ws(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:y}=c,v=new ai(d,this.urlSerializer.serialize(h),f,m);this.events.next(v);let I=sg(this.rootComponentType).snapshot;return this.currentTransition=o=N(p({},c),{targetSnapshot:I,urlAfterRedirects:h,extras:N(p({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,b(o)}else{let d="";return this.events.next(new yn(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Tu.IgnoredByUrlHandlingStrategy)),c.resolve(!1),De}}),ie(c=>{let u=new xu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),S(c=>(this.currentTransition=o=N(p({},c),{guards:vI(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),xI(this.environmentInjector,c=>this.events.next(c)),ie(c=>{if(o.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Ms(this.urlSerializer,c.guardsResult);let u=new Au(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ae(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",be.GuardRejected),!1)),Eu(c=>{if(c.guards.canActivateChecks.length)return b(c).pipe(ie(u=>{let l=new Nu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Ce(u=>{let l=!1;return b(u).pipe(XI(this.paramsInheritanceStrategy,this.environmentInjector),ie({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",be.NoDataFromResolver)}}))}),ie(u=>{let l=new Ru(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Eu(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ie(h=>{l.component=h}),S(()=>{})));for(let h of l.children)d.push(...u(h));return d};return Yi(u(c.targetSnapshot.root)).pipe(It(null),it(1))}),Eu(()=>this.afterPreactivation()),Ce(()=>{let{currentSnapshot:c,targetSnapshot:u}=o,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?q(l).pipe(S(()=>o)):b(o)}),S(c=>{let u=hI(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=N(p({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,o}),ie(()=>{this.events.next(new ui)}),yI(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),it(1),ie({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Gt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),ca(this.transitionAbortSubject.pipe(ie(c=>{throw c}))),Qt(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",be.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),wt(c=>{if(a=!0,dg(c))this.events.next(new yt(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),mI(c)?this.events.next(new ar(c.url,c.navigationBehaviorOptions)):o.resolve(!1);else{let u=new ci(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0);try{let l=Ue(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof di){let{message:d,cancellationCode:h}=Ms(this.urlSerializer,l);this.events.next(new yt(o.id,this.urlSerializer.serialize(o.extractedUrl),d,h)),this.events.next(new ar(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let d=n.errorHandler(c);o.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return De}))}))}cancelNavigationTransition(n,r,i){let o=new yt(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=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function fb(e){return e!==ri}var hb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(pb),providedIn:"root"})}}return e})(),Yu=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},pb=(()=>{class e extends Yu{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pr(e)))(i||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Dg=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>g(gb),providedIn:"root"})}}return e})(),gb=(()=>{class e extends Dg{constructor(){super(...arguments),this.location=g(zr),this.urlSerializer=g(Qu),this.options=g(el,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(rl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=sg(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ai)this.stateMemento=this.createStateMemento();else if(n instanceof yn)this.rawUrlTree=r.initialUrl;else if(n instanceof ws){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else n instanceof ui?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof yt&&(n.code===be.GuardRejected||n.code===be.NoDataFromResolver)?this.restoreHistory(r):n instanceof ci?this.restoreHistory(r,!0):n instanceof Gt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let i=n instanceof vt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let o=this.browserPageId,s=p(p({},r.extras.state),this.generateNgRouterState(r.id,o));this.location.replaceState(i,"",s)}else{let o=p(p({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",o)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pr(e)))(i||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ti=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ti||{});function mb(e,t){e.events.pipe(ae(n=>n instanceof Gt||n instanceof yt||n instanceof ci||n instanceof yn),S(n=>n instanceof Gt||n instanceof yn?ti.COMPLETE:(n instanceof yt?n.code===be.Redirect||n.code===be.SupersededByNewNavigation:!1)?ti.REDIRECTING:ti.FAILED),ae(n=>n!==ti.REDIRECTING),it(1)).subscribe(()=>{t()})}function yb(e){throw e}var vb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Db={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},il=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(ns),this.stateManager=g(Dg),this.options=g(el,{optional:!0})||{},this.pendingTasks=g(Pt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(db),this.urlSerializer=g(Qu),this.location=g(zr),this.urlHandlingStrategy=g(rl),this._events=new X,this.errorHandler=this.options.errorHandler||yb,this.navigated=!1,this.routeReuseStrategy=g(hb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(nl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Xu,{optional:!0}),this.eventsSubscription=new J,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof yt&&r.code!==be.Redirect&&r.code!==be.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Gt)this.navigated=!0;else if(r instanceof ar){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=p({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||fb(i.source)},s);this.scheduleNavigation(a,ri,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}wb(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.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),ri,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=p({},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)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=p(p({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=i?i.snapshot:this.routerState.snapshot.root;d=ng(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return rg(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let i=mn(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ri,null,r)}navigate(n,r={skipLocationChange:!1}){return Cb(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=p({},vb):r===!1?i=p({},Db):i=r,mn(n))return jp(this.currentUrlTree,n,i);let o=this.parseUrl(n);return jp(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,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return mb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Cb(e){for(let t=0;t{class e{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.href=null,this.onChanges=new X,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Gt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(mn(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),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:hh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}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:mn(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{this.\u0275fac=function(r){return new(r||e)(T(il),T(vn),Sc("tabindex"),T(un),T(Ke),T(Bt))}}static{this.\u0275dir=we({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&dn("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&ln("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Je],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Je],replaceUrl:[2,"replaceUrl","replaceUrl",Je],routerLink:"routerLink"},standalone:!0,features:[Ur,lt]})}}return e})();var Eb=new w("");function wg(e,...t){return an([{provide:nl,multi:!0,useValue:e},[],{provide:vn,useFactory:Ib,deps:[il]},{provide:rs,multi:!0,useFactory:_b},t.map(n=>n.\u0275providers)])}function Ib(e){return e.routerState.root}function bb(e,t){return{\u0275kind:e,\u0275providers:t}}function _b(){let e=g(xt);return t=>{let n=e.get(jt);if(t!==n.components[0])return;let r=e.get(il),i=e.get(Mb);e.get(Sb)===1&&r.initialNavigation(),e.get(Tb,null,A.Optional)?.setUpPreloading(),e.get(Eb,null,A.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Mb=new w("",{factory:()=>new X}),Sb=new w("",{providedIn:"root",factory:()=>1});var Tb=new w("");function Eg(){return bb(6,[{provide:Bt,useClass:gp}])}var Ig=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ae({type:e,selectors:[["app-root"]],standalone:!0,features:[Oe],decls:20,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","bg-light"],["routerLink","/",1,"navbar-brand"],["type","button","data-toggle","collapse","data-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],[1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["routerLink","/",1,"nav-link"],["routerLink","/other",1,"nav-link"],["routerLink","/inline",1,"nav-link"],[2,"line-height","30px"],[2,"margin-top","16px"]],template:function(r,i){r&1&&(U(0,"nav",0)(1,"a",1),Z(2,"ngx-tinymce"),B(),U(3,"button",2),Re(4,"span",3),B(),U(5,"div",4)(6,"ul",5)(7,"li",6)(8,"a",7),Z(9,"Home"),B()(),U(10,"li",6)(11,"a",8),Z(12,"Other"),B()(),U(13,"li",6)(14,"a",9),Z(15,"Inline"),B()()()()(),U(16,"p",10),Z(17,"Angular for tinymce"),B(),U(18,"div",11),Re(19,"router-outlet"),B())},dependencies:[Ju,Cg],encapsulation:2})}}return e})();var Ng=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}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{this.\u0275fac=function(r){return new(r||e)(T(un),T(Ke))}}static{this.\u0275dir=we({type:e})}}return e})(),xb=(()=>{class e extends Ng{static{this.\u0275fac=(()=>{let n;return function(i){return(n||(n=Pr(e)))(i||e)}})()}static{this.\u0275dir=we({type:e,features:[Xn]})}}return e})(),Fs=new w("");var Ab={provide:Fs,useExisting:sn(()=>Rg),multi:!0};function Nb(){let e=gt()?gt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Rb=new w(""),Rg=(()=>{class e extends Ng{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Nb())}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{this.\u0275fac=function(r){return new(r||e)(T(un),T(Ke),T(Rb,8))}}static{this.\u0275dir=we({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&&dn("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)})},features:[Hr([Ab]),Xn]})}}return e})();var Ob=new w(""),Fb=new w("");function Og(e){return e!=null}function Fg(e){return hn(e)?q(e):e}function Pg(e){let t={};return e.forEach(n=>{t=n!=null?p(p({},t),n):t}),Object.keys(t).length===0?null:t}function kg(e,t){return t.map(n=>n(e))}function Pb(e){return!e.validate}function Lg(e){return e.map(t=>Pb(t)?t:n=>t.validate(n))}function kb(e){if(!e)return null;let t=e.filter(Og);return t.length==0?null:function(n){return Pg(kg(n,t))}}function Vg(e){return e!=null?kb(Lg(e)):null}function Lb(e){if(!e)return null;let t=e.filter(Og);return t.length==0?null:function(n){let r=kg(n,t).map(Fg);return ta(r).pipe(S(Pg))}}function jg(e){return e!=null?Lb(Lg(e)):null}function bg(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Vb(e){return e._rawValidators}function jb(e){return e._rawAsyncValidators}function ol(e){return e?Array.isArray(e)?e:[e]:[]}function Ns(e,t){return Array.isArray(e)?e.includes(t):e===t}function _g(e,t){let n=ol(t);return ol(e).forEach(i=>{Ns(n,i)||n.push(i)}),n}function Mg(e,t){return ol(t).filter(n=>!Ns(e,n))}var Rs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Vg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=jg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_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}},sl=class extends Rs{get formDirective(){return null}get path(){return null}},wi=class extends Rs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},al=class{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}},Ub={"[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"},rR=N(p({},Ub),{"[class.ng-submitted]":"isSubmitted"}),hr=(()=>{class e extends al{constructor(n){super(n)}static{this.\u0275fac=function(r){return new(r||e)(T(wi,2))}}static{this.\u0275dir=we({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&Yc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Xn]})}}return e})();var yi="VALID",As="INVALID",lr="PENDING",vi="DISABLED",fr=class{},Os=class extends fr{constructor(t,n){super(),this.value=t,this.source=n}},Di=class extends fr{constructor(t,n){super(),this.pristine=t,this.source=n}},Ci=class extends fr{constructor(t,n){super(),this.touched=t,this.source=n}},dr=class extends fr{constructor(t,n){super(),this.status=t,this.source=n}};function Bb(e){return(Ps(e)?e.validators:e)||null}function $b(e){return Array.isArray(e)?Vg(e):e||null}function Hb(e,t){return(Ps(t)?t.asyncValidators:e)||null}function zb(e){return Array.isArray(e)?jg(e):e||null}function Ps(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var cl=class{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=is(()=>this.statusReactive()),this.statusReactive=Xo(void 0),this._pristine=is(()=>this.pristineReactive()),this.pristineReactive=Xo(!0),this._touched=is(()=>this.touchedReactive()),this.touchedReactive=Xo(!1),this._events=new X,this.events=this._events.asObservable(),this._onDisabledChange=[],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 Ut(this.statusReactive)}set status(t){Ut(()=>this.statusReactive.set(t))}get valid(){return this.status===yi}get invalid(){return this.status===As}get pending(){return this.status==lr}get disabled(){return this.status===vi}get enabled(){return this.status!==vi}get pristine(){return Ut(this.pristineReactive)}set pristine(t){Ut(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return Ut(this.touchedReactive)}set touched(t){Ut(()=>this.touchedReactive.set(t))}get untouched(){return!this.touched}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(_g(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(_g(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Mg(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Mg(t,this._rawAsyncValidators))}hasValidator(t){return Ns(this._rawValidators,t)}hasAsyncValidator(t){return Ns(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(N(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Ci(!0,r))}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 Ci(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(N(p({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Di(!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 Di(!0,r))}markAsPending(t={}){this.status=lr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new dr(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(N(p({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=vi,this.errors=null,this._forEachChild(i=>{i.disable(N(p({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Os(this.value,r)),this._events.next(new dr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(p({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=yi,this._forEachChild(r=>{r.enable(N(p({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(N(p({},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===yi||this.status===lr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Os(this.value,n)),this._events.next(new dr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(N(p({},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()?vi:yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=lr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Fg(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??!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 dr(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?vi:this.errors?As:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lr)?lr:this._anyControlsHaveStatus(As)?As:yi}_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 Di(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Ci(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ps(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=$b(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=zb(this._rawAsyncValidators)}};var Ug=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ul}),ul="always";function Gb(e,t){return[...t.path,e]}function Wb(e,t,n=ul){Zb(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),Yb(e,t),Kb(e,t),Qb(e,t),qb(e,t)}function Sg(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function qb(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Zb(e,t){let n=Vb(e);t.validator!==null?e.setValidators(bg(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=jb(e);t.asyncValidator!==null?e.setAsyncValidators(bg(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();Sg(t._rawValidators,i),Sg(t._rawAsyncValidators,i)}function Yb(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Bg(e,t)})}function Qb(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Bg(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Bg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Kb(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function Jb(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Xb(e){return Object.getPrototypeOf(e.constructor)===xb}function e_(e,t){if(!t)return null;Array.isArray(t);let n,r,i;return t.forEach(o=>{o.constructor===Rg?n=o:Xb(o)?r=o:i=o}),i||r||n||null}function Tg(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function xg(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var t_=class extends cl{constructor(t=null,n,r){super(Bb(n),Hb(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ps(n)&&(n.nonNullable||n.initialValueIsDefault)&&(xg(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){Tg(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Tg(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){xg(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 n_={provide:wi,useExisting:sn(()=>Dt)},Ag=Promise.resolve(),Dt=(()=>{class e extends wi{constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new t_,this._registered=!1,this.name="",this.update=new Y,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=e_(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),Jb(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(){Wb(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Ag.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&Je(r);Ag.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Gb(n,this._parent):[n]}static{this.\u0275fac=function(r){return new(r||e)(T(sl,9),T(Ob,10),T(Fb,10),T(Fs,10),T(ht,8),T(Ug,8))}}static{this.\u0275dir=we({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"],features:[Hr([n_]),Xn,lt]})}}return e})();var r_=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Ot({type:e})}static{this.\u0275inj=Rt({})}}return e})();var pr=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ug,useValue:n.callSetDisabledState??ul}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Ot({type:e})}static{this.\u0275inj=Rt({imports:[r_]})}}return e})();var i_=new w("HighlightJs-Config"),gr=(()=>{class e{constructor(n,r,i,o,s){this.el=n,this.ngModel=r,this.doc=i,this.ngZone=s,this.lang="html",this.mode="simple",Object.assign(this,o)}escapeHTML(n){return(n||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}init(){this.ngZone.runOutsideAngular(()=>{this.destroy();let n=this.el.nativeElement,r=this.code||""+n.innerHTML.trim(),i=this.doc;if(this.codeEl=i.createElement(this.mode==="default"?"div":"pre"),this.codeEl==null)return;let o=this.mode==="simple";o?(this.lang&&(this.codeEl.className=this.lang),this.parentEl=n.parentNode,this.parentEl.insertBefore(this.codeEl,n.nextSibling)):(this.parentEl=n,this.parentEl.innerHTML="",this.parentEl.appendChild(this.codeEl)),this.codeEl.innerHTML=r;let s=i.defaultView.hljs;s!=null&&(s.configure(p({},this.options)),o?s.highlightElement(this.codeEl):this.codeEl.querySelectorAll("pre code").forEach(a=>{s.highlightElement(a)}))})}destroy(){this.codeEl&&this.parentEl&&(this.parentEl.removeChild(this.codeEl),this.codeEl=void 0)}ngAfterViewInit(){this.init(),this.ngModel?this.modelValue$=this.ngModel.valueChanges?.subscribe(n=>{this.code=this.escapeHTML(n),this.init()}):this.initMutation()}ngOnDestroy(){this.destroy(),this.observer?.disconnect(),this.modelValue$?.unsubscribe()}initMutation(){typeof MutationObserver>"u"||this.ngZone.runOutsideAngular(()=>{this.observer=new MutationObserver(this.init.bind(this)),this.observer.observe(this.el.nativeElement,{characterData:!0,childList:!0,subtree:!0})})}static{this.\u0275fac=function(r){return new(r||e)(T(Ke),T(Dt,8),T(K),T(i_,8),T(G))}}static{this.\u0275dir=we({type:e,selectors:[["","highlight-js",""]],hostVars:2,hostBindings:function(r,i){r&2&&ts("display",i.mode==="simple"?"none":null)},inputs:{options:"options",lang:"lang",code:"code",mode:"mode"},exportAs:["highlightJs"],standalone:!0})}}return e})();var Dn=class{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}};var $g=(()=>{class e{constructor(n){this.doc=n,this.list={},this.cached={},this._notify=new ne([])}fixPaths(n){return n=n||[],Array.isArray(n)||(n=[n]),n.map(r=>{let i=typeof r=="string"?{path:r}:r;return i.type||(i.type=i.path.endsWith(".js")||i.callback?"script":"style"),i})}monitor(n){let r=this.fixPaths(n),i=[sa(),ae(o=>o.length!==0)];return r.length>0&&i.push(ae(o=>o.length===r.length&&o.every(s=>s.status==="ok"&&r.find(a=>a.path===s.path)))),this._notify.asObservable().pipe(Cr.apply(this,i))}clear(){this.list={},this.cached={}}load(n){return wn(this,null,function*(){return n=this.fixPaths(n),Promise.all(n.map(r=>r.type==="script"?this.loadScript(r.path,{callback:r.callback}):this.loadStyle(r.path))).then(r=>(this._notify.next(r),Promise.resolve(r)))})}loadScript(n,r){let{innerContent:i}=p({},r);return new Promise(o=>{if(this.list[n]===!0){o(N(p({},this.cached[n]),{status:"loading"}));return}this.list[n]=!0;let s=u=>{u.status==="ok"&&r?.callback?window[r?.callback]=()=>{a(u)}:a(u)},a=u=>{u.type="script",this.cached[n]=u,o(u),this._notify.next([u])},c=this.doc.createElement("script");c.type="text/javascript",c.src=n,c.charset="utf-8",i&&(c.innerHTML=i),c.readyState?c.onreadystatechange=()=>{(c.readyState==="loaded"||c.readyState==="complete")&&(c.onreadystatechange=null,s({path:n,status:"ok"}))}:c.onload=()=>s({path:n,status:"ok"}),c.onerror=u=>s({path:n,status:"error",error:u}),this.doc.getElementsByTagName("head")[0].appendChild(c)})}loadStyle(n,r){let{rel:i,innerContent:o}=p({rel:"stylesheet"},r);return new Promise(s=>{if(this.list[n]===!0){s(this.cached[n]);return}this.list[n]=!0;let a=this.doc.createElement("link");a.rel=i,a.type="text/css",a.href=n,o&&(a.innerHTML=o),this.doc.getElementsByTagName("head")[0].appendChild(a);let c={path:n,status:"ok",type:"style"};this.cached[n]=c,s(c)})}static{this.\u0275fac=function(r){return new(r||e)(E(K))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var a_=["*"];function c_(e,t){if(e&1&&Re(0,"textarea",3),e&2){let n=$r();ln("id",n.id)("placeholder",n.placeholder)}}function u_(e,t){if(e&1&&(U(0,"div"),ep(1),B()),e&2){let n=$r();ln("id",n.id)}}function l_(e,t){if(e&1&&(Qc(0),Z(1),Kc()),e&2){let n=$r(2);ye(),Jc(n._loading)}}function d_(e,t){if(e&1&&(U(0,"div",4),es(1,l_,2,1,"ng-container",5),B()),e&2){let n=$r();ye(),Ee("ngIf",n._loading)("ngIfElse",n._loadingTpl)}}var Hg=!(typeof document=="object"&&document),Cn=(()=>{class e{set disabled(n){this._disabled=n,this.setDisabled()}set loading(n){n instanceof Lr?(this._loading=null,this._loadingTpl=n):this._loading=n}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}constructor(n,r,i,o,s){this.defConfig=n,this.lazySrv=r,this.ngZone=i,this.doc=o,this.cd=s,this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new Y}initDelay(){Hg||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){let n=this._getWin();if(!n.tinymce)throw new Error("tinymce js\u6587\u4EF6\u52A0\u8F7D\u5931\u8D25");let{defConfig:r,config:i,id:o,inline:s}=this;if(this._instance)return;if(r?.baseURL){let u=""+r.baseURL;u.endsWith("/")&&(u=u.substring(0,u.length-1)),n.tinymce.baseURL=u}let a=p(p({},r?.config),i),c=N(p(p({selector:"#"+o,inline:s},r?.config),i),{setup:u=>{this._instance=u,this.onChange&&u.on("change keyup",()=>{this.value=u.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),typeof a.setup=="function"&&a.setup(u)},init_instance_callback:u=>{u&&this.value&&u.setContent(this.value),this.setDisabled(),typeof a.init_instance_callback=="function"&&a.init_instance_callback(u),this.ready.emit(u)}});a.auto_focus&&(c.auto_focus=o),this.ngZone.runOutsideAngular(()=>n.tinymce.init(c)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance!=null&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove()}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{let n=this._disabled?"readonly":"design",r=this._instance.setMode;typeof r=="function"?r(n):this._instance.mode.set(n)})}ngAfterViewInit(){if(Hg)return;if(this._getWin().tinymce){this.initDelay();return}let{defConfig:n}=this,r=n&&n.baseURL,i=n&&n.fileName,o=(r||"./assets/tinymce/")+(i||"tinymce.min.js");this.lazySrv.monitor(o).subscribe(()=>this.initDelay()),this.lazySrv.load(o)}ngOnChanges(n){this._instance&&n.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(n){this.value=n||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this.setDisabled()}static{this.\u0275fac=function(r){return new(r||e)(T(Dn,8),T($g),T(G),T(K),T(ht))}}static{this.\u0275cmp=Ae({type:e,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:[2,"inline","inline",Je],disabled:[2,"disabled","disabled",Je],loading:"loading",delay:[2,"delay","delay",tu]},outputs:{ready:"ready"},exportAs:["tinymce"],standalone:!0,features:[Hr([{provide:Fs,useExisting:sn(()=>e),multi:!0}]),Ur,lt,Oe],ngContentSelectors:a_,decls:3,vars:3,consts:[["class","tinymce-selector",4,"ngIf"],[4,"ngIf"],["class","loading",4,"ngIf"],[1,"tinymce-selector"],[1,"loading"],[4,"ngIf","ngIfElse"]],template:function(r,i){r&1&&(Xh(),es(0,c_,1,2,"textarea",0)(1,u_,2,1,"div",1)(2,d_,2,2,"div",2)),r&2&&(Ee("ngIf",!i.inline),ye(),Ee("ngIf",i.inline),ye(),Ee("ngIf",i.load))},dependencies:[mp],styles:[`tinymce .tinymce-selector{display:none} -`],encapsulation:2,changeDetection:0})}}return e})();function zg(e){return an([{provide:Dn,useValue:e}])}var Gg=(()=>{class e{constructor(n){this.san=n,this.html=` -

TinyMCE Logo -

-

Welcome to the TinyMCE Cloud demo!

-
Note, this includes some "enterprise/premium" features.
Visit the pricing page to learn more about our premium plugins.
-

Please try out the features provided in this full featured example.

- -

Got questions or need help?

- - -

A simple table to play with

- - - - - - - - - - - - - - - - - - - - -
ProductCostReally?
TinyMCE CloudGet started for freeYES!
PluploadFreeYES!
- -

Found a bug?

-

If you think you have found a bug please create an issue on the GitHub repo to report it to the developers.

- -

Finally ...

-

Don't forget to check out our other product Plupload, your ultimate upload solution featuring HTML5 upload support.

-

Thanks for supporting TinyMCE! We hope it helps you and your users create great content.
All the best from the TinyMCE team.

- `,this.config={height:350}}static{this.\u0275fac=function(r){return new(r||e)(T(Jr))}}static{this.\u0275cmp=Ae({type:e,selectors:[["app-home"]],standalone:!0,features:[Oe],decls:17,vars:4,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],[3,"ngModelChange","ngModel","config"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"],["disabled","",3,"ngModelChange","ngModel"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1),Z(2,"Basic"),B(),U(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html">'),B(),U(7,"tinymce",4),Vt("ngModelChange",function(s){return fn(i.html,s)||(i.html=s),s}),B(),Z(8," Result: "),U(9,"div",5)(10,"div",2),Re(11,"blockquote",6),B()()()(),U(12,"div",0)(13,"div",1),Z(14,"Disabled"),B(),U(15,"div",2)(16,"tinymce",7),Vt("ngModelChange",function(s){return fn(i.html,s)||(i.html=s),s}),B()()()),r&2&&(ye(7),Lt("ngModel",i.html),Ee("config",i.config),ye(4),Ee("innerHTML",i.san.bypassSecurityTrustHtml(i.html),Zo),ye(5),Lt("ngModel",i.html))},dependencies:[pr,hr,Dt,gr,Cn],encapsulation:2})}}return e})();var Wg=(()=>{class e{constructor(){this.html=`now: ${+new Date}`,this.config={height:500,menubar:!1,plugins:["advlist autolink lists link image charmap print preview anchor","searchreplace visualblocks code fullscreen","insertdatetime media table paste code help wordcount"],toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_css:"//www.tiny.cloud/css/codepen.min.css"}}ready(n){console.log("ready",n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ae({type:e,selectors:[["app-other"]],standalone:!0,features:[Oe],decls:8,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["loading","\u52A0\u8F7D\u4E2D\u2026\u2026",3,"ngModelChange","ready","ngModel","config"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1),Z(2,"Loading"),B(),U(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html">'),B(),U(7,"tinymce",4),Vt("ngModelChange",function(s){return fn(i.html,s)||(i.html=s),s}),dn("ready",function(s){return i.ready(s)}),B()()()),r&2&&(ye(7),Lt("ngModel",i.html),Ee("config",i.config))},dependencies:[pr,hr,Dt,gr,Cn]})}}return e})();var qg=(()=>{class e{constructor(n){this.san=n,this.html=` -
-
-

-

The world’s first rich text editor in the cloud

-

-
-

- Have you heard about Tiny Cloud? It’s the first step in our journey to help you deliver great content creation - experiences, no matter your level of expertise. 50,000 developers already agree. They get free access to our global CDN, image - proxy services and auto updates to the TinyMCE editor. They’re also ready for some exciting updates coming soon. -

-

- One of these enhancements is Tiny Drive: imagine file management for TinyMCE, in the cloud, made super easy. - Learn more at tiny.cloud/tinydrive, where you’ll find a working demo and an - opportunity to provide feedback to the product team. -

-
-
-

An editor for every project

-
-

Here are some of our customer’s most common use cases for TinyMCE:

-
    -
  • Content Management Systems (e.g. WordPress, Umbraco)
  • -
  • Learning Management Systems (e.g. Blackboard)
  • -
  • Customer Relationship Management and marketing automation (e.g. Marketo)
  • -
  • Email marketing (e.g. Constant Contact)
  • -
  • Content creation in SaaS systems (e.g. Eventbrite, Evernote, GoFundMe, Zendesk)
  • -
-

- And those use cases are just the start. TinyMCE is incredibly flexible, and with hundreds of APIs there’s likely a - solution for your editor project. If you haven’t experienced Tiny Cloud, get started today. You’ll even get a free - trial of our premium plugins – no credit card required! -

-
-
`}ready(n){console.log("ready",n)}static{this.\u0275fac=function(r){return new(r||e)(T(Jr))}}static{this.\u0275cmp=Ae({type:e,selectors:[["app-inline"]],standalone:!0,features:[Oe],decls:12,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["inline","",3,"ngModelChange","ngModel"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"]],template:function(r,i){r&1&&(U(0,"div",0)(1,"div",1),Z(2,"Inline mode"),B(),U(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html" inline>'),B(),U(7,"tinymce",4),Vt("ngModelChange",function(s){return fn(i.html,s)||(i.html=s),s}),B(),Z(8," Result: "),U(9,"div",5)(10,"div",2),Re(11,"blockquote",6),B()()()()),r&2&&(ye(7),Lt("ngModel",i.html),ye(4),Ee("innerHTML",i.san.bypassSecurityTrustHtml(i.html),Zo))},dependencies:[pr,hr,Dt,gr,Cn],encapsulation:2})}}return e})();var Zg=[{path:"",component:Gg},{path:"other",component:Wg},{path:"inline",component:qg}];Lp(Ig,{providers:[xp(),wg(Zg,Eg()),zg({baseURL:"//cdn.tiny.cloud/1/no-api-key/tinymce/7/"})]}).catch(e=>console.error(e)); diff --git a/main-L33PEZ42.js b/main-L33PEZ42.js new file mode 100644 index 0000000..6ca5ed5 --- /dev/null +++ b/main-L33PEZ42.js @@ -0,0 +1,87 @@ +var lm=Object.defineProperty,dm=Object.defineProperties;var fm=Object.getOwnPropertyDescriptors;var ml=Object.getOwnPropertySymbols;var hm=Object.prototype.hasOwnProperty,pm=Object.prototype.propertyIsEnumerable;var yl=(e,t,n)=>t in e?lm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})hm.call(t,n)&&yl(e,n,t[n]);if(ml)for(var n of ml(t))pm.call(t,n)&&yl(e,n,t[n]);return e},N=(e,t)=>dm(e,fm(t));var qt=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Us(e,t){return Object.is(e,t)}var ee=null,_o=!1,$s=1,fe=Symbol("SIGNAL");function R(e){let t=ee;return ee=e,t}function vl(){return ee}var mr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function yr(e){if(_o)throw new Error("");if(ee===null)return;ee.consumerOnSignalRead(e);let t=ee.nextProducerIndex++;if(No(ee),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Gs(e){No(e);for(let t=0;t0}function No(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function El(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function bl(e){return e.producerNode!==void 0}function Il(e){let t=Object.create(ym);t.computation=e;let n=()=>{if(Hs(t),yr(t),t.value===Mo)throw t.error;return t.value};return n[fe]=t,n}var Vs=Symbol("UNSET"),js=Symbol("COMPUTING"),Mo=Symbol("ERRORED"),ym=N(g({},mr),{value:Vs,dirty:!0,error:null,equal:Us,producerMustRecompute(e){return e.value===Vs||e.value===js},producerRecomputeValue(e){if(e.value===js)throw new Error("Detected cycle in computations.");let t=e.value;e.value=js;let n=So(e),r;try{r=e.computation()}catch(o){r=Mo,e.error=o}finally{zs(e,n)}if(t!==Vs&&t!==Mo&&r!==Mo&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function vm(){throw new Error}var _l=vm;function Ml(){_l()}function Sl(e){_l=e}var Dm=null;function Tl(e){let t=Object.create(Ws);t.value=e;let n=()=>(yr(t),t.value);return n[fe]=t,n}function vr(e,t){Cl()||Ml(),e.equal(e.value,t)||(e.value=t,Cm(e))}function Nl(e,t){Cl()||Ml(),vr(e,t(e.value))}var Ws=N(g({},mr),{equal:Us,value:void 0});function Cm(e){e.version++,gm(),Dl(e),Dm?.()}function M(e){return typeof e=="function"}function En(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 Ao=En(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Dr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=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 i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof Ao?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Al(i)}catch(s){t=t??[],s instanceof Ao?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ao(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Al(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)&&Dr(n,t)}remove(t){let{_finalizers:n}=this;n&&Dr(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Zs=K.EMPTY;function xo(e){return e instanceof K||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function Al(e){M(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var bn={setTimeout(e,t,...n){let{delegate:r}=bn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=bn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ro(e){bn.setTimeout(()=>{let{onUnhandledError:t}=Le;if(t)t(e);else throw e})}function Cr(){}var xl=Ys("C",void 0,void 0);function Rl(e){return Ys("E",void 0,e)}function Ol(e){return Ys("N",e,void 0)}function Ys(e,t,n){return{kind:e,value:t,error:n}}var Wt=null;function In(e){if(Le.useDeprecatedSynchronousErrorHandling){let t=!Wt;if(t&&(Wt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Wt;if(Wt=null,n)throw r}}else e()}function Fl(e){Le.useDeprecatedSynchronousErrorHandling&&Wt&&(Wt.errorThrown=!0,Wt.error=e)}var Zt=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xo(t)&&t.add(this)):this.destination=bm}static create(t,n,r){return new et(t,n,r)}next(t){this.isStopped?Ks(Ol(t),this):this._next(t)}error(t){this.isStopped?Ks(Rl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ks(xl,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()}}},wm=Function.prototype.bind;function Qs(e,t){return wm.call(e,t)}var Js=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Oo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Oo(r)}else Oo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Oo(n)}}},et=class extends Zt{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Le.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Qs(t.next,i),error:t.error&&Qs(t.error,i),complete:t.complete&&Qs(t.complete,i)}):o=t}this.destination=new Js(o)}};function Oo(e){Le.useDeprecatedSynchronousErrorHandling?Fl(e):Ro(e)}function Em(e){throw e}function Ks(e,t){let{onStoppedNotification:n}=Le;n&&bn.setTimeout(()=>n(e,t))}var bm={closed:!0,next:Cr,error:Em,complete:Cr};var _n=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ve(e){return e}function wr(...e){return Xs(e)}function Xs(e){return e.length===0?ve:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=(()=>{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,o){let i=_m(n)?n:new et(n,r,o);return In(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Pl(r),new r((o,i)=>{let s=new et({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[_n](){return this}pipe(...n){return Xs(n)(this)}toPromise(n){return n=Pl(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pl(e){var t;return(t=e??Le.Promise)!==null&&t!==void 0?t:Promise}function Im(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function _m(e){return e&&e instanceof Zt||Im(e)&&xo(e)}function ea(e){return M(e?.lift)}function O(e){return t=>{if(ea(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 F(e,t,n,r,o){return new ta(e,t,n,r,o)}var ta=class extends Zt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(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 Mn(){return O((e,t)=>{let n=null;e._refCount++;let r=F(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Sn=class extends P{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ea(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 K;let n=this.getSubject();t.add(this.source.subscribe(F(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return Mn()(this)}};var kl=En(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Y=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kl}next(n){In(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){In(()=>{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(){In(()=>{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:o,observers:i}=this;return r||o?Zs:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Dr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new Fo(t,n),e})(),Fo=class extends Y{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:Zs}};var te=class extends Y{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 De=new P(e=>e.complete());function Ll(e){return e&&M(e.schedule)}function Vl(e){return e[e.length-1]}function Po(e){return M(Vl(e))?e.pop():void 0}function Ct(e){return Ll(Vl(e))?e.pop():void 0}function Bl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function jl(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 Yt(e){return this instanceof Yt?(this.v=e,this):new Yt(e)}function Ul(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(y){return new Promise(function(v,I){i.push([f,y,v,I])>1||c(f,y)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(y){h(i[0][3],y)}}function u(f){f.value instanceof Yt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function $l(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 jl=="function"?jl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var ko=e=>e&&typeof e.length=="number"&&typeof e!="function";function Lo(e){return M(e?.then)}function Vo(e){return M(e[_n])}function jo(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Bo(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 Mm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Uo=Mm();function $o(e){return M(e?.[Uo])}function Ho(e){return Ul(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Yt(n.read());if(o)return yield Yt(void 0);yield yield Yt(r)}}finally{n.releaseLock()}})}function zo(e){return M(e?.getReader)}function q(e){if(e instanceof P)return e;if(e!=null){if(Vo(e))return Sm(e);if(ko(e))return Tm(e);if(Lo(e))return Nm(e);if(jo(e))return Hl(e);if($o(e))return Am(e);if(zo(e))return xm(e)}throw Bo(e)}function Sm(e){return new P(t=>{let n=e[_n]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tm(e){return new P(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ro)})}function Am(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Hl(e){return new P(t=>{Rm(e,t).catch(n=>t.error(n))})}function xm(e){return Hl(Ho(e))}function Rm(e,t){var n,r,o,i;return Bl(this,void 0,void 0,function*(){try{for(n=$l(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Go(e,t=0){return O((n,r)=>{n.subscribe(F(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function qo(e,t=0){return O((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zl(e,t){return q(e).pipe(qo(t),Go(t))}function Gl(e,t){return q(e).pipe(qo(t),Go(t))}function ql(e,t){return new P(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Wl(e,t){return new P(n=>{let r;return he(n,t,()=>{r=e[Uo](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Wo(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Zl(e,t){return Wo(Ho(e),t)}function Yl(e,t){if(e!=null){if(Vo(e))return zl(e,t);if(ko(e))return ql(e,t);if(Lo(e))return Gl(e,t);if(jo(e))return Wo(e,t);if($o(e))return Wl(e,t);if(zo(e))return Zl(e,t)}throw Bo(e)}function W(e,t){return t?Yl(e,t):q(e)}function _(...e){let t=Ct(e);return W(e,t)}function Tn(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new P(t?o=>t.schedule(r,0,o):r)}function na(e){return!!e&&(e instanceof P||M(e.lift)&&M(e.subscribe))}var tt=En(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function S(e,t){return O((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Om}=Array;function Fm(e,t){return Om(t)?e(...t):e(t)}function Zo(e){return S(t=>Fm(e,t))}var{isArray:Pm}=Array,{getPrototypeOf:km,prototype:Lm,keys:Vm}=Object;function Yo(e){if(e.length===1){let t=e[0];if(Pm(t))return{args:t,keys:null};if(jm(t)){let n=Vm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function jm(e){return e&&typeof e=="object"&&km(e)===Lm}function Qo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ko(...e){let t=Ct(e),n=Po(e),{args:r,keys:o}=Yo(e);if(r.length===0)return W([],t);let i=new P(Bm(r,t,o?s=>Qo(o,s):ve));return n?i.pipe(Zo(n)):i}function Bm(e,t,n=ve){return r=>{Ql(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=W(e[c],t),l=!1;u.subscribe(F(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ql(e,t,n){e?he(n,e,t):t()}function Kl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u{i&&t.next(y),u++;let v=!1;q(n(y,l++)).subscribe(F(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&um(I)):m(I)}h()}catch(I){t.error(I)}}))};return e.subscribe(F(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ne(e,t,n=1/0){return M(t)?ne((r,o)=>S((i,s)=>t(r,i,o,s))(q(e(r,o))),n):(typeof t=="number"&&(n=t),O((r,o)=>Kl(r,o,e,n)))}function ra(e=1/0){return ne(ve,e)}function Jl(){return ra(1)}function Nn(...e){return Jl()(W(e,Ct(e)))}function Jo(e){return new P(t=>{q(e()).subscribe(t)})}function oa(...e){let t=Po(e),{args:n,keys:r}=Yo(e),o=new P(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Qo(r,a):a),i.complete())}))}});return t?o.pipe(Zo(t)):o}function ae(e,t){return O((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function wt(e){return O((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=q(e(s,wt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Xl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(F(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Et(e,t){return M(t)?ne(e,t,1):ne(e,1)}function bt(e){return O((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function nt(e){return e<=0?()=>De:O((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ia(e){return S(()=>e)}function Xo(e=Um){return O((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Um(){return new tt}function Qt(e){return O((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ze(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):ve,nt(1),n?bt(t):Xo(()=>new tt))}function An(e){return e<=0?()=>De:O((t,n)=>{let r=[];t.subscribe(F(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function sa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):ve,An(1),n?bt(t):Xo(()=>new tt))}function aa(e,t){return O(Xl(e,t,arguments.length>=2,!0))}function ua(e={}){let{connector:t=()=>new Y,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},m=()=>{let y=s;f(),y?.unsubscribe()};return O((y,v)=>{u++,!d&&!l&&h();let I=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=ca(m,o))}),I.subscribe(v),!s&&u>0&&(s=new et({next:z=>I.next(z),error:z=>{d=!0,h(),a=ca(f,n,z),I.error(z)},complete:()=>{l=!0,h(),a=ca(f,r),I.complete()}}),q(y).subscribe(s))})(i)}}function ca(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new et({next:()=>{r.unsubscribe(),e()}});return q(t(...n)).subscribe(r)}function la(...e){let t=Ct(e);return O((n,r)=>{(t?Nn(e,n,t):Nn(e,n)).subscribe(r)})}function Ce(e,t){return O((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let u=0,l=i++;q(e(c,l)).subscribe(o=F(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function da(e){return O((t,n)=>{q(e).subscribe(F(n,()=>n.complete(),Cr)),!n.closed&&t.subscribe(n)})}function oe(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ve}var Gd="https://g.co/ng/security#xss",D=class extends Error{code;constructor(t,n){super(ki(t,n)),this.code=t}};function ki(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Li=Symbol("InputSignalNode#UNSET"),qd=N(g({},Ws),{transformFn:void 0,applyValueToInputSignal(e,t){vr(e,t)}});function Wd(e,t){let n=Object.create(qd);n.value=e,n.transformFn=t?.transform;function r(){if(yr(n),n.value===Li)throw new D(-950,!1);return n.value}return r[fe]=n,r}function Vi(e){return{toString:e}.toString()}var _r=globalThis;function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function $m(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function pe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(pe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function ed(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Hm=$({__forward_ref__:$});function an(e){return e.__forward_ref__=an,e.toString=function(){return pe(this())},e}function ce(e){return Zd(e)?e():e}function Zd(e){return typeof e=="function"&&e.hasOwnProperty(Hm)&&e.__forward_ref__===an}function w(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 ji(e){return td(e,Qd)||td(e,Kd)}function Yd(e){return ji(e)!==null}function td(e,t){return e.hasOwnProperty(t)?e[t]:null}function zm(e){let t=e&&(e[Qd]||e[Kd]);return t||null}function nd(e){return e&&(e.hasOwnProperty(rd)||e.hasOwnProperty(Gm))?e[rd]:null}var Qd=$({\u0275prov:$}),rd=$({\u0275inj:$}),Kd=$({ngInjectableDef:$}),Gm=$({ngInjectorDef:$}),C=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=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Jd(e){return e&&!!e.\u0275providers}var qm=$({\u0275cmp:$}),Wm=$({\u0275dir:$}),Zm=$({\u0275pipe:$}),Ym=$({\u0275mod:$}),di=$({\u0275fac:$}),Ir=$({__NG_ELEMENT_ID__:$}),od=$({__NG_ENV_ID__:$});function Pr(e){return typeof e=="string"?e:e==null?"":String(e)}function Qm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pr(e)}function Km(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,e)}function yc(e,t){throw new D(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),Ia;function Xd(){return Ia}function Se(e){let t=Ia;return Ia=e,t}function ef(e,t,n){let r=ji(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&A.Optional)return null;if(t!==void 0)return t;yc(e,"Injector")}var Jm={},Mr=Jm,Xm="__NG_DI_FLAG__",fi="ngTempTokenPath",ey="ngTokenPath",ty=/\n/gm,ny="\u0275",id="__source",Fn;function ry(){return Fn}function It(e){let t=Fn;return Fn=e,t}function oy(e,t=A.Default){if(Fn===void 0)throw new D(-203,!1);return Fn===null?ef(e,void 0,t):Fn.get(e,t&A.Optional?null:void 0,t)}function b(e,t=A.Default){return(Xd()||oy)(ce(e),t)}function p(e,t=A.Default){return b(e,Bi(t))}function Bi(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _a(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):pe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ty,` + `)}`}function kn(e,t){let n=e.hasOwnProperty(di);return n?e[di]:null}function vc(e,t){e.forEach(n=>Array.isArray(n)?vc(n,t):t(n))}function tf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function hi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cy(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ly(e,t,n){let r=kr(e,t);return r>=0?e[r|1]=n:(r=~r,uy(e,r,t,n)),r}function fa(e,t){let n=kr(e,t);if(n>=0)return e[n|1]}function kr(e,t){return dy(e,t,1)}function dy(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return vc(t,s=>{let a=s;Ma(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lf(o,i),n}function lf(e,t){for(let n=0;n{t(i,r)})}}function Ma(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=nd(e),s=!i&&Jt(e);if(!i&&!s){let c=e.ngModule;if(i=nd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ma(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{vc(i.imports,l=>{Ma(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&lf(u,t)}if(!a){let u=kn(o)||(()=>new o);t({provide:o,useFactory:u,deps:Te},o),t({provide:rf,useValue:o,multi:!0},o),t({provide:Vn,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Dc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Dc(e,t){for(let n of e)Jd(n)&&(n=n.\u0275providers),Array.isArray(n)?Dc(n,t):t(n)}var hy=$({provide:String,useValue:$});function df(e){return e!==null&&typeof e=="object"&&hy in e}function py(e){return!!(e&&e.useExisting)}function gy(e){return!!(e&&e.useFactory)}function jn(e){return typeof e=="function"}function my(e){return!!e.useClass}var Ui=new C(""),si={},yy={},ha;function Cc(){return ha===void 0&&(ha=new pi),ha}var ge=class{},Sr=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,o){super(),this.parent=n,this.source=r,this.scopes=o,Ta(t,s=>this.processProvider(s)),this.records.set(nf,xn(void 0,this)),o.has("environment")&&this.records.set(ge,xn(void 0,this));let i=this.records.get(Ui);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rf,Te,A.Self))}destroy(){Er(this),this._destroyed=!0;let t=R(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(),R(t)}}onDestroy(t){return Er(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Er(this);let n=It(this),r=Se(void 0),o;try{return t()}finally{It(n),Se(r)}}get(t,n=Mr,r=A.Default){if(Er(this),t.hasOwnProperty(od))return t[od](this);r=Bi(r);let o,i=It(this),s=Se(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Ey(t)&&ji(t);u&&this.injectableDefInScope(u)?c=xn(Sa(t),si):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&A.Self?Cc():this.parent;return n=r&A.Optional&&n===Mr?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[fi]=a[fi]||[]).unshift(pe(t)),i)throw a;return sy(a,t,"R3InjectorError",this.source)}else throw a}finally{Se(s),It(i)}}resolveInjectorInitializers(){let t=R(null),n=It(this),r=Se(void 0),o;try{let i=this.get(Vn,Te,A.Self);for(let s of i)s()}finally{It(n),Se(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(pe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ce(t);let n=jn(t)?t:ce(t&&t.provide),r=Dy(t);if(!jn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=xn(void 0,si,!0),o.factory=()=>_a(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=R(null);try{return n.value===si&&(n.value=yy,n.value=n.factory()),typeof n.value=="object"&&n.value&&wy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(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 Sa(e){let t=ji(e),n=t!==null?t.factory:kn(e);if(n!==null)return n;if(e instanceof C)throw new D(204,!1);if(e instanceof Function)return vy(e);throw new D(204,!1)}function vy(e){if(e.length>0)throw new D(204,!1);let n=zm(e);return n!==null?()=>n.factory(e):()=>new e}function Dy(e){if(df(e))return xn(void 0,e.useValue);{let t=ff(e);return xn(t,si)}}function ff(e,t,n){let r;if(jn(e)){let o=ce(e);return kn(o)||Sa(o)}else if(df(e))r=()=>ce(e.useValue);else if(gy(e))r=()=>e.useFactory(..._a(e.deps||[]));else if(py(e))r=()=>b(ce(e.useExisting));else{let o=ce(e&&(e.useClass||e.provide));if(Cy(e))r=()=>new o(..._a(e.deps));else return kn(o)||Sa(o)}return r}function Er(e){if(e.destroyed)throw new D(205,!1)}function xn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Cy(e){return!!e.deps}function wy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ey(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function Ta(e,t){for(let n of e)Array.isArray(n)?Ta(n,t):n&&Jd(n)?Ta(n.\u0275providers,t):t(n)}function be(e,t){e instanceof Sr&&Er(e);let n,r=It(e),o=Se(void 0);try{return t()}finally{It(r),Se(o)}}function by(){return Xd()!==void 0||ry()!=null}function Iy(e){return typeof e=="function"}var ct=0,x=1,E=2,ue=3,je=4,me=5,Tr=6,gi=7,Be=8,Bn=9,rt=10,J=11,Nr=12,sd=13,Wn=14,Ne=15,Un=16,Rn=17,$n=18,$i=19,hf=20,_t=21,pa=22,mi=23,we=24,Ae=25,pf=1;var Xt=7,yi=8,vi=9,Ee=10,Di=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Di||{});function Mt(e){return Array.isArray(e)&&typeof e[pf]=="object"}function ut(e){return Array.isArray(e)&&e[pf]===!0}function gf(e){return(e.flags&4)!==0}function Hi(e){return e.componentOffset>-1}function wc(e){return(e.flags&1)===1}function St(e){return!!e.template}function Na(e){return(e[E]&512)!==0}var Aa=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function mf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var lt=(()=>{let e=()=>yf;return e.ngInherit=!0,e})();function yf(e){return e.type.prototype.ngOnChanges&&(e.setInput=My),_y}function _y(){let e=Df(this),t=e?.current;if(t){let n=e.previous;if(n===Ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function My(e,t,n,r,o){let i=this.declaredInputs[r],s=Df(e)||Sy(e,{previous:Ln,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Aa(u&&u.currentValue,n,c===Ln),mf(e,t,o,n)}var vf="__ngSimpleChanges__";function Df(e){return e[vf]||null}function Sy(e,t){return e[vf]=t}var ad=null;var Ge=function(e,t,n){ad?.(e,t,n)},Ty="svg",Ny="math";function We(e){for(;Array.isArray(e);)e=e[ct];return e}function Cf(e,t){return We(t[e])}function xe(e,t){return We(t[e.index])}function Ec(e,t){return e.data[t]}function Rt(e,t){let n=t[e];return Mt(n)?n:n[ct]}function bc(e){return(e[E]&128)===128}function Ay(e){return ut(e[ue])}function Ci(e,t){return t==null?null:e[t]}function wf(e){e[Rn]=0}function Ic(e){e[E]&1024||(e[E]|=1024,bc(e)&&Gi(e))}function xy(e,t){for(;e>0;)t=t[Wn],e--;return t}function zi(e){return!!(e[E]&9216||e[we]?.dirty)}function xa(e){e[rt].changeDetectionScheduler?.notify(9),e[E]&64&&(e[E]|=1024),zi(e)&&Gi(e)}function Gi(e){e[rt].changeDetectionScheduler?.notify(0);let t=en(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!bc(t)));)t=en(t)}function Ef(e,t){if((e[E]&256)===256)throw new D(911,!1);e[_t]===null&&(e[_t]=[]),e[_t].push(t)}function Ry(e,t){if(e[_t]===null)return;let n=e[_t].indexOf(t);n!==-1&&e[_t].splice(n,1)}function en(e){let t=e[ue];return ut(t)?t[ue]:t}var k={lFrame:Rf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ra=!1;function Oy(){return k.lFrame.elementDepthCount}function Fy(){k.lFrame.elementDepthCount++}function Py(){k.lFrame.elementDepthCount--}function bf(){return k.bindingsEnabled}function If(){return k.skipHydrationRootTNode!==null}function ky(e){return k.skipHydrationRootTNode===e}function Ly(){k.skipHydrationRootTNode=null}function H(){return k.lFrame.lView}function ye(){return k.lFrame.tView}function le(){let e=_f();for(;e!==null&&e.type===64;)e=e.parent;return e}function _f(){return k.lFrame.currentTNode}function Vy(){let e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lr(e,t){let n=k.lFrame;n.currentTNode=e,n.isParent=t}function Mf(){return k.lFrame.isParent}function Sf(){k.lFrame.isParent=!1}function Tf(){return Ra}function cd(e){let t=Ra;return Ra=e,t}function jy(e){return k.lFrame.bindingIndex=e}function Vr(){return k.lFrame.bindingIndex++}function By(e){let t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Uy(){return k.lFrame.inI18n}function $y(e,t){let n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,Oa(t)}function Hy(){return k.lFrame.currentDirectiveIndex}function Oa(e){k.lFrame.currentDirectiveIndex=e}function zy(e){let t=k.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Nf(e){k.lFrame.currentQueryIndex=e}function Gy(e){let t=e[x];return t.type===2?t.declTNode:t.type===1?e[me]:null}function Af(e,t,n){if(n&A.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&A.Host);)if(o=Gy(i),o===null||(i=i[Wn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=k.lFrame=xf();return r.currentTNode=t,r.lView=e,!0}function _c(e){let t=xf(),n=e[x];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xf(){let e=k.lFrame,t=e===null?null:e.child;return t===null?Rf(e):t}function Rf(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 Of(){let e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ff=Of;function Mc(){let e=Of();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 qy(e){return(k.lFrame.contextLView=xy(e,k.lFrame.contextLView))[Be]}function Zn(){return k.lFrame.selectedIndex}function tn(e){k.lFrame.selectedIndex=e}function Sc(){let e=k.lFrame;return Ec(e.tView,e.selectedIndex)}function Wy(){return k.lFrame.currentNamespace}var Pf=!0;function Tc(){return Pf}function Nc(e){Pf=e}function Zy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=yf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Ac(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Rn]+=65536),(a>14>16&&(e[E]&3)===t&&(e[E]+=16384,ud(a,i)):ud(a,i)}var Pn=-1,nn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Qy(e){return e instanceof nn}function Ky(e){return(e.flags&8)!==0}function Jy(e){return(e.flags&16)!==0}function Fa(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Ei(e,t){let n=ev(e),r=t;for(;n>0;)r=r[Wn],n--;return r}var ka=!0;function dd(e){let t=ka;return ka=e,t}var tv=256,jf=tv-1,Bf=5,nv=0,qe={};function rv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ir)&&(r=n[Ir]),r==null&&(r=n[Ir]=nv++);let o=r&jf,i=1<>Bf)]|=i}function bi(e,t){let n=Uf(e,t);if(n!==-1)return n;let r=t[x];r.firstCreatePass&&(e.injectorIndex=t.length,ya(r.data,e),ya(t,null),ya(r.blueprint,null));let o=xc(e,t),i=e.injectorIndex;if(Vf(o)){let s=wi(o),a=Ei(o,t),c=a[x].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ya(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=qf(o),r===null)return Pn;if(n++,o=o[Wn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Pn}function La(e,t,n){rv(e,t,n)}function ov(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&m.type===n)return f}if(o){let f=s[c];if(f&&St(f)&&f.type===n)return c}return null}function Hn(e,t,n,r){let o=e[n],i=t.data;if(Qy(o)){let s=o;s.resolving&&Km(Qm(i[n]));let a=dd(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Se(s.injectImpl):null,l=Af(e,r,A.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Zy(n,i[n],t)}finally{u!==null&&Se(u),dd(a),s.resolving=!1,Ff()}}return o}function av(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ir)?e[Ir]:void 0;return typeof t=="number"?t>=0?t&jf:cv:t}function fd(e,t,n){let r=1<>Bf)]&r)}function hd(e,t){return!(e&A.Self)&&!(e&A.Host&&t)}var Kt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zf(this._tNode,this._lView,t,Bi(r),n)}};function cv(){return new Kt(le(),H())}function jr(e){return Vi(()=>{let t=e.prototype.constructor,n=t[di]||Va(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[di]||Va(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Va(e){return Zd(e)?()=>{let t=Va(ce(e));return t&&t()}:kn(e)}function uv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=Gf(i,s,n,r|A.Self,qe);if(a!==qe)return a;let c=i.parent;if(!c){let u=s[hf];if(u){let l=u.get(n,qe,r);if(l!==qe)return l}c=qf(s),s=s[Wn]}i=c}return o}function qf(e){let t=e[x],n=t.type;return n===2?t.declTNode:n===1?e[me]:null}function Rc(e){return ov(le(),e)}function pd(e,t=null,n=null,r){let o=Wf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wf(e,t=null,n=null,r,o=new Set){let i=[n||Te,fy(e)];return r=r||(typeof e=="object"?void 0:pe(e)),new Sr(i,t||Cc(),r||null,o)}var ot=class e{static THROW_IF_NOT_FOUND=Mr;static NULL=new pi;static create(t,n){if(Array.isArray(t))return pd({name:""},n,t,"");{let r=t.name??"";return pd({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>b(nf)});static __NG_ELEMENT_ID__=-1};var lv=new C("");lv.__NG_ELEMENT_ID__=e=>{let t=le();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&A.Optional)return null;throw new D(204,!1)};var Zf=!1,Oc=(()=>{class e{static __NG_ELEMENT_ID__=dv;static __NG_ENV_ID__=n=>n}return e})(),ja=class extends Oc{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Ef(this._lView,t),()=>Ry(this._lView,t)}};function dv(){return new ja(H())}var xr=class{},Fc=new C("",{providedIn:"root",factory:()=>!1});var Yf=new C(""),Qf=new C(""),Ot=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new te(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ba=class extends Y{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,by()&&(this.destroyRef=p(Oc,{optional:!0})??void 0,this.pendingTasks=p(Ot,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},re=Ba;function Ii(...e){}function Kf(e){let t,n;function r(){e=Ii;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 gd(e){return queueMicrotask(()=>e()),()=>{e=Ii}}var Pc="isAngularZone",_i=Pc+"_ID",fv=0,G=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new re(!1);onMicrotaskEmpty=new re(!1);onStable=new re(!1);onError=new re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Zf}=t;if(typeof Zone>"u")throw new D(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=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Pc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,hv,Ii,Ii);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},hv={};function kc(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 pv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Kf(()=>{e.callbackScheduled=!1,Ua(e),e.isCheckStableRunning=!0,kc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ua(e)}function gv(e){let t=()=>{pv(e)},n=fv++;e._inner=e._inner.fork({name:"angular",properties:{[Pc]:!0,[_i]:n,[_i+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(mv(c))return r.invokeTask(i,s,a,c);try{return md(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),yd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return md(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yv(c)&&t(),yd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ua(e),kc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ua(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function md(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yd(e){e._nesting--,kc(e)}var $a=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new re;onMicrotaskEmpty=new re;onStable=new re;onError=new re;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,o){return t.apply(n,r)}};function mv(e){return Jf(e,"__ignore_ng_zone__")}function yv(e){return Jf(e,"__scheduler_tick__")}function Jf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var it=class{_console=console;handleError(t){this._console.error("ERROR",t)}},vv=new C("",{providedIn:"root",factory:()=>{let e=p(G),t=p(it);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Ha=class{destroyed=!1;listeners=null;errorHandler=p(it,{optional:!0});destroyRef=p(Oc);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new D(953,!1);if(this.listeners===null)return;let n=R(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{R(n)}}};function vd(e,t){return Wd(e,t)}function Dv(e){return Wd(Li,e)}var Yn=(vd.required=Dv,vd);function Cv(){return qi(le(),H())}function qi(e,t){return new Ye(xe(e,t))}var Ye=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Cv}return e})();function Xf(e){return(e.flags&128)===128}var eh=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(eh||{}),th=new Map,wv=0;function Ev(){return wv++}function bv(e){th.set(e[$i],e)}function za(e){th.delete(e[$i])}var Dd="__ngContext__";function rn(e,t){Mt(t)?(e[Dd]=t[$i],bv(t)):e[Dd]=t}function nh(e){return oh(e[Nr])}function rh(e){return oh(e[je])}function oh(e){for(;e!==null&&!ut(e);)e=e[je];return e}var Ga;function ih(e){Ga=e}function sh(){if(Ga!==void 0)return Ga;if(typeof document<"u")return document;throw new D(210,!1)}var Lc=new C("",{providedIn:"root",factory:()=>Iv}),Iv="ng",Vc=new C(""),Ft=new C("",{providedIn:"platform",factory:()=>"unknown"});var jc=new C("",{providedIn:"root",factory:()=>sh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var _v="h",Mv="b";var ah=!1,Sv=new C("",{providedIn:"root",factory:()=>ah});var Cd=new Set;function Qn(e){Cd.has(e)||(Cd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Tv=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();var Nv=()=>null;function Bc(e,t,n=!1){return Nv(e,t,n)}var Ze=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ze||{}),ei;function Av(){if(ei===void 0&&(ei=null,_r.trustedTypes))try{ei=_r.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ei}function Wi(e){return Av()?.createHTML(e)||e}var ti;function ch(){if(ti===void 0&&(ti=null,_r.trustedTypes))try{ti=_r.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ti}function wd(e){return ch()?.createHTML(e)||e}function Ed(e){return ch()?.createScriptURL(e)||e}var st=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gd})`}},qa=class extends st{getTypeName(){return"HTML"}},Wa=class extends st{getTypeName(){return"Style"}},Za=class extends st{getTypeName(){return"Script"}},Ya=class extends st{getTypeName(){return"URL"}},Qa=class extends st{getTypeName(){return"ResourceURL"}};function Ue(e){return e instanceof st?e.changingThisBreaksApplicationSecurity:e}function dt(e,t){let n=xv(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gd})`)}return n===t}function xv(e){return e instanceof st&&e.getTypeName()||null}function uh(e){return new qa(e)}function lh(e){return new Wa(e)}function dh(e){return new Za(e)}function fh(e){return new Ya(e)}function hh(e){return new Qa(e)}function Rv(e){let t=new Ja(e);return Ov()?new Ka(t):t}var Ka=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Wi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ja=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=Wi(t),n}};function Ov(){try{return!!new window.DOMParser().parseFromString(Wi(""),"text/html")}catch{return!1}}var Fv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zi(e){return e=String(e),e.match(Fv)?e:"unsafe:"+e}function ft(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Br(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ph=ft("area,br,col,hr,img,wbr"),gh=ft("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mh=ft("rp,rt"),Pv=Br(mh,gh),kv=Br(gh,ft("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")),Lv=Br(mh,ft("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")),bd=Br(ph,kv,Lv,Pv),yh=ft("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vv=ft("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"),jv=ft("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"),Bv=Br(yh,Vv,jv),Uv=ft("script,style,template"),Xa=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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){o.push(n),n=zv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Hv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Id(t).toLowerCase();if(!bd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Uv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Id(t).toLowerCase();bd.hasOwnProperty(n)&&!ph.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(_d(t))}};function $v(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Hv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw vh(t);return t}function zv(e){let t=e.firstChild;if(t&&$v(e,t))throw vh(t);return t}function Id(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function vh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qv=/([^\#-~ |!])/g;function _d(e){return e.replace(/&/g,"&").replace(Gv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var ni;function Uc(e,t){let n=null;try{ni=ni||Rv(e);let r=t?String(t):"";n=ni.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ni.getInertBodyElement(r)}while(r!==i);let a=new Xa().sanitizeChildren(Md(n)||n);return Wi(a)}finally{if(n){let r=Md(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Md(e){return"content"in e&&Wv(e)?e.content:null}function Wv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var $e=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}($e||{});function Yi(e){let t=$c();return t?wd(t.sanitize($e.HTML,e)||""):dt(e,"HTML")?wd(Ue(e)):Uc(sh(),Pr(e))}function Zv(e){let t=$c();return t?t.sanitize($e.URL,e)||"":dt(e,"URL")?Ue(e):Zi(Pr(e))}function Yv(e){let t=$c();if(t)return Ed(t.sanitize($e.RESOURCE_URL,e)||"");if(dt(e,"ResourceURL"))return Ed(Ue(e));throw new D(904,!1)}function Qv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Yv:Zv}function Dh(e,t,n){return Qv(t,n)(e)}function $c(){let e=H();return e&&e[rt].sanitizer}function Ch(e){return e instanceof Function?e():e}var Tt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tt||{}),at=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(at||{}),Kv;function Hc(e,t){return Kv(e,t)}function On(e,t,n,r,o){if(r!=null){let i,s=!1;ut(r)?i=r:Mt(r)&&(s=!0,r=r[ct]);let a=We(r);e===0&&n!==null?o==null?_h(t,n,a):Si(t,n,a,o||null,!0):e===1&&n!==null?Si(t,n,a,o||null,!0):e===2?lD(t,a,s):e===3&&t.destroyNode(a),i!=null&&fD(t,e,i,n,o)}}function Jv(e,t){return e.createText(t)}function Xv(e,t,n){e.setValue(t,n)}function wh(e,t,n){return e.createElement(t,n)}function eD(e,t){Eh(e,t),t[ct]=null,t[me]=null}function tD(e,t,n,r,o,i){r[ct]=o,r[me]=t,Qi(e,r,n,1,o,i)}function Eh(e,t){t[rt].changeDetectionScheduler?.notify(10),Qi(e,t,t[J],2,null,null)}function nD(e){let t=e[Nr];if(!t)return va(e[x],e);for(;t;){let n=null;if(Mt(t))n=t[Nr];else{let r=t[Ee];r&&(n=r)}if(!n){for(;t&&!t[je]&&t!==e;)Mt(t)&&va(t[x],t),t=t[ue];t===null&&(t=e),Mt(t)&&va(t[x],t),n=t&&t[je]}t=n}}function rD(e,t,n,r){let o=Ee+r,i=n.length;r>0&&(n[o-1][je]=t),r0&&(e[n-1][je]=r[je]);let i=hi(e,Ee+t);eD(r[x],r);let s=i[$n];s!==null&&s.detachView(i[x]),r[ue]=null,r[je]=null,r[E]&=-129}return r}function Gc(e,t){if(!(t[E]&256)){let n=t[J];n.destroyNode&&Qi(e,t,n,3,null,null),nD(t)}}function va(e,t){if(t[E]&256)return;let n=R(null);try{t[E]&=-129,t[E]|=256,t[we]&&qs(t[we]),iD(e,t),oD(e,t),t[x].type===1&&t[J].destroy();let r=t[Un];if(r!==null&&ut(t[ue])){r!==t[ue]&&zc(r,t);let o=t[$n];o!==null&&o.detachView(e)}za(t)}finally{R(n)}}function oD(e,t){let n=e.cleanup,r=t[gi];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[gi]=null);let o=t[_t];if(o!==null){t[_t]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ze.None||i===Ze.Emulated)return null}return xe(r,n)}}function Si(e,t,n,r,o){e.insertBefore(t,n,r,o)}function _h(e,t,n){e.appendChild(t,n)}function Sd(e,t,n,r,o){r!==null?Si(e,t,n,r,o):_h(e,t,n)}function Mh(e,t){return e.parentNode(t)}function aD(e,t){return e.nextSibling(t)}function Sh(e,t,n){return uD(e,t,n)}function cD(e,t,n){return e.type&40?xe(e,n):null}var uD=cD,Td;function qc(e,t,n,r){let o=Ih(e,r,t),i=t[J],s=r.parent||t[me],a=Sh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ve(r))return!1;s=!0}}}}return Ve(r)||s}function Ve(e){return(e&1)===0}function DD(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ve(s)&&(t+=Nd(i,o),o=""),r=s,i=i||!Ve(r);n++}return o!==""&&(t+=Nd(i,o)),t}function _D(e){return e.map(ID).join(",")}function MD(e){let t=[],n=[],r=1,o=2;for(;rAe&&Fh(e,t,Ae,!1),Ge(s?2:0,o),n(r,o)}finally{tn(i),Ge(s?3:1,o)}}function Vh(e,t,n){if(gf(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function OD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return If()&&(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:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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}}function Ad(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Tt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?xd(r,n,u,a,c):xd(r,n,u,a)}return r}function xd(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function FD(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jD(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Hi(n)&&qD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||bi(n,t),rn(r,t);let s=n.initialInputs;for(let a=o;a{Gi(e.lView)},consumerOnSignalRead(){this.lView[we]=this}});function lC(e){let t=e[we]??Object.create(dC);return t.lView=e,t}var dC=N(g({},mr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=en(e.lView);for(;t&&!Kh(t[x]);)t=en(t);t&&Ic(t)},consumerOnSignalRead(){this.lView[we]=this}});function Kh(e){return e.type!==2}function Jh(e){if(e[mi]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[mi])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var fC=100;function Xh(e,t=!0,n=0){let o=e[rt].rendererFactory,i=!1;i||o.begin?.();try{hC(e,n)}catch(s){throw t&&Yh(e,s),s}finally{i||o.end?.()}}function hC(e,t){let n=Tf();try{cd(!0),rc(e,t);let r=0;for(;zi(e);){if(r===fC)throw new D(103,!1);r++,rc(e,1)}}finally{cd(n)}}function pC(e,t,n,r){let o=t[E];if((o&256)===256)return;let i=!1,s=!1;_c(t);let a=!0,c=null,u=null;i||(Kh(e)?(u=sC(t),c=So(u)):vl()===null?(a=!1,u=lC(t),c=So(u)):t[we]&&(qs(t[we]),t[we]=null));try{wf(t),jy(e.bindingStartIndex),n!==null&&Lh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ai(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ci(t,f,0,null),ga(t,0)}if(s||gC(t),Jh(t),ep(t,0),e.contentQueries!==null&&Zh(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ai(t,f)}else{let f=e.contentHooks;f!==null&&ci(t,f,1),ga(t,1)}SD(e,t);let d=e.components;d!==null&&np(t,d,0);let h=e.viewQuery;if(h!==null&&nc(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ai(t,f)}else{let f=e.viewHooks;f!==null&&ci(t,f,2),ga(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pa]){for(let f of t[pa])f();t[pa]=null}i||(t[E]&=-73)}catch(l){throw i||Gi(t),l}finally{u!==null&&(zs(u,c),a&&cC(u)),Mc()}}function ep(e,t){for(let n=nh(e);n!==null;n=rh(n))for(let r=Ee;r-1&&(Mi(t,r),hi(n,r))}this._attachedToViewContainer=!1}Gc(this._lView[x],this._lView)}onDestroy(t){Ef(this._lView,t)}markForCheck(){eu(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ic(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){xa(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Xh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Na(this._lView),n=this._lView[Un];n!==null&&!t&&zc(n,this._lView),Eh(this._lView[x],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=Na(this._lView),r=this._lView[Un];r!==null&&!n&&bh(r,this._lView),xa(this._lView)}},Xi=(()=>{class e{static __NG_ELEMENT_ID__=DC}return e})(),yC=Xi,vC=class extends yC{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Jc(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new on(o)}};function DC(){return CC(le(),H())}function CC(e,t){return e.type&4?new vC(t,e,qi(e,t)):null}var oc=class{resolveComponentFactory(t){throw Error(`No component factory found for ${pe(t)}.`)}},zn=class{static NULL=new oc},Nt=class{},Rr=class{},ic=class{},Ai=class{},Gn=class{},un=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>wC()}return e})();function wC(){let e=H(),t=le(),n=Rt(t.index,e);return(Mt(n)?n:e)[J]}var EC=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();function sc(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ah(e,n,i.join(" "))}}function NC(e,t,n){let r=e.projection=[];for(let o=0;on()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},uc=class extends Rr{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new cc(this.moduleType,t,[])}};var Ri=class extends Nt{injector;componentFactoryResolver=new xi(this);instance=null;constructor(t){super();let n=new Sr([...t.providers,{provide:Nt,useValue:this},{provide:zn,useValue:this.componentFactoryResolver}],t.parent||Cc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function tu(e,t,n=null){return new Ri({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var xC=(()=>{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=uf(!1,n.type),o=r.length>0?tu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(b(ge))})}return e})();function Oe(e){return Vi(()=>{let t=rp(e),n=N(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===eh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(xC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ze.Emulated,styles:e.styles||Te,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Qn("NgStandalone"),op(n);let r=e.dependencies;return n.directiveDefs=Fd(r,!1),n.pipeDefs=Fd(r,!0),n.id=FC(n),n})}function RC(e){return Jt(e)||sf(e)}function OC(e){return e!==null}function Pt(e){return Vi(()=>({type:e.type,bootstrap:e.bootstrap||Te,declarations:e.declarations||Te,imports:e.imports||Te,exports:e.exports||Te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Od(e,t){if(e==null)return Ln;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Tt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Tt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ie(e){return Vi(()=>{let t=rp(e);return op(t),t})}function rp(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,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Od(e.inputs,t),outputs:Od(e.outputs),debugInfo:null}}function op(e){e.features?.forEach(t=>t(e))}function Fd(e,t){if(!e)return null;let n=t?af:RC;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(OC)}function FC(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var es=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function PC(e){return typeof e=="function"&&e[fe]!==void 0}var ip=new C("");function ln(e){return!!e&&typeof e.then=="function"}function sp(e){return!!e&&typeof e.subscribe=="function"}var ap=new C("");var cp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(ap,{optional:!0})??[];injector=p(ot);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=be(this.injector,o);if(ln(i))n.push(i);else if(sp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kC=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new lc})}return e})(),lc=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ts=new C("");function LC(){Sl(()=>{throw new D(600,!1)})}function VC(e){return e.isBoundToModule}var jC=10;function BC(e,t,n){try{let r=n();return ln(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var kt=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(vv);afterRenderManager=p(Tv);zonelessEnabled=p(Fc);rootEffectScheduler=p(kC);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new Y;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=p(Ot).hasPendingTasks.pipe(S(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(ge);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ai;if(!this._injector.get(cp).done){let h=!o&&cf(n),f=!1;throw new D(405,f)}let s;o?s=n:s=this._injector.get(zn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=VC(s)?void 0:this._injector.get(Nt),c=r||s.selector,u=s.create(ot.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(ip,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),ui(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new D(101,!1);let n=R(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,R(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Gn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++zi(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;ui(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(ts,[]);[...this._bootstrapListeners,...r].forEach(o=>o(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ui(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ui(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function UC(e,t,n,r){if(!n&&!zi(e))return;Xh(e,t,n&&!r?0:1)}var vA=new RegExp(`^(\\d+)*(${Mv}|${_v})*(.*)`);var $C=()=>null;function Oi(e,t){return $C(e,t)}var $r=(()=>{class e{static __NG_ELEMENT_ID__=HC}return e})();function HC(){let e=le();return GC(e,H())}var zC=$r,up=class extends zC{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new Kt(this._hostTNode,this._hostLView)}get parentInjector(){let t=xc(this._hostTNode,this._hostLView);if(Vf(t)){let n=Ei(t,this._hostLView),r=wi(t),o=n[x].data[r+8];return new Kt(o,n)}else return new Kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Pd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Ee}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Oi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ti(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Iy(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?t:new Or(Jt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?u:this.parentInjector).get(ge,null);y&&(i=y)}let l=Jt(c.componentType??{}),d=Oi(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Ti(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ay(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ue],u=new up(c,c[me],c[ue]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xc(s,o,i,r),t.attachToViewContainerRef(),tf(Da(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Pd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mi(this._lContainer,n);r&&(hi(Da(this._lContainer),n),Gc(r[x],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mi(this._lContainer,n);return r&&hi(Da(this._lContainer),n)!=null?new on(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Pd(e){return e[yi]}function Da(e){return e[yi]||(e[yi]=[])}function GC(e,t){let n,r=t[e.index];return ut(r)?n=r:(n=Wh(r,t,null,e),t[e.index]=n,Ji(t,n)),WC(n,t,e,r),new up(n,e,t)}function qC(e,t){let n=e[J],r=n.createComment(""),o=xe(t,e),i=Mh(n,o);return Si(n,i,r,aD(n,o),!1),r}var WC=QC,ZC=()=>!1;function YC(e,t,n){return ZC(e,t,n)}function QC(e,t,n,r){if(e[Xt])return;let o;n.type&8?o=We(r):o=qC(t,n),e[Xt]=o}function ns(e,t){Qn("NgSignals");let n=Tl(e),r=n[fe];return t?.equal&&(r.equal=t.equal),n.set=o=>vr(r,o),n.update=o=>Nl(r,o),n.asReadonly=lp.bind(n),n}function lp(){let e=this[fe];if(e.readonlyFn===void 0){let t=()=>this();t[fe]=e,e.readonlyFn=t}return e.readonlyFn}function dp(e){return PC(e)&&typeof e.set=="function"}function fp(e,t){let n=Object.create(qd),r=new Ha;n.value=e;function o(){return yr(n),kd(n.value),n.value}return o[fe]=n,o.asReadonly=lp.bind(o),o.set=i=>{n.equal(n.value,i)||(vr(n,i),r.emit(i))},o.update=i=>{kd(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function kd(e){if(e===Li)throw new D(952,!1)}function Ld(e,t){return fp(e,t)}function KC(e){return fp(Li,e)}var hp=(Ld.required=KC,Ld);function JC(e){return Object.getPrototypeOf(e.prototype).constructor}function Kn(e){let t=JC(e.type),n=!0,r=[e];for(;t;){let o;if(St(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ri(e.inputs),s.inputTransforms=ri(e.inputTransforms),s.declaredInputs=ri(e.declaredInputs),s.outputs=ri(e.outputs);let a=o.hostBindings;a&&rw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&tw(e,c),u&&nw(e,u),XC(e,o),$m(e.outputs,o.outputs),St(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Ar(o.hostAttrs,n=Ar(n,o.hostAttrs))}}function ri(e){return e===Ln?{}:e===Te?[]:e}function tw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function nw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Hr(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Jn(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ow(e){return(e.flags&32)===32}function iw(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Ur(t,e,4,s||null,a||null);Hh(t,n,l,Ci(u,c)),Ac(t,l);let d=l.tView=Yc(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function pp(e,t,n,r,o,i,s,a,c,u){let l=n+Ae,d=t.firstCreatePass?iw(l,t,e,r,o,i,s,a,c):t.data[l];Lr(d,!1);let h=sw(t,e,d,n);Tc()&&qc(t,e,h,d),rn(h,e);let f=Wh(h,e,h,d);return e[l]=f,Ji(e,f),YC(f,d,e),wc(d)&&jh(t,e,d),c!=null&&Bh(e,d,u),d}function zr(e,t,n,r,o,i,s,a){let c=H(),u=ye(),l=Ci(u.consts,i);return pp(c,u,e,t,n,r,o,l,s,a),zr}var sw=aw;function aw(e,t,n,r){return Nc(!0),t[J].createComment("")}function dn(e,t,n,r){let o=H(),i=Vr();if(Jn(o,i,t)){let s=ye(),a=Sc();WD(a,o,e,t,n,r)}return dn}function cw(e,t,n,r){return Jn(e,Vr(),n)?t+Pr(n)+r:cn}function oi(e,t){return e<<17|t<<2}function sn(e){return e>>17&32767}function uw(e){return(e&2)==2}function lw(e,t){return e&131071|t<<17}function dc(e){return e|2}function qn(e){return(e&131068)>>2}function Ca(e,t){return e&-131069|t<<2}function dw(e){return(e&1)===1}function fc(e){return e|1}function fw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=sn(s),c=qn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||kr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=sn(e[a+1]);e[r+1]=oi(h,a),h!==0&&(e[h+1]=Ca(e[h+1],r)),e[a+1]=lw(e[a+1],r)}else e[r+1]=oi(a,0),a!==0&&(e[a+1]=Ca(e[a+1],r)),a=r;else e[r+1]=oi(c,0),a===0?a=r:e[c+1]=Ca(e[c+1],r),c=r;u&&(e[r+1]=dc(e[r+1])),Vd(e,l,r,!0),Vd(e,l,r,!1),hw(t,l,e,r,i),s=oi(a,c),i?t.classBindings=s:t.styleBindings=s}function hw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&kr(i,t)>=0&&(n[r+1]=fc(n[r+1]))}function Vd(e,t,n,r){let o=e[n+1],i=t===null,s=r?sn(o):qn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];pw(c,t)&&(a=!0,e[s+1]=r?fc(u):dc(u)),s=r?sn(u):qn(u)}a&&(e[n+1]=r?dc(o):fc(o))}function pw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?kr(e,t)>=0:!1}function Qe(e,t,n){let r=H(),o=Vr();if(Jn(r,o,t)){let i=ye(),s=Sc();$h(i,s,r,e,t,r[J],n,!1)}return Qe}function jd(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Qc(e,n,i[s],s,r)}function rs(e,t,n){return gp(e,t,n,!1),rs}function nu(e,t){return gp(e,t,null,!0),nu}function gp(e,t,n,r){let o=H(),i=ye(),s=By(2);if(i.firstUpdatePass&&mw(i,e,s,r),t!==cn&&Jn(o,s,t)){let a=i.data[Zn()];ww(i,a,o,o[J],e,o[s+1]=Ew(t,n),r,s)}}function gw(e,t){return t>=e.expandoStartIndex}function mw(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Zn()],s=gw(e,n);bw(i,r)&&t===null&&!s&&(t=!1),t=yw(o,i,t,r),fw(o,i,t,n,s,r)}}function yw(e,t,n,r){let o=zy(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=wa(null,e,t,n,r),n=Fr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=wa(o,e,t,n,r),i===null){let c=vw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=wa(null,e,t,c[1],r),c=Fr(c,t.attrs,r),Dw(e,t,r,c))}else i=Cw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function vw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(qn(r)!==0)return e[sn(r)]}function Dw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[sn(o)]=r}function Cw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===cn&&(h=d?Te:void 0);let f=d?fa(h,r):l===r?h:void 0;if(u&&!Fi(f)&&(f=fa(c,r)),Fi(f)&&(a=f,s))return a;let m=e[o+1];o=s?sn(m):qn(m)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=fa(c,r))}return a}function Fi(e){return e!==void 0}function Ew(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=pe(Ue(e)))),e}function bw(e,t){return(e.flags&(t?8:16))!==0}function os(e,t){Qn("NgControlFlow");let n=H(),r=Vr(),o=n[r]!==cn?n[r]:-1,i=o!==-1?Ud(n,Ae+o):void 0,s=0;if(Jn(n,r,e)){let a=R(null);try{if(i!==void 0&&oC(i,s),e!==-1){let c=Ae+e,u=Ud(n,c),l=Iw(n[x],c),d=Oi(u,l.tView.ssrId),h=Jc(n,l,t,{dehydratedView:d});Xc(u,h,s,Ti(l,d))}}finally{R(a)}}else if(i!==void 0){let a=rC(i,s);a!==void 0&&(a[Be]=t)}}function Ud(e,t){return e[t]}function Iw(e,t){return Ec(e,t)}function _w(e,t,n,r,o,i){let s=t.consts,a=Ci(s,o),c=Ur(t,e,2,r,a);return Hh(t,n,c,Ci(s,i)),c.attrs!==null&&sc(c,c.attrs,!1),c.mergedAttrs!==null&&sc(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function j(e,t,n,r){let o=H(),i=ye(),s=Ae+e,a=o[J],c=i.firstCreatePass?_w(s,i,o,t,n,r):i.data[s],u=Mw(i,o,c,a,t,e);o[s]=u;let l=wc(c);return Lr(c,!0),xh(a,u,c),!ow(c)&&Tc()&&qc(i,o,u,c),Oy()===0&&rn(u,o),Fy(),l&&(jh(i,o,c),Vh(i,c,o)),r!==null&&Bh(o,c),j}function B(){let e=le();Mf()?Sf():(e=e.parent,Lr(e,!1));let t=e;ky(t)&&Ly(),Py();let n=ye();return n.firstCreatePass&&(Ac(n,e),gf(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Ky(t)&&jd(n,t,H(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Jy(t)&&jd(n,t,H(),t.stylesWithoutHost,!1),B}function Fe(e,t,n,r){return j(e,t,n,r),B(),Fe}var Mw=(e,t,n,r,o,i)=>(Nc(!0),wh(r,o,Wy()));var Pi="en-US";var Sw=Pi;function Tw(e){typeof e=="string"&&(Sw=e.toLowerCase().replace(/_/g,"-"))}var Nw=(e,t,n)=>{};function fn(e,t,n,r){let o=H(),i=ye(),s=le();return mp(i,o,o[J],s,e,t,r),fn}function Aw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function mp(e,t,n,r,o,i,s){let a=wc(r),u=e.firstCreatePass&&JD(e),l=t[Be],d=KD(t),h=!0;if(r.type&3||s){let y=xe(r,t),v=s?s(y):y,I=d.length,z=s?ie=>s(We(ie[r.index])):r.index,L=null;if(!s&&a&&(L=Aw(e,t,o,r.index)),L!==null){let ie=L.__ngLastListenerFn__||L;ie.__ngNextListenerFn__=i,L.__ngLastListenerFn__=i,h=!1}else{i=Hd(r,t,l,i),Nw(y,o,i);let ie=n.listen(v,o,i);d.push(i,ie),u&&u.push(o,z,I,I+1)}}else i=Hd(r,t,l,i);let f=r.outputs,m;if(h&&f!==null&&(m=f[o])){let y=m.length;if(y)for(let v=0;v-1?Rt(e.index,t):t;eu(s,5);let a=$d(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=$d(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Xn(e=1){return qy(e)}function xw(e,t){let n=null,r=CD(e);for(let o=0;o(Nc(!0),Jv(t[J],r));function ru(e,t,n){let r=H(),o=cw(r,e,t,n);return o!==cn&&XD(r,Zn(),o),ru}function Lt(e,t,n){dp(t)&&(t=t());let r=H(),o=Vr();if(Jn(r,o,t)){let i=ye(),s=Sc();$h(i,s,r,e,t,r[J],n,!1)}return Lt}function hn(e,t){let n=dp(e);return n&&e.set(t),n}function Vt(e,t){let n=H(),r=ye(),o=le();return mp(r,n,n[J],o,e,t),Vt}function Fw(e,t,n){let r=ye();if(r.firstCreatePass){let o=St(e);hc(n,r.data,r.blueprint,o,!0),hc(t,r.data,r.blueprint,o,!1)}}function hc(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i>20;if(jn(e)||!e.multi){let f=new nn(u,o,U),m=ba(c,t,o?l:l+h,d);m===-1?(La(bi(a,s),i,c),Ea(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=ba(c,t,l+h,d),m=ba(c,t,l,l+h),y=f>=0&&n[f],v=m>=0&&n[m];if(o&&!v||!o&&!y){La(bi(a,s),i,c);let I=Lw(o?kw:Pw,n.length,o,r,u);!o&&v&&(n[m].providerFactory=I),Ea(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=Dp(n[o?m:f],u,!o&&r);Ea(i,e,f>-1?f:m,I)}!o&&r&&v&&n[m].componentProviders++}}}function Ea(e,t,n,r){let o=jn(t),i=my(t);if(o||i){let c=(i?ce(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ba(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Fw(r,o?o(e):e,t)}}var gc=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ou=(()=>{class e{compileModuleSync(n){return new uc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=of(n),i=Ch(o.declarations).reduce((s,a)=>{let c=Jt(a);return c&&s.push(new Or(c)),s},[]);return new gc(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vw=(()=>{class e{zone=p(G);changeDetectionScheduler=p(xr);applicationRef=p(kt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new G(N(g({},Bw()),{scheduleInRootZone:n})),[{provide:G,useFactory:e},{provide:Vn,multi:!0,useFactory:()=>{let r=p(Vw,{optional:!0});return()=>r.initialize()}},{provide:Vn,multi:!0,useFactory:()=>{let r=p(Uw);return()=>{r.initialize()}}},t===!0?{provide:Yf,useValue:!0}:[],{provide:Qf,useValue:n??Zf}]}function Bw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Uw=(()=>{class e{subscription=new K;initialized=!1;zone=p(G);pendingTasks=p(Ot);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(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $w=(()=>{class e{appRef=p(kt);taskService=p(Ot);ngZone=p(G);zonelessEnabled=p(Fc);disableScheduling=p(Yf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_i):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Qf,{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 $a||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?gd:Kf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>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(_i+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gd(()=>{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=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hw(){return typeof $localize<"u"&&$localize.locale||Pi}var iu=new C("",{providedIn:"root",factory:()=>p(iu,A.Optional|A.SkipSelf)||Hw()});var mc=new C("");function ii(e){return!e.moduleRef}function zw(e){let t=ii(e)?e.r3Injector:e.moduleRef.injector,n=t.get(G);return n.run(()=>{ii(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(it,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ii(e)){let i=()=>t.destroy(),s=e.platformInjector.get(mc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(mc);s.add(i),e.moduleRef.onDestroy(()=>{ui(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return BC(r,n,()=>{let i=t.get(cp);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(iu,Pi);if(Tw(s||Pi),ii(e)){let a=t.get(kt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Gw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Gw(e,t){let n=e.injector.get(kt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}var li=null;function qw(e=[],t){return ot.create({name:t,providers:[{provide:Ui,useValue:"platform"},{provide:mc,useValue:new Set([()=>li=null])},...e]})}function Ww(e=[]){if(li)return li;let t=qw(e);return li=t,LC(),Zw(t),t}function Zw(e){let t=e.get(Vc,null);be(e,()=>{t?.forEach(n=>n())})}var ht=(()=>{class e{static __NG_ELEMENT_ID__=Yw}return e})();function Yw(e){return Qw(le(),H(),(e&16)===16)}function Qw(e,t,n){if(Hi(e)&&!n){let r=Rt(e.index,t);return new on(r,r)}else if(e.type&175){let r=t[Ne];return new on(r,t)}return null}function Cp(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Ww(r),i=[jw({}),{provide:xr,useExisting:$w},...n||[]],s=new Ri({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return zw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Ke(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function su(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function is(e,t){Qn("NgSignals");let n=Il(e);return t?.equal&&(n[fe].equal=t.equal),n}function jt(e){let t=R(null);try{return e()}finally{R(t)}}var zd=class{[fe];constructor(t){this[fe]=t}destroy(){this[fe].destroy()}};var bp=null;function gt(){return bp}function Ip(e){bp??=e}var ss=class{};var Q=new C(""),cu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Jw),providedIn:"platform"})}return e})();var Jw=(()=>{class e extends cu{_location;_history;_doc=p(Q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gt().getBaseHref(this._doc)}onPopState(n){let r=gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=gt().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,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}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=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function uu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function wp(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function pt(e){return e&&e[0]!=="?"?"?"+e:e}var Bt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Mp),providedIn:"root"})}return e})(),_p=new C(""),Mp=(()=>{class e extends Bt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Q).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 uu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+pt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(i));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)(b(cu),b(_p,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sp=(()=>{class e extends Bt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}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}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=uu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(i));s.length==0&&(s=this._platformLocation.pathname),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)(b(cu),b(_p,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),qr=(()=>{class e{_subject=new Y;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=tE(wp(Ep(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.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+pt(r))}normalize(n){return e.stripTrailingSlash(eE(this._basePath,Ep(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pt(r)),o)}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(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=pt;static joinWithSlash=uu;static stripTrailingSlash=wp;static \u0275fac=function(r){return new(r||e)(b(Bt))};static \u0275prov=w({token:e,factory:()=>Xw(),providedIn:"root"})}return e})();function Xw(){return new qr(b(Bt))}function eE(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ep(e){return e.replace(/\/index.html$/,"")}function tE(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function as(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Tp=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(U($r))};static \u0275dir=Ie({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[lt]})}return e})();var Np="browser",nE="server";function cs(e){return e===nE}var er=class{};var Zr=class{},ls=class{},mt=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 o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}: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 o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.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(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var du=class{encodeKey(t){return xp(t)}encodeValue(t){return xp(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function rE(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var oE=/%(\d[a-f0-9])/gi,iE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xp(e){return encodeURIComponent(e).replace(oE,(t,n)=>iE[n]??t)}function us(e){return`${e}`}var $t=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new du,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=rE(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(us):[us(r)];this.map.set(n,o)})):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 o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,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(us(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(us(t.value));o!==-1&&r.splice(o,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 fu=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 sE(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Op(e){return typeof Blob<"u"&&e instanceof Blob}function Fp(e){return typeof FormData<"u"&&e instanceof FormData}function aE(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Wr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(sE(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new mt,this.context??=new fu,!this.params)this.params=new $t,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":ah.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ht=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}(Ht||{}),Yr=class{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new mt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},ds=class e extends Yr{constructor(t={}){super(t)}type=Ht.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})}},Qr=class e extends Yr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Ht.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})}},Ut=class extends Yr{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}},Vp=200,cE=204;function lu(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,transferCache:e.transferCache}}var uE=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Wr)i=n;else{let c;o.headers instanceof mt?c=o.headers:c=new mt(o.headers);let u;o.params&&(o.params instanceof $t?u=o.params:u=new $t({fromObject:o.params})),i=new Wr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=_(i).pipe(Et(c=>this.handler.handle(c)));if(n instanceof Wr||o.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof Qr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(S(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(S(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(S(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}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 $t().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,lu(o,r))}post(n,r,o={}){return this.request("POST",n,lu(o,r))}put(n,r,o={}){return this.request("PUT",n,lu(o,r))}static \u0275fac=function(r){return new(r||e)(b(Zr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),lE=/^\)\]\}',?\n/,dE="X-Request-URL";function Pp(e){if(e.url)return e.url;let t=dE.toLocaleLowerCase();return e.headers.get(t)}var fE=(()=>{class e{fetchImpl=p(hu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=p(G);handle(n){return new P(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(pu,i=>r.error(new Ut({error:i}))),()=>o.abort()})}doRequest(n,r,o){return qt(this,null,function*(){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,g({signal:r},i)));hE(f),o.next({type:Ht.Sent}),s=yield f}catch(f){o.error(new Ut({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new mt(s.headers),c=s.statusText,u=Pp(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new ds({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),m=[],y=s.body.getReader(),v=0,I,z,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>qt(this,null,function*(){for(;;){let{done:de,value:X}=yield y.read();if(de)break;if(m.push(X),v+=X.length,n.reportProgress){z=n.responseType==="text"?(z??"")+(I??=new TextDecoder).decode(X,{stream:!0}):void 0;let Xe=()=>o.next({type:Ht.DownloadProgress,total:f?+f:void 0,loaded:v,partialText:z});L?L.run(Xe):Xe()}}}));let ie=this.concatChunks(m,v);try{let de=s.headers.get("Content-Type")??"";d=this.parseBody(n,ie,de)}catch(de){o.error(new Ut({error:de,headers:new mt(s.headers),status:s.status,statusText:s.statusText,url:Pp(s)??n.urlWithParams}));return}}l===0&&(l=d?Vp:0),l>=200&&l<300?(o.next(new Qr({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Ut({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(lE,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),hu=class{};function pu(){}function hE(e){e.then(pu,pu)}function pE(e,t){return t(e)}function gE(e,t,n){return(r,o)=>be(n,()=>t(r,i=>e(i,o)))}var jp=new C(""),mE=new C(""),yE=new C("",{providedIn:"root",factory:()=>!0});var kp=(()=>{class e extends Zr{backend;injector;chain=null;pendingTasks=p(Ot);contributeToStability=p(yE);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(jp),...this.injector.get(mE,[])]));this.chain=r.reduceRight((o,i)=>gE(o,i,this.injector),pE)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Qt(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(ls),b(ge))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var vE=/^\)\]\}',?\n/;function DE(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Lp=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?W(r.\u0275loadImpl()):_(null)).pipe(Ce(()=>new P(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new mt(s.getAllResponseHeaders()),I=DE(s)||n.url;return c=new ds({headers:v,status:s.status,statusText:y,url:I}),c},l=()=>{let{headers:y,status:v,statusText:I,url:z}=u(),L=null;v!==cE&&(L=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=L?Vp:0);let ie=v>=200&&v<300;if(n.responseType==="json"&&typeof L=="string"){let de=L;L=L.replace(vE,"");try{L=L!==""?JSON.parse(L):null}catch(X){L=de,ie&&(ie=!1,L={error:X,text:L})}}ie?(i.next(new Qr({body:L,headers:y,status:v,statusText:I,url:z||void 0})),i.complete()):i.error(new Ut({error:L,headers:y,status:v,statusText:I,url:z||void 0}))},d=y=>{let{url:v}=u(),I=new Ut({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(I)},h=!1,f=y=>{h||(i.next(u()),h=!0);let v={type:Ht.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},m=y=>{let v={type:Ht.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Ht.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(er))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Bp=new C(""),CE="XSRF-TOKEN",wE=new C("",{providedIn:"root",factory:()=>CE}),EE="X-XSRF-TOKEN",bE=new C("",{providedIn:"root",factory:()=>EE}),fs=class{},IE=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=as(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(b(Q),b(Ft),b(wE))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function _E(e,t){let n=e.url.toLowerCase();if(!p(Bp)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(fs).getToken(),o=p(bE);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function Up(...e){let t=[uE,Lp,kp,{provide:Zr,useExisting:kp},{provide:ls,useFactory:()=>p(fE,{optional:!0})??p(Lp)},{provide:jp,useValue:_E,multi:!0},{provide:Bp,useValue:!0},{provide:fs,useClass:IE}];for(let n of e)t.push(...n.\u0275providers);return xt(t)}var mu=class extends ss{supportsDOMEvents=!0},yu=class e extends mu{static makeCurrent(){Ip(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}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=SE();return n==null?null:TE(n)}resetBaseElement(){Kr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return as(document.cookie,t)}},Kr=null;function SE(){return Kr=Kr||document.querySelector("base"),Kr?Kr.getAttribute("href"):null}function TE(e){return new URL(e,document.baseURI).pathname}var NE=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),vu=new C(""),Wp=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(vu),b(G))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),hs=class{_doc;constructor(t){this._doc=t}manager},Du="ng-app-id";function $p(e){for(let t of e)t.remove()}function Hp(e,t){let n=t.createElement("style");return n.textContent=e,n}function AE(e,t,n){let r=e.head?.querySelectorAll(`style[${Du}="${t}"]`);if(r)for(let o of r)o.textContent&&(o.removeAttribute(Du),n.set(o.textContent,{usage:0,elements:[o]}))}function Cu(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Zp=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=cs(i),AE(n,r,this.inline),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Hp);r?.forEach(o=>this.addUsage(o,this.external,Cu))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&($p(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])$p(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Hp(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Cu(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Du,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(b(Q),b(Lc),b(jc,8),b(Ft))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),gu={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"},Eu=/%COMP%/g,Yp="%COMP%",xE=`_nghost-${Yp}`,RE=`_ngcontent-${Yp}`,OE=!0,FE=new C("",{providedIn:"root",factory:()=>OE});function PE(e){return RE.replace(Eu,e)}function kE(e){return xE.replace(Eu,e)}function Qp(e,t){return t.map(n=>n.replace(Eu,e))}var zp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=cs(a),this.defaultRenderer=new Jr(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ze.ShadowDom&&(r=N(g({},r),{encapsulation:Ze.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof ps?o.applyToHost(n):o instanceof Xr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ze.Emulated:i=new ps(c,u,r,this.appId,l,s,a,d);break;case Ze.ShadowDom:return new wu(c,u,n,r,s,a,this.nonce,d);default:i=new Xr(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(b(Wp),b(Zp),b(Lc),b(FE),b(Q),b(Ft),b(G),b(jc))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Jr=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(gu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Gp(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Gp(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 D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=gu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=gu[r];o?t.removeAttributeNS(o,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,o){o&(at.DashCase|at.Important)?t.style.setProperty(n,r,o&at.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&at.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){if(typeof t=="string"&&(t=gt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Gp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var wu=class extends Jr{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Qp(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=Cu(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}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)}},Xr=class extends Jr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Qp(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ps=class extends Xr{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=PE(u),this.hostAttr=kE(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}},LE=(()=>{class e extends hs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(b(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),qp=["alt","control","meta","shift"],VE={"\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"},jE={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},BE=(()=>{class e extends hs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gt().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qp.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=VE[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),qp.forEach(s=>{if(s!==o){let a=jE[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(b(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function Kp(e,t){return Cp(g({rootComponent:e},UE(t)))}function UE(e){return{appProviders:[...qE,...e?.providers??[]],platformProviders:GE}}function $E(){yu.makeCurrent()}function HE(){return new it}function zE(){return ih(document),document}var GE=[{provide:Ft,useValue:Np},{provide:Vc,useValue:$E,multi:!0},{provide:Q,useFactory:zE,deps:[]}];var qE=[{provide:Ui,useValue:"root"},{provide:it,useFactory:HE,deps:[]},{provide:vu,useClass:LE,multi:!0,deps:[Q,G,Ft]},{provide:vu,useClass:BE,multi:!0,deps:[Q]},zp,Zp,Wp,{provide:Gn,useExisting:zp},{provide:er,useClass:NE,deps:[]},[]];var Jp=(()=>{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)(b(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var eo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(WE),o},providedIn:"root"})}return e})(),WE=(()=>{class e extends eo{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case $e.NONE:return r;case $e.HTML:return dt(r,"HTML")?Ue(r):Uc(this._doc,String(r)).toString();case $e.STYLE:return dt(r,"Style")?Ue(r):r;case $e.SCRIPT:if(dt(r,"Script"))return Ue(r);throw new D(5200,!1);case $e.URL:return dt(r,"URL")?Ue(r):Zi(String(r));case $e.RESOURCE_URL:if(dt(r,"ResourceURL"))return Ue(r);throw new D(5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(n){return uh(n)}bypassSecurityTrustStyle(n){return lh(n)}bypassSecurityTrustScript(n){return dh(n)}bypassSecurityTrustUrl(n){return fh(n)}bypassSecurityTrustResourceUrl(n){return hh(n)}static \u0275fac=function(r){return new(r||e)(b(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var T="primary",yo=Symbol("RouteTitle"),Tu=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 sr(e){return new Tu(e)}function ZE(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function ag(e){return e.length>0?e[e.length-1]:null}function Gt(e){return na(e)?e:ln(e)?W(Promise.resolve(e)):_(e)}var QE={exact:ug,subset:lg},cg={exact:KE,subset:JE,ignored:()=>!0};function Xp(e,t,n){return QE[n.paths](e.root,t.root,n.matrixParams)&&cg[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function KE(e,t){return Je(e,t)}function ug(e,t,n){if(!gn(e.segments,t.segments)||!ys(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ug(e.children[r],t.children[r],n))return!1;return!0}function JE(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>sg(e[n],t[n]))}function lg(e,t,n){return dg(e,t,t.segments,n)}function dg(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!gn(o,n)||t.hasChildren()||!ys(o,n,r))}else if(e.segments.length===n.length){if(!gn(e.segments,n)||!ys(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!lg(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!gn(e.segments,o)||!ys(e.segments,o,r)||!e.children[T]?!1:dg(e.children[T],t,i,r)}}function ys(e,t,n){return t.every((r,o)=>cg[n](e[o].parameters,r.parameters))}var vt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new V([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){return tb.serialize(this)}},V=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 vs(this)}},pn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=sr(this.parameters),this._parameterMap}toString(){return hg(this)}};function XE(e,t){return gn(e,t)&&e.every((n,r)=>Je(n.parameters,t[r].parameters))}function gn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function eb(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===T&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==T&&(n=n.concat(t(o,r)))}),n}var tl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new ao,providedIn:"root"})}return e})(),ao=class{parse(t){let n=new xu(t);return new vt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${to(t.root,!0)}`,r=ob(t.queryParams),o=typeof t.fragment=="string"?`#${nb(t.fragment)}`:"";return`${n}${r}${o}`}},tb=new ao;function vs(e){return e.segments.map(t=>hg(t)).join("/")}function to(e,t){if(!e.hasChildren())return vs(e);if(t){let n=e.children[T]?to(e.children[T],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==T&&r.push(`${o}:${to(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=eb(e,(r,o)=>o===T?[to(e.children[T],!1)]:[`${o}:${to(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[T]!=null?`${vs(e)}/${n[0]}`:`${vs(e)}/(${n.join("//")})`}}function fg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gs(e){return fg(e).replace(/%3B/gi,";")}function nb(e){return encodeURI(e)}function Au(e){return fg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ds(e){return decodeURIComponent(e)}function eg(e){return Ds(e.replace(/\+/g,"%20"))}function hg(e){return`${Au(e.path)}${rb(e.parameters)}`}function rb(e){return Object.entries(e).map(([t,n])=>`;${Au(t)}=${Au(n)}`).join("")}function ob(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${gs(n)}=${gs(o)}`).join("&"):`${gs(n)}=${gs(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var ib=/^[^\/()?;#]+/;function Iu(e){let t=e.match(ib);return t?t[0]:""}var sb=/^[^\/()?;=#]+/;function ab(e){let t=e.match(sb);return t?t[0]:""}var cb=/^[^=?&#]+/;function ub(e){let t=e.match(cb);return t?t[0]:""}var lb=/^[^&#]+/;function db(e){let t=e.match(lb);return t?t[0]:""}var xu=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],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[T]=new V(t,n)),r}parseSegment(){let t=Iu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new pn(Ds(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=ab(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Iu(this.remaining);o&&(r=o,this.capture(r))}t[Ds(n)]=Ds(r)}parseQueryParam(t){let n=ub(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=db(this.remaining);s&&(r=s,this.capture(r))}let o=eg(n),i=eg(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Iu(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=T);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[T]:new V([],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 D(4011,!1)}};function pg(e){return e.segments.length>0?new V([],{[T]:e}):e}function gg(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=gg(o);if(r===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new V(e.segments,t);return fb(n)}function fb(e){if(e.numberOfChildren===1&&e.children[T]){let t=e.children[T];return new V(e.segments.concat(t.segments),t.children)}return e}function mn(e){return e instanceof vt}function hb(e,t,n=null,r=null){let o=mg(e);return yg(o,t,n,r)}function mg(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new V(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=pg(r);return t??o}function yg(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return _u(o,o,o,n,r);let i=pb(t);if(i.toRoot())return _u(o,o,new V([],{}),n,r);let s=gb(i,o,e),a=s.processChildren?oo(s.segmentGroup,s.index,i.commands):Dg(s.segmentGroup,s.index,i.commands);return _u(o,s.segmentGroup,a,n,r)}function Cs(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function co(e){return typeof e=="object"&&e!=null&&e.outlets}function _u(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=vg(e,t,n);let a=pg(gg(s));return new vt(a,i,o)}function vg(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=vg(i,t,n)}),new V(e.segments,r)}var ws=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Cs(r[0]))throw new D(4003,!1);let o=r.find(co);if(o&&o!==ag(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pb(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ws(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ws(n,t,r)}var rr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function gb(e,t,n){if(e.isAbsolute)return new rr(t,!0,0);if(!n)return new rr(t,!1,NaN);if(n.parent===null)return new rr(n,!0,0);let r=Cs(e.commands[0])?0:1,o=n.segments.length-1+r;return mb(n,o,e.numberOfDoubleDots)}function mb(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new rr(r,!1,o-i)}function yb(e){return co(e[0])?e[0].outlets:{[T]:e}}function Dg(e,t,n){if(e??=new V([],{}),e.segments.length===0&&e.hasChildren())return oo(e,t,n);let r=vb(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==T)&&e.children[T]&&e.numberOfChildren===1&&e.children[T].segments.length===0){let i=oo(e.children[T],t,n);return new V(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Dg(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new V(e.segments,o)}}function vb(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(co(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ng(c,u,s))return i;r+=2}else{if(!ng(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Ru(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Ru(new V([],{}),0,r))}),t}function tg(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function ng(e,t,n){return e==n.path&&Je(t,n.parameters)}var io="imperative",se=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}(se||{}),ke=class{id;url;constructor(t,n){this.id=t,this.url=n}},uo=class extends ke{type=se.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},zt=class extends ke{urlAfterRedirects;type=se.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Me=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Me||{}),Ou=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Ou||{}),yt=class extends ke{reason;code;type=se.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},yn=class extends ke{reason;code;type=se.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},lo=class extends ke{error;target;type=se.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Es=class extends ke{urlAfterRedirects;state;type=se.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fu=class extends ke{urlAfterRedirects;state;type=se.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pu=class extends ke{urlAfterRedirects;state;shouldActivate;type=se.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ku=class extends ke{urlAfterRedirects;state;type=se.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lu=class extends ke{urlAfterRedirects;state;type=se.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class{route;type=se.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ju=class{route;type=se.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bu=class{snapshot;type=se.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uu=class{snapshot;type=se.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$u=class{snapshot;type=se.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hu=class{snapshot;type=se.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var fo=class{},ar=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Cb(e,t){return e.providers&&!e._injector&&(e._injector=tu(e.providers,t,`Route: ${e.path}`)),e._injector??t}function He(e){return e.outlet||T}function wb(e,t){let n=e.filter(r=>He(r)===t);return n.push(...e.filter(r=>He(r)!==t)),n}function vo(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 zu=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return vo(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Ns(this.rootInjector)}},Ns=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}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 zu(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(b(ge))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bs=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=Gu(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Gu(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=qu(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return qu(t,this._root).map(n=>n.value)}};function Gu(e,t){if(e===t.value)return t;for(let n of t.children){let r=Gu(e,n);if(r)return r}return null}function qu(e,t){if(e===t.value)return[t];for(let n of t.children){let r=qu(e,n);if(r.length)return r.unshift(t),r}return[]}var _e=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function nr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Is=class extends bs{snapshot;constructor(t,n){super(t),this.snapshot=n,nl(this,t)}toString(){return this.snapshot.toString()}};function Cg(e){let t=Eb(e),n=new te([new pn("",{})]),r=new te({}),o=new te({}),i=new te({}),s=new te(""),a=new vn(n,r,i,s,o,T,e,t.root);return a.snapshot=t.root,new Is(new _e(a,[]),t)}function Eb(e){let t={},n={},r={},o="",i=new or([],t,r,o,n,T,e,null,{});return new Ms("",new _e(i,[]))}var vn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(S(u=>u[yo]))??_(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(S(t=>sr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(t=>sr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _s(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Eg(o)&&(r.resolve[yo]=o.title),r}var or=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[yo]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=sr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=sr(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}')`}},Ms=class extends bs{url;constructor(t,n){super(n),this.url=t,nl(this,n)}toString(){return wg(this._root)}};function nl(e,t){t.value._routerState=e,t.children.forEach(n=>nl(e,n))}function wg(e){let t=e.children.length>0?` { ${e.children.map(wg).join(", ")} } `:"";return`${e.value}${t}`}function Mu(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Je(t.params,n.params)||e.paramsSubject.next(n.params),YE(t.url,n.url)||e.urlSubject.next(n.url),Je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wu(e,t){let n=Je(e.params,t.params)&&XE(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wu(e.parent,t.parent))}function Eg(e){return typeof e.title=="string"||e.title===null}var bb=new C(""),rl=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=T;activateEvents=new re;deactivateEvents=new re;attachEvents=new re;detachEvents=new re;routerOutletData=Yn(void 0);parentContexts=p(Ns);location=p($r);changeDetector=p(ht);inputBinder=p(ol,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(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 D(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Zu(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.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=Ie({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[lt]})}return e})(),Zu=class e{route;childContexts;parent;outletData;__ngOutletInjector(t){return new e(this.route,this.childContexts,t,this.outletData)}constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===vn?this.route:t===Ns?this.childContexts:t===bb?this.outletData:this.parent.get(t,n)}},ol=new C("");function Ib(e,t,n){let r=ho(e,t._root,n?n._root:void 0);return new Is(r,t)}function ho(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=_b(e,t,n);return new _e(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ho(e,a)),s}}let r=Mb(t.value),o=t.children.map(i=>ho(e,i));return new _e(r,o)}}function _b(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ho(e,r,o);return ho(e,r)})}function Mb(e){return new vn(new te(e.url),new te(e.params),new te(e.queryParams),new te(e.fragment),new te(e.data),e.outlet,e.component,e)}var po=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},bg="ngNavigationCancelingError";function Ss(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=mn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Ig(!1,Me.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Ig(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[bg]=!0,n.cancellationCode=t,n}function Sb(e){return _g(e)&&mn(e.url)}function _g(e){return!!e&&e[bg]}var Tb=(e,t,n,r)=>S(o=>(new Yu(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Yu=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Mu(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=nr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&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),o=r&&t.value.component?r.children:n,i=nr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);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),o=r&&t.value.component?r.children:n,i=nr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=nr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Hu(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Uu(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Mu(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),Mu(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Ts=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},ir=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Nb(e,t,n){let r=e._root,o=t?t._root:null;return no(r,o,n,[r.value])}function Ab(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ur(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Yd(e)?e:t.get(e):r}function no(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=nr(t);return e.children.forEach(s=>{xb(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>so(a,n.getContext(s),o)),o}function xb(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Rb(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ts(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?no(e,t,a?a.children:null,r,o):no(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ir(a.outlet.component,s))}else s&&so(t,a,o),o.canActivateChecks.push(new Ts(r)),i.component?no(e,null,a?a.children:null,r,o):no(e,null,n,r,o);return o}function Rb(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!gn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!gn(e.url,t.url)||!Je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wu(e,t)||!Je(e.queryParams,t.queryParams);case"paramsChange":default:return!Wu(e,t)}}function so(e,t,n){let r=nr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?so(s,t.children.getContext(i),n):so(s,null,n):so(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new ir(t.outlet.component,o)):n.canDeactivateChecks.push(new ir(null,o)):n.canDeactivateChecks.push(new ir(null,o))}function Do(e){return typeof e=="function"}function Ob(e){return typeof e=="boolean"}function Fb(e){return e&&Do(e.canLoad)}function Pb(e){return e&&Do(e.canActivate)}function kb(e){return e&&Do(e.canActivateChild)}function Lb(e){return e&&Do(e.canDeactivate)}function Vb(e){return e&&Do(e.canMatch)}function Mg(e){return e instanceof tt||e?.name==="EmptyError"}var ms=Symbol("INITIAL_VALUE");function cr(){return Ce(e=>Ko(e.map(t=>t.pipe(nt(1),la(ms)))).pipe(S(t=>{for(let n of t)if(n!==!0){if(n===ms)return ms;if(n===!1||jb(n))return n}return!0}),ae(t=>t!==ms),nt(1)))}function jb(e){return mn(e)||e instanceof po}function Bb(e,t){return ne(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?_(N(g({},n),{guardsResult:!0})):Ub(s,r,o,e).pipe(ne(a=>a&&Ob(a)?$b(r,i,e,t):_(a)),S(a=>N(g({},n),{guardsResult:a})))})}function Ub(e,t,n,r){return W(e).pipe(ne(o=>Wb(o.component,o.route,n,t,r)),ze(o=>o!==!0,!0))}function $b(e,t,n,r){return W(t).pipe(Et(o=>Nn(zb(o.route.parent,r),Hb(o.route,r),qb(e,o.path,n),Gb(e,o.route,n))),ze(o=>o!==!0,!0))}function Hb(e,t){return e!==null&&t&&t(new $u(e)),_(!0)}function zb(e,t){return e!==null&&t&&t(new Bu(e)),_(!0)}function Gb(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let o=r.map(i=>Jo(()=>{let s=vo(t)??n,a=ur(i,s),c=Pb(a)?a.canActivate(t,e):be(s,()=>a(t,e));return Gt(c).pipe(ze())}));return _(o).pipe(cr())}function qb(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Ab(s)).filter(s=>s!==null).map(s=>Jo(()=>{let a=s.guards.map(c=>{let u=vo(s.node)??n,l=ur(c,u),d=kb(l)?l.canActivateChild(r,e):be(u,()=>l(r,e));return Gt(d).pipe(ze())});return _(a).pipe(cr())}));return _(i).pipe(cr())}function Wb(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return _(!0);let s=i.map(a=>{let c=vo(t)??o,u=ur(a,c),l=Lb(u)?u.canDeactivate(e,t,n,r):be(c,()=>u(e,t,n,r));return Gt(l).pipe(ze())});return _(s).pipe(cr())}function Zb(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return _(!0);let i=o.map(s=>{let a=ur(s,e),c=Fb(a)?a.canLoad(t,n):be(e,()=>a(t,n));return Gt(c)});return _(i).pipe(cr(),Sg(r))}function Sg(e){return wr(oe(t=>{if(typeof t!="boolean")throw Ss(e,t)}),S(t=>t===!0))}function Yb(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return _(!0);let i=o.map(s=>{let a=ur(s,e),c=Vb(a)?a.canMatch(t,n):be(e,()=>a(t,n));return Gt(c)});return _(i).pipe(cr(),Sg(r))}var go=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},mo=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function tr(e){return Tn(new go(e))}function Qb(e){return Tn(new D(4e3,!1))}function Kb(e){return Tn(Ig(!1,Me.GuardRejected))}var Qu=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return _(r);if(o.numberOfChildren>1||!o.children[T])return Qb(`${t.redirectTo}`);o=o.children[T]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:y}=o,v=be(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:y}));if(v instanceof vt)throw new mo(v);n=v}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new mo(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new vt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new V(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Ku={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jb(e,t,n,r,o){let i=Tg(e,t,n);return i.matched?(r=Cb(t,r),Yb(r,t,n,o).pipe(S(s=>s===!0?i:g({},Ku)))):_(i)}function Tg(e,t,n){if(t.path==="**")return Xb(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Ku):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||ZE)(n,e,t);if(!o)return g({},Ku);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Xb(e){return{matched:!0,parameters:e.length>0?ag(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function rg(e,t,n,r){return n.length>0&&nI(e,n,r)?{segmentGroup:new V(t,tI(r,new V(n,e.children))),slicedSegments:[]}:n.length===0&&rI(e,n,r)?{segmentGroup:new V(e.segments,eI(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new V(e.segments,e.children),slicedSegments:n}}function eI(e,t,n,r){let o={};for(let i of n)if(As(e,t,i)&&!r[He(i)]){let s=new V([],{});o[He(i)]=s}return g(g({},r),o)}function tI(e,t){let n={};n[T]=t;for(let r of e)if(r.path===""&&He(r)!==T){let o=new V([],{});n[He(r)]=o}return n}function nI(e,t,n){return n.some(r=>As(e,t,r)&&He(r)!==T)}function rI(e,t,n){return n.some(r=>As(e,t,r))}function As(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function oI(e,t,n){return t.length===0&&!e.children[n]}var Ju=class{};function iI(e,t,n,r,o,i,s="emptyOnly"){return new Xu(e,t,n,r,o,s,i).recognize()}var sI=31,Xu=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qu(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=rg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(S(({children:n,rootSnapshot:r})=>{let o=new _e(r,n),i=new Ms("",o),s=hb(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new or([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,T,n).pipe(S(r=>({children:r,rootSnapshot:n})),wt(r=>{if(r instanceof mo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof go?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(S(s=>s instanceof _e?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(Et(s=>{let a=r.children[s],c=wb(n,s);return this.processSegmentGroup(t,c,a,s,o)}),aa((s,a)=>(s.push(...a),s)),bt(null),sa(),ne(s=>{if(s===null)return tr(r);let a=Ng(s);return aI(a),_(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(Et(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(wt(u=>{if(u instanceof go)return _(null);throw u}))),ze(c=>!!c),wt(c=>{if(Mg(c))return oI(r,o,i)?_(new Ju):tr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return He(r)!==s&&(s===T||!As(o,i,r))?tr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):tr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Tg(n,o,i);if(!c)return tr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>sI&&(this.allowRedirects=!1));let f=new or(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,og(o),He(o),o.component??o._loadedComponent??null,o,ig(o)),m=_s(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let y=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,y).pipe(ne(v=>this.processSegment(t,r,n,v.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=Jb(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Ce(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Ce(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new or(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,og(r),He(r),r.component??r._loadedComponent??null,r,ig(r)),y=_s(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(y.params),m.data=Object.freeze(y.data);let{segmentGroup:v,slicedSegments:I}=rg(n,h,f,u);if(I.length===0&&v.hasChildren())return this.processChildren(l,u,v,m).pipe(S(L=>new _e(m,L)));if(u.length===0&&I.length===0)return _(new _e(m,[]));let z=He(r)===i;return this.processSegment(l,u,v,I,z?T:i,!0,m).pipe(S(L=>new _e(m,L instanceof _e?[L]:[])))}))):tr(n)))}getChildConfig(t,n,r){return n.children?_({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?_({routes:n._loadedRoutes,injector:n._loadedInjector}):Zb(t,n,r,this.urlSerializer).pipe(ne(o=>o?this.configLoader.loadChildren(t,n).pipe(oe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):Kb(n))):_({routes:[],injector:t})}};function aI(e){e.sort((t,n)=>t.value.outlet===T?-1:n.value.outlet===T?1:t.value.outlet.localeCompare(n.value.outlet))}function cI(e){let t=e.value.routeConfig;return t&&t.path===""}function Ng(e){let t=[],n=new Set;for(let r of e){if(!cI(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Ng(r.children);t.push(new _e(r.value,o))}return t.filter(r=>!n.has(r))}function og(e){return e.data||{}}function ig(e){return e.resolve||{}}function uI(e,t,n,r,o,i){return ne(s=>iI(e,t,n,r,s.extractedUrl,o,i).pipe(S(({state:a,tree:c})=>N(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function lI(e,t){return ne(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return _(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Ag(c))s.add(u);let a=0;return W(s).pipe(Et(c=>i.has(c)?dI(c,r,e,t):(c.data=_s(c,c.parent,e).resolve,_(void 0))),oe(()=>a++),An(1),ne(c=>a===s.size?_(n):De))})}function Ag(e){let t=e.children.map(n=>Ag(n)).flat();return[e,...t]}function dI(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Eg(o)&&(i[yo]=o.title),fI(i,e,t,r).pipe(S(s=>(e._resolvedData=s,e.data=_s(e,e.parent,n).resolve,null)))}function fI(e,t,n,r){let o=Nu(e);if(o.length===0)return _({});let i={};return W(o).pipe(ne(s=>hI(e[s],t,n,r).pipe(ze(),oe(a=>{if(a instanceof po)throw Ss(new ao,a);i[s]=a}))),An(1),ia(i),wt(s=>Mg(s)?De:Tn(s)))}function hI(e,t,n,r){let o=vo(t)??r,i=ur(e,o),s=i.resolve?i.resolve(t,n):be(o,()=>i(t,n));return Gt(s)}function Su(e){return Ce(t=>{let n=e(t);return n?W(n).pipe(S(()=>t)):_(t)})}var xg=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===T);return r}getResolvedTitleForRoute(n){return n.data[yo]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(pI),providedIn:"root"})}return e})(),pI=(()=>{class e extends xg{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)(b(Jp))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),il=new C("",{providedIn:"root",factory:()=>({})}),gI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Oe({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,o){r&1&&Fe(0,"router-outlet")},dependencies:[rl],encapsulation:2})}return e})();function sl(e){let t=e.children&&e.children.map(sl),n=t?N(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==T&&(n.component=gI),n}var al=new C(""),mI=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(ou);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return _(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Gt(n.loadComponent()).pipe(S(Rg),oe(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Qt(()=>{this.componentLoaders.delete(n)})),o=new Sn(r,()=>new Y).pipe(Mn());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return _({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=yI(r,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(r)})),s=new Sn(i,()=>new Y).pipe(Mn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yI(e,t,n,r){return Gt(e.loadChildren()).pipe(S(Rg),ne(o=>o instanceof Rr||Array.isArray(o)?_(o):W(t.compileModuleAsync(o))),S(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(al,[],{optional:!0,self:!0}).flat()),{routes:s.map(sl),injector:i}}))}function vI(e){return e&&typeof e=="object"&&"default"in e}function Rg(e){return vI(e)?e.default:e}var cl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(DI),providedIn:"root"})}return e})(),DI=(()=>{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=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),CI=new C("");var wI=new C(""),EI=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Y;transitionAbortSubject=new Y;configLoader=p(mI);environmentInjector=p(ge);urlSerializer=p(tl);rootContexts=p(Ns);location=p(qr);inputBindingEnabled=p(ol,{optional:!0})!==null;titleStrategy=p(xg);options=p(il,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(cl);createViewTransition=p(CI,{optional:!0});navigationErrorHandler=p(wI,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>_(void 0);rootComponentType=null;constructor(){let n=o=>this.events.next(new Vu(o)),r=o=>this.events.next(new ju(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(N(g(g({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new te({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:io,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ae(i=>i.id!==0),S(i=>N(g({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Ce(i=>{let s=!1,a=!1;return _(i).pipe(Ce(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",Me.SupersededByNewNavigation),De;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?N(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new yn(c.id,this.urlSerializer.serialize(c.rawUrl),d,Ou.IgnoredSameUrlNavigation)),c.resolve(!1),De}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return _(c).pipe(Ce(d=>{let h=this.transitions?.getValue();return this.events.next(new uo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?De:Promise.resolve(d)}),uI(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),oe(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=N(g({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new Es(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:y}=c,v=new uo(d,this.urlSerializer.serialize(h),f,m);this.events.next(v);let I=Cg(this.rootComponentType).snapshot;return this.currentTransition=i=N(g({},c),{targetSnapshot:I,urlAfterRedirects:h,extras:N(g({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,_(i)}else{let d="";return this.events.next(new yn(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Ou.IgnoredByUrlHandlingStrategy)),c.resolve(!1),De}}),oe(c=>{let u=new Fu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),S(c=>(this.currentTransition=i=N(g({},c),{guards:Nb(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),Bb(this.environmentInjector,c=>this.events.next(c)),oe(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Ss(this.urlSerializer,c.guardsResult);let u=new Pu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ae(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",Me.GuardRejected),!1)),Su(c=>{if(c.guards.canActivateChecks.length)return _(c).pipe(oe(u=>{let l=new ku(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Ce(u=>{let l=!1;return _(u).pipe(lI(this.paramsInheritanceStrategy,this.environmentInjector),oe({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",Me.NoDataFromResolver)}}))}),oe(u=>{let l=new Lu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Su(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(oe(h=>{l.component=h}),S(()=>{})));for(let h of l.children)d.push(...u(h));return d};return Ko(u(c.targetSnapshot.root)).pipe(bt(null),nt(1))}),Su(()=>this.afterPreactivation()),Ce(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?W(l).pipe(S(()=>i)):_(i)}),S(c=>{let u=Ib(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=N(g({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),oe(()=>{this.events.next(new fo)}),Tb(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),nt(1),oe({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new zt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),da(this.transitionAbortSubject.pipe(oe(c=>{throw c}))),Qt(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",Me.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),wt(c=>{if(a=!0,_g(c))this.events.next(new yt(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),Sb(c)?this.events.next(new ar(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new lo(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=be(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof po){let{message:d,cancellationCode:h}=Ss(this.urlSerializer,l);this.events.next(new yt(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new ar(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),c}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return De}))}))}cancelNavigationTransition(n,r,o){let i=new yt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),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=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bI(e){return e!==io}var II=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(_I),providedIn:"root"})}return e})(),el=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},_I=(()=>{class e extends el{static \u0275fac=(()=>{let n;return function(o){return(n||(n=jr(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Og=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(MI),providedIn:"root"})}return e})(),MI=(()=>{class e extends Og{location=p(qr);urlSerializer=p(tl);options=p(il,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(cl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new vt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Cg(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof uo)this.stateMemento=this.createStateMemento();else if(n instanceof yn)this.rawUrlTree=r.initialUrl;else if(n instanceof Es){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else n instanceof fo?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof yt&&(n.code===Me.GuardRejected||n.code===Me.NoDataFromResolver)?this.restoreHistory(r):n instanceof lo?this.restoreHistory(r,!0):n instanceof zt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=n instanceof vt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=g(g({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=g(g({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&i===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",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(o){return(n||(n=jr(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ro=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ro||{});function SI(e,t){e.events.pipe(ae(n=>n instanceof zt||n instanceof yt||n instanceof lo||n instanceof yn),S(n=>n instanceof zt||n instanceof yn?ro.COMPLETE:(n instanceof yt?n.code===Me.Redirect||n.code===Me.SupersededByNewNavigation:!1)?ro.REDIRECTING:ro.FAILED),ae(n=>n!==ro.REDIRECTING),nt(1)).subscribe(()=>{t()})}var TI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ul=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(es);stateManager=p(Og);options=p(il,{optional:!0})||{};pendingTasks=p(Ot);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(EI);urlSerializer=p(tl);location=p(qr);urlHandlingStrategy=p(cl);_events=new Y;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(II);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(al,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(ol,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof yt&&r.code!==Me.Redirect&&r.code!==Me.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof zt)this.navigated=!0;else if(r instanceof ar){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||bI(o.source)},s);this.scheduleNavigation(a,io,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}xI(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});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),io,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(sl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=mg(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return yg(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=mn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,io,null,r)}navigate(n,r={skipLocationChange:!1}){return AI(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 o;if(r===!0?o=g({},TI):r===!1?o=g({},NI):o=r,mn(n))return Xp(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Xp(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return SI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AI(e){for(let t=0;t{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Y;constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof zt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(mn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||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),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Dh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:mn(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)(U(ul),U(vn),Rc("tabindex"),U(un),U(Ye),U(Bt))};static \u0275dir=Ie({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&fn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&dn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ke],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ke],replaceUrl:[2,"replaceUrl","replaceUrl",Ke],routerLink:"routerLink"},features:[Hr,lt]})}return e})();var RI=new C("");function Pg(e,...t){return xt([{provide:al,multi:!0,useValue:e},[],{provide:vn,useFactory:OI,deps:[ul]},{provide:ts,multi:!0,useFactory:PI},t.map(n=>n.\u0275providers)])}function OI(e){return e.routerState.root}function FI(e,t){return{\u0275kind:e,\u0275providers:t}}function PI(){let e=p(ot);return t=>{let n=e.get(kt);if(t!==n.components[0])return;let r=e.get(ul),o=e.get(kI);e.get(LI)===1&&r.initialNavigation(),e.get(VI,null,A.Optional)?.setUpPreloading(),e.get(RI,null,A.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var kI=new C("",{factory:()=>new Y}),LI=new C("",{providedIn:"root",factory:()=>1});var VI=new C("");function kg(){return FI(6,[{provide:Bt,useClass:Sp}])}var Lg=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Oe({type:e,selectors:[["app-root"]],decls:20,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","bg-light"],["routerLink","/",1,"navbar-brand"],["type","button","data-toggle","collapse","data-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],[1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["routerLink","/",1,"nav-link"],["routerLink","/other",1,"nav-link"],["routerLink","/inline",1,"nav-link"],[2,"line-height","30px"],[2,"margin-top","16px"]],template:function(r,o){r&1&&(j(0,"nav",0)(1,"a",1),Z(2,"ngx-tinymce"),B(),j(3,"button",2),Fe(4,"span",3),B(),j(5,"div",4)(6,"ul",5)(7,"li",6)(8,"a",7),Z(9,"Home"),B()(),j(10,"li",6)(11,"a",8),Z(12,"Other"),B()(),j(13,"li",6)(14,"a",9),Z(15,"Inline"),B()()()()(),j(16,"p",10),Z(17,"Angular for tinymce"),B(),j(18,"div",11),Fe(19,"router-outlet"),B())},dependencies:[rl,Fg],encapsulation:2})}}return e})();var Gg=(()=>{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)(U(un),U(Ye))};static \u0275dir=Ie({type:e})}return e})(),jI=(()=>{class e extends Gg{static \u0275fac=(()=>{let n;return function(o){return(n||(n=jr(e)))(o||e)}})();static \u0275dir=Ie({type:e,features:[Kn]})}return e})(),Ps=new C("");var BI={provide:Ps,useExisting:an(()=>qg),multi:!0};function UI(){let e=gt()?gt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var $I=new C(""),qg=(()=>{class e extends Gg{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!UI())}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)(U(un),U(Ye),U($I,8))};static \u0275dir=Ie({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,o){r&1&&fn("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Gr([BI]),Kn]})}return e})();var HI=new C(""),zI=new C("");function Wg(e){return e!=null}function Zg(e){return ln(e)?W(e):e}function Yg(e){let t={};return e.forEach(n=>{t=n!=null?g(g({},t),n):t}),Object.keys(t).length===0?null:t}function Qg(e,t){return t.map(n=>n(e))}function GI(e){return!e.validate}function Kg(e){return e.map(t=>GI(t)?t:n=>t.validate(n))}function qI(e){if(!e)return null;let t=e.filter(Wg);return t.length==0?null:function(n){return Yg(Qg(n,t))}}function Jg(e){return e!=null?qI(Kg(e)):null}function WI(e){if(!e)return null;let t=e.filter(Wg);return t.length==0?null:function(n){let r=Qg(n,t).map(Zg);return oa(r).pipe(S(Yg))}}function Xg(e){return e!=null?WI(Kg(e)):null}function Vg(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ZI(e){return e._rawValidators}function YI(e){return e._rawAsyncValidators}function ll(e){return e?Array.isArray(e)?e:[e]:[]}function Rs(e,t){return Array.isArray(e)?e.includes(t):e===t}function jg(e,t){let n=ll(t);return ll(e).forEach(o=>{Rs(n,o)||n.push(o)}),n}function Bg(e,t){return ll(t).filter(n=>!Rs(e,n))}var Os=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=Jg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Xg(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}},dl=class extends Os{name;get formDirective(){return null}get path(){return null}},Io=class extends Os{_parent=null;name=null;valueAccessor=null},fl=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}},QI={"[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"},yR=N(g({},QI),{"[class.ng-submitted]":"isSubmitted"}),hr=(()=>{class e extends fl{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(U(Io,2))};static \u0275dir=Ie({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&nu("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Kn]})}return e})();var Co="VALID",xs="INVALID",lr="PENDING",wo="DISABLED",fr=class{},Fs=class extends fr{value;source;constructor(t,n){super(),this.value=t,this.source=n}},Eo=class extends fr{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},bo=class extends fr{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},dr=class extends fr{status;source;constructor(t,n){super(),this.status=t,this.source=n}};function KI(e){return(ks(e)?e.validators:e)||null}function JI(e){return Array.isArray(e)?Jg(e):e||null}function XI(e,t){return(ks(t)?t.asyncValidators:e)||null}function e_(e){return Array.isArray(e)?Xg(e):e||null}function ks(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var hl=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 jt(this.statusReactive)}set status(t){jt(()=>this.statusReactive.set(t))}_status=is(()=>this.statusReactive());statusReactive=ns(void 0);get valid(){return this.status===Co}get invalid(){return this.status===xs}get pending(){return this.status==lr}get disabled(){return this.status===wo}get enabled(){return this.status!==wo}errors;get pristine(){return jt(this.pristineReactive)}set pristine(t){jt(()=>this.pristineReactive.set(t))}_pristine=is(()=>this.pristineReactive());pristineReactive=ns(!0);get dirty(){return!this.pristine}get touched(){return jt(this.touchedReactive)}set touched(t){jt(()=>this.touchedReactive.set(t))}_touched=is(()=>this.touchedReactive());touchedReactive=ns(!1);get untouched(){return!this.touched}_events=new Y;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(jg(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(jg(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Bg(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Bg(t,this._rawAsyncValidators))}hasValidator(t){return Rs(this._rawValidators,t)}hasAsyncValidator(t){return Rs(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(N(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new bo(!0,r))}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(o=>{o.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 bo(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(N(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new Eo(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new Eo(!0,r))}markAsPending(t={}){this.status=lr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new dr(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(N(g({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=wo,this.errors=null,this._forEachChild(o=>{o.disable(N(g({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Fs(this.value,r)),this._events.next(new dr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(g({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=Co,this._forEachChild(r=>{r.enable(N(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(N(g({},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===Co||this.status===lr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Fs(this.value,n)),this._events.next(new dr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(N(g({},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()?wo:Co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=lr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let r=Zg(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=this._hasOwnPendingAsyncValidator?.emitEvent??!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,o)=>r&&r._find(o),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 dr(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new re,this.statusChanges=new re}_calculateStatus(){return this._allControlsDisabled()?wo:this.errors?xs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lr)?lr:this._anyControlsHaveStatus(xs)?xs:Co}_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(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new Eo(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new bo(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ks(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=JI(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=e_(this._rawAsyncValidators)}};var em=new C("CallSetDisabledState",{providedIn:"root",factory:()=>pl}),pl="always";function t_(e,t){return[...t.path,e]}function n_(e,t,n=pl){o_(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),i_(e,t),a_(e,t),s_(e,t),r_(e,t)}function Ug(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function r_(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function o_(e,t){let n=ZI(e);t.validator!==null?e.setValidators(Vg(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=YI(e);t.asyncValidator!==null?e.setAsyncValidators(Vg(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Ug(t._rawValidators,o),Ug(t._rawAsyncValidators,o)}function i_(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&tm(e,t)})}function s_(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&tm(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function tm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function a_(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function c_(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function u_(e){return Object.getPrototypeOf(e.constructor)===jI}function l_(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===qg?n=i:u_(i)?r=i:o=i}),o||r||n||null}function $g(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hg(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var d_=class extends hl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(KI(n),XI(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ks(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Hg(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){$g(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){$g(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){Hg(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 f_={provide:Io,useExisting:an(()=>Dt)},zg=Promise.resolve(),Dt=(()=>{class e extends Io{_changeDetectorRef;callSetDisabledState;control=new d_;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new re;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=l_(this,i)}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),c_(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(){n_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){zg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Ke(r);zg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?t_(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(U(dl,9),U(HI,10),U(zI,10),U(Ps,10),U(ht,8),U(em,8))};static \u0275dir=Ie({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:[Gr([f_]),Kn,lt]})}return e})();var h_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pt({type:e});static \u0275inj=At({})}return e})();var Dn=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:em,useValue:n.callSetDisabledState??pl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pt({type:e});static \u0275inj=At({imports:[h_]})}return e})();var p_=new C("HighlightJs-Config");var pr=(()=>{class e{constructor(){this.options=Yn(),this.l=Yn("html",{alias:"lang"}),this.code=hp(),this.mode=Yn("simple"),this.el=p(Ye),this.ngModel=p(Dt,{optional:!0}),this.doc=p(Q),this.cog=p(p_,{optional:!0}),this.ngZone=p(G),Object.assign(this,this.cog)}escapeHTML(n){return(n||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}init(){this.ngZone.runOutsideAngular(()=>{this.destroy();let n=this.el.nativeElement,r=this.code()??""+n.innerHTML.trim(),o=this.doc;if(this.codeEl=o.createElement(this.mode()==="default"?"div":"pre"),this.codeEl==null)return;let i=this.mode()==="simple";if(i){let a=this.l();a&&(this.codeEl.className=a),this.parentEl=n.parentNode,this.parentEl.insertBefore(this.codeEl,n.nextSibling)}else this.parentEl=n,this.parentEl.innerHTML="",this.parentEl.appendChild(this.codeEl);this.codeEl.innerHTML=r;let s=o.defaultView.hljs;s!=null&&(s.configure(g({},this.options())),i?s.highlightElement(this.codeEl):this.codeEl.querySelectorAll("pre code").forEach(a=>{s.highlightElement(a)}))})}destroy(){this.codeEl&&this.parentEl&&(this.parentEl.removeChild(this.codeEl),this.codeEl=void 0)}ngAfterViewInit(){this.init(),this.ngModel?this.modelValue$=this.ngModel.valueChanges?.subscribe(n=>{this.code.set(this.escapeHTML(n)),this.init()}):this.initMutation()}ngOnDestroy(){this.destroy(),this.observer?.disconnect(),this.modelValue$?.unsubscribe()}initMutation(){typeof MutationObserver>"u"||this.ngZone.runOutsideAngular(()=>{this.observer=new MutationObserver(this.init.bind(this)),this.observer.observe(this.el.nativeElement,{characterData:!0,childList:!0,subtree:!0})})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Ie({type:e,selectors:[["","highlight-js",""]],hostVars:2,hostBindings:function(r,o){r&2&&rs("display",o.mode()==="simple"?"none":null)},inputs:{options:[1,"options"],l:[1,"lang","l"],code:[1,"code"],mode:[1,"mode"]},outputs:{code:"codeChange"},exportAs:["highlightJs"]})}}return e})();var Cn=class{constructor(){this.baseURL="./assets/tinymce/",this.fileName="tinymce.min.js"}};var nm=(()=>{class e{constructor(){this.doc=p(Q),this.list={},this.cached={},this._notify=new te([])}fixPaths(n){return n=n||[],Array.isArray(n)||(n=[n]),n.map(r=>{let o=typeof r=="string"?{path:r}:r;return o.type||(o.type=o.path.endsWith(".js")||o.callback?"script":"style"),o})}monitor(n){let r=this.fixPaths(n),o=[ua(),ae(i=>i.length!==0)];return r.length>0&&o.push(ae(i=>i.length===r.length&&i.every(s=>s.status==="ok"&&r.find(a=>a.path===s.path)))),this._notify.asObservable().pipe(wr.apply(this,o))}clear(){this.list={},this.cached={}}load(n){return qt(this,null,function*(){return n=this.fixPaths(n),Promise.all(n.map(r=>r.type==="script"?this.loadScript(r.path,{callback:r.callback}):this.loadStyle(r.path))).then(r=>(this._notify.next(r),Promise.resolve(r)))})}loadScript(n,r){let{innerContent:o}=g({},r);return new Promise(i=>{if(this.list[n]===!0){i(N(g({},this.cached[n]),{status:"loading"}));return}this.list[n]=!0;let s=u=>{u.status==="ok"&&r?.callback?window[r?.callback]=()=>{a(u)}:a(u)},a=u=>{u.type="script",this.cached[n]=u,i(u),this._notify.next([u])},c=this.doc.createElement("script");c.type="text/javascript",c.src=n,c.charset="utf-8",o&&(c.innerHTML=o),c.readyState?c.onreadystatechange=()=>{(c.readyState==="loaded"||c.readyState==="complete")&&(c.onreadystatechange=null,s({path:n,status:"ok"}))}:c.onload=()=>s({path:n,status:"ok"}),c.onerror=u=>s({path:n,status:"error",error:u}),this.doc.getElementsByTagName("head")[0].appendChild(c)})}loadStyle(n,r){let{rel:o,innerContent:i}=g({rel:"stylesheet"},r);return new Promise(s=>{if(this.list[n]===!0){s(this.cached[n]);return}this.list[n]=!0;let a=this.doc.createElement("link");a.rel=o,a.type="text/css",a.href=n,i&&(a.innerHTML=i),this.doc.getElementsByTagName("head")[0].appendChild(a);let c={path:n,status:"ok",type:"style"};this.cached[n]=c,s(c)})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var g_=["*"];function m_(e,t){if(e&1&&(j(0,"div"),vp(1),B()),e&2){let n=Xn();dn("id",n.id)}}function y_(e,t){if(e&1&&Fe(0,"textarea",0),e&2){let n=Xn();dn("id",n.id)("placeholder",n.placeholder)}}function v_(e,t){if(e&1&&Z(0),e&2){let n=Xn(2);ru(" ",n._loading," ")}}function D_(e,t){}function C_(e,t){if(e&1&&zr(0,D_,0,0,"ng-template",2),e&2){let n=Xn(2);Qe("ngTemplateOutlet",n._loadingTpl)}}function w_(e,t){if(e&1&&(j(0,"div",1),zr(1,v_,1,1)(2,C_,1,1,null,2),B()),e&2){let n=Xn();Re(),os(n._loading?1:2)}}var rm=!(typeof document=="object"&&document),wn=(()=>{class e{constructor(){this.defConfig=p(Cn,{optional:!0}),this.lazySrv=p(nm),this.ngZone=p(G),this.doc=p(Q),this.cd=p(ht),this.value="",this.load=!0,this.id=`_tinymce-${Math.random().toString(36).substring(2)}`,this.placeholder="",this.inline=!1,this._disabled=!1,this._loading=null,this._loadingTpl=null,this.delay=0,this.ready=new re}set disabled(n){this._disabled=n,this.setDisabled()}set loading(n){n instanceof Xi?(this._loading=null,this._loadingTpl=n):this._loading=n}get instance(){return this._instance}_getWin(){return this.doc.defaultView||window}initDelay(){rm||setTimeout(()=>this.init(),Math.max(0,this.delay))}init(){let n=this._getWin();if(!n.tinymce)throw new Error("tinymce js\u6587\u4EF6\u52A0\u8F7D\u5931\u8D25");let{defConfig:r,config:o,id:i,inline:s}=this;if(this._instance)return;if(r?.baseURL){let u=""+r.baseURL;u.endsWith("/")&&(u=u.substring(0,u.length-1)),n.tinymce.baseURL=u}let a=g(g({},r?.config),o),c=N(g(g({selector:"#"+i,inline:s},r?.config),o),{setup:u=>{this._instance=u,this.onChange&&u.on("change keyup",()=>{this.value=u.getContent(),this.ngZone.run(()=>this.onChange(this.value))}),typeof a.setup=="function"&&a.setup(u)},init_instance_callback:u=>{u&&this.value&&u.setContent(this.value),this.setDisabled(),typeof a.init_instance_callback=="function"&&a.init_instance_callback(u),this.ready.emit(u)}});a.auto_focus&&(c.auto_focus=i),this.ngZone.runOutsideAngular(()=>n.tinymce.init(c)),this.load=!1,this.cd.detectChanges()}destroy(){this._instance!=null&&(this.ngZone.runOutsideAngular(()=>{this._instance.off(),this._instance.remove()}),this._instance=null)}setDisabled(){this._instance&&this.ngZone.runOutsideAngular(()=>{let n=this._disabled?"readonly":"design",r=this._instance.setMode;typeof r=="function"?r(n):this._instance.mode.set(n)})}ngAfterViewInit(){if(rm)return;if(this._getWin().tinymce){this.initDelay();return}let{defConfig:n}=this,r=n&&n.baseURL,o=n&&n.fileName,i=(r||"./assets/tinymce/")+(o||"tinymce.min.js");this.lazySrv.monitor(i).subscribe(()=>this.initDelay()),this.lazySrv.load(i)}ngOnChanges(n){this._instance&&n.config&&(this.destroy(),this.initDelay())}ngOnDestroy(){this.destroy()}writeValue(n){this.value=n||"",this._instance&&this.ngZone.runOutsideAngular(()=>this._instance.setContent(this.value))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this.setDisabled()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Oe({type:e,selectors:[["tinymce"]],inputs:{config:"config",placeholder:"placeholder",inline:[2,"inline","inline",Ke],disabled:[2,"disabled","disabled",Ke],loading:"loading",delay:[2,"delay","delay",su]},outputs:{ready:"ready"},exportAs:["tinymce"],features:[Gr([{provide:Ps,useExisting:an(()=>e),multi:!0}]),Hr,lt],ngContentSelectors:g_,decls:3,vars:2,consts:[[1,"tinymce-selector"],[1,"loading"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&(yp(),zr(0,m_,2,1,"div")(1,y_,1,2,"textarea",0)(2,w_,3,1,"div",1)),r&2&&(os(o.inline?0:1),Re(2),os(o.load?2:-1))},dependencies:[Tp],styles:[`tinymce .tinymce-selector{display:none} +`],encapsulation:2,changeDetection:0})}}return e})();function om(e){return xt([{provide:Cn,useValue:e}])}var im=(()=>{class e{constructor(n){this.san=n,this.html=` +

TinyMCE Logo +

+

Welcome to the TinyMCE Cloud demo!

+
Note, this includes some "enterprise/premium" features.
Visit the pricing page to learn more about our premium plugins.
+

Please try out the features provided in this full featured example.

+ +

Got questions or need help?

+ + +

A simple table to play with

+ + + + + + + + + + + + + + + + + + + + +
ProductCostReally?
TinyMCE CloudGet started for freeYES!
PluploadFreeYES!
+ +

Found a bug?

+

If you think you have found a bug please create an issue on the GitHub repo to report it to the developers.

+ +

Finally ...

+

Don't forget to check out our other product Plupload, your ultimate upload solution featuring HTML5 upload support.

+

Thanks for supporting TinyMCE! We hope it helps you and your users create great content.
All the best from the TinyMCE team.

+ `,this.config={height:350}}static{this.\u0275fac=function(r){return new(r||e)(U(eo))}}static{this.\u0275cmp=Oe({type:e,selectors:[["app-home"]],decls:17,vars:4,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],[3,"ngModelChange","ngModel","config"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"],["disabled","",3,"ngModelChange","ngModel"]],template:function(r,o){r&1&&(j(0,"div",0)(1,"div",1),Z(2,"Basic"),B(),j(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html">'),B(),j(7,"tinymce",4),Vt("ngModelChange",function(s){return hn(o.html,s)||(o.html=s),s}),B(),Z(8," Result: "),j(9,"div",5)(10,"div",2),Fe(11,"blockquote",6),B()()()(),j(12,"div",0)(13,"div",1),Z(14,"Disabled"),B(),j(15,"div",2)(16,"tinymce",7),Vt("ngModelChange",function(s){return hn(o.html,s)||(o.html=s),s}),B()()()),r&2&&(Re(7),Lt("ngModel",o.html),Qe("config",o.config),Re(4),Qe("innerHTML",o.san.bypassSecurityTrustHtml(o.html),Yi),Re(5),Lt("ngModel",o.html))},dependencies:[Dn,hr,Dt,pr,wn],encapsulation:2})}}return e})();var sm=(()=>{class e{constructor(){this.html=`now: ${+new Date}`,this.config={height:500,menubar:!1,plugins:["advlist autolink lists link image charmap print preview anchor","searchreplace visualblocks code fullscreen","insertdatetime media table paste code help wordcount"],toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",content_css:"//www.tiny.cloud/css/codepen.min.css"}}ready(n){console.log("ready",n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Oe({type:e,selectors:[["app-other"]],decls:8,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["loading","\u52A0\u8F7D\u4E2D\u2026\u2026",3,"ngModelChange","ready","ngModel","config"]],template:function(r,o){r&1&&(j(0,"div",0)(1,"div",1),Z(2,"Loading"),B(),j(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html">'),B(),j(7,"tinymce",4),Vt("ngModelChange",function(s){return hn(o.html,s)||(o.html=s),s}),fn("ready",function(s){return o.ready(s)}),B()()()),r&2&&(Re(7),Lt("ngModel",o.html),Qe("config",o.config))},dependencies:[Dn,hr,Dt,pr,wn],encapsulation:2})}}return e})();var am=(()=>{class e{constructor(n){this.san=n,this.html=` +
+
+

+

The world’s first rich text editor in the cloud

+

+
+

+ Have you heard about Tiny Cloud? It’s the first step in our journey to help you deliver great content creation + experiences, no matter your level of expertise. 50,000 developers already agree. They get free access to our global CDN, image + proxy services and auto updates to the TinyMCE editor. They’re also ready for some exciting updates coming soon. +

+

+ One of these enhancements is Tiny Drive: imagine file management for TinyMCE, in the cloud, made super easy. + Learn more at tiny.cloud/tinydrive, where you’ll find a working demo and an + opportunity to provide feedback to the product team. +

+
+
+

An editor for every project

+
+

Here are some of our customer’s most common use cases for TinyMCE:

+
    +
  • Content Management Systems (e.g. WordPress, Umbraco)
  • +
  • Learning Management Systems (e.g. Blackboard)
  • +
  • Customer Relationship Management and marketing automation (e.g. Marketo)
  • +
  • Email marketing (e.g. Constant Contact)
  • +
  • Content creation in SaaS systems (e.g. Eventbrite, Evernote, GoFundMe, Zendesk)
  • +
+

+ And those use cases are just the start. TinyMCE is incredibly flexible, and with hundreds of APIs there’s likely a + solution for your editor project. If you haven’t experienced Tiny Cloud, get started today. You’ll even get a free + trial of our premium plugins – no credit card required! +

+
+
`}ready(n){console.log("ready",n)}static{this.\u0275fac=function(r){return new(r||e)(U(eo))}}static{this.\u0275cmp=Oe({type:e,selectors:[["app-inline"]],decls:12,vars:2,consts:[[1,"card","mb-3"],[1,"card-header"],[1,"card-body"],["highlight-js",""],["inline","",3,"ngModelChange","ngModel"],[1,"card","card-outline-secondary","mt-3"],[1,"card-bodyquote",3,"innerHTML"]],template:function(r,o){r&1&&(j(0,"div",0)(1,"div",1),Z(2,"Inline mode"),B(),j(3,"div",2)(4,"textarea",3),Z(5,"<"),Z(6,'tinymce [config]="config" [(ngModel)]="html" inline>'),B(),j(7,"tinymce",4),Vt("ngModelChange",function(s){return hn(o.html,s)||(o.html=s),s}),B(),Z(8," Result: "),j(9,"div",5)(10,"div",2),Fe(11,"blockquote",6),B()()()()),r&2&&(Re(7),Lt("ngModel",o.html),Re(4),Qe("innerHTML",o.san.bypassSecurityTrustHtml(o.html),Yi))},dependencies:[Dn,hr,Dt,pr,wn],encapsulation:2})}}return e})();var cm=[{path:"",component:im},{path:"other",component:sm},{path:"inline",component:am}];Kp(Lg,{providers:[Up(),Pg(cm,kg()),om({baseURL:"//cdn.tiny.cloud/1/no-api-key/tinymce/7/"})]}).catch(e=>console.error(e));