multimodalsim-viewer 0.0.1__py3-none-any.whl → 0.0.3__py3-none-any.whl
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.
- multimodalsim_viewer/common/__init__.py +0 -0
- multimodalsim_viewer/common/environments/.env +4 -0
- multimodalsim_viewer/common/utils.py +223 -0
- multimodalsim_viewer/server/http_routes.py +135 -125
- multimodalsim_viewer/server/log_manager.py +10 -15
- multimodalsim_viewer/server/scripts.py +106 -32
- multimodalsim_viewer/server/server.py +196 -210
- multimodalsim_viewer/server/simulation.py +167 -154
- multimodalsim_viewer/server/simulation_manager.py +570 -607
- multimodalsim_viewer/server/simulation_visualization_data_collector.py +729 -756
- multimodalsim_viewer/server/simulation_visualization_data_model.py +1570 -1693
- multimodalsim_viewer/ui/angular_app.py +40 -0
- multimodalsim_viewer/ui/static/chunk-BQ2VC5TN.js +7 -0
- multimodalsim_viewer/ui/static/{chunk-MTC2LSCT.js → chunk-RHGMGEGM.js} +1 -1
- multimodalsim_viewer/ui/static/environment.json +7 -0
- multimodalsim_viewer/ui/static/images/undefined-texture.png +0 -0
- multimodalsim_viewer/ui/static/images/zoomed-out-stop.png +0 -0
- multimodalsim_viewer/ui/static/index.html +16 -15
- multimodalsim_viewer/ui/static/main-LUPJCMAF.js +3648 -0
- multimodalsim_viewer/ui/static/polyfills-FFHMD2TL.js +2 -2
- multimodalsim_viewer/ui/static/scripts/load-environment.script.js +20 -0
- multimodalsim_viewer/ui/static/styles-KU7LTPET.css +1 -1
- multimodalsim_viewer-0.0.3.dist-info/METADATA +70 -0
- multimodalsim_viewer-0.0.3.dist-info/RECORD +43 -0
- {multimodalsim_viewer-0.0.1.dist-info → multimodalsim_viewer-0.0.3.dist-info}/WHEEL +1 -1
- multimodalsim_viewer-0.0.3.dist-info/entry_points.txt +2 -0
- multimodalsim_viewer/server/server_utils.py +0 -129
- multimodalsim_viewer/ui/cli.py +0 -45
- multimodalsim_viewer/ui/server.py +0 -44
- multimodalsim_viewer/ui/static/chunk-U5CGW4P4.js +0 -7
- multimodalsim_viewer/ui/static/main-X7OVCS3N.js +0 -3648
- multimodalsim_viewer-0.0.1.dist-info/METADATA +0 -21
- multimodalsim_viewer-0.0.1.dist-info/RECORD +0 -38
- multimodalsim_viewer-0.0.1.dist-info/entry_points.txt +0 -8
- /multimodalsim_viewer/ui/static/images/{sample-wait.png → passenger.png} +0 -0
- /multimodalsim_viewer/ui/static/images/{sample-stop.png → stop.png} +0 -0
- /multimodalsim_viewer/ui/static/images/{sample-bus.png → vehicle.png} +0 -0
- /multimodalsim_viewer/ui/static/images/{zoom-out-passenger.png → zoomed-out-passenger.png} +0 -0
- /multimodalsim_viewer/ui/static/images/{zoom-out-vehicle.png → zoomed-out-vehicle.png} +0 -0
- {multimodalsim_viewer-0.0.1.dist-info → multimodalsim_viewer-0.0.3.dist-info}/top_level.txt +0 -0
@@ -1,44 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
import signal
|
3
|
-
import threading
|
4
|
-
import time
|
5
|
-
import webbrowser
|
6
|
-
|
7
|
-
from flask import Flask, request, send_from_directory
|
8
|
-
from multimodalsim_viewer.server.server_utils import HOST
|
9
|
-
|
10
|
-
|
11
|
-
def serve_angular_app(static_dir, port=None, backend_port=None):
|
12
|
-
if port is None:
|
13
|
-
port = int(os.getenv("PORT_CLIENT", "8085"))
|
14
|
-
if backend_port is None:
|
15
|
-
backend_port = int(os.getenv("PORT_SERVER", "8089"))
|
16
|
-
|
17
|
-
app = Flask(__name__, static_folder=static_dir)
|
18
|
-
|
19
|
-
@app.route("/<path:path>")
|
20
|
-
def static_proxy(path):
|
21
|
-
return send_from_directory(static_dir, path)
|
22
|
-
|
23
|
-
@app.route("/")
|
24
|
-
def root():
|
25
|
-
return send_from_directory(static_dir, "index.html")
|
26
|
-
|
27
|
-
@app.route("/terminate")
|
28
|
-
def terminate():
|
29
|
-
pid = os.getpid()
|
30
|
-
|
31
|
-
def delayed_kill():
|
32
|
-
time.sleep(1)
|
33
|
-
os.kill(pid, signal.SIGINT)
|
34
|
-
|
35
|
-
threading.Thread(target=delayed_kill, daemon=True).start()
|
36
|
-
|
37
|
-
return "UI terminated", 200
|
38
|
-
|
39
|
-
print(f"Serving Angular app from {static_dir} at http://localhost:{port}")
|
40
|
-
print(f"Backend is expected at http://localhost:{backend_port}")
|
41
|
-
|
42
|
-
webbrowser.open(f"http://localhost:{port}")
|
43
|
-
|
44
|
-
app.run(host=HOST, port=port)
|
@@ -1,7 +0,0 @@
|
|
1
|
-
var Cf=Object.create;var sn=Object.defineProperty,bf=Object.defineProperties,_f=Object.getOwnPropertyDescriptor,Mf=Object.getOwnPropertyDescriptors,Tf=Object.getOwnPropertyNames,Hn=Object.getOwnPropertySymbols,Sf=Object.getPrototypeOf,Oo=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable;var Ro=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Nf=e=>{throw TypeError(e)};var Da=(e,t,n)=>t in e?sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||={})Oo.call(t,n)&&Da(e,n,t[n]);if(Hn)for(var n of Hn(t))Ea.call(t,n)&&Da(e,n,t[n]);return e},J=(e,t)=>bf(e,Mf(t));var wE=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var CE=(e,t)=>{var n={};for(var r in e)Oo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Hn)for(var r of Hn(e))t.indexOf(r)<0&&Ea.call(e,r)&&(n[r]=e[r]);return n};var bE=(e,t)=>()=>(e&&(t=e(e=0)),t);var _E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ME=(e,t)=>{for(var n in t)sn(e,n,{get:t[n],enumerable:!0})},Ia=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Tf(t))!Oo.call(e,o)&&o!==n&&sn(e,o,{get:()=>t[o],enumerable:!(r=_f(t,o))||r.enumerable});return e};var TE=(e,t,n)=>(n=e!=null?Cf(Sf(e)):{},Ia(t||!e||!e.__esModule?sn(n,"default",{value:e,enumerable:!0}):n,e)),SE=e=>Ia(sn({},"__esModule",{value:!0}),e);var wa=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())}),xf=function(e,t){this[0]=e,this[1]=t};var NE=e=>{var t=e[Ro("asyncIterator")],n=!1,r,o={};return t==null?(t=e[Ro("iterator")](),r=i=>o[i]=s=>t[i](s)):(t=t.call(e),r=i=>o[i]=s=>{if(n){if(n=!1,i==="throw")throw s;return s}return n=!0,{done:!1,value:new xf(new Promise(a=>{var u=t[i](s);u instanceof Object||Nf("Object expected"),a(u)}),1)}}),o[Ro("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o};function ba(e,t){return Object.is(e,t)}var B=null,an=!1,Vo=1,z=Symbol("SIGNAL");function _(e){let t=B;return B=e,t}function _a(){return B}function Af(){return an}var Je={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Un(e){if(an)throw new Error("");if(B===null)return;B.consumerOnSignalRead(e);let t=B.nextProducerIndex++;if(Gn(B),t<B.producerNode.length&&B.producerNode[t]!==e&&un(B)){let n=B.producerNode[t];zn(n,B.producerIndexOfThis[t])}B.producerNode[t]!==e&&(B.producerNode[t]=e,B.producerIndexOfThis[t]=un(B)?xa(e,B,t):0),B.producerLastReadVersion[t]=e.version}function Ff(){Vo++}function Ma(e){if(!(un(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Vo)){if(!e.producerMustRecompute(e)&&!ln(e)){Ca(e);return}e.producerRecomputeValue(e),Ca(e)}}function Ta(e){if(e.liveConsumerNode===void 0)return;let t=an;an=!0;try{for(let n of e.liveConsumerNode)n.dirty||Na(n)}finally{an=t}}function Sa(){return B?.consumerAllowSignalWrites!==!1}function Na(e){e.dirty=!0,Ta(e),e.consumerMarkedDirty?.(e)}function Ca(e){e.dirty=!1,e.lastCleanEpoch=Vo}function bt(e){return e&&(e.nextProducerIndex=0),_(e)}function cn(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(un(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)zn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ln(e){Gn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ma(n),r!==n.version))return!0}return!1}function _t(e){if(Gn(e),un(e))for(let t=0;t<e.producerNode.length;t++)zn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function xa(e,t,n){if(Aa(e),e.liveConsumerNode.length===0&&Fa(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=xa(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function zn(e,t){if(Aa(e),e.liveConsumerNode.length===1&&Fa(e))for(let r=0;r<e.producerNode.length;r++)zn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Gn(o),o.producerIndexOfThis[r]=t}}function un(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Gn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Aa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Fa(e){return e.producerNode!==void 0}function jo(e){let t=Object.create(Rf);t.computation=e;let n=()=>{if(Ma(t),Un(t),t.value===$n)throw t.error;return t.value};return n[z]=t,n}var ko=Symbol("UNSET"),Po=Symbol("COMPUTING"),$n=Symbol("ERRORED"),Rf=J(K({},Je),{value:ko,dirty:!0,error:null,equal:ba,kind:"computed",producerMustRecompute(e){return e.value===ko||e.value===Po},producerRecomputeValue(e){if(e.value===Po)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Po;let n=bt(e),r,o=!1;try{r=e.computation(),_(null),o=t!==ko&&t!==$n&&r!==$n&&e.equal(t,r)}catch(i){r=$n,e.error=i}finally{cn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Of(){throw new Error}var Ra=Of;function Oa(){Ra()}function ka(e){Ra=e}var kf=null;function Pa(e){let t=Object.create(Bo);t.value=e;let n=()=>(Un(t),t.value);return n[z]=t,n}function Wn(e,t){Sa()||Oa(),e.equal(e.value,t)||(e.value=t,Pf(e))}function La(e,t){Sa()||Oa(),Wn(e,t(e.value))}var Bo=J(K({},Je),{equal:ba,value:void 0,kind:"signal"});function Pf(e){e.version++,Ff(),Ta(e),kf?.()}function Va(e,t,n){let r=Object.create(Lf);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(_t(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Lo)}let a=()=>{if(r.fn===null)return;if(Af())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ln(r))return;r.hasRun=!0;let u=bt(r);try{r.cleanupFn(),r.cleanupFn=Lo,r.fn(o)}finally{cn(r,u)}};return r.ref={notify:()=>Na(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[z]:r},r.ref}var Lo=()=>{},Lf=J(K({},Je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Lo});function w(e){return typeof e=="function"}function Mt(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 qn=Mt(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 Xe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=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(w(r))try{r()}catch(i){t=i instanceof qn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ja(i)}catch(s){t=t??[],s instanceof qn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new qn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ja(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)&&Xe(n,t)}remove(t){let{_finalizers:n}=this;n&&Xe(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Ho=L.EMPTY;function Zn(e){return e instanceof L||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function ja(e){w(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tt={setTimeout(e,t,...n){let{delegate:r}=Tt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Tt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qn(e){Tt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function et(){}var Ba=$o("C",void 0,void 0);function Ha(e){return $o("E",void 0,e)}function $a(e){return $o("N",e,void 0)}function $o(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function St(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function Ua(e){pe.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zn(t)&&t.add(this)):this.destination=Bf}static create(t,n,r){return new he(t,n,r)}next(t){this.isStopped?zo($a(t),this):this._next(t)}error(t){this.isStopped?zo(Ha(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zo(Ba,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()}}},Vf=Function.prototype.bind;function Uo(e,t){return Vf.call(e,t)}var Go=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Yn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Yn(r)}else Yn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Yn(n)}}},he=class extends nt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Uo(t.next,i),error:t.error&&Uo(t.error,i),complete:t.complete&&Uo(t.complete,i)}):o=t}this.destination=new Go(o)}};function Yn(e){pe.useDeprecatedSynchronousErrorHandling?Ua(e):Qn(e)}function jf(e){throw e}function zo(e,t){let{onStoppedNotification:n}=pe;n&&Tt.setTimeout(()=>n(e,t))}var Bf={closed:!0,next:et,error:jf,complete:et};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function Hf(...e){return Wo(e)}function Wo(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{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=Uf(n)?n:new he(n,r,o);return St(()=>{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=za(r),new r((o,i)=>{let s=new he({next:a=>{try{n(a)}catch(u){i(u),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)}[Nt](){return this}pipe(...n){return Wo(n)(this)}toPromise(n){return n=za(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 za(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function $f(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Uf(e){return e&&e instanceof nt||$f(e)&&Zn(e)}function qo(e){return w(e?.lift)}function y(e){return t=>{if(qo(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 m(e,t,n,r,o){return new Zo(e,t,n,r,o)}var Zo=class extends nt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Qo(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Yo=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,qo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Qo()(this)}};var xt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=xt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=xt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=xt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ga=Mt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Kn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ga}next(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){St(()=>{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(){St(()=>{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?Ho:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Xe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Kn(t,n),e})(),Kn=class extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ho}};var dn=class extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var fn={now(){return(fn.delegate||Date).now()},delegate:void 0};var Jn=class extends X{constructor(t=1/0,n=1/0,r=fn){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 u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var Xn=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var pn={setInterval(e,t,...n){let{delegate:r}=pn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=pn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var At=class extends Xn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return pn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&pn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Xe(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ft=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Ft.now=fn.now;var Rt=class extends Ft{constructor(t,n=Ft.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var xe=new Rt(At),Wa=xe;var er=class extends At{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=xt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(xt.cancelAnimationFrame(n),t._scheduled=void 0)}};var tr=class extends Rt{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var zf=new tr(er);var rt=new N(e=>e.complete());function nr(e){return e&&w(e.schedule)}function Ko(e){return e[e.length-1]}function rr(e){return w(Ko(e))?e.pop():void 0}function De(e){return nr(Ko(e))?e.pop():void 0}function qa(e,t){return typeof Ko(e)=="number"?e.pop():t}function Qa(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{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Za(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 ot(e){return this instanceof ot?(this.v=e,this):new ot(e)}function Ya(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(g){return new Promise(function(x,E){i.push([f,g,x,E])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof ot?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Ka(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 Za=="function"?Za(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var or=e=>e&&typeof e.length=="number"&&typeof e!="function";function ir(e){return w(e?.then)}function sr(e){return w(e[Nt])}function ar(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function ur(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 Gf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var cr=Gf();function lr(e){return w(e?.[cr])}function dr(e){return Ya(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ot(n.read());if(o)return yield ot(void 0);yield yield ot(r)}}finally{n.releaseLock()}})}function fr(e){return w(e?.getReader)}function F(e){if(e instanceof N)return e;if(e!=null){if(sr(e))return Wf(e);if(or(e))return qf(e);if(ir(e))return Zf(e);if(ar(e))return Ja(e);if(lr(e))return Qf(e);if(fr(e))return Yf(e)}throw ur(e)}function Wf(e){return new N(t=>{let n=e[Nt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qf(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Zf(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Qn)})}function Qf(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ja(e){return new N(t=>{Kf(e,t).catch(n=>t.error(n))})}function Yf(e){return Ja(dr(e))}function Kf(e,t){var n,r,o,i;return Qa(this,void 0,void 0,function*(){try{for(n=Ka(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 ee(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 pr(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>ee(r,e,()=>r.next(o),t),()=>ee(r,e,()=>r.complete(),t),o=>ee(r,e,()=>r.error(o),t)))})}function hr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xa(e,t){return F(e).pipe(hr(t),pr(t))}function eu(e,t){return F(e).pipe(hr(t),pr(t))}function tu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nu(e,t){return new N(n=>{let r;return ee(n,t,()=>{r=e[cr](),ee(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)}),()=>w(r?.return)&&r.return()})}function gr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{ee(n,t,()=>{let r=e[Symbol.asyncIterator]();ee(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ru(e,t){return gr(dr(e),t)}function ou(e,t){if(e!=null){if(sr(e))return Xa(e,t);if(or(e))return tu(e,t);if(ir(e))return eu(e,t);if(ar(e))return gr(e,t);if(lr(e))return nu(e,t);if(fr(e))return ru(e,t)}throw ur(e)}function Ee(e,t){return t?ou(e,t):F(e)}function Jf(...e){let t=De(e);return Ee(e,t)}function Xf(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function ep(e){return!!e&&(e instanceof N||w(e.lift)&&w(e.subscribe))}var Ae=Mt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function tp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new he({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ae)}});e.subscribe(i)})}function iu(e){return e instanceof Date&&!isNaN(e)}function Fe(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:np}=Array;function rp(e,t){return np(t)?e(...t):e(t)}function mr(e){return Fe(t=>rp(e,t))}var{isArray:op}=Array,{getPrototypeOf:ip,prototype:sp,keys:ap}=Object;function yr(e){if(e.length===1){let t=e[0];if(op(t))return{args:t,keys:null};if(up(t)){let n=ap(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function up(e){return e&&typeof e=="object"&&ip(e)===sp}function vr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function cp(...e){let t=De(e),n=rr(e),{args:r,keys:o}=yr(e);if(r.length===0)return Ee([],t);let i=new N(lp(r,t,o?s=>vr(o,s):Z));return n?i.pipe(mr(n)):i}function lp(e,t,n=Z){return r=>{su(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)su(t,()=>{let c=Ee(e[u],t),l=!1;c.subscribe(m(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function su(e,t,n){e?ee(n,e,t):t()}function au(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c<r?h(g):u.push(g),h=g=>{i&&t.next(g),c++;let x=!1;F(n(g,l++)).subscribe(m(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;u.length&&c<r;){let E=u.shift();s?ee(t,s,()=>h(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Re(e,t,n=1/0){return w(t)?Re((r,o)=>Fe((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>au(r,o,e,n)))}function Dr(e=1/0){return Re(Z,e)}function uu(){return Dr(1)}function Ot(...e){return uu()(Ee(e,De(e)))}function dp(e){return new N(t=>{F(e()).subscribe(t)})}function fp(...e){let t=rr(e),{args:n,keys:r}=yr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;F(n[l]).subscribe(m(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?vr(r,a):a),i.complete())}))}});return t?o.pipe(mr(t)):o}function kt(e=0,t,n=Wa){let r=-1;return t!=null&&(nr(t)?n=t:r=t),new N(o=>{let i=iu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function pp(e=0,t=xe){return e<0&&(e=0),kt(e,e,t)}function hp(...e){let t=De(e),n=qa(e,1/0),r=e;return r.length?r.length===1?F(r[0]):Dr(n)(Ee(r,t)):rt}function it(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function cu(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(m(n,c=>{r=!0,o=c,i||F(e(c)).subscribe(i=m(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function gp(e,t=xe){return cu(()=>kt(e,t))}function lu(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=F(e(s,lu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function du(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(m(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function mp(e,t){return w(t)?Re(e,t,1):Re(e,1)}function yp(e,t=xe){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(m(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function hn(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Pt(e){return e<=0?()=>rt:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fu(){return y((e,t)=>{e.subscribe(m(t,et))})}function pu(e){return Fe(()=>e)}function Jo(e,t){return t?n=>Ot(t.pipe(Pt(1),fu()),n.pipe(Jo(e))):Re((n,r)=>F(e(n,r)).pipe(Pt(1),pu(n)))}function vp(e,t=xe){let n=kt(e,t);return Jo(()=>n)}function Dp(e,t=Z){return e=e??Ep,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ep(e,t){return e===t}function Er(e=Ip){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ip(){return new Ae}function wp(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Cp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):Z,Pt(1),n?hn(t):Er(()=>new Ae))}function Xo(e){return e<=0?()=>rt:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):Z,Xo(1),n?hn(t):Er(()=>new Ae))}function _p(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Mp(e,t){return y(du(e,t,arguments.length>=2,!0))}function ti(e={}){let{connector:t=()=>new X,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return y((g,x)=>{c++,!d&&!l&&p();let E=u=u??t();x.add(()=>{c--,c===0&&!d&&!l&&(a=ei(h,o))}),E.subscribe(x),!s&&c>0&&(s=new he({next:S=>E.next(S),error:S=>{d=!0,p(),a=ei(f,n,S),E.error(S)},complete:()=>{l=!0,p(),a=ei(f,r),E.complete()}}),F(g).subscribe(s))})(i)}}function ei(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new he({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Tp(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ti({connector:()=>new Jn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Sp(e){return it((t,n)=>e<=n)}function Np(...e){let t=De(e);return y((n,r)=>{(t?Ot(e,n,t):Ot(e,n)).subscribe(r)})}function xp(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,u=>{o?.unsubscribe();let c=0,l=i++;F(e(u,l)).subscribe(o=m(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function hu(e){return y((t,n)=>{F(e).subscribe(m(n,()=>n.complete(),et)),!n.closed&&t.subscribe(n)})}function Ap(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Fp(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Z}var oc="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(ic(t,n)),this.code=t}};function ic(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var sc=Symbol("InputSignalNode#UNSET"),Rp=J(K({},Bo),{transformFn:void 0,applyValueToInputSignal(e,t){Wn(e,t)}});function ac(e,t){let n=Object.create(Rp);n.value=e,n.transformFn=t?.transform;function r(){if(Un(n),n.value===sc)throw new M(-950,!1);return n.value}return r[z]=n,r}function uo(e){return{toString:e}.toString()}var Lt=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Op(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ne).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
|
4
|
-
`);return n===-1?t:t.substring(0,n)}function gi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var kp=R({__forward_ref__:R});function uc(e){return e.__forward_ref__=uc,e.toString=function(){return ne(this())},e}function H(e){return cc(e)?e():e}function cc(e){return typeof e=="function"&&e.hasOwnProperty(kp)&&e.__forward_ref__===uc}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pp(e){return{providers:e.providers||[],imports:e.imports||[]}}function co(e){return gu(e,lc)||gu(e,dc)}function ES(e){return co(e)!==null}function gu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Lp(e){let t=e&&(e[lc]||e[dc]);return t||null}function mu(e){return e&&(e.hasOwnProperty(yu)||e.hasOwnProperty(Vp))?e[yu]:null}var lc=R({\u0275prov:R}),yu=R({\u0275inj:R}),dc=R({ngInjectableDef:R}),Vp=R({ngInjectorDef:R}),A=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=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fc(e){return e&&!!e.\u0275providers}var jp=R({\u0275cmp:R}),Bp=R({\u0275dir:R}),Hp=R({\u0275pipe:R}),$p=R({\u0275mod:R}),Fr=R({\u0275fac:R}),vn=R({__NG_ELEMENT_ID__:R}),vu=R({__NG_ENV_ID__:R});function zt(e){return typeof e=="string"?e:e==null?"":String(e)}function Up(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():zt(e)}function zp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Is(e,t){throw new M(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),mi;function pc(){return mi}function te(e){let t=mi;return mi=e,t}function hc(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Is(e,"Injector")}var Gp={},Dn=Gp,Wp="__NG_DI_FLAG__",Rr="ngTempTokenPath",qp="ngTokenPath",Zp=/\n/gm,Qp="\u0275",Du="__source",$t;function Yp(){return $t}function Be(e){let t=$t;return $t=e,t}function Kp(e,t=T.Default){if($t===void 0)throw new M(-203,!1);return $t===null?hc(e,void 0,t):$t.get(e,t&T.Optional?null:void 0,t)}function re(e,t=T.Default){return(pc()||Kp)(H(e),t)}function I(e,t=T.Default){return re(e,lo(t))}function lo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function yi(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Jp(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(re(o,i))}else t.push(re(r))}return t}function Jp(e){return e[Wp]}function Xp(e,t,n,r){let o=e[Rr];throw t[Du]&&o.unshift(t[Du]),e.message=eh(`
|
5
|
-
`+e.message,o,n,r),e[qp]=o,e[Rr]=null,e}function eh(e,t,n,r=null){e=e&&e.charAt(0)===`
|
6
|
-
`&&e.charAt(1)==Qp?e.slice(2):e;let o=ne(t);if(Array.isArray(t))o=t.map(ne).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ne(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Zp,`
|
7
|
-
`)}`}function ut(e,t){let n=e.hasOwnProperty(Fr);return n?e[Fr]:null}function th(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function nh(e){return e.flat(Number.POSITIVE_INFINITY)}function ws(e,t){e.forEach(n=>Array.isArray(n)?ws(n,t):t(n))}function gc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function oh(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 fo(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,oh(e,r,t,n)),r}function ni(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return ih(e,t,1)}function ih(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 Oe={},Q=[],kr=new A(""),mc=new A("",-1),yc=new A(""),Pr=class{get(t,n=Dn){if(n===Dn){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}};function vc(e,t){let n=e[$p]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function ze(e){return e[jp]||null}function Cs(e){return e[Bp]||null}function Dc(e){return e[Hp]||null}function sh(e){let t=ze(e)||Cs(e)||Dc(e);return t!==null&&t.standalone}function ah(e){return{\u0275providers:e}}function uh(...e){return{\u0275providers:Ec(!0,e),\u0275fromNgModule:!0}}function Ec(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ws(t,s=>{let a=s;vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ic(o,i),n}function Ic(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];bs(o,i=>{t(i,r)})}}function vi(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=mu(e),s=!i&&ze(e);if(!i&&!s){let u=e.ngModule;if(i=mu(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)vi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ws(i.imports,l=>{vi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Ic(c,t)}if(!a){let c=ut(o)||(()=>new o);t({provide:o,useFactory:c,deps:Q},o),t({provide:yc,useValue:o,multi:!0},o),t({provide:kr,useValue:()=>re(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;bs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function bs(e,t){for(let n of e)fc(n)&&(n=n.\u0275providers),Array.isArray(n)?bs(n,t):t(n)}var ch=R({provide:String,useValue:R});function wc(e){return e!==null&&typeof e=="object"&&ch in e}function lh(e){return!!(e&&e.useExisting)}function dh(e){return!!(e&&e.useFactory)}function Gt(e){return typeof e=="function"}function fh(e){return!!e.useClass}var Cc=new A(""),_r={},ph={},ri;function po(){return ri===void 0&&(ri=new Pr),ri}var Ge=class{},En=class extends Ge{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ei(t,s=>this.processProvider(s)),this.records.set(mc,Vt(void 0,this)),o.has("environment")&&this.records.set(Ge,Vt(void 0,this));let i=this.records.get(Cc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yc,Q,T.Self))}destroy(){mn(this),this._destroyed=!0;let t=_(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(),_(t)}}onDestroy(t){return mn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){mn(this);let n=Be(this),r=te(void 0),o;try{return t()}finally{Be(n),te(r)}}get(t,n=Dn,r=T.Default){if(mn(this),t.hasOwnProperty(vu))return t[vu](this);r=lo(r);let o,i=Be(this),s=te(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=vh(t)&&co(t);c&&this.injectableDefInScope(c)?u=Vt(Di(t),_r):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&T.Self?po():this.parent;return n=r&T.Optional&&n===Dn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Rr]=a[Rr]||[]).unshift(ne(t)),i)throw a;return Xp(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Be(i)}}resolveInjectorInitializers(){let t=_(null),n=Be(this),r=te(void 0),o;try{let i=this.get(kr,Q,T.Self);for(let s of i)s()}finally{Be(n),te(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=Gt(t)?t:H(t&&t.provide),r=gh(t);if(!Gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Vt(void 0,_r,!0),o.factory=()=>yi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===_r&&(n.value=ph,n.value=n.factory()),typeof n.value=="object"&&n.value&&yh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(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=co(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof A)throw new M(204,!1);if(e instanceof Function)return hh(e);throw new M(204,!1)}function hh(e){if(e.length>0)throw new M(204,!1);let n=Lp(e);return n!==null?()=>n.factory(e):()=>new e}function gh(e){if(wc(e))return Vt(void 0,e.useValue);{let t=bc(e);return Vt(t,_r)}}function bc(e,t,n){let r;if(Gt(e)){let o=H(e);return ut(o)||Di(o)}else if(wc(e))r=()=>H(e.useValue);else if(dh(e))r=()=>e.useFactory(...yi(e.deps||[]));else if(lh(e))r=()=>re(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(mh(e))r=()=>new o(...yi(e.deps));else return ut(o)||Di(o)}return r}function mn(e){if(e.destroyed)throw new M(205,!1)}function Vt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mh(e){return!!e.deps}function yh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vh(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Ei(e,t){for(let n of e)Array.isArray(n)?Ei(n,t):n&&fc(n)?Ei(n.\u0275providers,t):t(n)}function _c(e,t){e instanceof En&&mn(e);let n,r=Be(e),o=te(void 0);try{return t()}finally{Be(r),te(o)}}function Mc(){return pc()!==void 0||Yp()!=null}function ho(e){if(!Mc())throw new M(-203,!1)}function Dh(e){return typeof e=="function"}var Me=0,C=1,D=2,W=3,ye=4,oe=5,Wt=6,Lr=7,$=8,In=9,ke=10,k=11,wn=12,Eu=13,en=14,ae=15,ct=16,jt=17,Pe=18,go=19,Tc=20,$e=21,Mr=22,lt=23,ie=24,V=25,_s=1;var dt=7,Vr=8,qt=9,G=10;function Ue(e){return Array.isArray(e)&&typeof e[_s]=="object"}function Ve(e){return Array.isArray(e)&&e[_s]===!0}function Ms(e){return(e.flags&4)!==0}function vt(e){return e.componentOffset>-1}function mo(e){return(e.flags&1)===1}function we(e){return!!e.template}function jr(e){return(e[D]&512)!==0}function An(e){return(e[D]&256)===256}var Ii=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Sc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Nc=(()=>{let e=()=>xc;return e.ngInherit=!0,e})();function xc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ih),Eh}function Eh(){let e=Fc(this),t=e?.current;if(t){let n=e.previous;if(n===Oe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ih(e,t,n,r,o){let i=this.declaredInputs[r],s=Fc(e)||wh(e,{previous:Oe,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Ii(c&&c.currentValue,n,u===Oe),Sc(e,t,o,n)}var Ac="__ngSimpleChanges__";function Fc(e){return e[Ac]||null}function wh(e,t){return e[Ac]=t}var Iu=null;var le=function(e,t,n){Iu?.(e,t,n)},Rc="svg",Ch="math";function Ce(e){for(;Array.isArray(e);)e=e[Me];return e}function bh(e){for(;Array.isArray(e);){if(typeof e[_s]=="object")return e;e=e[Me]}return null}function Oc(e,t){return Ce(t[e])}function ve(e,t){return Ce(t[e.index])}function Ts(e,t){return e.data[t]}function yo(e,t){return e[t]}function be(e,t){let n=t[e];return Ue(n)?n:n[Me]}function _h(e){return(e[D]&4)===4}function Ss(e){return(e[D]&128)===128}function Mh(e){return Ve(e[W])}function We(e,t){return t==null?null:e[t]}function kc(e){e[jt]=0}function Ns(e){e[D]&1024||(e[D]|=1024,Ss(e)&&Fn(e))}function Th(e,t){for(;e>0;)t=t[en],e--;return t}function vo(e){return!!(e[D]&9216||e[ie]?.dirty)}function wi(e){e[ke].changeDetectionScheduler?.notify(9),e[D]&64&&(e[D]|=1024),vo(e)&&Fn(e)}function Fn(e){e[ke].changeDetectionScheduler?.notify(0);let t=ft(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Ss(t)));)t=ft(t)}function Pc(e,t){if(An(e))throw new M(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function Sh(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ft(e){let t=e[W];return Ve(t)?t[W]:t}function Lc(e){return e[Lr]??=[]}function Vc(e){return e.cleanup??=[]}function Nh(e,t,n,r){let o=Lc(t);o.push(n),e.firstCreatePass&&Vc(e).push(r,o.length-1)}var b={lFrame:qc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ci=!1;function xh(){return b.lFrame.elementDepthCount}function Ah(){b.lFrame.elementDepthCount++}function Fh(){b.lFrame.elementDepthCount--}function jc(){return b.bindingsEnabled}function Bc(){return b.skipHydrationRootTNode!==null}function Rh(e){return b.skipHydrationRootTNode===e}function Oh(){b.skipHydrationRootTNode=null}function v(){return b.lFrame.lView}function O(){return b.lFrame.tView}function IS(e){return b.lFrame.contextLView=e,e[$]}function wS(e){return b.lFrame.contextLView=null,e}function U(){let e=Hc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Hc(){return b.lFrame.currentTNode}function kh(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ye(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function xs(){return b.lFrame.isParent}function As(){b.lFrame.isParent=!1}function $c(){return b.lFrame.contextLView}function Uc(){return Ci}function Br(e){let t=Ci;return Ci=e,t}function zc(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ph(){return b.lFrame.bindingIndex}function Lh(e){return b.lFrame.bindingIndex=e}function Ke(){return b.lFrame.bindingIndex++}function Fs(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vh(){return b.lFrame.inI18n}function jh(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,bi(t)}function Bh(){return b.lFrame.currentDirectiveIndex}function bi(e){b.lFrame.currentDirectiveIndex=e}function Rs(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Os(){return b.lFrame.currentQueryIndex}function Do(e){b.lFrame.currentQueryIndex=e}function Hh(e){let t=e[C];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function Gc(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Hh(i),o===null||(i=i[en],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=Wc();return r.currentTNode=t,r.lView=e,!0}function ks(e){let t=Wc(),n=e[C];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Wc(){let e=b.lFrame,t=e===null?null:e.child;return t===null?qc(e):t}function qc(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 Zc(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qc=Zc;function Ps(){let e=Zc();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 $h(e){return(b.lFrame.contextLView=Th(e,b.lFrame.contextLView))[$]}function Te(){return b.lFrame.selectedIndex}function pt(e){b.lFrame.selectedIndex=e}function Rn(){let e=b.lFrame;return Ts(e.tView,e.selectedIndex)}function CS(){b.lFrame.currentNamespace=Rc}function bS(){Uh()}function Uh(){b.lFrame.currentNamespace=null}function zh(){return b.lFrame.currentNamespace}var Yc=!0;function Eo(){return Yc}function Io(e){Yc=e}function Gh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=xc(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 wo(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:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Tr(e,t,n){Kc(e,t,3,n)}function Sr(e,t,n,r){(e[D]&3)===n&&Kc(e,t,n,r)}function oi(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Kc(e,t,n,r){let o=r!==void 0?e[jt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[jt]+=65536),(a<i||i==-1)&&(Wh(e,n,t,u),e[jt]=(e[jt]&4294901760)+u+2),u++}function wu(e,t){le(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),le(5,e,t)}}function Wh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[jt]>>16&&(e[D]&3)===t&&(e[D]+=16384,wu(a,i)):wu(a,i)}var Ut=-1,ht=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function qh(e){return e instanceof ht}function Zh(e){return(e.flags&8)!==0}function Qh(e){return(e.flags&16)!==0}function Yh(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];Kh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Jc(e){return e===3||e===4||e===6}function Kh(e){return e.charCodeAt(0)===64}function Zt(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?Cu(e,n,o,null,t[++r]):Cu(e,n,o,null,null))}}return e}function Cu(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){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var ii={},_i=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=lo(r);let o=this.injector.get(t,ii,r);return o!==ii||n===ii?o:this.parentInjector.get(t,n,r)}};function Xc(e){return e!==Ut}function Hr(e){return e&32767}function Jh(e){return e>>16}function $r(e,t){let n=Jh(e),r=t;for(;n>0;)r=r[en],n--;return r}var Mi=!0;function Ur(e){let t=Mi;return Mi=e,t}var Xh=256,el=Xh-1,tl=5,eg=0,Ie={};function tg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(r=n[vn]),r==null&&(r=n[vn]=eg++);let o=r&el,i=1<<o;t.data[e+(o>>tl)]|=i}function zr(e,t){let n=nl(e,t);if(n!==-1)return n;let r=t[C];r.firstCreatePass&&(e.injectorIndex=t.length,si(r.data,e),si(t,null),si(r.blueprint,null));let o=Ls(e,t),i=e.injectorIndex;if(Xc(o)){let s=Hr(o),a=$r(o,t),u=a[C].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function si(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ls(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=al(o),r===null)return Ut;if(n++,o=o[en],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function Ti(e,t,n){tg(e,t,n)}function ng(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Jc(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function rl(e,t,n){if(n&T.Optional||e!==void 0)return e;Is(t,"NodeInjector")}function ol(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[In],i=te(void 0);try{return o?o.get(t,r,n&T.Optional):hc(t,r,n&T.Optional)}finally{te(i)}}return rl(r,t,n)}function il(e,t,n,r=T.Default,o){if(e!==null){if(t[D]&2048&&!(r&T.Self)){let s=sg(e,t,n,r,Ie);if(s!==Ie)return s}let i=sl(e,t,n,r,Ie);if(i!==Ie)return i}return ol(t,n,r,o)}function sl(e,t,n,r,o){let i=og(n);if(typeof i=="function"){if(!Gc(t,e,r))return r&T.Host?rl(o,n,r):ol(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Is(n);else return s}finally{Qc()}}else if(typeof i=="number"){let s=null,a=nl(e,t),u=Ut,c=r&T.Host?t[ae][oe]:null;for((a===-1||r&T.SkipSelf)&&(u=a===-1?Ls(e,t):t[a+8],u===Ut||!_u(r,!1)?a=-1:(s=t[C],a=Hr(u),t=$r(u,t)));a!==-1;){let l=t[C];if(bu(i,a,l.data)){let d=rg(a,t,n,s,r,c);if(d!==Ie)return d}u=t[a+8],u!==Ut&&_u(r,t[C].data[a+8]===c)&&bu(i,a,t)?(s=l,a=Hr(u),t=$r(u,t)):a=-1}}return o}function rg(e,t,n,r,o,i){let s=t[C],a=s.data[e+8],u=r==null?vt(a)&&Mi:r!=s&&(a.type&3)!==0,c=o&T.Host&&i===a,l=Nr(a,s,n,u,c);return l!==null?Cn(t,s,l,a):Ie}function Nr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&we(f)&&f.type===n)return u}return null}function Cn(e,t,n,r){let o=e[n],i=t.data;if(qh(o)){let s=o;s.resolving&&zp(Up(i[n]));let a=Ur(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?te(s.injectImpl):null,l=Gc(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gh(n,i[n],t)}finally{c!==null&&te(c),Ur(a),s.resolving=!1,Qc()}}return o}function og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(vn)?e[vn]:void 0;return typeof t=="number"?t>=0?t&el:ig:t}function bu(e,t,n){let r=1<<e;return!!(n[t+(e>>tl)]&r)}function _u(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var at=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return il(this._tNode,this._lView,t,lo(r),n)}};function ig(){return new at(U(),v())}function _S(e){return uo(()=>{let t=e.prototype.constructor,n=t[Fr]||Si(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Fr]||Si(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Si(e){return cc(e)?()=>{let t=Si(H(e));return t&&t()}:ut(e)}function sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!jr(s);){let a=sl(i,s,n,r|T.Self,Ie);if(a!==Ie)return a;let u=i.parent;if(!u){let c=s[Tc];if(c){let l=c.get(n,Ie,r);if(l!==Ie)return l}u=al(s),s=s[en]}i=u}return o}function al(e){let t=e[C],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function ul(e){return ng(U(),e)}function Mu(e,t=null,n=null,r){let o=cl(e,t,n,r);return o.resolveInjectorInitializers(),o}function cl(e,t=null,n=null,r,o=new Set){let i=[n||Q,uh(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new En(i,t||po(),r||null,o)}var _e=class e{static THROW_IF_NOT_FOUND=Dn;static NULL=new Pr;static create(t,n){if(Array.isArray(t))return Mu({name:""},n,t,"");{let r=t.name??"";return Mu({name:r},t.parent,t.providers,r)}}static \u0275prov=P({token:e,providedIn:"any",factory:()=>re(mc)});static __NG_ELEMENT_ID__=-1};var Tu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>ul(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},ag=new A("");ag.__NG_ELEMENT_ID__=e=>{let t=U();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new M(204,!1)};var ll=!1,tn=(()=>{class e{static __NG_ELEMENT_ID__=ug;static __NG_ENV_ID__=n=>n}return e})(),Gr=class extends tn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Pc(this._lView,t),()=>Sh(this._lView,t)}};function ug(){return new Gr(v())}var gt=class{},Vs=new A("",{providedIn:"root",factory:()=>!1});var dl=new A(""),fl=new A(""),On=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new dn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ni=class extends X{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Mc()&&(this.destroyRef=I(tn,{optional:!0})??void 0,this.pendingTasks=I(On,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}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 L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},He=Ni;function bn(...e){}function pl(e){let t,n;function r(){e=bn;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 Su(e){return queueMicrotask(()=>e()),()=>{e=bn}}var js="isAngularZone",Wr=js+"_ID",cg=0,se=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new He(!1);onMicrotaskEmpty=new He(!1);onStable=new He(!1);onError=new He(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ll}=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,fg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(js)===!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,lg,bn,bn);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)}},lg={};function Bs(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 dg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){pl(()=>{e.callbackScheduled=!1,xi(e),e.isCheckStableRunning=!0,Bs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),xi(e)}function fg(e){let t=()=>{dg(e)},n=cg++;e._inner=e._inner.fork({name:"angular",properties:{[js]:!0,[Wr]:n,[Wr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(pg(u))return r.invokeTask(i,s,a,u);try{return Nu(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),xu(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Nu(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!hg(u)&&t(),xu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,xi(e),Bs(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 xi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xu(e){e._nesting--,Bs(e)}var Ai=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new He;onMicrotaskEmpty=new He;onStable=new He;onError=new He;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 pg(e){return hl(e,"__ignore_ng_zone__")}function hg(e){return hl(e,"__scheduler_tick__")}function hl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},gg=new A("",{providedIn:"root",factory:()=>{let e=I(se),t=I(qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Fi=class{destroyed=!1;listeners=null;errorHandler=I(qe,{optional:!0});destroyRef=I(tn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function MS(e){return new Fi}function Au(e,t){return ac(e,t)}function mg(e){return ac(sc,e)}var TS=(Au.required=mg,Au);function yg(){return nn(U(),v())}function nn(e,t){return new Dt(ve(e,t))}var Dt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=yg}return e})();function gl(e){return e instanceof Dt?e.nativeElement:e}var Fu=new Set;function de(e){Fu.has(e)||(Fu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function vg(e){return typeof e=="function"&&e[z]!==void 0}function Dg(e,t){de("NgSignals");let n=Pa(e),r=n[z];return t?.equal&&(r.equal=t.equal),n.set=o=>Wn(r,o),n.update=o=>La(r,o),n.asReadonly=Eg.bind(n),n}function Eg(){let e=this[z];if(e.readonlyFn===void 0){let t=()=>this();t[z]=e,e.readonlyFn=t}return e.readonlyFn}function ml(e){return vg(e)&&typeof e.set=="function"}function Ig(){return this._results[Symbol.iterator]()}var Ri=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new X}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=nh(t);(this._changesDetected=!th(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ig};function yl(e){return(e.flags&128)===128}var vl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(vl||{}),Dl=new Map,wg=0;function Cg(){return wg++}function bg(e){Dl.set(e[go],e)}function Oi(e){Dl.delete(e[go])}var Ru="__ngContext__";function Et(e,t){Ue(t)?(e[Ru]=t[go],bg(t)):e[Ru]=t}function El(e){return wl(e[wn])}function Il(e){return wl(e[ye])}function wl(e){for(;e!==null&&!Ve(e);)e=e[ye];return e}var ki;function SS(e){ki=e}function _g(){if(ki!==void 0)return ki;if(typeof document<"u")return document;throw new M(210,!1)}var NS=new A("",{providedIn:"root",factory:()=>Mg}),Mg="ng",Tg=new A(""),Sg=new A("",{providedIn:"platform",factory:()=>"unknown"});var xS=new A(""),AS=new A("",{providedIn:"root",factory:()=>_g().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ng="h",xg="b";var Cl=!1,Ag=new A("",{providedIn:"root",factory:()=>Cl});var Hs=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Hs||{}),Co=new A("");var Bt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Bt||{}),bl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fg=[Bt.EarlyRead,Bt.Write,Bt.MixedReadWrite,Bt.Read],Rg=(()=>{class e{ngZone=I(se);scheduler=I(gt);errorHandler=I(qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(Co,{optional:!0})}execute(){this.executing=!0;for(let n of Fg)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Hs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),Pi=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Og(e,t){!t?.injector&&ho(Og);let n=t?.injector??I(_e);return de("NgAfterRender"),_l(e,n,t,!1)}function kg(e,t){!t?.injector&&ho(kg);let n=t?.injector??I(_e);return de("NgAfterNextRender"),_l(e,n,t,!0)}function Pg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function _l(e,t,n,r){let o=t.get(bl);o.impl??=t.get(Rg);let i=t.get(Co,null,{optional:!0}),s=n?.phase??Bt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(tn):null,u=new Pi(o.impl,Pg(e,s),r,a,i?.snapshot(null));return o.impl.register(u),u}var Lg=()=>null;function Ml(e,t,n=!1){return Lg(e,t,n)}function Tl(e,t){let n=e.contentQueries;if(n!==null){let r=_(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];Do(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function Li(e,t,n){Do(0);let r=_(null);try{t(e,n)}finally{_(r)}}function $s(e,t,n){if(Ms(t)){let r=_(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 u=n[s];a.contentQueries(1,u,s)}}}finally{_(r)}}}var _n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_n||{}),Ir;function Vg(){if(Ir===void 0&&(Ir=null,Lt.trustedTypes))try{Ir=Lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ir}function bo(e){return Vg()?.createHTML(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oc})`}},Vi=class extends Le{getTypeName(){return"HTML"}},ji=class extends Le{getTypeName(){return"Style"}},Bi=class extends Le{getTypeName(){return"Script"}},Hi=class extends Le{getTypeName(){return"URL"}},$i=class extends Le{getTypeName(){return"ResourceURL"}};function _o(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function jg(e,t){let n=Bg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${oc})`)}return n===t}function Bg(e){return e instanceof Le&&e.getTypeName()||null}function FS(e){return new Vi(e)}function RS(e){return new ji(e)}function OS(e){return new Bi(e)}function kS(e){return new Hi(e)}function PS(e){return new $i(e)}function Hg(e){let t=new zi(e);return $g()?new Ui(t):t}var Ui=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(bo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},zi=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=bo(t),n}};function $g(){try{return!!new window.DOMParser().parseFromString(bo(""),"text/html")}catch{return!1}}var Ug=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sl(e){return e=String(e),e.match(Ug)?e:"unsafe:"+e}function je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function kn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Nl=je("area,br,col,hr,img,wbr"),xl=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Al=je("rp,rt"),zg=kn(Al,xl),Gg=kn(xl,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")),Wg=kn(Al,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")),Ou=kn(Nl,Gg,Wg,zg),Fl=je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qg=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"),Zg=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"),Qg=kn(Fl,qg,Zg),Yg=je("script,style,template"),Gi=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=Xg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Jg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ku(t).toLowerCase();if(!Ou.hasOwnProperty(n))return this.sanitizedSomething=!0,!Yg.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(!Qg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Fl[a]&&(u=Sl(u)),this.buf.push(" ",s,'="',Pu(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=ku(t).toLowerCase();Ou.hasOwnProperty(n)&&!Nl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Pu(t))}};function Kg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Jg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Rl(t);return t}function Xg(e){let t=e.firstChild;if(t&&Kg(e,t))throw Rl(t);return t}function ku(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Rl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var em=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tm=/([^\#-~ |!])/g;function Pu(e){return e.replace(/&/g,"&").replace(em,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(tm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var wr;function LS(e,t){let n=null;try{wr=wr||Hg(e);let r=t?String(t):"";n=wr.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=wr.getInertBodyElement(r)}while(r!==i);let a=new Gi().sanitizeChildren(Lu(n)||n);return bo(a)}finally{if(n){let r=Lu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Lu(e){return"content"in e&&nm(e)?e.content:null}function nm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ol=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}(Ol||{});function VS(e){let t=rm();return t?t.sanitize(Ol.URL,e)||"":jg(e,"URL")?_o(e):Sl(zt(e))}function rm(){let e=v();return e&&e[ke].sanitizer}var om=/^>|^->|<!--|-->|--!>|<!-$/g,im=/(<|>)/g,sm="\u200B$1\u200B";function am(e){return e.replace(om,t=>t.replace(im,sm))}function jS(e){return e.ownerDocument.defaultView}function kl(e){return e instanceof Function?e():e}var Ze=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ze||{});function um(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 Pl="ng-template";function cm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&um(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Us(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 Us(e){return e.type===4&&e.value!==Pl}function lm(e,t,n){let r=e.type===4&&!n?Pl:e.value;return t===r}function dm(e,t,n){let r=4,o=e.attrs,i=o!==null?hm(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ge(r)&&!ge(u))return!1;if(s&&ge(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!lm(e,u,n)||u===""&&t.length===1){if(ge(r))return!1;s=!0}}else if(r&8){if(o===null||!cm(e,o,u,n)){if(ge(r))return!1;s=!0}}else{let c=t[++a],l=fm(u,o,Us(e),n);if(l===-1){if(ge(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(e){return(e&1)===0}function fm(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 gm(t,e)}function Ll(e,t,n=!1){for(let r=0;r<t.length;r++)if(dm(e,t[r],n))return!0;return!1}function pm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function hm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Jc(n))return t}return e.length}function gm(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 mm(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Vu(e,t){return e?":not("+t.trim()+")":t}function ym(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!==""&&!ge(s)&&(t+=Vu(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(t+=Vu(i,o)),t}function vm(e){return e.map(ym).join(",")}function Dm(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(!ge(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var fe={};function Em(e,t){return e.createText(t)}function Im(e,t,n){e.setValue(t,n)}function wm(e,t){return e.createComment(am(t))}function Vl(e,t,n){return e.createElement(t,n)}function qr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jl(e,t,n){e.appendChild(t,n)}function ju(e,t,n,r,o){r!==null?qr(e,t,n,r,o):jl(e,t,n)}function Cm(e,t,n){e.removeChild(null,t,n)}function bm(e,t,n){e.setAttribute(t,"style",n)}function _m(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Bl(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Yh(e,t,r),o!==null&&_m(e,t,o),i!==null&&bm(e,t,i)}function BS(e=1){Hl(O(),v(),Te()+e,!1)}function Hl(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Tr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Sr(t,i,0,n)}pt(n)}function Se(e,t=T.Default){let n=v();if(n===null)return re(e,t);let r=U();return il(r,n,H(e),t)}function HS(){let e="invalid";throw new Error(e)}function $l(e,t,n,r,o,i){let s=_(null);try{let a=null;o&Ze.SignalBased&&(a=t[r][z]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ze.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Sc(t,a,r,i)}finally{_(s)}}function zs(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Me]=o,d[D]=r|4|128|8|64|1024,(c!==null||e&&e[D]&2048)&&(d[D]|=2048),kc(d),d[W]=d[en]=e,d[$]=n,d[ke]=s||e&&e[ke],d[k]=a||e&&e[k],d[In]=u||e&&e[In]||null,d[oe]=i,d[go]=Cg(),d[Wt]=l,d[Tc]=c,d[ae]=t.type==2?e[ae]:d,d}function Ul(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 zl(e,t,n,r,o){let i=Te(),s=r&2;try{pt(-1),s&&t.length>V&&Hl(e,t,V,!1),le(s?2:0,o),n(r,o)}finally{pt(i),le(s?3:1,o)}}function Gs(e,t,n){jc()&&(Et(ve(n,t),t),Gl(e,t,n))}function Gl(e,t,n){Pm(e,t,n),(n.flags&64)===64&&Lm(e,t,n)}function Ws(e,t,n=ve){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 Mm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=qs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qs(e,t,n,r,o,i,s,a,u,c,l){let d=V+r,p=d+o,f=Tm(d,p),h=typeof c=="function"?c():c;return f[C]={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:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function Tm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:fe);return n}function Sm(e,t,n,r){let i=r.get(Ag,Cl)||n===_n.ShadowDom,s=e.selectRootElement(t,i);return Nm(s),s}function Nm(e){xm(e)}var xm=()=>null;function Bu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ze.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Hu(r,n,c,a,u):Hu(r,n,c,a)}return r}function Hu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Am(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=Bu(0,d.inputs,l,u,f),c=Bu(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!Us(t)?Ym(u,l,s):null;a.push(g)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function Fm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Mo(e,t,n,r,o,i,s,a){let u=ve(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Ys(e,n,l,r,o),vt(t)&&Rm(n,t.index)):t.type&3?(r=Fm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Rm(e,t){let n=be(t,e);n[D]&16||(n[D]|=64)}function Zs(e,t,n,r){if(jc()){let o=r===null?null:{"":-1},i=jm(e,n);if(i!==null){let[s,a]=ql(e,n,i);Wl(e,t,n,s,o,a)}o&&Hm(n,r,o)}n.mergedAttrs=Zt(n.mergedAttrs,n.attrs)}function Wl(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Ti(zr(n,t),e,r[c].type);Um(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Ul(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=Zt(n.mergedAttrs,l.hostAttrs),zm(e,n,t,u,l),$m(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}Am(e,n,i)}function Om(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;km(s)!=a&&s.push(a),s.push(n,r,i)}}function km(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Pm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;vt(n)&&Wm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||zr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],u=Cn(t,e,s,n);if(Et(u,t),i!==null&&Qm(t,s-r,u,a,n,i),we(a)){let c=be(n.index,t);c[$]=Cn(t,e,s,n)}}}function Lm(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Bh();try{pt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];bi(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Vm(u,c)}}finally{pt(-1),bi(s)}}function Vm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function jm(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Ll(t,i.selectors,!1)&&(r??=[],we(i)?r.unshift(i):r.push(i))}return r}function ql(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),we(i)&&(r.push(i),Bm(e,t,r.length-1));return vt(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function Bm(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Hm(e,t,n){if(t){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 $m(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;we(t)&&(n[""]=e)}}function Um(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function zm(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ut(o.type,!0)),s=new ht(i,we(o),Se);e.blueprint[r]=s,n[r]=s,Om(e,t,r,Ul(e,n,o.hostVars,fe),o)}function Gm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wm(e,t,n){let r=ve(t,e),o=Mm(n),i=e[ke].rendererFactory,s=Qs(e,zs(e,o,null,Gm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function qm(e,t,n,r,o,i){let s=ve(e,t);Zm(t[k],s,i,e.value,n,r,o)}function Zm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?zt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Qm(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];$l(r,n,u,c,l,d)}}function Ym(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Zl(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qs(e,t){return e[wn]?e[Eu][ye]=t:e[wn]=t,e[Eu]=t,t}function Ql(e,t,n){return(e===null||we(e))&&(n=bh(n[t.index])),n[k]}function Yl(e,t){let n=e[In],r=n?n.get(qe,null):null;r&&r.handleError(t)}function Ys(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];$l(l,c,r,a,u,o)}}function Km(e,t){let n=be(t,e),r=n[C];Jm(r,n);let o=n[Me];o!==null&&n[Wt]===null&&(n[Wt]=Ml(o,n[In])),Ks(r,n,n[$])}function Jm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ks(e,t,n){ks(t);try{let r=e.viewQuery;r!==null&&Li(1,r,n);let o=e.template;o!==null&&zl(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&Tl(e,t),e.staticViewQueries&&Li(2,e.viewQuery,n);let i=e.components;i!==null&&Xm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,Ps()}}function Xm(e,t){for(let n=0;n<t.length;n++)Km(e,t[n])}var Zr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Zr||{}),ey;function Js(e,t){return ey(e,t)}function Xs(e){return(e.flags&32)===32}function Ht(e,t,n,r,o){if(r!=null){let i,s=!1;Ve(r)?i=r:Ue(r)&&(s=!0,r=r[Me]);let a=Ce(r);e===0&&n!==null?o==null?jl(t,n,a):qr(t,n,a,o||null,!0):e===1&&n!==null?qr(t,n,a,o||null,!0):e===2?Cm(t,a,s):e===3&&t.destroyNode(a),i!=null&&dy(t,e,i,n,o)}}function ty(e,t){Kl(e,t),t[Me]=null,t[oe]=null}function ny(e,t,n,r,o,i){r[Me]=o,r[oe]=t,No(e,r,n,1,o,i)}function Kl(e,t){t[ke].changeDetectionScheduler?.notify(10),No(e,t,t[k],2,null,null)}function ry(e){let t=e[wn];if(!t)return ai(e[C],e);for(;t;){let n=null;if(Ue(t))n=t[wn];else{let r=t[G];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)Ue(t)&&ai(t[C],t),t=t[W];t===null&&(t=e),Ue(t)&&ai(t[C],t),n=t&&t[ye]}t=n}}function oy(e,t,n,r){let o=G+r,i=n.length;r>0&&(n[o-1][ye]=t),r<i-G?(t[ye]=n[o],gc(n,G+r,t)):(n.push(t),t[ye]=null),t[W]=n;let s=t[ct];s!==null&&n!==s&&Jl(s,t);let a=t[Pe];a!==null&&a.insertView(e),wi(t),t[D]|=128}function Jl(e,t){let n=e[qt],r=t[W];if(Ue(r))e[D]|=2;else{let o=r[W][ae];t[ae]!==o&&(e[D]|=2)}n===null?e[qt]=[t]:n.push(t)}function ea(e,t){let n=e[qt],r=n.indexOf(t);n.splice(r,1)}function Mn(e,t){if(e.length<=G)return;let n=G+t,r=e[n];if(r){let o=r[ct];o!==null&&o!==e&&ea(o,r),t>0&&(e[n-1][ye]=r[ye]);let i=Or(e,G+t);ty(r[C],r);let s=i[Pe];s!==null&&s.detachView(i[C]),r[W]=null,r[ye]=null,r[D]&=-129}return r}function To(e,t){if(An(t))return;let n=t[k];n.destroyNode&&No(e,t,n,3,null,null),ry(t)}function ai(e,t){if(An(t))return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[ie]&&_t(t[ie]),sy(e,t),iy(e,t),t[C].type===1&&t[k].destroy();let r=t[ct];if(r!==null&&Ve(t[W])){r!==t[W]&&ea(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Oi(t)}finally{_(n)}}function iy(e,t){let n=e.cleanup,r=t[Lr];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[Lr]=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[lt];if(i!==null){t[lt]=null;for(let s of i)s.destroy()}}function sy(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 ht)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];le(4,a,u);try{u.call(a)}finally{le(5,a,u)}}else{le(4,o,i);try{i.call(o)}finally{le(5,o,i)}}}}}function Xl(e,t,n){return ay(e,t.parent,n)}function ay(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Me];if(vt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===_n.None||o===_n.Emulated)return null}return ve(r,n)}function ed(e,t,n){return cy(e,t,n)}function uy(e,t,n){return e.type&40?ve(e,n):null}var cy=uy,$u;function So(e,t,n,r){let o=Xl(e,r,t),i=t[k],s=r.parent||t[oe],a=ed(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)ju(i,o,n[u],a,!1);else ju(i,o,n,a,!1);$u!==void 0&&$u(i,r,t,n,o)}function yn(e,t){if(t!==null){let n=t.type;if(n&3)return ve(t,e);if(n&4)return Wi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return yn(e,r);{let o=e[t.index];return Ve(o)?Wi(-1,o):Ce(o)}}else{if(n&128)return yn(e,t.next);if(n&32)return Js(t,e)()||Ce(e[t.index]);{let r=td(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ft(e[ae]);return yn(o,r)}else return yn(e,t.next)}}}return null}function td(e,t){if(t!==null){let r=e[ae][oe],o=t.projection;return r.projection[o]}return null}function Wi(e,t){let n=G+e+1;if(n<t.length){let r=t[n],o=r[C].firstChild;if(o!==null)return yn(r,o)}return t[dt]}function ta(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&Et(Ce(a),r),n.flags|=2),!Xs(n))if(u&8)ta(e,t,n.child,r,o,i,!1),Ht(t,e,o,a,i);else if(u&32){let c=Js(n,r),l;for(;l=c();)Ht(t,e,o,l,i);Ht(t,e,o,a,i)}else u&16?nd(e,t,r,n,o,i):Ht(t,e,o,a,i);n=s?n.projectionNext:n.next}}function No(e,t,n,r,o,i){ta(n,r,e.firstChild,t,o,i,!1)}function ly(e,t,n){let r=t[k],o=Xl(e,n,t),i=n.parent||t[oe],s=ed(i,n,t);nd(r,0,t,n,o,s)}function nd(e,t,n,r,o,i){let s=n[ae],u=s[oe].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Ht(t,e,o,l,i)}else{let c=u,l=s[W];yl(r)&&(c.flags|=128),ta(e,t,c,l,o,i,!0)}}function dy(e,t,n,r,o){let i=n[dt],s=Ce(n);i!==s&&Ht(t,e,r,i,o);for(let a=G;a<n.length;a++){let u=n[a];No(u[C],u,e,t,r,i)}}function fy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Zr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Zr.Important),e.setStyle(n,r,o,i))}}function Pn(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[D]&4096?4096:16,u=zs(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[ct]=c;let l=e[Pe];return l!==null&&(u[Pe]=l.createEmbeddedView(i)),Ks(i,u,n),u}finally{_(o)}}function rd(e,t){let n=G+t;if(n<e.length)return e[n]}function Qt(e,t){return!t||t.firstChild===null||yl(e)}function Ln(e,t,n,r=!0){let o=t[C];if(oy(o,t,e,n),r){let s=Wi(n,e),a=t[k],u=a.parentNode(e[dt]);u!==null&&ny(o,e[oe],a,t,u,s)}let i=t[Wt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function od(e,t){let n=Mn(e,t);return n!==void 0&&To(n[C],n),n}function Qr(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(Ce(i)),Ve(i)&&py(i,r);let s=n.type;if(s&8)Qr(e,t,n.child,r);else if(s&32){let a=Js(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=td(t,n);if(Array.isArray(a))r.push(...a);else{let u=ft(t[ae]);Qr(u[C],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function py(e,t){for(let n=G;n<e.length;n++){let r=e[n],o=r[C].firstChild;o!==null&&Qr(r[C],r,o,t)}e[dt]!==e[Me]&&t.push(e[dt])}var id=[];function hy(e){return e[ie]??gy(e)}function gy(e){let t=id.pop()??Object.create(yy);return t.lView=e,t}function my(e){e.lView[ie]!==e&&(e.lView=null,id.push(e))}var yy=J(K({},Je),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Fn(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function vy(e){let t=e[ie]??Object.create(Dy);return t.lView=e,t}var Dy=J(K({},Je),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ft(e.lView);for(;t&&!sd(t[C]);)t=ft(t);t&&Ns(t)},consumerOnSignalRead(){this.lView[ie]=this}});function sd(e){return e.type!==2}function ad(e){if(e[lt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[lt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var Ey=100;function ud(e,t=!0,n=0){let o=e[ke].rendererFactory,i=!1;i||o.begin?.();try{Iy(e,n)}catch(s){throw t&&Yl(e,s),s}finally{i||o.end?.()}}function Iy(e,t){let n=Uc();try{Br(!0),qi(e,t);let r=0;for(;vo(e);){if(r===Ey)throw new M(103,!1);r++,qi(e,1)}}finally{Br(n)}}function wy(e,t,n,r){if(An(t))return;let o=t[D],i=!1,s=!1;ks(t);let a=!0,u=null,c=null;i||(sd(e)?(c=hy(t),u=bt(c)):_a()===null?(a=!1,c=vy(t),u=bt(c)):t[ie]&&(_t(t[ie]),t[ie]=null));try{kc(t),Lh(e.bindingStartIndex),n!==null&&zl(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Tr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Sr(t,f,0,null),oi(t,0)}if(s||Cy(t),ad(t),cd(t,0),e.contentQueries!==null&&Tl(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Tr(t,f)}else{let f=e.contentHooks;f!==null&&Sr(t,f,1),oi(t,1)}_y(e,t);let d=e.components;d!==null&&dd(t,d,0);let p=e.viewQuery;if(p!==null&&Li(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Tr(t,f)}else{let f=e.viewHooks;f!==null&&Sr(t,f,2),oi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Mr]){for(let f of t[Mr])f();t[Mr]=null}i||(t[D]&=-73)}catch(l){throw i||Fn(t),l}finally{c!==null&&(cn(c,u),a&&my(c)),Ps()}}function cd(e,t){for(let n=El(e);n!==null;n=Il(n))for(let r=G;r<n.length;r++){let o=n[r];ld(o,t)}}function Cy(e){for(let t=El(e);t!==null;t=Il(t)){if(!(t[D]&2))continue;let n=t[qt];for(let r=0;r<n.length;r++){let o=n[r];Ns(o)}}}function by(e,t,n){let r=be(t,e);ld(r,n)}function ld(e,t){Ss(e)&&qi(e,t)}function qi(e,t){let r=e[C],o=e[D],i=e[ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ln(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)wy(r,e,r.template,e[$]);else if(o&8192){ad(e),cd(e,1);let a=r.components;a!==null&&dd(e,a,1)}}function dd(e,t,n){for(let r=0;r<t.length;r++)by(e,t[r],n)}function _y(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)pt(~o);else{let i=o,s=n[++r],a=n[++r];jh(s,i);let u=t[i];le(24,u),a(2,u),le(25,u)}}}finally{pt(-1)}}function na(e,t){let n=Uc()?64:1088;for(e[ke].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ft(e);if(jr(e)&&!r)return e;e=r}return null}var mt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[C];return Qr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[$]}get dirty(){return!!(this._lView[D]&9280)||!!this._lView[ie]?.dirty}set context(t){this._lView[$]=t}get destroyed(){return An(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(Ve(t)){let n=t[Vr],r=n?n.indexOf(this):-1;r>-1&&(Mn(t,r),Or(n,r))}this._attachedToViewContainer=!1}To(this._lView[C],this._lView)}onDestroy(t){Pc(this._lView,t)}markForCheck(){na(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ns(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){wi(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=jr(this._lView),n=this._lView[ct];n!==null&&!t&&ea(n,this._lView),Kl(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=jr(this._lView),r=this._lView[ct];r!==null&&!n&&Jl(r,this._lView),wi(this._lView)}},Tn=(()=>{class e{static __NG_ELEMENT_ID__=Sy}return e})(),My=Tn,Ty=class extends My{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Pn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new mt(o)}};function Sy(){return xo(U(),v())}function xo(e,t){return e.type&4?new Ty(t,e,nn(e,t)):null}function It(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ny(e,t,n,r,o),Vh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kh();i.injectorIndex=s===null?-1:s.injectorIndex}return Ye(i,!0),i}function Ny(e,t,n,r,o){let i=Hc(),s=xs(),a=s?i:i&&i.parent,u=e.data[t]=Ay(e,a,n,t,r,o);return xy(e,u,i,s),u}function xy(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 Ay(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Bc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var US=new RegExp(`^(\\d+)*(${xg}|${Ng})*(.*)`);var Fy=()=>null;function Yt(e,t){return Fy(e,t)}var Zi=class{},Yr=class{},Qi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ne(t)}.`)}},Kt=class{static NULL=new Qi},Kr=class{},ra=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Ry()}return e})();function Ry(){let e=v(),t=U(),n=be(t.index,e);return(Ue(n)?n:e)[k]}var Oy=(()=>{class e{static \u0275prov=P({token:e,providedIn:"root",factory:()=>null})}return e})();function Jr(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=gi(o,a);else if(i==2){let u=a,c=t[++s];r=gi(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Xr=class extends Kt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ze(t);return new Jt(n,this.ngModule)}};function Uu(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ze.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ze.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function ky(e){let t=e.toLowerCase();return t==="svg"?Rc:t==="math"?Ch:null}var Jt=class extends Yr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Uu(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Uu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=vm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=_(null);try{o=o||this.ngModule;let s=o instanceof Ge?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new _i(t,s):t,u=a.get(Kr,null);if(u===null)throw new M(407,!1);let c=a.get(Oy,null),l=a.get(gt,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Sm(p,r,this.componentDef.encapsulation,a):Vl(p,f,ky(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let x=null;h!==null&&(x=Ml(h,a,!0));let E=qs(0,null,null,1,0,null,null,null,null,null,null),S=zs(null,E,null,g,null,null,d,p,a,null,x);S[V]=h,ks(S);let Y=null;try{let q=r?["ng-version","19.1.4"]:Dm(this.componentDef.selectors[0]),j=It(E,V,2,"#host",q),[on,If]=ql(E,j,[this.componentDef]);Wl(E,S,j,on,{},If);for(let wf of on)j.mergedAttrs=Zt(j.mergedAttrs,wf.hostAttrs);j.mergedAttrs=Zt(j.mergedAttrs,q),Jr(j,j.mergedAttrs,!0),h&&(Bl(p,h,j),Et(h,S)),n!==void 0&&Py(j,this.ngContentSelectors,n),Gl(E,S,j),$s(E,j,S),wo(E,j),Y=be(j.index,S),S[$]=Y[$],Ks(E,S,null)}catch(q){throw Y!==null&&Oi(Y),Oi(S),q}finally{Ps()}return new Yi(this.componentType,S)}finally{_(i)}}},Yi=class extends Zi{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Ts(n[C],V),this.location=nn(this._tNode,n),this.instance=be(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new mt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ys(i[C],i,o,t,n),this.previousInputValues.set(t,n);let s=be(this._tNode.index,i);na(s,1)}}get injector(){return new at(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Py(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 Vn=(()=>{class e{static __NG_ELEMENT_ID__=Ly}return e})();function Ly(){let e=U();return pd(e,v())}var Vy=Vn,fd=class extends Vy{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return nn(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ls(this._hostTNode,this._hostLView);if(Xc(t)){let n=$r(t,this._hostLView),r=Hr(t),o=n[C].data[r+8];return new at(o,n)}else return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=zu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-G}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Dh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Jt(ze(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(Ge,null);g&&(i=g)}let l=ze(u.componentType??{}),d=Yt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Qt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Mh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new fd(u,u[oe],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ln(s,o,i,r),t.attachToViewContainerRef(),gc(ui(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=zu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);r&&(Or(ui(this._lContainer),n),To(r[C],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mn(this._lContainer,n);return r&&Or(ui(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zu(e){return e[Vr]}function ui(e){return e[Vr]||(e[Vr]=[])}function pd(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=Zl(r,t,null,e),t[e.index]=n,Qs(t,n)),By(n,t,e,r),new fd(n,e,t)}function jy(e,t){let n=e[k],r=n.createComment(""),o=ve(t,e),i=n.parentNode(o);return qr(n,i,r,n.nextSibling(o),!1),r}var By=Uy,Hy=()=>!1;function $y(e,t,n){return Hy(e,t,n)}function Uy(e,t,n,r){if(e[dt])return;let o;n.type&8?o=Ce(r):o=jy(t,n),e[dt]=o}var Ki=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ji=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)ia(t,n).matches!==null&&this.queries[n].setDirty()}},eo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Zy(t):this.predicate=t}},Xi=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},es=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,zy(n,i)),this.matchTNodeWithReadOption(t,n,Nr(n,t,i,!1,!1))}else r===Tn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Nr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Dt||o===Vn||o===Tn&&n.type&4)this.addMatch(n.index,-2);else{let i=Nr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function zy(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Gy(e,t){return e.type&11?nn(e,t):e.type&4?xo(e,t):null}function Wy(e,t,n,r){return n===-1?Gy(t,e):n===-2?qy(e,t,r):Cn(e,e[C],n,t)}function qy(e,t,n){if(n===Dt)return nn(t,e);if(n===Tn)return xo(t,e);if(n===Vn)return pd(t,e)}function hd(e,t,n,r){let o=t[Pe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(Wy(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function ts(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=hd(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=G;d<l.length;d++){let p=l[d];p[ct]===p[W]&&ts(p[C],p,c,r)}if(l[qt]!==null){let d=l[qt];for(let p=0;p<d.length;p++){let f=d[p];ts(f[C],f,c,r)}}}}}return r}function oa(e,t){return e[Pe].queries[t].queryList}function gd(e,t,n){let r=new Ri((n&4)===4);return Nh(e,t,r,r.destroy),(t[Pe]??=new Ji).queries.push(new Ki(r))-1}function md(e,t,n){let r=O();return r.firstCreatePass&&(vd(r,new eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),gd(r,v(),t)}function yd(e,t,n,r){let o=O();if(o.firstCreatePass){let i=U();vd(o,new eo(t,n,r),i.index),Qy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return gd(o,v(),n)}function Zy(e){return e.split(",").map(t=>t.trim())}function vd(e,t,n){e.queries===null&&(e.queries=new Xi),e.queries.track(new es(t,n))}function Qy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ia(e,t){return e.queries.getByIndex(t)}function Dd(e,t){let n=e[C],r=ia(n,t);return r.crossesNgTemplate?ts(n,e,t,[]):hd(n,e,r,t)}function Ed(e,t,n){let r,o=jo(()=>{r._dirtyCounter();let i=Yy(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[z],r._dirtyCounter=Dg(0),r._flatValue=void 0,o}function Id(e){return Ed(!0,!1,e)}function wd(e){return Ed(!0,!0,e)}function Cd(e,t){let n=e[z];n._lView=v(),n._queryIndex=t,n._queryList=oa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Yy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:Q;let o=oa(n,r),i=Dd(n,r);return o.reset(i,gl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Gu(e,t){return Id(t)}function Ky(e,t){return wd(t)}var GS=(Gu.required=Ky,Gu);function Wu(e,t){return Id(t)}function Jy(e,t){return wd(t)}var WS=(Wu.required=Jy,Wu);var Qe=class{},ns=class{};var rs=class extends Qe{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Xr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=vc(t);this._bootstrapComponents=kl(i.bootstrap),this._r3Injector=cl(t,n,[{provide:Qe,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver},...r],ne(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},os=class extends ns{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new rs(this.moduleType,t,[])}};var to=class extends Qe{injector;componentFactoryResolver=new Xr(this);instance=null;constructor(t){super();let n=new En([...t.providers,{provide:Qe,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],t.parent||po(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Xy(e,t,n=null){return new to({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ev=(()=>{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=Ec(!1,n.type),o=r.length>0?Xy([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(re(Ge))})}return e})();function qS(e){return uo(()=>{let t=bd(e),n=J(K({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(ev).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&de("NgStandalone"),_d(n);let r=e.dependencies;return n.directiveDefs=Zu(r,!1),n.pipeDefs=Zu(r,!0),n.id=ov(n),n})}function tv(e){return ze(e)||Cs(e)}function nv(e){return e!==null}function rv(e){return uo(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qu(e,t){if(e==null)return Oe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ze.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ze.None?[r,a]:r,t[i]=s):n[i]=r}return n}function sa(e){return uo(()=>{let t=bd(e);return _d(t),t})}function Ao(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 bd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Oe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qu(e.inputs,t),outputs:qu(e.outputs),debugInfo:null}}function _d(e){e.features?.forEach(t=>t(e))}function Zu(e,t){if(!e)return null;let n=t?Dc:tv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(nv)}function ov(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 iv(e){return Object.getPrototypeOf(e.prototype).constructor}function sv(e){let t=iv(e.type),n=!0,r=[e];for(;t;){let o;if(we(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Cr(e.inputs),s.inputTransforms=Cr(e.inputTransforms),s.declaredInputs=Cr(e.declaredInputs),s.outputs=Cr(e.outputs);let a=o.hostBindings;a&&dv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&cv(e,u),c&&lv(e,c),av(e,o),Op(e.outputs,o.outputs),we(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===sv&&(n=!1)}}t=Object.getPrototypeOf(t)}uv(r)}function av(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function uv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zt(o.hostAttrs,n=Zt(n,o.hostAttrs))}}function Cr(e){return e===Oe?{}:e===Q?[]:e}function cv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function lv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function dv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ZS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Md,n.hostDirectives=r?e.map(is):[e]):r?n.hostDirectives.unshift(...e.map(is)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Md(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Qu(is(i),t,n)}else Qu(r,t,n)}function Qu(e,t,n){let r=Cs(e.directive);fv(r.declaredInputs,e.inputs),Md(r,t,n),n.set(r,e),t.push(r)}function is(e){return typeof e=="function"?{directive:H(e),inputs:Oe,outputs:Oe}:{directive:H(e.directive),inputs:Yu(e.inputs),outputs:Yu(e.outputs)}}function Yu(e){if(e===void 0||e.length===0)return Oe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function fv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function pv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Td(e,t,n){return e[t]=n}function ue(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Sd(e,t,n,r){let o=ue(e,t,n);return ue(e,t+1,r)||o}function hv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=It(t,e,4,s||null,a||null);Zs(t,n,l,We(c,u)),wo(t,l);let d=l.tView=qs(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function no(e,t,n,r,o,i,s,a,u,c){let l=n+V,d=t.firstCreatePass?hv(l,t,e,r,o,i,s,a,u):t.data[l];Ye(d,!1);let p=mv(t,e,d,n);Eo()&&So(t,e,p,d),Et(p,e);let f=Zl(p,e,p,d);return e[l]=f,Qs(e,f),$y(f,d,e),mo(d)&&Gs(t,e,d),u!=null&&Ws(e,d,c),d}function gv(e,t,n,r,o,i,s,a){let u=v(),c=O(),l=We(c.consts,i);return no(u,c,e,t,n,r,o,l,s,a),gv}var mv=yv;function yv(e,t,n,r){return Io(!0),t[k].createComment("")}var QS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var vv=new A("");function aa(e){return!!e&&typeof e.then=="function"}function Nd(e){return!!e&&typeof e.subscribe=="function"}var Dv=new A("");var xd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Dv,{optional:!0})??[];injector=I(_e);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=_c(this.injector,o);if(aa(i))n.push(i);else if(Nd(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});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=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ad=(()=>{class e{static \u0275prov=P({token:e,providedIn:"root",factory:()=>new ro})}return e})(),ro=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ev=new A("");function Iv(){ka(()=>{throw new M(600,!1)})}function wv(e){return e.isBoundToModule}var Cv=10;function bv(e,t,n){try{let r=n();return aa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Sn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(gg);afterRenderManager=I(bl);zonelessEnabled=I(Vs);rootEffectScheduler=I(Ad);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new X;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(On).hasPendingTasks.pipe(Fe(n=>!n));constructor(){I(Co,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(Ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Yr;if(!this._injector.get(xd).done){let p=!o&&sh(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(Kt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=wv(s)?void 0:this._injector.get(Qe),u=r||s.selector,c=s.create(_e.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(vv,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),xr(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Hs.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new M(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Cv;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)_v(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>vo(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;xr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ev,[]).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),()=>xr(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=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _v(e,t,n,r){if(!n&&!vo(e))return;ud(e,t,n&&!r?0:1)}function Mv(e,t,n,r){let o=v(),i=Ke();if(ue(o,i,t)){let s=O(),a=Rn();qm(a,o,e,t,n,r)}return Mv}function Fd(e,t,n,r){return ue(e,Ke(),n)?t+zt(n)+r:fe}function Tv(e,t,n,r,o,i){let s=Ph(),a=Sd(e,s,n,o);return Fs(2),a?t+zt(n)+r+zt(o)+i:fe}function br(e,t){return e<<17|t<<2}function yt(e){return e>>17&32767}function Sv(e){return(e&2)==2}function Nv(e,t){return e&131071|t<<17}function ss(e){return e|2}function Xt(e){return(e&131068)>>2}function ci(e,t){return e&-131069|t<<2}function xv(e){return(e&1)===1}function as(e){return e|1}function Av(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=yt(s),u=Xt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||xn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=yt(e[a+1]);e[r+1]=br(p,a),p!==0&&(e[p+1]=ci(e[p+1],r)),e[a+1]=Nv(e[a+1],r)}else e[r+1]=br(a,0),a!==0&&(e[a+1]=ci(e[a+1],r)),a=r;else e[r+1]=br(u,0),a===0?a=r:e[u+1]=ci(e[u+1],r),u=r;c&&(e[r+1]=ss(e[r+1])),Ku(e,l,r,!0),Ku(e,l,r,!1),Fv(t,l,e,r,i),s=br(a,u),i?t.classBindings=s:t.styleBindings=s}function Fv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=as(n[r+1]))}function Ku(e,t,n,r){let o=e[n+1],i=t===null,s=r?yt(o):Xt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Rv(u,t)&&(a=!0,e[s+1]=r?as(c):ss(c)),s=r?yt(c):Xt(c)}a&&(e[n+1]=r?ss(o):as(o))}function Rv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}var me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ov(e){return e.substring(me.key,me.keyEnd)}function kv(e){return Pv(e),Rd(e,Od(e,0,me.textEnd))}function Rd(e,t){let n=me.textEnd;return n===t?-1:(t=me.keyEnd=Lv(e,me.key=t,n),Od(e,t,n))}function Pv(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}function Od(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Vv(e,t,n){let r=v(),o=Ke();if(ue(r,o,t)){let i=O(),s=Rn();Mo(i,s,r,e,t,r[k],n,!1)}return Vv}function us(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ys(e,n,i[s],s,r)}function kd(e,t,n){return Ld(e,t,n,!1),kd}function jv(e,t){return Ld(e,t,null,!0),jv}function YS(e){Vd(Gv,Pd,e,!0)}function Pd(e,t){for(let n=kv(t);n>=0;n=Rd(t,n))fo(e,Ov(t),!0)}function Ld(e,t,n,r){let o=v(),i=O(),s=Fs(2);if(i.firstUpdatePass&&Bd(i,e,s,r),t!==fe&&ue(o,s,t)){let a=i.data[Te()];Hd(i,a,o,o[k],e,o[s+1]=qv(t,n),r,s)}}function Vd(e,t,n,r){let o=O(),i=Fs(2);o.firstUpdatePass&&Bd(o,null,i,r);let s=v();if(n!==fe&&ue(s,i,n)){let a=o.data[Te()];if($d(a,r)&&!jd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=gi(u,n||"")),us(o,a,s,n,r)}else Wv(o,a,s,s[k],s[i+1],s[i+1]=zv(e,t,n),r,i)}}function jd(e,t){return t>=e.expandoStartIndex}function Bd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Te()],s=jd(e,n);$d(i,r)&&t===null&&!s&&(t=!1),t=Bv(o,i,t,r),Av(o,i,t,n,s,r)}}function Bv(e,t,n,r){let o=Rs(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=li(null,e,t,n,r),n=Nn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=li(o,e,t,n,r),i===null){let u=Hv(e,t,r);u!==void 0&&Array.isArray(u)&&(u=li(null,e,t,u[1],r),u=Nn(u,t.attrs,r),$v(e,t,r,u))}else i=Uv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Hv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Xt(r)!==0)return e[yt(r)]}function $v(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[yt(o)]=r}function Uv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Nn(r,s,n)}return Nn(r,t.attrs,n)}function li(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=Nn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Nn(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]),fo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function zv(e,t,n){if(n==null||n==="")return Q;let r=[],o=_o(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[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 Gv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&fo(e,r,n)}function Wv(e,t,n,r,o,i,s,a){o===fe&&(o=Q);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,g;l===d?(u+=2,c+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,g=f),h!==null&&Hd(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function Hd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=xv(c)?Ju(u,t,n,o,Xt(c),s):void 0;if(!oo(l)){oo(i)||Sv(c)&&(i=Ju(u,null,n,o,a,s));let d=Oc(Te(),n);fy(r,s,d,o,i)}}function Ju(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===fe&&(p=d?Q:void 0);let f=d?ni(p,r):l===r?p:void 0;if(c&&!oo(f)&&(f=ni(u,r)),oo(f)&&(a=f,s))return a;let h=e[o+1];o=s?yt(h):Xt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=ni(u,r))}return a}function oo(e){return e!==void 0}function qv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(_o(e)))),e}function $d(e,t){return(e.flags&(t?8:16))!==0}function KS(e,t,n){let r=v(),o=Fd(r,e,t,n);Vd(fo,Pd,o,!0)}var cs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function di(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Zv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=di(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=di(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),x=n(s,p),E=n(i,l);if(Object.is(E,x)){let S=n(u,f);Object.is(S,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new io,o??=ec(e,i,s,n),ls(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let S=e.create(i,t[i]);e.attach(i,S),i++,s++}}for(;i<=u;)Xu(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=di(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new io,o??=ec(e,i,s,n);let f=n(i,d);if(ls(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Xu(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function ls(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Xu(e,t,n,r,o){if(ls(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ec(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var io=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function JS(e,t){de("NgControlFlow");let n=v(),r=Ke(),o=n[r]!==fe?n[r]:-1,i=o!==-1?so(n,V+o):void 0,s=0;if(ue(n,r,e)){let a=_(null);try{if(i!==void 0&&od(i,s),e!==-1){let u=V+e,c=so(n,u),l=hs(n[C],u),d=Yt(c,l.tView.ssrId),p=Pn(n,l,t,{dehydratedView:d});Ln(c,p,s,Qt(l,d))}}finally{_(a)}}else if(i!==void 0){let a=rd(i,s);a!==void 0&&(a[$]=t)}}var ds=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-G}};function XS(e){return e}function e0(e,t){return t}var fs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function t0(e,t,n,r,o,i,s,a,u,c,l,d,p){de("NgControlFlow");let f=v(),h=O(),g=u!==void 0,x=v(),E=a?s.bind(x[ae][$]):s,S=new fs(g,E);x[V+e]=S,no(f,h,e+1,t,n,r,o,We(h.consts,i)),g&&no(f,h,e+2,u,c,l,d,We(h.consts,p))}var ps=class extends cs{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-G}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[Wt];this.needsIndexUpdate||=t!==this.length,Ln(this.lContainer,n,t,Qt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Qv(this.lContainer,t)}create(t,n){let r=Yt(this.lContainer,this.templateTNode.tView.ssrId),o=Pn(this.hostLView,this.templateTNode,new ds(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){To(t[C],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return Yv(this.lContainer,t)}};function n0(e){let t=_(null),n=Te();try{let r=v(),o=r[C],i=r[n],s=n+1,a=so(r,s);if(i.liveCollection===void 0){let c=hs(o,s);i.liveCollection=new ps(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(Zv(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Ke(),l=u.length===0;if(ue(r,c,l)){let d=n+2,p=so(r,d);if(l){let f=hs(o,d),h=Yt(p,f.tView.ssrId),g=Pn(r,f,void 0,{dehydratedView:h});Ln(p,g,0,Qt(f,h))}else od(p,0)}}}finally{_(t)}}function so(e,t){return e[t]}function Qv(e,t){return Mn(e,t)}function Yv(e,t){return rd(e,t)}function hs(e,t){return Ts(e,t)}function Kv(e,t,n,r,o,i){let s=t.consts,a=We(s,o),u=It(t,e,2,r,a);return Zs(t,n,u,We(s,i)),u.attrs!==null&&Jr(u,u.attrs,!1),u.mergedAttrs!==null&&Jr(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Ud(e,t,n,r){let o=v(),i=O(),s=V+e,a=o[k],u=i.firstCreatePass?Kv(s,i,o,t,n,r):i.data[s],c=Xv(i,o,u,a,t,e);o[s]=c;let l=mo(u);return Ye(u,!0),Bl(a,c,u),!Xs(u)&&Eo()&&So(i,o,c,u),xh()===0&&Et(c,o),Ah(),l&&(Gs(i,o,u),$s(i,u,o)),r!==null&&Ws(o,u),Ud}function zd(){let e=U();xs()?As():(e=e.parent,Ye(e,!1));let t=e;Rh(t)&&Oh(),Fh();let n=O();return n.firstCreatePass&&(wo(n,e),Ms(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Zh(t)&&us(n,t,v(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Qh(t)&&us(n,t,v(),t.stylesWithoutHost,!1),zd}function Jv(e,t,n,r){return Ud(e,t,n,r),zd(),Jv}var Xv=(e,t,n,r,o,i)=>(Io(!0),Vl(r,o,zh()));function eD(e,t,n,r,o){let i=t.consts,s=We(i,r),a=It(t,e,8,"ng-container",s);s!==null&&Jr(a,s,!0);let u=We(i,o);return Zs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Gd(e,t,n){let r=v(),o=O(),i=e+V,s=o.firstCreatePass?eD(i,o,r,t,n):o.data[i];Ye(s,!0);let a=nD(o,r,s,e);return r[i]=a,Eo()&&So(o,r,a,s),Et(a,r),mo(s)&&(Gs(o,r,s),$s(o,s,r)),n!=null&&Ws(r,s),Gd}function Wd(){let e=U(),t=O();return xs()?As():(e=e.parent,Ye(e,!1)),t.firstCreatePass&&(wo(t,e),Ms(e)&&t.queries.elementEnd(e)),Wd}function tD(e,t,n){return Gd(e,t,n),Wd(),tD}var nD=(e,t,n,r)=>(Io(!0),wm(t[k],""));function r0(){return v()}function rD(e,t,n){let r=v(),o=Ke();if(ue(r,o,t)){let i=O(),s=Rn();Mo(i,s,r,e,t,r[k],n,!0)}return rD}function oD(e,t,n){let r=v(),o=Ke();if(ue(r,o,t)){let i=O(),s=Rn(),a=Rs(i.data),u=Ql(a,s,r);Mo(i,s,r,e,t,u,n,!0)}return oD}var st=void 0;function iD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var sD=["en",[["a","p"],["AM","PM"],st],[["AM","PM"],st,st],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],st,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],st,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",st,"{1} 'at' {0}",st],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",iD],fi={};function ua(e){let t=aD(e),n=tc(t);if(n)return n;let r=t.split("-")[0];if(n=tc(r),n)return n;if(r==="en")return sD;throw new M(701,!1)}function tc(e){return e in fi||(fi[e]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[e]),fi[e]}var rn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(rn||{});function aD(e){return e.toLowerCase().replace(/_/g,"-")}var ao="en-US";var uD=ao;function cD(e){typeof e=="string"&&(uD=e.toLowerCase().replace(/_/g,"-"))}var lD=(e,t,n)=>{};function dD(e,t,n,r){let o=v(),i=O(),s=U();return ca(i,o,o[k],s,e,t,r),dD}function fD(e,t){let n=U(),r=v(),o=O(),i=Rs(o.data),s=Ql(i,n,r);return ca(o,r,s,n,e,t),fD}function pD(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[Lr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function ca(e,t,n,r,o,i,s){let a=mo(r),c=e.firstCreatePass&&Vc(e),l=t[$],d=Lc(t),p=!0;if(r.type&3||s){let g=ve(r,t),x=s?s(g):g,E=d.length,S=s?q=>s(Ce(q[r.index])):r.index,Y=null;if(!s&&a&&(Y=pD(e,t,o,r.index)),Y!==null){let q=Y.__ngLastListenerFn__||Y;q.__ngNextListenerFn__=i,Y.__ngLastListenerFn__=i,p=!1}else{i=rc(r,t,l,i),lD(g,o,i);let q=n.listen(x,o,i);d.push(i,q),c&&c.push(o,S,E,E+1)}}else i=rc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let x=0;x<g;x+=2){let E=h[x],S=h[x+1],j=t[E][S].subscribe(i),on=d.length;d.push(i,j),c&&c.push(o,r.index,on,-(on+1))}}}function nc(e,t,n,r){let o=_(null);try{return le(6,t,n),n(r)!==!1}catch(i){return Yl(e,i),!1}finally{le(7,t,n),_(o)}}function rc(e,t,n,r){return function o(i){if(i===Function)return r;let s=vt(e)?be(e.index,t):t;na(s,5);let a=nc(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=nc(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function o0(e=1){return $h(e)}function hD(e,t){let n=null,r=pm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ll(e,i,!0):mm(r,i))return o}return n}function i0(e){let t=v()[ae][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=rh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?hD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function s0(e,t=0,n,r,o,i){let s=v(),a=O(),u=r?e+1:null;u!==null&&no(s,a,u,r,o,i,null,n);let c=It(a,V+e,16,null,n||null);c.projection===null&&(c.projection=t),As();let d=!s[Wt]||Bc();s[ae][oe].projection[c.projection]===null&&u!==null?gD(s,a,u):d&&!Xs(c)&&ly(a,s,c)}function gD(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Yt(i,o.tView.ssrId),a=Pn(e,o,void 0,{dehydratedView:s});Ln(i,a,0,Qt(o,s))}function a0(e,t,n,r){yd(e,t,n,r)}function u0(e,t,n){md(e,t,n)}function c0(e){let t=v(),n=O(),r=Os();Do(r+1);let o=ia(n,r);if(e.dirty&&_h(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Dd(t,r);e.reset(i,gl),e.notifyOnChanges()}return!0}return!1}function l0(){return oa(v(),Os())}function d0(e,t,n,r,o){Cd(t,yd(e,n,r,o))}function f0(e,t,n,r){Cd(e,md(t,n,r))}function p0(e=1){Do(Os()+e)}function la(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function h0(e){let t=$c();return yo(t,V+e)}function g0(e,t=""){let n=v(),r=O(),o=e+V,i=r.firstCreatePass?It(r,o,1,t,null):r.data[o],s=mD(r,n,i,t,e);n[o]=s,Eo()&&So(r,n,s,i),Ye(i,!1)}var mD=(e,t,n,r,o)=>(Io(!0),Em(t[k],r));function yD(e){return qd("",e,""),yD}function qd(e,t,n){let r=v(),o=Fd(r,e,t,n);return o!==fe&&Zd(r,Te(),o),qd}function vD(e,t,n,r,o){let i=v(),s=Tv(i,e,t,n,r,o);return s!==fe&&Zd(i,Te(),s),vD}function Zd(e,t,n){let r=Oc(t,e);Im(e[k],r,n)}function DD(e,t,n){ml(t)&&(t=t());let r=v(),o=Ke();if(ue(r,o,t)){let i=O(),s=Rn();Mo(i,s,r,e,t,r[k],n,!1)}return DD}function m0(e,t){let n=ml(e);return n&&e.set(t),n}function ED(e,t){let n=v(),r=O(),o=U();return ca(r,n,n[k],o,e,t),ED}var Qd={};function ID(e){let t=O(),n=v(),r=e+V,o=It(t,r,128,null,null);return Ye(o,!1),la(t,n,r,Qd),ID}function y0(e){de("NgLet");let t=O(),n=v(),r=Te();return la(t,n,r,e),e}function v0(e){let t=$c(),n=yo(t,V+e);if(n===Qd)throw new M(314,!1);return n}function wD(e,t,n){let r=O();if(r.firstCreatePass){let o=we(e);gs(n,r.data,r.blueprint,o,!0),gs(t,r.data,r.blueprint,o,!1)}}function gs(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)gs(e[i],t,n,r,o);else{let i=O(),s=v(),a=U(),u=Gt(e)?e:H(e.provide),c=bc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Gt(e)||!e.multi){let f=new ht(c,o,Se),h=hi(u,t,o?l:l+p,d);h===-1?(Ti(zr(a,s),i,u),pi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=hi(u,t,l+p,d),h=hi(u,t,l,l+p),g=f>=0&&n[f],x=h>=0&&n[h];if(o&&!x||!o&&!g){Ti(zr(a,s),i,u);let E=_D(o?bD:CD,n.length,o,r,c);!o&&x&&(n[h].providerFactory=E),pi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=Yd(n[o?h:f],c,!o&&r);pi(i,e,f>-1?f:h,E)}!o&&r&&x&&n[h].componentProviders++}}}function pi(e,t,n,r){let o=Gt(t),i=fh(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Yd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function CD(e,t,n,r){return ms(this.multi,[])}function bD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Cn(n,n[C],this.providerFactory.index,r);i=a.slice(0,s),ms(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ms(o,i);return i}function ms(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function _D(e,t,n,r,o){let i=new ht(e,n,Se);return i.multi=[],i.index=t,i.componentProviders=0,Yd(i,o,r&&!n),i}function D0(e,t=[]){return n=>{n.providersResolver=(r,o)=>wD(r,o?o(e):e,t)}}function Kd(e,t){let n=e[t];return n===fe?void 0:n}function MD(e,t,n,r,o,i){let s=t+n;return ue(e,s,o)?Td(e,s+1,i?r.call(i,o):r(o)):Kd(e,s+1)}function TD(e,t,n,r,o,i,s){let a=t+n;return Sd(e,a,o,i)?Td(e,a+2,s?r.call(s,o,i):r(o,i)):Kd(e,a+2)}function E0(e,t){let n=O(),r,o=e+V;n.firstCreatePass?(r=SD(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=ut(r.type,!0)),s,a=te(Se);try{let u=Ur(!1),c=i();return Ur(u),la(n,v(),o,c),c}finally{te(a)}}function SD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function I0(e,t,n){let r=e+V,o=v(),i=yo(o,r);return Jd(o,r)?MD(o,zc(),t,i.transform,n,i):i.transform(n)}function w0(e,t,n,r){let o=e+V,i=v(),s=yo(i,o);return Jd(i,o)?TD(i,zc(),t,s.transform,n,r,s):s.transform(n,r)}function Jd(e,t){return e[C].data[t].pure}function C0(e,t){return xo(e,t)}var ys=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},b0=(()=>{class e{compileModuleSync(n){return new os(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=vc(n),i=kl(o.declarations).reduce((s,a)=>{let u=ze(a);return u&&s.push(new Jt(u)),s},[]);return new ys(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ND=(()=>{class e{zone=I(se);changeDetectionScheduler=I(gt);applicationRef=I(Sn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xD=new A("",{factory:()=>!1});function Xd({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new se(J(K({},ef()),{scheduleInRootZone:n})),[{provide:se,useFactory:e},{provide:kr,multi:!0,useFactory:()=>{let r=I(ND,{optional:!0});return()=>r.initialize()}},{provide:kr,multi:!0,useFactory:()=>{let r=I(AD);return()=>{r.initialize()}}},t===!0?{provide:dl,useValue:!0}:[],{provide:fl,useValue:n??ll}]}function _0(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Xd({ngZoneFactory:()=>{let o=ef(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&de("NgZone_CoalesceEvent"),new se(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return ah([{provide:xD,useValue:!0},{provide:Vs,useValue:!1},r])}function ef(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var AD=(()=>{class e{subscription=new L;initialized=!1;zone=I(se);pendingTasks=I(On);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var FD=(()=>{class e{appRef=I(Sn);taskService=I(On);ngZone=I(se);zonelessEnabled=I(Vs);tracing=I(Co,{optional:!0});disableScheduling=I(dl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(fl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ai||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Su:pl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Su(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function RD(){return typeof $localize<"u"&&$localize.locale||ao}var jn=new A("",{providedIn:"root",factory:()=>I(jn,T.Optional|T.SkipSelf)||RD()});var vs=new A(""),OD=new A("");function gn(e){return!e.moduleRef}function kD(e){let t=gn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(se);return n.run(()=>{gn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(qe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),gn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(vs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(vs);s.add(i),e.moduleRef.onDestroy(()=>{xr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return bv(r,n,()=>{let i=t.get(xd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(jn,ao);if(cD(s||ao),!t.get(OD,!0))return gn(e)?t.get(Sn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(gn(e)){let u=t.get(Sn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return PD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function PD(e,t){let n=e.injector.get(Sn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var Ar=null;function LD(e=[],t){return _e.create({name:t,providers:[{provide:Cc,useValue:"platform"},{provide:vs,useValue:new Set([()=>Ar=null])},...e]})}function VD(e=[]){if(Ar)return Ar;let t=LD(e);return Ar=t,Iv(),jD(t),t}function jD(e){let t=e.get(Tg,null);_c(e,()=>{t?.forEach(n=>n())})}var da=(()=>{class e{static __NG_ELEMENT_ID__=BD}return e})();function BD(e){return HD(U(),v(),(e&16)===16)}function HD(e,t,n){if(vt(e)&&!n){let r=be(e.index,t);return new mt(r,r)}else if(e.type&175){let r=t[ae];return new mt(r,t)}return null}function M0(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=VD(r),i=[Xd({}),{provide:gt,useExisting:FD},...n||[]],s=new to({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return kD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function $D(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function UD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function T0(e,t){de("NgSignals");let n=jo(e);return t?.equal&&(n[z].equal=t.equal),n}function zD(e){let t=_(null);try{return e()}finally{_(t)}}var tf=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=GD}return e})();function GD(){return new tf(v(),U())}var WD=!1,qD=(()=>{class e extends ro{pendingTasks=I(On);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ds=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Va(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(qe,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function ZD(){}function QD(e,t){de("NgSignals"),!t?.injector&&ho(ZD);let n=t?.injector??I(_e),r=t?.manualCleanup!==!0?n.get(tn):null,o=new Ds(n.get(qD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(da,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():(i._lView[Mr]??=[]).push(o.watcher.notify),o}var YD=WD;var Es=class{[z];constructor(t){this[z]=t}destroy(){this[z].destroy()}};function KD(e,t){if(YD)return QD(e,t);de("NgSignals"),!t?.injector&&ho(KD);let n=t?.injector??I(_e),r=t?.manualCleanup!==!0?n.get(tn):null,o,i=n.get(tf,null,{optional:!0}),s=n.get(gt);return i!==null&&!t?.forceRoot?(o=eE(i.view,s,e),r instanceof Gr&&r._lView===i.view&&(r=null)):o=tE(e,n.get(Ad),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Es(o)}var nf=J(K({},Je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:bn,run(){if(this.dirty=!1,this.hasRun&&!ln(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=bt(this),n=Br(!1);try{this.maybeCleanup(),this.fn(e)}finally{Br(n),cn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),JD=J(K({},nf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),XD=J(K({},nf),{consumerMarkedDirty(){this.view[D]|=8192,Fn(this.view),this.notifier.notify(14)},destroy(){_t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[lt]?.delete(this)}});function eE(e,t,n){let r=Object.create(XD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[lt]??=new Set,e[lt].add(r),r.consumerMarkedDirty(r),r}function tE(e,t,n){let r=Object.create(JD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}function S0(e,t){let n=ze(e),r=t.elementInjector||po();return new Jt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var lf=null;function fa(){return lf}function eN(e){lf??=e}var rf=class{};var df=new A(""),ff=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:()=>I(rE),providedIn:"platform"})}return e})();var rE=(()=>{class e extends ff{_location;_history;_doc=I(df);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fa().getBaseHref(this._doc)}onPopState(n){let r=fa().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=fa().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=P({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function pf(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function of(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function wt(e){return e&&e[0]!=="?"?"?"+e:e}var ma=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=P({token:e,factory:()=>I(iE),providedIn:"root"})}return e})(),oE=new A(""),iE=(()=>{class e extends ma{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(df).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return pf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+wt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+wt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+wt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(re(ff),re(oE,8))};static \u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sE=(()=>{class e{_subject=new X;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=cE(of(sf(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+wt(r))}normalize(n){return e.stripTrailingSlash(uE(this._basePath,sf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+wt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=wt;static joinWithSlash=pf;static stripTrailingSlash=of;static \u0275fac=function(r){return new(r||e)(re(ma))};static \u0275prov=P({token:e,factory:()=>aE(),providedIn:"root"})}return e})();function aE(){return new sE(re(ma))}function uE(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function sf(e){return e.replace(/\/index.html$/,"")}function cE(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ya=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(ya||{});var ce={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Ct(e,t){let n=ua(e),r=n[rn.NumberSymbols][t];if(typeof r>"u"){if(t===ce.CurrencyDecimal)return n[rn.NumberSymbols][ce.Decimal];if(t===ce.CurrencyGroup)return n[rn.NumberSymbols][ce.Group]}return r}function hf(e,t){return ua(e)[rn.NumberFormats][t]}var lE=/^(\d+)?\.((\d+)(-(\d+))?)?$/,af=22,Fo=".",Bn="0",dE=";",fE=",",pa="#";var pE="%";function gf(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Ct(n,ce.Infinity);else{let c=yE(e);s&&(c=mE(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let S=i.match(lE);if(S===null)throw new Error(`${i} is not a valid digit info`);let Y=S[1],q=S[3],j=S[5];Y!=null&&(l=ha(Y)),q!=null&&(d=ha(q)),j!=null?p=ha(j):q!=null&&d>p&&(p=d)}vE(c,d,p);let f=c.digits,h=c.integerLen,g=c.exponent,x=[];for(u=f.every(S=>!S);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?x=f.splice(h,f.length):(x=f,f=[0]);let E=[];for(f.length>=t.lgSize&&E.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)E.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(Ct(n,r)),x.length&&(a+=Ct(n,o)+x.join("")),g&&(a+=Ct(n,ce.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function hE(e,t,n){let r=hf(t,ya.Percent),o=mf(r,Ct(t,ce.MinusSign));return gf(e,o,t,ce.Group,ce.Decimal,n,!0).replace(new RegExp(pE,"g"),Ct(t,ce.PercentSign))}function gE(e,t,n){let r=hf(t,ya.Decimal),o=mf(r,Ct(t,ce.MinusSign));return gf(e,o,t,ce.Group,ce.Decimal,n)}function mf(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(dE),o=r[0],i=r[1],s=o.indexOf(Fo)!==-1?o.split(Fo):[o.substring(0,o.lastIndexOf(Bn)+1),o.substring(o.lastIndexOf(Bn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(pa));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===Bn?n.minFrac=n.maxFrac=l+1:d===pa?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(fE);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(pa);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function mE(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function yE(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(Fo))>-1&&(t=t.replace(Fo,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Bn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Bn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>af&&(r=r.splice(0,af-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function vE(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=i!==0,c=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,u&&(h[f]===0&&f>=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ha(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function tN(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 ga=/\s+/,uf=[],nN=(()=>{class e{_ngEl;_renderer;initialClasses=uf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ga):uf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ga):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(ga).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Se(Dt),Se(ra))};static \u0275dir=sa({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var rN=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Se(Vn))};static \u0275dir=sa({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Nc]})}return e})();function va(e,t){return new M(2100,!1)}var DE=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,oN=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw va(e,n);return n.replace(DE,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Ao({name:"titlecase",type:e,pure:!0})}return e})();var iN=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!yf(n))return null;o||=this._locale;try{let i=vf(n);return gE(i,o,r)}catch(i){throw va(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Se(jn,16))};static \u0275pipe=Ao({name:"number",type:e,pure:!0})}return e})(),sN=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!yf(n))return null;o||=this._locale;try{let i=vf(n);return hE(i,o,r)}catch(i){throw va(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Se(jn,16))};static \u0275pipe=Ao({name:"percent",type:e,pure:!0})}return e})();function yf(e){return!(e==null||e===""||e!==e)}function vf(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var EE="browser",IE="server";function aN(e){return e===EE}function uN(e){return e===IE}var cf=class{};var Ne=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ne||{}),dN="*";function fN(e,t){return{type:Ne.Trigger,name:e,definitions:t,options:{}}}function pN(e,t=null){return{type:Ne.Animate,styles:t,timings:e}}function hN(e,t=null){return{type:Ne.Group,steps:e,options:t}}function gN(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function mN(e){return{type:Ne.Style,styles:e,offset:null}}function yN(e,t,n){return{type:Ne.State,name:e,styles:t,options:n}}function vN(e,t,n=null){return{type:Ne.Transition,expr:e,animation:t,options:n}}function DN(e=null){return{type:Ne.AnimateChild,options:e}}function EN(e,t,n=null){return{type:Ne.Query,selector:e,animation:t,options:n}}var Df=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ef=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},IN="!";export{K as a,J as b,wE as c,CE as d,bE as e,_E as f,ME as g,TE as h,SE as i,wa as j,NE as k,L as l,Hf as m,N as n,Qo as o,Yo as p,X as q,dn as r,zf as s,rt as t,Ee as u,Jf as v,Xf as w,ep as x,Ae as y,tp as z,Fe as A,cp as B,Re as C,Ot as D,dp as E,fp as F,pp as G,hp as H,it as I,gp as J,lu as K,mp as L,yp as M,hn as N,Pt as O,vp as P,Dp as Q,wp as R,Cp as S,Xo as T,bp as U,_p as V,Mp as W,ti as X,Tp as Y,Sp as Z,Np as _,xp as $,hu as aa,Ap as ba,Fp as ca,M as da,uc as ea,P as fa,Pp as ga,ES as ha,A as ia,T as ja,re as ka,I as la,ah as ma,uh as na,Cc as oa,Ge as pa,_c as qa,Nc as ra,IS as sa,wS as ta,CS as ua,bS as va,_S as wa,_e as xa,Tu as ya,tn as za,gt as Aa,On as Ba,He as Ca,se as Da,qe as Ea,MS as Fa,TS as Ga,Dt as Ha,de as Ia,vg as Ja,Dg as Ka,Ri as La,SS as Ma,NS as Na,Tg as Oa,Sg as Pa,xS as Qa,AS as Ra,Co as Sa,Og as Ta,kg as Ua,_n as Va,_o as Wa,jg as Xa,FS as Ya,RS as Za,OS as _a,kS as $a,PS as ab,Sl as bb,LS as cb,Ol as db,VS as eb,jS as fb,BS as gb,Se as hb,HS as ib,Zr as jb,Tn as kb,Kr as lb,ra as mb,Vn as nb,GS as ob,WS as pb,Qe as qb,ns as rb,Xy as sb,qS as tb,rv as ub,sa as vb,Ao as wb,sv as xb,ZS as yb,pv as zb,gv as Ab,QS as Bb,aa as Cb,Ev as Db,Sn as Eb,Mv as Fb,Vv as Gb,kd as Hb,jv as Ib,YS as Jb,KS as Kb,JS as Lb,XS as Mb,e0 as Nb,t0 as Ob,n0 as Pb,Ud as Qb,zd as Rb,Jv as Sb,tD as Tb,r0 as Ub,rD as Vb,oD as Wb,dD as Xb,fD as Yb,o0 as Zb,i0 as _b,s0 as $b,a0 as ac,u0 as bc,c0 as cc,l0 as dc,d0 as ec,f0 as fc,p0 as gc,h0 as hc,g0 as ic,yD as jc,qd as kc,vD as lc,DD as mc,m0 as nc,ED as oc,ID as pc,y0 as qc,v0 as rc,D0 as sc,E0 as tc,I0 as uc,w0 as vc,C0 as wc,b0 as xc,_0 as yc,da as zc,M0 as Ac,$D as Bc,UD as Cc,T0 as Dc,zD as Ec,KD as Fc,S0 as Gc,fa as Hc,eN as Ic,rf as Jc,df as Kc,sE as Lc,tN as Mc,nN as Nc,rN as Oc,oN as Pc,iN as Qc,sN as Rc,EE as Sc,aN as Tc,uN as Uc,cf as Vc,Ne as Wc,dN as Xc,fN as Yc,pN as Zc,hN as _c,gN as $c,mN as ad,yN as bd,vN as cd,DN as dd,EN as ed,Df as fd,Ef as gd,IN as hd};
|