UNPKG

@gouvfr-anct/cartographie-nationale

Version:

💻 Client pour l'affichage de la cartographie nationale de l’offre de médiation numérique dans un navigateur web.

1 lines • 1.86 MB
(self.webpackChunkcartographie=self.webpackChunkcartographie||[]).push([["main"],{148:(mt,Wn,wt)=>{"use strict";function dt(e){return"function"==typeof e}function di(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const oi=di(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function y(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class dn{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 s of t)s.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(dt(i))try{i()}catch(s){n=s instanceof oi?s.errors:[s]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const s of r)try{Fo(s)}catch(d){n=n??[],d instanceof oi?n=[...n,...d.errors]:n.push(d)}}if(n)throw new oi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Fo(n);else{if(n instanceof dn){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)&&y(t,n)}remove(n){const{_finalizers:t}=this;t&&y(t,n),n instanceof dn&&n._removeParent(this)}}dn.EMPTY=(()=>{const e=new dn;return e.closed=!0,e})();const xi=dn.EMPTY;function xr(e){return e instanceof dn||e&&"closed"in e&&dt(e.remove)&&dt(e.add)&&dt(e.unsubscribe)}function Fo(e){dt(e)?e():e.unsubscribe()}const En={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Oe={setTimeout(e,n,...t){const{delegate:i}=Oe;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Oe;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Fi(e){Oe.setTimeout(()=>{const{onUnhandledError:n}=En;if(!n)throw e;n(e)})}function Ln(){}const lr=dr("C",void 0,void 0);function dr(e,n,t){return{kind:e,value:n,error:t}}let Ii=null;function Tn(e){if(En.useDeprecatedSynchronousErrorHandling){const n=!Ii;if(n&&(Ii={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ii;if(Ii=null,t)throw i}}else e()}class ra extends dn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,xr(n)&&n.add(this)):this.destination=Ka}static create(n,t,i){return new er(n,t,i)}next(n){this.isStopped?wi(function cr(e){return dr("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?wi(function Yr(e){return dr("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?wi(lr,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 Br=Function.prototype.bind;function Lo(e,n){return Br.call(e,n)}class wr{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Vr(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Vr(i)}else Vr(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Vr(t)}}}class er extends ra{constructor(n,t,i){let r;if(super(),dt(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let s;this&&En.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Lo(n.next,s),error:n.error&&Lo(n.error,s),complete:n.complete&&Lo(n.complete,s)}):r=n}this.destination=new wr(r)}}function Vr(e){En.useDeprecatedSynchronousErrorHandling?function Ki(e){En.useDeprecatedSynchronousErrorHandling&&Ii&&(Ii.errorThrown=!0,Ii.error=e)}(e):Fi(e)}function wi(e,n){const{onStoppedNotification:t}=En;t&&Oe.setTimeout(()=>t(e,n))}const Ka={closed:!0,next:Ln,error:function Xr(e){throw e},complete:Ln},an="function"==typeof Symbol&&Symbol.observable||"@@observable";function ur(e){return e}function oa(...e){return oo(e)}function oo(e){return 0===e.length?ur:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let Un=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const s=function xn(e){return e&&e instanceof ra||function lt(e){return e&&dt(e.next)&&dt(e.error)&&dt(e.complete)}(e)&&xr(e)}(t)?t:new er(t,i,r);return Tn(()=>{const{operator:d,source:p}=this;s.add(d?d.call(s,p):p?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=jt(i))((r,s)=>{const d=new er({next:p=>{try{t(p)}catch(v){s(v),d.unsubscribe()}},error:s,complete:r});this.subscribe(d)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[an](){return this}pipe(...t){return oo(t)(this)}toPromise(t){return new(t=jt(t))((i,r)=>{let s;this.subscribe(d=>s=d,d=>r(d),()=>i(s))})}}return e.create=n=>new e(n),e})();function jt(e){var n;return null!==(n=e??En.Promise)&&void 0!==n?n:Promise}const Oi=di(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Rt=(()=>{class e extends Un{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new ji(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new Oi}next(t){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:s}=this;return i||r?xi:(this.currentObservers=null,s.push(t),new dn(()=>{this.currentObservers=null,y(s,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:s}=this;i?t.error(r):s&&t.complete()}asObservable(){const t=new Un;return t.source=this,t}}return e.create=(n,t)=>new ji(n,t),e})();class ji extends Rt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:xi}}function Ci(e){return dt(e?.lift)}function nn(e){return n=>{if(Ci(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function yn(e,n,t,i,r){return new $e(e,n,t,i,r)}class $e extends ra{constructor(n,t,i,r,s,d){super(n),this.onFinalize=s,this.shouldUnsubscribe=d,this._next=t?function(p){try{t(p)}catch(v){n.error(v)}}:super._next,this._error=r?function(p){try{r(p)}catch(v){n.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(p){n.error(p)}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 De(e,n){return nn((t,i)=>{let r=0;t.subscribe(yn(i,s=>{i.next(e.call(n,s,r++))}))})}function Yn(e,n,t,i){var d,r=arguments.length,s=r<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,t,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(s=(r<3?d(s):r>3?d(n,t,s):d(n,t))||s);return r>3&&s&&Object.defineProperty(n,t,s),s}function Er(e,n){return function(t,i){n(t,i,e)}}function lo(e){return this instanceof lo?(this.v=e,this):new lo(e)}function Lr(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),s=[];return r={},d("next"),d("throw"),d("return"),r[Symbol.asyncIterator]=function(){return this},r;function d(ee){i[ee]&&(r[ee]=function(oe){return new Promise(function(me,Se){s.push([ee,oe,me,Se])>1||p(ee,oe)})})}function p(ee,oe){try{!function v(ee){ee.value instanceof lo?Promise.resolve(ee.value.v).then(S,I):N(s[0][2],ee)}(i[ee](oe))}catch(me){N(s[0][3],me)}}function S(ee){p("next",ee)}function I(ee){p("throw",ee)}function N(ee,oe){ee(oe),s.shift(),s.length&&p(s[0][0],s[0][1])}}function Zn(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 ao(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(s){t[s]=e[s]&&function(d){return new Promise(function(p,v){!function r(s,d,p,v){Promise.resolve(v).then(function(S){s({value:S,done:p})},d)}(p,v,(d=e[s](d)).done,d.value)})}}}const si=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function fn(e){return dt(e?.then)}function Ot(e){return dt(e[an])}function Xi(e){return Symbol.asyncIterator&&dt(e?.[Symbol.asyncIterator])}function Qr(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 se=function Xn(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function G(e){return dt(e?.[se])}function Y(e){return Lr(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield lo(t.read());if(r)return yield lo(void 0);yield yield lo(i)}}finally{t.releaseLock()}})}function R(e){return dt(e?.getReader)}function O(e){if(e instanceof Un)return e;if(null!=e){if(Ot(e))return function B(e){return new Un(n=>{const t=e[an]();if(dt(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(si(e))return function L(e){return new Un(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(fn(e))return function A(e){return new Un(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Fi)})}(e);if(Xi(e))return W(e);if(G(e))return function z(e){return new Un(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(R(e))return function le(e){return W(Y(e))}(e)}throw Qr(e)}function W(e){return new Un(n=>{(function pe(e,n){var t,i,r,s;return function xa(e,n,t,i){return new(t||(t=Promise))(function(s,d){function p(I){try{S(i.next(I))}catch(N){d(N)}}function v(I){try{S(i.throw(I))}catch(N){d(N)}}function S(I){I.done?s(I.value):function r(s){return s instanceof t?s:new t(function(d){d(s)})}(I.value).then(p,v)}S((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Zn(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(d){r={error:d}}finally{try{i&&!i.done&&(s=t.return)&&(yield s.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Ce(e,n,t,i=0,r=!1){const s=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(s),!r)return s}function ue(e,n,t=1/0){return dt(n)?ue((i,r)=>De((s,d)=>n(i,s,r,d))(O(e(i,r))),t):("number"==typeof n&&(t=n),nn((i,r)=>function Be(e,n,t,i,r,s,d,p){const v=[];let S=0,I=0,N=!1;const ee=()=>{N&&!v.length&&!S&&n.complete()},oe=Se=>S<i?me(Se):v.push(Se),me=Se=>{s&&n.next(Se),S++;let ke=!1;O(t(Se,I++)).subscribe(yn(n,je=>{r?.(je),s?oe(je):n.next(je)},()=>{ke=!0},void 0,()=>{if(ke)try{for(S--;v.length&&S<i;){const je=v.shift();d?Ce(n,d,()=>me(je)):me(je)}ee()}catch(je){n.error(je)}}))};return e.subscribe(yn(n,oe,()=>{N=!0,ee()})),()=>{p?.()}}(i,r,e,t)))}function Ve(e=1/0){return ue(ur,e)}const He=new Un(e=>e.complete());function Mt(e){return e&&dt(e.schedule)}function rt(e){return e[e.length-1]}function pt(e){return dt(rt(e))?e.pop():void 0}function Sn(e){return Mt(rt(e))?e.pop():void 0}function _i(e,n=0){return nn((t,i)=>{t.subscribe(yn(i,r=>Ce(i,e,()=>i.next(r),n),()=>Ce(i,e,()=>i.complete(),n),r=>Ce(i,e,()=>i.error(r),n)))})}function Ur(e,n=0){return nn((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function co(e,n){if(!e)throw new Error("Iterable cannot be null");return new Un(t=>{Ce(t,n,()=>{const i=e[Symbol.asyncIterator]();Ce(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Ri(e,n){return n?function Us(e,n){if(null!=e){if(Ot(e))return function Ra(e,n){return O(e).pipe(Ur(n),_i(n))}(e,n);if(si(e))return function uo(e,n){return new Un(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(fn(e))return function hs(e,n){return O(e).pipe(Ur(n),_i(n))}(e,n);if(Xi(e))return co(e,n);if(G(e))return function aa(e,n){return new Un(t=>{let i;return Ce(t,n,()=>{i=e[se](),Ce(t,n,()=>{let r,s;try{({value:r,done:s}=i.next())}catch(d){return void t.error(d)}s?t.complete():t.next(r)},0,!0)}),()=>dt(i?.return)&&i.return()})}(e,n);if(R(e))return function qo(e,n){return co(Y(e),n)}(e,n)}throw Qr(e)}(e,n):O(e)}function sa(...e){const n=Sn(e),t=function kn(e,n){return"number"==typeof rt(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?O(i[0]):Ve(t)(Ri(i,n)):He}function Ya(e={}){const{connector:n=(()=>new Rt),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return s=>{let d,p,v,S=0,I=!1,N=!1;const ee=()=>{p?.unsubscribe(),p=void 0},oe=()=>{ee(),d=v=void 0,I=N=!1},me=()=>{const Se=d;oe(),Se?.unsubscribe()};return nn((Se,ke)=>{S++,!N&&!I&&ee();const je=v=v??n();ke.add(()=>{S--,0===S&&!N&&!I&&(p=wa(me,r))}),je.subscribe(ke),!d&&S>0&&(d=new er({next:st=>je.next(st),error:st=>{N=!0,ee(),p=wa(oe,t,st),je.error(st)},complete:()=>{I=!0,ee(),p=wa(oe,i),je.complete()}}),O(Se).subscribe(d))})(s)}}function wa(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new er({next:()=>{i.unsubscribe(),e()}});return O(n(...t)).subscribe(i)}function Ti(e){for(let n in e)if(e[n]===Ti)return n;throw Error("Could not find renamed property on target object.")}function $i(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function li(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(li).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 la(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Al=Ti({__forward_ref__:Ti});function Ni(e){return e.__forward_ref__=Ni,e.toString=function(){return li(this())},e}function Zt(e){return k(e)?e():e}function k(e){return"function"==typeof e&&e.hasOwnProperty(Al)&&e.__forward_ref__===Ni}function j(e){return e&&!!e.\u0275providers}const fe="https://g.co/ng/security#xss";class K extends Error{constructor(n,t){super(function Fe(e,n){return`NG0${Math.abs(e)}${n?": "+n.trim():""}`}(n,t)),this.code=n}}function de(e){return"string"==typeof e?e:null==e?"":String(e)}function St(e,n){throw new K(-201,!1)}function Fn(e,n){null==e&&function Ut(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(n,e,null,"!=")}function Gt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pi(e){return{providers:e.providers||[],imports:e.imports||[]}}function ho(e){return Is(e,Yl)||Is(e,Dd)}function Is(e,n){return e.hasOwnProperty(n)?e[n]:null}function Sd(e){return e&&(e.hasOwnProperty(js)||e.hasOwnProperty(Xl))?e[js]:null}const Yl=Ti({\u0275prov:Ti}),js=Ti({\u0275inj:Ti}),Dd=Ti({ngInjectableDef:Ti}),Xl=Ti({ngInjectorDef:Ti});var wn=(()=>((wn=wn||{})[wn.Default=0]="Default",wn[wn.Host=1]="Host",wn[wn.Self=2]="Self",wn[wn.SkipSelf=4]="SkipSelf",wn[wn.Optional=8]="Optional",wn))();let xc;function ti(e){const n=xc;return xc=e,n}function Ou(e,n,t){const i=ho(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&wn.Optional?null:void 0!==n?n:void St(li(e))}const fr=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ql={},Md="__NG_DI_FLAG__",eu="ngTempTokenPath",Sc=/\n/gm,Dc="__source";let tu;function $s(e){const n=tu;return tu=e,n}function Ec(e,n=wn.Default){if(void 0===tu)throw new K(-203,!1);return null===tu?Ou(e,void 0,n):tu.get(e,n&wn.Optional?null:void 0,n)}function vt(e,n=wn.Default){return(function Ed(){return xc}()||Ec)(Zt(e),n)}function ni(e,n=wn.Default){return vt(e,Ru(n))}function Ru(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rl(e){const n=[];for(let t=0;t<e.length;t++){const i=Zt(e[t]);if(Array.isArray(i)){if(0===i.length)throw new K(900,!1);let r,s=wn.Default;for(let d=0;d<i.length;d++){const p=i[d],v=Mc(p);"number"==typeof v?-1===v?r=p.token:s|=v:r=p}n.push(vt(r,s))}else n.push(vt(i))}return n}function ol(e,n){return e[Md]=n,e.prototype[Md]=n,e}function Mc(e){return e[Md]}function al(e){return{toString:e}.toString()}var Qi=(()=>((Qi=Qi||{})[Qi.OnPush=0]="OnPush",Qi[Qi.Default=1]="Default",Qi))(),Ca=(()=>{return(e=Ca||(Ca={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ca;var e})();const Hi={},mn=[],qs=Ti({\u0275cmp:Ti}),Nu=Ti({\u0275dir:Ti}),Ic=Ti({\u0275pipe:Ti}),Fd=Ti({\u0275mod:Ti}),Ts=Ti({\u0275fac:Ti}),nu=Ti({__NG_ELEMENT_ID__:Ti});let sl=0;function gn(e){return al(()=>{const t=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Qi.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||mn,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ca.Emulated,id:"c"+sl++,styles:e.styles||mn,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},s=e.dependencies,d=e.features;return r.inputs=iu(e.inputs,i),r.outputs=iu(e.outputs),d&&d.forEach(p=>p(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Tc).filter(zu):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Nr).filter(zu):null,r})}function ll(e,n,t){const i=e.\u0275cmp;i.directiveDefs=()=>("function"==typeof n?n():n).map(Tc),i.pipeDefs=()=>("function"==typeof t?t():t).map(Nr)}function Tc(e){return vi(e)||Oo(e)}function zu(e){return null!==e}function ar(e){return al(()=>({type:e.type,bootstrap:e.bootstrap||mn,declarations:e.declarations||mn,imports:e.imports||mn,exports:e.exports||mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iu(e,n){if(null==e)return Hi;const t={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),t[r]=i,n&&(n[r]=s)}return t}const Dn=gn;function Cr(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 vi(e){return e[qs]||null}function Oo(e){return e[Nu]||null}function Nr(e){return e[Ic]||null}function Sa(e,n){const t=e[Fd]||null;if(!t&&!0===n)throw new Error(`Type ${li(e)} does not have '\u0275mod' property.`);return t}function bi(e){return Array.isArray(e)&&"object"==typeof e[1]}function Go(e){return Array.isArray(e)&&!0===e[1]}function ou(e){return 0!=(4&e.flags)}function Fl(e){return e.componentOffset>-1}function Uu(e){return 1==(1&e.flags)}function Da(e){return null!==e.template}function kc(e){return 0!=(256&e[2])}function ps(e,n){return e.hasOwnProperty(Ts)?e[Ts]:null}class Oc{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function jr(){return Hu}function Hu(e){return e.type.prototype.ngOnChanges&&(e.setInput=zd),Rc}function Rc(){const e=zc(this),n=e?.current;if(n){const t=e.previous;if(t===Hi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function zd(e,n,t,i){const r=this.declaredInputs[t],s=zc(e)||function Bd(e,n){return e[Nc]=n}(e,{previous:Hi,current:null}),d=s.current||(s.current={}),p=s.previous,v=p[r];d[r]=new Oc(v&&v.currentValue,n,p===Hi),e[i]=n}jr.ngInherit=!0;const Nc="__ngSimpleChanges__";function zc(e){return e[Nc]||null}function wo(e){for(;Array.isArray(e);)e=e[0];return e}function lu(e,n){return wo(n[e])}function Ea(e,n){return wo(n[e.index])}function Wu(e,n){return e.data[n]}function dl(e,n){return e[n]}function Wo(e,n){const t=n[e];return bi(t)?t:t[0]}function ks(e){return 64==(64&e[2])}function Va(e,n){return null==n?null:e[n]}function jd(e){e[18]=0}function Ju(e,n){e[5]+=n;let t=e,i=e[3];for(;null!==i&&(1===n&&1===t[5]||-1===n&&0===t[5]);)i[5]+=n,t=i,i=i[3]}const Vn={lFrame:Bi(null),bindingsEnabled:!0};function m(){return Vn.bindingsEnabled}function f(){return Vn.lFrame.lView}function g(){return Vn.lFrame.tView}function b(e){return Vn.lFrame.contextLView=e,e[8]}function C(e){return Vn.lFrame.contextLView=null,e}function E(){let e=T();for(;null!==e&&64===e.type;)e=e.parent;return e}function T(){return Vn.lFrame.currentTNode}function H(e,n){const t=Vn.lFrame;t.currentTNode=e,t.isParent=n}function q(){return Vn.lFrame.isParent}function X(){Vn.lFrame.isParent=!1}function ge(){const e=Vn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ee(){return Vn.lFrame.bindingIndex}function _e(){return Vn.lFrame.bindingIndex++}function Ae(e){const n=Vn.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function We(e,n){const t=Vn.lFrame;t.bindingIndex=t.bindingRootIndex=e,tt(n)}function tt(e){Vn.lFrame.currentDirectiveIndex=e}function ft(){return Vn.lFrame.currentQueryIndex}function Nt(e){Vn.lFrame.currentQueryIndex=e}function Mn(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[6]:null}function An(e,n,t){if(t&wn.SkipSelf){let r=n,s=e;for(;!(r=r.parent,null!==r||t&wn.Host||(r=Mn(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;n=r,e=s}const i=Vn.lFrame=zi();return i.currentTNode=n,i.lView=e,!0}function Vt(e){const n=zi(),t=e[1];Vn.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function zi(){const e=Vn.lFrame,n=null===e?null:e.child;return null===n?Bi(e):n}function Bi(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 ei(){const e=Vn.lFrame;return Vn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ei=ei;function nr(){const e=ei();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 Sr(){return Vn.lFrame.selectedIndex}function $r(e){Vn.lFrame.selectedIndex=e}function Li(){const e=Vn.lFrame;return Wu(e.tView,e.selectedIndex)}function to(){Vn.lFrame.currentNamespace="svg"}function ki(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const s=e.data[t].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:p,ngAfterViewInit:v,ngAfterViewChecked:S,ngOnDestroy:I}=s;d&&(e.contentHooks||(e.contentHooks=[])).push(-t,d),p&&((e.contentHooks||(e.contentHooks=[])).push(t,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,p)),v&&(e.viewHooks||(e.viewHooks=[])).push(-t,v),S&&((e.viewHooks||(e.viewHooks=[])).push(t,S),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,S)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(t,I)}}function Io(e,n,t){gs(e,n,3,t)}function To(e,n,t,i){(3&e[2])===t&&gs(e,n,t,i)}function _r(e,n){let t=e[2];(3&t)===n&&(t&=2047,t+=1,e[2]=t)}function gs(e,n,t,i){const s=i??-1,d=n.length-1;let p=0;for(let v=void 0!==i?65535&e[18]:0;v<d;v++)if("number"==typeof n[v+1]){if(p=n[v],null!=i&&p>=i)break}else n[v]<0&&(e[18]+=65536),(p<s||-1==s)&&(_s(e,t,n,v),e[18]=(4294901760&e[18])+v+2),v++}function _s(e,n,t,i){const r=t[i]<0,s=t[i+1],p=e[r?-t[i]:t[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===n){e[2]+=2048;try{s.call(p)}finally{}}}else try{s.call(p)}finally{}}class ys{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Ku(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const s=t[i++],d=t[i++],p=t[i++];e.setAttribute(n,d,p,s)}else{const s=r,d=t[++i];qd(s)?e.setProperty(n,s,d):e.setAttribute(n,s,d),i++}}return i}function Og(e){return 3===e||4===e||6===e}function qd(e){return 64===e.charCodeAt(0)}function $c(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||Dp(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function Dp(e,n,t,i,r){let s=0,d=e.length;if(-1===n)d=-1;else for(;s<e.length;){const p=e[s++];if("number"==typeof p){if(p===n){d=-1;break}if(p>n){d=s-1;break}}}for(;s<e.length;){const p=e[s];if("number"==typeof p)break;if(p===t){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==d&&(e.splice(d,0,n),s=d+1),e.splice(s++,0,t),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}function Rg(e){return-1!==e}function qc(e){return 32767&e}function Hc(e,n){let t=function Ng(e){return e>>16}(e),i=n;for(;t>0;)i=i[15],t--;return i}let Yu=!0;function Ma(e){const n=Yu;return Yu=e,n}let Zy=0;const is={};function Hd(e,n){const t=Gc(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,Ol(i.data,e),Ol(n,null),Ol(i.blueprint,null));const r=Ep(e,n),s=e.injectorIndex;if(Rg(r)){const d=qc(r),p=Hc(r,n),v=p[1].data;for(let S=0;S<8;S++)n[s+S]=p[d+S]|v[d+S]}return n[s+8]=r,s}function Ol(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gc(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ep(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Tp(r),null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function Mp(e,n,t){!function Yh(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(nu)&&(i=t[nu]),null==i&&(i=t[nu]=Zy++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function Vg(e,n,t){if(t&wn.Optional||void 0!==e)return e;St()}function Ug(e,n,t,i){if(t&wn.Optional&&void 0===i&&(i=null),!(t&(wn.Self|wn.Host))){const r=e[9],s=ti(void 0);try{return r?r.get(n,i,t&wn.Optional):Ou(n,i,t&wn.Optional)}finally{ti(s)}}return Vg(i,0,t)}function jg(e,n,t,i=wn.Default,r){if(null!==e){if(1024&n[2]){const d=function qg(e,n,t,i,r){let s=e,d=n;for(;null!==s&&null!==d&&1024&d[2]&&!(256&d[2]);){const p=$g(s,d,t,i|wn.Self,is);if(p!==is)return p;let v=s.parent;if(!v){const S=d[21];if(S){const I=S.get(t,is,i);if(I!==is)return I}v=Tp(d),d=d[15]}s=v}return r}(e,n,t,i,is);if(d!==is)return d}const s=$g(e,n,t,i,is);if(s!==is)return s}return Ug(n,t,i,r)}function $g(e,n,t,i,r){const s=function Ky(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(nu)?e[nu]:void 0;return"number"==typeof n?n>=0?255&n:Qh:n}(t);if("function"==typeof s){if(!An(n,e,i))return i&wn.Host?Vg(r,0,i):Ug(n,t,i,r);try{const d=s(i);if(null!=d||i&wn.Optional)return d;St()}finally{Ei()}}else if("number"==typeof s){let d=null,p=Gc(e,n),v=-1,S=i&wn.Host?n[16][6]:null;for((-1===p||i&wn.SkipSelf)&&(v=-1===p?Ep(e,n):n[p+8],-1!==v&&Gd(i,!1)?(d=n[1],p=qc(v),n=Hc(v,n)):p=-1);-1!==p;){const I=n[1];if(qr(s,p,I.data)){const N=Ip(p,n,t,d,i,S);if(N!==is)return N}v=n[p+8],-1!==v&&Gd(i,n[1].data[p+8]===S)&&qr(s,p,n)?(d=I,p=qc(v),n=Hc(v,n)):p=-1}}return r}function Ip(e,n,t,i,r,s){const d=n[1],p=d.data[e+8],I=Xh(p,d,t,null==i?Fl(p)&&Yu:i!=d&&0!=(3&p.type),r&wn.Host&&s===p);return null!==I?Fs(n,d,I,p):is}function Xh(e,n,t,i,r){const s=e.providerIndexes,d=n.data,p=1048575&s,v=e.directiveStart,I=s>>20,ee=r?p+I:e.directiveEnd;for(let oe=i?p:p+I;oe<ee;oe++){const me=d[oe];if(oe<v&&t===me||oe>=v&&me.type===t)return oe}if(r){const oe=d[v];if(oe&&Da(oe)&&oe.type===t)return v}return null}function Fs(e,n,t,i){let r=e[t];const s=n.data;if(function jc(e){return e instanceof ys}(r)){const d=r;d.resolving&&function ct(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new K(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():de(e)}(s[t]));const p=Ma(d.canSeeViewProviders);d.resolving=!0;const v=d.injectImpl?ti(d.injectImpl):null;An(e,i,wn.Default);try{r=e[t]=d.factory(void 0,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&function Tr(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const d=Hu(n);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,d),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,d)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,r),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s))}(t,s[t],n)}finally{null!==v&&ti(v),Ma(p),d.resolving=!1,Ei()}}return r}function qr(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function Gd(e,n){return!(e&wn.Self||e&wn.Host&&n)}class Xu{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return jg(this._tNode,this._lView,n,Ru(i),t)}}function Qh(){return new Xu(E(),f())}function Ao(e){return al(()=>{const n=e.prototype.constructor,t=n[Ts]||Qu(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[Ts]||Qu(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Qu(e){return k(e)?()=>{const n=Qu(Zt(e));return n&&n()}:ps(e)}function Tp(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[6]:null}function uu(e){return function Jy(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const s=t[r];if(Og(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(s===n)return t[r+1];r+=2}}}return null}(E(),e)}const du="__parameters__";function Zc(e,n,t){return al(()=>{const i=function ec(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...s){if(this instanceof r)return i.apply(this,s),this;const d=new r(...s);return p.annotation=d,p;function p(v,S,I){const N=v.hasOwnProperty(du)?v[du]:Object.defineProperty(v,du,{value:[]})[du];for(;N.length<=I;)N.push(null);return(N[I]=N[I]||[]).push(d),v}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class $t{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=Gt({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function hu(e,n){e.forEach(t=>Array.isArray(t)?hu(t,n):n(t))}function Zg(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ef(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Zd(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}function bs(e,n,t){let i=Jc(e,n);return i>=0?e[1|i]=t:(i=~i,function Jd(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function kp(e,n){const t=Jc(e,n);if(t>=0)return e[1|t]}function Jc(e,n){return function Fp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const s=i+(r-i>>1),d=e[s<<t];if(n===d)return s<<t;d>n?r=s:i=s+1}return~(r<<t)}(e,n,1)}const tc=ol(Zc("Inject",e=>({token:e})),-1),nc=ol(Zc("Optional"),8),Yc=ol(Zc("SkipSelf"),4);var ha=(()=>((ha=ha||{})[ha.Important=1]="Important",ha[ha.DashCase=2]="DashCase",ha))();const rf=new Map;let l_=0;const sf="__ngContext__";function fa(e,n){bi(n)?(e[sf]=n[20],function Up(e){rf.set(e[20],e)}(n)):e[sf]=n}function Gp(e,n){return undefined(e,n)}function eh(e){const n=e[3];return Go(n)?n[3]:n}function th(e){return hf(e[13])}function df(e){return hf(e[4])}function hf(e){for(;null!==e&&!Go(e);)e=e[4];return e}function id(e,n,t,i,r){if(null!=i){let s,d=!1;Go(i)?s=i:bi(i)&&(d=!0,i=i[0]);const p=wo(i);0===e&&null!==t?null==r?__(n,t,p):oc(n,t,p,r||null,!0):1===e&&null!==t?oc(n,t,p,r||null,!0):2===e?function oh(e,n,t){const i=Ar(e,n);i&&function S0(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,p,d):3===e&&n.destroyNode(p),null!=s&&function b_(e,n,t,i,r){const s=t[7];s!==wo(t)&&id(n,e,i,s,r);for(let p=10;p<t.length;p++){const v=t[p];pa(v[1],v,e,n,i,s)}}(n,e,s,t,r)}}function Zp(e,n,t){return e.createElement(n,t)}function pf(e,n){const t=e[9],i=t.indexOf(n),r=n[3];512&n[2]&&(n[2]&=-513,Ju(r,-1)),t.splice(i,1)}function mu(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[17];null!==r&&r!==e&&pf(r,i),n>0&&(e[t-1][4]=i[4]);const s=ef(e,10+n);!function x0(e,n){pa(e,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const d=s[19];null!==d&&d.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function p_(e,n){if(!(128&n[2])){const t=n[11];t.destroyNode&&pa(e,n,t,3,null,null),function Jp(e){let n=e[13];if(!n)return nh(e[1],e);for(;n;){let t=null;if(bi(n))t=n[13];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)bi(n)&&nh(n[1],n),n=n[3];null===n&&(n=e),bi(n)&&nh(n[1],n),t=n&&n[4]}n=t}}(n)}}function nh(e,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function mf(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof ys)){const s=t[i+1];if(Array.isArray(s))for(let d=0;d<s.length;d+=2){const p=r[s[d]],v=s[d+1];try{v.call(p)}finally{}}else try{s.call(r)}finally{}}}}(e,n),function m_(e,n){const t=e.cleanup,i=n[7];let r=-1;if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const d=t[s+3];d>=0?i[r=d]():i[r=-d].unsubscribe(),s+=2}else{const d=i[r=t[s+1]];t[s].call(d)}if(null!==i){for(let s=r+1;s<i.length;s++)(0,i[s])();n[7]=null}}(e,n),1===n[1].type&&n[11].destroy();const t=n[17];if(null!==t&&Go(n[3])){t!==n[3]&&pf(t,n);const i=n[19];null!==i&&i.detachView(e)}!function _0(e){rf.delete(e[20])}(n)}}function gf(e,n,t){return function g_(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[0];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===Ca.None||s===Ca.Emulated)return null}return Ea(i,t)}}(e,n.parent,t)}function oc(e,n,t,i,r){e.insertBefore(n,t,i,r)}function __(e,n,t){e.appendChild(n,t)}function y_(e,n,t,i,r){null!==i?oc(e,n,t,i,r):__(e,n,t)}function Ar(e,n){return e.parentNode(n)}function Yp(e,n,t){return Qp(e,n,t)}let om,_u,Qp=function Xp(e,n,t){return 40&e.type?Ea(e,t):null};function ih(e,n,t,i){const r=gf(e,i,n),s=n[11],p=Yp(i.parent||n[6],i,n);if(null!=r)if(Array.isArray(t))for(let v=0;v<t.length;v++)y_(s,r,t[v],p,!1);else y_(s,r,t,p,!1)}function od(e,n){if(null!==n){const t=n.type;if(3&t)return Ea(n,e);if(4&t)return yf(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return od(e,i);{const r=e[n.index];return Go(r)?yf(-1,r):wo(r)}}if(32&t)return Gp(n,e)()||wo(e[n.index]);{const i=rh(e,n);return null!==i?Array.isArray(i)?i[0]:od(eh(e[16]),i):od(e,n.next)}}return null}function rh(e,n){return null!==n?e[16][6].projection[n.projection]:null}function yf(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return od(i,r)}return n[7]}function vf(e,n,t,i,r,s,d){for(;null!=t;){const p=i[t.index],v=t.type;if(d&&0===n&&(p&&fa(wo(p),i),t.flags|=2),32!=(32&t.flags))if(8&v)vf(e,n,t.child,i,r,s,!1),id(n,e,r,p,s);else if(32&v){const S=Gp(t,i);let I;for(;I=S();)id(n,e,r,I,s);id(n,e,r,p,s)}else 16&v?tm(e,n,i,t,r,s):id(n,e,r,p,s);t=d?t.projectionNext:t.next}}function pa(e,n,t,i,r,s){vf(t,i,e.firstChild,n,r,s,!1)}function tm(e,n,t,i,r,s){const d=t[16],v=d[6].projection[i.projection];if(Array.isArray(v))for(let S=0;S<v.length;S++)id(n,e,r,v[S],s);else vf(e,n,v,d[3],r,s,!0)}function nm(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function im(e,n,t){const{mergedAttrs:i,classes:r,styles:s}=t;null!==i&&Ku(e,n,i),null!==r&&nm(e,n,r),null!==s&&function w_(e,n,t){e.setAttribute(n,"style",t)}(e,n,s)}function o(e){return function ch(){if(void 0===_u&&(_u=null,fr.trustedTypes))try{_u=fr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _u}()?.createScriptURL(e)||e}class u{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fe})`}}function M(e){return e instanceof u?e.changingThisBreaksApplicationSecurity:e}function F(e,n){const t=function $(e){return e instanceof u&&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 ${fe})`)}return t===n}const Le=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var pi=(()=>((pi=pi||{})[pi.NONE=0]="NONE",pi[pi.HTML=1]="HTML",pi[pi.STYLE=2]="STYLE",pi[pi.SCRIPT=3]="SCRIPT",pi[pi.URL=4]="URL",pi[pi.RESOURCE_URL=5]="RESOURCE_URL",pi))();function mi(e){const n=Aa();return n?n.sanitize(pi.URL,e)||"":F(e,"URL")?M(e):function Xe(e){return(e=String(e)).match(Le)?e:"unsafe:"+e}(de(e))}function Ia(e){const n=Aa();if(n)return o(n.sanitize(pi.RESOURCE_URL,e)||"");if(F(e,"ResourceURL"))return o(M(e));throw new K(904,!1)}function Aa(){const e=f();return e&&e[12]}const rs=new $t("ENVIRONMENT_INITIALIZER"),Os=new $t("INJECTOR",-1),gl=new $t("INJECTOR_DEF_TYPES");class ws{get(n,t=Ql){if(t===Ql){const i=new Error(`NullInjectorError: No provider for ${li(n)}!`);throw i.name="NullInjectorError",i}return t}}function qa(...e){return{\u0275providers:_l(0,e),\u0275fromNgModule:!0}}function _l(e,...n){const t=[],i=new Set;let r;return hu(n,s=>{const d=s;xf(d,t,[],i)&&(r||(r=[]),r.push(d))}),void 0!==r&&ad(r,t),t}function ad(e,n){for(let t=0;t<e.length;t++){const{providers:r}=e[t];dh(r,s=>{n.push(s)})}}function xf(e,n,t,i){if(!(e=Zt(e)))return!1;let r=null,s=Sd(e);const d=!s&&vi(e);if(s||d){if(d&&!d.standalone)return!1;r=e}else{const v=e.ngModule;if(s=Sd(v),!s)return!1;r=v}const p=i.has(r);if(d){if(p)return!1;if(i.add(r),d.dependencies){const v="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const S of v)xf(S,n,t,i)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let S;i.add(r);try{hu(s.imports,I=>{xf(I,n,t,i)&&(S||(S=[]),S.push(I))})}finally{}void 0!==S&&ad(S,n)}if(!p){const S=ps(r)||(()=>new r);n.push({provide:r,useFactory:S,deps:mn},{provide:gl,useValue:r,multi:!0},{provide:rs,useValue:()=>vt(r),multi:!0})}const v=s.providers;null==v||p||dh(v,I=>{n.push(I)})}}return r!==e&&void 0!==e.providers}function dh(e,n){for(let t of e)j(t)&&(t=t.\u0275providers),Array.isArray(t)?dh(t,n):n(t)}const Bl=Ti({provide:String,useValue:Ti});function wf(e){return null!==e&&"object"==typeof e&&Bl in e}function yu(e){return"function"==typeof e}const sm=new $t("Set Injector scope."),Df={},I0={};let lm;function Ef(){return void 0===lm&&(lm=new ws),lm}class yl{}class D_ extends yl{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vl(n,d=>this.processProvider(d)),this.records.set(Os,Ha(void 0,this)),r.has("environment")&&this.records.set(yl,Ha(void 0,this));const s=this.records.get(sm);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(gl.multi,mn,wn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const t=$s(this),i=ti(void 0);try{return n()}finally{$s(t),ti(i)}}get(n,t=Ql,i=wn.Default){this.assertNotDestroyed(),i=Ru(i);const r=$s(this),s=ti(void 0);try{if(!(i&wn.SkipSelf)){let p=this.records.get(n);if(void 0===p){const v=function M_(e){return"function"==typeof e||"object"==typeof e&&e instanceof $t}(n)&&ho(n);p=v&&this.injectableDefInScope(v)?Ha(Ss(n),Df):null,this.records.set(n,p)}if(null!=p)return this.hydrate(n,p)}return(i&wn.Self?Ef():this.parent).get(n,t=i&wn.Optional&&t===Ql?null:t)}catch(d){if("NullInjectorError"===d.name){if((d[eu]=d[eu]||[]).unshift(li(n)),r)throw d;return function wp(e,n,t,i){const r=e[eu];throw n[Dc]&&r.unshift(n[Dc]),e.message=function Pd(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=li(n);if(Array.isArray(n))r=n.map(li).join(" -> ");else if("object"==typeof n){let s=[];for(let d in n)if(n.hasOwnProperty(d)){let p=n[d];s.push(d+":"+("string"==typeof p?JSON.stringify(p):li(p)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(Sc,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[eu]=null,e}(d,n,"R3InjectorError",this.source)}throw d}finally{ti(s),$s(r)}}resolveInjectorInitializers(){const n=$s(this),t=ti(void 0);try{const i=this.get(rs.multi,mn,wn.Self);for(const r of i)r()}finally{$s(n),ti(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(li(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(n){let t=yu(n=Zt(n))?n:Zt(n&&n.provide);const i=function E_(e){return wf(e)?Ha(void 0,e.useValue):Ha(Pa(e),Df)}(n);if(yu(n)||!0!==n.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=Ha(void 0,Df,!0),r.factory=()=>rl(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===Df&&(t.value=I0,t.value=t.factory()),"object"==typeof t.value&&t.value&&function fh(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=Zt(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function Ss(e){const n=ho(e),t=null!==n?n.factory:ps(e);if(null!==t)return t;if(e instanceof $t)throw new K(204,!1);if(e instanceof Function)return function Mf(e){const n=e.length;if(n>0)throw Zd(n,"?"),new K(204,!1);const t=function il(e){const n=e&&(e[Yl]||e[Dd]);if(n){const t=function qi(e){if(e.hasOwnProperty("name"))return e.name;const n=(""+e).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),n}return null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new K(204,!1)}function Pa(e,n,t){let i;if(yu(e)){const r=Zt(e);return ps(r)||Ss(r)}if(wf(e))i=()=>Zt(e.useValue);else if(function Sf(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...rl(e.deps||[]));else if(function Cf(e){return!(!e||!e.useExisting)}(e))i=()=>vt(Zt(e.useExisting));else{const r=Zt(e&&(e.useClass||e.provide));if(!function hh(e){return!!e.deps}(e))return ps(r)||Ss(r);i=()=>new r(...rl(e.deps))}return i}function Ha(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vl(e,n){for(const t of e)Array.isArray(t)?Vl(t,n):t&&j(t)?Vl(t.\u0275providers,n):n(t)}class JP{}class nw{}class YP{resolveComponentFactory(n){throw function KP(e){const n=Error(`No component factory found for ${li(e)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=e,n}(n)}}let ph=(()=>{class e{}return e.NULL=new YP,e})();function XP(){return If(E(),f())}function If(e,n){return new Xo(Ea(e,n))}let Xo=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=XP,e})();function QP(e){return e instanceof Xo?e.nativeElement:e}class um{}let Ul=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ek(){const e=f(),t=Wo(E().index,e);return(bi(t)?t:e)[11]}(),e})(),tk=(()=>{class e{}return e.\u0275prov=Gt({token:e,providedIn:"root",factory:()=>null}),e})();class Tf{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const nk=new Tf("15.1.4"),T0={};function P0(e){return e.ngOriginalError}class Af{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&&P0(n);for(;t&&P0(t);)t=P0(t);return t||null}}function k0(e){return e.ownerDocument.defaultView}function ac(e){return e instanceof Function?e():e}function ow(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=n.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}t=r+1}}const aw="ng-template";function hk(e,n,t){let i=0;for(;i<e.length;){let r=e[i++];if(t&&"class"===r){if(r=e[i],-1!==ow(r.toLowerCase(),n,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===n)return!0;return!1}}return!1}function sw(e){return 4===e.type&&e.value!==aw}function fk(e,n,t){return n===(4!==e.type||t?e.value:aw)}function pk(e,n,t){let i=4;const r=e.attrs||[],s=function _k(e){for(let n=0;n<e.length;n++)if(Og(e[n]))return n;return e.length}(r);let d=!1;for(let p=0;p<n.length;p++){const v=n[p];if("number"!=typeof v){if(!d)if(4&i){if(i=2|1&i,""!==v&&!fk(e,v,t)||""===v&&1===n.length){if(jl(i))return!1;d=!0}}else{const S=8&i?v:n[++p];if(8&i&&null!==e.attrs){if(!hk(e.attrs,S,t)){if(jl(i))return!1;d=!0}continue}const N=mk(8&i?"class":v,r,sw(e),t);if(-1===N){if(jl(i))return!1;d=!0;continue}if(""!==S){let ee;ee=N>s?"":r[N+1].toLowerCase();const oe=8&i?ee:null;if(oe&&-1!==ow(oe,S,0)||2&i&&S!==ee){if(jl(i))return!1;d=!0}}}}else{if(!d&&!jl(i)&&!jl(v))return!1;if(d&&jl(v))continue;d=!1,i=v|1&i}}return jl(i)||d}function jl(e){return 0==(1&e)}function mk(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let s=!1;for(;r<n.length;){const d=n[r];if(d===e)return r;if(3===d||6===d)s=!0;else{if(1===d||2===d){let p=n[++r];for(;"string"==typeof p;)p=n[++r];continue}if(4===d)break;if(0===d){r+=4;continue}}r+=s?1:2}return-1}return function yk(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function lw(e,n,t=!1){for(let i=0;i<n.length;i++)if(pk(e,n[i],t))return!0;return!1}function vk(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function uw(e,n){return e?":not("+n.trim()+")":n}function bk(e){let n=e[0],t=1,i=2,r="",s=!1;for(;t<e.length;){let d=e[t];if("string"==typeof d)if(2&i){const p=e[++t];r+="["+d+(p.length>0?'="'+p+'"':"")+"]"}else 8&i?r+="."+d:4&i&&(r+=" "+d);else""!==r&&!jl(d)&&(n+=uw(s,r),r=""),i=d,s=s||!jl(i);t++}return""!==r&&(n+=uw(s,r)),n}const ci={};function J(e){cw(g(),f(),Sr()+e,!1)}function cw(e,n,t,i){if(!i)if(3==(3&n[2])){const s=e.preOrderCheckHooks;null!==s&&Io(n,s,t)}else{const s=e.preOrderHooks;null!==s&&To(n,s,0,t)}$r(t)}function pw(e,n=null,t=null,i){const r=mw(e,n,t,i);return r.resolveInjectorInitializers(),r}function mw(e,n=null,t=null,i,r=new Set){const s=[t||mn,qa(e)];return i=i||("object"==typeof e?void 0:li(e)),new D_(s,n||Ef(),i||null,r)}let Gs=(()=>{class e{static create(t,i){if(Array.isArray(t))return pw({name:""},i,t,"");{const r=t.name??"";return pw({name:r},t.parent,t.providers,r)}}}return e.THROW_IF_NOT_FOUND=Ql,e.NULL=new ws,e.\u0275prov=Gt({token:e,providedIn:"any",factory:()=>vt(Os)}),e.__NG_ELEMENT_ID__=-1,e})();function Te(e,n=wn.Default){const t=f();return null===t?vt(e,n):jg(E(),t,Zt(e),n)}function Cw(e,n){const t=e.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const d=e.data[s];Nt(t[i]),d.contentQueries(2,n[s],s)}}}function T_(e,n,t,i,r,s,d,p,v,S,I){const N=n.bluep