file-preview-element 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.js +5 -0
- package/package.json +11 -0
package/main.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var rf=Object.defineProperty,of=Object.defineProperties;var sf=Object.getOwnPropertyDescriptors;var Ua=Object.getOwnPropertySymbols;var af=Object.prototype.hasOwnProperty,cf=Object.prototype.propertyIsEnumerable;var $a=(e,t,n)=>t in e?rf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||={})af.call(t,n)&&$a(e,n,t[n]);if(Ua)for(var n of Ua(t))cf.call(t,n)&&$a(e,n,t[n]);return e},ke=(e,t)=>of(e,sf(t));var qo=null;var za=1;var lt=Symbol("SIGNAL");function C(e){let t=qo;return qo=e,t}function cr(){return qo}var Yo={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ga(e){if(!(lr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===za)){if(!e.producerMustRecompute(e)&&!Ko(e)){Zo(e);return}e.producerRecomputeValue(e),Zo(e)}}function Zo(e){e.dirty=!1,e.lastCleanEpoch=za}function Qo(e){return e&&Wa(e),C(e)}function Wa(e){e.producersTail=void 0,e.recomputing=!0}function qa(e,t){C(t),e&&Za(e)}function Za(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(lr(e))do n=Jo(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ko(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ga(n),r!==n.version))return!0}return!1}function ur(e){if(lr(e)){let t=e.producers;for(;t!==void 0;)t=Jo(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Jo(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!lr(t)){let i=t.producers;for(;i!==void 0;)i=Jo(i)}return n}function lr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function uf(){throw new Error}var lf=uf;function Xo(e){lf=e}function S(e){return typeof e=="function"}function dr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var fr=dr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Dn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Y=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof fr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ya(i)}catch(s){t=t??[],s instanceof fr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new fr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ya(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Dn(n,t)}remove(t){let{_finalizers:n}=this;n&&Dn(n,t),t instanceof e&&t._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var ei=Y.EMPTY;function pr(e){return e instanceof Y||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Ya(e){S(e)?e():e.unsubscribe()}var Ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Vt={setTimeout(e,t,...n){let{delegate:r}=Vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hr(e){Vt.setTimeout(()=>{let{onUnhandledError:t}=Ee;if(t)t(e);else throw e})}function ti(){}var Qa=ni("C",void 0,void 0);function Ka(e){return ni("E",void 0,e)}function Ja(e){return ni("N",e,void 0)}function ni(e,t,n){return{kind:e,value:t,error:n}}var dt=null;function Ht(e){if(Ee.useDeprecatedSynchronousErrorHandling){let t=!dt;if(t&&(dt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=dt;if(dt=null,n)throw r}}else e()}function Xa(e){Ee.useDeprecatedSynchronousErrorHandling&&dt&&(dt.errorThrown=!0,dt.error=e)}var ft=class extends Y{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,pr(t)&&t.add(this)):this.destination=pf}static create(t,n,r){return new Ut(t,n,r)}next(t){this.isStopped?oi(Ja(t),this):this._next(t)}error(t){this.isStopped?oi(Ka(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?oi(Qa,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},df=Function.prototype.bind;function ri(e,t){return df.call(e,t)}var ii=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){gr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){gr(r)}else gr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){gr(n)}}},Ut=class extends ft{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ri(t.next,i),error:t.error&&ri(t.error,i),complete:t.complete&&ri(t.complete,i)}):o=t}this.destination=new ii(o)}};function gr(e){Ee.useDeprecatedSynchronousErrorHandling?Xa(e):hr(e)}function ff(e){throw e}function oi(e,t){let{onStoppedNotification:n}=Ee;n&&Vt.setTimeout(()=>n(e,t))}var pf={closed:!0,next:ti,error:ff,complete:ti};var $t=typeof Symbol=="function"&&Symbol.observable||"@@observable";function mr(e){return e}function ec(e){return e.length===0?mr:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var F=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=gf(n)?n:new Ut(n,r,o);return Ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=tc(r),new r((o,i)=>{let s=new Ut({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[$t](){return this}pipe(...n){return ec(n)(this)}toPromise(n){return n=tc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function tc(e){var t;return(t=e??Ee.Promise)!==null&&t!==void 0?t:Promise}function hf(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function gf(e){return e&&e instanceof ft||hf(e)&&pr(e)}function mf(e){return S(e?.lift)}function te(e){return t=>{if(mf(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function fe(e,t,n,r,o){return new si(e,t,n,r,o)}var si=class extends ft{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var nc=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Fe=(()=>{class e extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nc}next(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ei:(this.currentObservers=null,i.push(n),new Y(()=>{this.currentObservers=null,Dn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new F;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends Fe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ei}};var En=class extends Fe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ai={now(){return(ai.delegate||Date).now()},delegate:void 0};var wn=class extends Fe{constructor(t=1/0,n=1/0,r=ai){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var rc=new F(e=>e.complete());function oc(e){return e&&S(e.schedule)}function ic(e){return e[e.length-1]}function vr(e){return oc(ic(e))?e.pop():void 0}function sc(e,t){return typeof ic(e)=="number"?e.pop():t}function cc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function ac(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pt(e){return this instanceof pt?(this.v=e,this):new pt(e)}function uc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(_){return new Promise(function(b,g){i.push([f,_,b,g])>1||c(f,_)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(_){p(i[0][3],_)}}function u(f){f.value instanceof pt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function lc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ac=="function"?ac(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Dr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Er(e){return S(e?.then)}function wr(e){return S(e[$t])}function Cr(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Ir(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function yf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tr=yf();function _r(e){return S(e?.[Tr])}function br(e){return uc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield pt(n.read());if(o)return yield pt(void 0);yield yield pt(r)}}finally{n.releaseLock()}})}function Mr(e){return S(e?.getReader)}function ne(e){if(e instanceof F)return e;if(e!=null){if(wr(e))return vf(e);if(Dr(e))return Df(e);if(Er(e))return Ef(e);if(Cr(e))return dc(e);if(_r(e))return wf(e);if(Mr(e))return Cf(e)}throw Ir(e)}function vf(e){return new F(t=>{let n=e[$t]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Df(e){return new F(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ef(e){return new F(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,hr)})}function wf(e){return new F(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function dc(e){return new F(t=>{If(e,t).catch(n=>t.error(n))})}function Cf(e){return dc(br(e))}function If(e,t){var n,r,o,i;return cc(this,void 0,void 0,function*(){try{for(n=lc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function pe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Sr(e,t=0){return te((n,r)=>{n.subscribe(fe(r,o=>pe(r,e,()=>r.next(o),t),()=>pe(r,e,()=>r.complete(),t),o=>pe(r,e,()=>r.error(o),t)))})}function Nr(e,t=0){return te((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fc(e,t){return ne(e).pipe(Nr(t),Sr(t))}function pc(e,t){return ne(e).pipe(Nr(t),Sr(t))}function hc(e,t){return new F(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function gc(e,t){return new F(n=>{let r;return pe(n,t,()=>{r=e[Tr](),pe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function xr(e,t){if(!e)throw new Error("Iterable cannot be null");return new F(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mc(e,t){return xr(br(e),t)}function yc(e,t){if(e!=null){if(wr(e))return fc(e,t);if(Dr(e))return hc(e,t);if(Er(e))return pc(e,t);if(Cr(e))return xr(e,t);if(_r(e))return gc(e,t);if(Mr(e))return mc(e,t)}throw Ir(e)}function Ar(e,t){return t?yc(e,t):ne(e)}function Rr(...e){let t=vr(e);return Ar(e,t)}function Pe(e,t){return te((n,r)=>{let o=0;n.subscribe(fe(r,i=>{r.next(e.call(t,i,o++))}))})}function vc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=_=>u<r?h(_):c.push(_),h=_=>{i&&t.next(_),u++;let b=!1;ne(n(_,l++)).subscribe(fe(t,g=>{o?.(g),i?f(g):t.next(g)},()=>{b=!0},void 0,()=>{if(b)try{for(u--;c.length&&u<r;){let g=c.shift();s?pe(t,s,()=>h(g)):h(g)}p()}catch(g){t.error(g)}}))};return e.subscribe(fe(t,f,()=>{d=!0,p()})),()=>{a?.()}}function zt(e,t,n=1/0){return S(t)?zt((r,o)=>Pe((i,s)=>t(r,i,o,s))(ne(e(r,o))),n):(typeof t=="number"&&(n=t),te((r,o)=>vc(r,o,e,n)))}function Dc(e=1/0){return zt(mr,e)}function ci(...e){let t=vr(e),n=sc(e,1/0),r=e;return r.length?r.length===1?ne(r[0]):Dc(n)(Ar(r,t)):rc}function ui(e,t){return te((n,r)=>{let o=0;n.subscribe(fe(r,i=>e.call(t,i,o++)&&r.next(i)))})}function li(e,t){return S(t)?zt(e,t,1):zt(e,1)}function di(e){return te((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Cn(e,t){return te((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(fe(r,c=>{o?.unsubscribe();let u=0,l=i++;ne(e(c,l)).subscribe(o=fe(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var fi;function Or(){return fi}function Le(e){let t=fi;return fi=e,t}var Ec=Symbol("NotFound");function Gt(e){return e===Ec||e?.name==="\u0275NotFound"}var Br="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Mn(t,n)),this.code=t}};function Nf(e){return`NG0${Math.abs(e)}`}function Mn(e,t){return`${Nf(e)}${t?": "+t:""}`}var nt=globalThis;function x(e){for(let t in e)if(e[t]===x)return t;throw Error("")}function gt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(gt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function Vr(e,t){return e?t?`${e} ${t}`:e:t||""}var xf=x({__forward_ref__:x});function Hr(e){return e.__forward_ref__=Hr,e.toString=function(){return gt(this())},e}function ue(e){return _c(e)?e():e}function _c(e){return typeof e=="function"&&e.hasOwnProperty(xf)&&e.__forward_ref__===Hr}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ur(e){return Af(e,$r)}function Af(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Rf(e){let t=e?.[$r]??null;return t||null}function hi(e){return e&&e.hasOwnProperty(Fr)?e[Fr]:null}var $r=x({\u0275prov:x}),Fr=x({\u0275inj:x}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Si(e){return e&&!!e.\u0275providers}var Ni=x({\u0275cmp:x}),xi=x({\u0275dir:x}),Ai=x({\u0275pipe:x});var gi=x({\u0275fac:x}),Et=x({__NG_ELEMENT_ID__:x}),wc=x({__NG_ENV_ID__:x});function Sn(e){return Oi(e,"@Component"),e[Ni]||null}function Ri(e){return Oi(e,"@Directive"),e[xi]||null}function bc(e){return Oi(e,"@Pipe"),e[Ai]||null}function Oi(e,t){if(e==null)throw new m(-919,!1)}function ki(e){return typeof e=="string"?e:e==null?"":String(e)}var Mc=x({ngErrorCode:x}),Of=x({ngErrorMessage:x}),kf=x({ngTokenPath:x});function Fi(e,t){return Sc("",-200,t)}function zr(e,t){throw new m(-201,!1)}function Sc(e,t,n){let r=new m(t,e);return r[Mc]=t,r[Of]=e,n&&(r[kf]=n),r}function Ff(e){return e[Mc]}var mi;function Nc(){return mi}function Q(e){let t=mi;return mi=e,t}function Pi(e,t,n){let r=Ur(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;zr(e,"")}var Pf={},ht=Pf,Lf="__NG_DI_FLAG__",yi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=mt(n)||0;try{return this.injector.get(t,r&8?null:ht,r)}catch(o){if(Gt(o))return o;throw o}}};function jf(e,t=0){let n=Or();if(n===void 0)throw new m(-203,!1);if(n===null)return Pi(e,void 0,t);{let r=Bf(t),o=n.retrieve(e,r);if(Gt(o)){if(r.optional)return null;throw o}return o}}function w(e,t=0){return(Nc()||jf)(ue(e),t)}function y(e,t){return w(e,mt(t))}function mt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bf(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function vi(e){let t=[];for(let n=0;n<e.length;n++){let r=ue(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Vf(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(w(o,i))}else t.push(w(r))}return t}function Vf(e){return e[Lf]}function yt(e,t){let n=e.hasOwnProperty(gi);return n?e[gi]:null}function Gr(e,t){e.forEach(n=>Array.isArray(n)?Gr(n,t):t(n))}function xc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Li(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ac(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Wr(e,t,n){let r=qt(e,t);return r>=0?e[r|1]=n:(r=~r,Ac(e,r,t,n)),r}function qr(e,t){let n=qt(e,t);if(n>=0)return e[n|1]}function qt(e,t){return Hf(e,t,1)}function Hf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var wt={},re=[],Zt=new E(""),ji=new E("",-1),Bi=new E(""),Tn=class{get(t,n=ht){if(n===ht){let o=Sc("",-201);throw o.name="\u0275NotFound",o}return n}};function Yt(e){return{\u0275providers:e}}function Rc(...e){return{\u0275providers:Vi(!0,e),\u0275fromNgModule:!0}}function Vi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gr(t,s=>{let a=s;Pr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Oc(o,i),n}function Oc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Hi(o,i=>{t(i,r)})}}function Pr(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=hi(e),s=!i&&Sn(e);if(!i&&!s){let c=e.ngModule;if(i=hi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Pr(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Gr(i.imports,l=>{Pr(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Oc(u,t)}if(!a){let u=yt(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:Bi,useValue:o,multi:!0},o),t({provide:Zt,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Hi(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Hi(e,t){for(let n of e)Si(n)&&(n=n.\u0275providers),Array.isArray(n)?Hi(n,t):t(n)}var Uf=x({provide:String,useValue:x});function kc(e){return e!==null&&typeof e=="object"&&Uf in e}function $f(e){return!!(e&&e.useExisting)}function zf(e){return!!(e&&e.useFactory)}function Lr(e){return typeof e=="function"}var Nn=new E(""),kr={},Cc={},pi;function xn(){return pi===void 0&&(pi=new Tn),pi}var oe=class{},vt=class extends oe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ei(t,s=>this.processProvider(s)),this.records.set(ji,Wt(void 0,this)),o.has("environment")&&this.records.set(oe,Wt(void 0,this));let i=this.records.get(Nn);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bi,re,{self:!0}))}retrieve(t,n){let r=mt(n)||0;try{return this.get(t,ht,r)}catch(o){if(Gt(o))return o;throw o}}destroy(){In(this),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=Le(this),r=Q(void 0),o;try{return t()}finally{Le(n),Q(r)}}get(t,n=ht,r){if(In(this),t.hasOwnProperty(wc))return t[wc](this);let o=mt(r),i,s=Le(this),a=Q(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Yf(t)&&Ur(t);l&&this.injectableDefInScope(l)?u=Wt(Di(t),kr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?xn():this.parent;return n=o&8&&n===ht?null:n,c.get(t,n)}catch(c){let u=Ff(c);throw u===-200||u===-201?new m(u,null):c}finally{Q(a),Le(s)}}resolveInjectorInitializers(){let t=C(null),n=Le(this),r=Q(void 0),o;try{let i=this.get(Zt,re,{self:!0});for(let s of i)s()}finally{Le(n),Q(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(gt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ue(t);let n=Lr(t)?t:ue(t&&t.provide),r=Wf(t);if(!Lr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Wt(void 0,kr,!0),o.factory=()=>vi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{if(n.value===Cc)throw Fi(gt(t));return n.value===kr&&(n.value=Cc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Zf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Di(e){let t=Ur(e),n=t!==null?t.factory:yt(e);if(n!==null)return n;if(e instanceof E)throw new m(204,!1);if(e instanceof Function)return Gf(e);throw new m(204,!1)}function Gf(e){if(e.length>0)throw new m(204,!1);let n=Rf(e);return n!==null?()=>n.factory(e):()=>new e}function Wf(e){if(kc(e))return Wt(void 0,e.useValue);{let t=Fc(e);return Wt(t,kr)}}function Fc(e,t,n){let r;if(Lr(e)){let o=ue(e);return yt(o)||Di(o)}else if(kc(e))r=()=>ue(e.useValue);else if(zf(e))r=()=>e.useFactory(...vi(e.deps||[]));else if($f(e))r=(o,i)=>w(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ue(e&&(e.useClass||e.provide));if(qf(e))r=()=>new o(...vi(e.deps));else return yt(o)||Di(o)}return r}function In(e){if(e.destroyed)throw new m(205,!1)}function Wt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qf(e){return!!e.deps}function Zf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yf(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ei(e,t){for(let n of e)Array.isArray(n)?Ei(n,t):n&&Si(n)?Ei(n.\u0275providers,t):t(n)}function Qt(e,t){let n;e instanceof vt?(In(e),n=e):n=new yi(e);let r,o=Le(n),i=Q(void 0);try{return t()}finally{Le(o),Q(i)}}function Pc(){return Nc()!==void 0||Or()!=null}var Ce=0,D=1,v=2,ie=3,he=4,Ie=5,An=6,Kt=7,G=8,rt=9,je=10,B=11,Jt=12,Ui=13,Ct=14,ge=15,It=16,Tt=17,_t=18,ot=19,$i=20,$e=21,Zr=22,Rn=23,le=24,Yr=25,On=26,H=27,Lc=1;var Xt=7,jc=8,kn=9,se=10;function We(e){return Array.isArray(e)&&typeof e[Lc]=="object"}function qe(e){return Array.isArray(e)&&e[Lc]===!0}function zi(e){return(e.flags&4)!==0}function it(e){return e.componentOffset>-1}function Qr(e){return(e.flags&1)===1}function bt(e){return!!e.template}function en(e){return(e[v]&512)!==0}function Mt(e){return(e[v]&256)===256}var Bc="svg",Vc="math";function Te(e){for(;Array.isArray(e);)e=e[Ce];return e}function Gi(e,t){return Te(t[e])}function Ze(e,t){return Te(t[e.index])}function Fn(e,t){return e.data[t]}function Hc(e,t){return e[t]}function Wi(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function _e(e,t){let n=t[e];return We(n)?n:n[Ce]}function Kr(e){return(e[v]&128)===128}function st(e,t){return t==null?null:e[t]}function qi(e){e[Tt]=0}function Jr(e){e[v]&1024||(e[v]|=1024,Kr(e)&&Pn(e))}function Uc(e,t){for(;e>0;)t=t[Ct],e--;return t}function tn(e){return!!(e[v]&9216||e[le]?.dirty)}function Xr(e){e[je].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),tn(e)&&Pn(e)}function Pn(e){e[je].changeDetectionScheduler?.notify(0);let t=tt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!Kr(t)));)t=tt(t)}function Zi(e,t){if(Mt(e))throw new m(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function $c(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function tt(e){let t=e[ie];return qe(t)?t[ie]:t}function zc(e){return e[Kt]??=[]}function Gc(e){return e.cleanup??=[]}var M={lFrame:su(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wi=!1;function Wc(){return M.lFrame.elementDepthCount}function qc(){M.lFrame.elementDepthCount++}function Yi(){M.lFrame.elementDepthCount--}function Zc(){return M.bindingsEnabled}function Yc(){return M.skipHydrationRootTNode!==null}function Qi(e){return M.skipHydrationRootTNode===e}function Ki(){M.skipHydrationRootTNode=null}function k(){return M.lFrame.lView}function me(){return M.lFrame.tView}function ye(e){return M.lFrame.contextLView=e,e[G]}function ve(e){return M.lFrame.contextLView=null,e}function Be(){let e=Ji();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ji(){return M.lFrame.currentTNode}function Qc(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Xi(){return M.lFrame.isParent}function Kc(){M.lFrame.isParent=!1}function es(){return wi}function ts(e){let t=wi;return wi=e,t}function Jc(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xc(e){return M.lFrame.bindingIndex=e}function Ln(){return M.lFrame.bindingIndex++}function eu(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tu(){return M.lFrame.inI18n}function nu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,eo(t)}function ru(){return M.lFrame.currentDirectiveIndex}function eo(e){M.lFrame.currentDirectiveIndex=e}function ou(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ns(e){M.lFrame.currentQueryIndex=e}function Qf(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[Ie]:null}function rs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Qf(i),o===null||(i=i[Ct],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=iu();return r.currentTNode=t,r.lView=e,!0}function to(e){let t=iu(),n=e[D];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function iu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?su(e):t}function su(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function au(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var os=au;function no(){let e=au();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 cu(e){return(M.lFrame.contextLView=Uc(e,M.lFrame.contextLView))[G]}function St(){return M.lFrame.selectedIndex}function at(e){M.lFrame.selectedIndex=e}function is(){let e=M.lFrame;return Fn(e.tView,e.selectedIndex)}function uu(){return M.lFrame.currentNamespace}var lu=!0;function ro(){return lu}function oo(e){lu=e}function Ci(e,t=null,n=null,r){let o=du(e,t,n,r);return o.resolveInjectorInitializers(),o}function du(e,t=null,n=null,r,o=new Set){let i=[n||re,Rc(e)];return r=r||(typeof e=="object"?void 0:gt(e)),new vt(i,t||xn(),r||null,o)}var we=class e{static THROW_IF_NOT_FOUND=ht;static NULL=new Tn;static create(t,n){if(Array.isArray(t))return Ci({name:""},n,t,"");{let r=t.name??"";return Ci({name:r},t.parent,t.providers,r)}}static \u0275prov=I({token:e,providedIn:"any",factory:()=>w(ji)});static __NG_ELEMENT_ID__=-1},W=new E(""),jn=(()=>{class e{static __NG_ELEMENT_ID__=Kf;static __NG_ENV_ID__=n=>n}return e})(),Ii=class extends jn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Mt(this._lView)}onDestroy(t){let n=this._lView;return Zi(n,t),()=>$c(n,t)}};function Kf(){return new Ii(k())}var fu=!1,pu=new E(""),Nt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new En(!1);debugTaskTracker=y(pu,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new F(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ti=class extends Fe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Pc()&&(this.destroyRef=y(jn,{optional:!0})??void 0,this.pendingTasks=y(Nt,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Y&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},L=Ti;function jr(...e){}function ss(e){let t,n;function r(){e=jr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function hu(e){return queueMicrotask(()=>e()),()=>{e=jr}}var as="isAngularZone",_n=as+"_ID",Jf=0,K=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new L(!1);onMicrotaskEmpty=new L(!1);onStable=new L(!1);onError=new L(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=fu}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,tp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(as)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Xf,jr,jr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Xf={};function cs(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ep(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ss(()=>{e.callbackScheduled=!1,_i(e),e.isCheckStableRunning=!0,cs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),_i(e)}function tp(e){let t=()=>{ep(e)},n=Jf++;e._inner=e._inner.fork({name:"angular",properties:{[as]:!0,[_n]:n,[_n+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(np(c))return r.invokeTask(i,s,a,c);try{return Ic(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Tc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ic(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!rp(c)&&t(),Tc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,_i(e),cs(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function _i(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ic(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tc(e){e._nesting--,cs(e)}var bn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new L;onMicrotaskEmpty=new L;onStable=new L;onError=new L;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function np(e){return gu(e,"__ignore_ng_zone__")}function rp(e){return gu(e,"__scheduler_tick__")}function gu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},xt=new E("",{factory:()=>{let e=y(K),t=y(oe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ze),n.handleError(r))})}}}),mu={provide:Zt,useValue:()=>{let e=y(ze,{optional:!0})},multi:!0};var Ge=class{},Bn=new E("",{factory:()=>!0});var us=new E(""),io=(()=>{class e{internalPendingTasks=y(Nt);scheduler=y(Ge);errorHandler=y(xt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})(),ls=(()=>{class e{static \u0275prov=I({token:e,providedIn:"root",factory:()=>new bi})}return e})(),bi=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Mi=class{[lt];constructor(t){this[lt]=t}destroy(){this[lt].destroy()}};function Hs(e){return{toString:e}.toString()}function zu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var go=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},ln=(()=>{let e=()=>Gu;return e.ngInherit=!0,e})();function Gu(e){return e.type.prototype.ngOnChanges&&(e.setInput=yp),mp}function mp(){let e=qu(this),t=e?.current;if(t){let n=e.previous;if(n===wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function yp(e,t,n,r,o){let i=this.declaredInputs[r],s=qu(e)||vp(e,{previous:wt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new go(u&&u.currentValue,n,c===wt),zu(e,t,o,n)}var Wu="__ngSimpleChanges__";function qu(e){return e[Wu]||null}function vp(e,t){return e[Wu]=t}var yu=[];var A=function(e,t=null,n){for(let r=0;r<yu.length;r++){let o=yu[r];o(e,t,n)}},N=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(N||{});function Dp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Gu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Ep(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function lo(e,t,n){Zu(e,t,3,n)}function fo(e,t,n,r){(e[v]&3)===n&&Zu(e,t,n,r)}function ds(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function Zu(e,t,n,r){let o=r!==void 0?e[Tt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Tt]+=65536),(a<i||i==-1)&&(wp(e,n,t,c),e[Tt]=(e[Tt]&4294901760)+c+2),c++}function vu(e,t){A(N.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),A(N.LifecycleHookEnd,e,t)}}function wp(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Tt]>>16&&(e[v]&3)===t&&(e[v]+=16384,vu(a,i)):vu(a,i)}var on=-1,Un=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Cp(e){return(e.flags&8)!==0}function Ip(e){return(e.flags&16)!==0}function Tp(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];bp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function _p(e){return e===3||e===4||e===6}function bp(e){return e.charCodeAt(0)===64}function Io(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Du(e,n,o,null,t[++r]):Du(e,n,o,null,null))}}return e}function Du(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Mp(e){return e!==on}function ms(e){return e&32767}function Sp(e){return e>>16}function ys(e,t){let n=Sp(e),r=t;for(;n>0;)r=r[Ct],n--;return r}var vs=!0;function mo(e){let t=vs;return vs=e,t}var Np=256,Yu=Np-1,Qu=5,xp=0,Ve={};function Ap(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Et)&&(r=n[Et]),r==null&&(r=n[Et]=xp++);let o=r&Yu,i=1<<o;t.data[e+(o>>Qu)]|=i}function Ku(e,t){let n=Ju(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,fs(r.data,e),fs(t,null),fs(r.blueprint,null));let o=Xu(e,t),i=e.injectorIndex;if(Mp(o)){let s=ms(o),a=ys(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function fs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ju(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Xu(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ol(o),r===null)return on;if(n++,o=o[Ct],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return on}function Rp(e,t,n){Ap(e,t,n)}function el(e,t,n){if(n&8||e!==void 0)return e;zr(t,"NodeInjector")}function tl(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[rt],i=Q(void 0);try{return o?o.get(t,r,n&8):Pi(t,r,n&8)}finally{Q(i)}}return el(r,t,n)}function nl(e,t,n,r=0,o){if(e!==null){if(t[v]&2048&&!(r&2)){let s=Lp(e,t,n,r,Ve);if(s!==Ve)return s}let i=rl(e,t,n,r,Ve);if(i!==Ve)return i}return tl(t,n,r,o)}function rl(e,t,n,r,o){let i=Fp(n);if(typeof i=="function"){if(!rs(t,e,r))return r&1?el(o,n,r):tl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))zr(n);else return s}finally{os()}}else if(typeof i=="number"){let s=null,a=Ju(e,t),c=on,u=r&1?t[ge][Ie]:null;for((a===-1||r&4)&&(c=a===-1?Xu(e,t):t[a+8],c===on||!wu(r,!1)?a=-1:(s=t[D],a=ms(c),t=ys(c,t)));a!==-1;){let l=t[D];if(Eu(i,a,l.data)){let d=Op(a,t,n,s,r,u);if(d!==Ve)return d}c=t[a+8],c!==on&&wu(r,t[D].data[a+8]===u)&&Eu(i,a,t)?(s=l,a=ms(c),t=ys(c,t)):a=-1}}return o}function Op(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?it(a)&&vs:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=kp(a,s,n,c,u);return l!==null?Ds(t,s,l,a,o):Ve}function kp(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&bt(f)&&f.type===n)return c}return null}function Ds(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Un){let a=i;if(a.resolving)throw Fi("");let c=mo(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Q(a.injectImpl):null,p=rs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Dp(n,s[n],t)}finally{d!==null&&Q(d),mo(c),a.resolving=!1,os()}}return i}function Fp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Et)?e[Et]:void 0;return typeof t=="number"?t>=0?t&Yu:Pp:t}function Eu(e,t,n){let r=1<<e;return!!(n[t+(e>>Qu)]&r)}function wu(e,t){return!(e&2)&&!(e&1&&t)}var yo=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return nl(this._tNode,this._lView,t,mt(r),n)}};function Pp(){return new yo(Be(),k())}function Lp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!en(s);){let a=rl(i,s,n,r|2,Ve);if(a!==Ve)return a;let c=i.parent;if(!c){let u=s[$i];if(u){let l=u.get(n,Ve,r);if(l!==Ve)return l}c=ol(s),s=s[Ct]}i=c}return o}function ol(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[Ie]:null}function jp(){return il(Be(),k())}function il(e,t){return new Wn(Ze(e,t))}var Wn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=jp}return e})();function sl(e){return(e.flags&128)===128}var Us=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Us||{}),al=new Map,Bp=0;function Vp(){return Bp++}function Hp(e){al.set(e[ot],e)}function Es(e){al.delete(e[ot])}var Cu="__ngContext__";function sn(e,t){We(t)?(e[Cu]=t[ot],Hp(t)):e[Cu]=t}function cl(e){return ll(e[Jt])}function ul(e){return ll(e[he])}function ll(e){for(;e!==null&&!qe(e);)e=e[he];return e}var Up;function $s(e){Up=e}var To=new E("",{factory:()=>$p}),$p="ng";var _o=new E(""),qn=new E("",{providedIn:"platform",factory:()=>"unknown"});var bo=new E("",{factory:()=>y(W).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var dl=!1,fl=new E("",{factory:()=>dl});var zp=(e,t,n,r)=>{};function Gp(e,t,n,r){zp(e,t,n,r)}function zs(e){return(e.flags&32)===32}var Wp=()=>null;function pl(e,t,n=!1){return Wp(e,t,n)}function hl(e,t){let n=e.contentQueries;if(n!==null){let r=C(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ns(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function ws(e,t,n){ns(0);let r=C(null);try{t(e,n)}finally{C(r)}}function gl(e,t,n){if(zi(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{C(r)}}}var Se=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Se||{});var so;function qp(){if(so===void 0&&(so=null,nt.trustedTypes))try{so=nt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return so}function Mo(e){return qp()?.createHTML(e)||e}var ao;function Zp(){if(ao===void 0&&(ao=null,nt.trustedTypes))try{ao=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ao}function Iu(e){return Zp()?.createScriptURL(e)||e}var Ye=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Br})`}},Cs=class extends Ye{getTypeName(){return"HTML"}},Is=class extends Ye{getTypeName(){return"Style"}},Ts=class extends Ye{getTypeName(){return"Script"}},_s=class extends Ye{getTypeName(){return"URL"}},bs=class extends Ye{getTypeName(){return"ResourceURL"}};function He(e){return e instanceof Ye?e.changingThisBreaksApplicationSecurity:e}function Ke(e,t){let n=ml(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Br})`)}return n===t}function ml(e){return e instanceof Ye&&e.getTypeName()||null}function Gs(e){return new Cs(e)}function Ws(e){return new Is(e)}function qs(e){return new Ts(e)}function Zs(e){return new _s(e)}function Ys(e){return new bs(e)}function Yp(e){let t=new Ss(e);return Qp()?new Ms(t):t}var Ms=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Mo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ss=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Mo(t),n}};function Qp(){try{return!!new window.DOMParser().parseFromString(Mo(""),"text/html")}catch{return!1}}var Kp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zn(e){return e=String(e),e.match(Kp)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var yl=Je("area,br,col,hr,img,wbr"),vl=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dl=Je("rp,rt"),Jp=Yn(Dl,vl),Xp=Yn(vl,Je("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")),eh=Yn(Dl,Je("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")),Tu=Yn(yl,Xp,eh,Jp),El=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),th=Je("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"),nh=Je("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"),rh=Yn(El,th,nh),oh=Je("script,style,template"),Ns=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=ah(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=sh(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=_u(t).toLowerCase();if(!Tu.hasOwnProperty(n))return this.sanitizedSomething=!0,!oh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!rh.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;El[a]&&(c=Zn(c)),this.buf.push(" ",s,'="',bu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=_u(t).toLowerCase();Tu.hasOwnProperty(n)&&!yl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(bu(t))}};function ih(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sh(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw wl(t);return t}function ah(e){let t=e.firstChild;if(t&&ih(e,t))throw wl(t);return t}function _u(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function wl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ch=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uh=/([^\#-~ |!])/g;function bu(e){return e.replace(/&/g,"&").replace(ch,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var co;function Qs(e,t){let n=null;try{co=co||Yp(e);let r=t?String(t):"";n=co.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=co.getInertBodyElement(r)}while(r!==i);let a=new Ns().sanitizeChildren(Mu(n)||n);return Mo(a)}finally{if(n){let r=Mu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Mu(e){return"content"in e&&lh(e)?e.content:null}function lh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function dh(e,t){return e.createText(t)}function fh(e,t,n){e.setValue(t,n)}function Cl(e,t,n){return e.createElement(t,n)}function xs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Il(e,t,n){e.appendChild(t,n)}function Su(e,t,n,r,o){r!==null?xs(e,t,n,r,o):Il(e,t,n)}function ph(e,t,n,r){e.removeChild(null,t,n,r)}function hh(e,t,n){e.setAttribute(t,"style",n)}function gh(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Tl(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Tp(e,t,r),o!==null&&gh(e,t,o),i!==null&&hh(e,t,i)}var Ne=(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})(Ne||{});function Ot(e){let t=_l();return t?t.sanitize(Ne.URL,e)||"":Ke(e,"URL")?He(e):Zn(ki(e))}function Qn(e){let t=_l();if(t)return Iu(t.sanitize(Ne.RESOURCE_URL,e)||"");if(Ke(e,"ResourceURL"))return Iu(He(e));throw new m(904,!1)}function _l(){let e=k();return e&&e[je].sanitizer}function mh(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var bl="ng-template";function yh(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&mh(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ks(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Ks(e){return e.type===4&&e.value!==bl}function vh(e,t,n){let r=e.type===4&&!n?bl:e.value;return t===r}function Dh(e,t,n){let r=4,o=e.attrs,i=o!==null?Ch(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!vh(e,c,n)||c===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!yh(e,o,c,n)){if(be(r))return!1;s=!0}}else{let u=t[++a],l=Eh(c,o,Ks(e),n);if(l===-1){if(be(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Eh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Ih(t,e)}function wh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Dh(e,t[r],n))return!0;return!1}function Ch(e){for(let t=0;t<e.length;t++){let n=e[t];if(_p(n))return t}return e.length}function Ih(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Nu(e,t){return e?":not("+t.trim()+")":t}function Th(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=Nu(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Nu(i,o)),t}function _h(e){return e.map(Th).join(",")}function bh(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var xe={};function Js(e,t,n,r,o,i,s,a,c,u,l){let d=H+r,p=d+o,f=Mh(d,p),h=typeof u=="function"?u():u;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function Mh(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:xe);return n}function Sh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Js(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Xs(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ce]=o,d[v]=r|4|128|8|64|1024,(u!==null||e&&e[v]&2048)&&(d[v]|=2048),qi(d),d[ie]=d[Ct]=e,d[G]=n,d[je]=s||e&&e[je],d[B]=a||e&&e[B],d[rt]=c||e&&e[rt]||null,d[Ie]=i,d[ot]=Vp(),d[An]=l,d[$i]=u,d[ge]=t.type==2?e[ge]:d,d}function Nh(e,t,n){let r=Ze(t,e),o=Sh(n),i=e[je].rendererFactory,s=Nl(e,Xs(e,o,null,Ml(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ml(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Sl(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Nl(e,t){return e[Jt]?e[Ui][he]=t:e[Jt]=t,e[Ui]=t,t}function T(e=1){xl(me(),k(),St()+e,!1)}function xl(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&lo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&fo(t,i,0,n)}at(n)}var So=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(So||{});function As(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&So.SignalBased)!==0&&(c=t[i][lt]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):zu(t,c,i,r)}finally{C(o)}}var Qe=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Qe||{}),xh;function ea(e,t){return xh(e,t)}var an=new Set,ta=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ta||{}),kt=new E(""),xu=new Set;function dn(e){xu.has(e)||(xu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Al=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();var Rl=new E("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:y(oe)})});function Ol(e,t,n){let r=e.get(Rl);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Ah(e,t){for(let[n,r]of t)Ol(e,r.animateFns)}function Rh(e,t){let n=e.get(Rl);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Au(e,t,n,r){let o=e?.[On]?.enter;t!==null&&o&&o.has(n.index)&&Ah(r,o)}function rn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;qe(o)?c=o:We(o)&&(u=!0,o=o[Ce]);let l=Te(o);e===0&&r!==null?(Au(a,r,i,n),s==null?Il(t,r,l):xs(t,r,l,s||null,!0)):e===1&&r!==null?(Au(a,r,i,n),xs(t,r,l,s||null,!0)):e===2?Ru(a,i,n,d=>{ph(t,l,u,d)}):e===3&&Ru(a,i,n,()=>{t.destroyNode(l)}),c!=null&&Gh(t,e,n,c,i,r,s)}}function Oh(e,t){kl(e,t),t[Ce]=null,t[Ie]=null}function kh(e,t,n,r,o,i){r[Ce]=o,r[Ie]=t,No(e,r,n,1,o,i)}function kl(e,t){t[je].changeDetectionScheduler?.notify(9),No(e,t,t[B],2,null,null)}function Fh(e){let t=e[Jt];if(!t)return ps(e[D],e);for(;t;){let n=null;if(We(t))n=t[Jt];else{let r=t[se];r&&(n=r)}if(!n){for(;t&&!t[he]&&t!==e;)We(t)&&ps(t[D],t),t=t[ie];t===null&&(t=e),We(t)&&ps(t[D],t),n=t&&t[he]}t=n}}function na(e,t){let n=e[kn],r=n.indexOf(t);n.splice(r,1)}function Fl(e,t){if(Mt(t))return;let n=t[B];n.destroyNode&&No(e,t,n,3,null,null),Fh(t)}function ps(e,t){if(Mt(t))return;let n=C(null);try{t[v]&=-129,t[v]|=256,t[le]&&ur(t[le]),jh(e,t),Lh(e,t),t[D].type===1&&t[B].destroy();let r=t[It];if(r!==null&&qe(t[ie])){r!==t[ie]&&na(r,t);let o=t[_t];o!==null&&o.detachView(e)}Es(t)}finally{C(n)}}function Ru(e,t,n,r){let o=e?.[On];if(o?.enter?.has(t.index)&&Rh(n,o.enter.get(t.index).animateFns),o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&an.add(e[ot]),Ol(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Ph(e,r)}else e&&an.delete(e[ot]),r(!1)},o)}function Ph(e,t){let n=e[On]?.running;if(n){n.then(()=>{e[On].running=void 0,an.delete(e[ot]),t(!0)});return}t(!1)}function Lh(e,t){let n=e.cleanup,r=t[Kt];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Kt]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Rn];if(i!==null){t[Rn]=null;for(let s of i)s.destroy()}}function jh(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Un)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(N.LifecycleHookStart,a,c);try{c.call(a)}finally{A(N.LifecycleHookEnd,a,c)}}else{A(N.LifecycleHookStart,o,i);try{i.call(o)}finally{A(N.LifecycleHookEnd,o,i)}}}}}function Bh(e,t,n){return Vh(e,t.parent,n)}function Vh(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce];if(it(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Se.None||o===Se.Emulated)return null}return Ze(r,n)}function Hh(e,t,n){return $h(e,t,n)}function Uh(e,t,n){return e.type&40?Ze(e,n):null}var $h=Uh,Ou;function ra(e,t,n,r){let o=Bh(e,r,t),i=t[B],s=r.parent||t[Ie],a=Hh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Su(i,o,n[c],a,!1);else Su(i,o,n,a,!1);Ou!==void 0&&Ou(i,r,t,n,o)}function Vn(e,t){if(t!==null){let n=t.type;if(n&3)return Ze(t,e);if(n&4)return Rs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Vn(e,r);{let o=e[t.index];return qe(o)?Rs(-1,o):Te(o)}}else{if(n&128)return Vn(e,t.next);if(n&32)return ea(t,e)()||Te(e[t.index]);{let r=Pl(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=tt(e[ge]);return Vn(o,r)}else return Vn(e,t.next)}}}return null}function Pl(e,t){if(t!==null){let r=e[ge][Ie],o=t.projection;return r.projection[o]}return null}function Rs(e,t){let n=se+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return Vn(r,o)}return t[Xt]}function oa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[rt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&sn(Te(c),r),n.flags|=2),!zs(n))if(u&8)oa(e,t,n.child,r,o,i,!1),rn(t,e,a,o,c,n,i,r);else if(u&32){let l=ea(n,r),d;for(;d=l();)rn(t,e,a,o,d,n,i,r);rn(t,e,a,o,c,n,i,r)}else u&16?zh(e,t,r,n,o,i):rn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function No(e,t,n,r,o,i){oa(n,r,e.firstChild,t,o,i,!1)}function zh(e,t,n,r,o,i){let s=n[ge],c=s[Ie].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];rn(t,e,n[rt],o,l,r,i,n)}else{let u=c,l=s[ie];sl(r)&&(u.flags|=128),oa(e,t,u,l,o,i,!0)}}function Gh(e,t,n,r,o,i,s){let a=r[Xt],c=Te(r);a!==c&&rn(t,e,n,i,a,o,s);for(let u=se;u<r.length;u++){let l=r[u];No(l[D],l,e,t,i,a)}}function Wh(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Qe.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Qe.Important),e.setStyle(n,r,o,i))}}function Ll(e,t,n,r,o){let i=St(),s=r&2;try{at(-1),s&&t.length>H&&xl(e,t,H,!1);let a=s?N.TemplateUpdateStart:N.TemplateCreateStart;A(a,o,n),n(r,o)}finally{at(i);let a=s?N.TemplateUpdateEnd:N.TemplateCreateEnd;A(a,o,n)}}function jl(e,t,n){Xh(e,t,n),(n.flags&64)===64&&eg(e,t,n)}function ia(e,t,n=Ze){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function qh(e,t,n,r){let i=r.get(fl,dl)||n===Se.ShadowDom||n===Se.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Zh(s),s}function Zh(e){Yh(e)}var Yh=()=>null;function Qh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Kh(e,t,n,r,o,i){let s=t[D];if(sa(e,s,t,n,r)){it(e)&&Jh(t,e.index);return}e.type&3&&(n=Qh(n)),Bl(e,t,n,r,o,i)}function Bl(e,t,n,r,o,i){if(e.type&3){let s=Ze(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Jh(e,t){let n=_e(t,e);n[v]&16||(n[v]|=64)}function Xh(e,t,n){let r=n.directiveStart,o=n.directiveEnd;it(n)&&Nh(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ku(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ds(t,e,s,n);if(sn(c,t),i!==null&&rg(t,s-r,c,a,n,i),bt(a)){let u=_e(n.index,t);u[G]=Ds(t,e,s,n)}}}function eg(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ru();try{at(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];eo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&tg(c,u)}}finally{at(-1),eo(s)}}function tg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ng(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wh(t,i.selectors,!1)&&(r??=[],bt(i)?r.unshift(i):r.push(i))}return r}function rg(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];As(r,n,c,u)}}function Vl(e,t,n,r,o){let i=H+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,nn(e,!0);let c=e.type===2;return c?(Tl(t[B],a,e),(Wc()===0||Qr(e))&&sn(a,t),qc()):sn(a,t),ro()&&(!c||!zs(e))&&ra(s,t,a,e),e}function Hl(e){let t=e;return Xi()?Kc():(t=t.parent,nn(t,!1)),t}function og(e,t){let n=e[rt];if(!n)return;let r;try{r=n.get(xt,null)}catch{r=null}r?.(t)}function sa(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];As(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];As(l,u,r,o),a=!0}return a}function ig(e,t){let n=_e(t,e),r=n[D];sg(r,n);let o=n[Ce];o!==null&&n[An]===null&&(n[An]=pl(o,n[rt])),A(N.ComponentStart);try{aa(r,n,n[G])}finally{A(N.ComponentEnd,n[G])}}function sg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function aa(e,t,n){to(t);try{let r=e.viewQuery;r!==null&&ws(1,r,n);let o=e.template;o!==null&&Ll(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[_t]?.finishViewCreation(e),e.staticContentQueries&&hl(e,t),e.staticViewQueries&&ws(2,e.viewQuery,n);let i=e.components;i!==null&&ag(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,no()}}function ag(e,t){for(let n=0;n<t.length;n++)ig(e,t[n])}function cg(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Xs(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[It]=u;let l=e[_t];return l!==null&&(c[_t]=l.createEmbeddedView(i)),aa(i,c,n),c}finally{C(o)}}function ug(e,t){return!t||t.firstChild===null||sl(e)}function $n(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Te(i)),qe(i)&&Ul(i,r);let s=n.type;if(s&8)$n(e,t,n.child,r);else if(s&32){let a=ea(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Pl(t,n);if(Array.isArray(a))r.push(...a);else{let c=tt(t[ge]);$n(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Ul(e,t){for(let n=se;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&$n(r[D],r,o,t)}e[Xt]!==e[Ce]&&t.push(e[Xt])}function $l(e){if(e[Yr]!==null){for(let t of e[Yr])t.impl.addSequence(t);e[Yr].length=0}}var zl=[];function lg(e){return e[le]??dg(e)}function dg(e){let t=zl.pop()??Object.create(pg);return t.lView=e,t}function fg(e){e.lView[le]!==e&&(e.lView=null,zl.push(e))}var pg=ke(ce({},Yo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Pn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function hg(e){let t=e[le]??Object.create(gg);return t.lView=e,t}var gg=ke(ce({},Yo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=tt(e.lView);for(;t&&!Gl(t[D]);)t=tt(t);t&&Jr(t)},consumerOnSignalRead(){this.lView[le]=this}});function Gl(e){return e.type!==2}function Wl(e){if(e[Rn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Rn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var mg=100;function ql(e,t=0){let r=e[je].rendererFactory,o=!1;o||r.begin?.();try{yg(e,t)}finally{o||r.end?.()}}function yg(e,t){let n=es();try{ts(!0),Os(e,t);let r=0;for(;tn(e);){if(r===mg)throw new m(103,!1);r++,Os(e,1)}}finally{ts(n)}}function vg(e,t,n,r){if(Mt(t))return;let o=t[v],i=!1,s=!1;to(t);let a=!0,c=null,u=null;i||(Gl(e)?(u=lg(t),c=Qo(u)):cr()===null?(a=!1,u=hg(t),c=Qo(u)):t[le]&&(ur(t[le]),t[le]=null));try{qi(t),Xc(e.bindingStartIndex),n!==null&&Ll(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&lo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&fo(t,f,0,null),ds(t,0)}if(s||Dg(t),Wl(t),Zl(t,0),e.contentQueries!==null&&hl(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&lo(t,f)}else{let f=e.contentHooks;f!==null&&fo(t,f,1),ds(t,1)}wg(e,t);let d=e.components;d!==null&&Ql(t,d,0);let p=e.viewQuery;if(p!==null&&ws(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&lo(t,f)}else{let f=e.viewHooks;f!==null&&fo(t,f,2),ds(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Zr]){for(let f of t[Zr])f();t[Zr]=null}i||($l(t),t[v]&=-73)}catch(l){throw i||Pn(t),l}finally{u!==null&&(qa(u,c),a&&fg(u)),no()}}function Zl(e,t){for(let n=cl(e);n!==null;n=ul(n))for(let r=se;r<n.length;r++){let o=n[r];Yl(o,t)}}function Dg(e){for(let t=cl(e);t!==null;t=ul(t)){if(!(t[v]&2))continue;let n=t[kn];for(let r=0;r<n.length;r++){let o=n[r];Jr(o)}}}function Eg(e,t,n){A(N.ComponentStart);let r=_e(t,e);try{Yl(r,n)}finally{A(N.ComponentEnd,r[G])}}function Yl(e,t){Kr(e)&&Os(e,t)}function Os(e,t){let r=e[D],o=e[v],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ko(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)vg(r,e,r.template,e[G]);else if(o&8192){let a=C(null);try{Wl(e),Zl(e,1);let c=r.components;c!==null&&Ql(e,c,1),$l(e)}finally{C(a)}}}function Ql(e,t,n){for(let r=0;r<t.length;r++)Eg(e,t[r],n)}function wg(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)at(~o);else{let i=o,s=n[++r],a=n[++r];nu(s,i);let c=t[i];A(N.HostBindingsUpdateStart,c);try{a(2,c)}finally{A(N.HostBindingsUpdateEnd,c)}}}}finally{at(-1)}}function ca(e,t){let n=es()?64:1088;for(e[je].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=tt(e);if(en(e)&&!r)return e;e=r}return null}function Cg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ig(e,t){let n=se+t;if(n<e.length)return e[n]}function Tg(e,t,n,r=!0){let o=t[D];if(bg(o,t,e,n),r){let s=Rs(n,e),a=t[B],c=a.parentNode(e[Xt]);c!==null&&kh(o,e[Ie],a,t,c,s)}let i=t[An];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function _g(e,t){let n=Kl(e,t);return n!==void 0&&Fl(n[D],n),n}function Kl(e,t){if(e.length<=se)return;let n=se+t,r=e[n];if(r){let o=r[It];o!==null&&o!==e&&na(o,r),t>0&&(e[n-1][he]=r[he]);let i=Li(e,se+t);Oh(r[D],r);let s=i[_t];s!==null&&s.detachView(i[D]),r[ie]=null,r[he]=null,r[v]&=-129}return r}function bg(e,t,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][he]=t),r<i-se?(t[he]=n[o],xc(n,se+r,t)):(n.push(t),t[he]=null),t[ie]=n;let s=t[It];s!==null&&n!==s&&Jl(s,t);let a=t[_t];a!==null&&a.insertView(e),Xr(t),t[v]|=128}function Jl(e,t){let n=e[kn],r=t[ie];if(We(r))e[v]|=2;else{let o=r[ie][ge];t[ge]!==o&&(e[v]|=2)}n===null?e[kn]=[t]:n.push(t)}var cn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return $n(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return Mt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ie];if(qe(t)){let n=t[jc],r=n?n.indexOf(this):-1;r>-1&&(Kl(t,r),Li(n,r))}this._attachedToViewContainer=!1}Fl(this._lView[D],this._lView)}onDestroy(t){Zi(this._lView,t)}markForCheck(){ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){Xr(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,ql(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=en(this._lView),n=this._lView[It];n!==null&&!t&&na(n,this._lView),kl(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=en(this._lView),r=this._lView[It];r!==null&&!n&&Jl(r,this._lView),Xr(this._lView)}};function ua(e){return tn(e._lView)||!!(e._lView[v]&64)}function la(e){Jr(e._lView)}function xo(e,t,n,r,o){let i=e.data[t];if(i===null)i=Mg(e,t,n,r,o),tu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Qc();i.injectorIndex=s===null?-1:s.injectorIndex}return nn(i,!0),i}function Mg(e,t,n,r,o){let i=Ji(),s=Xi(),a=s?i:i&&i.parent,c=e.data[t]=Ng(e,a,n,t,r,o);return Sg(e,c,i,s),c}function Sg(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Ng(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var xg=()=>null;function Ag(e,t,n){return xg(e,t,n)}var Xl=class{},Ao=class{},ks=class{resolveComponentFactory(t){throw new m(917,!1)}},Ft=class{static NULL=new ks},At=class{};var ed=(()=>{class e{static \u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();var po={},Fs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,po,r);return o!==po||n===po?o:this.parentInjector.get(t,n,r)}};function vo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Vr(o,a);else if(i==2){let c=a,u=t[++s];r=Vr(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ae(e,t=0){let n=k();if(n===null)return w(e,t);let r=Be();return nl(r,n,ue(e),t)}function Rg(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}Fg(e,t,n,a,i,c,u)}i!==null&&r!==null&&Og(n,r,i)}function Og(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function kg(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Fg(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&bt(f)&&(c=f,kg(e,n,p)),Rp(Ku(n,t),e,f.type)}Hg(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Sl(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Io(n.mergedAttrs,f.hostAttrs),Lg(e,n,t,d,f),Vg(d,f,o),s!==null&&s.has(f)){let[_,b]=s.get(f);n.directiveToIndex.set(f.type,[d,_+n.directiveStart,b+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}Pg(e,n,i)}function Pg(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))ku(0,t,o,r),ku(1,t,o,r),Pu(t,r,!1);else{let i=n.get(o);Fu(0,t,i,r),Fu(1,t,i,r),Pu(t,r,!0)}}}function ku(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),td(t,i)}}function Fu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),td(t,s)}}function td(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Pu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ks(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Lg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=yt(o.type,!0)),s=new Un(i,bt(o),ae,null);e.blueprint[r]=s,n[r]=s,jg(e,t,r,Sl(e,n,o.hostVars,xe),o)}function jg(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Bg(s)!=a&&s.push(a),s.push(n,r,i)}}function Bg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Vg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;bt(t)&&(n[""]=e)}}function Hg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function nd(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=st(u,s),d=xo(c,e,n,r,l);return i&&Rg(c,t,d,st(u,a),o),d.mergedAttrs=Io(d.mergedAttrs,d.attrs),d.attrs!==null&&vo(d,d.attrs,!1),d.mergedAttrs!==null&&vo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function rd(e,t){Ep(e,t),zi(t)&&e.queries.elementEnd(t)}function Ug(e,t,n,r,o,i){let s=t.consts,a=st(s,o),c=xo(t,e,n,r,a);if(c.mergedAttrs=Io(c.mergedAttrs,c.attrs),i!=null){let u=st(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&vo(c,c.attrs,!1),c.mergedAttrs!==null&&vo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function $g(e,t,n){return e[t]=n}function fn(e,t,n){if(n===xe)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ho(e,t,n){return function r(o){let i=it(e)?_e(e.index,t):t;ca(i,5);let s=t[G],a=Lu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Lu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Lu(e,t,n,r){let o=C(null);try{return A(N.OutputStart,t,n),n(r)!==!1}catch(i){return og(e,i),!1}finally{A(N.OutputEnd,t,n),C(o)}}function od(e,t,n,r,o,i,s,a){let c=Qr(e),u=!1,l=null;if(!r&&c&&(l=Gg(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ze(e,n),p=r?r(d):d;Gp(n,p,i,a);let f=o.listen(p,i,a);if(!zg(i)){let h=r?_=>r(Te(_[e.index])):e.index;id(h,t,n,i,a,f,!1)}}return u}function zg(e){return e.startsWith("animation")||e.startsWith("transition")}function Gg(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Kt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function id(e,t,n,r,o,i,s){let a=t.firstCreatePass?Gc(t):null,c=zc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function ju(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);id(e.index,a,t,o,i,d,!0)}var Ps=Symbol("BINDING");var Ls=class extends Ft{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Sn(t);return new Do(n,this.ngModule)}};function Wg(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&So.SignalBased)!==0};return o&&(i.transform=o),i})}function qg(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Zg(e,t,n){let r=t instanceof oe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Fs(n,r):n}function Yg(e){let t=e.get(At,null);if(t===null)throw new m(407,!1);let n=e.get(ed,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Qg(e,t){let n=sd(e);return Cl(t,n,n==="svg"?Bc:n==="math"?Vc:null)}function sd(e){return(e.selectors[0][0]||"div").toLowerCase()}var Do=class extends Ao{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Wg(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=qg(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=_h(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(N.DynamicComponentStart);let a=C(null);try{let c=this.componentDef,u=Kg(r,c,s,i),l=Zg(c,o||this.ngModule,t),d=Yg(l),p=d.rendererFactory.createRenderer(null,c),f=r?qh(p,r,c.encapsulation,l):Qg(c,p),h=s?.some(Bu)||i?.some(g=>typeof g!="function"&&g.bindings.some(Bu)),_=Xs(null,u,null,512|Ml(c),null,null,d,p,l,null,pl(f,l,!0));_[H]=f,to(_);let b=null;try{let g=nd(H,_,2,"#host",()=>u.directiveRegistry,!0,0);Tl(p,f,g),sn(f,_),jl(u,_,g),gl(u,g,_),rd(u,g),n!==void 0&&Xg(g,this.ngContentSelectors,n),b=_e(g.index,_),_[G]=b[G],aa(u,_,null)}catch(g){throw b!==null&&Es(b),Es(_),g}finally{A(N.DynamicComponentEnd),no()}return new Eo(this.componentType,_,!!h)}finally{C(a)}}};function Kg(e,t,n,r){let o=e?["ng-version","21.1.4"]:bh(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ps].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Ps].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Ri(d);c.push(p)}return Js(0,null,Jg(i,s),1,a,c,null,null,null,[o],null)}function Jg(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Bu(e){let t=e[Ps].kind;return t==="input"||t==="twoWay"}var Eo=class extends Xl{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Fn(n[D],H),this.location=il(this._tNode,n),this.instance=_e(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new cn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=sa(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=_e(r.index,o);ca(s,1)}get injector(){return new yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Xg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var em=()=>!1;function tm(e,t,n){return em(e,t,n)}var wo=class{};var zn=class extends wo{injector;componentFactoryResolver=new Ls(this);instance=null;constructor(t){super();let n=new vt([...t.providers,{provide:wo,useValue:this},{provide:Ft,useValue:this.componentFactoryResolver}],t.parent||xn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ad(e,t,n=null){return new zn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var nm=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Vi(!1,n.type),o=r.length>0?ad([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(w(oe))})}return e})();function q(e){return Hs(()=>{let t=sm(e),n=ke(ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Us.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(nm).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Se.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&dn("NgStandalone"),am(n);let r=e.dependencies;return n.directiveDefs=Vu(r,rm),n.pipeDefs=Vu(r,bc),n.id=cm(n),n})}function rm(e){return Sn(e)||Ri(e)}function pn(e){return Hs(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function om(e,t){if(e==null)return wt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=So.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function im(e){if(e==null)return wt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ro(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function sm(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||wt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:om(e.inputs,t),outputs:im(e.outputs),debugInfo:null}}function am(e){e.features?.forEach(t=>t(e))}function Vu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function cm(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function um(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Io(e.mergedAttrs,e.attrs);let l=e.tView=Js(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),nn(e,!1);let c=lm(n,t,e,r);ro()&&ra(n,t,c,e),sn(c,t);let u=Cg(c,t,c,e);t[r+H]=u,Nl(t,u),tm(u,e,t)}function cd(e,t,n,r,o,i,s,a,c,u,l){let d=n+H,p;if(t.firstCreatePass){if(p=xo(t,d,4,s||null,a||null),u!=null){let f=st(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return um(p,e,t,n,r,o,i,c),u!=null&&ia(e,p,l),p}var lm=dm;function dm(e,t,n,r){return oo(!0),t[B].createComment("")}function da(e){return typeof e=="function"&&e[lt]!==void 0}var fa=new E("");function pa(e){return!!e&&typeof e.then=="function"}function ud(e){return!!e&&typeof e.subscribe=="function"}var ld=new E("");var ha=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=y(ld,{optional:!0})??[];injector=y(we);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Qt(this.injector,o);if(pa(i))n.push(i);else if(ud(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dd=new E("");function fd(){Xo(()=>{let e="";throw new m(600,e)})}function pd(e){return e.isBoundToModule}var fm=10;var Pt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=y(xt);afterRenderManager=y(Al);zonelessEnabled=y(Bn);rootEffectScheduler=y(ls);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Fe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=y(Nt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Pe(n=>!n))}constructor(){y(kt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=y(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=we.NULL){return this._injector.get(K).run(()=>{A(N.BootstrapComponentStart);let s=n instanceof Ao;if(!this._injector.get(ha).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(Ft).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=pd(c)?void 0:this._injector.get(wo),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(fa,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Hn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(N.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(N.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ta.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw A(N.ChangeDetectionEnd),new m(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),A(N.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(At,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<fm;){A(N.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{A(N.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!tn(o))continue;let i=r&&!this.zonelessEnabled?0:1;ql(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>tn(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Hn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(dd,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Hn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var uT=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function U(e,t,n,r,o,i,s,a){dn("NgControlFlow");let c=k(),u=me(),l=st(u.consts,i);return cd(c,u,e,t,n,r,o,l,256,s,a),ga}function ga(e,t,n,r,o,i,s,a){dn("NgControlFlow");let c=k(),u=me(),l=st(u.consts,i);return cd(c,u,e,t,n,r,o,l,512,s,a),ga}function $(e,t){dn("NgControlFlow");let n=k(),r=Ln(),o=n[r]!==xe?n[r]:-1,i=o!==-1?Hu(n,H+o):void 0,s=0;if(fn(n,r,e)){let a=C(null);try{if(i!==void 0&&_g(i,s),e!==-1){let c=H+e,u=Hu(n,c),l=pm(n[D],c),d=Ag(u,l,n),p=cg(n,l,t,{dehydratedView:d});Tg(u,p,s,ug(l,d))}}finally{C(a)}}else if(i!==void 0){let a=Ig(i,s);a!==void 0&&(a[G]=t)}}function Hu(e,t){return e[t]}function pm(e,t){return Fn(e,t)}function Ae(e,t,n){let r=k(),o=Ln();if(fn(r,o,t)){let i=me(),s=is();Kh(s,r,e,t,r[B],n)}return Ae}function js(e,t,n,r,o){sa(t,e,n,o?"class":"style",r)}function J(e,t,n,r){let o=k(),i=o[D],s=e+H,a=i.firstCreatePass?nd(s,o,2,t,ng,Zc(),n,r):i.data[s];if(Vl(a,o,e,t,hd),Qr(a)){let c=o[D];jl(c,o,a),gl(c,a,o)}return r!=null&&ia(o,a),J}function X(){let e=me(),t=Be(),n=Hl(t);return e.firstCreatePass&&rd(e,n),Qi(n)&&Ki(),Yi(),n.classesWithoutHost!=null&&Cp(n)&&js(e,n,k(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Ip(n)&&js(e,n,k(),n.stylesWithoutHost,!1),X}function Oo(e,t,n,r){return J(e,t,n,r),X(),Oo}function R(e,t,n,r){let o=k(),i=o[D],s=e+H,a=i.firstCreatePass?Ug(s,i,2,t,n,r):i.data[s];return Vl(a,o,e,t,hd),r!=null&&ia(o,a),R}function O(){let e=Be(),t=Hl(e);return Qi(t)&&Ki(),Yi(),O}var hd=(e,t,n,r,o)=>(oo(!0),Cl(t[B],r,uu()));function Re(){return k()}function de(e,t,n){let r=k(),o=Ln();if(fn(r,o,t)){let i=me(),s=is();Bl(s,r,e,t,r[B],n)}return de}var Kn="en-US";var hm=Kn;function gd(e){typeof e=="string"&&(hm=e.toLowerCase().replace(/_/g,"-"))}function Ue(e,t,n){let r=k(),o=me(),i=Be();return gm(o,r,r[B],i,e,t,n),Ue}function De(e,t,n){let r=k(),o=me(),i=Be();return(i.type&3||n)&&od(i,o,r,n,r[B],e,t,ho(i,r,t)),De}function gm(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ho(r,t,i),od(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=ho(r,t,i),ju(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=ho(r,t,i),ju(r,t,d,o,o,c)}}function P(e=1){return cu(e)}function uo(e,t){return e<<17|t<<2}function Rt(e){return e>>17&32767}function mm(e){return(e&2)==2}function ym(e,t){return e&131071|t<<17}function Bs(e){return e|2}function un(e){return(e&131068)>>2}function hs(e,t){return e&-131069|t<<2}function vm(e){return(e&1)===1}function Vs(e){return e|1}function Dm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Rt(s),c=un(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||qt(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Rt(e[a+1]);e[r+1]=uo(p,a),p!==0&&(e[p+1]=hs(e[p+1],r)),e[a+1]=ym(e[a+1],r)}else e[r+1]=uo(a,0),a!==0&&(e[a+1]=hs(e[a+1],r)),a=r;else e[r+1]=uo(c,0),a===0?a=r:e[c+1]=hs(e[c+1],r),c=r;u&&(e[r+1]=Bs(e[r+1])),Uu(e,l,r,!0),Uu(e,l,r,!1),Em(t,l,e,r,i),s=uo(a,c),i?t.classBindings=s:t.styleBindings=s}function Em(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&qt(i,t)>=0&&(n[r+1]=Vs(n[r+1]))}function Uu(e,t,n,r){let o=e[n+1],i=t===null,s=r?Rt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];wm(c,t)&&(a=!0,e[s+1]=r?Vs(u):Bs(u)),s=r?Rt(u):un(u)}a&&(e[n+1]=r?Bs(o):Vs(o))}function wm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?qt(e,t)>=0:!1}var Me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cm(e){return e.substring(Me.key,Me.keyEnd)}function Im(e){return Tm(e),md(e,yd(e,0,Me.textEnd))}function md(e,t){let n=Me.textEnd;return n===t?-1:(t=Me.keyEnd=_m(e,Me.key=t,n),yd(e,t,n))}function Tm(e){Me.key=0,Me.keyEnd=0,Me.value=0,Me.valueEnd=0,Me.textEnd=e.length}function yd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _m(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ma(e){Mm(km,bm,e,!0)}function bm(e,t){for(let n=Im(t);n>=0;n=md(t,n))Wr(e,Cm(t),!0)}function Mm(e,t,n,r){let o=me(),i=eu(2);o.firstUpdatePass&&Sm(o,null,i,r);let s=k();if(n!==xe&&fn(s,i,n)){let a=o.data[St()];if(Dd(a,r)&&!vd(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Vr(c,n||"")),js(o,a,s,n,r)}else Fm(o,a,s,s[B],s[i+1],s[i+1]=Om(e,t,n),r,i)}}function vd(e,t){return t>=e.expandoStartIndex}function Sm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[St()],s=vd(e,n);Dd(i,r)&&t===null&&!s&&(t=!1),t=Nm(o,i,t,r),Dm(o,i,t,n,s,r)}}function Nm(e,t,n,r){let o=ou(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=gs(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=gs(o,e,t,n,r),i===null){let c=xm(e,t,r);c!==void 0&&Array.isArray(c)&&(c=gs(null,e,t,c[1],r),c=Gn(c,t.attrs,r),Am(e,t,r,c))}else i=Rm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function xm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[Rt(r)]}function Am(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Rt(o)]=r}function Rm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function gs(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Wr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Om(e,t,n){if(n==null||n==="")return re;let r=[],o=He(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function km(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Wr(e,r,n)}function Fm(e,t,n,r,o,i,s,a){o===xe&&(o=re);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,_;l===d?(c+=2,u+=2,p!==f&&(h=d,_=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,_=f),h!==null&&Pm(e,t,n,r,h,_,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Pm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=vm(u)?$u(c,t,n,o,un(u),s):void 0;if(!Co(l)){Co(i)||mm(u)&&(i=$u(c,null,n,o,a,s));let d=Gi(St(),n);Wh(r,s,d,o,i)}}function $u(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===xe&&(p=d?re:void 0);let f=d?qr(p,r):l===r?p:void 0;if(u&&!Co(f)&&(f=qr(c,r)),Co(f)&&(a=f,s))return a;let h=e[o+1];o=s?Rt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=qr(c,r))}return a}function Co(e){return e!==void 0}function Dd(e,t){return(e.flags&(t?8:16))!==0}function j(e,t=""){let n=k(),r=me(),o=e+H,i=r.firstCreatePass?xo(r,o,1,t,null):r.data[o],s=Lm(r,n,i,t);n[o]=s,ro()&&ra(r,n,s,i),nn(i,!1)}var Lm=(e,t,n,r)=>(oo(!0),dh(t[B],r));function jm(e,t,n,r=""){return fn(e,Ln(),n)?t+ki(n)+r:xe}function ee(e){return Jn("",e),ee}function Jn(e,t,n){let r=k(),o=jm(r,e,t,n);return o!==xe&&Bm(r,St(),o),Jn}function Bm(e,t,n){let r=Gi(t,e);fh(e[B],r,n)}function Vm(e,t){let n=e[t];return n===xe?void 0:n}function Hm(e,t,n,r,o,i){let s=t+n;return fn(e,s,o)?$g(e,s+1,i?r.call(i,o):r(o)):Vm(e,s+1)}function ya(e,t){let n=me(),r,o=e+H;n.firstCreatePass?(r=Um(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=yt(r.type,!0)),s,a=Q(ae);try{let c=mo(!1),u=i();return mo(c),Wi(n,k(),o,u),u}finally{Q(a)}}function Um(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function va(e,t,n){let r=e+H,o=k(),i=Hc(o,r);return $m(o,r)?Hm(o,Jc(),t,i.transform,n,i):i.transform(n)}function $m(e,t){return e[D].data[t].pure}var Ed=(()=>{class e{applicationErrorHandler=y(xt);appRef=y(Pt);taskService=y(Nt);ngZone=y(K);zonelessEnabled=y(Bn);tracing=y(kt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_n):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(us,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?hu:ss;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(_n+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Da(){return dn("NgZoneless"),Yt([...Ea(),[]])}function Ea(){return[{provide:Ge,useExisting:Ed},{provide:K,useClass:bn},{provide:Bn,useValue:!0}]}function zm(){return typeof $localize<"u"&&$localize.locale||Kn}var wa=new E("",{factory:()=>y(wa,{optional:!0,skipSelf:!0})||zm()});var Ca=new E(""),oy=new E("");function Xn(e){return!e.moduleRef}function iy(e){let t=Xn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(K);return n.run(()=>{Xn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(xt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Xn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ca);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ca);s.add(i),e.moduleRef.onDestroy(()=>{Hn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return ay(r,n,()=>{let i=t.get(Nt),s=i.add(),a=t.get(ha);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(wa,Kn);if(gd(c||Kn),!t.get(oy,!0))return Xn(e)?t.get(Pt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Xn(e)){let l=t.get(Pt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return sy?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var sy;function ay(e,t,n){try{let r=n();return pa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ko=null;function cy(e=[],t){return we.create({name:t,providers:[{provide:Nn,useValue:"platform"},{provide:Ca,useValue:new Set([()=>ko=null])},...e]})}function uy(e=[]){if(ko)return ko;let t=cy(e);return ko=t,fd(),ly(t),t}function ly(e){let t=e.get(_o,null);Qt(e,()=>{t?.forEach(n=>n())})}var dy=1e4;var YN=dy-1e3;var Ia=(()=>{class e{static __NG_ELEMENT_ID__=fy}return e})();function fy(e){return py(Be(),k(),(e&16)===16)}function py(e,t,n){if(it(e)&&!n){let r=_e(e.index,t);return new cn(r,r)}else if(e.type&175){let r=t[ge];return new cn(r,t)}return null}function Cd(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(N.BootstrapApplicationStart);try{let i=o?.injector??uy(r),s=[Ea(),mu,...n||[]],a=new zn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return iy({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(N.BootstrapApplicationEnd)}}var Id=null;function Xe(){return Id}function Ta(e){Id??=e}var er=class{},Fo=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:()=>y(Td),providedIn:"platform"})}return e})();var Td=(()=>{class e extends Fo{_location;_history;_doc=y(W);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xe().getBaseHref(this._doc)}onPopState(n){let r=Xe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Xe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();var z=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Dt({})}return e})();function tr(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Lt=class{};var _d="browser";var nr=class{_doc;constructor(t){this._doc=t}manager},Po=(()=>{class e extends nr{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(w(W))};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Bo=new E(""),Sa=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Po));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Po);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(w(Bo),w(K))};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),_a="ng-app-id";function bd(e){for(let t of e)t.remove()}function Md(e,t){let n=t.createElement("style");return n.textContent=e,n}function gy(e,t,n,r){let o=e.head?.querySelectorAll(`style[${_a}="${t}"],link[${_a}="${t}"]`);if(o)for(let i of o)i.removeAttribute(_a),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Ma(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Na=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,gy(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Md);r?.forEach(o=>this.addUsage(o,this.external,Ma))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(bd(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])bd(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Md(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Ma(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(w(W),w(To),w(bo,8),w(qn))};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),ba={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xa=/%COMP%/g;var Nd="%COMP%",my=`_nghost-${Nd}`,yy=`_ngcontent-${Nd}`,vy=!0,Dy=new E("",{factory:()=>vy});function Ey(e){return yy.replace(xa,e)}function wy(e){return my.replace(xa,e)}function xd(e,t){return t.map(n=>n.replace(xa,e))}var Aa=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new rr(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof jo?o.applyToHost(n):o instanceof or&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Se.Emulated:i=new jo(c,u,r,this.appId,l,s,a,d);break;case Se.ShadowDom:return new Lo(c,n,r,s,a,this.nonce,d,u);case Se.ExperimentalIsolatedShadowDom:return new Lo(c,n,r,s,a,this.nonce,d);default:i=new or(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(w(Sa),w(Na),w(To),w(Dy),w(W),w(K),w(bo),w(kt,8))};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),rr=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(ba[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Sd(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Sd(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ba[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ba[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Qe.DashCase|Qe.Important)?t.style.setProperty(n,r,o&Qe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Qe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Xe().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Sd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Lo=class extends rr{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=xd(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Ma(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},or=class extends rr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?xd(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&an.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jo=class extends or{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Ey(u),this.hostAttr=wy(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Vo=class e extends er{supportsDOMEvents=!0;static makeCurrent(){Ta(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Cy();return n==null?null:Iy(n)}resetBaseElement(){ir=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return tr(document.cookie,t)}},ir=null;function Cy(){return ir=ir||document.head.querySelector("base"),ir?ir.getAttribute("href"):null}function Iy(e){return new URL(e,document.baseURI).pathname}var Ty=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),Ad=["alt","control","meta","shift"],_y={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},by={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Rd=(()=>{class e extends nr{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xe().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Ad.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=_y[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Ad.forEach(s=>{if(s!==o){let a=by[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(w(W))};static \u0275prov=I({token:e,factory:e.\u0275fac})}return e})();async function Ra(e,t){return Cd(My(e,t))}function My(e,t){return{platformRef:t?.platformRef,appProviders:[...Ry,...e?.providers??[]],platformProviders:Ay}}function Sy(){Vo.makeCurrent()}function Ny(){return new ze}function xy(){return $s(document),document}var Ay=[{provide:qn,useValue:_d},{provide:_o,useValue:Sy,multi:!0},{provide:W,useFactory:xy}];var Ry=[{provide:Nn,useValue:"root"},{provide:ze,useFactory:Ny},{provide:Bo,useClass:Po,multi:!0},{provide:Bo,useClass:Rd,multi:!0},Aa,Na,Sa,{provide:At,useExisting:Aa},{provide:Lt,useClass:Ty},[]];var ct=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Uo=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},$o=class{encodeKey(t){return Od(t)}encodeValue(t){return Od(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Oy(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var ky=/%(\d[a-f0-9])/gi,Fy={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Od(e){return encodeURIComponent(e).replace(ky,(t,n)=>Fy[n]??t)}function Ho(e){return`${e}`}var et=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new $o,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=Oy(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Ho):[Ho(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ho(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Ho(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function Py(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kd(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Fd(e){return typeof Blob<"u"&&e instanceof Blob}function Pd(e){return typeof FormData<"u"&&e instanceof FormData}function Ly(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ld="Content-Type",jd="Accept",Bd="text/plain",Vd="application/json",jy=`${Vd}, ${Bd}, */*`,hn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(Py(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new ct,this.context??=new Uo,!this.params)this.params=new et,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||kd(this.body)||Fd(this.body)||Pd(this.body)||Ly(this.body)?this.body:this.body instanceof et?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Pd(this.body)?null:Fd(this.body)?this.body.type||null:kd(this.body)?null:typeof this.body=="string"?Bd:this.body instanceof et?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Vd:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,_=t.timeout??this.timeout,b=t.body!==void 0?t.body:this.body,g=t.withCredentials??this.withCredentials,Oe=t.reportProgress??this.reportProgress,Bt=t.headers||this.headers,V=t.params||this.params,yn=t.context??this.context;return t.setHeaders!==void 0&&(Bt=Object.keys(t.setHeaders).reduce((vn,ut)=>vn.set(ut,t.setHeaders[ut]),Bt)),t.setParams&&(V=Object.keys(t.setParams).reduce((vn,ut)=>vn.set(ut,t.setParams[ut]),V)),new e(n,r,b,{params:V,headers:Bt,context:yn,reportProgress:Oe,responseType:o,withCredentials:g,transferCache:h,keepalive:i,cache:a,priority:s,timeout:_,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},jt=(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})(jt||{}),mn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new ct,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},zo=class e extends mn{constructor(t={}){super(t)}type=jt.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},sr=class e extends mn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=jt.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},gn=class extends mn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},By=200,Vy=204;var Hy=new E("");var Uy=/^\)\]\}',?\n/;var ka=(()=>{class e{xhrFactory;tracingService=y(kt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return Rr(null).pipe(Cn(()=>new F(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((b,g)=>s.setRequestHeader(b,g.join(","))),n.headers.has(jd)||s.setRequestHeader(jd,jy),!n.headers.has(Ld)){let b=n.detectContentTypeHeader();b!==null&&s.setRequestHeader(Ld,b)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let b=n.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let b=s.statusText||"OK",g=new ct(s.getAllResponseHeaders()),Oe=s.responseURL||n.url;return c=new zo({headers:g,status:s.status,statusText:b,url:Oe}),c},l=this.maybePropagateTrace(()=>{let{headers:b,status:g,statusText:Oe,url:Bt}=u(),V=null;g!==Vy&&(V=typeof s.response>"u"?s.responseText:s.response),g===0&&(g=V?By:0);let yn=g>=200&&g<300;if(n.responseType==="json"&&typeof V=="string"){let vn=V;V=V.replace(Uy,"");try{V=V!==""?JSON.parse(V):null}catch(ut){V=vn,yn&&(yn=!1,V={error:ut,text:V})}}yn?(i.next(new sr({body:V,headers:b,status:g,statusText:Oe,url:Bt||void 0})),i.complete()):i.error(new gn({error:V,headers:b,status:g,statusText:Oe,url:Bt||void 0}))}),d=this.maybePropagateTrace(b=>{let{url:g}=u(),Oe=new gn({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});i.error(Oe)}),p=d;n.timeout&&(p=this.maybePropagateTrace(b=>{let{url:g}=u(),Oe=new gn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:g||void 0});i.error(Oe)}));let f=!1,h=this.maybePropagateTrace(b=>{f||(i.next(u()),f=!0);let g={type:jt.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(g.total=b.total),n.responseType==="text"&&s.responseText&&(g.partialText=s.responseText),i.next(g)}),_=this.maybePropagateTrace(b=>{let g={type:jt.UploadProgress,loaded:b.loaded};b.lengthComputable&&(g.total=b.total),i.next(g)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:jt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(w(Lt))};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $y(e,t){return t(e)}function zy(e,t,n){return(r,o)=>Qt(n,()=>t(r,i=>e(i,o)))}var Hd=new E("",{factory:()=>[]}),Ud=new E(""),$d=new E("",{factory:()=>!0});var Fa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(ka),o},providedIn:"root"})}return e})();var Go=(()=>{class e{backend;injector;chain=null;pendingTasks=y(io);contributeToStability=y($d);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Hd),...this.injector.get(Ud,[])]));this.chain=r.reduceRight((o,i)=>zy(o,i,this.injector),$y)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(di(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(w(Fa),w(oe))};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(Go),o},providedIn:"root"})}return e})();function Oa(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Wo=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof hn)i=n;else{let c;o.headers instanceof ct?c=o.headers:c=new ct(o.headers);let u;o.params&&(o.params instanceof et?u=o.params:u=new et({fromObject:o.params})),i=new hn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Rr(i).pipe(li(c=>this.handler.handle(c)));if(n instanceof hn||o.observe==="events")return s;let a=s.pipe(ui(c=>c instanceof sr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Pe(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(Pe(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(Pe(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(Pe(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new et().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Oa(o,r))}post(n,r,o={}){return this.request("POST",n,Oa(o,r))}put(n,r,o={}){return this.request("PUT",n,Oa(o,r))}static \u0275fac=function(r){return new(r||e)(w(Pa))};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gy=new E("",{factory:()=>!0}),Wy="XSRF-TOKEN",qy=new E("",{factory:()=>Wy}),Zy="X-XSRF-TOKEN",Yy=new E("",{factory:()=>Zy}),Qy=(()=>{class e{cookieName=y(qy);doc=y(W);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=tr(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(Qy),o},providedIn:"root"})}return e})();function Ky(e,t){if(!y(Gy)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=y(Fo).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}let n=y(zd).getToken(),r=y(Yy);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function La(...e){let t=[Wo,Go,{provide:Pa,useExisting:Go},{provide:Fa,useFactory:()=>y(Hy,{optional:!0})??y(ka)},{provide:Hd,useValue:Ky,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Yt(t)}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(Xy),o},providedIn:"root"})}return e})(),Xy=(()=>{class e extends ar{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ne.NONE:return r;case Ne.HTML:return Ke(r,"HTML")?He(r):Qs(this._doc,String(r)).toString();case Ne.STYLE:return Ke(r,"Style")?He(r):r;case Ne.SCRIPT:if(Ke(r,"Script"))return He(r);throw new m(5200,!1);case Ne.URL:return Ke(r,"URL")?He(r):Zn(String(r));case Ne.RESOURCE_URL:if(Ke(r,"ResourceURL"))return He(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return Gs(n)}bypassSecurityTrustStyle(n){return Ws(n)}bypassSecurityTrustScript(n){return qs(n)}bypassSecurityTrustUrl(n){return Zs(n)}bypassSecurityTrustResourceUrl(n){return Ys(n)}static \u0275fac=function(r){return new(r||e)(w(W))};static \u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ev={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function tv(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function nv(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var ja;function rv(e,t){if(!ja){let n=Element.prototype;ja=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?ja.call(e,t):!1}function ov(e){let t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[tv(r)]=[n,o]}),t}function iv(e,t){return t.get(Ft).resolveComponentFactory(e).inputs}function sv(e,t){let n=e.childNodes,r=t.map(()=>[]),o=-1;t.some((i,s)=>i==="*"?(o=s,!0):!1);for(let i=0,s=n.length;i<s;++i){let a=n[i],c=av(a,t,o);c!==-1&&r[c].push(a)}return r}function av(e,t,n){let r=n;return nv(e)&&t.some((o,i)=>o!=="*"&&rv(e,o)?(r=i,!0):!1),r}var cv=10,Ba=class{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Ft).resolveComponentFactory(t);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Va(this.componentFactory,t,this.inputMap)}},Va=class{componentFactory;injector;inputMap;eventEmitters=new wn(1);events=this.eventEmitters.pipe(Cn(t=>ci(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(K),this.appRef=this.injector.get(Pt),this.cdScheduler=n.get(Ge),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=ev.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cv))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){if(this.componentRef===null){this.initialInputValues.set(t,n);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),ua(this.componentRef.hostView)&&(la(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let n=we.create({providers:[],parent:this.injector}),r=sv(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){let n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{let i=t.instance[r];return new F(s=>{let a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},Ha=class extends HTMLElement{ngElementEventsSubscription=null};function Wd(e,t){let n=iv(e,t.injector),r=t.strategyFactory||new Ba(e,t.injector),o=ov(n);class i extends Ha{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){let[d,p]=o[a];this.ngElementStrategy.setInputValue(d,u,p)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a,isSignal:c})=>{Object.defineProperty(i.prototype,s,{get(){let u=this.ngElementStrategy.getInputValue(s);return c&&da(u)?u():u},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),i}var qd=(()=>{class e{constructor(){this.previewEvent=new L}onLoad(){this.previewEvent.emit({type:"load",file:this.file})}onError(){this.previewEvent.emit({type:"error",file:this.file,message:"Impossibile caricare l'immagine."})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=q({type:e,selectors:[["fp-image-preview"]],inputs:{file:"file"},outputs:{previewEvent:"previewEvent"},decls:2,vars:2,consts:[[1,"fp-image-wrapper"],[1,"fp-image",3,"load","error","src","alt"]],template:function(r,o){r&1&&(R(0,"div",0)(1,"img",1),De("load",function(){return o.onLoad()})("error",function(){return o.onError()}),O()()),r&2&&(T(),de("src",o.file.url,Ot)("alt",o.file.name))},dependencies:[z],styles:[".fp-image-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.fp-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}"],changeDetection:0})}}return e})();var Zd=(()=>{class e{constructor(n){this.sanitizer=n}transform(n){return this.sanitizer.bypassSecurityTrustResourceUrl(n)}static{this.\u0275fac=function(r){return new(r||e)(ae(ar,16))}}static{this.\u0275pipe=Ro({name:"fpSafeUrl",type:e,pure:!0})}}return e})();var Yd=(()=>{class e{constructor(){this.previewEvent=new L}onLoad(){this.previewEvent.emit({type:"load",file:this.file})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=q({type:e,selectors:[["fp-pdf-preview"]],inputs:{file:"file"},outputs:{previewEvent:"previewEvent"},decls:3,vars:3,consts:[[1,"fp-pdf-wrapper"],["title","PDF Preview","frameborder","0",1,"fp-pdf-frame",3,"load","src"]],template:function(r,o){r&1&&(R(0,"div",0)(1,"iframe",1),ya(2,"fpSafeUrl"),De("load",function(){return o.onLoad()}),O()()),r&2&&(T(),de("src",va(2,1,o.file.url),Qn))},dependencies:[z,Zd],styles:[".fp-pdf-wrapper[_ngcontent-%COMP%]{width:100%;height:100%}.fp-pdf-frame[_ngcontent-%COMP%]{width:100%;height:100%;border:none}"],changeDetection:0})}}return e})();var Qd=(()=>{class e{constructor(){this.previewEvent=new L}onLoad(){this.previewEvent.emit({type:"load",file:this.file})}onError(){this.previewEvent.emit({type:"error",file:this.file,message:"Impossibile riprodurre il video."})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=q({type:e,selectors:[["fp-video-preview"]],inputs:{file:"file"},outputs:{previewEvent:"previewEvent"},decls:3,vars:1,consts:[[1,"fp-video-wrapper"],["controls","","preload","metadata",1,"fp-video",3,"loadedmetadata","error","src"]],template:function(r,o){r&1&&(R(0,"div",0)(1,"video",1),De("loadedmetadata",function(){return o.onLoad()})("error",function(){return o.onError()}),j(2," Il tuo browser non supporta la riproduzione video. "),O()()),r&2&&(T(),de("src",o.file.url,Ot))},dependencies:[z],styles:[".fp-video-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#000}.fp-video[_ngcontent-%COMP%]{max-width:100%;max-height:100%}"],changeDetection:0})}}return e})();var Kd=(()=>{class e{constructor(){this.previewEvent=new L}onLoad(){this.previewEvent.emit({type:"load",file:this.file})}onError(){this.previewEvent.emit({type:"error",file:this.file,message:"Impossibile riprodurre l'audio."})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=q({type:e,selectors:[["fp-audio-preview"]],inputs:{file:"file"},outputs:{previewEvent:"previewEvent"},decls:8,vars:2,consts:[[1,"fp-audio-wrapper"],[1,"fp-audio-card"],[1,"fp-audio-icon"],[1,"fp-audio-name"],["controls","","preload","metadata",1,"fp-audio-player",3,"loadedmetadata","error","src"]],template:function(r,o){r&1&&(R(0,"div",0)(1,"div",1)(2,"div",2),j(3,"\u{1F3B5}"),O(),R(4,"div",3),j(5),O(),R(6,"audio",4),De("loadedmetadata",function(){return o.onLoad()})("error",function(){return o.onError()}),j(7," Il tuo browser non supporta la riproduzione audio. "),O()()()),r&2&&(T(5),ee(o.file.name),T(),de("src",o.file.url))},dependencies:[z],styles:[".fp-audio-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.fp-audio-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px;background:var(--fp-surface, #f5f5f5);border-radius:12px;max-width:400px;width:100%}.fp-audio-icon[_ngcontent-%COMP%]{font-size:64px}.fp-audio-name[_ngcontent-%COMP%]{font-size:14px;color:var(--fp-text, #333);text-align:center;word-break:break-all;max-width:100%}.fp-audio-player[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return e})();function uv(e,t){e&1&&(R(0,"div",1),j(1,"Caricamento\u2026"),O())}function lv(e,t){if(e&1&&(R(0,"div",2),j(1),O()),e&2){let n=P();T(),ee(n.error)}}function dv(e,t){if(e&1&&(R(0,"pre",3)(1,"code"),j(2),O()()),e&2){let n=P();T(2),ee(n.content)}}var Jd=(()=>{class e{constructor(n){this.http=n,this.previewEvent=new L,this.content="",this.loading=!0,this.error=""}ngOnInit(){this.http.get(this.file.url,{responseType:"text"}).subscribe({next:n=>{this.content=n,this.loading=!1,this.previewEvent.emit({type:"load",file:this.file})},error:n=>{this.error="Impossibile caricare il file di testo.",this.loading=!1,this.previewEvent.emit({type:"error",file:this.file,message:this.error})}})}static{this.\u0275fac=function(r){return new(r||e)(ae(Wo))}}static{this.\u0275cmp=q({type:e,selectors:[["fp-text-preview"]],inputs:{file:"file"},outputs:{previewEvent:"previewEvent"},decls:4,vars:3,consts:[[1,"fp-text-wrapper"],[1,"fp-text-loading"],[1,"fp-text-error"],[1,"fp-text-content"]],template:function(r,o){r&1&&(R(0,"div",0),U(1,uv,2,0,"div",1),U(2,lv,2,1,"div",2),U(3,dv,3,1,"pre",3),O()),r&2&&(T(),$(o.loading?1:-1),T(),$(o.error?2:-1),T(),$(o.content?3:-1))},dependencies:[z],styles:[".fp-text-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto;box-sizing:border-box;padding:16px}.fp-text-content[_ngcontent-%COMP%]{margin:0;font-family:Fira Mono,Consolas,Courier New,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word;color:var(--fp-text, #2d2d2d)}.fp-text-loading[_ngcontent-%COMP%], .fp-text-error[_ngcontent-%COMP%]{color:var(--fp-muted, #888);font-size:14px}.fp-text-error[_ngcontent-%COMP%]{color:#c0392b}"],changeDetection:0})}}return e})();function fv(e,t){if(e&1){let n=Re();R(0,"iframe",3),De("load",function(){ye(n);let o=P();return ve(o.onLoad())}),O()}if(e&2){let n=P();de("src",n.viewerUrl,Qn)}}function pv(e,t){if(e&1&&(R(0,"div",2)(1,"span",4),j(2),O(),R(3,"p"),j(4,"Anteprima non disponibile per file locali/non pubblici."),O(),R(5,"a",5),j(6),O()()),e&2){let n=P();T(2),ee(n.icon),T(3),de("href",n.file.url,Ot),T(),Jn(" \u2B07 Scarica ",n.file.name," ")}}var hv={word:"\u{1F4C4}",excel:"\u{1F4CA}",powerpoint:"\u{1F4FD}\uFE0F"},Xd=(()=>{class e{constructor(n){this.sanitizer=n,this.previewEvent=new L,this.viewerUrl=null,this.icon="\u{1F4C4}"}ngOnChanges(n){(n.file||n.fileType)&&(this.icon=hv[this.fileType]??"\u{1F4C4}",this.buildViewerUrl())}buildViewerUrl(){let n=this.file.url;if(n.startsWith("http://")||n.startsWith("https://")){let r=encodeURIComponent(n),o=`${this.appViewUrl}${r}`;this.viewerUrl=this.sanitizer.bypassSecurityTrustResourceUrl(o)}else this.viewerUrl=null}onLoad(){this.previewEvent.emit({type:"load",file:this.file})}static{this.\u0275fac=function(r){return new(r||e)(ae(ar))}}static{this.\u0275cmp=q({type:e,selectors:[["fp-office-preview"]],inputs:{file:"file",fileType:"fileType",appViewUrl:"appViewUrl"},outputs:{previewEvent:"previewEvent"},features:[ln],decls:3,vars:2,consts:[[1,"fp-office-wrapper"],["frameborder","0","title","Office Preview",1,"fp-office-frame",3,"src"],[1,"fp-office-fallback"],["frameborder","0","title","Office Preview",1,"fp-office-frame",3,"load","src"],[1,"fp-office-icon"],["target","_blank","download","",1,"fp-office-download",3,"href"]],template:function(r,o){r&1&&(R(0,"div",0),U(1,fv,1,1,"iframe",1),U(2,pv,7,3,"div",2),O()),r&2&&(T(),$(o.viewerUrl?1:-1),T(),$(o.viewerUrl?-1:2))},dependencies:[z],styles:[".fp-office-wrapper[_ngcontent-%COMP%]{width:100%;height:100%}.fp-office-frame[_ngcontent-%COMP%]{width:100%;height:100%;border:none}.fp-office-fallback[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--fp-text, #333)}.fp-office-icon[_ngcontent-%COMP%]{font-size:72px}.fp-office-download[_ngcontent-%COMP%]{padding:10px 20px;background:var(--fp-accent, #3b82f6);color:#fff;border-radius:6px;text-decoration:none}.fp-office-download[_ngcontent-%COMP%]:hover{opacity:.85}"],changeDetection:0})}}return e})();var ef=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=q({type:e,selectors:[["fp-unknown-preview"]],inputs:{file:"file",unknownMsg:"unknownMsg"},decls:7,vars:2,consts:[[1,"fp-unknown-wrapper"],[1,"fp-unknown-icon"],[1,"fp-unknown-name"],[1,"fp-unknown-msg"]],template:function(r,o){r&1&&(R(0,"div",0)(1,"span",1),j(2,"\u2753"),O(),R(3,"p",2),j(4),O(),R(5,"p",3),j(6),O()()),r&2&&(T(4),ee(o.file.name),T(2),ee(o.unknownMsg))},dependencies:[z],styles:[".fp-unknown-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--fp-text, #555)}.fp-unknown-icon[_ngcontent-%COMP%]{font-size:80px}.fp-unknown-name[_ngcontent-%COMP%]{font-size:16px;font-weight:600;word-break:break-all;max-width:80%;text-align:center}.fp-unknown-msg[_ngcontent-%COMP%]{color:var(--fp-muted, #888);font-size:14px}.fp-unknown-download[_ngcontent-%COMP%]{padding:10px 20px;background:var(--fp-accent, #3b82f6);color:#fff;border-radius:6px;text-decoration:none}.fp-unknown-download[_ngcontent-%COMP%]:hover{opacity:.85}"],changeDetection:0})}}return e})();var gv={jpg:"image",jpeg:"image",png:"image",gif:"image",webp:"image",bmp:"image",svg:"image",ico:"image",avif:"image",pdf:"pdf",mp4:"video",webm:"video",ogg:"video",mov:"video",avi:"video",mkv:"video",m4v:"video",mp3:"audio",wav:"audio",flac:"audio",aac:"audio",m4a:"audio",opus:"audio",oga:"audio",txt:"text",csv:"text",json:"text",xml:"text",html:"text",htm:"text",css:"text",js:"text",ts:"text",py:"text",java:"text",c:"text",cpp:"text",h:"text",sh:"text",yaml:"text",yml:"text",ini:"text",log:"text",md:"markdown",mdx:"markdown",doc:"word",docx:"word",xls:"excel",xlsx:"excel",csv_excel:"excel",ppt:"powerpoint",pptx:"powerpoint"},tf=(()=>{class e{resolve(n){if(n.type)return n.type;let r=this.extractExt(n.name);return gv[r]??"unknown"}extractExt(n){let r=n.split(".");return r.length>1?r[r.length-1].toLowerCase():""}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function yv(e,t){if(e&1){let n=Re();J(0,"button",9),Ue("click",function(){ye(n);let o=P(2);return ve(o.onClose())}),j(1,"\u2715"),X()}}function vv(e,t){if(e&1&&(J(0,"div",1)(1,"span",6),j(2),X(),J(3,"span",7),j(4),X(),U(5,yv,2,0,"button",8),X()),e&2){let n=P();T(2),ee(n.fileIcon),T(),Ae("title",n.file.name),T(),ee(n.file.name),T(),$(n.closeable?5:-1)}}function Dv(e,t){if(e&1){let n=Re();J(0,"fp-image-preview",10),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)}}function Ev(e,t){if(e&1){let n=Re();J(0,"fp-pdf-preview",10),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)}}function wv(e,t){if(e&1){let n=Re();J(0,"fp-video-preview",10),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)}}function Cv(e,t){if(e&1){let n=Re();J(0,"fp-audio-preview",10),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)}}function Iv(e,t){if(e&1){let n=Re();J(0,"fp-text-preview",10),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)}}function Tv(e,t){if(e&1){let n=Re();J(0,"fp-office-preview",11),Ue("previewEvent",function(o){ye(n);let i=P();return ve(i.emitPreviewEvent(o))}),X()}if(e&2){let n=P();Ae("file",n.file)("fileType",n.resolvedType)("appViewUrl",n.appViewUrl)}}function _v(e,t){if(e&1&&Oo(0,"fp-unknown-preview",5),e&2){let n=P();Ae("file",n.file)("unknownMsg",n.unknownMsg)}}var nf=(()=>{class e{set file(n){this._file=typeof n=="string"?JSON.parse(n):n}get file(){return this._file}get fileIcon(){return this.typeIcons[this.resolvedType]}constructor(n,r,o){this.fileTypeService=n,this.cdr=r,this.elementRef=o,this._file={name:"",url:""},this.showHeader=!0,this.closeable=!1,this.theme="light",this.unknownMsg="Tipo di file non supportato per l'anteprima.",this.fileUrl="",this.appViewUrl="https://view.officeapps.live.com/op/view.aspx?src=",this.previewEvent=new L,this.resolvedType="unknown",this.typeIcons={image:"\u{1F5BC}\uFE0F",pdf:"\u{1F4D5}",video:"\u{1F3AC}",audio:"\u{1F3B5}",text:"\u{1F4DD}",markdown:"\u{1F4CB}",word:"\u{1F4C4}",excel:"\u{1F4CA}",powerpoint:"\u{1F4FD}\uFE0F",unknown:"\u2753"}}ngOnChanges(n){n.file&&this.file&&(this.resolvedType=this.fileTypeService.resolve(this.file),this.cdr.markForCheck())}emitPreviewEvent(n){let r=new CustomEvent("preview-event",{detail:n,bubbles:!0,composed:!0});this.elementRef.nativeElement.dispatchEvent(r)}onClose(){this.emitPreviewEvent({type:"close",file:this.file})}static{this.\u0275fac=function(r){return new(r||e)(ae(tf),ae(Ia),ae(Wn))}}static{this.\u0275cmp=q({type:e,selectors:[["fp-file-preview"]],inputs:{file:"file",showHeader:"showHeader",closeable:"closeable",theme:"theme",unknownMsg:"unknownMsg",fileUrl:"fileUrl",appViewUrl:"appViewUrl"},outputs:{previewEvent:"previewEvent"},features:[ln],decls:10,vars:10,consts:[[1,"fp-host"],[1,"fp-header"],[1,"fp-body"],[3,"file"],[3,"file","fileType","appViewUrl"],[3,"file","unknownMsg"],[1,"fp-header-icon"],[1,"fp-header-name",3,"title"],["aria-label","Chiudi anteprima",1,"fp-close-btn"],["aria-label","Chiudi anteprima",1,"fp-close-btn",3,"click"],[3,"previewEvent","file"],[3,"previewEvent","file","fileType","appViewUrl"]],template:function(r,o){r&1&&(J(0,"div",0),U(1,vv,6,4,"div",1),J(2,"div",2),U(3,Dv,1,1,"fp-image-preview",3),U(4,Ev,1,1,"fp-pdf-preview",3),U(5,wv,1,1,"fp-video-preview",3),U(6,Cv,1,1,"fp-audio-preview",3),U(7,Iv,1,1,"fp-text-preview",3),U(8,Tv,1,3,"fp-office-preview",4),U(9,_v,1,2,"fp-unknown-preview",5),X()()),r&2&&(ma("fp-theme-"+o.theme),T(),$(o.showHeader?1:-1),T(2),$(o.resolvedType==="image"?3:-1),T(),$(o.resolvedType==="pdf"?4:-1),T(),$(o.resolvedType==="video"?5:-1),T(),$(o.resolvedType==="audio"?6:-1),T(),$(o.resolvedType==="text"||o.resolvedType==="markdown"?7:-1),T(),$(o.resolvedType==="word"||o.resolvedType==="excel"||o.resolvedType==="powerpoint"?8:-1),T(),$(o.resolvedType==="unknown"?9:-1))},dependencies:[z,qd,Yd,Qd,Kd,Jd,Xd,ef],styles:[".fp-host[_ngcontent-%COMP%]{--fp-bg: #ffffff;--fp-surface: #f3f4f6;--fp-text: #1f2937;--fp-muted: #6b7280;--fp-border: #e5e7eb;--fp-accent: #3b82f6;--fp-header-h: 52px;display:flex;flex-direction:column;width:100%;height:inherit;background:var(--fp-bg);border-radius:8px;overflow:hidden;border:1px solid var(--fp-border);font-family:system-ui,-apple-system,sans-serif}.fp-host.fp-theme-dark[_ngcontent-%COMP%]{--fp-bg: #1a1a2e;--fp-surface: #16213e;--fp-text: #e2e8f0;--fp-muted: #94a3b8;--fp-border: #2d3748;--fp-accent: #60a5fa}.fp-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;height:var(--fp-header-h);padding:0 14px;background:var(--fp-surface);border-bottom:1px solid var(--fp-border);flex-shrink:0}.fp-header-icon[_ngcontent-%COMP%]{font-size:20px}.fp-header-name[_ngcontent-%COMP%]{flex:1;font-size:14px;font-weight:600;color:var(--fp-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fp-type-badge[_ngcontent-%COMP%]{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:20px;flex-shrink:0}.fp-type-image[_ngcontent-%COMP%]{background:#dcfce7;color:#166534}.fp-type-pdf[_ngcontent-%COMP%]{background:#fee2e2;color:#991b1b}.fp-type-video[_ngcontent-%COMP%]{background:#ede9fe;color:#5b21b6}.fp-type-audio[_ngcontent-%COMP%]{background:#fef3c7;color:#92400e}.fp-type-text[_ngcontent-%COMP%], .fp-type-markdown[_ngcontent-%COMP%]{background:#dbeafe;color:#1e40af}.fp-type-word[_ngcontent-%COMP%]{background:#dbeafe;color:#1e3a8a}.fp-type-excel[_ngcontent-%COMP%]{background:#d1fae5;color:#065f46}.fp-type-powerpoint[_ngcontent-%COMP%]{background:#ffe4e6;color:#9f1239}.fp-type-unknown[_ngcontent-%COMP%]{background:#f3f4f6;color:#374151}.fp-close-btn[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font-size:18px;color:var(--fp-muted);padding:4px 8px;border-radius:4px;line-height:1;transition:background .15s}.fp-close-btn[_ngcontent-%COMP%]:hover{background:#00000014}.fp-body[_ngcontent-%COMP%]{flex:1;overflow:hidden;position:relative}"],changeDetection:0})}}return e})();(async()=>{let e=await Ra({providers:[Da(),La()]}),t=Wd(nf,{injector:e.injector});customElements.define("file-preview",t)})();
|
package/package.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "file-preview-element",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Web Component to get file preview (immagini, PDF, video, audio, Office)",
|
|
5
|
+
"main": "main.js",
|
|
6
|
+
"module": "main.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": ["main.js"],
|
|
9
|
+
"keywords": ["web-component", "custom-element", "file-preview"],
|
|
10
|
+
"license": "MIT"
|
|
11
|
+
}
|