From 8b308a4ff866a306312bd5c71b9f05c776a4afb0 Mon Sep 17 00:00:00 2001 From: Louis Lin Date: Wed, 15 Nov 2023 08:37:53 +0100 Subject: [PATCH] Deploy documentation to gh-pages --- index.html | 2 +- main.9d174860fea30b16.js => main.c9daa8914bf5c69e.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename main.9d174860fea30b16.js => main.c9daa8914bf5c69e.js (95%) diff --git a/index.html b/index.html index dd70b6a7..0cad3283 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,6 @@
Loading..
- + diff --git a/main.9d174860fea30b16.js b/main.c9daa8914bf5c69e.js similarity index 95% rename from main.9d174860fea30b16.js rename to main.c9daa8914bf5c69e.js index cf841959..941ce26a 100644 --- a/main.9d174860fea30b16.js +++ b/main.c9daa8914bf5c69e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkangular_datatables_demo=self.webpackChunkangular_datatables_demo||[]).push([[179],{318:()=>{let Fe=null,ri=1;function Oe(e){const n=Fe;return Fe=e,n}function Eg(e){if((!No(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ri)){if(!e.producerMustRecompute(e)&&!hu(e))return e.dirty=!1,void(e.lastCleanEpoch=ri);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ri}}function hu(e){ii(e);for(let n=0;n0}function ii(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Og=null;function De(e){return"function"==typeof e}function mu(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const yu=mu(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ya(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class bt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(De(r))try{r()}catch(o){n=o instanceof yu?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Lg(o)}catch(s){n=n??[],s instanceof yu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new yu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Lg(n);else{if(n instanceof bt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&ya(t,n)}remove(n){const{_finalizers:t}=this;t&&ya(t,n),n instanceof bt&&n._removeParent(this)}}bt.EMPTY=(()=>{const e=new bt;return e.closed=!0,e})();const Pg=bt.EMPTY;function Fg(e){return e instanceof bt||e&&"closed"in e&&De(e.remove)&&De(e.add)&&De(e.unsubscribe)}function Lg(e){De(e)?e():e.unsubscribe()}const Tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},va={setTimeout(e,n,...t){const{delegate:r}=va;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=va;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Vg(e){va.setTimeout(()=>{const{onUnhandledError:n}=Tr;if(!n)throw e;n(e)})}function vu(){}const ES=_u("C",void 0,void 0);function _u(e,n,t){return{kind:e,value:n,error:t}}let Sr=null;function _a(e){if(Tr.useDeprecatedSynchronousErrorHandling){const n=!Sr;if(n&&(Sr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Sr;if(Sr=null,t)throw r}}else e()}class wu extends bt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Fg(n)&&n.add(this)):this.destination=xS}static create(n,t,r){return new Ao(n,t,r)}next(n){this.isStopped?Cu(function TS(e){return _u("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Cu(function IS(e){return _u("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Cu(ES,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const MS=Function.prototype.bind;function Du(e,n){return MS.call(e,n)}class NS{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){wa(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){wa(r)}else wa(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){wa(t)}}}class Ao extends wu{constructor(n,t,r){let i;if(super(),De(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Tr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Du(n.next,o),error:n.error&&Du(n.error,o),complete:n.complete&&Du(n.complete,o)}):i=n}this.destination=new NS(i)}}function wa(e){Tr.useDeprecatedSynchronousErrorHandling?function SS(e){Tr.useDeprecatedSynchronousErrorHandling&&Sr&&(Sr.errorThrown=!0,Sr.error=e)}(e):Vg(e)}function Cu(e,n){const{onStoppedNotification:t}=Tr;t&&va.setTimeout(()=>t(e,n))}const xS={closed:!0,next:vu,error:function AS(e){throw e},complete:vu},bu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jn(e){return e}function jg(e){return 0===e.length?Jn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Ae=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function RS(e){return e&&e instanceof wu||function kS(e){return e&&De(e.next)&&De(e.error)&&De(e.complete)}(e)&&Fg(e)}(t)?t:new Ao(t,r,i);return _a(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Hg(r))((i,o)=>{const s=new Ao({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[bu](){return this}pipe(...t){return jg(t)(this)}toPromise(t){return new(t=Hg(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Hg(e){var n;return null!==(n=e??Tr.Promise)&&void 0!==n?n:Promise}const PS=mu(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let $e=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new $g(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new PS}next(t){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Pg:(this.currentObservers=null,o.push(t),new bt(()=>{this.currentObservers=null,ya(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new Ae;return t.source=this,t}}return e.create=(n,t)=>new $g(n,t),e})();class $g extends $e{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Pg}}function Bg(e){return De(e?.lift)}function Ze(e){return n=>{if(Bg(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Be(e,n,t,r,i){return new FS(e,n,t,r,i)}class FS extends wu{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ee(e,n){return Ze((t,r)=>{let i=0;t.subscribe(Be(r,o=>{r.next(e.call(n,o,i++))}))})}function er(e){return this instanceof er?(this.v=e,this):new er(e)}function Wg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Su(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const qg=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Zg(e){return De(e?.then)}function Yg(e){return De(e[bu])}function Qg(e){return Symbol.asyncIterator&&De(e?.[Symbol.asyncIterator])}function Kg(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Xg=function iM(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Jg(e){return De(e?.[Xg])}function em(e){return function Gg(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,v){o.push([f,h,p,v])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof er?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield er(t.read());if(i)return yield er(void 0);yield yield er(r)}}finally{t.releaseLock()}})}function tm(e){return De(e?.getReader)}function kt(e){if(e instanceof Ae)return e;if(null!=e){if(Yg(e))return function oM(e){return new Ae(n=>{const t=e[bu]();if(De(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qg(e))return function sM(e){return new Ae(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Vg)})}(e);if(Qg(e))return nm(e);if(Jg(e))return function lM(e){return new Ae(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(tm(e))return function cM(e){return nm(em(e))}(e)}throw Kg(e)}function nm(e){return new Ae(n=>{(function uM(e,n){var t,r,i,o;return function Ug(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Wg(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Fn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function it(e,n,t=1/0){return De(n)?it((r,i)=>ee((o,s)=>n(r,o,i,s))(kt(e(r,i))),t):("number"==typeof n&&(t=n),Ze((r,i)=>function dM(e,n,t,r,i,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=v=>c{o&&n.next(v),c++;let _=!1;kt(t(v,u++)).subscribe(Be(n,b=>{i?.(b),o?h(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(b)):p(b)}f()}catch(b){n.error(b)}}))};return e.subscribe(Be(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,t)))}function oi(e=1/0){return it(Jn,e)}const un=new Ae(e=>e.complete());function rm(e){return e&&De(e.schedule)}function Mu(e){return e[e.length-1]}function im(e){return De(Mu(e))?e.pop():void 0}function xo(e){return rm(Mu(e))?e.pop():void 0}function om(e,n=0){return Ze((t,r)=>{t.subscribe(Be(r,i=>Fn(r,e,()=>r.next(i),n),()=>Fn(r,e,()=>r.complete(),n),i=>Fn(r,e,()=>r.error(i),n)))})}function sm(e,n=0){return Ze((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function am(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ae(t=>{Fn(t,n,()=>{const r=e[Symbol.asyncIterator]();Fn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Ue(e,n){return n?function _M(e,n){if(null!=e){if(Yg(e))return function pM(e,n){return kt(e).pipe(sm(n),om(n))}(e,n);if(qg(e))return function mM(e,n){return new Ae(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(Zg(e))return function gM(e,n){return kt(e).pipe(sm(n),om(n))}(e,n);if(Qg(e))return am(e,n);if(Jg(e))return function yM(e,n){return new Ae(t=>{let r;return Fn(t,n,()=>{r=e[Xg](),Fn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>De(r?.return)&&r.return()})}(e,n);if(tm(e))return function vM(e,n){return am(em(e),n)}(e,n)}throw Kg(e)}(e,n):kt(e)}function lm(...e){const n=xo(e),t=function hM(e,n){return"number"==typeof Mu(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?kt(r[0]):oi(t)(Ue(r,n)):un}class qt extends $e{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function L(...e){return Ue(e,xo(e))}function Nu(e={}){const{connector:n=(()=>new $e),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const v=s;h(),v?.unsubscribe()};return Ze((v,_)=>{c++,!d&&!u&&f();const b=l=l??n();_.add(()=>{c--,0===c&&!d&&!u&&(a=Au(p,i))}),b.subscribe(_),!s&&c>0&&(s=new Ao({next:w=>b.next(w),error:w=>{d=!0,f(),a=Au(h,t,w),b.error(w)},complete:()=>{u=!0,f(),a=Au(h,r),b.complete()}}),kt(v).subscribe(s))})(o)}}function Au(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Ao({next:()=>{r.unsubscribe(),e()}});return kt(n(...t)).subscribe(r)}function Rt(e,n){return Ze((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(Be(r,l=>{i?.unsubscribe();let c=0;const u=o++;kt(e(l,u)).subscribe(i=Be(r,d=>r.next(n?n(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function cm(e,n=Jn){return e=e??wM,Ze((t,r)=>{let i,o=!0;t.subscribe(Be(r,s=>{const a=n(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}function wM(e,n){return e===n}function ce(e){for(let n in e)if(e[n]===ce)return n;throw Error("Could not find renamed property on target object.")}function Da(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ze).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function xu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const DM=ce({__forward_ref__:ce});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return ze(this())},e}function j(e){return Ca(e)?e():e}function Ca(e){return"function"==typeof e&&e.hasOwnProperty(DM)&&e.__forward_ref__===ge}function Ou(e){return e&&!!e.\u0275providers}const um="https://g.co/ng/security#xss";class E extends Error{constructor(n,t){super(function si(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Oo=ce({\u0275cmp:ce}),ku=ce({\u0275dir:ce}),Ru=ce({\u0275pipe:ce}),dm=ce({\u0275mod:ce}),Ln=ce({\u0275fac:ce}),ko=ce({__NG_ELEMENT_ID__:ce}),fm=ce({__NG_ENV_ID__:ce});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Pu(e,n){throw new E(-201,!1)}function Et(e,n){null==e&&function V(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function It(e){return{providers:e.providers||[],imports:e.imports||[]}}function ba(e){return hm(e,Ia)||hm(e,pm)}function hm(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ea(e){return e&&(e.hasOwnProperty(Fu)||e.hasOwnProperty(AM))?e[Fu]:null}const Ia=ce({\u0275prov:ce}),Fu=ce({\u0275inj:ce}),pm=ce({ngInjectableDef:ce}),AM=ce({ngInjectorDef:ce});var K=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}(K||{});let Lu;function gm(){return Lu}function Tt(e){const n=Lu;return Lu=e,n}function mm(e,n,t){const r=ba(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&K.Optional?null:void 0!==n?n:void Pu(ze(e))}const me=globalThis;class M{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=x({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ro={},Bu="__NG_DI_FLAG__",Ta="ngTempTokenPath",kM=/\n/gm,vm="__source";let ai;function nr(e){const n=ai;return ai=e,n}function FM(e,n=K.Default){if(void 0===ai)throw new E(-203,!1);return null===ai?mm(e,void 0,n):ai.get(e,n&K.Optional?null:void 0,n)}function A(e,n=K.Default){return(gm()||FM)(j(e),n)}function T(e,n=K.Default){return A(e,Sa(n))}function Sa(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Uu(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==wm(h,c,0)||2&r&&c!==f){if(en(r))return!1;s=!0}}}}else{if(!s&&!en(r)&&!en(l))return!1;if(s&&en(l))continue;s=!1,r=l|1&r}}return en(r)||s}function en(e){return 0==(1&e)}function UM(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!en(s)&&(n+=Sm(o,i),i=""),r=s,o=o||!en(r);t++}return""!==i&&(n+=Sm(o,i)),n}function te(e){return Vn(()=>{const n=Nm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""};Am(t);const r=e.dependencies;return t.directiveDefs=Na(r,!1),t.pipeDefs=Na(r,!0),t.id=function eN(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function KM(e){return Q(e)||Ye(e)}function XM(e){return null!==e}function Ft(e){return Vn(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Mm(e,n){if(null==e)return dn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function H(e){return Vn(()=>{const n=Nm(e);return Am(n),n})}function ot(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[Oo]||null}function Ye(e){return e[ku]||null}function nt(e){return e[Ru]||null}function st(e,n){const t=e[dm]||null;if(!t&&!0===n)throw new Error(`Type ${ze(e)} does not have '\u0275mod' property.`);return t}function Nm(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||dn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Mm(e.inputs,n),outputs:Mm(e.outputs),debugInfo:null}}function Am(e){e.features?.forEach(n=>n(e))}function Na(e,n){if(!e)return null;const t=n?nt:KM;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(XM)}const ke=0,I=1,B=2,Ie=3,tn=4,at=5,fn=6,li=7,ye=8,ht=9,ci=10,q=11,Lo=12,xm=13,ui=14,xe=15,Vo=16,di=17,hn=18,jo=19,Om=20,ir=21,Aa=22,Mr=23,U=25,Gu=1,km=2,Wu=6,pn=7,fi=9,Le=11;function rt(e){return Array.isArray(e)&&"object"==typeof e[Gu]}function et(e){return Array.isArray(e)&&!0===e[Gu]}function qu(e){return 0!=(4&e.flags)}function Nr(e){return e.componentOffset>-1}function Oa(e){return 1==(1&e.flags)}function nn(e){return!!e.template}function Zu(e){return 0!=(512&e[B])}function Ar(e,n){return e.hasOwnProperty(Ln)?e[Ln]:null}class iN{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Lt(){return Lm}function Lm(e){return e.type.prototype.ngOnChanges&&(e.setInput=sN),oN}function oN(){const e=jm(this),n=e?.current;if(n){const t=e.previous;if(t===dn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function sN(e,n,t,r){const i=this.declaredInputs[t],o=jm(e)||function aN(e,n){return e[Vm]=n}(e,{previous:dn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new iN(l&&l.currentValue,n,a===dn),e[r]=n}Lt.ngInherit=!0;const Vm="__ngSimpleChanges__";function jm(e){return e[Vm]||null}const gn=function(e,n,t){};function ve(e){for(;Array.isArray(e);)e=e[ke];return e}function $o(e,n){return ve(n[e])}function pt(e,n){return ve(n[e.index])}function Bo(e,n){return e.data[n]}function hi(e,n){return e[n]}function Vt(e,n){const t=n[e];return rt(t)?t:t[ke]}function Ju(e){return 128==(128&e[B])}function mn(e,n){return null==n?null:e[n]}function Bm(e){e[di]=0}function fN(e){1024&e[B]||(e[B]|=1024,Ju(e)&&ka(e))}function zm(e){9216&e[B]&&ka(e)}function ka(e){let n=e[Ie];for(;null!==n&&!(et(n)&&n[Wu]||rt(n)&&8192&n[B]);){if(et(n))n[Wu]=!0;else if(n[B]|=8192,!Ju(n))break;n=n[Ie]}}function Ra(e,n){if(256==(256&e[B]))throw new E(911,!1);null===e[ir]&&(e[ir]=[]),e[ir].push(n)}const z={lFrame:ey(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wm(){return z.bindingsEnabled}function pi(){return null!==z.skipHydrationRootTNode}function D(){return z.lFrame.lView}function X(){return z.lFrame.tView}function jn(e){return z.lFrame.contextLView=e,e[ye]}function Hn(e){return z.lFrame.contextLView=null,e}function fe(){let e=qm();for(;null!==e&&64===e.type;)e=e.parent;return e}function qm(){return z.lFrame.currentTNode}function yn(e,n){const t=z.lFrame;t.currentTNode=e,t.isParent=n}function td(){return z.lFrame.isParent}function nd(){z.lFrame.isParent=!1}function vn(){return z.lFrame.bindingIndex++}function bN(e,n){const t=z.lFrame;t.bindingIndex=t.bindingRootIndex=e,rd(n)}function rd(e){z.lFrame.currentDirectiveIndex=e}function Km(){return z.lFrame.currentQueryIndex}function od(e){z.lFrame.currentQueryIndex=e}function IN(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[at]:null}function Xm(e,n,t){if(t&K.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&K.Host||(i=IN(o),null===i||(o=o[ui],10&i.type))););if(null===i)return!1;n=i,e=o}const r=z.lFrame=Jm();return r.currentTNode=n,r.lView=e,!0}function sd(e){const n=Jm(),t=e[I];z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Jm(){const e=z.lFrame,n=null===e?null:e.child;return null===n?ey(e):n}function ey(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function ty(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ny=ty;function ad(){const e=ty();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 mt(){return z.lFrame.selectedIndex}function xr(e){z.lFrame.selectedIndex=e}function Ce(){const e=z.lFrame;return Bo(e.tView,e.selectedIndex)}let iy=!0;function Pa(){return iy}function or(e){iy=e}function Fa(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[di]+=65536),(a>14>16&&(3&e[B])===n&&(e[B]+=16384,sy(a,o)):sy(a,o)}const gi=-1;class zo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function ud(e){return e!==gi}function Go(e){return 32767&e}function Wo(e,n){let t=function LN(e){return e>>16}(e),r=n;for(;t>0;)r=r[ui],t--;return r}let dd=!0;function ja(e){const n=dd;return dd=e,n}const ay=255,ly=5;let VN=0;const _n={};function Ha(e,n){const t=cy(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,fd(r.data,e),fd(n,null),fd(r.blueprint,null));const i=$a(e,n),o=e.injectorIndex;if(ud(i)){const s=Go(i),a=Wo(i,n),l=a[I].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function fd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cy(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function $a(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=my(i),null===r)return gi;if(t++,i=i[ui],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return gi}function hd(e,n,t){!function jN(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ko)&&(r=t[ko]),null==r&&(r=t[ko]=VN++);const i=r&ay;n.data[e+(i>>ly)]|=1<=0?n&ay:UN:n}(t);if("function"==typeof o){if(!Xm(n,e,r))return r&K.Host?uy(i,0,r):dy(n,t,r,i);try{let s;if(s=o(r),null!=s||r&K.Optional)return s;Pu()}finally{ny()}}else if("number"==typeof o){let s=null,a=cy(e,n),l=gi,c=r&K.Host?n[xe][at]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?$a(e,n):n[a+8],l!==gi&&gy(r,!1)?(s=n[I],a=Go(l),n=Wo(l,n)):a=-1);-1!==a;){const u=n[I];if(py(o,a,u.data)){const d=$N(a,n,t,s,r,c);if(d!==_n)return d}l=n[a+8],l!==gi&&gy(r,n[I].data[a+8]===c)&&py(o,a,n)?(s=u,a=Go(l),n=Wo(l,n)):a=-1}}return i}function $N(e,n,t,r,i,o){const s=n[I],a=s.data[e+8],u=Ba(a,s,t,null==r?Nr(a)&&dd:r!=s&&0!=(3&a.type),i&K.Host&&o===a);return null!==u?Or(n,s,u,a):_n}function Ba(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&nn(h)&&h.type===t)return l}return null}function Or(e,n,t,r){let i=e[t];const o=n.data;if(function kN(e){return e instanceof zo}(i)){const s=i;s.resolving&&function bM(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=ja(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Tt(s.injectImpl):null;Xm(e,r,K.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function xN(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Lm(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Tt(c),ja(a),s.resolving=!1,ny()}}return i}function py(e,n,t){return!!(t[n+(e>>ly)]&1<{const n=e.prototype.constructor,t=n[Ln]||pd(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ln]||pd(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function pd(e){return Ca(e)?()=>{const n=pd(j(e));return n&&n()}:Ar(e)}function my(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[at]:null}const _i="__parameters__";function Di(e,n,t){return Vn(()=>{const r=function gd(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(_i)?l[_i]:Object.defineProperty(l,_i,{value:[]})[_i];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function bi(e,n){e.forEach(t=>Array.isArray(t)?bi(t,n):n(t))}function vy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function za(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Zo(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function _y(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function yd(e,n){const t=Ei(e,n);if(t>=0)return e[1|t]}function Ei(e,n){return function wy(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<{t.push(s)};return bi(n,s=>{const a=s;Qa(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Ty(i,o),t}function Ty(e,n){for(let t=0;t{n(o,r)})}}function Qa(e,n,t,r){if(!(e=j(e)))return!1;let i=null,o=Ea(e);const s=!o&&Q(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=Ea(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Qa(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{bi(o.imports,u=>{Qa(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ty(c,n)}if(!a){const c=Ar(i)||(()=>new i);n({provide:i,useFactory:c,deps:ne},i),n({provide:wd,useValue:i,multi:!0},i),n({provide:Ti,useValue:()=>A(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;Cd(l,u=>{n(u,c)})}}}return i!==e&&void 0!==e.providers}function Cd(e,n){for(let t of e)Ou(t)&&(t=t.\u0275providers),Array.isArray(t)?Cd(t,n):n(t)}const p0=ce({provide:String,useValue:ce});function bd(e){return null!==e&&"object"==typeof e&&p0 in e}function kr(e){return"function"==typeof e}const Ed=new M("Set Injector scope."),Ka={},m0={};let Id;function Xa(){return void 0===Id&&(Id=new Ya),Id}class Ht{}class Rr extends Ht{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sd(n,s=>this.processProvider(s)),this.records.set(Ey,Si(void 0,this)),i.has("environment")&&this.records.set(Ht,Si(void 0,this));const o=this.records.get(Ed);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wd,ne,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=nr(this),r=Tt(void 0);try{return n()}finally{nr(t),Tt(r)}}get(n,t=Ro,r=K.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(fm))return n[fm](this);r=Sa(r);const o=nr(this),s=Tt(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function D0(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(n)&&ba(n);l=c&&this.injectableDefInScope(c)?Si(Td(n),Ka):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&K.Self?Xa():this.parent).get(n,t=r&K.Optional&&t===Ro?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Ta]=a[Ta]||[]).unshift(ze(n)),o)throw a;return function VM(e,n,t,r){const i=e[Ta];throw n[vm]&&i.unshift(n[vm]),e.message=function jM(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ze(n);if(Array.isArray(n))i=n.map(ze).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ze(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(kM,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Ta]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Tt(s),nr(o)}}resolveInjectorInitializers(){const n=nr(this),t=Tt(void 0);try{const i=this.get(Ti,ne,K.Self);for(const o of i)o()}finally{nr(n),Tt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ze(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(n){let t=kr(n=j(n))?n:j(n&&n.provide);const r=function v0(e){return bd(e)?Si(void 0,e.useValue):Si(Ny(e),Ka)}(n);if(kr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Si(void 0,Ka,!0),i.factory=()=>Uu(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Ka&&(t.value=m0,t.value=t.factory()),"object"==typeof t.value&&t.value&&function w0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Td(e){const n=ba(e),t=null!==n?n.factory:Ar(e);if(null!==t)return t;if(e instanceof M)throw new E(204,!1);if(e instanceof Function)return function y0(e){const n=e.length;if(n>0)throw Zo(n,"?"),new E(204,!1);const t=function NM(e){return e&&(e[Ia]||e[pm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new E(204,!1)}function Ny(e,n,t){let r;if(kr(e)){const i=j(e);return Ar(i)||Td(i)}if(bd(e))r=()=>j(e.useValue);else if(function My(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Uu(e.deps||[]));else if(function Sy(e){return!(!e||!e.useExisting)}(e))r=()=>A(j(e.useExisting));else{const i=j(e&&(e.useClass||e.provide));if(!function _0(e){return!!e.deps}(e))return Ar(i)||Td(i);r=()=>new i(...Uu(e.deps))}return r}function Si(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Sd(e,n){for(const t of e)Array.isArray(t)?Sd(t,n):t&&Ou(t)?Sd(t.\u0275providers,n):n(t)}function ky(e,n=null,t=null,r){const i=Ry(e,n,t,r);return i.resolveInjectorInitializers(),i}function Ry(e,n=null,t=null,r,i=new Set){const o=[t||ne,h0(e)];return r=r||("object"==typeof e?void 0:ze(e)),new Rr(o,n||Xa(),r||null,i)}let Ad,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ro;static#t=this.NULL=new Ya;static create(t,r){if(Array.isArray(t))return ky({name:""},r,t,"");{const i=t.name??"";return ky({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=x({token:e,providedIn:"any",factory:()=>A(Ey)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const el=new M("AppId",{providedIn:"root",factory:()=>x0}),x0="ng",Fy=new M("Platform Initializer"),lr=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ly=new M("CSP nonce",{providedIn:"root",factory:()=>function ar(){if(void 0!==Ad)return Ad;if(typeof document<"u")return document;throw new E(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function $t(e){return e instanceof Function?e():e}function il(e){return 128==(128&e.flags)}var dr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dr||{});const $0=/^>|^->||--!>|)/g,U0="\u200b$1\u200b";const Pd=new Map;let z0=0;const Ld="__ngContext__";function lt(e,n){rt(n)?(e[Ld]=n[jo],function W0(e){Pd.set(e[jo],e)}(n)):e[Ld]=n}let Vd;function jd(e,n){return Vd(e,n)}function es(e){const n=e[Ie];return et(n)?n[Ie]:n}function tv(e){return rv(e[Lo])}function nv(e){return rv(e[tn])}function rv(e){for(;null!==e&&!et(e);)e=e[tn];return e}function Ni(e,n,t,r,i){if(null!=r){let o,s=!1;et(r)?o=r:rt(r)&&(s=!0,r=r[ke]);const a=ve(r);0===e&&null!==t?null==i?av(n,t,a):Pr(n,t,a,i||null,!0):1===e&&null!==t?Pr(n,t,a,i||null,!0):2===e?function dl(e,n,t){const r=cl(e,n);r&&function dA(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function pA(e,n,t,r,i){const o=t[pn];o!==ve(t)&&Ni(n,e,r,o,i);for(let a=Le;an.replace(B0,U0))}(n))}function al(e,n,t){return e.createElement(n,t)}function ov(e,n){const t=e[fi],r=t.indexOf(n);t.splice(r,1)}function ts(e,n){if(e.length<=Le)return;const t=Le+n,r=e[t];if(r){const i=r[Vo];null!==i&&i!==e&&ov(i,r),n>0&&(e[t-1][tn]=r[tn]);const o=za(e,Le+n);!function rA(e,n){rs(e,n,n[q],2,null,null),n[ke]=null,n[at]=null}(r[I],r);const s=o[hn];null!==s&&s.detachView(o[I]),r[Ie]=null,r[tn]=null,r[B]&=-129}return r}function ll(e,n){if(!(256&n[B])){const t=n[q];n[Mr]&&function Ng(e){if(ii(e),No(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[li]=null);const i=n[ir];if(null!==i){n[ir]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Jt.None||o===Jt.Emulated)return null}return pt(r,t)}}(e,n.parent,t)}function Pr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function av(e,n,t){e.appendChild(n,t)}function lv(e,n,t,r,i){null!==r?Pr(e,n,t,r,i):av(e,n,t)}function cl(e,n){return e.parentNode(n)}function cv(e,n,t){return dv(e,n,t)}let Ud,fl,hl,dv=function uv(e,n,t){return 40&e.type?pt(e,t):null};function ul(e,n,t,r){const i=Bd(e,r,n),o=n[q],a=cv(r.parent||n[at],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return fl}()?.createHTML(e)||e}function wv(e){return function qd(){if(void 0===hl&&(hl=null,me.trustedTypes))try{hl=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hl}()?.createScriptURL(e)||e}class Fr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${um})`}}class wA extends Fr{getTypeName(){return"HTML"}}class DA extends Fr{getTypeName(){return"Style"}}class CA extends Fr{getTypeName(){return"Script"}}class bA extends Fr{getTypeName(){return"URL"}}class EA extends Fr{getTypeName(){return"ResourceURL"}}function Bt(e){return e instanceof Fr?e.changingThisBreaksApplicationSecurity:e}function wn(e,n){const t=function IA(e){return e instanceof Fr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${um})`)}return t===n}class xA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Ai(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class OA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Ai(n),t}}const RA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pl(e){return(e=String(e)).match(RA)?e:"unsafe:"+e}function Un(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function is(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const Cv=Un("area,br,col,hr,img,wbr"),bv=Un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ev=Un("rp,rt"),Zd=is(Cv,is(bv,Un("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")),is(Ev,Un("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")),is(Ev,bv)),Yd=Un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iv=is(Yd,Un("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"),Un("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")),PA=Un("script,style,template");class FA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Zd.hasOwnProperty(t))return this.sanitizedSomething=!0,!PA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();Zd.hasOwnProperty(t)&&!Cv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Tv(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const LA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,VA=/([^\#-~ |!])/g;function Tv(e){return e.replace(/&/g,"&").replace(LA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(VA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let gl;function Sv(e,n){let t=null;try{gl=gl||function Dv(e){const n=new OA(e);return function kA(){try{return!!(new window.DOMParser).parseFromString(Ai(""),"text/html")}catch{return!1}}()?new xA(n):n}(e);let r=n?String(n):"";t=gl.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=gl.getInertBodyElement(r)}while(r!==o);return Ai((new FA).sanitizeChildren(Qd(t)||t))}finally{if(t){const r=Qd(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Qd(e){return"content"in e&&function jA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nt=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}(Nt||{});function Mv(e){const n=os();return n?n.sanitize(Nt.URL,e)||"":wn(e,"URL")?Bt(e):pl(W(e))}function Nv(e){const n=os();if(n)return wv(n.sanitize(Nt.RESOURCE_URL,e)||"");if(wn(e,"ResourceURL"))return wv(Bt(e));throw new E(904,!1)}function os(){const e=D();return e&&e[ci].sanitizer}let xv=(e,n,t)=>null;function sf(e,n,t=!1){return xv(e,n,t)}class ex{}class Rv{}class nx{resolveComponentFactory(n){throw function tx(e){const n=Error(`No component factory found for ${ze(e)}.`);return n.ngComponent=e,n}(n)}}let Dl=(()=>{class e{static#e=this.NULL=new nx}return e})();function rx(){return ki(fe(),D())}function ki(e,n){return new ct(pt(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=rx}return e})();function ix(e){return e instanceof ct?e.nativeElement:e}class Fv{}let Dn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ox(){const e=D(),t=Vt(fe().index,e);return(rt(t)?t:e)[q]}()}return e})(),sx=(()=>{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();class ls{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const ax=new ls("17.0.2"),cf={};function Lv(e){const n=Oe(null);try{return e()}finally{Oe(n)}}function Cl(e){return!!function uf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Vv{constructor(){}supports(n){return Cl(n)}create(n){return new fx(n)}}const dx=(e,n)=>n;class fx{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||dx}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new hx(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new jv),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jv),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class hx{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class px{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class jv{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new px,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hv(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:Bv});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Bv()),deps:[[e,new qa,new Wa]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new E(901,!1)}}return e})();function us(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];null!==o&&r.push(ve(o)),et(o)&&zv(o,r);const s=t.type;if(8&s)us(e,n,t.child,r);else if(32&s){const a=jd(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=hv(n,t);if(Array.isArray(a))r.push(...a);else{const l=es(n[xe]);us(l[I],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function zv(e,n){for(let t=Le;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ka(e.lView)},consumerOnSignalRead(){this.lView[Mr]=this}};function df(e){return e.ngOriginalError}class zn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&df(n);for(;t&&df(t);)t=df(t);return t||null}}const Zv=new M("",{providedIn:"root",factory:()=>!1}),Z={};function k(e){Xv(X(),D(),mt()+e,!1)}function Xv(e,n,t,r){if(!r)if(3==(3&n[B])){const o=e.preOrderCheckHooks;null!==o&&La(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Va(n,o,0,t)}xr(t)}function C(e,n=K.Default){const t=D();return null===t?A(e,n):fy(fe(),t,j(e),n)}function Il(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ke]=i,d[B]=140|r,(null!==c||e&&2048&e[B])&&(d[B]|=2048),Bm(d),d[Ie]=d[ui]=e,d[ye]=t,d[ci]=s||e&&e[ci],d[q]=a||e&&e[q],d[ht]=l||e&&e[ht]||null,d[at]=o,d[jo]=function G0(){return z0++}(),d[fn]=u,d[Om]=c,d[xe]=2==n.type?e[xe]:d,d}function Ri(e,n,t,r,i){let o=e.data[n];if(null===o)o=function ff(e,n,t,r,i){const o=qm(),s=td(),l=e.data[n]=function Rx(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return pi()&&(a|=128),{type:t,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function CN(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Uo(){const e=z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return yn(o,!0),o}function ds(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;oU&&Xv(e,n,U,!1),gn(s?2:0,i),t(r,i)}finally{xr(o),gn(s?3:1,i)}}function hf(e,n,t){if(qu(n)){const r=Oe(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function r_(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?i_(t,n,i,o):r.hasOwnProperty(i)&&i_(t,n,r[i],o)}return t}function i_(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function yf(e,n,t,r){if(Wm()){const i=null===r?null:{"":-1},o=function Ux(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,ds(e,t,i.hostVars,Z),i)}function Cn(e,n,t,r,i,o){const s=pt(e,n);!function _f(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?W(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[q],s,o,e.value,t,r,i)}function Yx(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function wx(e){e.lView[Mr]!==e&&(e.lView=null,Gv.push(e))}(a)),ad()}}function p_(e,n){for(let t=tv(e);null!==t;t=nv(t)){t[Wu]=!1;for(let r=Le;r-1&&(ts(n,r),za(t,r))}this._attachedToViewContainer=!1}ll(this._lView[I],this._lView)}onDestroy(n){Ra(this._lView,n)}markForCheck(){fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[B]&=-129}reattach(){zm(this._lView),this._lView[B]|=128}detectChanges(){!function Cf(e,n,t,r=!0){const i=n[ci],o=i.rendererFactory,s=i.afterRenderEventManager;o.begin?.(),s?.begin();try{h_(e,n,e.template,t),function Xx(e){let n=0;for(;9216&e[B]||e[Mr]?.dirty;){if(100===n)throw new E(103,!1);n++,m_(e,1)}}(n)}catch(l){throw r&&Sl(n,l),l}finally{o.end?.(),i.inlineEffectRunner?.flush(),s?.end()}}(this._lView[I],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function oA(e,n){rs(e,n,n[q],2,null,null)}(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n}}let ps=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=r1}return e})();function r1(e){return function i1(e,n,t){if(Nr(e)&&!t){const r=Vt(e.index,n);return new hs(r,r)}return 47&e.type?new hs(n[xe],n):null}(fe(),D(),16==(16&e))}let Ml=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=l1;static#t=this.__NG_ENV_ID__=t=>t}return e})();class a1 extends Ml{constructor(n){super(),this._lView=n}onDestroy(n){return Ra(this._lView,n),()=>function ed(e,n){if(null===e[ir])return;const t=e[ir].indexOf(n);-1!==t&&e[ir].splice(t,1)}(this._lView,n)}}function l1(){return new a1(D())}const v_=new Set;function Lr(e){v_.has(e)||(v_.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function bf(e){return n=>{setTimeout(e,void 0,n)}}const be=class g1 extends $e{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=bf(o),i&&(i=bf(i)),s&&(s=bf(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof bt&&n.add(a),a}};function __(...e){}class oe{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function m1(){const e="function"==typeof me.requestAnimationFrame;let n=me[e?"requestAnimationFrame":"setTimeout"],t=me[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function _1(e){const n=()=>{!function v1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,If(e),e.isCheckStableRunning=!0,Ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),If(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{if(function D1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(i,o,s,a);try{return w_(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),D_(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return w_(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),D_(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,If(e),Ef(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oe.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(oe.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,y1,__,__);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const y1={};function Ef(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function If(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function w_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function D_(e){e._nesting--,Ef(e)}class w1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const C_=new M("",{providedIn:"root",factory:b_});function b_(){const e=T(oe);let n=!0;return lm(new Ae(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new Ae(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Nu()))}var Vr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Vr||{});const E_={destroy(){}};function T_(e,n){!n&&function Md(e){if(!gm()&&!function PM(){return ai}())throw new E(-203,!1)}();const t=n?.injector??T(yt);if(!function cr(e){return"browser"===(e??T(yt)).get(lr)}(t))return E_;Lr("NgAfterNextRender");const r=t.get(Nl),i=r.handler??=new M_,o=n?.phase??Vr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=t.get(Ml).onDestroy(s),l=new S_(t,o,()=>{s(),e()});return i.register(l),{destroy:s}}class S_{constructor(n,t,r){this.phase=t,this.callbackFn=r,this.zone=n.get(oe),this.errorHandler=n.get(zn,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class M_{constructor(){this.executingCallbacks=!1,this.buckets={[Vr.EarlyRead]:new Set,[Vr.Write]:new Set,[Vr.MixedReadWrite]:new Set,[Vr.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new E(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Nl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();function b1(e,n){const t=Vt(n,e),r=t[I];!function E1(e,n){for(let t=n.length;t0&&mv(e,t,o.join(" "))}}(d,Ne,h,r),void 0!==t&&function R1(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Fo(i.hostAttrs,t=Fo(t,i.hostAttrs))}}(r)}function xl(e){return e===dn?{}:e===ne?[]:e}function L1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function V1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function j1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function P_(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function Ge(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function En(e,n,t,r){const i=D();return Ge(i,vn(),n)&&(X(),Cn(Ce(),i,e,n,t,r)),En}function kl(e,n){return e<<17|n<<2}function fr(e){return e>>17&32767}function Sf(e){return 2|e}function Hr(e){return(131068&e)>>2}function Mf(e,n){return-131069&e|n<<2}function Nf(e){return 1|e}function G_(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?fr(o):Hr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Q1(e[a],n)&&(l=!0,e[a+1]=r?Nf(u):Sf(u)),a=r?fr(u):Hr(u)}l&&(e[t+1]=r?Sf(o):Nf(o))}function Q1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ei(e,n)>=0}function O(e,n,t){const r=D();return Ge(r,vn(),n)&&function Ut(e,n,t,r,i,o,s,a){const l=pt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(Df(e,t,u,r,i),Nr(n)&&function Lx(e,n){const t=Vt(n,e);16&t[B]||(t[B]|=64)}(t,n.index)):3&n.type&&(r=function Fx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}(X(),Ce(),r,e,n,r[q],t,!1),O}function Af(e,n,t,r,i){const s=i?"class":"style";Df(e,t,n.inputs[s],s,r)}function ys(e,n){return function rn(e,n,t,r){const i=D(),o=X(),s=function Bn(e){const n=z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);o.firstUpdatePass&&function ew(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[mt()],s=function J_(e,n){return n>=e.expandoStartIndex}(e,t);(function iw(e,n){return 0!=(e.flags&(n?8:16))})(o,r)&&null===n&&!s&&(n=!1),n=function oO(e,n,t,r){const i=function id(e){const n=z.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=vs(t=xf(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=xf(i,e,n,t,r),null===o){let l=function sO(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Hr(r))return e[fr(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=xf(null,e,n,l[1],r),l=vs(l,n.attrs,r),function aO(e,n,t,r){e[fr(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function lO(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=fr(e[a+1]);e[r+1]=kl(f,a),0!==f&&(e[f+1]=Mf(e[f+1],r)),e[a+1]=function W1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=kl(a,0),0!==a&&(e[a+1]=Mf(e[a+1],r)),a=r;else e[r+1]=kl(l,0),0===a?a=r:e[l+1]=Mf(e[l+1],r),l=r;c&&(e[r+1]=Sf(e[r+1])),G_(e,u,r,!0),G_(e,u,r,!1),function Y1(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ei(o,n)>=0&&(t[r+1]=Nf(t[r+1]))}(n,u,e,r,o),s=kl(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}(o,e,s,r),n!==Z&&Ge(i,s,n)&&function nw(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function q1(e){return 1==(1&e)}(c)?rw(l,n,t,i,Hr(c),s):void 0;Rl(u)||(Rl(o)||function G1(e){return 2==(2&e)}(c)&&(o=rw(l,null,t,i,a,s)),function gA(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:dr.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=dr.Important),e.setStyle(t,r,i,o))}}(r,s,$o(mt(),t),i,o))}(o,o.data[mt()],i,i[q],e,i[s+1]=function fO(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ze(Bt(e)))),e}(n,t),r,s)}(e,n,null,!0),ys}function xf(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===Z&&(f=d?ne:void 0);let h=d?yd(f,r):u===r?f:void 0;if(c&&!Rl(h)&&(h=yd(l,r)),Rl(h)&&(a=h,s))return a;const p=e[i+1];i=s?fr(p):Hr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=yd(l,r))}return a}function Rl(e){return void 0!==e}function Wi(e,n){return!n||il(e)}function bs(e,n,t,r=!0){const i=n[I];if(function aA(e,n,t,r){const i=Le+r,o=t.length;r>0&&(t[i-1][tn]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=WO}return e})();function WO(){return yw(fe(),D())}const qO=At,gw=class extends qO{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ki(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){const n=$a(this._hostTNode,this._hostLView);if(ud(n)){const t=Wo(n,this._hostLView),r=Go(n);return new Qe(t[I].data[r+8],t)}return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=mw(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,Wi(this._hostTNode,null)),a}createComponent(n,t,r,i,o){const s=n&&!function qo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new gs(Q(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const v=(s?c:this.parentInjector).get(Ht,null);v&&(o=v)}Q(l.componentType??{});const h=l.create(c,i,null,o);return this.insertImpl(h.hostView,a,Wi(this._hostTNode,null)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function dN(e){return et(e[Ie])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[Ie],c=new gw(l,l[at],l[Ie]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return bs(s,i,o,r),n.attachToViewContainerRef(),vy(Hf(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=mw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=ts(this._lContainer,t);r&&(za(Hf(this._lContainer),t),ll(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=ts(this._lContainer,t);return r&&null!=za(Hf(this._lContainer),t)?new hs(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function mw(e){return e[8]}function Hf(e){return e[8]||(e[8]=[])}function yw(e,n){let t;const r=n[e.index];return et(r)?t=r:(t=l_(r,n,null,e),n[e.index]=t,Tl(n,t)),vw(t,n,e,r),new gw(t,e,n)}let vw=function ww(e,n,t,r){if(e[pn])return;let i;i=8&t.type?ve(r):function ZO(e,n){const t=e[q],r=t.createComment(""),i=pt(n,e);return Pr(t,cl(t,i),r,function fA(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[pn]=i},$f=(e,n,t)=>!1;function J(e,n,t,r,i,o,s,a){const l=D(),c=X(),u=e+U,d=c.firstCreatePass?function XO(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Ri(n,e,4,s||null,mn(c,a));yf(n,t,u,mn(c,l)),Fa(n,u);const d=u.tView=mf(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];yn(d,!1);const f=Dw(c,l,d,e);Pa()&&ul(c,l,f,d),lt(f,l);const h=l_(f,l,f,d);return l[u]=h,Tl(l,h),function _w(e,n,t){return $f(e,n,t)}(h,d,l),Oa(d)&&pf(c,l,d),null!=s&&gf(l,d,a),J}let Dw=function Cw(e,n,t,r){return or(!0),n[q].createComment("")};function g(e,n,t,r){const i=D(),o=X(),s=U+e,a=i[q],l=o.firstCreatePass?function $k(e,n,t,r,i,o){const s=n.consts,l=Ri(n,e,2,r,mn(s,i));return yf(n,t,l,mn(s,o)),null!==l.attrs&&Al(l,l.attrs,!1),null!==l.mergedAttrs&&Al(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=Gw(o,i,l,a,n,e);i[s]=c;const u=Oa(l);return yn(l,!0),yv(a,c,l),32!=(32&l.flags)&&Pa()&&ul(o,i,c,l),0===function hN(){return z.lFrame.elementDepthCount}()&<(c,i),function pN(){z.lFrame.elementDepthCount++}(),u&&(pf(o,i,l),hf(o,l,i)),null!==r&&gf(i,l),g}function m(){let e=fe();td()?nd():(e=e.parent,yn(e,!1));const n=e;(function mN(e){return z.skipHydrationRootTNode===e})(n)&&function wN(){z.skipHydrationRootTNode=null}(),function gN(){z.lFrame.elementDepthCount--}();const t=X();return t.firstCreatePass&&(Fa(t,e),qu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function PN(e){return 0!=(8&e.flags)}(n)&&Af(t,n,D(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function FN(e){return 0!=(16&e.flags)}(n)&&Af(t,n,D(),n.stylesWithoutHost,!1),m}function R(e,n,t,r){return g(e,n,t,r),m(),R}let Gw=(e,n,t,r,i,o)=>(or(!0),al(r,i,function ry(){return z.lFrame.currentNamespace}()));function zl(e,n,t){const r=D(),i=X(),o=e+U,s=i.firstCreatePass?function zk(e,n,t,r,i){const o=n.consts,s=mn(o,r),a=Ri(n,e,8,"ng-container",s);return null!==s&&Al(a,s,!0),yf(n,t,a,mn(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];yn(s,!0);const a=Ww(i,r,s,e);return r[o]=a,Pa()&&ul(i,r,a,s),lt(a,r),Oa(s)&&(pf(i,r,s),hf(i,s,r)),null!=t&&gf(r,s),zl}function Gl(){let e=fe();const n=X();return td()?nd():(e=e.parent,yn(e,!1)),n.firstCreatePass&&(Fa(n,e),qu(e)&&n.queries.elementEnd(e)),Gl}function Xf(e,n,t){return zl(e,n,t),Gl(),Xf}let Ww=(e,n,t,r)=>(or(!0),Hd(n[q],""));function Br(){return D()}const Ur=void 0;var Zk=["en",[["a","p"],["AM","PM"],Ur],[["AM","PM"],Ur,Ur],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ur,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ur,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ur,"{1} 'at' {0}",Ur],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qk(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Ji={};function vt(e){const n=function Yk(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=Qw(n);if(t)return t;const r=n.split("-")[0];if(t=Qw(r),t)return t;if("en"===r)return Zk;throw new E(701,!1)}function Qw(e){return e in Ji||(Ji[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),Ji[e]}var _e=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_e||{});const eo="en-US";let Kw=eo;function Os(e){return!!e&&"function"==typeof e.then}function CD(e){return!!e&&"function"==typeof e.subscribe}function Te(e,n,t,r){const i=D(),o=X(),s=fe();return function ED(e,n,t,r,i,o,s){const a=Oa(r),c=e.firstCreatePass&&d_(e),u=n[ye],d=u_(n);let f=!0;if(3&r.type||s){const v=pt(r,n),_=s?s(v):v,b=d.length,w=s?F=>s(ve(F[r.index])):r.index;let S=null;if(!s&&a&&(S=function UR(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,f=!1;else{o=TD(r,n,u,o,!1);const F=t.listen(_,i,o);d.push(o,F),c&&c.push(i,w,b,b+1)}}else o=TD(r,n,u,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const v=p.length;if(v)for(let _=0;_-1?Vt(e.index,n):n);let l=ID(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=ID(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function de(e=1){return function TN(e){return(z.lFrame.contextLView=function Um(e,n){for(;e>0;)n=n[ui],e--;return n}(e,z.lFrame.contextLView))[ye]}(e)}function zR(e,n){let t=null;const r=function zM(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i(or(!0),function sl(e,n){return e.createText(n)}(n[q],r));function zt(e){return Ql("",e,""),zt}function Ql(e,n,t){const r=D(),i=function Fi(e,n,t,r){return Ge(e,vn(),t)?n+W(t)+r:Z}(r,e,n,t);return i!==Z&&function Gn(e,n,t){const r=$o(n,e);!function iv(e,n,t){e.setValue(n,t)}(e[q],r,t)}(r,mt(),i),Ql}function nh(e,n,t,r,i){if(e=j(e),Array.isArray(e))for(let o=0;o>20;if(kr(e)||!e.multi){const h=new zo(c,i,C),p=ih(l,n,i?u:u+f,d);-1===p?(hd(Ha(a,s),o,l),rh(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=ih(l,n,u+f,d),p=ih(l,n,u,u+f),_=p>=0&&t[p];if(i&&!_||!i&&!(h>=0&&t[h])){hd(Ha(a,s),o,l);const b=function sP(e,n,t,r,i){const o=new zo(e,t,C);return o.multi=[],o.index=n,o.componentProviders=0,nC(o,i,r&&!t),o}(i?oP:iP,t.length,i,r,c);!i&&_&&(t[p].providerFactory=b),rh(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else rh(o,e,h>-1?h:p,nC(t[i?p:h],c,!i&&r));!i&&r&&_&&t[p].componentProviders++}}}function rh(e,n,t,r){const i=kr(n),o=function g0(e){return!!e.useClass}(n);if(i||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function nC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function ih(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function rP(e,n,t){const r=X();if(r.firstCreatePass){const i=nn(e);nh(t,r.data,r.blueprint,i,!0),nh(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class zr{}class rC{}class sh extends zr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new N_(this);const i=st(n);this._bootstrapComponents=$t(i.bootstrap),this._r3Injector=Ry(n,t,[{provide:zr,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver},...r],ze(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class ah extends rC{constructor(n){super(),this.moduleType=n}create(n){return new sh(this.moduleType,n,[])}}class iC extends zr{constructor(n){super(),this.componentFactoryResolver=new N_(this),this.instance=null;const t=new Rr([...n.providers,{provide:zr,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver}],n.parent||Xa(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function lh(e,n,t=null){return new iC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let cP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Iy(0,t.type),i=r.length>0?lh([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(A(Ht))})}return e})();function oC(e){Lr("NgStandalone"),e.getStandaloneInjector=n=>n.get(cP).getOrCreateStandaloneInjector(e)}function hC(e,n,t,r,i,o){const s=n+t;return Ge(e,s,i)?function bn(e,n,t){return e[n]=t}(e,s+1,o?r.call(o,i):r(i)):function ks(e,n){const t=e[n];return t===Z?void 0:t}(e,s+1)}function Rs(e,n){const t=X();let r;const i=e+U;t.firstCreatePass?(r=function AP(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=Ar(r.type)),a=Tt(C);try{const l=ja(!1),c=o();return ja(l),function GR(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,D(),i,c),c}finally{Tt(a)}}function Ps(e,n,t){const r=e+U,i=D(),o=hi(i,r);return function Fs(e,n){return e[I].data[n].pure}(i,r)?hC(i,function gt(){const e=z.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}function PP(){return this._results[Symbol.iterator]()}class uh{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new be)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=uh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=PP)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function St(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function YN(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=VP}return e})();const FP=Wn,LP=class extends FP{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=function Cs(e,n,t,r){const i=n.tView,a=Il(e,i,t,4096&e[B]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Vo]=e[n.index];const c=e[hn];return null!==c&&(a[hn]=c.createEmbeddedView(i)),Tf(i,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new hs(i)}};function VP(){return Jl(fe(),D())}function Jl(e,n){return 4&e.type?new LP(n,e,ki(e,n)):null}class dh{constructor(n){this.queryList=n,this.matches=null}clone(){return new dh(this.queryList)}setDirty(){this.queryList.setDirty()}}class fh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Le;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=T(wh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(Os(o))t.push(o);else if(CD(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jC=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Yn=new M("LocaleId",{providedIn:"root",factory:()=>T(Yn,K.Optional|K.SkipSelf)||function fF(){return typeof $localize<"u"&&$localize.locale||eo}()}),hF=new M("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new qt(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class vF{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let $C=(()=>{class e{compileModuleSync(t){return new ah(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=$t(st(t).declarations).reduce((s,a)=>{const l=Q(a);return l&&s.push(new gs(l)),s},[]);return new vF(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const WC=new M(""),rc=new M("");let Ih,bh=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ih||(function UF(e){Ih=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(A(oe),A(Eh),A(rc))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Eh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Ih?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),gr=null;const qC=new M("AllowMultipleToken"),Th=new M("PlatformDestroyListeners"),Sh=new M("appBootstrapListener");function QC(e,n,t=[]){const r=`Platform: ${n}`,i=new M(r);return(o=[])=>{let s=Mh();if(!s||s.injector.get(qC,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function WF(e){if(gr&&!gr.get(qC,!1))throw new E(400,!1);(function ZC(){!function wS(e){Og=e}(()=>{throw new E(600,!1)})})(),gr=e;const n=e.get(XC);(function YC(e){e.get(Fy,null)?.forEach(t=>t())})(e)}(function KC(e=[],n){return yt.create({name:n,providers:[{provide:Ed,useValue:"platform"},{provide:Th,useValue:new Set([()=>gr=null])},...e]})}(a,r))}return function ZF(e){const n=Mh();if(!n)throw new E(401,!1);return n}()}}function Mh(){return gr?.get(XC)??null}let XC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function YF(e="zone.js",n){return"noop"===e?new w1:"zone.js"===e?new oe(n):e}(r?.ngZone,function JC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function lP(e,n,t){return new sh(e,n,t)}(t.moduleType,this.injector,function ib(e){return[{provide:oe,useFactory:e},{provide:Ti,multi:!0,useFactory:()=>{const n=T(KF,{optional:!0});return()=>n.initialize()}},{provide:rb,useFactory:QF},{provide:C_,useFactory:b_}]}(()=>i)),s=o.injector.get(zn,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{ic(this._modules,o),a.unsubscribe()})}),function eb(e,n,t){try{const r=t();return Os(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Dh);return a.runInitializers(),a.donePromise.then(()=>(function Xw(e){Et(e,"Expected localeId to be defined"),"string"==typeof e&&(Kw=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Yn,eo)||eo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=tb({},r);return function zF(e,n,t){const r=new ah(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(ro);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new E(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Th,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function tb(e,n){return Array.isArray(n)?n.reduce(tb,e):{...e,...n}}let ro=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(rb),this.zoneIsStable=T(C_),this.componentTypes=[],this.components=[],this.isStable=T(tc).hasPendingTasks.pipe(Rt(t=>t?L(!1):this.zoneIsStable),cm(),Nu()),this._injector=T(Ht)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Rv;if(!this._injector.get(Dh).done)throw!i&&function rr(e){const n=Q(e)||Ye(e)||nt(e);return null!==n&&n.standalone}(t),new E(405,!1);let s;s=i?t:this._injector.get(Dl).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function GF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(zr),c=s.create(yt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(WC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ic(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ic(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Sh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ic(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ic(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const rb=new M("",{providedIn:"root",factory:()=>T(zn).handleError.bind(void 0)});function QF(){const e=T(oe),n=T(zn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let KF=(()=>{class e{constructor(){this.zone=T(oe),this.applicationRef=T(ro)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iL=QC(null,"core",[]);let oL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(A(ro))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();function oo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Vh=null;function mr(){return Vh}class NL{}const ut=new M("DocumentToken");let jh=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(xL),providedIn:"platform"})}return e})();const AL=new M("Location Initialized");let xL=(()=>{class e extends jh{constructor(){super(),this._doc=T(ut),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mr().getBaseHref(this._doc)}onPopState(t){const r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Hh(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Sb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Qn(e){return e&&"?"!==e[0]?"?"+e:e}let Wr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(Nb),providedIn:"root"})}return e})();const Mb=new M("appBaseHref");let Nb=(()=>{class e extends Wr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(ut).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Hh(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Qn(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Qn(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Qn(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(jh),A(Mb,8))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OL=(()=>{class e extends Wr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Hh(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Qn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Qn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(jh),A(Mb,8))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),so=(()=>{class e{constructor(t){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function PL(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Sb(Ab(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Qn(r))}normalize(t){return e.stripTrailingSlash(function RL(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Ab(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qn(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=Qn;static#t=this.joinWithSlash=Hh;static#n=this.stripTrailingSlash=Sb;static#r=this.\u0275fac=function(r){return new(r||e)(A(Wr))};static#i=this.\u0275prov=x({token:e,factory:()=>function kL(){return new so(A(Wr))}(),providedIn:"root"})}return e})();function Ab(e){return e.replace(/\/index.html$/,"")}const xb={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var fc=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(fc||{}),je=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(je||{});function Qt(e,n){const t=vt(e),r=t[_e.NumberSymbols][n];if(typeof r>"u"){if(n===je.CurrencyDecimal)return t[_e.NumberSymbols][je.Decimal];if(n===je.CurrencyGroup)return t[_e.NumberSymbols][je.Group]}return r}const l2=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Fb=22,Dc=".",Bs="0",c2=";",u2=",",Gh="#";function f2(e,n,t,r,i){const s=function qh(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(c2),i=r[0],o=r[1],s=-1!==i.indexOf(Dc)?i.split(Dc):[i.substring(0,i.lastIndexOf(Bs)+1),i.substring(i.lastIndexOf(Bs)+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf(Gh));for(let u=0;u-1&&(n=n.replace(Dc,"")),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;n.charAt(o)===Bs;o++);if(o===(a=n.length))r=[0],i=1;else{for(a--;n.charAt(a)===Bs;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(n.charAt(o))}return i>Fb&&(r=r.splice(0,Fb-1),t=i-1,i=1),{digits:r,exponent:t,integerLen:i}}(e);s&&(c=function g2(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(c));let u=n.minInt,d=n.minFrac,f=n.maxFrac;if(o){const w=o.match(l2);if(null===w)throw new Error(`${o} is not a valid digit info`);const S=w[1],F=w[3],G=w[5];null!=S&&(u=Zh(S)),null!=F&&(d=Zh(F)),null!=G?f=Zh(G):null!=F&&d>f&&(f=d)}!function y2(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(n,i),t);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i=c?p.pop():l=!1),f>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,d,f);let h=c.digits,p=c.integerLen;const v=c.exponent;let _=[];for(l=h.every(w=>!w);p0?_=h.splice(p,h.length):(_=h,h=[0]);const b=[];for(h.length>=n.lgSize&&b.unshift(h.splice(-n.lgSize,h.length).join(""));h.length>n.gSize;)b.unshift(h.splice(-n.gSize,h.length).join(""));h.length&&b.unshift(h.join("")),a=b.join(Qt(t,r)),_.length&&(a+=Qt(t,i)+_.join("")),v&&(a+=Qt(t,je.Exponential)+"+"+v)}else a=Qt(t,je.Infinity);return a=e<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(e,s,n,je.CurrencyGroup,je.CurrencyDecimal,i).replace("\xa4",t).replace("\xa4","").trim()}function Zh(e){const n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function jb(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}class D2{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Bb=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new D2(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),Ub(a,i)}});for(let i=0,o=r.length;i{Ub(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(At),C(Wn),C(bl))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Ub(e,n){e.context.$implicit=n.item}let Kh=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new C2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){zb("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){zb("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(At),C(Wn))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class C2{constructor(){this.$implicit=null,this.ngIf=null}}function zb(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ze(n)}'.`)}let Wb=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(C(At))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Lt]})}return e})();function an(e,n){return new E(2100,!1)}class M2{createSubscription(n,t){return Lv(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){Lv(()=>n.unsubscribe())}}class N2{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}}const A2=new N2,x2=new M2;let ep=(()=>{class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(Os(t))return A2;if(CD(t))return x2;throw an()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this._ref.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(C(ps,16))};static#t=this.\u0275pipe=ot({name:"async",type:e,pure:!1,standalone:!0})}return e})(),tp=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw an();return t.toUpperCase()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ot({name:"uppercase",type:e,pure:!0,standalone:!0})}return e})(),qb=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ot({name:"json",type:e,pure:!1,standalone:!0})}return e})(),np=(()=>{class e{constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,i="symbol",o,s){if(!function rp(e){return!(null==e||""===e||e!=e)}(t))return null;s=s||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==i&&(a="symbol"===i||"symbol-narrow"===i?function WL(e,n,t="en"){const r=function BL(e){return vt(e)[_e.Currencies]}(t)[e]||xb[e]||[],i=r[1];return"narrow"===n&&"string"==typeof i?i:r[0]||e}(a,"symbol"===i?"wide":"narrow",s):i);try{return f2(function ip(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),s,a,r,o)}catch(l){throw an()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Yn,16),C(hF,16))};static#t=this.\u0275pipe=ot({name:"currency",type:e,pure:!0,standalone:!0})}return e})();let op=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();const Yb="browser";function lo(e){return e===Yb}function Qb(e){return"server"===e}let Y2=(()=>{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new Q2(A(ut),window)})}return e})();class Q2{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function K2(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Kb{}class wV extends NL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class lp extends wV{static makeCurrent(){!function ML(e){Vh||(Vh=e)}(new lp)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function DV(){return zs=zs||document.querySelector("base"),zs?zs.getAttribute("href"):null}();return null==t?null:function CV(e){Ec=Ec||document.createElement("a"),Ec.setAttribute("href",e);const n=Ec.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return jb(document.cookie,n)}}let Ec,zs=null,EV=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const cp=new M("EventManagerPlugins");let tE=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(A(cp),A(oe))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class nE{constructor(n){this._doc=n}}const up="ng-app-id";let rE=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Qb(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${up}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(up),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(up,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut),A(el),A(Ly,8),A(lr))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const dp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},fp=/%COMP%/g,MV=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function oE(e,n){return n.map(t=>t.replace(fp,e))}let sE=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Qb(a),this.defaultRenderer=new hp(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Jt.ShadowDom&&(r={...r,encapsulation:Jt.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof lE?i.applyToHost(t):i instanceof pp&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Jt.Emulated:o=new lE(l,c,r,this.appId,u,s,a,d);break;case Jt.ShadowDom:return new OV(l,c,t,r,s,a,this.nonce,d);default:o=new pp(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(A(tE),A(rE),A(el),A(MV),A(ut),A(lr),A(oe),A(Ly))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class hp{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(dp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(aE(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(aE(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=dp[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=dp[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(dr.DashCase|dr.Important)?n.style.setProperty(t,r,i&dr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&dr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=mr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function aE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class OV extends hp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=oE(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pp extends hp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?oE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class lE extends pp{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function NV(e){return"_ngcontent-%COMP%".replace(fp,e)}(c),this.hostAttr=function AV(e){return"_nghost-%COMP%".replace(fp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let kV=(()=>{class e extends nE{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const cE=["alt","control","meta","shift"],RV={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},PV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let FV=(()=>{class e extends nE{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),cE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=RV[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),cE.forEach(s=>{s!==i&&(0,PV[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const HV=QC(iL,"browser",[{provide:lr,useValue:Yb},{provide:Fy,useValue:function LV(){lp.makeCurrent()},multi:!0},{provide:ut,useFactory:function jV(){return function A0(e){Ad=e}(document),document},deps:[]}]),$V=new M(""),fE=[{provide:rc,useClass:class bV{addToWindow(n){me.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new E(5103,!1);return o},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(r=>{const i=me.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?mr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:WC,useClass:bh,deps:[oe,Eh,rc]},{provide:bh,useClass:bh,deps:[oe,Eh,rc]}],hE=[{provide:Ed,useValue:"root"},{provide:zn,useFactory:function VV(){return new zn},deps:[]},{provide:cp,useClass:kV,multi:!0,deps:[ut,oe,lr]},{provide:cp,useClass:FV,multi:!0,deps:[ut]},sE,rE,tE,{provide:Fv,useExisting:sE},{provide:Kb,useClass:EV,deps:[]},[]];let BV=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:el,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A($V,12))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({providers:[...hE,...fE],imports:[op,oL]})}return e})(),pE=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new r:function zV(){return new pE(A(ut))}(),i},providedIn:"root"})}return e})();typeof window<"u"&&window;let mp=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new(r||e):A(yE),i},providedIn:"root"})}return e})(),yE=(()=>{class e extends mp{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Nt.NONE:return r;case Nt.HTML:return wn(r,"HTML")?Bt(r):Sv(this._doc,String(r)).toString();case Nt.STYLE:return wn(r,"Style")?Bt(r):r;case Nt.SCRIPT:if(wn(r,"Script"))return Bt(r);throw new E(5200,!1);case Nt.URL:return wn(r,"URL")?Bt(r):pl(String(r));case Nt.RESOURCE_URL:if(wn(r,"ResourceURL"))return Bt(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return function TA(e){return new wA(e)}(t)}bypassSecurityTrustStyle(t){return function SA(e){return new DA(e)}(t)}bypassSecurityTrustScript(t){return function MA(e){return new CA(e)}(t)}bypassSecurityTrustUrl(t){return function NA(e){return new bA(e)}(t)}bypassSecurityTrustResourceUrl(t){return function AA(e){return new EA(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new r:function ZV(e){return new yE(e.get(ut))}(A(yt)),i},providedIn:"root"})}return e})();const{isArray:YV}=Array,{getPrototypeOf:QV,prototype:KV,keys:XV}=Object;function _E(e){if(1===e.length){const n=e[0];if(YV(n))return{args:n,keys:null};if(function JV(e){return e&&"object"==typeof e&&QV(e)===KV}(n)){const t=XV(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:ej}=Array;function wE(e){return ee(n=>function tj(e,n){return ej(n)?e(...n):e(n)}(e,n))}function DE(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let CE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Dn),C(ct))};static#t=this.\u0275dir=H({type:e})}return e})(),qr=(()=>{class e extends CE{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275dir=H({type:e,features:[ue]})}return e})();const Sn=new M("NgValueAccessor"),ij={provide:Sn,useExisting:ge(()=>Ic),multi:!0},sj=new M("CompositionEventMode");let Ic=(()=>{class e extends CE{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function oj(){const e=mr()?mr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Dn),C(ct),C(sj,8))};static#t=this.\u0275dir=H({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&Te("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:[Ee([ij]),ue]})}return e})();const dt=new M("NgValidators"),_r=new M("NgAsyncValidators");function kE(e){return null!=e}function RE(e){return Os(e)?Ue(e):e}function PE(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function FE(e,n){return n.map(t=>t(e))}function LE(e){return e.map(n=>function lj(e){return!e.validate}(n)?n:t=>n.validate(t))}function yp(e){return null!=e?function VE(e){if(!e)return null;const n=e.filter(kE);return 0==n.length?null:function(t){return PE(FE(t,n))}}(LE(e)):null}function vp(e){return null!=e?function jE(e){if(!e)return null;const n=e.filter(kE);return 0==n.length?null:function(t){return function nj(...e){const n=im(e),{args:t,keys:r}=_E(e),i=new Ae(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?DE(r,a):a),o.complete())}))}});return n?i.pipe(wE(n)):i}(FE(t,n).map(RE)).pipe(ee(PE))}}(LE(e)):null}function HE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function _p(e){return e?Array.isArray(e)?e:[e]:[]}function Sc(e,n){return Array.isArray(e)?e.includes(n):e===n}function UE(e,n){const t=_p(n);return _p(e).forEach(i=>{Sc(t,i)||t.push(i)}),t}function zE(e,n){return _p(n).filter(t=>!Sc(e,t))}class GE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=yp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=vp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ct extends GE{get formDirective(){return null}get path(){return null}}class wr extends GE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class WE{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let qE=(()=>{class e extends WE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(wr,2))};static#t=this.\u0275dir=H({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&ys("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:[ue]})}return e})(),ZE=(()=>{class e extends WE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ct,10))};static#t=this.\u0275dir=H({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&ys("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ue]})}return e})();const Gs="VALID",Nc="INVALID",co="PENDING",Ws="DISABLED";function Cp(e){return(Ac(e)?e.validators:e)||null}function bp(e,n){return(Ac(n)?n.asyncValidators:e)||null}function Ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class XE{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Gs}get invalid(){return this.status===Nc}get pending(){return this.status==co}get disabled(){return this.status===Ws}get enabled(){return this.status!==Ws}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(UE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(UE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(zE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(zE(n,this._rawAsyncValidators))}hasValidator(n){return Sc(this._rawValidators,n)}hasAsyncValidator(n){return Sc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=co,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ws,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Gs,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gs||this.status===co)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ws:Gs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator=!0;const t=RE(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?Ws:this.errors?Nc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(Nc)?Nc:Gs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function fj(e){return Array.isArray(e)?yp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function hj(e){return Array.isArray(e)?vp(e):e||null}(this._rawAsyncValidators)}}class Ep extends XE{constructor(n,t,r){super(Cp(t),bp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function KE(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new E(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function QE(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new E(1e3,"");if(!r[t])throw new E(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const uo=new M("CallSetDisabledState",{providedIn:"root",factory:()=>xc}),xc="always";function qs(e,n,t=xc){Ip(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function mj(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&JE(e,n)})}(e,n),function vj(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function yj(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&JE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function gj(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Rc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Ip(e,n){const t=function $E(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(HE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function BE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(HE(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Rc(n._rawValidators,i),Rc(n._rawAsyncValidators,i)}function JE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const bj={provide:Ct,useExisting:ge(()=>Fc)},Zs=(()=>Promise.resolve())();let Fc=(()=>{class e extends Ct{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Ep({},yp(t),vp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Zs.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),qs(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Zs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Zs.then(()=>{const r=this._findContainer(t.path),i=new Ep({});(function eI(e,n){Ip(e,n)})(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Zs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Zs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function tI(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(C(dt,10),C(_r,10),C(uo,8))};static#t=this.\u0275dir=H({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&Te("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ee([bj]),ue]})}return e})();function nI(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function rI(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const iI=class extends XE{constructor(n=null,t,r){super(Cp(t),bp(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=rI(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){nI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){nI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){rI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Tj={provide:wr,useExisting:ge(()=>Np)},aI=(()=>Promise.resolve())();let Np=(()=>{class e extends wr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new iI,this._registered=!1,this.name="",this.update=new be,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Mp(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ic?t=o:function Dj(e){return Object.getPrototypeOf(e.constructor)===qr}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Sp(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){qs(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()}_updateValue(t){aI.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&oo(r);aI.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Oc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ct,9),C(dt,10),C(_r,10),C(Sn,10),C(ps,8),C(uo,8))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ee([Tj]),ue,Lt]})}return e})(),lI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=H({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Sj={provide:Sn,useExisting:ge(()=>Ap),multi:!0};let Ap=(()=>{class e extends qr{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275dir=H({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){1&r&&Te("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[Ee([Sj]),ue]})}return e})(),cI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})(),Qj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[cI]})}return e})(),Xj=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:uo,useValue:t.callSetDisabledState??xc}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[Qj]})}return e})();function SI(e,n,t,r,i,o,s){try{var a=e[o](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(r,i)}function fo(e,n){return De(n)?it(e,n,1):it(e,1)}function Mn(e,n){return Ze((t,r)=>{let i=0;t.subscribe(Be(r,o=>e.call(n,o,i++)&&r.next(o)))})}function Ys(e){return Ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class Vc{}class jc{}class Xt{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.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"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Xt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Xt;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Xt?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Jj{encodeKey(n){return MI(n)}encodeValue(n){return MI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const tH=/%(\d[a-f0-9])/gi,nH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function MI(e){return encodeURIComponent(e).replace(tH,(n,t)=>nH[t]??n)}function Hc(e){return`${e}`}class Dr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Jj,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function eH(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Hc):[Hc(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Dr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Hc(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Hc(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class rH{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function NI(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function AI(e){return typeof Blob<"u"&&e instanceof Blob}function xI(e){return typeof FormData<"u"&&e instanceof FormData}class Qs{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function iH(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?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||(this.headers=new Xt),this.context||(this.context=new rH),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Qs(t,r,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}}var Cr=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}(Cr||{});class Lp{constructor(n,t=200,r="OK"){this.headers=n.headers||new Xt,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class $c extends Lp{constructor(n={}){super(n),this.type=Cr.ResponseHeader}clone(n={}){return new $c({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Yr extends Lp{constructor(n={}){super(n),this.type=Cr.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Yr({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ho extends Lp{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Vp(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Ks=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Qs)o=t;else{let l,c;l=i.headers instanceof Xt?i.headers:new Xt(i.headers),i.params&&(c=i.params instanceof Dr?i.params:new Dr({fromObject:i.params})),o=new Qs(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=L(o).pipe(fo(l=>this.handler.handle(l)));if(t instanceof Qs||"events"===i.observe)return s;const a=s.pipe(Mn(l=>l instanceof Yr));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Dr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Vp(i,r))}post(t,r,i={}){return this.request("POST",t,Vp(i,r))}put(t,r,i={}){return this.request("PUT",t,Vp(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Vc))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function kI(e,n){return n(e)}function uH(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const fH=new M(""),Xs=new M(""),RI=new M(""),PI=new M("");function hH(){let e=null;return(n,t)=>{null===e&&(e=(T(fH,{optional:!0})??[]).reduceRight(uH,kI));const r=T(tc),i=r.add();return e(n,t).pipe(Ys(()=>r.remove(i)))}}let FI=(()=>{class e extends Vc{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=T(tc);const i=T(PI,{optional:!0});this.backend=i??t}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Xs),...this.injector.get(RI,[])]));this.chain=i.reduceRight((o,s)=>function dH(e,n,t){return(r,i)=>t.runInContext(()=>n(r,o=>e(o,i)))}(o,s,this.injector),kI)}const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Ys(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(A(jc),A(Ht))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const vH=/^\)\]\}',?\n/;let VI=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new E(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ue(r.\u0275loadImpl()):L(null)).pipe(Rt(()=>new Ae(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,_)=>s.setRequestHeader(v,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=s.statusText||"OK",_=new Xt(s.getAllResponseHeaders()),b=function _H(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new $c({headers:_,status:s.status,statusText:v,url:b}),l},u=()=>{let{headers:v,status:_,statusText:b,url:w}=c(),S=null;204!==_&&(S=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=S?200:0);let F=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof S){const G=S;S=S.replace(vH,"");try{S=""!==S?JSON.parse(S):null}catch(Ne){S=G,F&&(F=!1,S={error:Ne,text:S})}}F?(o.next(new Yr({body:S,headers:v,status:_,statusText:b,url:w||void 0})),o.complete()):o.error(new ho({error:S,headers:v,status:_,statusText:b,url:w||void 0}))},d=v=>{const{url:_}=c(),b=new ho({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(b)};let f=!1;const h=v=>{f||(o.next(c()),f=!0);let _={type:Cr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(_.total=v.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},p=v=>{let _={type:Cr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(_.total=v.total),o.next(_)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Cr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Kb))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const $p=new M("XSRF_ENABLED"),jI=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),HI=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class $I{}let CH=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=jb(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut),A(lr),A(jI))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function bH(e,n){const t=e.url.toLowerCase();if(!T($p)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=T($I).getToken(),i=T(HI);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var br=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(br||{});function EH(...e){const n=[Ks,VI,FI,{provide:Vc,useExisting:FI},{provide:jc,useExisting:VI},{provide:Xs,useValue:bH,multi:!0},{provide:$p,useValue:!0},{provide:$I,useClass:CH}];for(const t of e)n.push(...t.\u0275providers);return function Dd(e){return{\u0275providers:e}}(n)}const BI=new M("LEGACY_INTERCEPTOR_FN");function IH(){return function Qr(e,n){return{\u0275kind:e,\u0275providers:n}}(br.LegacyInterceptors,[{provide:BI,useFactory:hH},{provide:Xs,useExisting:BI,multi:!0}])}let TH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({providers:[EH(IH())]})}return e})();var Me=function(){function e(n,t,r){this.el=n,this.vcr=t,this.renderer=r,this.dtOptions={}}return e.prototype.ngOnInit=function(){var n=this;this.dtTrigger?this.dtTrigger.subscribe(function(t){n.displayTable(t)}):this.displayTable(null)},e.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},e.prototype.displayTable=function(n){var t=this;n&&(this.dtOptions=n),this.dtInstance=new Promise(function(r,i){Promise.resolve(t.dtOptions).then(function(o){0===Object.keys(o).length&&0===$("tbody tr",t.el.nativeElement).length?i("Both the table and dtOptions cannot be empty"):setTimeout(function(){var a={rowCallback:function(l,c,u){if(o.columns){var d=o.columns;t.applyNgPipeTransform(l,d),t.applyNgRefTemplate(l,d,c)}o.rowCallback&&o.rowCallback(l,c,u)}};a=Object.assign({},o,a),t.dt=$(t.el.nativeElement).DataTable(a),r(t.dt)})})})},e.prototype.applyNgPipeTransform=function(n,t){t.filter(function(i){return i.ngPipeInstance&&!i.ngTemplateRef}).forEach(function(i){var o=i.ngPipeInstance,s=i.ngPipeArgs||[],a=t.filter(function(d){return!1!==d.visible}).findIndex(function(d){return d.data===i.data}),l=n.childNodes.item(a),c=$(l).text(),u=o.transform.apply(o,function(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r{YI(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l{const c=Ue(e[l],n);let u=!1;c.subscribe(Be(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>DE(i,s):Jn));return t?o.pipe(wE(t)):o}function YI(e,n,t){e?Fn(t,e,n):n()}const Uc=mu(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Up(...e){return function FH(){return oi(1)}()(Ue(e,xo(e)))}function QI(e){return new Ae(n=>{kt(e()).subscribe(n)})}function zc(e,n){const t=De(e)?e:()=>e,r=i=>i.error(t());return new Ae(n?i=>n.schedule(r,0,i):r)}function zp(){return Ze((e,n)=>{let t=null;e._refCount++;const r=Be(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class KI extends Ae{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Bg(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new bt;const t=this.getSubject();n.add(this.source.subscribe(Be(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=bt.EMPTY)}return n}refCount(){return zp()(this)}}function po(e){return e<=0?()=>un:Ze((n,t)=>{let r=0;n.subscribe(Be(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function XI(...e){const n=xo(e);return Ze((t,r)=>{(n?Up(e,t,n):Up(e,t)).subscribe(r)})}function Gc(e){return Ze((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function JI(e=LH){return Ze((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function LH(){return new Uc}function Er(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((i,o)=>e(i,o,r)):Jn,po(1),t?Gc(n):JI(()=>new Uc))}function ft(e,n,t){const r=De(e)||n||t?{next:e,error:n,complete:t}:e;return r?Ze((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Be(o,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),o.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Jn}function go(e){return Ze((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Be(t,void 0,void 0,s=>{o=kt(e(s,go(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Gp(e){return e<=0?()=>un:Ze((n,t)=>{let r=[];n.subscribe(Be(t,i=>{r.push(i),e{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function eT(e){return ee(()=>e)}function tT(e){return Ze((n,t)=>{kt(e).subscribe(Be(t,()=>t.complete(),vu)),!t.closed&&n.subscribe(t)})}const Y="primary",Js=Symbol("RouteTitle");class $H{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function mo(e){return new $H(e)}function BH(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function rT(e){return e.length>0?e[e.length-1]:null}function Ir(e){return function RH(e){return!!e&&(e instanceof Ae||De(e.lift)&&De(e.subscribe))}(e)?e:Os(e)?Ue(Promise.resolve(e)):L(e)}const zH={exact:function sT(e,n,t){if(!Kr(e.segments,n.segments)||!Wc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!sT(e.children[r],n.children[r],t))return!1;return!0},subset:aT},iT={exact:function GH(e,n){return Nn(e,n)},subset:function WH(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>nT(e[t],n[t]))},ignored:()=>!0};function oT(e,n,t){return zH[t.paths](e.root,n.root,t.matrixParams)&&iT[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function aT(e,n,t){return lT(e,n,n.segments,t)}function lT(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Kr(i,t)||n.hasChildren()||!Wc(i,t,r))}if(e.segments.length===t.length){if(!Kr(e.segments,t)||!Wc(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!aT(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Kr(e.segments,i)&&Wc(e.segments,i,r)&&e.children[Y])&&lT(e.children[Y],n,o,r)}}function Wc(e,n,t){return n.every((r,i)=>iT[t](e[i].parameters,r.parameters))}class yo{constructor(n=new he([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mo(this.queryParams)),this._queryParamMap}toString(){return YH.serialize(this)}}class he{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qc(this)}}class ea{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=mo(this.parameters)),this._parameterMap}toString(){return dT(this)}}function Kr(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let vo=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>new qp,providedIn:"root"})}return e})();class qp{parse(n){const t=new s$(n);return new yo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${ta(n.root,!0)}`,r=function XH(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${Zc(t)}=${Zc(i)}`).join("&"):`${Zc(t)}=${Zc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function QH(e){return encodeURI(e)}(n.fragment)}`:""}`}}const YH=new qp;function qc(e){return e.segments.map(n=>dT(n)).join("/")}function ta(e,n){if(!e.hasChildren())return qc(e);if(n){const t=e.children[Y]?ta(e.children[Y],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==Y&&r.push(`${i}:${ta(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function ZH(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===Y&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==Y&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===Y?[ta(e.children[Y],!1)]:[`${i}:${ta(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Y]?`${qc(e)}/${t[0]}`:`${qc(e)}/(${t.join("//")})`}}function cT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zc(e){return cT(e).replace(/%3B/gi,";")}function Zp(e){return cT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yc(e){return decodeURIComponent(e)}function uT(e){return Yc(e.replace(/\+/g,"%20"))}function dT(e){return`${Zp(e.path)}${function KH(e){return Object.keys(e).map(n=>`;${Zp(n)}=${Zp(e[n])}`).join("")}(e.parameters)}`}const JH=/^[^\/()?;#]+/;function Yp(e){const n=e.match(JH);return n?n[0]:""}const e$=/^[^\/()?;=#]+/,n$=/^[^=?&#]+/,i$=/^[^&#]+/;class s${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new he([],{}):new he([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[Y]=new he(n,t)),r}parseSegment(){const n=Yp(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new ea(Yc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function t$(e){const n=e.match(e$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Yp(this.remaining);i&&(r=i,this.capture(r))}n[Yc(t)]=Yc(r)}parseQueryParam(n){const t=function r$(e){const n=e.match(n$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function o$(e){const n=e.match(i$);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=uT(t),o=uT(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Yp(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Y);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[Y]:new he([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}}function fT(e){return e.segments.length>0?new he([],{[Y]:e}):e}function hT(e){const n={};for(const r of Object.keys(e.children)){const o=hT(e.children[r]);if(r===Y&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function a$(e){if(1===e.numberOfChildren&&e.children[Y]){const n=e.children[Y];return new he(e.segments.concat(n.segments),n.children)}return e}(new he(e.segments,n))}function Xr(e){return e instanceof yo}function pT(e){let n;const i=fT(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new he(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function gT(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Qp(i,i,i,t,r);const o=function c$(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new yT(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new yT(t,n,r)}(n);if(o.toRoot())return Qp(i,i,new he([],{}),t,r);const s=function u$(e,n,t){if(e.isAbsolute)return new Kc(n,!0,0);if(!t)return new Kc(n,!1,NaN);if(null===t.parent)return new Kc(t,!0,0);const r=Qc(e.commands[0])?0:1;return function d$(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new Kc(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?ra(s.segmentGroup,s.index,o.commands):vT(s.segmentGroup,s.index,o.commands);return Qp(i,s.segmentGroup,a,t,r)}function Qc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function na(e){return"object"==typeof e&&null!=e&&e.outlets}function Qp(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:mT(e,n,t);const a=fT(hT(s));return new yo(a,o,i)}function mT(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:mT(o,n,t)}),new he(e.segments,r)}class yT{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Qc(r[0]))throw new E(4003,!1);const i=r.find(na);if(i&&i!==rT(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function vT(e,n,t){if(e||(e=new he([],{})),0===e.segments.length&&e.hasChildren())return ra(e,n,t);const r=function h$(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if(na(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!wT(l,c,s))return o;r+=2}else{if(!wT(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==Y)&&e.children[Y]&&1===e.numberOfChildren&&0===e.children[Y].segments.length){const o=ra(e.children[Y],n,t);return new he(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=vT(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new he(e.segments,i)}}function Kp(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Kp(new he([],{}),0,r))}),n}function _T(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function wT(e,n,t){return e==t.path&&Nn(n,t.parameters)}const ia="imperative";class An{constructor(n,t){this.id=n,this.url=t}}class Xc extends An{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xn extends An{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _o extends An{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class wo extends An{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Jc extends An{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class DT extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class g$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class m$ extends An{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class y$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class v$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _${constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class w${constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class D${constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class C${constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class b${constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class E${constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CT{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Xp{}class Jp{constructor(n){this.url=n}}class I${constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new oa,this.attachRef=null}}let oa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new I$,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class bT{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=eg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=eg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=tg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return tg(n,this._root).map(t=>t.value)}}function eg(e,n){if(e===n.value)return n;for(const t of n.children){const r=eg(e,t);if(r)return r}return null}function tg(e,n){if(e===n.value)return[n];for(const t of n.children){const r=tg(e,t);if(r.length)return r.unshift(n),r}return[]}class ln{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Do(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class ET extends bT{constructor(n,t){super(n),this.snapshot=t,ig(this,n)}toString(){return this.snapshot.toString()}}function IT(e,n){const t=function T$(e,n){const s=new rg([],{},{},"",{},Y,n,null,{});return new TT("",new ln(s,[]))}(0,n),r=new qt([new ea("",{})]),i=new qt({}),o=new qt({}),s=new qt({}),a=new qt(""),l=new Jr(r,i,s,a,o,Y,n,t.root);return l.snapshot=t.root,new ET(new ln(l,[]),t)}class Jr{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[Js]))??L(void 0),this.url=n,this.params=t,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._paramMap=this.params.pipe(ee(n=>mo(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(n=>mo(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ng(e,n,t="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===n||"always"!==t&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:e.params,data:e.data,resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...i?.data,...e._resolvedData}},i&&MT(i)&&(r.resolve[Js]=i.title),r}class rg{get title(){return this.data?.[Js]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class TT extends bT{constructor(n,t){super(t),this.url=n,ig(this,t)}toString(){return ST(this._root)}}function ig(e,n){n.value._routerState=e,n.children.forEach(t=>ig(e,t))}function ST(e){const n=e.children.length>0?` { ${e.children.map(ST).join(", ")} } `:"";return`${e.value}${n}`}function og(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Nn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Nn(n.params,t.params)||e.paramsSubject.next(t.params),function UH(e,n){if(e.length!==n.length)return!1;for(let t=0;tNn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||sg(e.parent,n.parent))}function MT(e){return"string"==typeof e.title||null===e.title}let ag=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Y,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.parentContexts=T(oa),this.location=T(At),this.changeDetector=T(ps),this.environmentInjector=T(Ht),this.inputBinder=T(eu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new S$(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=H({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Lt]})}return e})();class S${constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Jr?this.route:n===oa?this.childContexts:this.parent.get(n,t)}}const eu=new M("");let NT=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Bp([r.queryParams,r.params,r.data]).pipe(Rt(([o,s,a],l)=>(a={...o,...s,...a},0===l?L(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function SL(e){const n=Q(e);if(!n)return null;const t=new gs(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function sa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function N$(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return sa(e,r,i);return sa(e,r)})}(e,n,t);return new ln(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>sa(e,a)),s}}const r=function A$(e){return new Jr(new qt(e.url),new qt(e.params),new qt(e.queryParams),new qt(e.fragment),new qt(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>sa(e,o));return new ln(r,i)}}const lg="ngNavigationCancelingError";function AT(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Xr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=xT(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function xT(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[lg]=!0,r.cancellationCode=n,t&&(r.url=t),r}function OT(e){return e&&e[lg]}let kT=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["ng-component"]],standalone:!0,features:[oC],decls:1,vars:0,template:function(r,i){1&r&&R(0,"router-outlet")},dependencies:[ag],encapsulation:2})}return e})();function cg(e){const n=e.children&&e.children.map(cg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Y&&(t.component=kT),t}function On(e){return e.outlet||Y}function aa(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class V${constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),og(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=Do(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Do(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Do(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=Do(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new E$(o.value.snapshot))}),n.children.length&&this.forwardEvent(new C$(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(og(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const 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),og(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=aa(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class RT{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class tu{constructor(n,t){this.component=n,this.route=t}}function j$(e,n,t){const r=e._root;return la(r,n?n._root:null,t,[r.value])}function Co(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function MM(e){return null!==ba(e)}(e)?n.get(e):e:r}function la(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Do(n);return e.children.forEach(s=>{(function $$(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function B$(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Kr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Kr(e.url,n.url)||!Nn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sg(e,n)||!Nn(e.queryParams,n.queryParams);default:return!sg(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new RT(r)):(o.data=s.data,o._resolvedData=s._resolvedData),la(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new tu(a.outlet.component,s))}else s&&ca(n,a,i),i.canActivateChecks.push(new RT(r)),la(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ca(a,t.getContext(s),i)),i}function ca(e,n,t){const r=Do(e),i=e.value;Object.entries(r).forEach(([o,s])=>{ca(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new tu(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function ua(e){return"function"==typeof e}function PT(e){return e instanceof Uc||"EmptyError"===e?.name}const nu=Symbol("INITIAL_VALUE");function bo(){return Rt(e=>Bp(e.map(n=>n.pipe(po(1),XI(nu)))).pipe(ee(n=>{for(const t of n)if(!0!==t){if(t===nu)return nu;if(!1===t||t instanceof yo)return t}return!0}),Mn(n=>n!==nu),po(1)))}function FT(e){return function OS(...e){return jg(e)}(ft(n=>{if(Xr(n))throw AT(0,n)}),ee(n=>!0===n))}class ug{constructor(n){this.segmentGroup=n||null}}class dg extends Error{constructor(n){super(),this.urlTree=n}}function Eo(e){return zc(new ug(e))}class lB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new E(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return L(r);if(i.numberOfChildren>1||!i.children[Y])return zc(new E(4e3,!1));i=i.children[Y]}}applyRedirectCommands(n,t,r){const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new dg(i);return i}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new yo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new he(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const fg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function cB(e,n,t,r,i){const o=hg(e,n,t);return o.matched?(r=function O$(e,n){return e.providers&&!e._injector&&(e._injector=lh(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function oB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?L(i.map(s=>{const a=Co(s,e);return Ir(function Z$(e){return e&&ua(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(bo(),FT()):L(!0)}(r,n,t).pipe(ee(s=>!0===s?o:{...fg}))):L(o)}function hg(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...fg}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||BH)(t,e,n);if(!i)return{...fg};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function LT(e,n,t,r){return t.length>0&&function fB(e,n,t){return t.some(r=>ru(e,n,r)&&On(r)!==Y)}(e,t,r)?{segmentGroup:new he(n,dB(r,new he(t,e.children))),slicedSegments:[]}:0===t.length&&function hB(e,n,t){return t.some(r=>ru(e,n,r))}(e,t,r)?{segmentGroup:new he(e.segments,uB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new he(e.segments,e.children),slicedSegments:t}}function uB(e,n,t,r,i){const o={};for(const s of r)if(ru(e,t,s)&&!i[On(s)]){const a=new he([],{});o[On(s)]=a}return{...i,...o}}function dB(e,n){const t={};t[Y]=n;for(const r of e)if(""===r.path&&On(r)!==Y){const i=new he([],{});t[On(r)]=i}return t}function ru(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class mB{}class _B{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new lB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new E(4002,!1)}recognize(){const n=LT(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ee(t=>{const r=new rg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Y,this.rootComponentType,null,{}),i=new ln(r,t),o=new TT("",i),s=function l$(e,n,t=null,r=null){return gT(pT(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,Y).pipe(go(r=>{if(r instanceof dg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ug?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,i=ng(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(ee(o=>o instanceof ln?[o]:[]))}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Ue(i).pipe(fo(o=>{const s=r.children[o],a=function F$(e,n){const t=e.filter(r=>On(r)===n);return t.push(...e.filter(r=>On(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function jH(e,n){return Ze(function VH(e,n,t,r,i){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Be(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),Gc(null),function HH(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((i,o)=>e(i,o,r)):Jn,Gp(1),t?Gc(n):JI(()=>new Uc))}(),it(o=>{if(null===o)return Eo(r);const s=VT(o);return function wB(e){e.sort((n,t)=>n.value.outlet===Y?-1:t.value.outlet===Y?1:n.value.outlet.localeCompare(t.value.outlet))}(s),L(s)}))}processSegment(n,t,r,i,o,s){return Ue(t).pipe(fo(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(go(l=>{if(l instanceof ug)return L(null);throw l}))),Er(a=>!!a),go(a=>{if(PT(a))return function gB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?L(new mB):Eo(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function pB(e,n,t,r){return!!(On(e)===r||r!==Y&&ru(n,t,e))&&("**"===e.path||hg(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Eo(i):Eo(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}="**"===i.path?jT(o):hg(t,i,o);if(!a)return Eo(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(it(f=>this.processSegment(n,r,t,f.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){let s;return"**"===r.path?(s=L(jT(i)),t.children={}):s=cB(t,r,i,n),s.pipe(Rt(a=>a.matched?this.getChildConfig(n=r._injector??n,r,i).pipe(Rt(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:f}=a,h=new rg(u,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function CB(e){return e.data||{}}(r),On(r),r.component??r._loadedComponent??null,r,function bB(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:v}=LT(t,u,d,l);if(0===v.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(ee(b=>null===b?null:new ln(h,b)));if(0===l.length&&0===v.length)return L(new ln(h,[]));const _=On(r)===o;return this.processSegment(c,l,p,v,_?Y:o,!0).pipe(ee(b=>new ln(h,b instanceof ln?[b]:[])))})):Eo(t)))}getChildConfig(n,t,r){return t.children?L({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?L({routes:t._loadedRoutes,injector:t._loadedInjector}):function iB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?L(!0):L(i.map(s=>{const a=Co(s,e);return Ir(function z$(e){return e&&ua(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(bo(),FT())}(n,t,r).pipe(it(i=>i?this.configLoader.loadChildren(n,t).pipe(ft(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function aB(e){return zc(xT(!1,3))}())):L({routes:[],injector:n})}}function DB(e){const n=e.value.routeConfig;return n&&""===n.path}function VT(e){const n=[],t=new Set;for(const r of e){if(!DB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=VT(r.children);n.push(new ln(r.value,i))}return n.filter(r=>!t.has(r))}function jT(e){return{matched:!0,parameters:e.length>0?rT(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function IB(e,n){return it(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return L(t);const o=i.map(c=>c.route),s=new Set(o),a=HT(o[0].parent).slice(1);let l=0;return Ue(a).pipe(fo(c=>s.has(c)?function TB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!MT(i)&&(o[Js]=i.title),function SB(e,n,t,r){const i=Wp(e);if(0===i.length)return L({});const o={};return Ue(i).pipe(it(s=>function MB(e,n,t,r){const i=aa(n)??r,o=Co(e,i);return Ir(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(Er(),ft(a=>{o[s]=a}))),Gp(1),eT(o),go(s=>PT(s)?un:zc(s)))}(o,e,n,r).pipe(ee(s=>(e._resolvedData=s,e.data=ng(e,e.parent,t).resolve,null)))}(c,r,e,n):(c.data=ng(c,c.parent,e).resolve,L(void 0))),ft(()=>l++),Gp(1),it(c=>l===a.length?L(t):un))})}function HT(e){const n=e.children.map(t=>HT(t)).flat();return[e,...n]}function pg(e){return Rt(n=>{const t=e(n);return t?Ue(t).pipe(ee(()=>n)):L(n)})}let $T=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===Y);return r}getResolvedTitleForRoute(t){return t.data[Js]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(NB),providedIn:"root"})}return e})(),NB=(()=>{class e extends $T{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(pE))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Io=new M("",{providedIn:"root",factory:()=>({})}),To=new M("ROUTES");let gg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=T($C)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return L(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Ir(t.loadComponent()).pipe(ee(BT),ft(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ys(()=>{this.componentLoaders.delete(t)})),i=new KI(r,()=>new $e).pipe(zp());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function AB(e,n,t,r){return Ir(e.loadChildren()).pipe(ee(BT),it(i=>i instanceof rC||Array.isArray(i)?L(i):Ue(n.compileModuleAsync(i))),ee(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(t).injector,s=o.get(To,[],{optional:!0,self:!0}).flat()),{routes:s.map(cg),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Ys(()=>{this.childrenLoaders.delete(r)})),s=new KI(o,()=>new $e).pipe(zp());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function BT(e){return function xB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let mg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(OB),providedIn:"root"})}return e})(),OB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const UT=new M(""),zT=new M("");function kB(e,n,t){const r=e.get(zT),i=e.get(ut);return e.get(oe).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),function RB(e){return new Promise(n=>{T_(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&function C0(e,n){e instanceof Rr&&e.assertNotDestroyed();const r=nr(e),i=Tt(void 0);try{return n()}finally{nr(r),Tt(i)}}(e,()=>l({transition:a,from:n,to:t})),s})}let iu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new $e,this.transitionAbortSubject=new $e,this.configLoader=T(gg),this.environmentInjector=T(Ht),this.urlSerializer=T(vo),this.rootContexts=T(oa),this.location=T(so),this.inputBindingEnabled=null!==T(eu,{optional:!0}),this.titleStrategy=T($T),this.options=T(Io,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=T(mg),this.createViewTransition=T(UT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new w$(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new _$(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new qt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ia,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Mn(o=>0!==o.id),ee(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Rt(o=>{this.currentTransition=o;let s=!1,a=!1;return L(o).pipe(ft(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Rt(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new wo(l.id,this.urlSerializer.serialize(l.rawUrl),d,0)),l.resolve(null),un}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return L(l).pipe(Rt(d=>{const f=this.transitions?.getValue();return this.events.next(new Xc(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?un:Promise.resolve(d)}),function EB(e,n,t,r,i,o){return it(s=>function yB(e,n,t,r,i,o,s="emptyOnly"){return new _B(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(ee(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ft(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new DT(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:v}=l,_=new Xc(d,this.urlSerializer.serialize(f),h,p);this.events.next(_);const b=IT(0,this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:b,urlAfterRedirects:f,extras:{...v,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,L(o)}{const d="";return this.events.next(new wo(l.id,this.urlSerializer.serialize(l.extractedUrl),d,1)),l.resolve(null),un}}),ft(l=>{const c=new g$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ee(l=>(this.currentTransition=o={...l,guards:j$(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function Q$(e,n){return it(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?L({...t,guardsResult:!0}):function K$(e,n,t,r){return Ue(e).pipe(it(i=>function rB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=aa(n)??i,c=Co(a,l);return Ir(function q$(e){return e&&ua(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(Er())})).pipe(bo()):L(!0)}(i.component,i.route,t,n,r)),Er(i=>!0!==i,!0))}(s,r,i,e).pipe(it(a=>a&&function U$(e){return"boolean"==typeof e}(a)?function X$(e,n,t,r){return Ue(n).pipe(fo(i=>Up(function eB(e,n){return null!==e&&n&&n(new D$(e)),L(!0)}(i.route.parent,r),function J$(e,n){return null!==e&&n&&n(new b$(e)),L(!0)}(i.route,r),function nB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function H$(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>QI(()=>L(s.guards.map(l=>{const c=aa(s.node)??t,u=Co(l,c);return Ir(function W$(e){return e&&ua(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Er())})).pipe(bo())));return L(o).pipe(bo())}(e,i.path,t),function tB(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const i=r.map(o=>QI(()=>{const s=aa(n)??t,a=Co(o,s);return Ir(function G$(e){return e&&ua(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Er())}));return L(i).pipe(bo())}(e,i.route,t))),Er(i=>!0!==i,!0))}(r,o,e,n):L(a)),ee(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),ft(l=>{if(o.guardsResult=l.guardsResult,Xr(l.guardsResult))throw AT(0,l.guardsResult);const c=new m$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Mn(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),pg(l=>{if(l.guards.canActivateChecks.length)return L(l).pipe(ft(c=>{const u=new y$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Rt(c=>{let u=!1;return L(c).pipe(IB(this.paramsInheritanceStrategy,this.environmentInjector),ft({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",2)}}))}),ft(c=>{const u=new v$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),pg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(ft(f=>{u.component=f}),ee(()=>{})));for(const f of u.children)d.push(...c(f));return d};return Bp(c(l.targetSnapshot.root)).pipe(Gc(),po(1))}),pg(()=>this.afterPreactivation()),Rt(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Ue(u).pipe(ee(()=>o)):L(o)}),ee(l=>{const c=function M$(e,n,t){const r=sa(e,n._root,t?t._root:void 0);return new ET(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),ft(()=>{this.events.next(new Xp)}),((e,n,t,r)=>ee(i=>(new V$(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),po(1),ft({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),tT(this.transitionAbortSubject.pipe(ft(l=>{throw l}))),Ys(()=>{s||a||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),go(l=>{if(a=!0,OT(l))this.events.next(new _o(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function x$(e){return OT(e)&&Xr(e.url)}(l)?this.events.next(new Jp(l.url)):o.resolve(!1);else{this.events.next(new Jc(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){o.reject(c)}}return un}))}))}cancelNavigationTransition(t,r,i){const o=new _o(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function PB(e){return e!==ia}let FB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(VB),providedIn:"root"})}return e})();class LB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let VB=(()=>{class e extends LB{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GT=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(jB),providedIn:"root"})}return e})(),jB=(()=>{class e extends GT{constructor(){super(...arguments),this.location=T(so),this.urlSerializer=T(vo),this.options=T(Io,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=T(mg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=IT(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Xc)this.stateMemento=this.createStateMemento();else if(t instanceof wo)this.rawUrlTree=r.initialUrl;else if(t instanceof DT){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof Xp?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof _o&&(3===t.code||2===t.code)?this.restoreHistory(r):t instanceof Jc?this.restoreHistory(r,!0):t instanceof xn&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var da=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(da||{});function WT(e,n){e.events.pipe(Mn(t=>t instanceof xn||t instanceof _o||t instanceof Jc||t instanceof wo),ee(t=>t instanceof xn||t instanceof wo?da.COMPLETE:t instanceof _o&&(0===t.code||1===t.code)?da.REDIRECTING:da.FAILED),Mn(t=>t!==da.REDIRECTING),po(1)).subscribe(()=>{n()})}function HB(e){throw e}const $B={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ot=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=T(jC),this.stateManager=T(GT),this.options=T(Io,{optional:!0})||{},this.pendingTasks=T(tc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=T(iu),this.urlSerializer=T(vo),this.location=T(so),this.urlHandlingStrategy=T(mg),this._events=new $e,this.errorHandler=this.options.errorHandler||HB,this.navigated=!1,this.routeReuseStrategy=T(FB),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=T(To,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!T(eu,{optional:!0}),this.eventsSubscription=new bt,this.isNgZoneEnabled=T(oe)instanceof oe&&oe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof _o&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof xn)this.navigated=!0;else if(r instanceof Jp){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||PB(i.source)};this.scheduleNavigation(s,ia,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function zB(e){return!(e instanceof Xp||e instanceof Jp)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ia,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);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(t){this.config=t.map(cg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=pT(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return gT(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Xr(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ia,null,r)}navigate(t,r={skipLocationChange:!1}){return function UB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return WT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fa=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new $e,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof xn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function Av(e,n,t){return function GA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Nv:Mv}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot),C(Jr),function Ua(e){return function HN(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Mn(t=>t instanceof xn),fo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=lh(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ue(i).pipe(oi())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):L(null);const o=i.pipe(it(s=>null===s?L(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Ue([o,this.loader.loadComponent(r)]).pipe(oi()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(A(Ot),A($C),A(Ht),A(qT),A(gg))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const yg=new M("");let ZT=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Xc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof xn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof wo&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof CT&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new CT(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Jv(){throw new Error("invalid")}()};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function kn(e,n){return{\u0275kind:e,\u0275providers:n}}function QT(){const e=T(yt);return n=>{const t=e.get(ro);if(n!==t.components[0])return;const r=e.get(Ot),i=e.get(KT);1===e.get(vg)&&r.initialNavigation(),e.get(XT,null,K.Optional)?.setUpPreloading(),e.get(yg,null,K.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const KT=new M("",{factory:()=>new $e}),vg=new M("",{providedIn:"root",factory:()=>1}),XT=new M("");function KB(e){return kn(0,[{provide:XT,useExisting:qB},{provide:qT,useExisting:e}])}function JB(e){return kn(9,[{provide:UT,useValue:kB},{provide:zT,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const JT=new M("ROUTER_FORROOT_GUARD"),eU=[so,{provide:vo,useClass:qp},Ot,oa,{provide:Jr,useFactory:function YT(e){return e.routerState.root},deps:[Ot]},gg,[]];let eS=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[eU,[],{provide:To,multi:!0,useValue:t},{provide:JT,useFactory:iU,deps:[[Ot,new Wa,new qa]]},{provide:Io,useValue:r||{}},r?.useHash?{provide:Wr,useClass:OL}:{provide:Wr,useClass:Nb},{provide:yg,useFactory:()=>{const e=T(Y2),n=T(oe),t=T(Io),r=T(iu),i=T(vo);return t.scrollOffset&&e.setOffset(t.scrollOffset),new ZT(i,r,e,n,t)}},r?.preloadingStrategy?KB(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?oU(r):[],r?.bindToComponentInputs?kn(8,[NT,{provide:eu,useExisting:NT}]).\u0275providers:[],r?.enableViewTransitions?JB().\u0275providers:[],[{provide:tS,useFactory:QT},{provide:Sh,multi:!0,useExisting:tS}]]}}static forChild(t){return{ngModule:e,providers:[{provide:To,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(JT,8))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();function iU(e){return"guarded"}function oU(e){return["disabled"===e.initialNavigation?kn(3,[{provide:wh,multi:!0,useFactory:()=>{const n=T(Ot);return()=>{n.setUpLocationChangeListener()}}},{provide:vg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?kn(2,[{provide:vg,useValue:0},{provide:wh,multi:!0,deps:[yt],useFactory:n=>{const t=n.get(AL,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Ot),o=n.get(KT);WT(i,()=>{r(!0)}),n.get(iu).afterPreactivation=()=>(r(!0),o.closed?L(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const tS=new M("");class aU extends bt{constructor(n,t){super()}schedule(n,t=0){return this}}const ou={setInterval(e,n,...t){const{delegate:r}=ou;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ou;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},_g={now:()=>(_g.delegate||Date).now(),delegate:void 0};class ha{constructor(n,t=ha.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}ha.now=_g.now;const uU=new class cU extends ha{constructor(n,t=ha.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class lU extends aU{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return ou.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&ou.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,ya(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}});class hU extends $e{constructor(n=1/0,t=1/0,r=_g){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s"']/,gU=new RegExp(rS.source,"g"),iS=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mU=new RegExp(iS.source,"g"),yU={"&":"&","<":"<",">":">",'"':""","'":"'"},oS=e=>yU[e];function Wt(e,n){if(n){if(rS.test(e))return e.replace(gU,oS)}else if(iS.test(e))return e.replace(mU,oS);return e}const vU=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,wU=/(^|[^\[])\^/g;function le(e,n){e="string"==typeof e?e:e.source,n=n||"";const t={replace:(r,i)=>(i=(i="object"==typeof i&&"source"in i?i.source:i).replace(wU,"$1"),e=e.replace(r,i),t),getRegex:()=>new RegExp(e,n)};return t}function sS(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const su={exec:()=>null};function aS(e,n){const r=e.replace(/\|/g,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),n)if(r.length>n)r.splice(n);else for(;r.length0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:au(r,"\n")}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const r=t[0],i=function CU(e,n){const t=e.match(/^(\s+)(?:```)/);if(null===t)return n;const r=t[1];return n.split("\n").map(i=>{const o=i.match(/^\s+/);if(null===o)return i;const[s]=o;return s.length>=r.length?i.slice(r.length):i}).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:i}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let r=t[2].trim();if(/#$/.test(r)){const i=au(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:t[0]}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){const r=au(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),i=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(r);return this.lexer.state.top=i,{type:"blockquote",raw:t[0],tokens:o,text:r}}}list(n){let t=this.rules.block.list.exec(n);if(t){let r=t[1].trim();const i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const s=new RegExp(`^( {0,3}${r})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a="",l="",c=!1;for(;n;){let u=!1;if(!(t=s.exec(n))||this.rules.block.hr.test(n))break;a=t[0],n=n.substring(a.length);let d=t[2].split("\n",1)[0].replace(/^\t+/,b=>" ".repeat(3*b.length)),f=n.split("\n",1)[0],h=0;this.options.pedantic?(h=2,l=d.trimStart()):(h=t[2].search(/[^ ]/),h=h>4?1:h,l=d.slice(h),h+=t[1].length);let p=!1;if(!d&&/^ *$/.test(f)&&(a+=f+"\n",n=n.substring(f.length+1),u=!0),!u){const b=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),w=new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),S=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),F=new RegExp(`^ {0,${Math.min(3,h-1)}}#`);for(;n;){const G=n.split("\n",1)[0];if(f=G,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),S.test(f)||F.test(f)||b.test(f)||w.test(n))break;if(f.search(/[^ ]/)>=h||!f.trim())l+="\n"+f.slice(h);else{if(p||d.search(/[^ ]/)>=4||S.test(d)||F.test(d)||w.test(d))break;l+="\n"+f}!p&&!f.trim()&&(p=!0),a+=G+"\n",n=n.substring(G.length+1),d=f.slice(h)}}o.loose||(c?o.loose=!0:/\n *\n *$/.test(a)&&(c=!0));let _,v=null;this.options.gfm&&(v=/^\[[ xX]\] /.exec(l),v&&(_="[ ] "!==v[0],l=l.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:a,task:!!v,checked:_,loose:!1,text:l,tokens:[]}),o.raw+=a}o.items[o.items.length-1].raw=a.trimEnd(),o.items[o.items.length-1].text=l.trimEnd(),o.raw=o.raw.trimEnd();for(let u=0;u"space"===h.type),f=d.length>0&&d.some(h=>/\n.*\n/.test(h.raw));o.loose=f}if(o.loose)for(let u=0;u$/,"$1").replace(this.rules.inline._escapes,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:i,title:o}}}table(n){const t=this.rules.block.table.exec(n);if(t){if(!/[:|]/.test(t[2]))return;const r={type:"table",raw:t[0],header:aS(t[1]).map(i=>({text:i,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){let o,s,a,l,i=r.align.length;for(o=0;o({text:c,tokens:[]}));for(i=r.header.length,s=0;s/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const s=au(r.slice(0,-1),"\\");if((r.length-s.length)%2==0)return}else{const s=function DU(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let r=0;r-1){const l=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let i=t[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(r)?i.slice(1):i.slice(1,-1)),lS(t,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:o&&o.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(n,t){let r;if((r=this.rules.inline.reflink.exec(n))||(r=this.rules.inline.nolink.exec(n))){let i=(r[2]||r[1]).replace(/\s+/g," ");if(i=t[i.toLowerCase()],!i){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return lS(r,i,r[0],this.lexer)}}emStrong(n,t,r=""){let i=this.rules.inline.emStrong.lDelim.exec(n);if(!(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!r||this.rules.inline.punctuation.exec(r))){const s=[...i[0]].length-1;let a,l,c=s,u=0;const d="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*n.length+s);null!=(i=d.exec(t));){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){c+=l;continue}if((i[5]||i[6])&&s%3&&!((s+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const f=[...i[0]][0].length,h=n.slice(0,s+i.index+f+l);if(Math.min(s,l)%2){const v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}const p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let r=t[2].replace(/\n/g," ");const i=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return i&&o&&(r=r.substring(1,r.length-1)),r=Wt(r,!0),{type:"codespan",raw:t[0],text:r}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let r,i;return"@"===t[2]?(r=Wt(t[1]),i="mailto:"+r):(r=Wt(t[1]),i=r),{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(n){let t;if(t=this.rules.inline.url.exec(n)){let r,i;if("@"===t[2])r=Wt(t[0]),i="mailto:"+r;else{let o;do{o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0]}while(o!==t[0]);r=Wt(t[0]),i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let r;return r=this.lexer.state.inRawBlock?t[0]:Wt(t[0]),{type:"text",raw:t[0],text:r}}}}const P={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:su,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};P.def=le(P.def).replace("label",P._label).replace("title",P._title).getRegex(),P.bullet=/(?:[*+-]|\d{1,9}[.)])/,P.listItemStart=le(/^( *)(bull) */).replace("bull",P.bullet).getRegex(),P.list=le(P.list).replace(/bull/g,P.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+P.def.source+")").getRegex(),P._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",P._comment=/|$)/,P.html=le(P.html,"i").replace("comment",P._comment).replace("tag",P._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),P.lheading=le(P.lheading).replace(/bull/g,P.bullet).getRegex(),P.paragraph=le(P._paragraph).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.blockquote=le(P.blockquote).replace("paragraph",P.paragraph).getRegex(),P.normal={...P},P.gfm={...P.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},P.gfm.table=le(P.gfm.table).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.gfm.paragraph=le(P._paragraph).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",P.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.pedantic={...P.normal,html:le("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",P._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:su,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:le(P.normal._paragraph).replace("hr",P.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",P.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:su,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:su,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};N.punctuation=le(N.punctuation,"u").replace(/punctuation/g,N._punctuation).getRegex(),N.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,N.anyPunctuation=/\\[punct]/g,N._escapes=/\\([punct])/g,N._comment=le(P._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),N.emStrong.lDelim=le(N.emStrong.lDelim,"u").replace(/punct/g,N._punctuation).getRegex(),N.emStrong.rDelimAst=le(N.emStrong.rDelimAst,"gu").replace(/punct/g,N._punctuation).getRegex(),N.emStrong.rDelimUnd=le(N.emStrong.rDelimUnd,"gu").replace(/punct/g,N._punctuation).getRegex(),N.anyPunctuation=le(N.anyPunctuation,"gu").replace(/punct/g,N._punctuation).getRegex(),N._escapes=le(N._escapes,"gu").replace(/punct/g,N._punctuation).getRegex(),N._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,N._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,N.autolink=le(N.autolink).replace("scheme",N._scheme).replace("email",N._email).getRegex(),N._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,N.tag=le(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex(),N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,N.link=le(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex(),N.reflink=le(N.reflink).replace("label",N._label).replace("ref",P._label).getRegex(),N.nolink=le(N.nolink).replace("ref",P._label).getRegex(),N.reflinkSearch=le(N.reflinkSearch,"g").replace("reflink",N.reflink).replace("nolink",N.nolink).getRegex(),N.normal={...N},N.pedantic={...N.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:le(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:le(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()},N.gfm={...N.normal,escape:le(N.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(c.length));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(r=a.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(r):(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(i.raw+="\n"+r.raw,i.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=n.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),"number"==typeof c&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(o=n.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){i=t[t.length-1],s&&"paragraph"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r),s=o.length!==n.length,n=n.substring(r.raw.length);continue}if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r);continue}if(n){const a="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let r,i,o,a,l,c,s=n;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(s));)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>!!(r=u.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(n)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(n,s,c)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(n)){n=n.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(n))){n=n.substring(r.raw.length),t.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const d=n.slice(1);let f;this.options.extensions.startInline.forEach(h=>{f=h.call({lexer:this},d),"number"==typeof f&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(o=n.substring(0,u+1))}if(r=this.tokenizer.inlineText(o)){n=n.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(c=r.raw.slice(-1)),l=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(n){const u="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}return t}}class So{options;constructor(n){this.options=n||ei}code(n,t,r){const i=(t||"").match(/^\S*/)?.[0];return n=n.replace(/\n$/,"")+"\n",i?'
'+(r?n:Wt(n,!0))+"
\n":"
"+(r?n:Wt(n,!0))+"
\n"}blockquote(n){return`
\n${n}
\n`}html(n,t){return n}heading(n,t,r){return`${n}\n`}hr(){return"
\n"}list(n,t,r){const i=t?"ol":"ul";return"<"+i+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"\n"}listitem(n,t,r){return`
  • ${n}
  • \n`}checkbox(n){return"'}paragraph(n){return`

    ${n}

    \n`}table(n,t){return t&&(t=`${t}`),"\n\n"+n+"\n"+t+"
    \n"}tablerow(n){return`\n${n}\n`}tablecell(n,t){const r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`\n`}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return"
    "}del(n){return`${n}`}link(n,t,r){const i=sS(n);if(null===i)return r;let o='",o}image(n,t,r){const i=sS(n);if(null===i)return r;let o=`${r}"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue}case"code":r+=this.renderer.code(o.text,o.lang,!!o.escaped);continue;case"table":{const s=o;let a="",l="";for(let u=0;u0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=_+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=_+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:_+" "}):v+=_+" "}v+=this.parse(f.tokens,c),u+=this.renderer.listitem(v,p,!!h)}r+=this.renderer.list(u,a,l);continue}case"html":r+=this.renderer.html(o.text,o.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(o.tokens));continue;case"text":{let s=o,a=s.tokens?this.parseInline(s.tokens):s.text;for(;i+1{r=r.concat(this.walkTokens(o[s],t))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,t)))}}return r}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=t.renderers[o.name];t.renderers[o.name]=s?function(...a){let l=o.renderer.apply(this,a);return!1===l&&(l=s.apply(this,a)),l}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),i.extensions=t),r.renderer){const o=this.defaults.renderer||new So(this.defaults);for(const s in r.renderer){const a=r.renderer[s],c=o[s];o[s]=(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d||""}}i.renderer=o}if(r.tokenizer){const o=this.defaults.tokenizer||new lu(this.defaults);for(const s in r.tokenizer){const a=r.tokenizer[s],c=o[s];o[s]=(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}i.tokenizer=o}if(r.hooks){const o=this.defaults.hooks||new cu;for(const s in r.hooks){const a=r.hooks[s],c=o[s];o[s]=cu.passThroughHooks.has(s)?u=>{if(this.defaults.async)return Promise.resolve(a.call(o,u)).then(f=>c.call(o,f));const d=a.call(o,u);return c.call(o,d)}:(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}i.hooks=o}if(r.walkTokens){const o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Rn.lex(n,t??this.defaults)}parser(n,t){return Pn.parse(n,t??this.defaults)}#e(n,t){return(r,i)=>{const o={...i},s={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const a=this.#t(!!s.silent,!!s.async);if(typeof r>"u"||null===r)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(l=>n(l,s)).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>t(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(a);try{s.hooks&&(r=s.hooks.preprocess(r));const l=n(r,s);s.walkTokens&&this.walkTokens(l,s.walkTokens);let c=t(l,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(l){return a(l)}}}#t(n,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const i="

    An error occurred:

    "+Wt(r.message+"",!0)+"
    ";return t?Promise.resolve(i):i}if(t)return Promise.reject(r);throw r}}};function re(e,n){return ti.parse(e,n)}re.options=re.setOptions=function(e){return ti.setOptions(e),nS(re.defaults=ti.defaults),re},re.getDefaults=function wg(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},re.defaults=ei,re.use=function(...e){return ti.use(...e),nS(re.defaults=ti.defaults),re},re.walkTokens=function(e,n){return ti.walkTokens(e,n)},re.parseInline=ti.parseInline,re.Parser=Pn,re.parser=Pn.parse,re.Renderer=So,re.TextRenderer=Dg,re.Lexer=Rn,re.lexer=Rn.lex,re.Tokenizer=lu,re.Hooks=cu,re.parse=re;const EU=["*"];let cS=(()=>{class e{constructor(){this._buttonClick$=new $e,this.copied$=this._buttonClick$.pipe(Rt(()=>lm(L(!0),function fU(e=0,n,t=uU){let r=-1;return null!=n&&(rm(n)?t=n:r=n),new Ae(i=>{let o=function dU(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(3e3).pipe(eT(!1)))),cm(),function pU(e,n,t){let r,i=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:t}=e):r=e??1/0,Nu({connector:()=>new hU(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}(1)),this.copiedText$=this.copied$.pipe(XI(!1),ee(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(r,i){1&r&&(g(0,"button",0),Te("click",function(){return i.onCopyToClipboardClick()}),Rs(1,"async"),y(2),Rs(3,"async"),m()),2&r&&(ys("copied",Ps(1,3,i.copied$)),k(2),zt(Ps(3,5,i.copiedText$)))},dependencies:[ep],encapsulation:2,changeDetection:0})}return e})();const SU=new M("CLIPBOARD_OPTIONS");var Cg=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(Cg||{});const uS=new M("MARKED_EXTENSIONS"),NU=new M("MARKED_OPTIONS"),dS=new M("SECURITY_CONTEXT");let bg=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,r,i,o,s,a,l){this.clipboardOptions=t,this.extensions=r,this.platform=o,this.securityContext=s,this.http=a,this.sanitizer=l,this.DEFAULT_MARKED_OPTIONS={renderer:new So},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new $e,this.reload$=this._reload$.asObservable(),this.options=i}parse(t,r=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:i,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=r,c={...this.options,...r.markedOptions},u=c.renderer||this.renderer||new So;this.extensions&&(this.renderer=this.extendsRendererForExtensions(u)),a&&(this.renderer=this.extendsRendererForMermaid(u));const d=this.trimIndentation(t),f=i?this.decodeHtml(d):d,h=s?this.parseEmoji(f):f,p=this.parseMarked(h,c,o);return(l?p:this.sanitizer.sanitize(this.securityContext,p))||""}render(t,r=this.DEFAULT_RENDER_OPTIONS,i){const{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:u}=r;o&&this.renderClipboard(t,i,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...u}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(ee(r=>this.handleExtension(t,r)))}highlight(t){if(!lo(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const r=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(r,i=>i.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!lo(this.platform))return t;const r=document.createElement("textarea");return r.innerHTML=t,r.value}extendsRendererForExtensions(t){const r=t;return!0===r.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&re.use(...this.extensions),r.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const r=t;if(!0===r.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const i=t.code;return t.code=function(o,s,a){return"mermaid"===s?`
    ${o}
    `:i.call(this,o,s,a)},r.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,r){const i=t.lastIndexOf("://"),o=i>-1?t.substring(i+4):t,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+r+"\n```":r}parseMarked(t,r,i=!1){return r.renderer&&(re.use({renderer:r.renderer}),delete r.renderer),i?re.parseInline(t,r):re.parse(t,r)}parseEmoji(t){if(!lo(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,r){if(lo(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,r)}}renderClipboard(t,r,i){if(!lo(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!r)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:o,buttonTemplate:s}=i,a=t.querySelectorAll("pre");for(let l=0;ld.style.opacity="1",c.onmouseout=()=>d.style.opacity="0",f=o?r.createComponent(o).hostView:s?r.createEmbeddedView(s):r.createComponent(cS).hostView,f.rootNodes.forEach(p=>{p.onmouseover=()=>d.style.opacity="1",d.appendChild(p),h=new ClipboardJS(p,{text:()=>c.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(t,r=this.DEFAULT_MERMAID_OPTIONS){if(!lo(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const i=t.querySelectorAll(".mermaid");0!==i.length&&(mermaid.initialize(r),mermaid.run({nodes:i}))}trimIndentation(t){if(!t)return"";let r;return t.split("\n").map(i=>{let o=r;return i.length>0&&(o=isNaN(o)?i.search(/\S|$/):Math.min(i.search(/\S|$/),o)),isNaN(r)&&(r=o),o?i.substring(o):i}).join("\n")}static#e=this.\u0275fac=function(r){return new(r||e)(A(SU,8),A(uS,8),A(NU,8),A(lr),A(dS),A(Ks,8),A(mp))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),pa=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,r,i){this.element=t,this.markdownService=r,this.viewContainerRef=i,this.error=new be,this.load=new be,this.ready=new be,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new $e}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(tT(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,r=!1){var i=this;return function Lc(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(l){SI(o,r,i,s,a,"next",l)}function a(l){SI(o,r,i,s,a,"throw",l)}s(void 0)})}}(function*(){const o={decodeHtml:r,inline:i.inline,emoji:i.emoji,mermaid:i.mermaid,disableSanitizer:i.disableSanitizer},s={clipboard:i.clipboard,clipboardOptions:{buttonComponent:i.clipboardButtonComponent,buttonTemplate:i.clipboardButtonTemplate},katex:i.katex,katexOptions:i.katexOptions,mermaid:i.mermaid,mermaidOptions:i.mermaidOptions},a=yield i.markdownService.parse(t,o);i.element.nativeElement.innerHTML=a,i.handlePlugins(),i.markdownService.render(i.element.nativeElement,s,i.viewContainerRef),i.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Cg.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Cg.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,r){const i=t.querySelectorAll("pre");for(let o=0;o{const a=r[s];if(a){const l=this.toLispCase(s);i.item(o).setAttribute(l,a.toString())}})}toLispCase(t){const r=t.match(/([A-Z])/g);if(!r)return t;let i=t.toString();for(let o=0,s=r.length;o{class e{static forRoot(t){return{ngModule:e,providers:[bg,t?.loader??[],t?.clipboardOptions??[],t?.markedOptions??[],{provide:uS,useValue:t?.markedExtensions??[]},{provide:dS,useValue:t?.sanitize??Nt.HTML}]}}static forChild(){return{ngModule:e}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[op]})}return e})();var fS;!function(e){let n;var i;let t,r;(i=n=e.SecurityLevel||(e.SecurityLevel={})).Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox",function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"}(t=e.Theme||(e.Theme={})),function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"}(r=e.LogLevel||(e.LogLevel={}))}(fS||(fS={}));let LU=(()=>{class e{constructor(){this.installMd="assets/docs/welcome/installation.md"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-welcome"]],decls:49,vars:1,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"caption"],["href","https://datatables.net/"],[3,"src"],[1,"header"],[1,"section"],[1,"col","s12","m12","l12"],[1,"col","s12","m4","feature-item"],[1,"material-icons"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Angular DataTables"),m()()()()(),g(6,"div",1)(7,"p",5),y(8," An Angular2+ library for building complex HTML tables using "),g(9,"a",6),y(10,"DataTables"),m(),y(11," jQuery plug-in. "),m(),R(12,"markdown",7),g(13,"h5",8),y(14,"Features:"),m(),g(15,"div",9)(16,"div",2)(17,"div",10)(18,"div",2)(19,"div",11)(20,"i",12),y(21,"download"),m(),g(22,"h6"),y(23,"Quick Install"),m()(),g(24,"div",11)(25,"i",12),y(26,"sync_alt"),m(),g(27,"h6"),y(28,"Angular integration"),m()(),g(29,"div",11)(30,"i",12),y(31,"dns"),m(),g(32,"h6"),y(33,"Large dataset support"),m()(),g(34,"div",11)(35,"i",12),y(36,"filter_alt"),m(),g(37,"h6"),y(38,"Advanced Data Filter"),m()(),g(39,"div",11)(40,"i",12),y(41,"extension"),m(),g(42,"h6"),y(43,"Extensions support"),m()(),g(44,"div",11)(45,"i",12),y(46,"lock_open"),m(),g(47,"h6"),y(48,"MIT"),m()()()()()()()),2&r&&(k(12),O("src",i.installMd))},dependencies:[pa],styles:[".welcome-btn[_ngcontent-%COMP%]{height:140px;padding:10px}.feature-item[_ngcontent-%COMP%]{text-align:center}.material-icons[_ngcontent-%COMP%]{border-radius:50%;width:80px;height:80px;color:#fff;background-color:#039be5;margin-top:10px;margin-bottom:4px;font-size:3em;line-height:1.8}"]})}return e})(),VU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-getting-started"]],decls:8,vars:0,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],["id","getting-started-wrapper",1,"container"],["src","assets/docs/get-started.md"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Installation"),m()()()()(),g(6,"div",5),R(7,"markdown",6),m())},dependencies:[pa],encapsulation:2})}return e})();const jU=JSON.parse('{"a":[{"id":860,"firstName":"Superman","lastName":"Yoda"},{"id":870,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":590,"firstName":"Toto","lastName":"Titi"},{"id":803,"firstName":"Luke","lastName":"Kyle"},{"id":474,"firstName":"Toto","lastName":"Bar"},{"id":476,"firstName":"Zed","lastName":"Kyle"},{"id":464,"firstName":"Cartman","lastName":"Kyle"},{"id":505,"firstName":"Superman","lastName":"Yoda"},{"id":308,"firstName":"Louis","lastName":"Kyle"},{"id":184,"firstName":"Toto","lastName":"Bar"},{"id":411,"firstName":"Luke","lastName":"Yoda"},{"id":154,"firstName":"Luke","lastName":"Moliku"},{"id":623,"firstName":"Someone First Name","lastName":"Moliku"},{"id":499,"firstName":"Luke","lastName":"Bar"},{"id":482,"firstName":"Batman","lastName":"Lara"},{"id":255,"firstName":"Louis","lastName":"Kyle"},{"id":772,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":398,"firstName":"Zed","lastName":"Moliku"},{"id":840,"firstName":"Superman","lastName":"Lara"},{"id":894,"firstName":"Luke","lastName":"Bar"},{"id":591,"firstName":"Luke","lastName":"Titi"},{"id":767,"firstName":"Luke","lastName":"Moliku"},{"id":133,"firstName":"Cartman","lastName":"Moliku"},{"id":274,"firstName":"Toto","lastName":"Lara"},{"id":996,"firstName":"Superman","lastName":"Someone Last Name"},{"id":780,"firstName":"Batman","lastName":"Kyle"},{"id":931,"firstName":"Batman","lastName":"Moliku"},{"id":326,"firstName":"Louis","lastName":"Bar"},{"id":318,"firstName":"Superman","lastName":"Yoda"},{"id":434,"firstName":"Zed","lastName":"Bar"},{"id":480,"firstName":"Toto","lastName":"Kyle"},{"id":187,"firstName":"Someone First Name","lastName":"Bar"},{"id":829,"firstName":"Cartman","lastName":"Bar"},{"id":937,"firstName":"Cartman","lastName":"Lara"},{"id":355,"firstName":"Foo","lastName":"Moliku"},{"id":258,"firstName":"Someone First Name","lastName":"Moliku"},{"id":826,"firstName":"Cartman","lastName":"Yoda"},{"id":586,"firstName":"Cartman","lastName":"Lara"},{"id":32,"firstName":"Batman","lastName":"Lara"},{"id":676,"firstName":"Batman","lastName":"Kyle"},{"id":403,"firstName":"Toto","lastName":"Titi"},{"id":222,"firstName":"Foo","lastName":"Moliku"},{"id":507,"firstName":"Zed","lastName":"Someone Last Name"},{"id":135,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":818,"firstName":"Zed","lastName":"Yoda"},{"id":321,"firstName":"Luke","lastName":"Kyle"},{"id":187,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":327,"firstName":"Toto","lastName":"Bar"},{"id":187,"firstName":"Louis","lastName":"Lara"},{"id":417,"firstName":"Louis","lastName":"Titi"},{"id":97,"firstName":"Zed","lastName":"Bar"},{"id":710,"firstName":"Batman","lastName":"Lara"},{"id":975,"firstName":"Toto","lastName":"Yoda"},{"id":926,"firstName":"Foo","lastName":"Bar"},{"id":976,"firstName":"Toto","lastName":"Lara"},{"id":680,"firstName":"Zed","lastName":"Kyle"},{"id":275,"firstName":"Louis","lastName":"Kyle"},{"id":742,"firstName":"Foo","lastName":"Someone Last Name"},{"id":598,"firstName":"Zed","lastName":"Lara"},{"id":113,"firstName":"Foo","lastName":"Moliku"},{"id":228,"firstName":"Superman","lastName":"Someone Last Name"},{"id":820,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":700,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":556,"firstName":"Toto","lastName":"Lara"},{"id":687,"firstName":"Foo","lastName":"Kyle"},{"id":794,"firstName":"Toto","lastName":"Lara"},{"id":349,"firstName":"Someone First Name","lastName":"Whateveryournameis"},{"id":283,"firstName":"Batman","lastName":"Someone Last Name"},{"id":862,"firstName":"Cartman","lastName":"Lara"},{"id":674,"firstName":"Cartman","lastName":"Bar"},{"id":954,"firstName":"Louis","lastName":"Lara"},{"id":243,"firstName":"Superman","lastName":"Someone Last Name"},{"id":578,"firstName":"Superman","lastName":"Lara"},{"id":660,"firstName":"Batman","lastName":"Bar"},{"id":653,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":583,"firstName":"Toto","lastName":"Moliku"},{"id":321,"firstName":"Zed","lastName":"Yoda"},{"id":171,"firstName":"Superman","lastName":"Kyle"},{"id":41,"firstName":"Superman","lastName":"Yoda"},{"id":704,"firstName":"Louis","lastName":"Titi"},{"id":344,"firstName":"Louis","lastName":"Lara"},{"id":840,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":476,"firstName":"Foo","lastName":"Kyle"},{"id":644,"firstName":"Superman","lastName":"Moliku"},{"id":359,"firstName":"Superman","lastName":"Moliku"},{"id":856,"firstName":"Luke","lastName":"Lara"},{"id":760,"firstName":"Foo","lastName":"Someone Last Name"},{"id":432,"firstName":"Zed","lastName":"Yoda"},{"id":299,"firstName":"Superman","lastName":"Kyle"},{"id":693,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":11,"firstName":"Toto","lastName":"Lara"},{"id":305,"firstName":"Luke","lastName":"Yoda"},{"id":961,"firstName":"Luke","lastName":"Yoda"},{"id":54,"firstName":"Luke","lastName":"Bar"},{"id":734,"firstName":"Superman","lastName":"Yoda"},{"id":466,"firstName":"Cartman","lastName":"Titi"},{"id":439,"firstName":"Louis","lastName":"Lara"},{"id":995,"firstName":"Foo","lastName":"Moliku"},{"id":878,"firstName":"Luke","lastName":"Bar"},{"id":479,"firstName":"Luke","lastName":"Yoda"},{"id":252,"firstName":"Cartman","lastName":"Moliku"},{"id":355,"firstName":"Zed","lastName":"Moliku"},{"id":355,"firstName":"Zed","lastName":"Kyle"},{"id":694,"firstName":"Louis","lastName":"Bar"},{"id":882,"firstName":"Cartman","lastName":"Yoda"},{"id":620,"firstName":"Luke","lastName":"Lara"},{"id":390,"firstName":"Superman","lastName":"Lara"},{"id":247,"firstName":"Zed","lastName":"Kyle"},{"id":510,"firstName":"Batman","lastName":"Moliku"},{"id":510,"firstName":"Batman","lastName":"Lara"},{"id":472,"firstName":"Foo","lastName":"Moliku"},{"id":533,"firstName":"Someone First Name","lastName":"Kyle"},{"id":725,"firstName":"Superman","lastName":"Kyle"},{"id":221,"firstName":"Zed","lastName":"Lara"},{"id":302,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":755,"firstName":"Louis","lastName":"Someone Last Name"},{"id":671,"firstName":"Batman","lastName":"Lara"},{"id":649,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":22,"firstName":"Luke","lastName":"Yoda"},{"id":544,"firstName":"Louis","lastName":"Lara"},{"id":114,"firstName":"Someone First Name","lastName":"Titi"},{"id":674,"firstName":"Someone First Name","lastName":"Lara"},{"id":571,"firstName":"Zed","lastName":"Kyle"},{"id":554,"firstName":"Louis","lastName":"Titi"},{"id":203,"firstName":"Zed","lastName":"Kyle"},{"id":89,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":299,"firstName":"Luke","lastName":"Bar"},{"id":48,"firstName":"Toto","lastName":"Bar"},{"id":726,"firstName":"Batman","lastName":"Whateveryournameis"},{"id":121,"firstName":"Toto","lastName":"Bar"},{"id":992,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":551,"firstName":"Toto","lastName":"Kyle"},{"id":831,"firstName":"Louis","lastName":"Lara"},{"id":940,"firstName":"Luke","lastName":"Moliku"},{"id":974,"firstName":"Zed","lastName":"Kyle"},{"id":579,"firstName":"Luke","lastName":"Moliku"},{"id":752,"firstName":"Cartman","lastName":"Yoda"},{"id":873,"firstName":"Batman","lastName":"Someone Last Name"},{"id":939,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":240,"firstName":"Luke","lastName":"Yoda"},{"id":969,"firstName":"Cartman","lastName":"Lara"},{"id":247,"firstName":"Luke","lastName":"Someone Last Name"},{"id":3,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":154,"firstName":"Batman","lastName":"Bar"},{"id":274,"firstName":"Toto","lastName":"Someone Last Name"},{"id":31,"firstName":"Luke","lastName":"Someone Last Name"},{"id":789,"firstName":"Louis","lastName":"Titi"},{"id":634,"firstName":"Zed","lastName":"Yoda"},{"id":972,"firstName":"Toto","lastName":"Kyle"},{"id":199,"firstName":"Foo","lastName":"Moliku"},{"id":562,"firstName":"Louis","lastName":"Titi"},{"id":460,"firstName":"Superman","lastName":"Yoda"},{"id":817,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":307,"firstName":"Cartman","lastName":"Bar"},{"id":10,"firstName":"Cartman","lastName":"Titi"},{"id":167,"firstName":"Toto","lastName":"Someone Last Name"},{"id":107,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":432,"firstName":"Batman","lastName":"Kyle"},{"id":381,"firstName":"Luke","lastName":"Yoda"},{"id":517,"firstName":"Louis","lastName":"Lara"},{"id":575,"firstName":"Superman","lastName":"Kyle"},{"id":716,"firstName":"Cartman","lastName":"Titi"},{"id":646,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":144,"firstName":"Someone First Name","lastName":"Yoda"},{"id":306,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":395,"firstName":"Luke","lastName":"Bar"},{"id":777,"firstName":"Toto","lastName":"Moliku"},{"id":624,"firstName":"Louis","lastName":"Someone Last Name"},{"id":994,"firstName":"Superman","lastName":"Moliku"},{"id":653,"firstName":"Batman","lastName":"Moliku"},{"id":198,"firstName":"Foo","lastName":"Bar"},{"id":157,"firstName":"Zed","lastName":"Kyle"},{"id":955,"firstName":"Luke","lastName":"Someone Last Name"},{"id":339,"firstName":"Foo","lastName":"Bar"},{"id":552,"firstName":"Batman","lastName":"Titi"},{"id":735,"firstName":"Louis","lastName":"Bar"},{"id":294,"firstName":"Batman","lastName":"Bar"},{"id":287,"firstName":"Someone First Name","lastName":"Bar"},{"id":399,"firstName":"Cartman","lastName":"Yoda"},{"id":741,"firstName":"Foo","lastName":"Kyle"},{"id":670,"firstName":"Foo","lastName":"Bar"},{"id":260,"firstName":"Toto","lastName":"Lara"},{"id":294,"firstName":"Toto","lastName":"Titi"},{"id":294,"firstName":"Zed","lastName":"Lara"},{"id":840,"firstName":"Zed","lastName":"Titi"},{"id":448,"firstName":"Foo","lastName":"Kyle"},{"id":260,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":119,"firstName":"Zed","lastName":"Someone Last Name"},{"id":702,"firstName":"Zed","lastName":"Kyle"},{"id":87,"firstName":"Zed","lastName":"Someone Last Name"},{"id":161,"firstName":"Foo","lastName":"Lara"},{"id":404,"firstName":"Zed","lastName":"Kyle"},{"id":871,"firstName":"Toto","lastName":"Lara"},{"id":908,"firstName":"Someone First Name","lastName":"Moliku"},{"id":484,"firstName":"Louis","lastName":"Bar"},{"id":966,"firstName":"Cartman","lastName":"Titi"},{"id":392,"firstName":"Someone First Name","lastName":"Lara"},{"id":738,"firstName":"Batman","lastName":"Lara"},{"id":560,"firstName":"Louis","lastName":"Kyle"},{"id":507,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":660,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":929,"firstName":"Superman","lastName":"Moliku"},{"id":42,"firstName":"Batman","lastName":"Moliku"},{"id":853,"firstName":"Luke","lastName":"Titi"},{"id":977,"firstName":"Louis","lastName":"Moliku"},{"id":104,"firstName":"Toto","lastName":"Kyle"},{"id":820,"firstName":"Luke","lastName":"Someone Last Name"},{"id":187,"firstName":"Batman","lastName":"Titi"},{"id":524,"firstName":"Louis","lastName":"Yoda"},{"id":830,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":156,"firstName":"Someone First Name","lastName":"Lara"},{"id":918,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":286,"firstName":"Batman","lastName":"Moliku"},{"id":715,"firstName":"Louis","lastName":"Kyle"},{"id":501,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":463,"firstName":"Foo","lastName":"Kyle"},{"id":419,"firstName":"Toto","lastName":"Yoda"},{"id":752,"firstName":"Foo","lastName":"Moliku"},{"id":754,"firstName":"Louis","lastName":"Titi"},{"id":497,"firstName":"Someone First Name","lastName":"Kyle"},{"id":722,"firstName":"Louis","lastName":"Moliku"},{"id":986,"firstName":"Batman","lastName":"Someone Last Name"},{"id":908,"firstName":"Someone First Name","lastName":"Titi"},{"id":559,"firstName":"Superman","lastName":"Bar"},{"id":816,"firstName":"Foo","lastName":"Bar"},{"id":517,"firstName":"Louis","lastName":"Bar"},{"id":188,"firstName":"Superman","lastName":"Bar"},{"id":762,"firstName":"Batman","lastName":"Someone Last Name"},{"id":872,"firstName":"Batman","lastName":"Titi"},{"id":107,"firstName":"Louis","lastName":"Lara"},{"id":968,"firstName":"Louis","lastName":"Moliku"},{"id":643,"firstName":"Toto","lastName":"Someone Last Name"},{"id":88,"firstName":"Toto","lastName":"Titi"},{"id":844,"firstName":"Foo","lastName":"Kyle"},{"id":334,"firstName":"Batman","lastName":"Someone Last Name"},{"id":43,"firstName":"Zed","lastName":"Lara"},{"id":600,"firstName":"Someone First Name","lastName":"Kyle"},{"id":719,"firstName":"Luke","lastName":"Lara"},{"id":698,"firstName":"Zed","lastName":"Yoda"},{"id":994,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":595,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":223,"firstName":"Toto","lastName":"Yoda"},{"id":392,"firstName":"Foo","lastName":"Moliku"},{"id":972,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":155,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":956,"firstName":"Louis","lastName":"Yoda"},{"id":62,"firstName":"Foo","lastName":"Kyle"},{"id":689,"firstName":"Superman","lastName":"Titi"},{"id":46,"firstName":"Foo","lastName":"Someone Last Name"},{"id":401,"firstName":"Toto","lastName":"Someone Last Name"},{"id":658,"firstName":"Louis","lastName":"Bar"},{"id":375,"firstName":"Someone First Name","lastName":"Bar"},{"id":877,"firstName":"Toto","lastName":"Someone Last Name"},{"id":923,"firstName":"Cartman","lastName":"Lara"},{"id":37,"firstName":"Zed","lastName":"Kyle"},{"id":416,"firstName":"Cartman","lastName":"Yoda"},{"id":546,"firstName":"Zed","lastName":"Yoda"},{"id":282,"firstName":"Luke","lastName":"Lara"},{"id":943,"firstName":"Superman","lastName":"Yoda"},{"id":319,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":390,"firstName":"Louis","lastName":"Lara"},{"id":556,"firstName":"Luke","lastName":"Kyle"},{"id":255,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":80,"firstName":"Zed","lastName":"Kyle"},{"id":760,"firstName":"Louis","lastName":"Moliku"},{"id":291,"firstName":"Louis","lastName":"Titi"},{"id":916,"firstName":"Louis","lastName":"Bar"},{"id":212,"firstName":"Foo","lastName":"Moliku"},{"id":445,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":101,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":565,"firstName":"Superman","lastName":"Kyle"},{"id":304,"firstName":"Luke","lastName":"Someone Last Name"},{"id":557,"firstName":"Foo","lastName":"Titi"},{"id":544,"firstName":"Toto","lastName":"Kyle"},{"id":244,"firstName":"Zed","lastName":"Titi"},{"id":464,"firstName":"Someone First Name","lastName":"Bar"},{"id":225,"firstName":"Toto","lastName":"Titi"},{"id":727,"firstName":"Superman","lastName":"Someone Last Name"},{"id":735,"firstName":"Louis","lastName":"Bar"},{"id":334,"firstName":"Foo","lastName":"Lara"},{"id":982,"firstName":"Batman","lastName":"Kyle"},{"id":48,"firstName":"Batman","lastName":"Lara"},{"id":175,"firstName":"Luke","lastName":"Moliku"},{"id":885,"firstName":"Louis","lastName":"Moliku"},{"id":675,"firstName":"Toto","lastName":"Moliku"},{"id":47,"firstName":"Superman","lastName":"Someone Last Name"},{"id":105,"firstName":"Toto","lastName":"Titi"},{"id":616,"firstName":"Cartman","lastName":"Lara"},{"id":134,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":26,"firstName":"Foo","lastName":"Moliku"},{"id":134,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":680,"firstName":"Zed","lastName":"Lara"},{"id":208,"firstName":"Luke","lastName":"Someone Last Name"},{"id":233,"firstName":"Someone First Name","lastName":"Moliku"},{"id":131,"firstName":"Louis","lastName":"Moliku"},{"id":87,"firstName":"Toto","lastName":"Yoda"},{"id":356,"firstName":"Batman","lastName":"Kyle"},{"id":39,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":867,"firstName":"Batman","lastName":"Lara"},{"id":382,"firstName":"Someone First Name","lastName":"Bar"}]}');let hS=(()=>{class e{constructor(){}getPerson(t){return jU.a.find(i=>i.id===t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function HU(e,n){if(1&e&&(g(0,"pre")(1,"code",11),y(2),Rs(3,"json"),m(),y(4,"\n"),m()),2&e){const t=de();k(2),zt(Ps(3,1,t.person))}}let $U=(()=>{class e{constructor(t,r,i){this.route=t,this.location=r,this.personService=i}ngOnInit(){const t=+this.route.snapshot.paramMap.get("id");this.person=this.personService.getPerson(t)}goBack(){this.location.back()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Jr),C(so),C(hS))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-person"]],features:[Ee([hS])],decls:15,vars:1,consts:[[1,"section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"col","s12","m9","l12"],[1,"section"],[1,"col","s12","m9","l12","showcase-tabs"],["highlight-js-content",".json"],[4,"ngIf"],[1,"waves-effect","btn",3,"click"],[1,"json","highlight"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Person details"),m()()()()(),g(6,"div",1)(7,"div",2)(8,"div",5)(9,"div",6)(10,"div",7)(11,"section",8),J(12,HU,5,3,"pre",9),m(),g(13,"button",10),Te("click",function(){return i.goBack()}),y(14,"Go back"),m()()()()()()),2&r&&(k(12),O("ngIf",i.person))},dependencies:[Kh,qb],encapsulation:2})}return e})();function BU(e,n){1&e&&(g(0,"div",25)(1,"div",26)(2,"div",1),y(3," This section has been marked as deprecated. It is listed here for documentation purposes only. "),g(4,"a",27),y(5,"Read More"),m()()()())}function UU(e,n){1&e&&(g(0,"li",11)(1,"a",28),y(2,"Installation"),m()())}function zU(e,n){1&e&&Xf(0)}function GU(e,n){if(1&e&&(g(0,"div",29),R(1,"markdown",8),m()),2&e){const t=de();k(1),O("src",t.mdInstall)}}function WU(e,n){if(1&e&&(g(0,"h5",6),y(1),m()),2&e){const t=de();k(1),zt(t.mdTSHeading)}}function qU(e,n){if(1&e&&(zl(0),g(1,"h5",6),y(2),m(),R(3,"markdown",8),Gl()),2&e){const t=de();k(2),zt(t.mdTSHighHeading),k(1),O("src",t.mdTSHigh)}}let He=(()=>{class e{constructor(t){this.router=t,this.pageTitle="",this.mdIntro="",this.mdInstall="",this.mdHTML="",this.mdTS="",this.mdTSHeading="TypeScript",this.mdTSHigh="",this.mdTSHighHeading="",this.template=null,this.deprecated=!1}ngOnInit(){this.initBackToTop()}scrollCallback(){$(this).scrollTop()?$("#toTop").fadeIn():$("#toTop").fadeOut()}initBackToTop(){$().ready(this.scrollCallback),$(window).scroll(this.scrollCallback),$("#toTop").on("click",function(){$("html, body").animate({scrollTop:0},1e3)})}scrollToElement(t){t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-base-demo"]],inputs:{pageTitle:"pageTitle",mdIntro:"mdIntro",mdInstall:"mdInstall",mdHTML:"mdHTML",mdTS:"mdTS",mdTSHeading:"mdTSHeading",mdTSHigh:"mdTSHigh",mdTSHighHeading:"mdTSHighHeading",template:"template",deprecated:"deprecated"},decls:37,vars:10,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],["class","section",4,"ngIf"],[1,"header"],[1,"caption"],[3,"src"],[1,"col","s12"],[1,"tabs","tabs-fixed-width","grey","darken-1","z-depth-1"],[1,"tab","col"],["href","#previewTab"],["class","tab col",4,"ngIf"],["href","#htmlTab"],["href","#typescriptTab"],["id","previewTab",1,"col","s12"],[4,"ngTemplateOutlet"],["id","installTab","class","col s12",4,"ngIf"],["id","htmlTab",1,"col","s12"],["id","typescriptTab",1,"col","s12"],["class","header",4,"ngIf"],[4,"ngIf"],["id","toTop"],[1,"material-icons"],[1,"section"],[1,"section","red","white-text"],["routerLink","/faq"],["href","#installTab"],["id","installTab",1,"col","s12"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),y(5),m()()()()(),J(6,BU,6,0,"div",5),g(7,"div",1)(8,"h5",6),y(9,"Description"),m(),g(10,"p",7),R(11,"markdown",8),m(),g(12,"div",2)(13,"div",9)(14,"ul",10)(15,"li",11)(16,"a",12),y(17,"Preview"),m()(),J(18,UU,3,0,"li",13),g(19,"li",11)(20,"a",14),y(21,"HTML"),m()(),g(22,"li",11)(23,"a",15),y(24,"TS"),m()()()(),g(25,"div",16),J(26,zU,1,0,"ng-container",17),m(),J(27,GU,2,1,"div",18),g(28,"div",19),R(29,"markdown",8),m(),g(30,"div",20),J(31,WU,2,1,"h5",21),R(32,"markdown",8),J(33,qU,4,2,"ng-container",22),m()()(),g(34,"div",23)(35,"i",24),y(36,"arrow_upward"),m()()),2&r&&(k(5),zt(i.pageTitle),k(1),O("ngIf",i.deprecated),k(5),O("src",i.mdIntro),k(7),O("ngIf",i.mdInstall.length>0),k(8),O("ngTemplateOutlet",i.template),k(1),O("ngIf",i.mdInstall.length>0),k(2),O("src",i.mdHTML),k(2),O("ngIf",i.mdTSHigh.length>0),k(1),O("src",i.mdTS),k(1),O("ngIf",i.mdTSHigh.length>0))},dependencies:[Kh,Wb,fa,pa],styles:[".tabs[_ngcontent-%COMP%]{margin-bottom:15px}.header[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}#toTop[_ngcontent-%COMP%]{padding:7px 14px;background:#1565c0;color:#fff;position:fixed;bottom:65px;right:15px;z-index:999;border:solid 1px #94bed1;border-radius:30px;box-shadow:3px 2px 5px #98b1bc;font-size:1.5rem;cursor:pointer}#toTop[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{vertical-align:middle}"]})}return e})();function ZU(e,n){1&e&&(g(0,"div",2)(1,"table",3)(2,"thead")(3,"tr")(4,"th"),y(5,"ID"),m(),g(6,"th"),y(7,"First name"),m(),g(8,"th"),y(9,"Last name"),m()()(),g(10,"tbody")(11,"tr")(12,"td"),y(13,"1"),m(),g(14,"td"),y(15,"Foo"),m(),g(16,"td"),y(17,"Bar"),m()(),g(18,"tr")(19,"td"),y(20,"2"),m(),g(21,"td"),y(22,"Someone"),m(),g(23,"td"),y(24,"Youknow"),m()(),g(25,"tr")(26,"td"),y(27,"3"),m(),g(28,"td"),y(29,"Iamout"),m(),g(30,"td"),y(31,"Ofinspiration"),m()(),g(32,"tr")(33,"td"),y(34,"4"),m(),g(35,"td"),y(36,"Yoda"),m(),g(37,"td"),y(38,"Skywalker"),m()(),g(39,"tr")(40,"td"),y(41,"5"),m(),g(42,"td"),y(43,"Patrick"),m(),g(44,"td"),y(45,"Dupont"),m()(),g(46,"tr")(47,"td"),y(48,"6"),m(),g(49,"td"),y(50,"Barack"),m(),g(51,"td"),y(52,"Obama"),m()(),g(53,"tr")(54,"td"),y(55,"7"),m(),g(56,"td"),y(57,"Fran\xe7ois"),m(),g(58,"td"),y(59,"Holland"),m()(),g(60,"tr")(61,"td"),y(62,"8"),m(),g(63,"td"),y(64,"Michel"),m(),g(65,"td"),y(66,"Popo"),m()(),g(67,"tr")(68,"td"),y(69,"9"),m(),g(70,"td"),y(71,"Chuck"),m(),g(72,"td"),y(73,"Norris"),m()(),g(74,"tr")(75,"td"),y(76,"10"),m(),g(77,"td"),y(78,"Simon"),m(),g(79,"td"),y(80,"Robin"),m()(),g(81,"tr")(82,"td"),y(83,"11"),m(),g(84,"td"),y(85,"Louis"),m(),g(86,"td"),y(87,"Lin"),m()(),g(88,"tr")(89,"td"),y(90,"12"),m(),g(91,"td"),y(92,"Zelda"),m(),g(93,"td"),y(94,"Link"),m()()()()())}let YU=(()=>{class e{constructor(){this.pageTitle="Zero configuration",this.mdIntro="assets/docs/basic/zero-config/intro.md",this.mdHTML="assets/docs/basic/zero-config/source-html.md",this.mdTS="assets/docs/basic/zero-config/source-ts.md"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-zero-config"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["id","preview",1,"col","s12","m9","l12"],["datatable","",1,"row-border","hover"]],template:function(r,i){if(1&r&&(J(0,ZU,95,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function QU(e,n){if(1&e&&(g(0,"div",2)(1,"table",3)(2,"thead")(3,"tr")(4,"th"),y(5,"ID"),m(),g(6,"th"),y(7,"First name"),m(),g(8,"th"),y(9,"Last name"),m()()(),g(10,"tbody")(11,"tr")(12,"td"),y(13,"1"),m(),g(14,"td"),y(15,"Foo"),m(),g(16,"td"),y(17,"Bar"),m()(),g(18,"tr")(19,"td"),y(20,"2"),m(),g(21,"td"),y(22,"Someone"),m(),g(23,"td"),y(24,"Youknow"),m()(),g(25,"tr")(26,"td"),y(27,"3"),m(),g(28,"td"),y(29,"Iamout"),m(),g(30,"td"),y(31,"Ofinspiration"),m()(),g(32,"tr")(33,"td"),y(34,"4"),m(),g(35,"td"),y(36,"Yoda"),m(),g(37,"td"),y(38,"Skywalker"),m()(),g(39,"tr")(40,"td"),y(41,"5"),m(),g(42,"td"),y(43,"Patrick"),m(),g(44,"td"),y(45,"Dupont"),m()(),g(46,"tr")(47,"td"),y(48,"6"),m(),g(49,"td"),y(50,"Barack"),m(),g(51,"td"),y(52,"Obama"),m()(),g(53,"tr")(54,"td"),y(55,"7"),m(),g(56,"td"),y(57,"Fran\xe7ois"),m(),g(58,"td"),y(59,"Holland"),m()(),g(60,"tr")(61,"td"),y(62,"8"),m(),g(63,"td"),y(64,"Michel"),m(),g(65,"td"),y(66,"Popo"),m()(),g(67,"tr")(68,"td"),y(69,"9"),m(),g(70,"td"),y(71,"Chuck"),m(),g(72,"td"),y(73,"Norris"),m()(),g(74,"tr")(75,"td"),y(76,"10"),m(),g(77,"td"),y(78,"Simon"),m(),g(79,"td"),y(80,"Robin"),m()(),g(81,"tr")(82,"td"),y(83,"11"),m(),g(84,"td"),y(85,"Louis"),m(),g(86,"td"),y(87,"Lin"),m()(),g(88,"tr")(89,"td"),y(90,"12"),m(),g(91,"td"),y(92,"Zelda"),m(),g(93,"td"),y(94,"Link"),m()()()()()),2&e){const t=de();k(1),O("dtOptions",t.dtOptions)}}let KU=(()=>{class e{constructor(){this.pageTitle="With Options",this.mdIntro="assets/docs/basic/with-options/intro.md",this.mdHTML="assets/docs/basic/with-options/source-html.md",this.mdTS="assets/docs/basic/with-options/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={pagingType:"full_numbers"}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-options"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["id","preview",1,"col","s12","m9","l12"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,QU,95,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function XU(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let JU=(()=>{class e{constructor(){this.pageTitle="Quickstart",this.mdIntro="assets/docs/basic/with-ajax/intro.md",this.mdHTML="assets/docs/basic/with-ajax/source-html.md",this.mdTS="assets/docs/basic/with-ajax/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-ajax"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,XU,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function e3(e,n){if(1&e&&(g(0,"tr")(1,"td"),y(2),m(),g(3,"td"),y(4),m(),g(5,"td"),y(6),m()()),2&e){const t=n.$implicit;k(2),zt(t.id),k(2),zt(t.firstName),k(2),zt(t.lastName)}}function t3(e,n){if(1&e&&(g(0,"table",2)(1,"thead")(2,"tr")(3,"th"),y(4,"ID"),m(),g(5,"th"),y(6,"First name"),m(),g(7,"th"),y(8,"Last name"),m()()(),g(9,"tbody"),J(10,e3,7,3,"tr",3),m()()),2&e){const t=de();O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger),k(10),O("ngForOf",t.persons)}}let n3=(()=>{class e{constructor(t){this.httpClient=t,this.pageTitle="Angular way",this.mdIntro="assets/docs/basic/angular-way/intro.md",this.mdHTML="assets/docs/basic/angular-way/source-html.md",this.mdTS="assets/docs/basic/angular-way/source-ts.md",this.dtOptions={},this.persons=[],this.dtTrigger=new $e}ngOnInit(){this.dtOptions={pagingType:"full_numbers",pageLength:2},this.httpClient.get("data/data.json").subscribe(t=>{this.persons=t.data,this.dtTrigger.next(null)})}ngOnDestroy(){this.dtTrigger.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-angular-way"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template","deprecated"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],[4,"ngFor","ngForOf"]],template:function(r,i){if(1&r&&(J(0,t3,11,3,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)("deprecated",!0)}},dependencies:[Bb,Me,He],encapsulation:2})}return e})();function r3(e,n){1&e&&(g(0,"blockquote")(1,"p"),y(2,"No preview as we do not have a server that can serve the queries."),m()())}let i3=(()=>{class e{constructor(){this.pageTitle="Server side the Angular way",this.mdIntro="assets/docs/basic/server-side-angular-way/intro.md",this.mdHTML="assets/docs/basic/server-side-angular-way/source-html.md",this.mdTS="assets/docs/basic/server-side-angular-way/source-ts.md",this.dtOptions={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-server-side-angular-way"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template","deprecated"]],template:function(r,i){if(1&r&&(J(0,r3,3,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)("deprecated",!0)}},dependencies:[He],styles:[".no-data-available[_ngcontent-%COMP%]{text-align:center}"]})}return e})();function o3(e,n){if(1&e){const t=Br();g(0,"form",2),Te("submit",function(){return jn(t),Hn(de().filterById())}),g(1,"label"),y(2," Min "),g(3,"input",3),Te("ngModelChange",function(i){return jn(t),Hn(de().min=i)}),m()(),g(4,"label"),y(5," Max "),g(6,"input",4),Te("ngModelChange",function(i){return jn(t),Hn(de().max=i)}),m()(),g(7,"button",5),y(8,"Filter by ID"),m()(),R(9,"br")(10,"table",6)}if(2&e){const t=de();k(3),O("ngModel",t.min),k(3),O("ngModel",t.max),k(4),O("dtOptions",t.dtOptions)}}let s3=(()=>{class e{constructor(){this.pageTitle="Custom filtering - Range search",this.mdIntro="assets/docs/advanced/custom-range/intro.md",this.mdHTML="assets/docs/advanced/custom-range/source-html.md",this.mdTS="assets/docs/advanced/custom-range/source-ts.md",this.dtOptions={}}ngOnInit(){$.fn.dataTable.ext.search.push((t,r,i)=>{const o=parseFloat(r[0])||0;return!!(isNaN(this.min)&&isNaN(this.max)||isNaN(this.min)&&o<=this.max||this.min<=o&&isNaN(this.max)||this.min<=o&&o<=this.max)}),this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngOnDestroy(){$.fn.dataTable.ext.search.pop()}filterById(){return this.datatableElement.dtInstance.then(t=>{t.draw()}),!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-custom-range-search"]],viewQuery:function(r,i){if(1&r&&pr(Me,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],[3,"submit"],["type","number","name","min","id","min",3,"ngModel","ngModelChange"],["type","number","name","max","id","max",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,o3,11,3,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[lI,Ic,Ap,qE,ZE,Np,Fc,Me,He],encapsulation:2})}return e})();function a3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){jn(t);const i=de();return Hn(i.displayToConsole(i.datatableElement))}),y(2," Display the DataTable instance in the console "),m()(),g(3,"blockquote"),y(4),Rs(5,"async"),m(),R(6,"table",3)}if(2&e){const t=de();let r;k(4),Ql(" The DataTable instance ID is: ",null==(r=Ps(5,2,null==t.datatableElement?null:t.datatableElement.dtInstance))?null:r.table().node().id," "),k(2),O("dtOptions",t.dtOptions)}}let l3=(()=>{class e{constructor(){this.pageTitle="Finding DataTable instance",this.mdIntro="assets/docs/advanced/dt-instance/intro.md",this.mdHTML="assets/docs/advanced/dt-instance/source-html.md",this.mdTS="assets/docs/advanced/dt-instance/source-ts.md",this.dtOptions={}}displayToConsole(t){t.dtInstance.then(r=>console.log(r))}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-dt-instance"]],viewQuery:function(r,i){if(1&r&&pr(Me,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,a3,7,4,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He,ep],encapsulation:2})}return e})();function c3(e,n){1&e&&(g(0,"table",2)(1,"tfoot")(2,"tr")(3,"th"),R(4,"input",3),m(),g(5,"th"),R(6,"input",4),m(),g(7,"th"),R(8,"input",5),m()()()()),2&e&&O("dtOptions",de().dtOptions)}let u3=(()=>{class e{constructor(){this.pageTitle="Individual column searching",this.mdIntro="assets/docs/advanced/indi-col-filter/intro.md",this.mdHTML="assets/docs/advanced/indi-col-filter/source-html.md",this.mdTS="assets/docs/advanced/indi-col-filter/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngAfterViewInit(){this.datatableElement.dtInstance.then(t=>{t.columns().every(function(){const r=this;$("input",this.footer()).on("keyup change",function(){r.search()!==this.value&&r.search(this.value).draw()})})})}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-individual-column-filtering"]],viewQuery:function(r,i){if(1&r&&pr(Me,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"],["type","text","placeholder","Search ID","name","search-id"],["type","text","placeholder","Search first name","name","search-first-name"],["type","text","placeholder","Search last name","name","search-last-name"]],template:function(r,i){if(1&r&&(J(0,c3,9,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function d3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let f3=(()=>{class e{constructor(t){this.httpClient=t,this.pageTitle="Load DT Options with Promise",this.mdIntro="assets/docs/advanced/load-dt-opt-with-promise/intro.md",this.mdHTML="assets/docs/advanced/load-dt-opt-with-promise/source-html.md",this.mdTS="assets/docs/advanced/load-dt-opt-with-promise/source-ts.md"}ngOnInit(){this.dtOptions=this.httpClient.get("data/dtOptions.json").toPromise().catch(this.handleError)}handleError(t){return console.error("An error occurred",t),Promise.reject(t.message||t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-load-dt-options-with-promise"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,d3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function h3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){return jn(t),Hn(de().rerender())}),y(2," Rerender "),m()(),R(3,"table",3)}if(2&e){const t=de();k(3),O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}let p3=(()=>{class e{constructor(){this.pageTitle="Rerender",this.mdIntro="assets/docs/advanced/rerender/intro.md",this.mdHTML="assets/docs/advanced/rerender/source-html.md",this.mdTS="assets/docs/advanced/rerender/source-ts.md",this.dtOptions={},this.dtTrigger=new $e}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngAfterViewInit(){this.dtTrigger.next(null)}ngOnDestroy(){this.dtTrigger.unsubscribe()}rerender(){this.dtElement.dtInstance.then(t=>{t.destroy(),this.dtTrigger.next(null)})}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-rerender"]],viewQuery:function(r,i){if(1&r&&pr(Me,5),2&r){let o;qn(o=Zn())&&(i.dtElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"]],template:function(r,i){if(1&r&&(J(0,h3,4,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function g3(e,n){if(1&e&&(g(0,"blockquote"),y(1,"Please click on a row"),m(),g(2,"p",2),y(3,"You clicked on: "),g(4,"strong"),y(5),m()(),R(6,"br")(7,"table",3)),2&e){const t=de();k(5),zt(t.message),k(2),O("dtOptions",t.dtOptions)}}let m3=(()=>{class e{constructor(){this.pageTitle="Row click event",this.mdIntro="assets/docs/advanced/row-click/intro.md",this.mdHTML="assets/docs/advanced/row-click/source-html.md",this.mdTS="assets/docs/advanced/row-click/source-ts.md",this.message="",this.dtOptions={}}someClickHandler(t){this.message=t.id+" - "+t.firstName}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],rowCallback:(t,r,i)=>{const o=this;return $("td",t).off("click"),$("td",t).on("click",()=>{o.someClickHandler(r)}),t}}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-row-click-event"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],[1,"text-danger"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,g3,8,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function y3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){return jn(t),Hn(de().displayToConsole())}),y(2," Display the DataTable instances in the console "),m()(),g(3,"h5",3),y(4,"Table 1"),m(),R(5,"table",4),g(6,"h5",3),y(7,"Table 2"),m(),R(8,"table",5)}if(2&e){const t=de();k(5),O("dtOptions",t.dtOptions[0]),k(3),O("dtOptions",t.dtOptions[1])}}let v3=(()=>{class e{constructor(){this.pageTitle="Multiple tables in the same page",this.mdIntro="assets/docs/advanced/multiple-tables/intro.md",this.mdHTML="assets/docs/advanced/multiple-tables/source-html.md",this.mdTS="assets/docs/advanced/multiple-tables/source-ts.md",this.dtOptions=[]}displayToConsole(){this.dtElements.forEach((t,r)=>{t.dtInstance.then(i=>{console.log(`The DataTable ${r} instance ID is: ${i.table().node().id}`)})})}ngOnInit(){this.dtOptions[0]=this.buildDtOptions("data/data.json"),this.dtOptions[1]=this.buildDtOptions("data/data1.json")}buildDtOptions(t){return{ajax:t,columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-multiple-tables"]],viewQuery:function(r,i){if(1&r&&pr(Me,5),2&r){let o;qn(o=Zn())&&(i.dtElements=o)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],[1,"header"],["id","first-table","datatable","",1,"row-border","hover",3,"dtOptions"],["id","second-table","datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,y3,9,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})(),pS=(()=>{class e{constructor(){this.emitter=new $e,this.data={},this.actionText="Action 1"}ngOnInit(){}onAction1(){this.emitter.next({cmd:"action1",data:this.data})}ngOnDestroy(){this.emitter.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-demo-ng-template-ref"]],inputs:{data:"data",actionText:"actionText"},outputs:{emitter:"emitter"},decls:3,vars:1,consts:[[1,"btn-group","d-block","text-center"],[1,"btn","btn-sm","btn-dark",3,"click"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"button",1),Te("click",function(){return i.onAction1()}),y(2),m()()),2&r&&(k(2),zt(i.actionText))},encapsulation:2})}return e})();const _3=["demoNg"];function w3(e,n){if(1&e&&R(0,"table",3),2&e){const t=de();O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}function D3(e,n){if(1&e){const t=Br();g(0,"app-demo-ng-template-ref",4),Te("emitter",function(i){return Hn((0,jn(t).captureEvents)(i))}),m()}2&e&&O("data",n.adtData)}let C3=(()=>{class e{constructor(t){this.router=t,this.pageTitle="Router Link",this.mdIntro="assets/docs/advanced/router-link/intro.md",this.mdHTML="assets/docs/advanced/router-link/source-html.md",this.mdTS="assets/docs/advanced/router-link/source-ts.md",this.mdTSHigh="assets/docs/advanced/router-link/source-tsHigh.md",this.mdTSHeading="TypeScript (Angular v9 and below)",this.mdTSHighHeading="TypeScript (Angular v10 and above)",this.dtOptions={},this.dtTrigger=new $e}ngOnInit(){}ngAfterViewInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"},{title:"Action",defaultContent:"",ngTemplateRef:{ref:this.demoNg,context:{captureEvents:this.onCaptureEvent.bind(this)}}}]},setTimeout(()=>{this.dtTrigger.next(this.dtOptions)},200)}onCaptureEvent(t){this.router.navigate(["/person/"+t.data.id])}ngOnDestroy(){this.dtTrigger?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-router-link"]],viewQuery:function(r,i){if(1&r&&pr(_3,5),2&r){let o;qn(o=Zn())&&(i.demoNg=o.first)}},decls:5,vars:8,consts:[["preview",""],["demoNg",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","mdTSHeading","mdTSHigh","mdTSHighHeading","template"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],["actionText","View",3,"data","emitter"]],template:function(r,i){if(1&r&&(J(0,w3,1,2,"ng-template",null,0,Se)(2,D3,1,1,"ng-template",null,1,Se),R(4,"app-base-demo",2)),2&r){const o=Re(1);k(4),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("mdTSHeading",i.mdTSHeading)("mdTSHigh",i.mdTSHigh)("mdTSHighHeading",i.mdTSHighHeading)("template",o)}},dependencies:[Me,He,pS],encapsulation:2})}return e})();function b3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let E3=(()=>{class e{constructor(){this.pageTitle="DataTables Buttons extension",this.mdIntro="assets/docs/extensions/buttons/intro.md",this.mdInstall="assets/docs/extensions/buttons/installation.md",this.mdHTML="assets/docs/extensions/buttons/source-html.md",this.mdTS="assets/docs/extensions/buttons/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],dom:"Bfrtip",buttons:["columnsToggle","colvis","copy",{extend:"csv",text:"CSV export",fieldSeparator:";",exportOption:[1,2,3]},"excel",{text:"Some button",key:"1",action:function(t,r,i,o){alert("Button activated")}}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-buttons-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,b3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function I3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let T3=(()=>{class e{constructor(){this.pageTitle="DataTables ColReorder extension",this.mdIntro="assets/docs/extensions/colreorder/intro.md",this.mdInstall="assets/docs/extensions/colreorder/installation.md",this.mdHTML="assets/docs/extensions/colreorder/source-html.md",this.mdTS="assets/docs/extensions/colreorder/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"No move me!",data:"id"},{title:"Try to move me!",data:"firstName"},{title:"You cannot move me! *evil laugh*",data:"lastName"}],dom:"Rt",colReorder:{order:[1,0,2],fixedColumnsRight:2}}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-colreorder-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,I3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function S3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let M3=(()=>{class e{constructor(){this.pageTitle="DataTables Responsive extension",this.mdIntro="assets/docs/extensions/responsive/intro.md",this.mdInstall="assets/docs/extensions/responsive/installation.md",this.mdHTML="assets/docs/extensions/responsive/source-html.md",this.mdTS="assets/docs/extensions/responsive/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName",class:"none"}],responsive:!0}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-responsive-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,S3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function N3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let A3=(()=>{class e{constructor(){this.pageTitle="DataTables Select extension",this.mdIntro="assets/docs/extensions/select/intro.md",this.mdInstall="assets/docs/extensions/select/installation.md",this.mdHTML="assets/docs/extensions/select/source-html.md",this.mdTS="assets/docs/extensions/select/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],select:!0}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-select-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,N3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})();function x3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}let O3=(()=>{class e{constructor(t,r){this.pipeInstance=t,this.pipeCurrencyInstance=r,this.pageTitle="Using Angular Pipe",this.mdIntro="assets/docs/advanced/using-ng-pipe/intro.md",this.mdHTML="assets/docs/advanced/using-ng-pipe/source-html.md",this.mdTS="assets/docs/advanced/using-ng-pipe/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"Id (Money)",data:"id",ngPipeInstance:this.pipeCurrencyInstance,ngPipeArgs:["USD","symbol"]},{title:"First name",data:"firstName",ngPipeInstance:this.pipeInstance},{title:"Last name",data:"lastName",ngPipeInstance:this.pipeInstance}]}}static#e=this.\u0275fac=function(r){return new(r||e)(C(tp),C(np))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-using-ng-pipe"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,x3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})(),k3=(()=>{class e{constructor(){this.faqMd="assets/docs/faq.md"}ngOnInit(){}onLoad(t){$(".toolbar").hide(),$("h5").css("color","red")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-f-a-q"]],decls:8,vars:2,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[3,"className","src","load"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"FAQ"),m()()()()(),g(6,"div",1)(7,"markdown",5),Te("load",function(s){return i.onLoad(s)}),m()()),2&r&&(k(7),O("className","faqMarkdown")("src",i.faqMd))},dependencies:[pa]})}return e})();const R3=["demoNg"];function P3(e,n){if(1&e&&(g(0,"blockquote"),y(1,"Please click on Action button"),m(),g(2,"p",3),y(3,"You clicked on: "),g(4,"strong"),y(5),m()(),R(6,"br")(7,"table",4)),2&e){const t=de();k(5),zt(t.message),k(2),O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}function F3(e,n){if(1&e){const t=Br();g(0,"app-demo-ng-template-ref",5),Te("emitter",function(i){return Hn((0,jn(t).captureEvents)(i))}),m()}2&e&&O("data",n.adtData)}let L3=(()=>{class e{constructor(){this.pageTitle="Using Angular TemplateRef",this.mdIntro="assets/docs/advanced/using-ng-template-ref/intro.md",this.mdHTML="assets/docs/advanced/using-ng-template-ref/source-html.md",this.mdTS="assets/docs/advanced/using-ng-template-ref/source-ts.md",this.dtOptions={},this.dtTrigger=new $e,this.message=""}ngOnInit(){setTimeout(()=>{this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"},{title:"Actions",data:null,defaultContent:"",ngTemplateRef:{ref:this.demoNg,context:{captureEvents:this.onCaptureEvent.bind(this)}}}]}})}ngAfterViewInit(){setTimeout(()=>{this.dtTrigger.next(this.dtOptions)},200)}onCaptureEvent(t){this.message=`Event '${t.cmd}' with data '${JSON.stringify(t.data)}`}ngOnDestroy(){this.dtTrigger.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-using-ng-template-ref"]],viewQuery:function(r,i){if(1&r&&pr(R3,5),2&r){let o;qn(o=Zn())&&(i.demoNg=o.first)}},decls:5,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["demoNg",""],[1,"text-danger"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],[3,"data","emitter"]],template:function(r,i){if(1&r&&(J(0,P3,8,3,"ng-template",null,0,Se),R(2,"app-base-demo",1),J(3,F3,1,1,"ng-template",null,2,Se)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He,pS],encapsulation:2})}return e})();function j3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",de().dtOptions)}function $3(e,n){1&e&&(g(0,"blockquote")(1,"p"),y(2,"No preview as we do not have a server that can serve the queries."),m()())}const B3=[{path:"",redirectTo:"/welcome",pathMatch:"full"},{path:"welcome",component:LU},{path:"getting-started",component:VU},{path:"more-help",component:(()=>{class e{constructor(){this.resourcesMd="assets/docs/more-help.md"}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-more-help"]],decls:31,vars:0,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"caption"],["href","https://github.com/l-lin/angular-datatables/discussions"],["href","https://github.com/l-lin/angular-datatables/issues"],["href","https://docs.github.com/en/site-policy/github-terms/github-community-code-of-conduct"],["id","resources-container"],["href","https://datatables.net","title","DataTables.net"],["src","assets/datatables.png","alt","Datatables.net"],["href","https://www.npmjs.com/package/angular-datatables","title","Install with NPM"],["src","assets/npm.png","alt","NPM"],["href","https://github.com/l-lin/angular-datatables","title","View Source on Github"],["src","assets/github.png","alt","Github"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Resources"),m()()()()(),g(6,"div",1)(7,"p",5),y(8,"We have also listed out a few links regarding the project."),m(),g(9,"p",5),y(10,"If you'd like more help, please check out "),g(11,"a",6),y(12,"Discussions"),m(),y(13," section on our GitHub repository for more information."),m(),g(14,"p",5),y(15,"If you'd like to help improve this library, please open an "),g(16,"a",7),y(17,"issue"),m(),y(18," on the repository with your suggestions and feedback. "),m(),g(19,"p",5),y(20,"We ask you to follow "),g(21,"a",8),y(22," GitHub Code of Conduct"),m(),y(23," when opening issues or discussion as we like to keep this community open and welcoming for all."),m(),g(24,"div",9)(25,"a",10),R(26,"img",11),m(),g(27,"a",12),R(28,"img",13),m(),g(29,"a",14),R(30,"img",15),m()()())},styles:["#resources-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly}"]})}return e})()},{path:"person/:id",component:$U},{path:"basic/zero-config",component:YU},{path:"basic/with-options",component:KU},{path:"basic/with-ajax",component:JU},{path:"basic/with-ajax-callback",component:(()=>{class e{constructor(t){this.http=t,this.pageTitle="AJAX with callback",this.mdIntro="assets/docs/basic/with-ajax-callback/intro.md",this.mdHTML="assets/docs/basic/with-ajax-callback/source-html.md",this.mdTS="assets/docs/basic/with-ajax-callback/source-ts.md",this.dtOptions={}}ngOnInit(){const t=this;this.dtOptions={ajax:(r,i)=>{t.http.post("https://xtlncifojk.eu07.qoddiapp.com/",r,{}).subscribe(o=>{i({recordsTotal:o.recordsTotal,recordsFiltered:o.recordsFiltered,data:o.data})})},columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-ajax-callback"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,j3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[Me,He],encapsulation:2})}return e})()},{path:"basic/new-server-side",component:(()=>{class e{constructor(){this.pageTitle="Server-side processing",this.mdIntro="assets/docs/basic/new-server-side/intro.md",this.mdHTML="assets/docs/basic/new-server-side/source-html.md",this.mdTS="assets/docs/basic/new-server-side/source-ts.md",this.dtOptions={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-new-server-side"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"]],template:function(r,i){if(1&r&&(J(0,$3,3,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[He]})}return e})()},{path:"basic/angular-way",component:n3},{path:"basic/server-side-angular-way",component:i3},{path:"advanced/custom-range-search",component:s3},{path:"advanced/dt-instance",component:l3},{path:"advanced/individual-column-filtering",component:u3},{path:"advanced/load-dt-options-with-promise",component:f3},{path:"advanced/rerender",component:p3},{path:"advanced/row-click-event",component:m3},{path:"advanced/multiple-tables",component:v3},{path:"advanced/router-link",component:C3},{path:"advanced/using-pipe",component:O3},{path:"advanced/using-template-ref",component:L3},{path:"extensions/buttons",component:E3},{path:"extensions/colreorder",component:T3},{path:"extensions/responsive",component:M3},{path:"extensions/select",component:A3},{path:"faq",component:k3}];let U3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[eS.forRoot(B3,{useHash:!0}),eS]})}return e})(),z3=(()=>{class e{constructor(t){this.router=t,this.routerEventsSub$=null}ngOnInit(){$.fn.dataTable.ext.errMode="none",$(".button-collapse").sideNav({closeOnClick:!0}),this.routerEventsSub$=this.router.events.pipe(Mn(t=>t instanceof xn)).subscribe(t=>{setTimeout(()=>{$("ul.tabs").tabs()},600)})}ngOnDestroy(){this.routerEventsSub$?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-root"]],decls:144,vars:0,consts:[[1,"container"],["data-activates","nav-mobile",1,"button-collapse","top-nav","waves-effect","waves-light","circle","hide-on-large-only"],[1,"material-icons"],["id","nav-mobile",1,"side-nav","fixed"],[1,"logo"],["id","logo-container","routerLink","",1,"brand-logo"],[1,"logo-img"],["src","assets/angular.png","alt","Angular"],[1,"plus"],["src","assets/datatables.png","alt","DataTables"],[1,"subheader"],[1,"bold"],["routerLink","/getting-started",1,"waves-effect","waves-blue"],["routerLink","/basic/with-ajax",1,"waves-effect","waves-blue"],[1,"divider"],[1,"no-padding"],[1,"collapsible","collapsible-accordion"],[1,"collapsible-header","waves-effect","waves-blue"],[1,"collapsible-body"],["routerLink","/basic/zero-config",1,"waves-effect","waves-blue"],["routerLink","/basic/with-options",1,"waves-effect","waves-blue"],["routerLink","/basic/with-ajax-callback",1,"waves-effect","waves-blue"],["routerLink","/basic/new-server-side",1,"waves-effect","waves-blue"],["routerLink","/advanced/row-click-event",1,"waves-effect","waves-blue"],["routerLink","/advanced/multiple-tables",1,"waves-effect","waves-blue"],["routerLink","/advanced/dt-instance",1,"waves-effect","waves-blue"],["routerLink","/advanced/load-dt-options-with-promise",1,"waves-effect","waves-blue"],["routerLink","/advanced/using-pipe",1,"waves-effect","waves-blue"],["routerLink","/advanced/using-template-ref",1,"waves-effect","waves-blue"],["routerLink","/advanced/rerender",1,"waves-effect","waves-blue"],["routerLink","/advanced/router-link",1,"waves-effect","waves-blue"],["routerLink","/advanced/custom-range-search",1,"waves-effect","waves-blue"],["routerLink","/advanced/individual-column-filtering",1,"waves-effect","waves-blue"],["routerLink","/extensions/buttons",1,"waves-effect","waves-blue"],["routerLink","/extensions/colreorder",1,"waves-effect","waves-blue"],["routerLink","/extensions/responsive",1,"waves-effect","waves-blue"],["routerLink","/extensions/select",1,"waves-effect","waves-blue"],["routerLink","/faq",1,"waves-effect","waves-blue"],["routerLink","/more-help",1,"waves-effect","waves-blue"],["data-badge-caption","",1,"new","badge","red"],["routerLink","/basic/angular-way",1,"waves-effect","waves-blue"],["routerLink","/basic/server-side-angular-way",1,"waves-effect","waves-blue"],[1,"page-footer"],[1,"footer-copyright"],[1,"white-text","text-darken-2"],["href","https://github.com/l-lin",1,"grey-text","text-darken-4"],["href","https://github.com/shanmukhateja",1,"grey-text","text-darken-4"]],template:function(r,i){1&r&&(g(0,"header")(1,"div",0)(2,"a",1)(3,"i",2),y(4,"menu"),m()()(),g(5,"ul",3)(6,"li",4)(7,"h3")(8,"a",5)(9,"div",6),R(10,"img",7),g(11,"span",8),y(12,"+"),m(),R(13,"img",9),m()()()(),g(14,"li")(15,"a",10),y(16,"Getting Started"),m()(),g(17,"li",11)(18,"a",12),y(19,"Installation"),m()(),g(20,"li",11)(21,"a",13),y(22,"Quickstart"),m()(),g(23,"li"),R(24,"div",14),m(),g(25,"li")(26,"a",10),y(27,"Usage"),m()(),g(28,"li",15)(29,"ul",16)(30,"li",11)(31,"a",17),y(32,"Basic Examples"),m(),g(33,"div",18)(34,"ul")(35,"li")(36,"a",19),y(37,"Zero configuration"),m()(),g(38,"li")(39,"a",20),y(40,"With options"),m()(),g(41,"li")(42,"a",21),y(43,"AJAX using DT callback"),m()(),g(44,"li")(45,"a",22),y(46,"Server side"),m()(),g(47,"li")(48,"a",23),y(49,"Row click event"),m()(),g(50,"li")(51,"a",24),y(52,"Multiple tables"),m()(),g(53,"li")(54,"a",25),y(55,"Fetching DataTable instances"),m()(),g(56,"li")(57,"a",26),y(58,"Load DT options with promise"),m()()()()(),g(59,"li",11)(60,"a",17),y(61,"Angular"),m(),g(62,"div",18)(63,"ul")(64,"li")(65,"a",27),y(66,"Using Pipes"),m()(),g(67,"li")(68,"a",28),y(69,"Using TemplateRef"),m()(),g(70,"li")(71,"a",29),y(72,"Re-render table"),m()(),g(73,"li")(74,"a",30),y(75,"Router link"),m()()()()(),g(76,"li",11)(77,"a",17),y(78,"Filtering"),m(),g(79,"div",18)(80,"ul")(81,"li")(82,"a",31),y(83,"Custom filtering - Range search"),m()(),g(84,"li")(85,"a",32),y(86,"Individual column filtering"),m()()()()(),g(87,"li",11)(88,"a",17),y(89,"DT extensions"),m(),g(90,"div",18)(91,"ul")(92,"li")(93,"a",33),y(94,"Buttons extension"),m()(),g(95,"li")(96,"a",34),y(97,"ColReorder extension"),m()(),g(98,"li")(99,"a",35),y(100,"Responsive extension"),m()(),g(101,"li")(102,"a",36),y(103,"Select extension"),m()()()()(),g(104,"li"),R(105,"div",14),m(),g(106,"li")(107,"a",10),y(108,"Support"),m()(),g(109,"li",11)(110,"a",37),y(111,"FAQ"),m()(),g(112,"li",11)(113,"a",38),y(114,"Resources"),m()(),g(115,"li"),R(116,"div",14),m(),g(117,"li")(118,"a",10),y(119,"Deprecated "),g(120,"span",39),y(121,"NOT SUPPORTED"),m()()(),g(122,"li",11)(123,"a",40),y(124,"Angular way"),m()(),g(125,"li",11)(126,"a",41),y(127,"Server side the Angular way"),m()()()()()(),g(128,"main"),R(129,"router-outlet"),m(),g(130,"footer",42)(131,"div",43)(132,"div",0)(133,"p")(134,"span",44),y(135," Designed and built with \u2764\ufe0f by "),g(136,"a",45)(137,"u"),y(138,"Louis LIN"),m()(),y(139,", "),g(140,"a",46)(141,"u"),y(142,"Surya Teja K"),m()(),y(143," and contributors. "),m()()()()())},dependencies:[ag,fa],styles:["header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:absolute;left:10px;top:10px}header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.plus[_ngcontent-%COMP%]{font-size:65px;text-shadow:4px 4px rgba(0,0,0,.21)}ul.side-nav.fixed[_ngcontent-%COMP%] ul.collapsible-accordion[_ngcontent-%COMP%] a.collapsible-header[_ngcontent-%COMP%]{padding:0 30px}ul.side-nav.fixed[_ngcontent-%COMP%] ul.collapsible-accordion[_ngcontent-%COMP%] .collapsible-body[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:400;padding:0 37.5px 0 45px}.collapsible-body[_ngcontent-%COMP%]{display:block;padding:0}.logo[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:20px;text-align:center;margin:0}.side-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:120px!important;background-color:#2196f3;color:#fff}.side-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#61c4f3}.logo-img[_ngcontent-%COMP%]{padding-top:25px}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #e9e9e9}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;padding:20px 0 0;height:60px;display:block}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0;text-align:center;width:50%;line-height:15px}.github-stars[_ngcontent-%COMP%]{vertical-align:middle}#logo-container[_ngcontent-%COMP%]{display:block}"]})}return e})(),G3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e,bootstrap:[z3]});static#n=this.\u0275inj=It({providers:[tp,np],imports:[BV,Xj,TH,kH,U3,FU.forRoot({sanitize:Nt.NONE})]})}return e})();HV().bootstrapModule(G3)}},uu=>{uu(uu.s=318)}]); \ No newline at end of file +"use strict";(self.webpackChunkangular_datatables_demo=self.webpackChunkangular_datatables_demo||[]).push([[179],{318:()=>{let Fe=null,ri=1;function Oe(e){const n=Fe;return Fe=e,n}function Eg(e){if((!No(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ri)){if(!e.producerMustRecompute(e)&&!hu(e))return e.dirty=!1,void(e.lastCleanEpoch=ri);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ri}}function hu(e){ii(e);for(let n=0;n0}function ii(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Og=null;function De(e){return"function"==typeof e}function mu(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const yu=mu(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ya(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class bt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(De(r))try{r()}catch(o){n=o instanceof yu?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Lg(o)}catch(s){n=n??[],s instanceof yu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new yu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Lg(n);else{if(n instanceof bt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&ya(t,n)}remove(n){const{_finalizers:t}=this;t&&ya(t,n),n instanceof bt&&n._removeParent(this)}}bt.EMPTY=(()=>{const e=new bt;return e.closed=!0,e})();const Pg=bt.EMPTY;function Fg(e){return e instanceof bt||e&&"closed"in e&&De(e.remove)&&De(e.add)&&De(e.unsubscribe)}function Lg(e){De(e)?e():e.unsubscribe()}const Tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},va={setTimeout(e,n,...t){const{delegate:r}=va;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=va;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Vg(e){va.setTimeout(()=>{const{onUnhandledError:n}=Tr;if(!n)throw e;n(e)})}function vu(){}const ES=_u("C",void 0,void 0);function _u(e,n,t){return{kind:e,value:n,error:t}}let Sr=null;function _a(e){if(Tr.useDeprecatedSynchronousErrorHandling){const n=!Sr;if(n&&(Sr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Sr;if(Sr=null,t)throw r}}else e()}class wu extends bt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Fg(n)&&n.add(this)):this.destination=xS}static create(n,t,r){return new Ao(n,t,r)}next(n){this.isStopped?Cu(function TS(e){return _u("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Cu(function IS(e){return _u("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Cu(ES,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const MS=Function.prototype.bind;function Du(e,n){return MS.call(e,n)}class NS{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){wa(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){wa(r)}else wa(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){wa(t)}}}class Ao extends wu{constructor(n,t,r){let i;if(super(),De(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Tr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Du(n.next,o),error:n.error&&Du(n.error,o),complete:n.complete&&Du(n.complete,o)}):i=n}this.destination=new NS(i)}}function wa(e){Tr.useDeprecatedSynchronousErrorHandling?function SS(e){Tr.useDeprecatedSynchronousErrorHandling&&Sr&&(Sr.errorThrown=!0,Sr.error=e)}(e):Vg(e)}function Cu(e,n){const{onStoppedNotification:t}=Tr;t&&va.setTimeout(()=>t(e,n))}const xS={closed:!0,next:vu,error:function AS(e){throw e},complete:vu},bu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Jn(e){return e}function jg(e){return 0===e.length?Jn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Ne=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function RS(e){return e&&e instanceof wu||function kS(e){return e&&De(e.next)&&De(e.error)&&De(e.complete)}(e)&&Fg(e)}(t)?t:new Ao(t,r,i);return _a(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Hg(r))((i,o)=>{const s=new Ao({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[bu](){return this}pipe(...t){return jg(t)(this)}toPromise(t){return new(t=Hg(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Hg(e){var n;return null!==(n=e??Tr.Promise)&&void 0!==n?n:Promise}const PS=mu(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let $e=(()=>{class e extends Ne{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new $g(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new PS}next(t){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){_a(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Pg:(this.currentObservers=null,o.push(t),new bt(()=>{this.currentObservers=null,ya(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new Ne;return t.source=this,t}}return e.create=(n,t)=>new $g(n,t),e})();class $g extends $e{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Pg}}function Bg(e){return De(e?.lift)}function Ze(e){return n=>{if(Bg(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Be(e,n,t,r,i){return new FS(e,n,t,r,i)}class FS extends wu{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ee(e,n){return Ze((t,r)=>{let i=0;t.subscribe(Be(r,o=>{r.next(e.call(n,o,i++))}))})}function er(e){return this instanceof er?(this.v=e,this):new er(e)}function Wg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Su(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const qg=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Zg(e){return De(e?.then)}function Yg(e){return De(e[bu])}function Qg(e){return Symbol.asyncIterator&&De(e?.[Symbol.asyncIterator])}function Kg(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Xg=function iM(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Jg(e){return De(e?.[Xg])}function em(e){return function Gg(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,v){o.push([f,h,p,v])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof er?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield er(t.read());if(i)return yield er(void 0);yield yield er(r)}}finally{t.releaseLock()}})}function tm(e){return De(e?.getReader)}function kt(e){if(e instanceof Ne)return e;if(null!=e){if(Yg(e))return function oM(e){return new Ne(n=>{const t=e[bu]();if(De(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qg(e))return function sM(e){return new Ne(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Vg)})}(e);if(Qg(e))return nm(e);if(Jg(e))return function lM(e){return new Ne(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(tm(e))return function cM(e){return nm(em(e))}(e)}throw Kg(e)}function nm(e){return new Ne(n=>{(function uM(e,n){var t,r,i,o;return function Ug(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Wg(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Fn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function it(e,n,t=1/0){return De(n)?it((r,i)=>ee((o,s)=>n(r,o,i,s))(kt(e(r,i))),t):("number"==typeof n&&(t=n),Ze((r,i)=>function dM(e,n,t,r,i,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=v=>c{o&&n.next(v),c++;let _=!1;kt(t(v,u++)).subscribe(Be(n,b=>{i?.(b),o?h(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(b)):p(b)}f()}catch(b){n.error(b)}}))};return e.subscribe(Be(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,e,t)))}function oi(e=1/0){return it(Jn,e)}const un=new Ne(e=>e.complete());function rm(e){return e&&De(e.schedule)}function Mu(e){return e[e.length-1]}function im(e){return De(Mu(e))?e.pop():void 0}function xo(e){return rm(Mu(e))?e.pop():void 0}function om(e,n=0){return Ze((t,r)=>{t.subscribe(Be(r,i=>Fn(r,e,()=>r.next(i),n),()=>Fn(r,e,()=>r.complete(),n),i=>Fn(r,e,()=>r.error(i),n)))})}function sm(e,n=0){return Ze((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function am(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ne(t=>{Fn(t,n,()=>{const r=e[Symbol.asyncIterator]();Fn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Ue(e,n){return n?function _M(e,n){if(null!=e){if(Yg(e))return function pM(e,n){return kt(e).pipe(sm(n),om(n))}(e,n);if(qg(e))return function mM(e,n){return new Ne(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(Zg(e))return function gM(e,n){return kt(e).pipe(sm(n),om(n))}(e,n);if(Qg(e))return am(e,n);if(Jg(e))return function yM(e,n){return new Ne(t=>{let r;return Fn(t,n,()=>{r=e[Xg](),Fn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>De(r?.return)&&r.return()})}(e,n);if(tm(e))return function vM(e,n){return am(em(e),n)}(e,n)}throw Kg(e)}(e,n):kt(e)}function lm(...e){const n=xo(e),t=function hM(e,n){return"number"==typeof Mu(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?kt(r[0]):oi(t)(Ue(r,n)):un}class qt extends $e{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function L(...e){return Ue(e,xo(e))}function Nu(e={}){const{connector:n=(()=>new $e),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const v=s;h(),v?.unsubscribe()};return Ze((v,_)=>{c++,!d&&!u&&f();const b=l=l??n();_.add(()=>{c--,0===c&&!d&&!u&&(a=Au(p,i))}),b.subscribe(_),!s&&c>0&&(s=new Ao({next:w=>b.next(w),error:w=>{d=!0,f(),a=Au(h,t,w),b.error(w)},complete:()=>{u=!0,f(),a=Au(h,r),b.complete()}}),kt(v).subscribe(s))})(o)}}function Au(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Ao({next:()=>{r.unsubscribe(),e()}});return kt(n(...t)).subscribe(r)}function Rt(e,n){return Ze((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(Be(r,l=>{i?.unsubscribe();let c=0;const u=o++;kt(e(l,u)).subscribe(i=Be(r,d=>r.next(n?n(l,d,u,c++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function cm(e,n=Jn){return e=e??wM,Ze((t,r)=>{let i,o=!0;t.subscribe(Be(r,s=>{const a=n(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}function wM(e,n){return e===n}function ce(e){for(let n in e)if(e[n]===ce)return n;throw Error("Could not find renamed property on target object.")}function Da(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ze).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function xu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const DM=ce({__forward_ref__:ce});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return ze(this())},e}function j(e){return Ca(e)?e():e}function Ca(e){return"function"==typeof e&&e.hasOwnProperty(DM)&&e.__forward_ref__===ge}function Ou(e){return e&&!!e.\u0275providers}const um="https://g.co/ng/security#xss";class E extends Error{constructor(n,t){super(function si(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Oo=ce({\u0275cmp:ce}),ku=ce({\u0275dir:ce}),Ru=ce({\u0275pipe:ce}),dm=ce({\u0275mod:ce}),Ln=ce({\u0275fac:ce}),ko=ce({__NG_ELEMENT_ID__:ce}),fm=ce({__NG_ENV_ID__:ce});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Pu(e,n){throw new E(-201,!1)}function Et(e,n){null==e&&function V(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function It(e){return{providers:e.providers||[],imports:e.imports||[]}}function ba(e){return hm(e,Ia)||hm(e,pm)}function hm(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ea(e){return e&&(e.hasOwnProperty(Fu)||e.hasOwnProperty(AM))?e[Fu]:null}const Ia=ce({\u0275prov:ce}),Fu=ce({\u0275inj:ce}),pm=ce({ngInjectableDef:ce}),AM=ce({ngInjectorDef:ce});var K=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}(K||{});let Lu;function gm(){return Lu}function Tt(e){const n=Lu;return Lu=e,n}function mm(e,n,t){const r=ba(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&K.Optional?null:void 0!==n?n:void Pu(ze(e))}const me=globalThis;class M{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=x({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ro={},Bu="__NG_DI_FLAG__",Ta="ngTempTokenPath",kM=/\n/gm,vm="__source";let ai;function nr(e){const n=ai;return ai=e,n}function FM(e,n=K.Default){if(void 0===ai)throw new E(-203,!1);return null===ai?mm(e,void 0,n):ai.get(e,n&K.Optional?null:void 0,n)}function A(e,n=K.Default){return(gm()||FM)(j(e),n)}function T(e,n=K.Default){return A(e,Sa(n))}function Sa(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Uu(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==wm(h,c,0)||2&r&&c!==f){if(en(r))return!1;s=!0}}}}else{if(!s&&!en(r)&&!en(l))return!1;if(s&&en(l))continue;s=!1,r=l|1&r}}return en(r)||s}function en(e){return 0==(1&e)}function UM(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!en(s)&&(n+=Sm(o,i),i=""),r=s,o=o||!en(r);t++}return""!==i&&(n+=Sm(o,i)),n}function te(e){return Vn(()=>{const n=Nm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Jt.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""};Am(t);const r=e.dependencies;return t.directiveDefs=Na(r,!1),t.pipeDefs=Na(r,!0),t.id=function eN(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function KM(e){return Q(e)||Ye(e)}function XM(e){return null!==e}function Ft(e){return Vn(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Mm(e,n){if(null==e)return dn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function H(e){return Vn(()=>{const n=Nm(e);return Am(n),n})}function ot(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Q(e){return e[Oo]||null}function Ye(e){return e[ku]||null}function nt(e){return e[Ru]||null}function st(e,n){const t=e[dm]||null;if(!t&&!0===n)throw new Error(`Type ${ze(e)} does not have '\u0275mod' property.`);return t}function Nm(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||dn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Mm(e.inputs,n),outputs:Mm(e.outputs),debugInfo:null}}function Am(e){e.features?.forEach(n=>n(e))}function Na(e,n){if(!e)return null;const t=n?nt:KM;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(XM)}const ke=0,I=1,B=2,Ie=3,tn=4,at=5,fn=6,li=7,ye=8,ht=9,ci=10,q=11,Lo=12,xm=13,ui=14,Ae=15,Vo=16,di=17,hn=18,jo=19,Om=20,ir=21,Aa=22,Mr=23,U=25,Gu=1,km=2,Wu=6,pn=7,fi=9,Le=11;function rt(e){return Array.isArray(e)&&"object"==typeof e[Gu]}function et(e){return Array.isArray(e)&&!0===e[Gu]}function qu(e){return 0!=(4&e.flags)}function Nr(e){return e.componentOffset>-1}function Oa(e){return 1==(1&e.flags)}function nn(e){return!!e.template}function Zu(e){return 0!=(512&e[B])}function Ar(e,n){return e.hasOwnProperty(Ln)?e[Ln]:null}class iN{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Lt(){return Lm}function Lm(e){return e.type.prototype.ngOnChanges&&(e.setInput=sN),oN}function oN(){const e=jm(this),n=e?.current;if(n){const t=e.previous;if(t===dn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function sN(e,n,t,r){const i=this.declaredInputs[t],o=jm(e)||function aN(e,n){return e[Vm]=n}(e,{previous:dn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new iN(l&&l.currentValue,n,a===dn),e[r]=n}Lt.ngInherit=!0;const Vm="__ngSimpleChanges__";function jm(e){return e[Vm]||null}const gn=function(e,n,t){};function ve(e){for(;Array.isArray(e);)e=e[ke];return e}function $o(e,n){return ve(n[e])}function pt(e,n){return ve(n[e.index])}function Bo(e,n){return e.data[n]}function hi(e,n){return e[n]}function Vt(e,n){const t=n[e];return rt(t)?t:t[ke]}function Ju(e){return 128==(128&e[B])}function mn(e,n){return null==n?null:e[n]}function Bm(e){e[di]=0}function fN(e){1024&e[B]||(e[B]|=1024,Ju(e)&&ka(e))}function zm(e){9216&e[B]&&ka(e)}function ka(e){let n=e[Ie];for(;null!==n&&!(et(n)&&n[Wu]||rt(n)&&8192&n[B]);){if(et(n))n[Wu]=!0;else if(n[B]|=8192,!Ju(n))break;n=n[Ie]}}function Ra(e,n){if(256==(256&e[B]))throw new E(911,!1);null===e[ir]&&(e[ir]=[]),e[ir].push(n)}const z={lFrame:ey(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Wm(){return z.bindingsEnabled}function pi(){return null!==z.skipHydrationRootTNode}function D(){return z.lFrame.lView}function X(){return z.lFrame.tView}function jn(e){return z.lFrame.contextLView=e,e[ye]}function Hn(e){return z.lFrame.contextLView=null,e}function de(){let e=qm();for(;null!==e&&64===e.type;)e=e.parent;return e}function qm(){return z.lFrame.currentTNode}function yn(e,n){const t=z.lFrame;t.currentTNode=e,t.isParent=n}function td(){return z.lFrame.isParent}function nd(){z.lFrame.isParent=!1}function vn(){return z.lFrame.bindingIndex++}function bN(e,n){const t=z.lFrame;t.bindingIndex=t.bindingRootIndex=e,rd(n)}function rd(e){z.lFrame.currentDirectiveIndex=e}function Km(){return z.lFrame.currentQueryIndex}function od(e){z.lFrame.currentQueryIndex=e}function IN(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[at]:null}function Xm(e,n,t){if(t&K.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&K.Host||(i=IN(o),null===i||(o=o[ui],10&i.type))););if(null===i)return!1;n=i,e=o}const r=z.lFrame=Jm();return r.currentTNode=n,r.lView=e,!0}function sd(e){const n=Jm(),t=e[I];z.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Jm(){const e=z.lFrame,n=null===e?null:e.child;return null===n?ey(e):n}function ey(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function ty(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ny=ty;function ad(){const e=ty();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 mt(){return z.lFrame.selectedIndex}function xr(e){z.lFrame.selectedIndex=e}function Ce(){const e=z.lFrame;return Bo(e.tView,e.selectedIndex)}let iy=!0;function Pa(){return iy}function or(e){iy=e}function Fa(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[di]+=65536),(a>14>16&&(3&e[B])===n&&(e[B]+=16384,sy(a,o)):sy(a,o)}const gi=-1;class zo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function ud(e){return e!==gi}function Go(e){return 32767&e}function Wo(e,n){let t=function LN(e){return e>>16}(e),r=n;for(;t>0;)r=r[ui],t--;return r}let dd=!0;function ja(e){const n=dd;return dd=e,n}const ay=255,ly=5;let VN=0;const _n={};function Ha(e,n){const t=cy(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,fd(r.data,e),fd(n,null),fd(r.blueprint,null));const i=$a(e,n),o=e.injectorIndex;if(ud(i)){const s=Go(i),a=Wo(i,n),l=a[I].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function fd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cy(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function $a(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=my(i),null===r)return gi;if(t++,i=i[ui],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return gi}function hd(e,n,t){!function jN(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ko)&&(r=t[ko]),null==r&&(r=t[ko]=VN++);const i=r&ay;n.data[e+(i>>ly)]|=1<=0?n&ay:UN:n}(t);if("function"==typeof o){if(!Xm(n,e,r))return r&K.Host?uy(i,0,r):dy(n,t,r,i);try{let s;if(s=o(r),null!=s||r&K.Optional)return s;Pu()}finally{ny()}}else if("number"==typeof o){let s=null,a=cy(e,n),l=gi,c=r&K.Host?n[Ae][at]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?$a(e,n):n[a+8],l!==gi&&gy(r,!1)?(s=n[I],a=Go(l),n=Wo(l,n)):a=-1);-1!==a;){const u=n[I];if(py(o,a,u.data)){const d=$N(a,n,t,s,r,c);if(d!==_n)return d}l=n[a+8],l!==gi&&gy(r,n[I].data[a+8]===c)&&py(o,a,n)?(s=u,a=Go(l),n=Wo(l,n)):a=-1}}return i}function $N(e,n,t,r,i,o){const s=n[I],a=s.data[e+8],u=Ba(a,s,t,null==r?Nr(a)&&dd:r!=s&&0!=(3&a.type),i&K.Host&&o===a);return null!==u?Or(n,s,u,a):_n}function Ba(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&nn(h)&&h.type===t)return l}return null}function Or(e,n,t,r){let i=e[t];const o=n.data;if(function kN(e){return e instanceof zo}(i)){const s=i;s.resolving&&function bM(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=ja(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Tt(s.injectImpl):null;Xm(e,r,K.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function xN(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Lm(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Tt(c),ja(a),s.resolving=!1,ny()}}return i}function py(e,n,t){return!!(t[n+(e>>ly)]&1<{const n=e.prototype.constructor,t=n[Ln]||pd(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ln]||pd(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function pd(e){return Ca(e)?()=>{const n=pd(j(e));return n&&n()}:Ar(e)}function my(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[at]:null}const _i="__parameters__";function Di(e,n,t){return Vn(()=>{const r=function gd(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(_i)?l[_i]:Object.defineProperty(l,_i,{value:[]})[_i];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function bi(e,n){e.forEach(t=>Array.isArray(t)?bi(t,n):n(t))}function vy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function za(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Zo(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function _y(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function yd(e,n){const t=Ei(e,n);if(t>=0)return e[1|t]}function Ei(e,n){return function wy(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<{t.push(s)};return bi(n,s=>{const a=s;Qa(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Ty(i,o),t}function Ty(e,n){for(let t=0;t{n(o,r)})}}function Qa(e,n,t,r){if(!(e=j(e)))return!1;let i=null,o=Ea(e);const s=!o&&Q(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=Ea(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Qa(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{bi(o.imports,u=>{Qa(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ty(c,n)}if(!a){const c=Ar(i)||(()=>new i);n({provide:i,useFactory:c,deps:ne},i),n({provide:wd,useValue:i,multi:!0},i),n({provide:Ti,useValue:()=>A(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;Cd(l,u=>{n(u,c)})}}}return i!==e&&void 0!==e.providers}function Cd(e,n){for(let t of e)Ou(t)&&(t=t.\u0275providers),Array.isArray(t)?Cd(t,n):n(t)}const p0=ce({provide:String,useValue:ce});function bd(e){return null!==e&&"object"==typeof e&&p0 in e}function kr(e){return"function"==typeof e}const Ed=new M("Set Injector scope."),Ka={},m0={};let Id;function Xa(){return void 0===Id&&(Id=new Ya),Id}class Ht{}class Rr extends Ht{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sd(n,s=>this.processProvider(s)),this.records.set(Ey,Si(void 0,this)),i.has("environment")&&this.records.set(Ht,Si(void 0,this));const o=this.records.get(Ed);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wd,ne,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=nr(this),r=Tt(void 0);try{return n()}finally{nr(t),Tt(r)}}get(n,t=Ro,r=K.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(fm))return n[fm](this);r=Sa(r);const o=nr(this),s=Tt(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function D0(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(n)&&ba(n);l=c&&this.injectableDefInScope(c)?Si(Td(n),Ka):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&K.Self?Xa():this.parent).get(n,t=r&K.Optional&&t===Ro?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Ta]=a[Ta]||[]).unshift(ze(n)),o)throw a;return function VM(e,n,t,r){const i=e[Ta];throw n[vm]&&i.unshift(n[vm]),e.message=function jM(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ze(n);if(Array.isArray(n))i=n.map(ze).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ze(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(kM,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Ta]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Tt(s),nr(o)}}resolveInjectorInitializers(){const n=nr(this),t=Tt(void 0);try{const i=this.get(Ti,ne,K.Self);for(const o of i)o()}finally{nr(n),Tt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ze(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(n){let t=kr(n=j(n))?n:j(n&&n.provide);const r=function v0(e){return bd(e)?Si(void 0,e.useValue):Si(Ny(e),Ka)}(n);if(kr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Si(void 0,Ka,!0),i.factory=()=>Uu(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Ka&&(t.value=m0,t.value=t.factory()),"object"==typeof t.value&&t.value&&function w0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Td(e){const n=ba(e),t=null!==n?n.factory:Ar(e);if(null!==t)return t;if(e instanceof M)throw new E(204,!1);if(e instanceof Function)return function y0(e){const n=e.length;if(n>0)throw Zo(n,"?"),new E(204,!1);const t=function NM(e){return e&&(e[Ia]||e[pm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new E(204,!1)}function Ny(e,n,t){let r;if(kr(e)){const i=j(e);return Ar(i)||Td(i)}if(bd(e))r=()=>j(e.useValue);else if(function My(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Uu(e.deps||[]));else if(function Sy(e){return!(!e||!e.useExisting)}(e))r=()=>A(j(e.useExisting));else{const i=j(e&&(e.useClass||e.provide));if(!function _0(e){return!!e.deps}(e))return Ar(i)||Td(i);r=()=>new i(...Uu(e.deps))}return r}function Si(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Sd(e,n){for(const t of e)Array.isArray(t)?Sd(t,n):t&&Ou(t)?Sd(t.\u0275providers,n):n(t)}function ky(e,n=null,t=null,r){const i=Ry(e,n,t,r);return i.resolveInjectorInitializers(),i}function Ry(e,n=null,t=null,r,i=new Set){const o=[t||ne,h0(e)];return r=r||("object"==typeof e?void 0:ze(e)),new Rr(o,n||Xa(),r||null,i)}let Ad,yt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ro;static#t=this.NULL=new Ya;static create(t,r){if(Array.isArray(t))return ky({name:""},r,t,"");{const i=t.name??"";return ky({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=x({token:e,providedIn:"any",factory:()=>A(Ey)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const el=new M("AppId",{providedIn:"root",factory:()=>x0}),x0="ng",Fy=new M("Platform Initializer"),lr=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ly=new M("CSP nonce",{providedIn:"root",factory:()=>function ar(){if(void 0!==Ad)return Ad;if(typeof document<"u")return document;throw new E(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function $t(e){return e instanceof Function?e():e}function il(e){return 128==(128&e.flags)}var dr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dr||{});const $0=/^>|^->||--!>|)/g,U0="\u200b$1\u200b";const Pd=new Map;let z0=0;const Ld="__ngContext__";function lt(e,n){rt(n)?(e[Ld]=n[jo],function W0(e){Pd.set(e[jo],e)}(n)):e[Ld]=n}let Vd;function jd(e,n){return Vd(e,n)}function es(e){const n=e[Ie];return et(n)?n[Ie]:n}function tv(e){return rv(e[Lo])}function nv(e){return rv(e[tn])}function rv(e){for(;null!==e&&!et(e);)e=e[tn];return e}function Ni(e,n,t,r,i){if(null!=r){let o,s=!1;et(r)?o=r:rt(r)&&(s=!0,r=r[ke]);const a=ve(r);0===e&&null!==t?null==i?av(n,t,a):Pr(n,t,a,i||null,!0):1===e&&null!==t?Pr(n,t,a,i||null,!0):2===e?function dl(e,n,t){const r=cl(e,n);r&&function dA(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function pA(e,n,t,r,i){const o=t[pn];o!==ve(t)&&Ni(n,e,r,o,i);for(let a=Le;an.replace(B0,U0))}(n))}function al(e,n,t){return e.createElement(n,t)}function ov(e,n){const t=e[fi],r=t.indexOf(n);t.splice(r,1)}function ts(e,n){if(e.length<=Le)return;const t=Le+n,r=e[t];if(r){const i=r[Vo];null!==i&&i!==e&&ov(i,r),n>0&&(e[t-1][tn]=r[tn]);const o=za(e,Le+n);!function rA(e,n){rs(e,n,n[q],2,null,null),n[ke]=null,n[at]=null}(r[I],r);const s=o[hn];null!==s&&s.detachView(o[I]),r[Ie]=null,r[tn]=null,r[B]&=-129}return r}function ll(e,n){if(!(256&n[B])){const t=n[q];n[Mr]&&function Ng(e){if(ii(e),No(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[li]=null);const i=n[ir];if(null!==i){n[ir]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Jt.None||o===Jt.Emulated)return null}return pt(r,t)}}(e,n.parent,t)}function Pr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function av(e,n,t){e.appendChild(n,t)}function lv(e,n,t,r,i){null!==r?Pr(e,n,t,r,i):av(e,n,t)}function cl(e,n){return e.parentNode(n)}function cv(e,n,t){return dv(e,n,t)}let Ud,fl,hl,dv=function uv(e,n,t){return 40&e.type?pt(e,t):null};function ul(e,n,t,r){const i=Bd(e,r,n),o=n[q],a=cv(r.parent||n[at],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return fl}()?.createHTML(e)||e}function wv(e){return function qd(){if(void 0===hl&&(hl=null,me.trustedTypes))try{hl=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hl}()?.createScriptURL(e)||e}class Fr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${um})`}}class wA extends Fr{getTypeName(){return"HTML"}}class DA extends Fr{getTypeName(){return"Style"}}class CA extends Fr{getTypeName(){return"Script"}}class bA extends Fr{getTypeName(){return"URL"}}class EA extends Fr{getTypeName(){return"ResourceURL"}}function Bt(e){return e instanceof Fr?e.changingThisBreaksApplicationSecurity:e}function wn(e,n){const t=function IA(e){return e instanceof Fr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${um})`)}return t===n}class xA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Ai(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class OA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Ai(n),t}}const RA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pl(e){return(e=String(e)).match(RA)?e:"unsafe:"+e}function Un(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function is(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const Cv=Un("area,br,col,hr,img,wbr"),bv=Un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ev=Un("rp,rt"),Zd=is(Cv,is(bv,Un("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")),is(Ev,Un("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")),is(Ev,bv)),Yd=Un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iv=is(Yd,Un("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"),Un("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")),PA=Un("script,style,template");class FA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Zd.hasOwnProperty(t))return this.sanitizedSomething=!0,!PA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();Zd.hasOwnProperty(t)&&!Cv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Tv(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const LA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,VA=/([^\#-~ |!])/g;function Tv(e){return e.replace(/&/g,"&").replace(LA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(VA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let gl;function Sv(e,n){let t=null;try{gl=gl||function Dv(e){const n=new OA(e);return function kA(){try{return!!(new window.DOMParser).parseFromString(Ai(""),"text/html")}catch{return!1}}()?new xA(n):n}(e);let r=n?String(n):"";t=gl.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=gl.getInertBodyElement(r)}while(r!==o);return Ai((new FA).sanitizeChildren(Qd(t)||t))}finally{if(t){const r=Qd(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Qd(e){return"content"in e&&function jA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nt=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}(Nt||{});function Mv(e){const n=os();return n?n.sanitize(Nt.URL,e)||"":wn(e,"URL")?Bt(e):pl(W(e))}function Nv(e){const n=os();if(n)return wv(n.sanitize(Nt.RESOURCE_URL,e)||"");if(wn(e,"ResourceURL"))return wv(Bt(e));throw new E(904,!1)}function os(){const e=D();return e&&e[ci].sanitizer}let xv=(e,n,t)=>null;function sf(e,n,t=!1){return xv(e,n,t)}class ex{}class Rv{}class nx{resolveComponentFactory(n){throw function tx(e){const n=Error(`No component factory found for ${ze(e)}.`);return n.ngComponent=e,n}(n)}}let Dl=(()=>{class e{static#e=this.NULL=new nx}return e})();function rx(){return ki(de(),D())}function ki(e,n){return new ct(pt(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=rx}return e})();function ix(e){return e instanceof ct?e.nativeElement:e}class Fv{}let Dn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ox(){const e=D(),t=Vt(de().index,e);return(rt(t)?t:e)[q]}()}return e})(),sx=(()=>{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();class ls{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const ax=new ls("17.0.2"),cf={};function Lv(e){const n=Oe(null);try{return e()}finally{Oe(n)}}function Cl(e){return!!function uf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}class Vv{constructor(){}supports(n){return Cl(n)}create(n){return new fx(n)}}const dx=(e,n)=>n;class fx{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||dx}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new hx(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new jv),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jv),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class hx{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class px{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class jv{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new px,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hv(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:Bv});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Bv()),deps:[[e,new qa,new Wa]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new E(901,!1)}}return e})();function us(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];null!==o&&r.push(ve(o)),et(o)&&zv(o,r);const s=t.type;if(8&s)us(e,n,t.child,r);else if(32&s){const a=jd(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=hv(n,t);if(Array.isArray(a))r.push(...a);else{const l=es(n[Ae]);us(l[I],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function zv(e,n){for(let t=Le;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ka(e.lView)},consumerOnSignalRead(){this.lView[Mr]=this}};function df(e){return e.ngOriginalError}class zn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&df(n);for(;t&&df(t);)t=df(t);return t||null}}const Zv=new M("",{providedIn:"root",factory:()=>!1}),Z={};function k(e){Xv(X(),D(),mt()+e,!1)}function Xv(e,n,t,r){if(!r)if(3==(3&n[B])){const o=e.preOrderCheckHooks;null!==o&&La(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Va(n,o,0,t)}xr(t)}function C(e,n=K.Default){const t=D();return null===t?A(e,n):fy(de(),t,j(e),n)}function Il(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ke]=i,d[B]=140|r,(null!==c||e&&2048&e[B])&&(d[B]|=2048),Bm(d),d[Ie]=d[ui]=e,d[ye]=t,d[ci]=s||e&&e[ci],d[q]=a||e&&e[q],d[ht]=l||e&&e[ht]||null,d[at]=o,d[jo]=function G0(){return z0++}(),d[fn]=u,d[Om]=c,d[Ae]=2==n.type?e[Ae]:d,d}function Ri(e,n,t,r,i){let o=e.data[n];if(null===o)o=function ff(e,n,t,r,i){const o=qm(),s=td(),l=e.data[n]=function Rx(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return pi()&&(a|=128),{type:t,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function CN(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Uo(){const e=z.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return yn(o,!0),o}function ds(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;oU&&Xv(e,n,U,!1),gn(s?2:0,i),t(r,i)}finally{xr(o),gn(s?3:1,i)}}function hf(e,n,t){if(qu(n)){const r=Oe(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function r_(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?i_(t,n,i,o):r.hasOwnProperty(i)&&i_(t,n,r[i],o)}return t}function i_(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function yf(e,n,t,r){if(Wm()){const i=null===r?null:{"":-1},o=function Ux(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,ds(e,t,i.hostVars,Z),i)}function Cn(e,n,t,r,i,o){const s=pt(e,n);!function _f(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?W(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[q],s,o,e.value,t,r,i)}function Yx(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function wx(e){e.lView[Mr]!==e&&(e.lView=null,Gv.push(e))}(a)),ad()}}function p_(e,n){for(let t=tv(e);null!==t;t=nv(t)){t[Wu]=!1;for(let r=Le;r-1&&(ts(n,r),za(t,r))}this._attachedToViewContainer=!1}ll(this._lView[I],this._lView)}onDestroy(n){Ra(this._lView,n)}markForCheck(){fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[B]&=-129}reattach(){zm(this._lView),this._lView[B]|=128}detectChanges(){!function Cf(e,n,t,r=!0){const i=n[ci],o=i.rendererFactory,s=i.afterRenderEventManager;o.begin?.(),s?.begin();try{h_(e,n,e.template,t),function Xx(e){let n=0;for(;9216&e[B]||e[Mr]?.dirty;){if(100===n)throw new E(103,!1);n++,m_(e,1)}}(n)}catch(l){throw r&&Sl(n,l),l}finally{o.end?.(),i.inlineEffectRunner?.flush(),s?.end()}}(this._lView[I],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function oA(e,n){rs(e,n,n[q],2,null,null)}(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n}}let ps=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=r1}return e})();function r1(e){return function i1(e,n,t){if(Nr(e)&&!t){const r=Vt(e.index,n);return new hs(r,r)}return 47&e.type?new hs(n[Ae],n):null}(de(),D(),16==(16&e))}let Ml=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=l1;static#t=this.__NG_ENV_ID__=t=>t}return e})();class a1 extends Ml{constructor(n){super(),this._lView=n}onDestroy(n){return Ra(this._lView,n),()=>function ed(e,n){if(null===e[ir])return;const t=e[ir].indexOf(n);-1!==t&&e[ir].splice(t,1)}(this._lView,n)}}function l1(){return new a1(D())}const v_=new Set;function Lr(e){v_.has(e)||(v_.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function bf(e){return n=>{setTimeout(e,void 0,n)}}const be=class g1 extends $e{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=bf(o),i&&(i=bf(i)),s&&(s=bf(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof bt&&n.add(a),a}};function __(...e){}class oe{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function m1(){const e="function"==typeof me.requestAnimationFrame;let n=me[e?"requestAnimationFrame":"setTimeout"],t=me[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function _1(e){const n=()=>{!function v1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,If(e),e.isCheckStableRunning=!0,Ef(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),If(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{if(function D1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(i,o,s,a);try{return w_(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),D_(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return w_(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),D_(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,If(e),Ef(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oe.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(oe.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,y1,__,__);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const y1={};function Ef(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function If(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function w_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function D_(e){e._nesting--,Ef(e)}class w1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const C_=new M("",{providedIn:"root",factory:b_});function b_(){const e=T(oe);let n=!0;return lm(new Ne(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new Ne(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(Nu()))}var Vr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Vr||{});const E_={destroy(){}};function T_(e,n){!n&&function Md(e){if(!gm()&&!function PM(){return ai}())throw new E(-203,!1)}();const t=n?.injector??T(yt);if(!function cr(e){return"browser"===(e??T(yt)).get(lr)}(t))return E_;Lr("NgAfterNextRender");const r=t.get(Nl),i=r.handler??=new M_,o=n?.phase??Vr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=t.get(Ml).onDestroy(s),l=new S_(t,o,()=>{s(),e()});return i.register(l),{destroy:s}}class S_{constructor(n,t,r){this.phase=t,this.callbackFn=r,this.zone=n.get(oe),this.errorHandler=n.get(zn,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class M_{constructor(){this.executingCallbacks=!1,this.buckets={[Vr.EarlyRead]:new Set,[Vr.Write]:new Set,[Vr.MixedReadWrite]:new Set,[Vr.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new E(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Nl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();function b1(e,n){const t=Vt(n,e),r=t[I];!function E1(e,n){for(let t=n.length;t0&&mv(e,t,o.join(" "))}}(d,Me,h,r),void 0!==t&&function R1(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Fo(i.hostAttrs,t=Fo(t,i.hostAttrs))}}(r)}function xl(e){return e===dn?{}:e===ne?[]:e}function L1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function V1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function j1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function P_(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function Ge(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function En(e,n,t,r){const i=D();return Ge(i,vn(),n)&&(X(),Cn(Ce(),i,e,n,t,r)),En}function kl(e,n){return e<<17|n<<2}function fr(e){return e>>17&32767}function Sf(e){return 2|e}function Hr(e){return(131068&e)>>2}function Mf(e,n){return-131069&e|n<<2}function Nf(e){return 1|e}function G_(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?fr(o):Hr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Q1(e[a],n)&&(l=!0,e[a+1]=r?Nf(u):Sf(u)),a=r?fr(u):Hr(u)}l&&(e[t+1]=r?Sf(o):Nf(o))}function Q1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ei(e,n)>=0}function O(e,n,t){const r=D();return Ge(r,vn(),n)&&function Ut(e,n,t,r,i,o,s,a){const l=pt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(Df(e,t,u,r,i),Nr(n)&&function Lx(e,n){const t=Vt(n,e);16&t[B]||(t[B]|=64)}(t,n.index)):3&n.type&&(r=function Fx(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}(X(),Ce(),r,e,n,r[q],t,!1),O}function Af(e,n,t,r,i){const s=i?"class":"style";Df(e,t,n.inputs[s],s,r)}function ys(e,n){return function rn(e,n,t,r){const i=D(),o=X(),s=function Bn(e){const n=z.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);o.firstUpdatePass&&function ew(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[mt()],s=function J_(e,n){return n>=e.expandoStartIndex}(e,t);(function iw(e,n){return 0!=(e.flags&(n?8:16))})(o,r)&&null===n&&!s&&(n=!1),n=function oO(e,n,t,r){const i=function id(e){const n=z.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=vs(t=xf(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=xf(i,e,n,t,r),null===o){let l=function sO(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Hr(r))return e[fr(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=xf(null,e,n,l[1],r),l=vs(l,n.attrs,r),function aO(e,n,t,r){e[fr(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function lO(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=fr(e[a+1]);e[r+1]=kl(f,a),0!==f&&(e[f+1]=Mf(e[f+1],r)),e[a+1]=function W1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=kl(a,0),0!==a&&(e[a+1]=Mf(e[a+1],r)),a=r;else e[r+1]=kl(l,0),0===a?a=r:e[l+1]=Mf(e[l+1],r),l=r;c&&(e[r+1]=Sf(e[r+1])),G_(e,u,r,!0),G_(e,u,r,!1),function Y1(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ei(o,n)>=0&&(t[r+1]=Nf(t[r+1]))}(n,u,e,r,o),s=kl(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}(o,e,s,r),n!==Z&&Ge(i,s,n)&&function nw(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function q1(e){return 1==(1&e)}(c)?rw(l,n,t,i,Hr(c),s):void 0;Rl(u)||(Rl(o)||function G1(e){return 2==(2&e)}(c)&&(o=rw(l,null,t,i,a,s)),function gA(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:dr.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=dr.Important),e.setStyle(t,r,i,o))}}(r,s,$o(mt(),t),i,o))}(o,o.data[mt()],i,i[q],e,i[s+1]=function fO(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ze(Bt(e)))),e}(n,t),r,s)}(e,n,null,!0),ys}function xf(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===Z&&(f=d?ne:void 0);let h=d?yd(f,r):u===r?f:void 0;if(c&&!Rl(h)&&(h=yd(l,r)),Rl(h)&&(a=h,s))return a;const p=e[i+1];i=s?fr(p):Hr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=yd(l,r))}return a}function Rl(e){return void 0!==e}function Wi(e,n){return!n||il(e)}function bs(e,n,t,r=!0){const i=n[I];if(function aA(e,n,t,r){const i=Le+r,o=t.length;r>0&&(t[i-1][tn]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=WO}return e})();function WO(){return yw(de(),D())}const qO=At,gw=class extends qO{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ki(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){const n=$a(this._hostTNode,this._hostLView);if(ud(n)){const t=Wo(n,this._hostLView),r=Go(n);return new Qe(t[I].data[r+8],t)}return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=mw(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,Wi(this._hostTNode,null)),a}createComponent(n,t,r,i,o){const s=n&&!function qo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new gs(Q(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const v=(s?c:this.parentInjector).get(Ht,null);v&&(o=v)}Q(l.componentType??{});const h=l.create(c,i,null,o);return this.insertImpl(h.hostView,a,Wi(this._hostTNode,null)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function dN(e){return et(e[Ie])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[Ie],c=new gw(l,l[at],l[Ie]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return bs(s,i,o,r),n.attachToViewContainerRef(),vy(Hf(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=mw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=ts(this._lContainer,t);r&&(za(Hf(this._lContainer),t),ll(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=ts(this._lContainer,t);return r&&null!=za(Hf(this._lContainer),t)?new hs(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function mw(e){return e[8]}function Hf(e){return e[8]||(e[8]=[])}function yw(e,n){let t;const r=n[e.index];return et(r)?t=r:(t=l_(r,n,null,e),n[e.index]=t,Tl(n,t)),vw(t,n,e,r),new gw(t,e,n)}let vw=function ww(e,n,t,r){if(e[pn])return;let i;i=8&t.type?ve(r):function ZO(e,n){const t=e[q],r=t.createComment(""),i=pt(n,e);return Pr(t,cl(t,i),r,function fA(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[pn]=i},$f=(e,n,t)=>!1;function J(e,n,t,r,i,o,s,a){const l=D(),c=X(),u=e+U,d=c.firstCreatePass?function XO(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Ri(n,e,4,s||null,mn(c,a));yf(n,t,u,mn(c,l)),Fa(n,u);const d=u.tView=mf(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];yn(d,!1);const f=Dw(c,l,d,e);Pa()&&ul(c,l,f,d),lt(f,l);const h=l_(f,l,f,d);return l[u]=h,Tl(l,h),function _w(e,n,t){return $f(e,n,t)}(h,d,l),Oa(d)&&pf(c,l,d),null!=s&&gf(l,d,a),J}let Dw=function Cw(e,n,t,r){return or(!0),n[q].createComment("")};function g(e,n,t,r){const i=D(),o=X(),s=U+e,a=i[q],l=o.firstCreatePass?function $k(e,n,t,r,i,o){const s=n.consts,l=Ri(n,e,2,r,mn(s,i));return yf(n,t,l,mn(s,o)),null!==l.attrs&&Al(l,l.attrs,!1),null!==l.mergedAttrs&&Al(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=Gw(o,i,l,a,n,e);i[s]=c;const u=Oa(l);return yn(l,!0),yv(a,c,l),32!=(32&l.flags)&&Pa()&&ul(o,i,c,l),0===function hN(){return z.lFrame.elementDepthCount}()&<(c,i),function pN(){z.lFrame.elementDepthCount++}(),u&&(pf(o,i,l),hf(o,l,i)),null!==r&&gf(i,l),g}function m(){let e=de();td()?nd():(e=e.parent,yn(e,!1));const n=e;(function mN(e){return z.skipHydrationRootTNode===e})(n)&&function wN(){z.skipHydrationRootTNode=null}(),function gN(){z.lFrame.elementDepthCount--}();const t=X();return t.firstCreatePass&&(Fa(t,e),qu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function PN(e){return 0!=(8&e.flags)}(n)&&Af(t,n,D(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function FN(e){return 0!=(16&e.flags)}(n)&&Af(t,n,D(),n.stylesWithoutHost,!1),m}function R(e,n,t,r){return g(e,n,t,r),m(),R}let Gw=(e,n,t,r,i,o)=>(or(!0),al(r,i,function ry(){return z.lFrame.currentNamespace}()));function zl(e,n,t){const r=D(),i=X(),o=e+U,s=i.firstCreatePass?function zk(e,n,t,r,i){const o=n.consts,s=mn(o,r),a=Ri(n,e,8,"ng-container",s);return null!==s&&Al(a,s,!0),yf(n,t,a,mn(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];yn(s,!0);const a=Ww(i,r,s,e);return r[o]=a,Pa()&&ul(i,r,a,s),lt(a,r),Oa(s)&&(pf(i,r,s),hf(i,s,r)),null!=t&&gf(r,s),zl}function Gl(){let e=de();const n=X();return td()?nd():(e=e.parent,yn(e,!1)),n.firstCreatePass&&(Fa(n,e),qu(e)&&n.queries.elementEnd(e)),Gl}function Xf(e,n,t){return zl(e,n,t),Gl(),Xf}let Ww=(e,n,t,r)=>(or(!0),Hd(n[q],""));function Br(){return D()}const Ur=void 0;var Zk=["en",[["a","p"],["AM","PM"],Ur],[["AM","PM"],Ur,Ur],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ur,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ur,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ur,"{1} 'at' {0}",Ur],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function qk(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Ji={};function vt(e){const n=function Yk(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=Qw(n);if(t)return t;const r=n.split("-")[0];if(t=Qw(r),t)return t;if("en"===r)return Zk;throw new E(701,!1)}function Qw(e){return e in Ji||(Ji[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),Ji[e]}var _e=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_e||{});const eo="en-US";let Kw=eo;function Os(e){return!!e&&"function"==typeof e.then}function CD(e){return!!e&&"function"==typeof e.subscribe}function Te(e,n,t,r){const i=D(),o=X(),s=de();return function ED(e,n,t,r,i,o,s){const a=Oa(r),c=e.firstCreatePass&&d_(e),u=n[ye],d=u_(n);let f=!0;if(3&r.type||s){const v=pt(r,n),_=s?s(v):v,b=d.length,w=s?F=>s(ve(F[r.index])):r.index;let S=null;if(!s&&a&&(S=function UR(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,f=!1;else{o=TD(r,n,u,o,!1);const F=t.listen(_,i,o);d.push(o,F),c&&c.push(i,w,b,b+1)}}else o=TD(r,n,u,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const v=p.length;if(v)for(let _=0;_-1?Vt(e.index,n):n);let l=ID(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=ID(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function fe(e=1){return function TN(e){return(z.lFrame.contextLView=function Um(e,n){for(;e>0;)n=n[ui],e--;return n}(e,z.lFrame.contextLView))[ye]}(e)}function zR(e,n){let t=null;const r=function zM(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i(or(!0),function sl(e,n){return e.createText(n)}(n[q],r));function zt(e){return Ql("",e,""),zt}function Ql(e,n,t){const r=D(),i=function Fi(e,n,t,r){return Ge(e,vn(),t)?n+W(t)+r:Z}(r,e,n,t);return i!==Z&&function Gn(e,n,t){const r=$o(n,e);!function iv(e,n,t){e.setValue(n,t)}(e[q],r,t)}(r,mt(),i),Ql}function nh(e,n,t,r,i){if(e=j(e),Array.isArray(e))for(let o=0;o>20;if(kr(e)||!e.multi){const h=new zo(c,i,C),p=ih(l,n,i?u:u+f,d);-1===p?(hd(Ha(a,s),o,l),rh(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=ih(l,n,u+f,d),p=ih(l,n,u,u+f),_=p>=0&&t[p];if(i&&!_||!i&&!(h>=0&&t[h])){hd(Ha(a,s),o,l);const b=function sP(e,n,t,r,i){const o=new zo(e,t,C);return o.multi=[],o.index=n,o.componentProviders=0,nC(o,i,r&&!t),o}(i?oP:iP,t.length,i,r,c);!i&&_&&(t[p].providerFactory=b),rh(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else rh(o,e,h>-1?h:p,nC(t[i?p:h],c,!i&&r));!i&&r&&_&&t[p].componentProviders++}}}function rh(e,n,t,r){const i=kr(n),o=function g0(e){return!!e.useClass}(n);if(i||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function nC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function ih(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function rP(e,n,t){const r=X();if(r.firstCreatePass){const i=nn(e);nh(t,r.data,r.blueprint,i,!0),nh(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class zr{}class rC{}class sh extends zr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new N_(this);const i=st(n);this._bootstrapComponents=$t(i.bootstrap),this._r3Injector=Ry(n,t,[{provide:zr,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver},...r],ze(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class ah extends rC{constructor(n){super(),this.moduleType=n}create(n){return new sh(this.moduleType,n,[])}}class iC extends zr{constructor(n){super(),this.componentFactoryResolver=new N_(this),this.instance=null;const t=new Rr([...n.providers,{provide:zr,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver}],n.parent||Xa(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function lh(e,n,t=null){return new iC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let cP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Iy(0,t.type),i=r.length>0?lh([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(A(Ht))})}return e})();function oC(e){Lr("NgStandalone"),e.getStandaloneInjector=n=>n.get(cP).getOrCreateStandaloneInjector(e)}function hC(e,n,t,r,i,o){const s=n+t;return Ge(e,s,i)?function bn(e,n,t){return e[n]=t}(e,s+1,o?r.call(o,i):r(i)):function ks(e,n){const t=e[n];return t===Z?void 0:t}(e,s+1)}function Rs(e,n){const t=X();let r;const i=e+U;t.firstCreatePass?(r=function AP(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=Ar(r.type)),a=Tt(C);try{const l=ja(!1),c=o();return ja(l),function GR(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,D(),i,c),c}finally{Tt(a)}}function Ps(e,n,t){const r=e+U,i=D(),o=hi(i,r);return function Fs(e,n){return e[I].data[n].pure}(i,r)?hC(i,function gt(){const e=z.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}function PP(){return this._results[Symbol.iterator]()}class uh{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new be)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=uh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=PP)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function St(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function YN(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=VP}return e})();const FP=Wn,LP=class extends FP{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=function Cs(e,n,t,r){const i=n.tView,a=Il(e,i,t,4096&e[B]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Vo]=e[n.index];const c=e[hn];return null!==c&&(a[hn]=c.createEmbeddedView(i)),Tf(i,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new hs(i)}};function VP(){return Jl(de(),D())}function Jl(e,n){return 4&e.type?new LP(n,e,ki(e,n)):null}class dh{constructor(n){this.queryList=n,this.matches=null}clone(){return new dh(this.queryList)}setDirty(){this.queryList.setDirty()}}class fh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Le;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=T(wh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(Os(o))t.push(o);else if(CD(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jC=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Yn=new M("LocaleId",{providedIn:"root",factory:()=>T(Yn,K.Optional|K.SkipSelf)||function fF(){return typeof $localize<"u"&&$localize.locale||eo}()}),hF=new M("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new qt(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class vF{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let $C=(()=>{class e{compileModuleSync(t){return new ah(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=$t(st(t).declarations).reduce((s,a)=>{const l=Q(a);return l&&s.push(new gs(l)),s},[]);return new vF(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const WC=new M(""),rc=new M("");let Ih,bh=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ih||(function UF(e){Ih=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(A(oe),A(Eh),A(rc))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Eh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Ih?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),gr=null;const qC=new M("AllowMultipleToken"),Th=new M("PlatformDestroyListeners"),Sh=new M("appBootstrapListener");function QC(e,n,t=[]){const r=`Platform: ${n}`,i=new M(r);return(o=[])=>{let s=Mh();if(!s||s.injector.get(qC,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function WF(e){if(gr&&!gr.get(qC,!1))throw new E(400,!1);(function ZC(){!function wS(e){Og=e}(()=>{throw new E(600,!1)})})(),gr=e;const n=e.get(XC);(function YC(e){e.get(Fy,null)?.forEach(t=>t())})(e)}(function KC(e=[],n){return yt.create({name:n,providers:[{provide:Ed,useValue:"platform"},{provide:Th,useValue:new Set([()=>gr=null])},...e]})}(a,r))}return function ZF(e){const n=Mh();if(!n)throw new E(401,!1);return n}()}}function Mh(){return gr?.get(XC)??null}let XC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function YF(e="zone.js",n){return"noop"===e?new w1:"zone.js"===e?new oe(n):e}(r?.ngZone,function JC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function lP(e,n,t){return new sh(e,n,t)}(t.moduleType,this.injector,function ib(e){return[{provide:oe,useFactory:e},{provide:Ti,multi:!0,useFactory:()=>{const n=T(KF,{optional:!0});return()=>n.initialize()}},{provide:rb,useFactory:QF},{provide:C_,useFactory:b_}]}(()=>i)),s=o.injector.get(zn,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{ic(this._modules,o),a.unsubscribe()})}),function eb(e,n,t){try{const r=t();return Os(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Dh);return a.runInitializers(),a.donePromise.then(()=>(function Xw(e){Et(e,"Expected localeId to be defined"),"string"==typeof e&&(Kw=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Yn,eo)||eo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=tb({},r);return function zF(e,n,t){const r=new ah(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(ro);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new E(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Th,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(A(yt))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function tb(e,n){return Array.isArray(n)?n.reduce(tb,e):{...e,...n}}let ro=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(rb),this.zoneIsStable=T(C_),this.componentTypes=[],this.components=[],this.isStable=T(tc).hasPendingTasks.pipe(Rt(t=>t?L(!1):this.zoneIsStable),cm(),Nu()),this._injector=T(Ht)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Rv;if(!this._injector.get(Dh).done)throw!i&&function rr(e){const n=Q(e)||Ye(e)||nt(e);return null!==n&&n.standalone}(t),new E(405,!1);let s;s=i?t:this._injector.get(Dl).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function GF(e){return e.isBoundToModule}(s)?void 0:this._injector.get(zr),c=s.create(yt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(WC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ic(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ic(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Sh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ic(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ic(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const rb=new M("",{providedIn:"root",factory:()=>T(zn).handleError.bind(void 0)});function QF(){const e=T(oe),n=T(zn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let KF=(()=>{class e{constructor(){this.zone=T(oe),this.applicationRef=T(ro)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iL=QC(null,"core",[]);let oL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(A(ro))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();function oo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Vh=null;function mr(){return Vh}class NL{}const ut=new M("DocumentToken");let jh=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(xL),providedIn:"platform"})}return e})();const AL=new M("Location Initialized");let xL=(()=>{class e extends jh{constructor(){super(),this._doc=T(ut),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mr().getBaseHref(this._doc)}onPopState(t){const r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=mr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Hh(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Sb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Qn(e){return e&&"?"!==e[0]?"?"+e:e}let Wr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(Nb),providedIn:"root"})}return e})();const Mb=new M("appBaseHref");let Nb=(()=>{class e extends Wr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(ut).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Hh(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Qn(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Qn(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Qn(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(jh),A(Mb,8))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OL=(()=>{class e extends Wr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=Hh(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Qn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Qn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(jh),A(Mb,8))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),so=(()=>{class e{constructor(t){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function PL(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Sb(Ab(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Qn(r))}normalize(t){return e.stripTrailingSlash(function RL(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Ab(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qn(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=Qn;static#t=this.joinWithSlash=Hh;static#n=this.stripTrailingSlash=Sb;static#r=this.\u0275fac=function(r){return new(r||e)(A(Wr))};static#i=this.\u0275prov=x({token:e,factory:()=>function kL(){return new so(A(Wr))}(),providedIn:"root"})}return e})();function Ab(e){return e.replace(/\/index.html$/,"")}const xb={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var fc=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(fc||{}),je=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(je||{});function Qt(e,n){const t=vt(e),r=t[_e.NumberSymbols][n];if(typeof r>"u"){if(n===je.CurrencyDecimal)return t[_e.NumberSymbols][je.Decimal];if(n===je.CurrencyGroup)return t[_e.NumberSymbols][je.Group]}return r}const l2=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Fb=22,Dc=".",Bs="0",c2=";",u2=",",Gh="#";function f2(e,n,t,r,i){const s=function qh(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(c2),i=r[0],o=r[1],s=-1!==i.indexOf(Dc)?i.split(Dc):[i.substring(0,i.lastIndexOf(Bs)+1),i.substring(i.lastIndexOf(Bs)+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf(Gh));for(let u=0;u-1&&(n=n.replace(Dc,"")),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;n.charAt(o)===Bs;o++);if(o===(a=n.length))r=[0],i=1;else{for(a--;n.charAt(a)===Bs;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(n.charAt(o))}return i>Fb&&(r=r.splice(0,Fb-1),t=i-1,i=1),{digits:r,exponent:t,integerLen:i}}(e);s&&(c=function g2(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(c));let u=n.minInt,d=n.minFrac,f=n.maxFrac;if(o){const w=o.match(l2);if(null===w)throw new Error(`${o} is not a valid digit info`);const S=w[1],F=w[3],G=w[5];null!=S&&(u=Zh(S)),null!=F&&(d=Zh(F)),null!=G?f=Zh(G):null!=F&&d>f&&(f=d)}!function y2(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(n,i),t);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i=c?p.pop():l=!1),f>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,d,f);let h=c.digits,p=c.integerLen;const v=c.exponent;let _=[];for(l=h.every(w=>!w);p0?_=h.splice(p,h.length):(_=h,h=[0]);const b=[];for(h.length>=n.lgSize&&b.unshift(h.splice(-n.lgSize,h.length).join(""));h.length>n.gSize;)b.unshift(h.splice(-n.gSize,h.length).join(""));h.length&&b.unshift(h.join("")),a=b.join(Qt(t,r)),_.length&&(a+=Qt(t,i)+_.join("")),v&&(a+=Qt(t,je.Exponential)+"+"+v)}else a=Qt(t,je.Infinity);return a=e<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(e,s,n,je.CurrencyGroup,je.CurrencyDecimal,i).replace("\xa4",t).replace("\xa4","").trim()}function Zh(e){const n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function jb(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}class D2{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Bb=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new D2(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),Ub(a,i)}});for(let i=0,o=r.length;i{Ub(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(At),C(Wn),C(bl))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Ub(e,n){e.context.$implicit=n.item}let Kh=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new C2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){zb("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){zb("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(C(At),C(Wn))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class C2{constructor(){this.$implicit=null,this.ngIf=null}}function zb(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ze(n)}'.`)}let Wb=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(C(At))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Lt]})}return e})();function an(e,n){return new E(2100,!1)}class M2{createSubscription(n,t){return Lv(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){Lv(()=>n.unsubscribe())}}class N2{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}}const A2=new N2,x2=new M2;let ep=(()=>{class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(Os(t))return A2;if(CD(t))return x2;throw an()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this._ref.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(C(ps,16))};static#t=this.\u0275pipe=ot({name:"async",type:e,pure:!1,standalone:!0})}return e})(),tp=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw an();return t.toUpperCase()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ot({name:"uppercase",type:e,pure:!0,standalone:!0})}return e})(),qb=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ot({name:"json",type:e,pure:!1,standalone:!0})}return e})(),np=(()=>{class e{constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,i="symbol",o,s){if(!function rp(e){return!(null==e||""===e||e!=e)}(t))return null;s=s||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==i&&(a="symbol"===i||"symbol-narrow"===i?function WL(e,n,t="en"){const r=function BL(e){return vt(e)[_e.Currencies]}(t)[e]||xb[e]||[],i=r[1];return"narrow"===n&&"string"==typeof i?i:r[0]||e}(a,"symbol"===i?"wide":"narrow",s):i);try{return f2(function ip(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),s,a,r,o)}catch(l){throw an()}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Yn,16),C(hF,16))};static#t=this.\u0275pipe=ot({name:"currency",type:e,pure:!0,standalone:!0})}return e})();let op=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();const Yb="browser";function lo(e){return e===Yb}function Qb(e){return"server"===e}let Y2=(()=>{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new Q2(A(ut),window)})}return e})();class Q2{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function K2(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Kb{}class wV extends NL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class lp extends wV{static makeCurrent(){!function ML(e){Vh||(Vh=e)}(new lp)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function DV(){return zs=zs||document.querySelector("base"),zs?zs.getAttribute("href"):null}();return null==t?null:function CV(e){Ec=Ec||document.createElement("a"),Ec.setAttribute("href",e);const n=Ec.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){zs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return jb(document.cookie,n)}}let Ec,zs=null,EV=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const cp=new M("EventManagerPlugins");let tE=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(A(cp),A(oe))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class nE{constructor(n){this._doc=n}}const up="ng-app-id";let rE=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Qb(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${up}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(up),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(up,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut),A(el),A(Ly,8),A(lr))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const dp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},fp=/%COMP%/g,MV=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function oE(e,n){return n.map(t=>t.replace(fp,e))}let sE=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Qb(a),this.defaultRenderer=new hp(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Jt.ShadowDom&&(r={...r,encapsulation:Jt.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof lE?i.applyToHost(t):i instanceof pp&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Jt.Emulated:o=new lE(l,c,r,this.appId,u,s,a,d);break;case Jt.ShadowDom:return new OV(l,c,t,r,s,a,this.nonce,d);default:o=new pp(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(A(tE),A(rE),A(el),A(MV),A(ut),A(lr),A(oe),A(Ly))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class hp{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(dp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(aE(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(aE(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=dp[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=dp[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(dr.DashCase|dr.Important)?n.style.setProperty(t,r,i&dr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&dr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=mr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function aE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class OV extends hp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=oE(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pp extends hp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?oE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class lE extends pp{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function NV(e){return"_ngcontent-%COMP%".replace(fp,e)}(c),this.hostAttr=function AV(e){return"_nghost-%COMP%".replace(fp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let kV=(()=>{class e extends nE{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const cE=["alt","control","meta","shift"],RV={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},PV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let FV=(()=>{class e extends nE{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),cE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=RV[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),cE.forEach(s=>{s!==i&&(0,PV[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const HV=QC(iL,"browser",[{provide:lr,useValue:Yb},{provide:Fy,useValue:function LV(){lp.makeCurrent()},multi:!0},{provide:ut,useFactory:function jV(){return function A0(e){Ad=e}(document),document},deps:[]}]),$V=new M(""),fE=[{provide:rc,useClass:class bV{addToWindow(n){me.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new E(5103,!1);return o},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(r=>{const i=me.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?mr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:WC,useClass:bh,deps:[oe,Eh,rc]},{provide:bh,useClass:bh,deps:[oe,Eh,rc]}],hE=[{provide:Ed,useValue:"root"},{provide:zn,useFactory:function VV(){return new zn},deps:[]},{provide:cp,useClass:kV,multi:!0,deps:[ut,oe,lr]},{provide:cp,useClass:FV,multi:!0,deps:[ut]},sE,rE,tE,{provide:Fv,useExisting:sE},{provide:Kb,useClass:EV,deps:[]},[]];let BV=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:el,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A($V,12))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({providers:[...hE,...fE],imports:[op,oL]})}return e})(),pE=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new r:function zV(){return new pE(A(ut))}(),i},providedIn:"root"})}return e})();typeof window<"u"&&window;let mp=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new(r||e):A(yE),i},providedIn:"root"})}return e})(),yE=(()=>{class e extends mp{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Nt.NONE:return r;case Nt.HTML:return wn(r,"HTML")?Bt(r):Sv(this._doc,String(r)).toString();case Nt.STYLE:return wn(r,"Style")?Bt(r):r;case Nt.SCRIPT:if(wn(r,"Script"))return Bt(r);throw new E(5200,!1);case Nt.URL:return wn(r,"URL")?Bt(r):pl(String(r));case Nt.RESOURCE_URL:if(wn(r,"ResourceURL"))return Bt(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return function TA(e){return new wA(e)}(t)}bypassSecurityTrustStyle(t){return function SA(e){return new DA(e)}(t)}bypassSecurityTrustScript(t){return function MA(e){return new CA(e)}(t)}bypassSecurityTrustUrl(t){return function NA(e){return new bA(e)}(t)}bypassSecurityTrustResourceUrl(t){return function AA(e){return new EA(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut))};static#t=this.\u0275prov=x({token:e,factory:function(r){let i=null;return i=r?new r:function ZV(e){return new yE(e.get(ut))}(A(yt)),i},providedIn:"root"})}return e})();const{isArray:YV}=Array,{getPrototypeOf:QV,prototype:KV,keys:XV}=Object;function _E(e){if(1===e.length){const n=e[0];if(YV(n))return{args:n,keys:null};if(function JV(e){return e&&"object"==typeof e&&QV(e)===KV}(n)){const t=XV(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:ej}=Array;function wE(e){return ee(n=>function tj(e,n){return ej(n)?e(...n):e(n)}(e,n))}function DE(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let CE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Dn),C(ct))};static#t=this.\u0275dir=H({type:e})}return e})(),qr=(()=>{class e extends CE{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275dir=H({type:e,features:[ue]})}return e})();const Sn=new M("NgValueAccessor"),ij={provide:Sn,useExisting:ge(()=>Ic),multi:!0},sj=new M("CompositionEventMode");let Ic=(()=>{class e extends CE{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function oj(){const e=mr()?mr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Dn),C(ct),C(sj,8))};static#t=this.\u0275dir=H({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&Te("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:[Ee([ij]),ue]})}return e})();const dt=new M("NgValidators"),_r=new M("NgAsyncValidators");function kE(e){return null!=e}function RE(e){return Os(e)?Ue(e):e}function PE(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function FE(e,n){return n.map(t=>t(e))}function LE(e){return e.map(n=>function lj(e){return!e.validate}(n)?n:t=>n.validate(t))}function yp(e){return null!=e?function VE(e){if(!e)return null;const n=e.filter(kE);return 0==n.length?null:function(t){return PE(FE(t,n))}}(LE(e)):null}function vp(e){return null!=e?function jE(e){if(!e)return null;const n=e.filter(kE);return 0==n.length?null:function(t){return function nj(...e){const n=im(e),{args:t,keys:r}=_E(e),i=new Ne(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(r?DE(r,a):a),o.complete())}))}});return n?i.pipe(wE(n)):i}(FE(t,n).map(RE)).pipe(ee(PE))}}(LE(e)):null}function HE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function _p(e){return e?Array.isArray(e)?e:[e]:[]}function Sc(e,n){return Array.isArray(e)?e.includes(n):e===n}function UE(e,n){const t=_p(n);return _p(e).forEach(i=>{Sc(t,i)||t.push(i)}),t}function zE(e,n){return _p(n).filter(t=>!Sc(e,t))}class GE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=yp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=vp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ct extends GE{get formDirective(){return null}get path(){return null}}class wr extends GE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class WE{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let qE=(()=>{class e extends WE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(wr,2))};static#t=this.\u0275dir=H({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&ys("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:[ue]})}return e})(),ZE=(()=>{class e extends WE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ct,10))};static#t=this.\u0275dir=H({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&ys("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ue]})}return e})();const Gs="VALID",Nc="INVALID",co="PENDING",Ws="DISABLED";function Cp(e){return(Ac(e)?e.validators:e)||null}function bp(e,n){return(Ac(n)?n.asyncValidators:e)||null}function Ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class XE{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Gs}get invalid(){return this.status===Nc}get pending(){return this.status==co}get disabled(){return this.status===Ws}get enabled(){return this.status!==Ws}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(UE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(UE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(zE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(zE(n,this._rawAsyncValidators))}hasValidator(n){return Sc(this._rawValidators,n)}hasAsyncValidator(n){return Sc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=co,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ws,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Gs,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gs||this.status===co)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ws:Gs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator=!0;const t=RE(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?Ws:this.errors?Nc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(Nc)?Nc:Gs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function fj(e){return Array.isArray(e)?yp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function hj(e){return Array.isArray(e)?vp(e):e||null}(this._rawAsyncValidators)}}class Ep extends XE{constructor(n,t,r){super(Cp(t),bp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function KE(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new E(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function QE(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new E(1e3,"");if(!r[t])throw new E(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const uo=new M("CallSetDisabledState",{providedIn:"root",factory:()=>xc}),xc="always";function qs(e,n,t=xc){Ip(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function mj(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&JE(e,n)})}(e,n),function vj(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function yj(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&JE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function gj(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Rc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Ip(e,n){const t=function $E(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(HE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function BE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(HE(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Rc(n._rawValidators,i),Rc(n._rawAsyncValidators,i)}function JE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const bj={provide:Ct,useExisting:ge(()=>Fc)},Zs=(()=>Promise.resolve())();let Fc=(()=>{class e extends Ct{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Ep({},yp(t),vp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Zs.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),qs(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Zs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Zs.then(()=>{const r=this._findContainer(t.path),i=new Ep({});(function eI(e,n){Ip(e,n)})(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Zs.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Zs.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function tI(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(C(dt,10),C(_r,10),C(uo,8))};static#t=this.\u0275dir=H({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&Te("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ee([bj]),ue]})}return e})();function nI(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function rI(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const iI=class extends XE{constructor(n=null,t,r){super(Cp(t),bp(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=rI(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){nI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){nI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){rI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Tj={provide:wr,useExisting:ge(()=>Np)},aI=(()=>Promise.resolve())();let Np=(()=>{class e extends wr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new iI,this._registered=!1,this.name="",this.update=new be,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Mp(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ic?t=o:function Dj(e){return Object.getPrototypeOf(e.constructor)===qr}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Sp(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){qs(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()}_updateValue(t){aI.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&oo(r);aI.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Oc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ct,9),C(dt,10),C(_r,10),C(Sn,10),C(ps,8),C(uo,8))};static#t=this.\u0275dir=H({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ee([Tj]),ue,Lt]})}return e})(),lI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=H({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Sj={provide:Sn,useExisting:ge(()=>Ap),multi:!0};let Ap=(()=>{class e extends qr{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275dir=H({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){1&r&&Te("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[Ee([Sj]),ue]})}return e})(),cI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})(),Qj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[cI]})}return e})(),Xj=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:uo,useValue:t.callSetDisabledState??xc}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[Qj]})}return e})();function SI(e,n,t,r,i,o,s){try{var a=e[o](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(r,i)}function fo(e,n){return De(n)?it(e,n,1):it(e,1)}function Mn(e,n){return Ze((t,r)=>{let i=0;t.subscribe(Be(r,o=>e.call(n,o,i++)&&r.next(o)))})}function Ys(e){return Ze((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class Vc{}class jc{}class Xt{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.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"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Xt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Xt;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Xt?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Jj{encodeKey(n){return MI(n)}encodeValue(n){return MI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const tH=/%(\d[a-f0-9])/gi,nH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function MI(e){return encodeURIComponent(e).replace(tH,(n,t)=>nH[t]??n)}function Hc(e){return`${e}`}class Dr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Jj,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function eH(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Hc):[Hc(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Dr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Hc(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Hc(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class rH{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function NI(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function AI(e){return typeof Blob<"u"&&e instanceof Blob}function xI(e){return typeof FormData<"u"&&e instanceof FormData}class Qs{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function iH(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?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||(this.headers=new Xt),this.context||(this.context=new rH),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),c)),new Qs(t,r,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}}var Cr=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}(Cr||{});class Lp{constructor(n,t=200,r="OK"){this.headers=n.headers||new Xt,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class $c extends Lp{constructor(n={}){super(n),this.type=Cr.ResponseHeader}clone(n={}){return new $c({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Yr extends Lp{constructor(n={}){super(n),this.type=Cr.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Yr({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ho extends Lp{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Vp(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Ks=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Qs)o=t;else{let l,c;l=i.headers instanceof Xt?i.headers:new Xt(i.headers),i.params&&(c=i.params instanceof Dr?i.params:new Dr({fromObject:i.params})),o=new Qs(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=L(o).pipe(fo(l=>this.handler.handle(l)));if(t instanceof Qs||"events"===i.observe)return s;const a=s.pipe(Mn(l=>l instanceof Yr));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Dr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Vp(i,r))}post(t,r,i={}){return this.request("POST",t,Vp(i,r))}put(t,r,i={}){return this.request("PUT",t,Vp(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Vc))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function kI(e,n){return n(e)}function uH(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const fH=new M(""),Xs=new M(""),RI=new M(""),PI=new M("");function hH(){let e=null;return(n,t)=>{null===e&&(e=(T(fH,{optional:!0})??[]).reduceRight(uH,kI));const r=T(tc),i=r.add();return e(n,t).pipe(Ys(()=>r.remove(i)))}}let FI=(()=>{class e extends Vc{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=T(tc);const i=T(PI,{optional:!0});this.backend=i??t}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Xs),...this.injector.get(RI,[])]));this.chain=i.reduceRight((o,s)=>function dH(e,n,t){return(r,i)=>t.runInContext(()=>n(r,o=>e(o,i)))}(o,s,this.injector),kI)}const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Ys(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(A(jc),A(Ht))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const vH=/^\)\]\}',?\n/;let VI=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new E(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ue(r.\u0275loadImpl()):L(null)).pipe(Rt(()=>new Ne(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,_)=>s.setRequestHeader(v,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=s.statusText||"OK",_=new Xt(s.getAllResponseHeaders()),b=function _H(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new $c({headers:_,status:s.status,statusText:v,url:b}),l},u=()=>{let{headers:v,status:_,statusText:b,url:w}=c(),S=null;204!==_&&(S=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=S?200:0);let F=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof S){const G=S;S=S.replace(vH,"");try{S=""!==S?JSON.parse(S):null}catch(Me){S=G,F&&(F=!1,S={error:Me,text:S})}}F?(o.next(new Yr({body:S,headers:v,status:_,statusText:b,url:w||void 0})),o.complete()):o.error(new ho({error:S,headers:v,status:_,statusText:b,url:w||void 0}))},d=v=>{const{url:_}=c(),b=new ho({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(b)};let f=!1;const h=v=>{f||(o.next(c()),f=!0);let _={type:Cr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(_.total=v.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},p=v=>{let _={type:Cr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(_.total=v.total),o.next(_)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:Cr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(A(Kb))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const $p=new M("XSRF_ENABLED"),jI=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),HI=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class $I{}let CH=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=jb(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(A(ut),A(lr),A(jI))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function bH(e,n){const t=e.url.toLowerCase();if(!T($p)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=T($I).getToken(),i=T(HI);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var br=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(br||{});function EH(...e){const n=[Ks,VI,FI,{provide:Vc,useExisting:FI},{provide:jc,useExisting:VI},{provide:Xs,useValue:bH,multi:!0},{provide:$p,useValue:!0},{provide:$I,useClass:CH}];for(const t of e)n.push(...t.\u0275providers);return function Dd(e){return{\u0275providers:e}}(n)}const BI=new M("LEGACY_INTERCEPTOR_FN");function IH(){return function Qr(e,n){return{\u0275kind:e,\u0275providers:n}}(br.LegacyInterceptors,[{provide:BI,useFactory:hH},{provide:Xs,useExisting:BI,multi:!0}])}let TH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({providers:[EH(IH())]})}return e})();var xe=function(){function e(n,t,r){this.el=n,this.vcr=t,this.renderer=r,this.dtOptions={}}return e.prototype.ngOnInit=function(){var n=this;this.dtTrigger?this.dtTrigger.subscribe(function(t){n.displayTable(t)}):this.displayTable(null)},e.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},e.prototype.displayTable=function(n){var t=this;n&&(this.dtOptions=n),this.dtInstance=new Promise(function(r,i){Promise.resolve(t.dtOptions).then(function(o){0===Object.keys(o).length&&0===$("tbody tr",t.el.nativeElement).length?i("Both the table and dtOptions cannot be empty"):setTimeout(function(){var a={rowCallback:function(l,c,u){if(o.columns){var d=o.columns;t.applyNgPipeTransform(l,d),t.applyNgRefTemplate(l,d,c)}o.rowCallback&&o.rowCallback(l,c,u)}};a=Object.assign({},o,a),t.dt=$(t.el.nativeElement).DataTable(a),r(t.dt)})})})},e.prototype.applyNgPipeTransform=function(n,t){t.filter(function(i){return i.ngPipeInstance&&!i.ngTemplateRef}).forEach(function(i){var o=i.ngPipeInstance,s=i.ngPipeArgs||[],a=t.filter(function(d){return!1!==d.visible}).findIndex(function(d){return d.data===i.data}),l=n.childNodes.item(a),c=$(l).text(),u=o.transform.apply(o,function(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r{YI(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l{const c=Ue(e[l],n);let u=!1;c.subscribe(Be(r,d=>{o[l]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>DE(i,s):Jn));return t?o.pipe(wE(t)):o}function YI(e,n,t){e?Fn(t,e,n):n()}const Uc=mu(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Up(...e){return function FH(){return oi(1)}()(Ue(e,xo(e)))}function QI(e){return new Ne(n=>{kt(e()).subscribe(n)})}function zc(e,n){const t=De(e)?e:()=>e,r=i=>i.error(t());return new Ne(n?i=>n.schedule(r,0,i):r)}function zp(){return Ze((e,n)=>{let t=null;e._refCount++;const r=Be(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class KI extends Ne{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Bg(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new bt;const t=this.getSubject();n.add(this.source.subscribe(Be(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=bt.EMPTY)}return n}refCount(){return zp()(this)}}function po(e){return e<=0?()=>un:Ze((n,t)=>{let r=0;n.subscribe(Be(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function XI(...e){const n=xo(e);return Ze((t,r)=>{(n?Up(e,t,n):Up(e,t)).subscribe(r)})}function Gc(e){return Ze((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function JI(e=LH){return Ze((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function LH(){return new Uc}function Er(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((i,o)=>e(i,o,r)):Jn,po(1),t?Gc(n):JI(()=>new Uc))}function ft(e,n,t){const r=De(e)||n||t?{next:e,error:n,complete:t}:e;return r?Ze((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Be(o,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),o.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Jn}function go(e){return Ze((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Be(t,void 0,void 0,s=>{o=kt(e(s,go(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Gp(e){return e<=0?()=>un:Ze((n,t)=>{let r=[];n.subscribe(Be(t,i=>{r.push(i),e{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function eT(e){return ee(()=>e)}function tT(e){return Ze((n,t)=>{kt(e).subscribe(Be(t,()=>t.complete(),vu)),!t.closed&&n.subscribe(t)})}const Y="primary",Js=Symbol("RouteTitle");class $H{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function mo(e){return new $H(e)}function BH(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function rT(e){return e.length>0?e[e.length-1]:null}function Ir(e){return function RH(e){return!!e&&(e instanceof Ne||De(e.lift)&&De(e.subscribe))}(e)?e:Os(e)?Ue(Promise.resolve(e)):L(e)}const zH={exact:function sT(e,n,t){if(!Kr(e.segments,n.segments)||!Wc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!sT(e.children[r],n.children[r],t))return!1;return!0},subset:aT},iT={exact:function GH(e,n){return Nn(e,n)},subset:function WH(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>nT(e[t],n[t]))},ignored:()=>!0};function oT(e,n,t){return zH[t.paths](e.root,n.root,t.matrixParams)&&iT[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function aT(e,n,t){return lT(e,n,n.segments,t)}function lT(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Kr(i,t)||n.hasChildren()||!Wc(i,t,r))}if(e.segments.length===t.length){if(!Kr(e.segments,t)||!Wc(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!aT(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Kr(e.segments,i)&&Wc(e.segments,i,r)&&e.children[Y])&&lT(e.children[Y],n,o,r)}}function Wc(e,n,t){return n.every((r,i)=>iT[t](e[i].parameters,r.parameters))}class yo{constructor(n=new he([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mo(this.queryParams)),this._queryParamMap}toString(){return YH.serialize(this)}}class he{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qc(this)}}class ea{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=mo(this.parameters)),this._parameterMap}toString(){return dT(this)}}function Kr(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let vo=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>new qp,providedIn:"root"})}return e})();class qp{parse(n){const t=new s$(n);return new yo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${ta(n.root,!0)}`,r=function XH(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${Zc(t)}=${Zc(i)}`).join("&"):`${Zc(t)}=${Zc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function QH(e){return encodeURI(e)}(n.fragment)}`:""}`}}const YH=new qp;function qc(e){return e.segments.map(n=>dT(n)).join("/")}function ta(e,n){if(!e.hasChildren())return qc(e);if(n){const t=e.children[Y]?ta(e.children[Y],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==Y&&r.push(`${i}:${ta(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function ZH(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===Y&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==Y&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===Y?[ta(e.children[Y],!1)]:[`${i}:${ta(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Y]?`${qc(e)}/${t[0]}`:`${qc(e)}/(${t.join("//")})`}}function cT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zc(e){return cT(e).replace(/%3B/gi,";")}function Zp(e){return cT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yc(e){return decodeURIComponent(e)}function uT(e){return Yc(e.replace(/\+/g,"%20"))}function dT(e){return`${Zp(e.path)}${function KH(e){return Object.keys(e).map(n=>`;${Zp(n)}=${Zp(e[n])}`).join("")}(e.parameters)}`}const JH=/^[^\/()?;#]+/;function Yp(e){const n=e.match(JH);return n?n[0]:""}const e$=/^[^\/()?;=#]+/,n$=/^[^=?&#]+/,i$=/^[^&#]+/;class s${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new he([],{}):new he([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[Y]=new he(n,t)),r}parseSegment(){const n=Yp(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new ea(Yc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function t$(e){const n=e.match(e$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Yp(this.remaining);i&&(r=i,this.capture(r))}n[Yc(t)]=Yc(r)}parseQueryParam(n){const t=function r$(e){const n=e.match(n$);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function o$(e){const n=e.match(i$);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=uT(t),o=uT(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Yp(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Y);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[Y]:new he([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}}function fT(e){return e.segments.length>0?new he([],{[Y]:e}):e}function hT(e){const n={};for(const r of Object.keys(e.children)){const o=hT(e.children[r]);if(r===Y&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function a$(e){if(1===e.numberOfChildren&&e.children[Y]){const n=e.children[Y];return new he(e.segments.concat(n.segments),n.children)}return e}(new he(e.segments,n))}function Xr(e){return e instanceof yo}function pT(e){let n;const i=fT(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new he(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function gT(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Qp(i,i,i,t,r);const o=function c$(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new yT(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new yT(t,n,r)}(n);if(o.toRoot())return Qp(i,i,new he([],{}),t,r);const s=function u$(e,n,t){if(e.isAbsolute)return new Kc(n,!0,0);if(!t)return new Kc(n,!1,NaN);if(null===t.parent)return new Kc(t,!0,0);const r=Qc(e.commands[0])?0:1;return function d$(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new Kc(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?ra(s.segmentGroup,s.index,o.commands):vT(s.segmentGroup,s.index,o.commands);return Qp(i,s.segmentGroup,a,t,r)}function Qc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function na(e){return"object"==typeof e&&null!=e&&e.outlets}function Qp(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:mT(e,n,t);const a=fT(hT(s));return new yo(a,o,i)}function mT(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:mT(o,n,t)}),new he(e.segments,r)}class yT{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Qc(r[0]))throw new E(4003,!1);const i=r.find(na);if(i&&i!==rT(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function vT(e,n,t){if(e||(e=new he([],{})),0===e.segments.length&&e.hasChildren())return ra(e,n,t);const r=function h$(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if(na(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!wT(l,c,s))return o;r+=2}else{if(!wT(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==Y)&&e.children[Y]&&1===e.numberOfChildren&&0===e.children[Y].segments.length){const o=ra(e.children[Y],n,t);return new he(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=vT(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new he(e.segments,i)}}function Kp(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Kp(new he([],{}),0,r))}),n}function _T(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function wT(e,n,t){return e==t.path&&Nn(n,t.parameters)}const ia="imperative";class An{constructor(n,t){this.id=n,this.url=t}}class Xc extends An{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xn extends An{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _o extends An{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class wo extends An{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Jc extends An{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class DT extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class g$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class m$ extends An{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class y$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class v$ extends An{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _${constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class w${constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class D${constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class C${constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class b${constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class E${constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CT{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Xp{}class Jp{constructor(n){this.url=n}}class I${constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new oa,this.attachRef=null}}let oa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new I$,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class bT{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=eg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=eg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=tg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return tg(n,this._root).map(t=>t.value)}}function eg(e,n){if(e===n.value)return n;for(const t of n.children){const r=eg(e,t);if(r)return r}return null}function tg(e,n){if(e===n.value)return[n];for(const t of n.children){const r=tg(e,t);if(r.length)return r.unshift(n),r}return[]}class ln{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Do(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class ET extends bT{constructor(n,t){super(n),this.snapshot=t,ig(this,n)}toString(){return this.snapshot.toString()}}function IT(e,n){const t=function T$(e,n){const s=new rg([],{},{},"",{},Y,n,null,{});return new TT("",new ln(s,[]))}(0,n),r=new qt([new ea("",{})]),i=new qt({}),o=new qt({}),s=new qt({}),a=new qt(""),l=new Jr(r,i,s,a,o,Y,n,t.root);return l.snapshot=t.root,new ET(new ln(l,[]),t)}class Jr{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[Js]))??L(void 0),this.url=n,this.params=t,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._paramMap=this.params.pipe(ee(n=>mo(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(n=>mo(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ng(e,n,t="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===n||"always"!==t&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:e.params,data:e.data,resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...i?.data,...e._resolvedData}},i&&MT(i)&&(r.resolve[Js]=i.title),r}class rg{get title(){return this.data?.[Js]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class TT extends bT{constructor(n,t){super(t),this.url=n,ig(this,t)}toString(){return ST(this._root)}}function ig(e,n){n.value._routerState=e,n.children.forEach(t=>ig(e,t))}function ST(e){const n=e.children.length>0?` { ${e.children.map(ST).join(", ")} } `:"";return`${e.value}${n}`}function og(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Nn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Nn(n.params,t.params)||e.paramsSubject.next(t.params),function UH(e,n){if(e.length!==n.length)return!1;for(let t=0;tNn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||sg(e.parent,n.parent))}function MT(e){return"string"==typeof e.title||null===e.title}let ag=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Y,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.parentContexts=T(oa),this.location=T(At),this.changeDetector=T(ps),this.environmentInjector=T(Ht),this.inputBinder=T(eu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new S$(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=H({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Lt]})}return e})();class S${constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Jr?this.route:n===oa?this.childContexts:this.parent.get(n,t)}}const eu=new M("");let NT=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Bp([r.queryParams,r.params,r.data]).pipe(Rt(([o,s,a],l)=>(a={...o,...s,...a},0===l?L(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function SL(e){const n=Q(e);if(!n)return null;const t=new gs(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function sa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function N$(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return sa(e,r,i);return sa(e,r)})}(e,n,t);return new ln(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>sa(e,a)),s}}const r=function A$(e){return new Jr(new qt(e.url),new qt(e.params),new qt(e.queryParams),new qt(e.fragment),new qt(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>sa(e,o));return new ln(r,i)}}const lg="ngNavigationCancelingError";function AT(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Xr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=xT(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function xT(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[lg]=!0,r.cancellationCode=n,t&&(r.url=t),r}function OT(e){return e&&e[lg]}let kT=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["ng-component"]],standalone:!0,features:[oC],decls:1,vars:0,template:function(r,i){1&r&&R(0,"router-outlet")},dependencies:[ag],encapsulation:2})}return e})();function cg(e){const n=e.children&&e.children.map(cg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Y&&(t.component=kT),t}function On(e){return e.outlet||Y}function aa(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class V${constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),og(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=Do(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Do(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Do(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=Do(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new E$(o.value.snapshot))}),n.children.length&&this.forwardEvent(new C$(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(og(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const 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),og(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=aa(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class RT{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class tu{constructor(n,t){this.component=n,this.route=t}}function j$(e,n,t){const r=e._root;return la(r,n?n._root:null,t,[r.value])}function Co(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function MM(e){return null!==ba(e)}(e)?n.get(e):e:r}function la(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Do(n);return e.children.forEach(s=>{(function $$(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function B$(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Kr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Kr(e.url,n.url)||!Nn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sg(e,n)||!Nn(e.queryParams,n.queryParams);default:return!sg(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new RT(r)):(o.data=s.data,o._resolvedData=s._resolvedData),la(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new tu(a.outlet.component,s))}else s&&ca(n,a,i),i.canActivateChecks.push(new RT(r)),la(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>ca(a,t.getContext(s),i)),i}function ca(e,n,t){const r=Do(e),i=e.value;Object.entries(r).forEach(([o,s])=>{ca(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new tu(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function ua(e){return"function"==typeof e}function PT(e){return e instanceof Uc||"EmptyError"===e?.name}const nu=Symbol("INITIAL_VALUE");function bo(){return Rt(e=>Bp(e.map(n=>n.pipe(po(1),XI(nu)))).pipe(ee(n=>{for(const t of n)if(!0!==t){if(t===nu)return nu;if(!1===t||t instanceof yo)return t}return!0}),Mn(n=>n!==nu),po(1)))}function FT(e){return function OS(...e){return jg(e)}(ft(n=>{if(Xr(n))throw AT(0,n)}),ee(n=>!0===n))}class ug{constructor(n){this.segmentGroup=n||null}}class dg extends Error{constructor(n){super(),this.urlTree=n}}function Eo(e){return zc(new ug(e))}class lB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new E(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return L(r);if(i.numberOfChildren>1||!i.children[Y])return zc(new E(4e3,!1));i=i.children[Y]}}applyRedirectCommands(n,t,r){const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new dg(i);return i}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new yo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new he(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const fg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function cB(e,n,t,r,i){const o=hg(e,n,t);return o.matched?(r=function O$(e,n){return e.providers&&!e._injector&&(e._injector=lh(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function oB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?L(i.map(s=>{const a=Co(s,e);return Ir(function Z$(e){return e&&ua(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(bo(),FT()):L(!0)}(r,n,t).pipe(ee(s=>!0===s?o:{...fg}))):L(o)}function hg(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...fg}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||BH)(t,e,n);if(!i)return{...fg};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function LT(e,n,t,r){return t.length>0&&function fB(e,n,t){return t.some(r=>ru(e,n,r)&&On(r)!==Y)}(e,t,r)?{segmentGroup:new he(n,dB(r,new he(t,e.children))),slicedSegments:[]}:0===t.length&&function hB(e,n,t){return t.some(r=>ru(e,n,r))}(e,t,r)?{segmentGroup:new he(e.segments,uB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new he(e.segments,e.children),slicedSegments:t}}function uB(e,n,t,r,i){const o={};for(const s of r)if(ru(e,t,s)&&!i[On(s)]){const a=new he([],{});o[On(s)]=a}return{...i,...o}}function dB(e,n){const t={};t[Y]=n;for(const r of e)if(""===r.path&&On(r)!==Y){const i=new he([],{});t[On(r)]=i}return t}function ru(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class mB{}class _B{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new lB(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new E(4002,!1)}recognize(){const n=LT(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ee(t=>{const r=new rg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Y,this.rootComponentType,null,{}),i=new ln(r,t),o=new TT("",i),s=function l$(e,n,t=null,r=null){return gT(pT(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,Y).pipe(go(r=>{if(r instanceof dg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ug?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,i=ng(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(ee(o=>o instanceof ln?[o]:[]))}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Ue(i).pipe(fo(o=>{const s=r.children[o],a=function F$(e,n){const t=e.filter(r=>On(r)===n);return t.push(...e.filter(r=>On(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function jH(e,n){return Ze(function VH(e,n,t,r,i){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(Be(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((o,s)=>(o.push(...s),o)),Gc(null),function HH(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Mn((i,o)=>e(i,o,r)):Jn,Gp(1),t?Gc(n):JI(()=>new Uc))}(),it(o=>{if(null===o)return Eo(r);const s=VT(o);return function wB(e){e.sort((n,t)=>n.value.outlet===Y?-1:t.value.outlet===Y?1:n.value.outlet.localeCompare(t.value.outlet))}(s),L(s)}))}processSegment(n,t,r,i,o,s){return Ue(t).pipe(fo(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(go(l=>{if(l instanceof ug)return L(null);throw l}))),Er(a=>!!a),go(a=>{if(PT(a))return function gB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?L(new mB):Eo(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function pB(e,n,t,r){return!!(On(e)===r||r!==Y&&ru(n,t,e))&&("**"===e.path||hg(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Eo(i):Eo(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}="**"===i.path?jT(o):hg(t,i,o);if(!a)return Eo(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(it(f=>this.processSegment(n,r,t,f.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){let s;return"**"===r.path?(s=L(jT(i)),t.children={}):s=cB(t,r,i,n),s.pipe(Rt(a=>a.matched?this.getChildConfig(n=r._injector??n,r,i).pipe(Rt(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:f}=a,h=new rg(u,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function CB(e){return e.data||{}}(r),On(r),r.component??r._loadedComponent??null,r,function bB(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:v}=LT(t,u,d,l);if(0===v.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(ee(b=>null===b?null:new ln(h,b)));if(0===l.length&&0===v.length)return L(new ln(h,[]));const _=On(r)===o;return this.processSegment(c,l,p,v,_?Y:o,!0).pipe(ee(b=>new ln(h,b instanceof ln?[b]:[])))})):Eo(t)))}getChildConfig(n,t,r){return t.children?L({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?L({routes:t._loadedRoutes,injector:t._loadedInjector}):function iB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?L(!0):L(i.map(s=>{const a=Co(s,e);return Ir(function z$(e){return e&&ua(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(bo(),FT())}(n,t,r).pipe(it(i=>i?this.configLoader.loadChildren(n,t).pipe(ft(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function aB(e){return zc(xT(!1,3))}())):L({routes:[],injector:n})}}function DB(e){const n=e.value.routeConfig;return n&&""===n.path}function VT(e){const n=[],t=new Set;for(const r of e){if(!DB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=VT(r.children);n.push(new ln(r.value,i))}return n.filter(r=>!t.has(r))}function jT(e){return{matched:!0,parameters:e.length>0?rT(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function IB(e,n){return it(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return L(t);const o=i.map(c=>c.route),s=new Set(o),a=HT(o[0].parent).slice(1);let l=0;return Ue(a).pipe(fo(c=>s.has(c)?function TB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!MT(i)&&(o[Js]=i.title),function SB(e,n,t,r){const i=Wp(e);if(0===i.length)return L({});const o={};return Ue(i).pipe(it(s=>function MB(e,n,t,r){const i=aa(n)??r,o=Co(e,i);return Ir(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(Er(),ft(a=>{o[s]=a}))),Gp(1),eT(o),go(s=>PT(s)?un:zc(s)))}(o,e,n,r).pipe(ee(s=>(e._resolvedData=s,e.data=ng(e,e.parent,t).resolve,null)))}(c,r,e,n):(c.data=ng(c,c.parent,e).resolve,L(void 0))),ft(()=>l++),Gp(1),it(c=>l===a.length?L(t):un))})}function HT(e){const n=e.children.map(t=>HT(t)).flat();return[e,...n]}function pg(e){return Rt(n=>{const t=e(n);return t?Ue(t).pipe(ee(()=>n)):L(n)})}let $T=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===Y);return r}getResolvedTitleForRoute(t){return t.data[Js]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(NB),providedIn:"root"})}return e})(),NB=(()=>{class e extends $T{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(A(pE))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Io=new M("",{providedIn:"root",factory:()=>({})}),To=new M("ROUTES");let gg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=T($C)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return L(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Ir(t.loadComponent()).pipe(ee(BT),ft(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ys(()=>{this.componentLoaders.delete(t)})),i=new KI(r,()=>new $e).pipe(zp());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return L({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function AB(e,n,t,r){return Ir(e.loadChildren()).pipe(ee(BT),it(i=>i instanceof rC||Array.isArray(i)?L(i):Ue(n.compileModuleAsync(i))),ee(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(t).injector,s=o.get(To,[],{optional:!0,self:!0}).flat()),{routes:s.map(cg),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Ys(()=>{this.childrenLoaders.delete(r)})),s=new KI(o,()=>new $e).pipe(zp());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function BT(e){return function xB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let mg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(OB),providedIn:"root"})}return e})(),OB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const UT=new M(""),zT=new M("");function kB(e,n,t){const r=e.get(zT),i=e.get(ut);return e.get(oe).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),function RB(e){return new Promise(n=>{T_(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&function C0(e,n){e instanceof Rr&&e.assertNotDestroyed();const r=nr(e),i=Tt(void 0);try{return n()}finally{nr(r),Tt(i)}}(e,()=>l({transition:a,from:n,to:t})),s})}let iu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new $e,this.transitionAbortSubject=new $e,this.configLoader=T(gg),this.environmentInjector=T(Ht),this.urlSerializer=T(vo),this.rootContexts=T(oa),this.location=T(so),this.inputBindingEnabled=null!==T(eu,{optional:!0}),this.titleStrategy=T($T),this.options=T(Io,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=T(mg),this.createViewTransition=T(UT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>L(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new w$(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new _$(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new qt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ia,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Mn(o=>0!==o.id),ee(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Rt(o=>{this.currentTransition=o;let s=!1,a=!1;return L(o).pipe(ft(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Rt(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new wo(l.id,this.urlSerializer.serialize(l.rawUrl),d,0)),l.resolve(null),un}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return L(l).pipe(Rt(d=>{const f=this.transitions?.getValue();return this.events.next(new Xc(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?un:Promise.resolve(d)}),function EB(e,n,t,r,i,o){return it(s=>function yB(e,n,t,r,i,o,s="emptyOnly"){return new _B(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(ee(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ft(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new DT(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:v}=l,_=new Xc(d,this.urlSerializer.serialize(f),h,p);this.events.next(_);const b=IT(0,this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:b,urlAfterRedirects:f,extras:{...v,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,L(o)}{const d="";return this.events.next(new wo(l.id,this.urlSerializer.serialize(l.extractedUrl),d,1)),l.resolve(null),un}}),ft(l=>{const c=new g$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ee(l=>(this.currentTransition=o={...l,guards:j$(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function Q$(e,n){return it(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?L({...t,guardsResult:!0}):function K$(e,n,t,r){return Ue(e).pipe(it(i=>function rB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?L(o.map(a=>{const l=aa(n)??i,c=Co(a,l);return Ir(function q$(e){return e&&ua(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(Er())})).pipe(bo()):L(!0)}(i.component,i.route,t,n,r)),Er(i=>!0!==i,!0))}(s,r,i,e).pipe(it(a=>a&&function U$(e){return"boolean"==typeof e}(a)?function X$(e,n,t,r){return Ue(n).pipe(fo(i=>Up(function eB(e,n){return null!==e&&n&&n(new D$(e)),L(!0)}(i.route.parent,r),function J$(e,n){return null!==e&&n&&n(new b$(e)),L(!0)}(i.route,r),function nB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function H$(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>QI(()=>L(s.guards.map(l=>{const c=aa(s.node)??t,u=Co(l,c);return Ir(function W$(e){return e&&ua(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(Er())})).pipe(bo())));return L(o).pipe(bo())}(e,i.path,t),function tB(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return L(!0);const i=r.map(o=>QI(()=>{const s=aa(n)??t,a=Co(o,s);return Ir(function G$(e){return e&&ua(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Er())}));return L(i).pipe(bo())}(e,i.route,t))),Er(i=>!0!==i,!0))}(r,o,e,n):L(a)),ee(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),ft(l=>{if(o.guardsResult=l.guardsResult,Xr(l.guardsResult))throw AT(0,l.guardsResult);const c=new m$(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),Mn(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),pg(l=>{if(l.guards.canActivateChecks.length)return L(l).pipe(ft(c=>{const u=new y$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Rt(c=>{let u=!1;return L(c).pipe(IB(this.paramsInheritanceStrategy,this.environmentInjector),ft({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",2)}}))}),ft(c=>{const u=new v$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),pg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(ft(f=>{u.component=f}),ee(()=>{})));for(const f of u.children)d.push(...c(f));return d};return Bp(c(l.targetSnapshot.root)).pipe(Gc(),po(1))}),pg(()=>this.afterPreactivation()),Rt(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Ue(u).pipe(ee(()=>o)):L(o)}),ee(l=>{const c=function M$(e,n,t){const r=sa(e,n._root,t?t._root:void 0);return new ET(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),ft(()=>{this.events.next(new Xp)}),((e,n,t,r)=>ee(i=>(new V$(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),po(1),ft({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),tT(this.transitionAbortSubject.pipe(ft(l=>{throw l}))),Ys(()=>{s||a||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),go(l=>{if(a=!0,OT(l))this.events.next(new _o(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function x$(e){return OT(e)&&Xr(e.url)}(l)?this.events.next(new Jp(l.url)):o.resolve(!1);else{this.events.next(new Jc(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){o.reject(c)}}return un}))}))}cancelNavigationTransition(t,r,i){const o=new _o(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function PB(e){return e!==ia}let FB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(VB),providedIn:"root"})}return e})();class LB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let VB=(()=>{class e extends LB{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GT=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:()=>T(jB),providedIn:"root"})}return e})(),jB=(()=>{class e extends GT{constructor(){super(...arguments),this.location=T(so),this.urlSerializer=T(vo),this.options=T(Io,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=T(mg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=IT(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Xc)this.stateMemento=this.createStateMemento();else if(t instanceof wo)this.rawUrlTree=r.initialUrl;else if(t instanceof DT){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof Xp?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof _o&&(3===t.code||2===t.code)?this.restoreHistory(r):t instanceof Jc?this.restoreHistory(r,!0):t instanceof xn&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=tt(e)))(i||e)}})();static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var da=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(da||{});function WT(e,n){e.events.pipe(Mn(t=>t instanceof xn||t instanceof _o||t instanceof Jc||t instanceof wo),ee(t=>t instanceof xn||t instanceof wo?da.COMPLETE:t instanceof _o&&(0===t.code||1===t.code)?da.REDIRECTING:da.FAILED),Mn(t=>t!==da.REDIRECTING),po(1)).subscribe(()=>{n()})}function HB(e){throw e}const $B={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ot=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=T(jC),this.stateManager=T(GT),this.options=T(Io,{optional:!0})||{},this.pendingTasks=T(tc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=T(iu),this.urlSerializer=T(vo),this.location=T(so),this.urlHandlingStrategy=T(mg),this._events=new $e,this.errorHandler=this.options.errorHandler||HB,this.navigated=!1,this.routeReuseStrategy=T(FB),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=T(To,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!T(eu,{optional:!0}),this.eventsSubscription=new bt,this.isNgZoneEnabled=T(oe)instanceof oe&&oe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof _o&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof xn)this.navigated=!0;else if(r instanceof Jp){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||PB(i.source)};this.scheduleNavigation(s,ia,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function zB(e){return!(e instanceof Xp||e instanceof Jp)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ia,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);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(t){this.config=t.map(cg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=pT(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return gT(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Xr(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,ia,null,r)}navigate(t,r={skipLocationChange:!1}){return function UB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return WT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fa=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new $e,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof xn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function Av(e,n,t){return function GA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Nv:Mv}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot),C(Jr),function Ua(e){return function HN(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Mn(t=>t instanceof xn),fo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=lh(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ue(i).pipe(oi())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):L(null);const o=i.pipe(it(s=>null===s?L(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Ue([o,this.loader.loadComponent(r)]).pipe(oi()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(A(Ot),A($C),A(Ht),A(qT),A(gg))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const yg=new M("");let ZT=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Xc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof xn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof wo&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof CT&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new CT(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function Jv(){throw new Error("invalid")}()};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function kn(e,n){return{\u0275kind:e,\u0275providers:n}}function QT(){const e=T(yt);return n=>{const t=e.get(ro);if(n!==t.components[0])return;const r=e.get(Ot),i=e.get(KT);1===e.get(vg)&&r.initialNavigation(),e.get(XT,null,K.Optional)?.setUpPreloading(),e.get(yg,null,K.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const KT=new M("",{factory:()=>new $e}),vg=new M("",{providedIn:"root",factory:()=>1}),XT=new M("");function KB(e){return kn(0,[{provide:XT,useExisting:qB},{provide:qT,useExisting:e}])}function JB(e){return kn(9,[{provide:UT,useValue:kB},{provide:zT,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const JT=new M("ROUTER_FORROOT_GUARD"),eU=[so,{provide:vo,useClass:qp},Ot,oa,{provide:Jr,useFactory:function YT(e){return e.routerState.root},deps:[Ot]},gg,[]];let eS=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[eU,[],{provide:To,multi:!0,useValue:t},{provide:JT,useFactory:iU,deps:[[Ot,new Wa,new qa]]},{provide:Io,useValue:r||{}},r?.useHash?{provide:Wr,useClass:OL}:{provide:Wr,useClass:Nb},{provide:yg,useFactory:()=>{const e=T(Y2),n=T(oe),t=T(Io),r=T(iu),i=T(vo);return t.scrollOffset&&e.setOffset(t.scrollOffset),new ZT(i,r,e,n,t)}},r?.preloadingStrategy?KB(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?oU(r):[],r?.bindToComponentInputs?kn(8,[NT,{provide:eu,useExisting:NT}]).\u0275providers:[],r?.enableViewTransitions?JB().\u0275providers:[],[{provide:tS,useFactory:QT},{provide:Sh,multi:!0,useExisting:tS}]]}}static forChild(t){return{ngModule:e,providers:[{provide:To,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(A(JT,8))};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({})}return e})();function iU(e){return"guarded"}function oU(e){return["disabled"===e.initialNavigation?kn(3,[{provide:wh,multi:!0,useFactory:()=>{const n=T(Ot);return()=>{n.setUpLocationChangeListener()}}},{provide:vg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?kn(2,[{provide:vg,useValue:0},{provide:wh,multi:!0,deps:[yt],useFactory:n=>{const t=n.get(AL,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Ot),o=n.get(KT);WT(i,()=>{r(!0)}),n.get(iu).afterPreactivation=()=>(r(!0),o.closed?L(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const tS=new M("");class aU extends bt{constructor(n,t){super()}schedule(n,t=0){return this}}const ou={setInterval(e,n,...t){const{delegate:r}=ou;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ou;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},_g={now:()=>(_g.delegate||Date).now(),delegate:void 0};class ha{constructor(n,t=ha.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}ha.now=_g.now;const uU=new class cU extends ha{constructor(n,t=ha.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class lU extends aU{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return ou.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&ou.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,ya(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}});class hU extends $e{constructor(n=1/0,t=1/0,r=_g){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s"']/,gU=new RegExp(rS.source,"g"),iS=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mU=new RegExp(iS.source,"g"),yU={"&":"&","<":"<",">":">",'"':""","'":"'"},oS=e=>yU[e];function Wt(e,n){if(n){if(rS.test(e))return e.replace(gU,oS)}else if(iS.test(e))return e.replace(mU,oS);return e}const vU=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,wU=/(^|[^\[])\^/g;function le(e,n){e="string"==typeof e?e:e.source,n=n||"";const t={replace:(r,i)=>(i=(i="object"==typeof i&&"source"in i?i.source:i).replace(wU,"$1"),e=e.replace(r,i),t),getRegex:()=>new RegExp(e,n)};return t}function sS(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const su={exec:()=>null};function aS(e,n){const r=e.replace(/\|/g,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),n)if(r.length>n)r.splice(n);else for(;r.length0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const r=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:au(r,"\n")}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const r=t[0],i=function CU(e,n){const t=e.match(/^(\s+)(?:```)/);if(null===t)return n;const r=t[1];return n.split("\n").map(i=>{const o=i.match(/^\s+/);if(null===o)return i;const[s]=o;return s.length>=r.length?i.slice(r.length):i}).join("\n")}(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:i}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let r=t[2].trim();if(/#$/.test(r)){const i=au(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:t[0]}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){const r=au(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),i=this.lexer.state.top;this.lexer.state.top=!0;const o=this.lexer.blockTokens(r);return this.lexer.state.top=i,{type:"blockquote",raw:t[0],tokens:o,text:r}}}list(n){let t=this.rules.block.list.exec(n);if(t){let r=t[1].trim();const i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const s=new RegExp(`^( {0,3}${r})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a="",l="",c=!1;for(;n;){let u=!1;if(!(t=s.exec(n))||this.rules.block.hr.test(n))break;a=t[0],n=n.substring(a.length);let d=t[2].split("\n",1)[0].replace(/^\t+/,b=>" ".repeat(3*b.length)),f=n.split("\n",1)[0],h=0;this.options.pedantic?(h=2,l=d.trimStart()):(h=t[2].search(/[^ ]/),h=h>4?1:h,l=d.slice(h),h+=t[1].length);let p=!1;if(!d&&/^ *$/.test(f)&&(a+=f+"\n",n=n.substring(f.length+1),u=!0),!u){const b=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),w=new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),S=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),F=new RegExp(`^ {0,${Math.min(3,h-1)}}#`);for(;n;){const G=n.split("\n",1)[0];if(f=G,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),S.test(f)||F.test(f)||b.test(f)||w.test(n))break;if(f.search(/[^ ]/)>=h||!f.trim())l+="\n"+f.slice(h);else{if(p||d.search(/[^ ]/)>=4||S.test(d)||F.test(d)||w.test(d))break;l+="\n"+f}!p&&!f.trim()&&(p=!0),a+=G+"\n",n=n.substring(G.length+1),d=f.slice(h)}}o.loose||(c?o.loose=!0:/\n *\n *$/.test(a)&&(c=!0));let _,v=null;this.options.gfm&&(v=/^\[[ xX]\] /.exec(l),v&&(_="[ ] "!==v[0],l=l.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:a,task:!!v,checked:_,loose:!1,text:l,tokens:[]}),o.raw+=a}o.items[o.items.length-1].raw=a.trimEnd(),o.items[o.items.length-1].text=l.trimEnd(),o.raw=o.raw.trimEnd();for(let u=0;u"space"===h.type),f=d.length>0&&d.some(h=>/\n.*\n/.test(h.raw));o.loose=f}if(o.loose)for(let u=0;u$/,"$1").replace(this.rules.inline._escapes,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:i,title:o}}}table(n){const t=this.rules.block.table.exec(n);if(t){if(!/[:|]/.test(t[2]))return;const r={type:"table",raw:t[0],header:aS(t[1]).map(i=>({text:i,tokens:[]})),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(r.header.length===r.align.length){let o,s,a,l,i=r.align.length;for(o=0;o({text:c,tokens:[]}));for(i=r.header.length,s=0;s/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const r=t[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const s=au(r.slice(0,-1),"\\");if((r.length-s.length)%2==0)return}else{const s=function DU(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let r=0;r-1){const l=(0===t[0].indexOf("!")?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let i=t[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(r)?i.slice(1):i.slice(1,-1)),lS(t,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:o&&o.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(n,t){let r;if((r=this.rules.inline.reflink.exec(n))||(r=this.rules.inline.nolink.exec(n))){let i=(r[2]||r[1]).replace(/\s+/g," ");if(i=t[i.toLowerCase()],!i){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return lS(r,i,r[0],this.lexer)}}emStrong(n,t,r=""){let i=this.rules.inline.emStrong.lDelim.exec(n);if(!(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!r||this.rules.inline.punctuation.exec(r))){const s=[...i[0]].length-1;let a,l,c=s,u=0;const d="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*n.length+s);null!=(i=d.exec(t));){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){c+=l;continue}if((i[5]||i[6])&&s%3&&!((s+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const f=[...i[0]][0].length,h=n.slice(0,s+i.index+f+l);if(Math.min(s,l)%2){const v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}const p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let r=t[2].replace(/\n/g," ");const i=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return i&&o&&(r=r.substring(1,r.length-1)),r=Wt(r,!0),{type:"codespan",raw:t[0],text:r}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let r,i;return"@"===t[2]?(r=Wt(t[1]),i="mailto:"+r):(r=Wt(t[1]),i=r),{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(n){let t;if(t=this.rules.inline.url.exec(n)){let r,i;if("@"===t[2])r=Wt(t[0]),i="mailto:"+r;else{let o;do{o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0]}while(o!==t[0]);r=Wt(t[0]),i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let r;return r=this.lexer.state.inRawBlock?t[0]:Wt(t[0]),{type:"text",raw:t[0],text:r}}}}const P={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:su,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};P.def=le(P.def).replace("label",P._label).replace("title",P._title).getRegex(),P.bullet=/(?:[*+-]|\d{1,9}[.)])/,P.listItemStart=le(/^( *)(bull) */).replace("bull",P.bullet).getRegex(),P.list=le(P.list).replace(/bull/g,P.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+P.def.source+")").getRegex(),P._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",P._comment=/|$)/,P.html=le(P.html,"i").replace("comment",P._comment).replace("tag",P._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),P.lheading=le(P.lheading).replace(/bull/g,P.bullet).getRegex(),P.paragraph=le(P._paragraph).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.blockquote=le(P.blockquote).replace("paragraph",P.paragraph).getRegex(),P.normal={...P},P.gfm={...P.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},P.gfm.table=le(P.gfm.table).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.gfm.paragraph=le(P._paragraph).replace("hr",P.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",P.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",P._tag).getRegex(),P.pedantic={...P.normal,html:le("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",P._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:su,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:le(P.normal._paragraph).replace("hr",P.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",P.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const N={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:su,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:su,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`^|~"};N.punctuation=le(N.punctuation,"u").replace(/punctuation/g,N._punctuation).getRegex(),N.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,N.anyPunctuation=/\\[punct]/g,N._escapes=/\\([punct])/g,N._comment=le(P._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),N.emStrong.lDelim=le(N.emStrong.lDelim,"u").replace(/punct/g,N._punctuation).getRegex(),N.emStrong.rDelimAst=le(N.emStrong.rDelimAst,"gu").replace(/punct/g,N._punctuation).getRegex(),N.emStrong.rDelimUnd=le(N.emStrong.rDelimUnd,"gu").replace(/punct/g,N._punctuation).getRegex(),N.anyPunctuation=le(N.anyPunctuation,"gu").replace(/punct/g,N._punctuation).getRegex(),N._escapes=le(N._escapes,"gu").replace(/punct/g,N._punctuation).getRegex(),N._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,N._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,N.autolink=le(N.autolink).replace("scheme",N._scheme).replace("email",N._email).getRegex(),N._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,N.tag=le(N.tag).replace("comment",N._comment).replace("attribute",N._attribute).getRegex(),N._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,N._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,N._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,N.link=le(N.link).replace("label",N._label).replace("href",N._href).replace("title",N._title).getRegex(),N.reflink=le(N.reflink).replace("label",N._label).replace("ref",P._label).getRegex(),N.nolink=le(N.nolink).replace("ref",P._label).getRegex(),N.reflinkSearch=le(N.reflinkSearch,"g").replace("reflink",N.reflink).replace("nolink",N.nolink).getRegex(),N.normal={...N},N.pedantic={...N.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:le(/^!?\[(label)\]\((.*?)\)/).replace("label",N._label).getRegex(),reflink:le(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",N._label).getRegex()},N.gfm={...N.normal,escape:le(N.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\l+" ".repeat(c.length));n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>!!(r=a.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(n)){n=n.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(n)){n=n.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(r):(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);continue}if(r=this.tokenizer.fences(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(n)){n=n.substring(r.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(i.raw+="\n"+r.raw,i.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);continue}if(r=this.tokenizer.table(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(n)){n=n.substring(r.raw.length),t.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=n.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),"number"==typeof c&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(o=n.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){i=t[t.length-1],s&&"paragraph"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r),s=o.length!==n.length,n=n.substring(r.raw.length);continue}if(r=this.tokenizer.text(n)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(r);continue}if(n){const a="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let r,i,o,a,l,c,s=n;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(s));)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>!!(r=u.call({lexer:this},n,t))&&(n=n.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(n)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(r.raw.length),i=t[t.length-1],i&&"text"===r.type&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(n,s,c)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(n)){n=n.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(n)){n=n.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(n))){n=n.substring(r.raw.length),t.push(r);continue}if(o=n,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const d=n.slice(1);let f;this.options.extensions.startInline.forEach(h=>{f=h.call({lexer:this},d),"number"==typeof f&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(o=n.substring(0,u+1))}if(r=this.tokenizer.inlineText(o)){n=n.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(c=r.raw.slice(-1)),l=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=r.raw,i.text+=r.text):t.push(r);continue}if(n){const u="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}return t}}class So{options;constructor(n){this.options=n||ei}code(n,t,r){const i=(t||"").match(/^\S*/)?.[0];return n=n.replace(/\n$/,"")+"\n",i?'
    '+(r?n:Wt(n,!0))+"
    \n":"
    "+(r?n:Wt(n,!0))+"
    \n"}blockquote(n){return`
    \n${n}
    \n`}html(n,t){return n}heading(n,t,r){return`${n}\n`}hr(){return"
    \n"}list(n,t,r){const i=t?"ol":"ul";return"<"+i+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"\n"}listitem(n,t,r){return`
  • ${n}
  • \n`}checkbox(n){return"'}paragraph(n){return`

    ${n}

    \n`}table(n,t){return t&&(t=`${t}`),"\n\n"+n+"\n"+t+"
    \n"}tablerow(n){return`\n${n}\n`}tablecell(n,t){const r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`\n`}strong(n){return`${n}`}em(n){return`${n}`}codespan(n){return`${n}`}br(){return"
    "}del(n){return`${n}`}link(n,t,r){const i=sS(n);if(null===i)return r;let o='
    ",o}image(n,t,r){const i=sS(n);if(null===i)return r;let o=`${r}"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue}case"code":r+=this.renderer.code(o.text,o.lang,!!o.escaped);continue;case"table":{const s=o;let a="",l="";for(let u=0;u0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=_+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=_+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:_+" "}):v+=_+" "}v+=this.parse(f.tokens,c),u+=this.renderer.listitem(v,p,!!h)}r+=this.renderer.list(u,a,l);continue}case"html":r+=this.renderer.html(o.text,o.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(o.tokens));continue;case"text":{let s=o,a=s.tokens?this.parseInline(s.tokens):s.text;for(;i+1{r=r.concat(this.walkTokens(o[s],t))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,t)))}}return r}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=t.renderers[o.name];t.renderers[o.name]=s?function(...a){let l=o.renderer.apply(this,a);return!1===l&&(l=s.apply(this,a)),l}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const s=t[o.level];s?s.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&("block"===o.level?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:"inline"===o.level&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),i.extensions=t),r.renderer){const o=this.defaults.renderer||new So(this.defaults);for(const s in r.renderer){const a=r.renderer[s],c=o[s];o[s]=(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d||""}}i.renderer=o}if(r.tokenizer){const o=this.defaults.tokenizer||new lu(this.defaults);for(const s in r.tokenizer){const a=r.tokenizer[s],c=o[s];o[s]=(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}i.tokenizer=o}if(r.hooks){const o=this.defaults.hooks||new cu;for(const s in r.hooks){const a=r.hooks[s],c=o[s];o[s]=cu.passThroughHooks.has(s)?u=>{if(this.defaults.async)return Promise.resolve(a.call(o,u)).then(f=>c.call(o,f));const d=a.call(o,u);return c.call(o,d)}:(...u)=>{let d=a.apply(o,u);return!1===d&&(d=c.apply(o,u)),d}}i.hooks=o}if(r.walkTokens){const o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Rn.lex(n,t??this.defaults)}parser(n,t){return Pn.parse(n,t??this.defaults)}#e(n,t){return(r,i)=>{const o={...i},s={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const a=this.#t(!!s.silent,!!s.async);if(typeof r>"u"||null===r)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(l=>n(l,s)).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>t(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(a);try{s.hooks&&(r=s.hooks.preprocess(r));const l=n(r,s);s.walkTokens&&this.walkTokens(l,s.walkTokens);let c=t(l,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(l){return a(l)}}}#t(n,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",n){const i="

    An error occurred:

    "+Wt(r.message+"",!0)+"
    ";return t?Promise.resolve(i):i}if(t)return Promise.reject(r);throw r}}};function re(e,n){return ti.parse(e,n)}re.options=re.setOptions=function(e){return ti.setOptions(e),nS(re.defaults=ti.defaults),re},re.getDefaults=function wg(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},re.defaults=ei,re.use=function(...e){return ti.use(...e),nS(re.defaults=ti.defaults),re},re.walkTokens=function(e,n){return ti.walkTokens(e,n)},re.parseInline=ti.parseInline,re.Parser=Pn,re.parser=Pn.parse,re.Renderer=So,re.TextRenderer=Dg,re.Lexer=Rn,re.lexer=Rn.lex,re.Tokenizer=lu,re.Hooks=cu,re.parse=re;const EU=["*"];let cS=(()=>{class e{constructor(){this._buttonClick$=new $e,this.copied$=this._buttonClick$.pipe(Rt(()=>lm(L(!0),function fU(e=0,n,t=uU){let r=-1;return null!=n&&(rm(n)?t=n:r=n),new Ne(i=>{let o=function dU(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(3e3).pipe(eT(!1)))),cm(),function pU(e,n,t){let r,i=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:t}=e):r=e??1/0,Nu({connector:()=>new hU(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}(1)),this.copiedText$=this.copied$.pipe(XI(!1),ee(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["markdown-clipboard"]],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(r,i){1&r&&(g(0,"button",0),Te("click",function(){return i.onCopyToClipboardClick()}),Rs(1,"async"),y(2),Rs(3,"async"),m()),2&r&&(ys("copied",Ps(1,3,i.copied$)),k(2),zt(Ps(3,5,i.copiedText$)))},dependencies:[ep],encapsulation:2,changeDetection:0})}return e})();const SU=new M("CLIPBOARD_OPTIONS");var Cg=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(Cg||{});const uS=new M("MARKED_EXTENSIONS"),NU=new M("MARKED_OPTIONS"),dS=new M("SECURITY_CONTEXT");let bg=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,r,i,o,s,a,l){this.clipboardOptions=t,this.extensions=r,this.platform=o,this.securityContext=s,this.http=a,this.sanitizer=l,this.DEFAULT_MARKED_OPTIONS={renderer:new So},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:this.DEFAULT_MARKED_OPTIONS,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new $e,this.reload$=this._reload$.asObservable(),this.options=i}parse(t,r=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:i,inline:o,emoji:s,mermaid:a,disableSanitizer:l}=r,c={...this.options,...r.markedOptions},u=c.renderer||this.renderer||new So;this.extensions&&(this.renderer=this.extendsRendererForExtensions(u)),a&&(this.renderer=this.extendsRendererForMermaid(u));const d=this.trimIndentation(t),f=i?this.decodeHtml(d):d,h=s?this.parseEmoji(f):f,p=this.parseMarked(h,c,o);return(l?p:this.sanitizer.sanitize(this.securityContext,p))||""}render(t,r=this.DEFAULT_RENDER_OPTIONS,i){const{clipboard:o,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:u}=r;o&&this.renderClipboard(t,i,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...u}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(ee(r=>this.handleExtension(t,r)))}highlight(t){if(!lo(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const r=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(r,i=>i.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!lo(this.platform))return t;const r=document.createElement("textarea");return r.innerHTML=t,r.value}extendsRendererForExtensions(t){const r=t;return!0===r.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&re.use(...this.extensions),r.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const r=t;if(!0===r.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const i=t.code;return t.code=function(o,s,a){return"mermaid"===s?`
    ${o}
    `:i.call(this,o,s,a)},r.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,r){const i=t.lastIndexOf("://"),o=i>-1?t.substring(i+4):t,s=o.lastIndexOf("/"),a=s>-1?o.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+r+"\n```":r}parseMarked(t,r,i=!1){return r.renderer&&(re.use({renderer:r.renderer}),delete r.renderer),i?re.parseInline(t,r):re.parse(t,r)}parseEmoji(t){if(!lo(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,r){if(lo(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,r)}}renderClipboard(t,r,i){if(!lo(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!r)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:o,buttonTemplate:s}=i,a=t.querySelectorAll("pre");for(let l=0;ld.style.opacity="1",c.onmouseout=()=>d.style.opacity="0",f=o?r.createComponent(o).hostView:s?r.createEmbeddedView(s):r.createComponent(cS).hostView,f.rootNodes.forEach(p=>{p.onmouseover=()=>d.style.opacity="1",d.appendChild(p),h=new ClipboardJS(p,{text:()=>c.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(t,r=this.DEFAULT_MERMAID_OPTIONS){if(!lo(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const i=t.querySelectorAll(".mermaid");0!==i.length&&(mermaid.initialize(r),mermaid.run({nodes:i}))}trimIndentation(t){if(!t)return"";let r;return t.split("\n").map(i=>{let o=r;return i.length>0&&(o=isNaN(o)?i.search(/\S|$/):Math.min(i.search(/\S|$/),o)),isNaN(r)&&(r=o),o?i.substring(o):i}).join("\n")}static#e=this.\u0275fac=function(r){return new(r||e)(A(SU,8),A(uS,8),A(NU,8),A(lr),A(dS),A(Ks,8),A(mp))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),pa=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,r,i){this.element=t,this.markdownService=r,this.viewContainerRef=i,this.error=new be,this.load=new be,this.ready=new be,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new $e}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(tT(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,r=!1){var i=this;return function Lc(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(l){SI(o,r,i,s,a,"next",l)}function a(l){SI(o,r,i,s,a,"throw",l)}s(void 0)})}}(function*(){const o={decodeHtml:r,inline:i.inline,emoji:i.emoji,mermaid:i.mermaid,disableSanitizer:i.disableSanitizer},s={clipboard:i.clipboard,clipboardOptions:{buttonComponent:i.clipboardButtonComponent,buttonTemplate:i.clipboardButtonTemplate},katex:i.katex,katexOptions:i.katexOptions,mermaid:i.mermaid,mermaidOptions:i.mermaidOptions},a=yield i.markdownService.parse(t,o);i.element.nativeElement.innerHTML=a,i.handlePlugins(),i.markdownService.render(i.element.nativeElement,s,i.viewContainerRef),i.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Cg.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Cg.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,r){const i=t.querySelectorAll("pre");for(let o=0;o{const a=r[s];if(a){const l=this.toLispCase(s);i.item(o).setAttribute(l,a.toString())}})}toLispCase(t){const r=t.match(/([A-Z])/g);if(!r)return t;let i=t.toString();for(let o=0,s=r.length;o{class e{static forRoot(t){return{ngModule:e,providers:[bg,t?.loader??[],t?.clipboardOptions??[],t?.markedOptions??[],{provide:uS,useValue:t?.markedExtensions??[]},{provide:dS,useValue:t?.sanitize??Nt.HTML}]}}static forChild(){return{ngModule:e}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[op]})}return e})();var fS;!function(e){let n;var i;let t,r;(i=n=e.SecurityLevel||(e.SecurityLevel={})).Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox",function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"}(t=e.Theme||(e.Theme={})),function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"}(r=e.LogLevel||(e.LogLevel={}))}(fS||(fS={}));let LU=(()=>{class e{constructor(){this.installMd="assets/docs/welcome/installation.md"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-welcome"]],decls:49,vars:1,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"caption"],["href","https://datatables.net/"],[3,"src"],[1,"header"],[1,"section"],[1,"col","s12","m12","l12"],[1,"col","s12","m4","feature-item"],[1,"material-icons"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Angular DataTables"),m()()()()(),g(6,"div",1)(7,"p",5),y(8," An Angular2+ library for building complex HTML tables using "),g(9,"a",6),y(10,"DataTables"),m(),y(11," jQuery plug-in. "),m(),R(12,"markdown",7),g(13,"h5",8),y(14,"Features:"),m(),g(15,"div",9)(16,"div",2)(17,"div",10)(18,"div",2)(19,"div",11)(20,"i",12),y(21,"download"),m(),g(22,"h6"),y(23,"Quick Install"),m()(),g(24,"div",11)(25,"i",12),y(26,"sync_alt"),m(),g(27,"h6"),y(28,"Angular integration"),m()(),g(29,"div",11)(30,"i",12),y(31,"dns"),m(),g(32,"h6"),y(33,"Large dataset support"),m()(),g(34,"div",11)(35,"i",12),y(36,"filter_alt"),m(),g(37,"h6"),y(38,"Advanced Data Filter"),m()(),g(39,"div",11)(40,"i",12),y(41,"extension"),m(),g(42,"h6"),y(43,"Extensions support"),m()(),g(44,"div",11)(45,"i",12),y(46,"lock_open"),m(),g(47,"h6"),y(48,"MIT"),m()()()()()()()),2&r&&(k(12),O("src",i.installMd))},dependencies:[pa],styles:[".welcome-btn[_ngcontent-%COMP%]{height:140px;padding:10px}.feature-item[_ngcontent-%COMP%]{text-align:center}.material-icons[_ngcontent-%COMP%]{border-radius:50%;width:80px;height:80px;color:#fff;background-color:#039be5;margin-top:10px;margin-bottom:4px;font-size:3em;line-height:1.8}"]})}return e})(),VU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-getting-started"]],decls:8,vars:0,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],["id","getting-started-wrapper",1,"container"],["src","assets/docs/get-started.md"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Installation"),m()()()()(),g(6,"div",5),R(7,"markdown",6),m())},dependencies:[pa],encapsulation:2})}return e})();const jU=JSON.parse('{"a":[{"id":860,"firstName":"Superman","lastName":"Yoda"},{"id":870,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":590,"firstName":"Toto","lastName":"Titi"},{"id":803,"firstName":"Luke","lastName":"Kyle"},{"id":474,"firstName":"Toto","lastName":"Bar"},{"id":476,"firstName":"Zed","lastName":"Kyle"},{"id":464,"firstName":"Cartman","lastName":"Kyle"},{"id":505,"firstName":"Superman","lastName":"Yoda"},{"id":308,"firstName":"Louis","lastName":"Kyle"},{"id":184,"firstName":"Toto","lastName":"Bar"},{"id":411,"firstName":"Luke","lastName":"Yoda"},{"id":154,"firstName":"Luke","lastName":"Moliku"},{"id":623,"firstName":"Someone First Name","lastName":"Moliku"},{"id":499,"firstName":"Luke","lastName":"Bar"},{"id":482,"firstName":"Batman","lastName":"Lara"},{"id":255,"firstName":"Louis","lastName":"Kyle"},{"id":772,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":398,"firstName":"Zed","lastName":"Moliku"},{"id":840,"firstName":"Superman","lastName":"Lara"},{"id":894,"firstName":"Luke","lastName":"Bar"},{"id":591,"firstName":"Luke","lastName":"Titi"},{"id":767,"firstName":"Luke","lastName":"Moliku"},{"id":133,"firstName":"Cartman","lastName":"Moliku"},{"id":274,"firstName":"Toto","lastName":"Lara"},{"id":996,"firstName":"Superman","lastName":"Someone Last Name"},{"id":780,"firstName":"Batman","lastName":"Kyle"},{"id":931,"firstName":"Batman","lastName":"Moliku"},{"id":326,"firstName":"Louis","lastName":"Bar"},{"id":318,"firstName":"Superman","lastName":"Yoda"},{"id":434,"firstName":"Zed","lastName":"Bar"},{"id":480,"firstName":"Toto","lastName":"Kyle"},{"id":187,"firstName":"Someone First Name","lastName":"Bar"},{"id":829,"firstName":"Cartman","lastName":"Bar"},{"id":937,"firstName":"Cartman","lastName":"Lara"},{"id":355,"firstName":"Foo","lastName":"Moliku"},{"id":258,"firstName":"Someone First Name","lastName":"Moliku"},{"id":826,"firstName":"Cartman","lastName":"Yoda"},{"id":586,"firstName":"Cartman","lastName":"Lara"},{"id":32,"firstName":"Batman","lastName":"Lara"},{"id":676,"firstName":"Batman","lastName":"Kyle"},{"id":403,"firstName":"Toto","lastName":"Titi"},{"id":222,"firstName":"Foo","lastName":"Moliku"},{"id":507,"firstName":"Zed","lastName":"Someone Last Name"},{"id":135,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":818,"firstName":"Zed","lastName":"Yoda"},{"id":321,"firstName":"Luke","lastName":"Kyle"},{"id":187,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":327,"firstName":"Toto","lastName":"Bar"},{"id":187,"firstName":"Louis","lastName":"Lara"},{"id":417,"firstName":"Louis","lastName":"Titi"},{"id":97,"firstName":"Zed","lastName":"Bar"},{"id":710,"firstName":"Batman","lastName":"Lara"},{"id":975,"firstName":"Toto","lastName":"Yoda"},{"id":926,"firstName":"Foo","lastName":"Bar"},{"id":976,"firstName":"Toto","lastName":"Lara"},{"id":680,"firstName":"Zed","lastName":"Kyle"},{"id":275,"firstName":"Louis","lastName":"Kyle"},{"id":742,"firstName":"Foo","lastName":"Someone Last Name"},{"id":598,"firstName":"Zed","lastName":"Lara"},{"id":113,"firstName":"Foo","lastName":"Moliku"},{"id":228,"firstName":"Superman","lastName":"Someone Last Name"},{"id":820,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":700,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":556,"firstName":"Toto","lastName":"Lara"},{"id":687,"firstName":"Foo","lastName":"Kyle"},{"id":794,"firstName":"Toto","lastName":"Lara"},{"id":349,"firstName":"Someone First Name","lastName":"Whateveryournameis"},{"id":283,"firstName":"Batman","lastName":"Someone Last Name"},{"id":862,"firstName":"Cartman","lastName":"Lara"},{"id":674,"firstName":"Cartman","lastName":"Bar"},{"id":954,"firstName":"Louis","lastName":"Lara"},{"id":243,"firstName":"Superman","lastName":"Someone Last Name"},{"id":578,"firstName":"Superman","lastName":"Lara"},{"id":660,"firstName":"Batman","lastName":"Bar"},{"id":653,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":583,"firstName":"Toto","lastName":"Moliku"},{"id":321,"firstName":"Zed","lastName":"Yoda"},{"id":171,"firstName":"Superman","lastName":"Kyle"},{"id":41,"firstName":"Superman","lastName":"Yoda"},{"id":704,"firstName":"Louis","lastName":"Titi"},{"id":344,"firstName":"Louis","lastName":"Lara"},{"id":840,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":476,"firstName":"Foo","lastName":"Kyle"},{"id":644,"firstName":"Superman","lastName":"Moliku"},{"id":359,"firstName":"Superman","lastName":"Moliku"},{"id":856,"firstName":"Luke","lastName":"Lara"},{"id":760,"firstName":"Foo","lastName":"Someone Last Name"},{"id":432,"firstName":"Zed","lastName":"Yoda"},{"id":299,"firstName":"Superman","lastName":"Kyle"},{"id":693,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":11,"firstName":"Toto","lastName":"Lara"},{"id":305,"firstName":"Luke","lastName":"Yoda"},{"id":961,"firstName":"Luke","lastName":"Yoda"},{"id":54,"firstName":"Luke","lastName":"Bar"},{"id":734,"firstName":"Superman","lastName":"Yoda"},{"id":466,"firstName":"Cartman","lastName":"Titi"},{"id":439,"firstName":"Louis","lastName":"Lara"},{"id":995,"firstName":"Foo","lastName":"Moliku"},{"id":878,"firstName":"Luke","lastName":"Bar"},{"id":479,"firstName":"Luke","lastName":"Yoda"},{"id":252,"firstName":"Cartman","lastName":"Moliku"},{"id":355,"firstName":"Zed","lastName":"Moliku"},{"id":355,"firstName":"Zed","lastName":"Kyle"},{"id":694,"firstName":"Louis","lastName":"Bar"},{"id":882,"firstName":"Cartman","lastName":"Yoda"},{"id":620,"firstName":"Luke","lastName":"Lara"},{"id":390,"firstName":"Superman","lastName":"Lara"},{"id":247,"firstName":"Zed","lastName":"Kyle"},{"id":510,"firstName":"Batman","lastName":"Moliku"},{"id":510,"firstName":"Batman","lastName":"Lara"},{"id":472,"firstName":"Foo","lastName":"Moliku"},{"id":533,"firstName":"Someone First Name","lastName":"Kyle"},{"id":725,"firstName":"Superman","lastName":"Kyle"},{"id":221,"firstName":"Zed","lastName":"Lara"},{"id":302,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":755,"firstName":"Louis","lastName":"Someone Last Name"},{"id":671,"firstName":"Batman","lastName":"Lara"},{"id":649,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":22,"firstName":"Luke","lastName":"Yoda"},{"id":544,"firstName":"Louis","lastName":"Lara"},{"id":114,"firstName":"Someone First Name","lastName":"Titi"},{"id":674,"firstName":"Someone First Name","lastName":"Lara"},{"id":571,"firstName":"Zed","lastName":"Kyle"},{"id":554,"firstName":"Louis","lastName":"Titi"},{"id":203,"firstName":"Zed","lastName":"Kyle"},{"id":89,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":299,"firstName":"Luke","lastName":"Bar"},{"id":48,"firstName":"Toto","lastName":"Bar"},{"id":726,"firstName":"Batman","lastName":"Whateveryournameis"},{"id":121,"firstName":"Toto","lastName":"Bar"},{"id":992,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":551,"firstName":"Toto","lastName":"Kyle"},{"id":831,"firstName":"Louis","lastName":"Lara"},{"id":940,"firstName":"Luke","lastName":"Moliku"},{"id":974,"firstName":"Zed","lastName":"Kyle"},{"id":579,"firstName":"Luke","lastName":"Moliku"},{"id":752,"firstName":"Cartman","lastName":"Yoda"},{"id":873,"firstName":"Batman","lastName":"Someone Last Name"},{"id":939,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":240,"firstName":"Luke","lastName":"Yoda"},{"id":969,"firstName":"Cartman","lastName":"Lara"},{"id":247,"firstName":"Luke","lastName":"Someone Last Name"},{"id":3,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":154,"firstName":"Batman","lastName":"Bar"},{"id":274,"firstName":"Toto","lastName":"Someone Last Name"},{"id":31,"firstName":"Luke","lastName":"Someone Last Name"},{"id":789,"firstName":"Louis","lastName":"Titi"},{"id":634,"firstName":"Zed","lastName":"Yoda"},{"id":972,"firstName":"Toto","lastName":"Kyle"},{"id":199,"firstName":"Foo","lastName":"Moliku"},{"id":562,"firstName":"Louis","lastName":"Titi"},{"id":460,"firstName":"Superman","lastName":"Yoda"},{"id":817,"firstName":"Cartman","lastName":"Someone Last Name"},{"id":307,"firstName":"Cartman","lastName":"Bar"},{"id":10,"firstName":"Cartman","lastName":"Titi"},{"id":167,"firstName":"Toto","lastName":"Someone Last Name"},{"id":107,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":432,"firstName":"Batman","lastName":"Kyle"},{"id":381,"firstName":"Luke","lastName":"Yoda"},{"id":517,"firstName":"Louis","lastName":"Lara"},{"id":575,"firstName":"Superman","lastName":"Kyle"},{"id":716,"firstName":"Cartman","lastName":"Titi"},{"id":646,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":144,"firstName":"Someone First Name","lastName":"Yoda"},{"id":306,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":395,"firstName":"Luke","lastName":"Bar"},{"id":777,"firstName":"Toto","lastName":"Moliku"},{"id":624,"firstName":"Louis","lastName":"Someone Last Name"},{"id":994,"firstName":"Superman","lastName":"Moliku"},{"id":653,"firstName":"Batman","lastName":"Moliku"},{"id":198,"firstName":"Foo","lastName":"Bar"},{"id":157,"firstName":"Zed","lastName":"Kyle"},{"id":955,"firstName":"Luke","lastName":"Someone Last Name"},{"id":339,"firstName":"Foo","lastName":"Bar"},{"id":552,"firstName":"Batman","lastName":"Titi"},{"id":735,"firstName":"Louis","lastName":"Bar"},{"id":294,"firstName":"Batman","lastName":"Bar"},{"id":287,"firstName":"Someone First Name","lastName":"Bar"},{"id":399,"firstName":"Cartman","lastName":"Yoda"},{"id":741,"firstName":"Foo","lastName":"Kyle"},{"id":670,"firstName":"Foo","lastName":"Bar"},{"id":260,"firstName":"Toto","lastName":"Lara"},{"id":294,"firstName":"Toto","lastName":"Titi"},{"id":294,"firstName":"Zed","lastName":"Lara"},{"id":840,"firstName":"Zed","lastName":"Titi"},{"id":448,"firstName":"Foo","lastName":"Kyle"},{"id":260,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":119,"firstName":"Zed","lastName":"Someone Last Name"},{"id":702,"firstName":"Zed","lastName":"Kyle"},{"id":87,"firstName":"Zed","lastName":"Someone Last Name"},{"id":161,"firstName":"Foo","lastName":"Lara"},{"id":404,"firstName":"Zed","lastName":"Kyle"},{"id":871,"firstName":"Toto","lastName":"Lara"},{"id":908,"firstName":"Someone First Name","lastName":"Moliku"},{"id":484,"firstName":"Louis","lastName":"Bar"},{"id":966,"firstName":"Cartman","lastName":"Titi"},{"id":392,"firstName":"Someone First Name","lastName":"Lara"},{"id":738,"firstName":"Batman","lastName":"Lara"},{"id":560,"firstName":"Louis","lastName":"Kyle"},{"id":507,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":660,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":929,"firstName":"Superman","lastName":"Moliku"},{"id":42,"firstName":"Batman","lastName":"Moliku"},{"id":853,"firstName":"Luke","lastName":"Titi"},{"id":977,"firstName":"Louis","lastName":"Moliku"},{"id":104,"firstName":"Toto","lastName":"Kyle"},{"id":820,"firstName":"Luke","lastName":"Someone Last Name"},{"id":187,"firstName":"Batman","lastName":"Titi"},{"id":524,"firstName":"Louis","lastName":"Yoda"},{"id":830,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":156,"firstName":"Someone First Name","lastName":"Lara"},{"id":918,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":286,"firstName":"Batman","lastName":"Moliku"},{"id":715,"firstName":"Louis","lastName":"Kyle"},{"id":501,"firstName":"Superman","lastName":"Whateveryournameis"},{"id":463,"firstName":"Foo","lastName":"Kyle"},{"id":419,"firstName":"Toto","lastName":"Yoda"},{"id":752,"firstName":"Foo","lastName":"Moliku"},{"id":754,"firstName":"Louis","lastName":"Titi"},{"id":497,"firstName":"Someone First Name","lastName":"Kyle"},{"id":722,"firstName":"Louis","lastName":"Moliku"},{"id":986,"firstName":"Batman","lastName":"Someone Last Name"},{"id":908,"firstName":"Someone First Name","lastName":"Titi"},{"id":559,"firstName":"Superman","lastName":"Bar"},{"id":816,"firstName":"Foo","lastName":"Bar"},{"id":517,"firstName":"Louis","lastName":"Bar"},{"id":188,"firstName":"Superman","lastName":"Bar"},{"id":762,"firstName":"Batman","lastName":"Someone Last Name"},{"id":872,"firstName":"Batman","lastName":"Titi"},{"id":107,"firstName":"Louis","lastName":"Lara"},{"id":968,"firstName":"Louis","lastName":"Moliku"},{"id":643,"firstName":"Toto","lastName":"Someone Last Name"},{"id":88,"firstName":"Toto","lastName":"Titi"},{"id":844,"firstName":"Foo","lastName":"Kyle"},{"id":334,"firstName":"Batman","lastName":"Someone Last Name"},{"id":43,"firstName":"Zed","lastName":"Lara"},{"id":600,"firstName":"Someone First Name","lastName":"Kyle"},{"id":719,"firstName":"Luke","lastName":"Lara"},{"id":698,"firstName":"Zed","lastName":"Yoda"},{"id":994,"firstName":"Zed","lastName":"Whateveryournameis"},{"id":595,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":223,"firstName":"Toto","lastName":"Yoda"},{"id":392,"firstName":"Foo","lastName":"Moliku"},{"id":972,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":155,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":956,"firstName":"Louis","lastName":"Yoda"},{"id":62,"firstName":"Foo","lastName":"Kyle"},{"id":689,"firstName":"Superman","lastName":"Titi"},{"id":46,"firstName":"Foo","lastName":"Someone Last Name"},{"id":401,"firstName":"Toto","lastName":"Someone Last Name"},{"id":658,"firstName":"Louis","lastName":"Bar"},{"id":375,"firstName":"Someone First Name","lastName":"Bar"},{"id":877,"firstName":"Toto","lastName":"Someone Last Name"},{"id":923,"firstName":"Cartman","lastName":"Lara"},{"id":37,"firstName":"Zed","lastName":"Kyle"},{"id":416,"firstName":"Cartman","lastName":"Yoda"},{"id":546,"firstName":"Zed","lastName":"Yoda"},{"id":282,"firstName":"Luke","lastName":"Lara"},{"id":943,"firstName":"Superman","lastName":"Yoda"},{"id":319,"firstName":"Foo","lastName":"Whateveryournameis"},{"id":390,"firstName":"Louis","lastName":"Lara"},{"id":556,"firstName":"Luke","lastName":"Kyle"},{"id":255,"firstName":"Cartman","lastName":"Whateveryournameis"},{"id":80,"firstName":"Zed","lastName":"Kyle"},{"id":760,"firstName":"Louis","lastName":"Moliku"},{"id":291,"firstName":"Louis","lastName":"Titi"},{"id":916,"firstName":"Louis","lastName":"Bar"},{"id":212,"firstName":"Foo","lastName":"Moliku"},{"id":445,"firstName":"Luke","lastName":"Whateveryournameis"},{"id":101,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":565,"firstName":"Superman","lastName":"Kyle"},{"id":304,"firstName":"Luke","lastName":"Someone Last Name"},{"id":557,"firstName":"Foo","lastName":"Titi"},{"id":544,"firstName":"Toto","lastName":"Kyle"},{"id":244,"firstName":"Zed","lastName":"Titi"},{"id":464,"firstName":"Someone First Name","lastName":"Bar"},{"id":225,"firstName":"Toto","lastName":"Titi"},{"id":727,"firstName":"Superman","lastName":"Someone Last Name"},{"id":735,"firstName":"Louis","lastName":"Bar"},{"id":334,"firstName":"Foo","lastName":"Lara"},{"id":982,"firstName":"Batman","lastName":"Kyle"},{"id":48,"firstName":"Batman","lastName":"Lara"},{"id":175,"firstName":"Luke","lastName":"Moliku"},{"id":885,"firstName":"Louis","lastName":"Moliku"},{"id":675,"firstName":"Toto","lastName":"Moliku"},{"id":47,"firstName":"Superman","lastName":"Someone Last Name"},{"id":105,"firstName":"Toto","lastName":"Titi"},{"id":616,"firstName":"Cartman","lastName":"Lara"},{"id":134,"firstName":"Someone First Name","lastName":"Someone Last Name"},{"id":26,"firstName":"Foo","lastName":"Moliku"},{"id":134,"firstName":"Toto","lastName":"Whateveryournameis"},{"id":680,"firstName":"Zed","lastName":"Lara"},{"id":208,"firstName":"Luke","lastName":"Someone Last Name"},{"id":233,"firstName":"Someone First Name","lastName":"Moliku"},{"id":131,"firstName":"Louis","lastName":"Moliku"},{"id":87,"firstName":"Toto","lastName":"Yoda"},{"id":356,"firstName":"Batman","lastName":"Kyle"},{"id":39,"firstName":"Louis","lastName":"Whateveryournameis"},{"id":867,"firstName":"Batman","lastName":"Lara"},{"id":382,"firstName":"Someone First Name","lastName":"Bar"}]}');let hS=(()=>{class e{constructor(){}getPerson(t){return jU.a.find(i=>i.id===t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();function HU(e,n){if(1&e&&(g(0,"pre")(1,"code",11),y(2),Rs(3,"json"),m(),y(4,"\n"),m()),2&e){const t=fe();k(2),zt(Ps(3,1,t.person))}}let $U=(()=>{class e{constructor(t,r,i){this.route=t,this.location=r,this.personService=i}ngOnInit(){const t=+this.route.snapshot.paramMap.get("id");this.person=this.personService.getPerson(t)}goBack(){this.location.back()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Jr),C(so),C(hS))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-person"]],features:[Ee([hS])],decls:15,vars:1,consts:[[1,"section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"col","s12","m9","l12"],[1,"section"],[1,"col","s12","m9","l12","showcase-tabs"],["highlight-js-content",".json"],[4,"ngIf"],[1,"waves-effect","btn",3,"click"],[1,"json","highlight"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Person details"),m()()()()(),g(6,"div",1)(7,"div",2)(8,"div",5)(9,"div",6)(10,"div",7)(11,"section",8),J(12,HU,5,3,"pre",9),m(),g(13,"button",10),Te("click",function(){return i.goBack()}),y(14,"Go back"),m()()()()()()),2&r&&(k(12),O("ngIf",i.person))},dependencies:[Kh,qb],encapsulation:2})}return e})();function BU(e,n){1&e&&(g(0,"div",25)(1,"div",26)(2,"div",1),y(3," This section has been marked as deprecated. It is listed here for documentation purposes only. "),g(4,"a",27),y(5,"Read More"),m()()()())}function UU(e,n){1&e&&(g(0,"li",11)(1,"a",28),y(2,"Installation"),m()())}function zU(e,n){1&e&&Xf(0)}function GU(e,n){if(1&e&&(g(0,"div",29),R(1,"markdown",8),m()),2&e){const t=fe();k(1),O("src",t.mdInstall)}}function WU(e,n){if(1&e&&(g(0,"h5",6),y(1),m()),2&e){const t=fe();k(1),zt(t.mdTSHeading)}}function qU(e,n){if(1&e&&(zl(0),g(1,"h5",6),y(2),m(),R(3,"markdown",8),Gl()),2&e){const t=fe();k(2),zt(t.mdTSHighHeading),k(1),O("src",t.mdTSHigh)}}let He=(()=>{class e{constructor(t){this.router=t,this.pageTitle="",this.mdIntro="",this.mdInstall="",this.mdHTML="",this.mdTS="",this.mdTSHeading="TypeScript",this.mdTSHigh="",this.mdTSHighHeading="",this.template=null,this.deprecated=!1}ngOnInit(){this.initBackToTop()}scrollCallback(){$(this).scrollTop()?$("#toTop").fadeIn():$("#toTop").fadeOut()}initBackToTop(){$().ready(this.scrollCallback),$(window).scroll(this.scrollCallback),$("#toTop").on("click",function(){$("html, body").animate({scrollTop:0},1e3)})}scrollToElement(t){t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-base-demo"]],inputs:{pageTitle:"pageTitle",mdIntro:"mdIntro",mdInstall:"mdInstall",mdHTML:"mdHTML",mdTS:"mdTS",mdTSHeading:"mdTSHeading",mdTSHigh:"mdTSHigh",mdTSHighHeading:"mdTSHighHeading",template:"template",deprecated:"deprecated"},decls:37,vars:10,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],["class","section",4,"ngIf"],[1,"header"],[1,"caption"],[3,"src"],[1,"col","s12"],[1,"tabs","tabs-fixed-width","grey","darken-1","z-depth-1"],[1,"tab","col"],["href","#previewTab"],["class","tab col",4,"ngIf"],["href","#htmlTab"],["href","#typescriptTab"],["id","previewTab",1,"col","s12"],[4,"ngTemplateOutlet"],["id","installTab","class","col s12",4,"ngIf"],["id","htmlTab",1,"col","s12"],["id","typescriptTab",1,"col","s12"],["class","header",4,"ngIf"],[4,"ngIf"],["id","toTop"],[1,"material-icons"],[1,"section"],[1,"section","red","white-text"],["routerLink","/faq"],["href","#installTab"],["id","installTab",1,"col","s12"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),y(5),m()()()()(),J(6,BU,6,0,"div",5),g(7,"div",1)(8,"h5",6),y(9,"Description"),m(),g(10,"p",7),R(11,"markdown",8),m(),g(12,"div",2)(13,"div",9)(14,"ul",10)(15,"li",11)(16,"a",12),y(17,"Preview"),m()(),J(18,UU,3,0,"li",13),g(19,"li",11)(20,"a",14),y(21,"HTML"),m()(),g(22,"li",11)(23,"a",15),y(24,"TS"),m()()()(),g(25,"div",16),J(26,zU,1,0,"ng-container",17),m(),J(27,GU,2,1,"div",18),g(28,"div",19),R(29,"markdown",8),m(),g(30,"div",20),J(31,WU,2,1,"h5",21),R(32,"markdown",8),J(33,qU,4,2,"ng-container",22),m()()(),g(34,"div",23)(35,"i",24),y(36,"arrow_upward"),m()()),2&r&&(k(5),zt(i.pageTitle),k(1),O("ngIf",i.deprecated),k(5),O("src",i.mdIntro),k(7),O("ngIf",i.mdInstall.length>0),k(8),O("ngTemplateOutlet",i.template),k(1),O("ngIf",i.mdInstall.length>0),k(2),O("src",i.mdHTML),k(2),O("ngIf",i.mdTSHigh.length>0),k(1),O("src",i.mdTS),k(1),O("ngIf",i.mdTSHigh.length>0))},dependencies:[Kh,Wb,fa,pa],styles:[".tabs[_ngcontent-%COMP%]{margin-bottom:15px}.header[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}#toTop[_ngcontent-%COMP%]{padding:7px 14px;background:#1565c0;color:#fff;position:fixed;bottom:65px;right:15px;z-index:999;border:solid 1px #94bed1;border-radius:30px;box-shadow:3px 2px 5px #98b1bc;font-size:1.5rem;cursor:pointer}#toTop[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{vertical-align:middle}"]})}return e})();function ZU(e,n){1&e&&(g(0,"div",2)(1,"table",3)(2,"thead")(3,"tr")(4,"th"),y(5,"ID"),m(),g(6,"th"),y(7,"First name"),m(),g(8,"th"),y(9,"Last name"),m()()(),g(10,"tbody")(11,"tr")(12,"td"),y(13,"1"),m(),g(14,"td"),y(15,"Foo"),m(),g(16,"td"),y(17,"Bar"),m()(),g(18,"tr")(19,"td"),y(20,"2"),m(),g(21,"td"),y(22,"Someone"),m(),g(23,"td"),y(24,"Youknow"),m()(),g(25,"tr")(26,"td"),y(27,"3"),m(),g(28,"td"),y(29,"Iamout"),m(),g(30,"td"),y(31,"Ofinspiration"),m()(),g(32,"tr")(33,"td"),y(34,"4"),m(),g(35,"td"),y(36,"Yoda"),m(),g(37,"td"),y(38,"Skywalker"),m()(),g(39,"tr")(40,"td"),y(41,"5"),m(),g(42,"td"),y(43,"Patrick"),m(),g(44,"td"),y(45,"Dupont"),m()(),g(46,"tr")(47,"td"),y(48,"6"),m(),g(49,"td"),y(50,"Barack"),m(),g(51,"td"),y(52,"Obama"),m()(),g(53,"tr")(54,"td"),y(55,"7"),m(),g(56,"td"),y(57,"Fran\xe7ois"),m(),g(58,"td"),y(59,"Holland"),m()(),g(60,"tr")(61,"td"),y(62,"8"),m(),g(63,"td"),y(64,"Michel"),m(),g(65,"td"),y(66,"Popo"),m()(),g(67,"tr")(68,"td"),y(69,"9"),m(),g(70,"td"),y(71,"Chuck"),m(),g(72,"td"),y(73,"Norris"),m()(),g(74,"tr")(75,"td"),y(76,"10"),m(),g(77,"td"),y(78,"Simon"),m(),g(79,"td"),y(80,"Robin"),m()(),g(81,"tr")(82,"td"),y(83,"11"),m(),g(84,"td"),y(85,"Louis"),m(),g(86,"td"),y(87,"Lin"),m()(),g(88,"tr")(89,"td"),y(90,"12"),m(),g(91,"td"),y(92,"Zelda"),m(),g(93,"td"),y(94,"Link"),m()()()()())}let YU=(()=>{class e{constructor(){this.pageTitle="Zero configuration",this.mdIntro="assets/docs/basic/zero-config/intro.md",this.mdHTML="assets/docs/basic/zero-config/source-html.md",this.mdTS="assets/docs/basic/zero-config/source-ts.md"}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-zero-config"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["id","preview",1,"col","s12","m9","l12"],["datatable","",1,"row-border","hover"]],template:function(r,i){if(1&r&&(J(0,ZU,95,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function QU(e,n){if(1&e&&(g(0,"div",2)(1,"table",3)(2,"thead")(3,"tr")(4,"th"),y(5,"ID"),m(),g(6,"th"),y(7,"First name"),m(),g(8,"th"),y(9,"Last name"),m()()(),g(10,"tbody")(11,"tr")(12,"td"),y(13,"1"),m(),g(14,"td"),y(15,"Foo"),m(),g(16,"td"),y(17,"Bar"),m()(),g(18,"tr")(19,"td"),y(20,"2"),m(),g(21,"td"),y(22,"Someone"),m(),g(23,"td"),y(24,"Youknow"),m()(),g(25,"tr")(26,"td"),y(27,"3"),m(),g(28,"td"),y(29,"Iamout"),m(),g(30,"td"),y(31,"Ofinspiration"),m()(),g(32,"tr")(33,"td"),y(34,"4"),m(),g(35,"td"),y(36,"Yoda"),m(),g(37,"td"),y(38,"Skywalker"),m()(),g(39,"tr")(40,"td"),y(41,"5"),m(),g(42,"td"),y(43,"Patrick"),m(),g(44,"td"),y(45,"Dupont"),m()(),g(46,"tr")(47,"td"),y(48,"6"),m(),g(49,"td"),y(50,"Barack"),m(),g(51,"td"),y(52,"Obama"),m()(),g(53,"tr")(54,"td"),y(55,"7"),m(),g(56,"td"),y(57,"Fran\xe7ois"),m(),g(58,"td"),y(59,"Holland"),m()(),g(60,"tr")(61,"td"),y(62,"8"),m(),g(63,"td"),y(64,"Michel"),m(),g(65,"td"),y(66,"Popo"),m()(),g(67,"tr")(68,"td"),y(69,"9"),m(),g(70,"td"),y(71,"Chuck"),m(),g(72,"td"),y(73,"Norris"),m()(),g(74,"tr")(75,"td"),y(76,"10"),m(),g(77,"td"),y(78,"Simon"),m(),g(79,"td"),y(80,"Robin"),m()(),g(81,"tr")(82,"td"),y(83,"11"),m(),g(84,"td"),y(85,"Louis"),m(),g(86,"td"),y(87,"Lin"),m()(),g(88,"tr")(89,"td"),y(90,"12"),m(),g(91,"td"),y(92,"Zelda"),m(),g(93,"td"),y(94,"Link"),m()()()()()),2&e){const t=fe();k(1),O("dtOptions",t.dtOptions)}}let KU=(()=>{class e{constructor(){this.pageTitle="With Options",this.mdIntro="assets/docs/basic/with-options/intro.md",this.mdHTML="assets/docs/basic/with-options/source-html.md",this.mdTS="assets/docs/basic/with-options/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={pagingType:"full_numbers"}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-options"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["id","preview",1,"col","s12","m9","l12"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,QU,95,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function XU(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let JU=(()=>{class e{constructor(){this.pageTitle="Quickstart",this.mdIntro="assets/docs/basic/with-ajax/intro.md",this.mdHTML="assets/docs/basic/with-ajax/source-html.md",this.mdTS="assets/docs/basic/with-ajax/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-ajax"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,XU,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function e3(e,n){if(1&e&&(g(0,"tr")(1,"td"),y(2),m(),g(3,"td"),y(4),m(),g(5,"td"),y(6),m()()),2&e){const t=n.$implicit;k(2),zt(t.id),k(2),zt(t.firstName),k(2),zt(t.lastName)}}function t3(e,n){if(1&e&&(g(0,"table",2)(1,"thead")(2,"tr")(3,"th"),y(4,"ID"),m(),g(5,"th"),y(6,"First name"),m(),g(7,"th"),y(8,"Last name"),m()()(),g(9,"tbody"),J(10,e3,7,3,"tr",3),m()()),2&e){const t=fe();O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger),k(10),O("ngForOf",t.persons)}}let n3=(()=>{class e{constructor(t){this.httpClient=t,this.pageTitle="Angular way",this.mdIntro="assets/docs/basic/angular-way/intro.md",this.mdHTML="assets/docs/basic/angular-way/source-html.md",this.mdTS="assets/docs/basic/angular-way/source-ts.md",this.dtOptions={},this.persons=[],this.dtTrigger=new $e}ngOnInit(){this.dtOptions={pagingType:"full_numbers",pageLength:2},this.httpClient.get("data/data.json").subscribe(t=>{this.persons=t.data,this.dtTrigger.next(null)})}ngOnDestroy(){this.dtTrigger.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-angular-way"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template","deprecated"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],[4,"ngFor","ngForOf"]],template:function(r,i){if(1&r&&(J(0,t3,11,3,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)("deprecated",!0)}},dependencies:[Bb,xe,He],encapsulation:2})}return e})();function r3(e,n){1&e&&(g(0,"blockquote")(1,"p"),y(2,"No preview as we do not have a server that can serve the queries."),m()())}let i3=(()=>{class e{constructor(){this.pageTitle="Server side the Angular way",this.mdIntro="assets/docs/basic/server-side-angular-way/intro.md",this.mdHTML="assets/docs/basic/server-side-angular-way/source-html.md",this.mdTS="assets/docs/basic/server-side-angular-way/source-ts.md",this.dtOptions={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-server-side-angular-way"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template","deprecated"]],template:function(r,i){if(1&r&&(J(0,r3,3,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)("deprecated",!0)}},dependencies:[He],styles:[".no-data-available[_ngcontent-%COMP%]{text-align:center}"]})}return e})();function o3(e,n){if(1&e){const t=Br();g(0,"form",2),Te("submit",function(){return jn(t),Hn(fe().filterById())}),g(1,"label"),y(2," Min "),g(3,"input",3),Te("ngModelChange",function(i){return jn(t),Hn(fe().min=i)}),m()(),g(4,"label"),y(5," Max "),g(6,"input",4),Te("ngModelChange",function(i){return jn(t),Hn(fe().max=i)}),m()(),g(7,"button",5),y(8,"Filter by ID"),m()(),R(9,"br")(10,"table",6)}if(2&e){const t=fe();k(3),O("ngModel",t.min),k(3),O("ngModel",t.max),k(4),O("dtOptions",t.dtOptions)}}let s3=(()=>{class e{constructor(){this.pageTitle="Custom filtering - Range search",this.mdIntro="assets/docs/advanced/custom-range/intro.md",this.mdHTML="assets/docs/advanced/custom-range/source-html.md",this.mdTS="assets/docs/advanced/custom-range/source-ts.md",this.dtOptions={}}ngOnInit(){$.fn.dataTable.ext.search.push((t,r,i)=>{const o=parseFloat(r[0])||0;return!!(isNaN(this.min)&&isNaN(this.max)||isNaN(this.min)&&o<=this.max||this.min<=o&&isNaN(this.max)||this.min<=o&&o<=this.max)}),this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngOnDestroy(){$.fn.dataTable.ext.search.pop()}filterById(){return this.datatableElement.dtInstance.then(t=>{t.draw()}),!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-custom-range-search"]],viewQuery:function(r,i){if(1&r&&pr(xe,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],[3,"submit"],["type","number","name","min","id","min",3,"ngModel","ngModelChange"],["type","number","name","max","id","max",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,o3,11,3,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[lI,Ic,Ap,qE,ZE,Np,Fc,xe,He],encapsulation:2})}return e})();function a3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){jn(t);const i=fe();return Hn(i.displayToConsole(i.datatableElement))}),y(2," Display the DataTable instance in the console "),m()(),g(3,"blockquote"),y(4),Rs(5,"async"),m(),R(6,"table",3)}if(2&e){const t=fe();let r;k(4),Ql(" The DataTable instance ID is: ",null==(r=Ps(5,2,null==t.datatableElement?null:t.datatableElement.dtInstance))?null:r.table().node().id," "),k(2),O("dtOptions",t.dtOptions)}}let l3=(()=>{class e{constructor(){this.pageTitle="Finding DataTable instance",this.mdIntro="assets/docs/advanced/dt-instance/intro.md",this.mdHTML="assets/docs/advanced/dt-instance/source-html.md",this.mdTS="assets/docs/advanced/dt-instance/source-ts.md",this.dtOptions={}}displayToConsole(t){t.dtInstance.then(r=>console.log(r))}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-dt-instance"]],viewQuery:function(r,i){if(1&r&&pr(xe,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,a3,7,4,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He,ep],encapsulation:2})}return e})();function c3(e,n){1&e&&(g(0,"table",2)(1,"tfoot")(2,"tr")(3,"th"),R(4,"input",3),m(),g(5,"th"),R(6,"input",4),m(),g(7,"th"),R(8,"input",5),m()()()()),2&e&&O("dtOptions",fe().dtOptions)}let u3=(()=>{class e{constructor(){this.pageTitle="Individual column searching",this.mdIntro="assets/docs/advanced/indi-col-filter/intro.md",this.mdHTML="assets/docs/advanced/indi-col-filter/source-html.md",this.mdTS="assets/docs/advanced/indi-col-filter/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngAfterViewInit(){this.datatableElement.dtInstance.then(t=>{t.columns().every(function(){const r=this;$("input",this.footer()).on("keyup change",function(){r.search()!==this.value&&r.search(this.value).draw()})})})}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-individual-column-filtering"]],viewQuery:function(r,i){if(1&r&&pr(xe,5),2&r){let o;qn(o=Zn())&&(i.datatableElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"],["type","text","placeholder","Search ID","name","search-id"],["type","text","placeholder","Search first name","name","search-first-name"],["type","text","placeholder","Search last name","name","search-last-name"]],template:function(r,i){if(1&r&&(J(0,c3,9,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function d3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let f3=(()=>{class e{constructor(t){this.httpClient=t,this.pageTitle="Load DT Options with Promise",this.mdIntro="assets/docs/advanced/load-dt-opt-with-promise/intro.md",this.mdHTML="assets/docs/advanced/load-dt-opt-with-promise/source-html.md",this.mdTS="assets/docs/advanced/load-dt-opt-with-promise/source-ts.md"}ngOnInit(){this.dtOptions=this.httpClient.get("data/dtOptions.json").toPromise().catch(this.handleError)}handleError(t){return console.error("An error occurred",t),Promise.reject(t.message||t)}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-load-dt-options-with-promise"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,d3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function h3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){return jn(t),Hn(fe().rerender())}),y(2," Rerender "),m()(),R(3,"table",3)}if(2&e){const t=fe();k(3),O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}let p3=(()=>{class e{constructor(){this.pageTitle="Rerender",this.mdIntro="assets/docs/advanced/rerender/intro.md",this.mdHTML="assets/docs/advanced/rerender/source-html.md",this.mdTS="assets/docs/advanced/rerender/source-ts.md",this.dtOptions={},this.dtTrigger=new $e}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}ngAfterViewInit(){this.dtTrigger.next(null)}ngOnDestroy(){this.dtTrigger.unsubscribe()}rerender(){this.dtElement.dtInstance.then(t=>{t.destroy(),this.dtTrigger.next(null)})}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-rerender"]],viewQuery:function(r,i){if(1&r&&pr(xe,5),2&r){let o;qn(o=Zn())&&(i.dtElement=o.first)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"]],template:function(r,i){if(1&r&&(J(0,h3,4,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function g3(e,n){if(1&e&&(g(0,"blockquote"),y(1,"Please click on a row"),m(),g(2,"p",2),y(3,"You clicked on: "),g(4,"strong"),y(5),m()(),R(6,"br")(7,"table",3)),2&e){const t=fe();k(5),zt(t.message),k(2),O("dtOptions",t.dtOptions)}}let m3=(()=>{class e{constructor(){this.pageTitle="Row click event",this.mdIntro="assets/docs/advanced/row-click/intro.md",this.mdHTML="assets/docs/advanced/row-click/source-html.md",this.mdTS="assets/docs/advanced/row-click/source-ts.md",this.message="",this.dtOptions={}}someClickHandler(t){this.message=t.id+" - "+t.firstName}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],rowCallback:(t,r,i)=>{const o=this;return $("td",t).off("click"),$("td",t).on("click",()=>{o.someClickHandler(r)}),t}}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-row-click-event"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],[1,"text-danger"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,g3,8,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function y3(e,n){if(1&e){const t=Br();g(0,"p")(1,"button",2),Te("click",function(){return jn(t),Hn(fe().displayToConsole())}),y(2," Display the DataTable instances in the console "),m()(),g(3,"h5",3),y(4,"Table 1"),m(),R(5,"table",4),g(6,"h5",3),y(7,"Table 2"),m(),R(8,"table",5)}if(2&e){const t=fe();k(5),O("dtOptions",t.dtOptions[0]),k(3),O("dtOptions",t.dtOptions[1])}}let v3=(()=>{class e{constructor(){this.pageTitle="Multiple tables in the same page",this.mdIntro="assets/docs/advanced/multiple-tables/intro.md",this.mdHTML="assets/docs/advanced/multiple-tables/source-html.md",this.mdTS="assets/docs/advanced/multiple-tables/source-ts.md",this.dtOptions=[]}displayToConsole(){this.dtElements.forEach((t,r)=>{t.dtInstance.then(i=>{console.log(`The DataTable ${r} instance ID is: ${i.table().node().id}`)})})}ngOnInit(){this.dtOptions[0]=this.buildDtOptions("data/data.json"),this.dtOptions[1]=this.buildDtOptions("data/data1.json")}buildDtOptions(t){return{ajax:t,columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-multiple-tables"]],viewQuery:function(r,i){if(1&r&&pr(xe,5),2&r){let o;qn(o=Zn())&&(i.dtElements=o)}},decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["type","button",1,"btn","waves-effect","waves-light","blue",3,"click"],[1,"header"],["id","first-table","datatable","",1,"row-border","hover",3,"dtOptions"],["id","second-table","datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,y3,9,2,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})(),pS=(()=>{class e{constructor(){this.emitter=new $e,this.data={},this.actionText="Action 1"}ngOnInit(){}onAction1(){this.emitter.next({cmd:"action1",data:this.data})}ngOnDestroy(){this.emitter.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-demo-ng-template-ref"]],inputs:{data:"data",actionText:"actionText"},outputs:{emitter:"emitter"},decls:3,vars:1,consts:[[1,"btn-group","d-block","text-center"],[1,"btn","btn-sm","btn-dark",3,"click"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"button",1),Te("click",function(){return i.onAction1()}),y(2),m()()),2&r&&(k(2),zt(i.actionText))},encapsulation:2})}return e})();const _3=["demoNg"];function w3(e,n){if(1&e&&R(0,"table",3),2&e){const t=fe();O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}function D3(e,n){if(1&e){const t=Br();g(0,"app-demo-ng-template-ref",4),Te("emitter",function(i){return Hn((0,jn(t).captureEvents)(i))}),m()}2&e&&O("data",n.adtData)}let C3=(()=>{class e{constructor(t){this.router=t,this.pageTitle="Router Link",this.mdIntro="assets/docs/advanced/router-link/intro.md",this.mdHTML="assets/docs/advanced/router-link/source-html.md",this.mdTS="assets/docs/advanced/router-link/source-ts.md",this.mdTSHigh="assets/docs/advanced/router-link/source-tsHigh.md",this.mdTSHeading="TypeScript (Angular v9 and below)",this.mdTSHighHeading="TypeScript (Angular v10 and above)",this.dtOptions={},this.dtTrigger=new $e}ngOnInit(){}ngAfterViewInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"},{title:"Action",defaultContent:"",ngTemplateRef:{ref:this.demoNg,context:{captureEvents:this.onCaptureEvent.bind(this)}}}]},setTimeout(()=>{this.dtTrigger.next(this.dtOptions)},200)}onCaptureEvent(t){this.router.navigate(["/person/"+t.data.id])}ngOnDestroy(){this.dtTrigger?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-router-link"]],viewQuery:function(r,i){if(1&r&&pr(_3,5),2&r){let o;qn(o=Zn())&&(i.demoNg=o.first)}},decls:5,vars:8,consts:[["preview",""],["demoNg",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","mdTSHeading","mdTSHigh","mdTSHighHeading","template"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],["actionText","View",3,"data","emitter"]],template:function(r,i){if(1&r&&(J(0,w3,1,2,"ng-template",null,0,Se)(2,D3,1,1,"ng-template",null,1,Se),R(4,"app-base-demo",2)),2&r){const o=Re(1);k(4),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("mdTSHeading",i.mdTSHeading)("mdTSHigh",i.mdTSHigh)("mdTSHighHeading",i.mdTSHighHeading)("template",o)}},dependencies:[xe,He,pS],encapsulation:2})}return e})();function b3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let E3=(()=>{class e{constructor(){this.pageTitle="DataTables Buttons extension",this.mdIntro="assets/docs/extensions/buttons/intro.md",this.mdInstall="assets/docs/extensions/buttons/installation.md",this.mdHTML="assets/docs/extensions/buttons/source-html.md",this.mdTS="assets/docs/extensions/buttons/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],dom:"Bfrtip",buttons:["columnsToggle","colvis","copy",{extend:"csv",text:"CSV export",fieldSeparator:";",exportOption:[1,2,3]},"excel",{text:"Some button",key:"1",action:function(t,r,i,o){alert("Button activated")}}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-buttons-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,b3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function I3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let T3=(()=>{class e{constructor(){this.pageTitle="DataTables ColReorder extension",this.mdIntro="assets/docs/extensions/colreorder/intro.md",this.mdInstall="assets/docs/extensions/colreorder/installation.md",this.mdHTML="assets/docs/extensions/colreorder/source-html.md",this.mdTS="assets/docs/extensions/colreorder/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"No move me!",data:"id"},{title:"Try to move me!",data:"firstName"},{title:"You cannot move me! *evil laugh*",data:"lastName"}],dom:"Rt",colReorder:{order:[1,0,2],fixedColumnsRight:2}}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-colreorder-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,I3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function S3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let M3=(()=>{class e{constructor(){this.pageTitle="DataTables Responsive extension",this.mdIntro="assets/docs/extensions/responsive/intro.md",this.mdInstall="assets/docs/extensions/responsive/installation.md",this.mdHTML="assets/docs/extensions/responsive/source-html.md",this.mdTS="assets/docs/extensions/responsive/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName",class:"none"}],responsive:!0}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-responsive-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,S3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function N3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let A3=(()=>{class e{constructor(){this.pageTitle="DataTables Select extension",this.mdIntro="assets/docs/extensions/select/intro.md",this.mdInstall="assets/docs/extensions/select/installation.md",this.mdHTML="assets/docs/extensions/select/source-html.md",this.mdTS="assets/docs/extensions/select/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}],select:!0}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-select-extension"]],decls:3,vars:6,consts:[["preview",""],[3,"pageTitle","mdIntro","mdInstall","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,N3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdInstall",i.mdInstall)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})();function x3(e,n){1&e&&R(0,"table",2),2&e&&O("dtOptions",fe().dtOptions)}let O3=(()=>{class e{constructor(t,r){this.pipeInstance=t,this.pipeCurrencyInstance=r,this.pageTitle="Using Angular Pipe",this.mdIntro="assets/docs/advanced/using-ng-pipe/intro.md",this.mdHTML="assets/docs/advanced/using-ng-pipe/source-html.md",this.mdTS="assets/docs/advanced/using-ng-pipe/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={ajax:"data/data.json",columns:[{title:"Id (Money)",data:"id",ngPipeInstance:this.pipeCurrencyInstance,ngPipeArgs:["USD","symbol"]},{title:"First name",data:"firstName",ngPipeInstance:this.pipeInstance},{title:"Last name",data:"lastName",ngPipeInstance:this.pipeInstance}]}}static#e=this.\u0275fac=function(r){return new(r||e)(C(tp),C(np))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-using-ng-pipe"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["datatable","",1,"row-border","hover",3,"dtOptions"]],template:function(r,i){if(1&r&&(J(0,x3,1,1,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He],encapsulation:2})}return e})(),k3=(()=>{class e{constructor(){this.faqMd="assets/docs/faq.md"}ngOnInit(){}onLoad(t){$(".toolbar").hide(),$("h5").css("color","red")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-f-a-q"]],decls:8,vars:2,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[3,"className","src","load"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"FAQ"),m()()()()(),g(6,"div",1)(7,"markdown",5),Te("load",function(s){return i.onLoad(s)}),m()()),2&r&&(k(7),O("className","faqMarkdown")("src",i.faqMd))},dependencies:[pa]})}return e})();const R3=["demoNg"];function P3(e,n){if(1&e&&(g(0,"blockquote"),y(1,"Please click on Action button"),m(),g(2,"p",3),y(3,"You clicked on: "),g(4,"strong"),y(5),m()(),R(6,"br")(7,"table",4)),2&e){const t=fe();k(5),zt(t.message),k(2),O("dtOptions",t.dtOptions)("dtTrigger",t.dtTrigger)}}function F3(e,n){if(1&e){const t=Br();g(0,"app-demo-ng-template-ref",5),Te("emitter",function(i){return Hn((0,jn(t).captureEvents)(i))}),m()}2&e&&O("data",n.adtData)}let L3=(()=>{class e{constructor(){this.pageTitle="Using Angular TemplateRef",this.mdIntro="assets/docs/advanced/using-ng-template-ref/intro.md",this.mdHTML="assets/docs/advanced/using-ng-template-ref/source-html.md",this.mdTS="assets/docs/advanced/using-ng-template-ref/source-ts.md",this.dtOptions={},this.dtTrigger=new $e,this.message=""}ngOnInit(){setTimeout(()=>{this.dtOptions={ajax:"data/data.json",columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"},{title:"Actions",data:null,defaultContent:"",ngTemplateRef:{ref:this.demoNg,context:{captureEvents:this.onCaptureEvent.bind(this)}}}]}})}ngAfterViewInit(){setTimeout(()=>{this.dtTrigger.next(this.dtOptions)},200)}onCaptureEvent(t){this.message=`Event '${t.cmd}' with data '${JSON.stringify(t.data)}`}ngOnDestroy(){this.dtTrigger.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-using-ng-template-ref"]],viewQuery:function(r,i){if(1&r&&pr(R3,5),2&r){let o;qn(o=Zn())&&(i.demoNg=o.first)}},decls:5,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"],["demoNg",""],[1,"text-danger"],["datatable","",1,"row-border","hover",3,"dtOptions","dtTrigger"],[3,"data","emitter"]],template:function(r,i){if(1&r&&(J(0,P3,8,3,"ng-template",null,0,Se),R(2,"app-base-demo",1),J(3,F3,1,1,"ng-template",null,2,Se)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[xe,He,pS],encapsulation:2})}return e})();function j3(e,n){1&e&&(g(0,"blockquote")(1,"p"),y(2,"No preview as we do not have a server that can serve the queries."),m()())}function $3(e,n){1&e&&(g(0,"blockquote")(1,"p"),y(2,"No preview as we do not have a server that can serve the queries."),m()())}const B3=[{path:"",redirectTo:"/welcome",pathMatch:"full"},{path:"welcome",component:LU},{path:"getting-started",component:VU},{path:"more-help",component:(()=>{class e{constructor(){this.resourcesMd="assets/docs/more-help.md"}ngOnInit(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-more-help"]],decls:31,vars:0,consts:[[1,"top-banner","section","banner"],[1,"container"],[1,"row"],[1,"col","s12","m9"],[1,"header","center-on-small-only"],[1,"caption"],["href","https://github.com/l-lin/angular-datatables/discussions"],["href","https://github.com/l-lin/angular-datatables/issues"],["href","https://docs.github.com/en/site-policy/github-terms/github-community-code-of-conduct"],["id","resources-container"],["href","https://datatables.net","title","DataTables.net"],["src","assets/datatables.png","alt","Datatables.net"],["href","https://www.npmjs.com/package/angular-datatables","title","Install with NPM"],["src","assets/npm.png","alt","NPM"],["href","https://github.com/l-lin/angular-datatables","title","View Source on Github"],["src","assets/github.png","alt","Github"]],template:function(r,i){1&r&&(g(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),y(5,"Resources"),m()()()()(),g(6,"div",1)(7,"p",5),y(8,"We have also listed out a few links regarding the project."),m(),g(9,"p",5),y(10,"If you'd like more help, please check out "),g(11,"a",6),y(12,"Discussions"),m(),y(13," section on our GitHub repository for more information."),m(),g(14,"p",5),y(15,"If you'd like to help improve this library, please open an "),g(16,"a",7),y(17,"issue"),m(),y(18," on the repository with your suggestions and feedback. "),m(),g(19,"p",5),y(20,"We ask you to follow "),g(21,"a",8),y(22," GitHub Code of Conduct"),m(),y(23," when opening issues or discussion as we like to keep this community open and welcoming for all."),m(),g(24,"div",9)(25,"a",10),R(26,"img",11),m(),g(27,"a",12),R(28,"img",13),m(),g(29,"a",14),R(30,"img",15),m()()())},styles:["#resources-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly}"]})}return e})()},{path:"person/:id",component:$U},{path:"basic/zero-config",component:YU},{path:"basic/with-options",component:KU},{path:"basic/with-ajax",component:JU},{path:"basic/with-ajax-callback",component:(()=>{class e{constructor(t){this.http=t,this.pageTitle="AJAX with callback",this.mdIntro="assets/docs/basic/with-ajax-callback/intro.md",this.mdHTML="assets/docs/basic/with-ajax-callback/source-html.md",this.mdTS="assets/docs/basic/with-ajax-callback/source-ts.md",this.dtOptions={}}ngOnInit(){this.dtOptions={columns:[{title:"ID",data:"id"},{title:"First name",data:"firstName"},{title:"Last name",data:"lastName"}]}}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ks))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-with-ajax-callback"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"]],template:function(r,i){if(1&r&&(J(0,j3,3,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[He],encapsulation:2})}return e})()},{path:"basic/new-server-side",component:(()=>{class e{constructor(){this.pageTitle="Server-side processing",this.mdIntro="assets/docs/basic/new-server-side/intro.md",this.mdHTML="assets/docs/basic/new-server-side/source-html.md",this.mdTS="assets/docs/basic/new-server-side/source-ts.md",this.dtOptions={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["app-new-server-side"]],decls:3,vars:5,consts:[["preview",""],[3,"pageTitle","mdIntro","mdHTML","mdTS","template"]],template:function(r,i){if(1&r&&(J(0,$3,3,0,"ng-template",null,0,Se),R(2,"app-base-demo",1)),2&r){const o=Re(1);k(2),O("pageTitle",i.pageTitle)("mdIntro",i.mdIntro)("mdHTML",i.mdHTML)("mdTS",i.mdTS)("template",o)}},dependencies:[He]})}return e})()},{path:"basic/angular-way",component:n3},{path:"basic/server-side-angular-way",component:i3},{path:"advanced/custom-range-search",component:s3},{path:"advanced/dt-instance",component:l3},{path:"advanced/individual-column-filtering",component:u3},{path:"advanced/load-dt-options-with-promise",component:f3},{path:"advanced/rerender",component:p3},{path:"advanced/row-click-event",component:m3},{path:"advanced/multiple-tables",component:v3},{path:"advanced/router-link",component:C3},{path:"advanced/using-pipe",component:O3},{path:"advanced/using-template-ref",component:L3},{path:"extensions/buttons",component:E3},{path:"extensions/colreorder",component:T3},{path:"extensions/responsive",component:M3},{path:"extensions/select",component:A3},{path:"faq",component:k3}];let U3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e});static#n=this.\u0275inj=It({imports:[eS.forRoot(B3,{useHash:!0}),eS]})}return e})(),z3=(()=>{class e{constructor(t){this.router=t,this.routerEventsSub$=null}ngOnInit(){$.fn.dataTable.ext.errMode="none",$(".button-collapse").sideNav({closeOnClick:!0}),this.routerEventsSub$=this.router.events.pipe(Mn(t=>t instanceof xn)).subscribe(t=>{setTimeout(()=>{$("ul.tabs").tabs()},600)})}ngOnDestroy(){this.routerEventsSub$?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(C(Ot))};static#t=this.\u0275cmp=te({type:e,selectors:[["app-root"]],decls:144,vars:0,consts:[[1,"container"],["data-activates","nav-mobile",1,"button-collapse","top-nav","waves-effect","waves-light","circle","hide-on-large-only"],[1,"material-icons"],["id","nav-mobile",1,"side-nav","fixed"],[1,"logo"],["id","logo-container","routerLink","",1,"brand-logo"],[1,"logo-img"],["src","assets/angular.png","alt","Angular"],[1,"plus"],["src","assets/datatables.png","alt","DataTables"],[1,"subheader"],[1,"bold"],["routerLink","/getting-started",1,"waves-effect","waves-blue"],["routerLink","/basic/with-ajax",1,"waves-effect","waves-blue"],[1,"divider"],[1,"no-padding"],[1,"collapsible","collapsible-accordion"],[1,"collapsible-header","waves-effect","waves-blue"],[1,"collapsible-body"],["routerLink","/basic/zero-config",1,"waves-effect","waves-blue"],["routerLink","/basic/with-options",1,"waves-effect","waves-blue"],["routerLink","/basic/with-ajax-callback",1,"waves-effect","waves-blue"],["routerLink","/basic/new-server-side",1,"waves-effect","waves-blue"],["routerLink","/advanced/row-click-event",1,"waves-effect","waves-blue"],["routerLink","/advanced/multiple-tables",1,"waves-effect","waves-blue"],["routerLink","/advanced/dt-instance",1,"waves-effect","waves-blue"],["routerLink","/advanced/load-dt-options-with-promise",1,"waves-effect","waves-blue"],["routerLink","/advanced/using-pipe",1,"waves-effect","waves-blue"],["routerLink","/advanced/using-template-ref",1,"waves-effect","waves-blue"],["routerLink","/advanced/rerender",1,"waves-effect","waves-blue"],["routerLink","/advanced/router-link",1,"waves-effect","waves-blue"],["routerLink","/advanced/custom-range-search",1,"waves-effect","waves-blue"],["routerLink","/advanced/individual-column-filtering",1,"waves-effect","waves-blue"],["routerLink","/extensions/buttons",1,"waves-effect","waves-blue"],["routerLink","/extensions/colreorder",1,"waves-effect","waves-blue"],["routerLink","/extensions/responsive",1,"waves-effect","waves-blue"],["routerLink","/extensions/select",1,"waves-effect","waves-blue"],["routerLink","/faq",1,"waves-effect","waves-blue"],["routerLink","/more-help",1,"waves-effect","waves-blue"],["data-badge-caption","",1,"new","badge","red"],["routerLink","/basic/angular-way",1,"waves-effect","waves-blue"],["routerLink","/basic/server-side-angular-way",1,"waves-effect","waves-blue"],[1,"page-footer"],[1,"footer-copyright"],[1,"white-text","text-darken-2"],["href","https://github.com/l-lin",1,"grey-text","text-darken-4"],["href","https://github.com/shanmukhateja",1,"grey-text","text-darken-4"]],template:function(r,i){1&r&&(g(0,"header")(1,"div",0)(2,"a",1)(3,"i",2),y(4,"menu"),m()()(),g(5,"ul",3)(6,"li",4)(7,"h3")(8,"a",5)(9,"div",6),R(10,"img",7),g(11,"span",8),y(12,"+"),m(),R(13,"img",9),m()()()(),g(14,"li")(15,"a",10),y(16,"Getting Started"),m()(),g(17,"li",11)(18,"a",12),y(19,"Installation"),m()(),g(20,"li",11)(21,"a",13),y(22,"Quickstart"),m()(),g(23,"li"),R(24,"div",14),m(),g(25,"li")(26,"a",10),y(27,"Usage"),m()(),g(28,"li",15)(29,"ul",16)(30,"li",11)(31,"a",17),y(32,"Basic Examples"),m(),g(33,"div",18)(34,"ul")(35,"li")(36,"a",19),y(37,"Zero configuration"),m()(),g(38,"li")(39,"a",20),y(40,"With options"),m()(),g(41,"li")(42,"a",21),y(43,"AJAX using DT callback"),m()(),g(44,"li")(45,"a",22),y(46,"Server side"),m()(),g(47,"li")(48,"a",23),y(49,"Row click event"),m()(),g(50,"li")(51,"a",24),y(52,"Multiple tables"),m()(),g(53,"li")(54,"a",25),y(55,"Fetching DataTable instances"),m()(),g(56,"li")(57,"a",26),y(58,"Load DT options with promise"),m()()()()(),g(59,"li",11)(60,"a",17),y(61,"Angular"),m(),g(62,"div",18)(63,"ul")(64,"li")(65,"a",27),y(66,"Using Pipes"),m()(),g(67,"li")(68,"a",28),y(69,"Using TemplateRef"),m()(),g(70,"li")(71,"a",29),y(72,"Re-render table"),m()(),g(73,"li")(74,"a",30),y(75,"Router link"),m()()()()(),g(76,"li",11)(77,"a",17),y(78,"Filtering"),m(),g(79,"div",18)(80,"ul")(81,"li")(82,"a",31),y(83,"Custom filtering - Range search"),m()(),g(84,"li")(85,"a",32),y(86,"Individual column filtering"),m()()()()(),g(87,"li",11)(88,"a",17),y(89,"DT extensions"),m(),g(90,"div",18)(91,"ul")(92,"li")(93,"a",33),y(94,"Buttons extension"),m()(),g(95,"li")(96,"a",34),y(97,"ColReorder extension"),m()(),g(98,"li")(99,"a",35),y(100,"Responsive extension"),m()(),g(101,"li")(102,"a",36),y(103,"Select extension"),m()()()()(),g(104,"li"),R(105,"div",14),m(),g(106,"li")(107,"a",10),y(108,"Support"),m()(),g(109,"li",11)(110,"a",37),y(111,"FAQ"),m()(),g(112,"li",11)(113,"a",38),y(114,"Resources"),m()(),g(115,"li"),R(116,"div",14),m(),g(117,"li")(118,"a",10),y(119,"Deprecated "),g(120,"span",39),y(121,"NOT SUPPORTED"),m()()(),g(122,"li",11)(123,"a",40),y(124,"Angular way"),m()(),g(125,"li",11)(126,"a",41),y(127,"Server side the Angular way"),m()()()()()(),g(128,"main"),R(129,"router-outlet"),m(),g(130,"footer",42)(131,"div",43)(132,"div",0)(133,"p")(134,"span",44),y(135," Designed and built with \u2764\ufe0f by "),g(136,"a",45)(137,"u"),y(138,"Louis LIN"),m()(),y(139,", "),g(140,"a",46)(141,"u"),y(142,"Surya Teja K"),m()(),y(143," and contributors. "),m()()()()())},dependencies:[ag,fa],styles:["header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:absolute;left:10px;top:10px}header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.plus[_ngcontent-%COMP%]{font-size:65px;text-shadow:4px 4px rgba(0,0,0,.21)}ul.side-nav.fixed[_ngcontent-%COMP%] ul.collapsible-accordion[_ngcontent-%COMP%] a.collapsible-header[_ngcontent-%COMP%]{padding:0 30px}ul.side-nav.fixed[_ngcontent-%COMP%] ul.collapsible-accordion[_ngcontent-%COMP%] .collapsible-body[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:400;padding:0 37.5px 0 45px}.collapsible-body[_ngcontent-%COMP%]{display:block;padding:0}.logo[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:20px;text-align:center;margin:0}.side-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:120px!important;background-color:#2196f3;color:#fff}.side-nav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#61c4f3}.logo-img[_ngcontent-%COMP%]{padding-top:25px}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #e9e9e9}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;padding:20px 0 0;height:60px;display:block}.side-nav[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0;text-align:center;width:50%;line-height:15px}.github-stars[_ngcontent-%COMP%]{vertical-align:middle}#logo-container[_ngcontent-%COMP%]{display:block}"]})}return e})(),G3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ft({type:e,bootstrap:[z3]});static#n=this.\u0275inj=It({providers:[tp,np],imports:[BV,Xj,TH,kH,U3,FU.forRoot({sanitize:Nt.NONE})]})}return e})();HV().bootstrapModule(G3)}},uu=>{uu(uu.s=318)}]); \ No newline at end of file