multimodalsim-viewer 0.0.2__py3-none-any.whl → 0.1.0.0__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.
Files changed (43) hide show
  1. multimodalsim_viewer/common/environments/.env +2 -0
  2. multimodalsim_viewer/common/utils.py +11 -48
  3. multimodalsim_viewer/models/__init__.py +0 -0
  4. multimodalsim_viewer/models/environment.py +70 -0
  5. multimodalsim_viewer/models/leg.py +194 -0
  6. multimodalsim_viewer/models/passenger.py +148 -0
  7. multimodalsim_viewer/models/serializable.py +43 -0
  8. multimodalsim_viewer/models/simulation_information.py +84 -0
  9. multimodalsim_viewer/models/state.py +44 -0
  10. multimodalsim_viewer/models/stop.py +114 -0
  11. multimodalsim_viewer/models/update.py +616 -0
  12. multimodalsim_viewer/models/vehicle.py +151 -0
  13. multimodalsim_viewer/server/{simulation_visualization_data_collector.py → data_collector.py} +185 -198
  14. multimodalsim_viewer/server/data_manager.py +567 -0
  15. multimodalsim_viewer/server/http_routes.py +4 -7
  16. multimodalsim_viewer/server/log_manager.py +2 -2
  17. multimodalsim_viewer/server/server.py +8 -10
  18. multimodalsim_viewer/server/simulation.py +4 -5
  19. multimodalsim_viewer/server/simulation_manager.py +22 -23
  20. multimodalsim_viewer/ui/static/chunk-BQ2VC5TN.js +7 -0
  21. multimodalsim_viewer/ui/static/{chunk-IGIP6IOU.js → chunk-RHGMGEGM.js} +1 -1
  22. multimodalsim_viewer/ui/static/environment.json +2 -0
  23. multimodalsim_viewer/ui/static/images/undefined-texture.png +0 -0
  24. multimodalsim_viewer/ui/static/images/zoomed-out-stop.png +0 -0
  25. multimodalsim_viewer/ui/static/index.html +2 -2
  26. multimodalsim_viewer/ui/static/main-EAYQBWLP.js +3648 -0
  27. multimodalsim_viewer/ui/static/scripts/load-environment.script.js +1 -1
  28. multimodalsim_viewer/ui/static/styles-257KETL3.css +1 -0
  29. {multimodalsim_viewer-0.0.2.dist-info → multimodalsim_viewer-0.1.0.0.dist-info}/METADATA +6 -12
  30. multimodalsim_viewer-0.1.0.0.dist-info/RECORD +53 -0
  31. multimodalsim_viewer/server/simulation_visualization_data_model.py +0 -1552
  32. multimodalsim_viewer/ui/static/chunk-6VAXIXEZ.js +0 -7
  33. multimodalsim_viewer/ui/static/main-FGMGJ32M.js +0 -3648
  34. multimodalsim_viewer/ui/static/styles-KU7LTPET.css +0 -1
  35. multimodalsim_viewer-0.0.2.dist-info/RECORD +0 -41
  36. /multimodalsim_viewer/ui/static/images/{sample-wait.png → passenger.png} +0 -0
  37. /multimodalsim_viewer/ui/static/images/{sample-stop.png → stop.png} +0 -0
  38. /multimodalsim_viewer/ui/static/images/{sample-bus.png → vehicle.png} +0 -0
  39. /multimodalsim_viewer/ui/static/images/{zoom-out-passenger.png → zoomed-out-passenger.png} +0 -0
  40. /multimodalsim_viewer/ui/static/images/{zoom-out-vehicle.png → zoomed-out-vehicle.png} +0 -0
  41. {multimodalsim_viewer-0.0.2.dist-info → multimodalsim_viewer-0.1.0.0.dist-info}/WHEEL +0 -0
  42. {multimodalsim_viewer-0.0.2.dist-info → multimodalsim_viewer-0.1.0.0.dist-info}/entry_points.txt +0 -0
  43. {multimodalsim_viewer-0.0.2.dist-info → multimodalsim_viewer-0.1.0.0.dist-info}/top_level.txt +0 -0
@@ -14,10 +14,8 @@ from multimodalsim_viewer.common.utils import (
14
14
  get_session_id,
15
15
  log,
16
16
  )
17
+ from multimodalsim_viewer.server.data_manager import SimulationVisualizationDataManager
17
18
  from multimodalsim_viewer.server.simulation import run_simulation
18
- from multimodalsim_viewer.server.simulation_visualization_data_model import (
19
- SimulationVisualizationDataManager,
20
- )
21
19
 
22
20
 
23
21
  class SimulationHandler: # pylint: disable=too-many-instance-attributes, too-few-public-methods
@@ -391,7 +389,7 @@ class SimulationManager:
391
389
  self,
392
390
  simulation_id: str,
393
391
  visualization_time: float,
394
- loaded_state_orders: list[int],
392
+ complete_state_update_indexes: list[int],
395
393
  ) -> None:
396
394
  if simulation_id not in self.simulations:
397
395
  log(
@@ -404,32 +402,16 @@ class SimulationManager:
404
402
  simulation = self.simulations[simulation_id]
405
403
 
406
404
  try:
407
- (
408
- missing_states,
409
- missing_updates,
410
- state_orders_to_keep,
411
- should_request_more,
412
- first_continuous_state_order,
413
- last_continuous_state_order,
414
- necessary_state_order,
415
- ) = SimulationVisualizationDataManager.get_missing_states(
405
+ (missing_states, missing_updates, has_all_states) = SimulationVisualizationDataManager.get_missing_states(
416
406
  simulation_id,
417
407
  visualization_time,
418
- loaded_state_orders,
408
+ complete_state_update_indexes,
419
409
  simulation.status not in RUNNING_SIMULATION_STATUSES,
420
410
  )
421
411
 
422
412
  emit(
423
413
  "missing-simulation-states",
424
- (
425
- missing_states,
426
- missing_updates,
427
- state_orders_to_keep,
428
- should_request_more,
429
- first_continuous_state_order,
430
- last_continuous_state_order,
431
- necessary_state_order,
432
- ),
414
+ (missing_states, missing_updates, has_all_states),
433
415
  to=get_session_id(),
434
416
  )
435
417
 
@@ -568,3 +550,20 @@ class SimulationManager:
568
550
  self.simulations[simulation_id] = simulation
569
551
 
570
552
  SimulationVisualizationDataManager.mark_simulation_as_corrupted(simulation_id)
553
+
554
+ def get_all_simulation_states(self, simulation_id: str) -> None:
555
+ if simulation_id not in self.simulations:
556
+ log(
557
+ f"{__file__} {inspect.currentframe().f_lineno}: Simulation {simulation_id} not found",
558
+ "server",
559
+ logging.ERROR,
560
+ )
561
+ return
562
+
563
+ states, updates = SimulationVisualizationDataManager.get_all_simulation_states(simulation_id)
564
+
565
+ emit(
566
+ "all-simulation-states",
567
+ (states, updates),
568
+ to=CLIENT_ROOM,
569
+ )
@@ -0,0 +1,7 @@
1
+ var Zf=Object.create;var yn=Object.defineProperty,Qf=Object.defineProperties,Yf=Object.getOwnPropertyDescriptor,Kf=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertyNames,Jn=Object.getOwnPropertySymbols,Xf=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable;var Xo=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ep=e=>{throw TypeError(e)};var $a=(e,t,n)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t)=>{for(var n in t||={})ei.call(t,n)&&$a(e,n,t[n]);if(Jn)for(var n of Jn(t))Ua.call(t,n)&&$a(e,n,t[n]);return e},oe=(e,t)=>Qf(e,Kf(t));var yI=(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 vI=(e,t)=>{var n={};for(var r in e)ei.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Jn)for(var r of Jn(e))t.indexOf(r)<0&&Ua.call(e,r)&&(n[r]=e[r]);return n};var DI=(e,t)=>()=>(e&&(t=e(e=0)),t);var EI=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),II=(e,t)=>{for(var n in t)yn(e,n,{get:t[n],enumerable:!0})},za=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jf(t))!ei.call(e,o)&&o!==n&&yn(e,o,{get:()=>t[o],enumerable:!(r=Yf(t,o))||r.enumerable});return e};var wI=(e,t,n)=>(n=e!=null?Zf(Xf(e)):{},za(t||!e||!e.__esModule?yn(n,"default",{value:e,enumerable:!0}):n,e)),CI=e=>za(yn({},"__esModule",{value:!0}),e);var Ga=(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())}),tp=function(e,t){this[0]=e,this[1]=t};var bI=e=>{var t=e[Xo("asyncIterator")],n=!1,r,o={};return t==null?(t=e[Xo("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 tp(new Promise(a=>{var u=t[i](s);u instanceof Object||ep("Object expected"),a(u)}),1)}}),o[Xo("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o};function qa(e,t){return Object.is(e,t)}var z=null,vn=!1,oi=1,Q=Symbol("SIGNAL");function _(e){let t=z;return z=e,t}function Za(){return z}function np(){return vn}var ct={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 er(e){if(vn)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.nextProducerIndex++;if(nr(z),t<z.producerNode.length&&z.producerNode[t]!==e&&Dn(z)){let n=z.producerNode[t];tr(n,z.producerIndexOfThis[t])}z.producerNode[t]!==e&&(z.producerNode[t]=e,z.producerIndexOfThis[t]=Dn(z)?Xa(e,z,t):0),z.producerLastReadVersion[t]=e.version}function rp(){oi++}function Qa(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===oi)){if(!e.producerMustRecompute(e)&&!In(e)){Wa(e);return}e.producerRecomputeValue(e),Wa(e)}}function Ya(e){if(e.liveConsumerNode===void 0)return;let t=vn;vn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ja(n)}finally{vn=t}}function Ka(){return z?.consumerAllowSignalWrites!==!1}function Ja(e){e.dirty=!0,Ya(e),e.consumerMarkedDirty?.(e)}function Wa(e){e.dirty=!1,e.lastCleanEpoch=oi}function Ot(e){return e&&(e.nextProducerIndex=0),_(e)}function En(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)tr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function In(e){nr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Qa(n),r!==n.version))return!0}return!1}function kt(e){if(nr(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)tr(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(eu(e),e.liveConsumerNode.length===0&&tu(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 tr(e,t){if(eu(e),e.liveConsumerNode.length===1&&tu(e))for(let r=0;r<e.producerNode.length;r++)tr(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];nr(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function nr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function eu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function tu(e){return e.producerNode!==void 0}function ii(e){let t=Object.create(op);t.computation=e;let n=()=>{if(Qa(t),er(t),t.value===Xn)throw t.error;return t.value};return n[Q]=t,n}var ti=Symbol("UNSET"),ni=Symbol("COMPUTING"),Xn=Symbol("ERRORED"),op=oe(re({},ct),{value:ti,dirty:!0,error:null,equal:qa,kind:"computed",producerMustRecompute(e){return e.value===ti||e.value===ni},producerRecomputeValue(e){if(e.value===ni)throw new Error("Detected cycle in computations.");let t=e.value;e.value=ni;let n=Ot(e),r,o=!1;try{r=e.computation(),_(null),o=t!==ti&&t!==Xn&&r!==Xn&&e.equal(t,r)}catch(i){r=Xn,e.error=i}finally{En(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ip(){throw new Error}var nu=ip;function ru(){nu()}function ou(e){nu=e}var sp=null;function iu(e){let t=Object.create(si);t.value=e;let n=()=>(er(t),t.value);return n[Q]=t,n}function rr(e,t){Ka()||ru(),e.equal(e.value,t)||(e.value=t,ap(e))}function su(e,t){Ka()||ru(),rr(e,t(e.value))}var si=oe(re({},ct),{equal:qa,value:void 0,kind:"signal"});function ap(e){e.version++,rp(),Ya(e),sp?.()}function au(e,t,n){let r=Object.create(up);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)||(kt(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=ri)}let a=()=>{if(r.fn===null)return;if(np())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!In(r))return;r.hasRun=!0;let u=Ot(r);try{r.cleanupFn(),r.cleanupFn=ri,r.fn(o)}finally{En(r,u)}};return r.ref={notify:()=>Ja(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Q]:r},r.ref}var ri=()=>{},up=oe(re({},ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ri});function w(e){return typeof e=="function"}function Pt(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 or=Pt(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 lt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof or?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{uu(i)}catch(s){t=t??[],s instanceof or?t=[...t,...s.errors]:t.push(s)}}if(t)throw new or(t)}}add(t){var n;if(t&&t!==this)if(this.closed)uu(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)&&lt(n,t)}remove(t){let{_finalizers:n}=this;n&&lt(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var ai=j.EMPTY;function ir(e){return e instanceof j||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function uu(e){w(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Lt={setTimeout(e,t,...n){let{delegate:r}=Lt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Lt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sr(e){Lt.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function dt(){}var cu=ui("C",void 0,void 0);function lu(e){return ui("E",void 0,e)}function du(e){return ui("N",e,void 0)}function ui(e,t,n){return{kind:e,value:t,error:n}}var ft=null;function Vt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ft;if(ft=null,n)throw r}}else e()}function fu(e){we.useDeprecatedSynchronousErrorHandling&&ft&&(ft.errorThrown=!0,ft.error=e)}var pt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ir(t)&&t.add(this)):this.destination=dp}static create(t,n,r){return new Ce(t,n,r)}next(t){this.isStopped?li(du(t),this):this._next(t)}error(t){this.isStopped?li(lu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?li(cu,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()}}},cp=Function.prototype.bind;function ci(e,t){return cp.call(e,t)}var di=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ar(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ar(r)}else ar(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ar(n)}}},Ce=class extends pt{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&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ci(t.next,i),error:t.error&&ci(t.error,i),complete:t.complete&&ci(t.complete,i)}):o=t}this.destination=new di(o)}};function ar(e){we.useDeprecatedSynchronousErrorHandling?fu(e):sr(e)}function lp(e){throw e}function li(e,t){let{onStoppedNotification:n}=we;n&&Lt.setTimeout(()=>n(e,t))}var dp={closed:!0,next:dt,error:lp,complete:dt};var jt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function X(e){return e}function fp(...e){return fi(e)}function fi(e){return e.length===0?X:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=hp(n)?n:new Ce(n,r,o);return Vt(()=>{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=pu(r),new r((o,i)=>{let s=new Ce({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)}[jt](){return this}pipe(...n){return fi(n)(this)}toPromise(n){return n=pu(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 pu(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function pp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function hp(e){return e&&e instanceof pt||pp(e)&&ir(e)}function pi(e){return w(e?.lift)}function v(e){return t=>{if(pi(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 y(e,t,n,r,o){return new hi(e,t,n,r,o)}var hi=class extends pt{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 gi(){return v((e,t)=>{let n=null;e._refCount++;let r=y(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 mi=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,pi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return gi()(this)}};var Bt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Bt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Bt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Bt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var hu=Pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ur(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hu}next(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Vt(()=>{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(){Vt(()=>{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?ai:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,lt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new ur(t,n),e})(),ur=class extends ie{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:ai}};var wn=class extends ie{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 Cn={now(){return(Cn.delegate||Date).now()},delegate:void 0};var cr=class extends ie{constructor(t=1/0,n=1/0,r=Cn){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 lr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var bn={setInterval(e,t,...n){let{delegate:r}=bn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=bn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ht=class extends lr{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 bn.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&&bn.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,lt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var $t=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)}};$t.now=Cn.now;var Ut=class extends $t{constructor(t,n=$t.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 Be=new Ut(Ht),gu=Be;var dr=class extends Ht{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=Bt.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&&(Bt.cancelAnimationFrame(n),t._scheduled=void 0)}};var fr=class extends Ut{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 gp=new fr(dr);var ht=new x(e=>e.complete());function pr(e){return e&&w(e.schedule)}function yi(e){return e[e.length-1]}function hr(e){return w(yi(e))?e.pop():void 0}function xe(e){return pr(yi(e))?e.pop():void 0}function mu(e,t){return typeof yi(e)=="number"?e.pop():t}function vu(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 yu(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 gt(e){return this instanceof gt?(this.v=e,this):new gt(e)}function Du(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(S,E){i.push([f,g,S,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 gt?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 Eu(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 yu=="function"?yu(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 gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function mr(e){return w(e?.then)}function yr(e){return w(e[jt])}function vr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Dr(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 mp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Er=mp();function Ir(e){return w(e?.[Er])}function wr(e){return Du(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield gt(n.read());if(o)return yield gt(void 0);yield yield gt(r)}}finally{n.releaseLock()}})}function Cr(e){return w(e?.getReader)}function F(e){if(e instanceof x)return e;if(e!=null){if(yr(e))return yp(e);if(gr(e))return vp(e);if(mr(e))return Dp(e);if(vr(e))return Iu(e);if(Ir(e))return Ep(e);if(Cr(e))return Ip(e)}throw Dr(e)}function yp(e){return new x(t=>{let n=e[jt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vp(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Dp(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sr)})}function Ep(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Iu(e){return new x(t=>{wp(e,t).catch(n=>t.error(n))})}function Ip(e){return Iu(wr(e))}function wp(e,t){var n,r,o,i;return vu(this,void 0,void 0,function*(){try{for(n=Eu(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 se(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 br(e,t=0){return v((n,r)=>{n.subscribe(y(r,o=>se(r,e,()=>r.next(o),t),()=>se(r,e,()=>r.complete(),t),o=>se(r,e,()=>r.error(o),t)))})}function _r(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function wu(e,t){return F(e).pipe(_r(t),br(t))}function Cu(e,t){return F(e).pipe(_r(t),br(t))}function bu(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function _u(e,t){return new x(n=>{let r;return se(n,t,()=>{r=e[Er](),se(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 Mr(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{se(n,t,()=>{let r=e[Symbol.asyncIterator]();se(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Mu(e,t){return Mr(wr(e),t)}function Tu(e,t){if(e!=null){if(yr(e))return wu(e,t);if(gr(e))return bu(e,t);if(mr(e))return Cu(e,t);if(vr(e))return Mr(e,t);if(Ir(e))return _u(e,t);if(Cr(e))return Mu(e,t)}throw Dr(e)}function Ae(e,t){return t?Tu(e,t):F(e)}function Cp(...e){let t=xe(e);return Ae(e,t)}function bp(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function _p(e){return!!e&&(e instanceof x||w(e.lift)&&w(e.subscribe))}var He=Pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Mp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ce({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new He)}});e.subscribe(i)})}function Su(e){return e instanceof Date&&!isNaN(e)}function $e(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Tp}=Array;function Sp(e,t){return Tp(t)?e(...t):e(t)}function Tr(e){return $e(t=>Sp(e,t))}var{isArray:Np}=Array,{getPrototypeOf:xp,prototype:Ap,keys:Fp}=Object;function Sr(e){if(e.length===1){let t=e[0];if(Np(t))return{args:t,keys:null};if(Rp(t)){let n=Fp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Rp(e){return e&&typeof e=="object"&&xp(e)===Ap}function Nr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Op(...e){let t=xe(e),n=hr(e),{args:r,keys:o}=Sr(e);if(r.length===0)return Ae([],t);let i=new x(kp(r,t,o?s=>Nr(o,s):X));return n?i.pipe(Tr(n)):i}function kp(e,t,n=X){return r=>{Nu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Nu(t,()=>{let c=Ae(e[u],t),l=!1;c.subscribe(y(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Nu(e,t,n){e?se(n,e,t):t()}function xu(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 S=!1;F(n(g,l++)).subscribe(y(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<r;){let E=u.shift();s?se(t,s,()=>h(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ue(e,t,n=1/0){return w(t)?Ue((r,o)=>$e((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>xu(r,o,e,n)))}function xr(e=1/0){return Ue(X,e)}function Au(){return xr(1)}function zt(...e){return Au()(Ae(e,xe(e)))}function Pp(e){return new x(t=>{F(e()).subscribe(t)})}function Lp(...e){let t=hr(e),{args:n,keys:r}=Sr(e),o=new x(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(y(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Nr(r,a):a),i.complete())}))}});return t?o.pipe(Tr(t)):o}function Gt(e=0,t,n=gu){let r=-1;return t!=null&&(pr(t)?n=t:r=t),new x(o=>{let i=Su(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 Vp(e=0,t=Be){return e<0&&(e=0),Gt(e,e,t)}function jp(...e){let t=xe(e),n=mu(e,1/0),r=e;return r.length?r.length===1?F(r[0]):xr(n)(Ae(r,t)):ht}function mt(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fu(e){return v((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(y(n,c=>{r=!0,o=c,i||F(e(c)).subscribe(i=y(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Bp(e,t=Be){return Fu(()=>Gt(e,t))}function Ru(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=F(e(s,Ru(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ou(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(y(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 Hp(e,t){return w(t)?Ue(e,t,1):Ue(e,1)}function $p(e,t=Be){return v((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(y(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 _n(e){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Wt(e){return e<=0?()=>ht:v((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ku(){return v((e,t)=>{e.subscribe(y(t,dt))})}function Pu(e){return $e(()=>e)}function vi(e,t){return t?n=>zt(t.pipe(Wt(1),ku()),n.pipe(vi(e))):Ue((n,r)=>F(e(n,r)).pipe(Wt(1),Pu(n)))}function Up(e,t=Be){let n=Gt(e,t);return vi(()=>n)}function zp(e,t=X){return e=e??Gp,v((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Gp(e,t){return e===t}function Ar(e=Wp){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Wp(){return new He}function qp(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Zp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):X,Wt(1),n?_n(t):Ar(()=>new He))}function Di(e){return e<=0?()=>ht:v((t,n)=>{let r=[];t.subscribe(y(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 Qp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):X,Di(1),n?_n(t):Ar(()=>new He))}function Yp(){return v((e,t)=>{let n,r=!1;e.subscribe(y(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Kp(e,t){return v(Ou(e,t,arguments.length>=2,!0))}function Ii(e={}){let{connector:t=()=>new ie,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 v((g,S)=>{c++,!d&&!l&&p();let E=u=u??t();S.add(()=>{c--,c===0&&!d&&!l&&(a=Ei(h,o))}),E.subscribe(S),!s&&c>0&&(s=new Ce({next:N=>E.next(N),error:N=>{d=!0,p(),a=Ei(f,n,N),E.error(N)},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 Ce({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Jp(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,Ii({connector:()=>new cr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Xp(e){return mt((t,n)=>e<=n)}function eh(...e){let t=xe(e);return v((n,r)=>{(t?zt(e,n,t):zt(e,n)).subscribe(r)})}function th(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,u=>{o?.unsubscribe();let c=0,l=i++;F(e(u,l)).subscribe(o=y(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Lu(e){return v((t,n)=>{F(e).subscribe(y(n,()=>n.complete(),dt)),!n.closed&&t.subscribe(n)})}function nh(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function rh(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(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)}))}):X}var Tc="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Sc(t,n)),this.code=t}};function Sc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Nc=Symbol("InputSignalNode#UNSET"),oh=oe(re({},si),{transformFn:void 0,applyValueToInputSignal(e,t){rr(e,t)}});function xc(e,t){let n=Object.create(oh);n.value=e,n.transformFn=t?.transform;function r(){if(er(n),n.value===Nc)throw new M(-950,!1);return n.value}return r[Q]=n,r}function Eo(e){return{toString:e}.toString()}var qt=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function ih(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ue(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ue).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 ki(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var sh=O({__forward_ref__:O});function Ac(e){return e.__forward_ref__=Ac,e.toString=function(){return ue(this())},e}function G(e){return Fc(e)?e():e}function Fc(e){return typeof e=="function"&&e.hasOwnProperty(sh)&&e.__forward_ref__===Ac}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ah(e){return{providers:e.providers||[],imports:e.imports||[]}}function Io(e){return Vu(e,Rc)||Vu(e,Oc)}function g0(e){return Io(e)!==null}function Vu(e,t){return e.hasOwnProperty(t)?e[t]:null}function uh(e){let t=e&&(e[Rc]||e[Oc]);return t||null}function ju(e){return e&&(e.hasOwnProperty(Bu)||e.hasOwnProperty(ch))?e[Bu]:null}var Rc=O({\u0275prov:O}),Bu=O({\u0275inj:O}),Oc=O({ngInjectableDef:O}),ch=O({ngInjectorDef:O}),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=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function kc(e){return e&&!!e.\u0275providers}var lh=O({\u0275cmp:O}),dh=O({\u0275dir:O}),fh=O({\u0275pipe:O}),ph=O({\u0275mod:O}),Ur=O({\u0275fac:O}),Nn=O({__NG_ELEMENT_ID__:O}),Hu=O({__NG_ENV_ID__:O});function en(e){return typeof e=="string"?e:e==null?"":String(e)}function hh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():en(e)}function gh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Hs(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||{}),Pi;function Pc(){return Pi}function ae(e){let t=Pi;return Pi=e,t}function Lc(e,t,n){let r=Io(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;Hs(e,"Injector")}var mh={},xn=mh,yh="__NG_DI_FLAG__",zr="ngTempTokenPath",vh="ngTokenPath",Dh=/\n/gm,Eh="\u0275",$u="__source",Jt;function Ih(){return Jt}function Ke(e){let t=Jt;return Jt=e,t}function wh(e,t=T.Default){if(Jt===void 0)throw new M(-203,!1);return Jt===null?Lc(e,void 0,t):Jt.get(e,t&T.Optional?null:void 0,t)}function ce(e,t=T.Default){return(Pc()||wh)(G(e),t)}function I(e,t=T.Default){return ce(e,wo(t))}function wo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Li(e){let t=[];for(let n=0;n<e.length;n++){let r=G(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=Ch(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(ce(o,i))}else t.push(ce(r))}return t}function Ch(e){return e[yh]}function bh(e,t,n,r){let o=e[zr];throw t[$u]&&o.unshift(t[$u]),e.message=_h(`
5
+ `+e.message,o,n,r),e[vh]=o,e[zr]=null,e}function _h(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Eh?e.slice(2):e;let o=ue(t);if(Array.isArray(t))o=t.map(ue).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):ue(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Dh,`
7
+ `)}`}function Dt(e,t){let n=e.hasOwnProperty(Ur);return n?e[Ur]:null}function Mh(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 Th(e){return e.flat(Number.POSITIVE_INFINITY)}function $s(e,t){e.forEach(n=>Array.isArray(n)?$s(n,t):t(n))}function Vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Nh(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 Co(e,t,n){let r=Hn(e,t);return r>=0?e[r|1]=n:(r=~r,Nh(e,r,t,n)),r}function wi(e,t){let n=Hn(e,t);if(n>=0)return e[n|1]}function Hn(e,t){return xh(e,t,1)}function xh(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 ze={},ee=[],Wr=new A(""),jc=new A("",-1),Bc=new A(""),qr=class{get(t,n=xn){if(n===xn){let r=new Error(`NullInjectorError: No provider for ${ue(t)}!`);throw r.name="NullInjectorError",r}return n}};function Hc(e,t){let n=e[ph]||null;if(!n&&t===!0)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function tt(e){return e[lh]||null}function Us(e){return e[dh]||null}function $c(e){return e[fh]||null}function Ah(e){let t=tt(e)||Us(e)||$c(e);return t!==null&&t.standalone}function Fh(e){return{\u0275providers:e}}function Rh(...e){return{\u0275providers:Uc(!0,e),\u0275fromNgModule:!0}}function Uc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return $s(t,s=>{let a=s;Vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zc(o,i),n}function zc(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];zs(o,i=>{t(i,r)})}}function Vi(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=ju(e),s=!i&&tt(e);if(!i&&!s){let u=e.ngModule;if(i=ju(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{$s(i.imports,l=>{Vi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&zc(c,t)}if(!a){let c=Dt(o)||(()=>new o);t({provide:o,useFactory:c,deps:ee},o),t({provide:Bc,useValue:o,multi:!0},o),t({provide:Wr,useValue:()=>ce(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;zs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function zs(e,t){for(let n of e)kc(n)&&(n=n.\u0275providers),Array.isArray(n)?zs(n,t):t(n)}var Oh=O({provide:String,useValue:O});function Gc(e){return e!==null&&typeof e=="object"&&Oh in e}function kh(e){return!!(e&&e.useExisting)}function Ph(e){return!!(e&&e.useFactory)}function tn(e){return typeof e=="function"}function Lh(e){return!!e.useClass}var Wc=new A(""),Pr={},Vh={},Ci;function bo(){return Ci===void 0&&(Ci=new qr),Ci}var nt=class{},An=class extends nt{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,Bi(t,s=>this.processProvider(s)),this.records.set(jc,Zt(void 0,this)),o.has("environment")&&this.records.set(nt,Zt(void 0,this));let i=this.records.get(Wc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bc,ee,T.Self))}destroy(){Tn(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 Tn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Tn(this);let n=Ke(this),r=ae(void 0),o;try{return t()}finally{Ke(n),ae(r)}}get(t,n=xn,r=T.Default){if(Tn(this),t.hasOwnProperty(Hu))return t[Hu](this);r=wo(r);let o,i=Ke(this),s=ae(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Uh(t)&&Io(t);c&&this.injectableDefInScope(c)?u=Zt(ji(t),Pr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&T.Self?bo():this.parent;return n=r&T.Optional&&n===xn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[zr]=a[zr]||[]).unshift(ue(t)),i)throw a;return bh(a,t,"R3InjectorError",this.source)}else throw a}finally{ae(s),Ke(i)}}resolveInjectorInitializers(){let t=_(null),n=Ke(this),r=ae(void 0),o;try{let i=this.get(Wr,ee,T.Self);for(let s of i)s()}finally{Ke(n),ae(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ue(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=G(t);let n=tn(t)?t:G(t&&t.provide),r=Bh(t);if(!tn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Zt(void 0,Pr,!0),o.factory=()=>Li(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===Pr&&(n.value=Vh,n.value=n.factory()),typeof n.value=="object"&&n.value&&$h(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(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 ji(e){let t=Io(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof A)throw new M(204,!1);if(e instanceof Function)return jh(e);throw new M(204,!1)}function jh(e){if(e.length>0)throw new M(204,!1);let n=uh(e);return n!==null?()=>n.factory(e):()=>new e}function Bh(e){if(Gc(e))return Zt(void 0,e.useValue);{let t=qc(e);return Zt(t,Pr)}}function qc(e,t,n){let r;if(tn(e)){let o=G(e);return Dt(o)||ji(o)}else if(Gc(e))r=()=>G(e.useValue);else if(Ph(e))r=()=>e.useFactory(...Li(e.deps||[]));else if(kh(e))r=()=>ce(G(e.useExisting));else{let o=G(e&&(e.useClass||e.provide));if(Hh(e))r=()=>new o(...Li(e.deps));else return Dt(o)||ji(o)}return r}function Tn(e){if(e.destroyed)throw new M(205,!1)}function Zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hh(e){return!!e.deps}function $h(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Uh(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Bi(e,t){for(let n of e)Array.isArray(n)?Bi(n,t):n&&kc(n)?Bi(n.\u0275providers,t):t(n)}function Zc(e,t){e instanceof An&&Tn(e);let n,r=Ke(e),o=ae(void 0);try{return t()}finally{Ke(r),ae(o)}}function Qc(){return Pc()!==void 0||Ih()!=null}function _o(e){if(!Qc())throw new M(-203,!1)}function zh(e){return typeof e=="function"}var Le=0,C=1,D=2,K=3,Me=4,le=5,nn=6,Zr=7,W=8,Fn=9,Ge=10,L=11,Rn=12,Uu=13,dn=14,he=15,Et=16,Qt=17,We=18,Mo=19,Yc=20,Xe=21,Lr=22,It=23,fe=24,H=25,Gs=1;var wt=7,Qr=8,rn=9,Y=10;function et(e){return Array.isArray(e)&&typeof e[Gs]=="object"}function Ze(e){return Array.isArray(e)&&e[Gs]===!0}function Ws(e){return(e.flags&4)!==0}function Nt(e){return e.componentOffset>-1}function To(e){return(e.flags&1)===1}function Re(e){return!!e.template}function Yr(e){return(e[D]&512)!==0}function $n(e){return(e[D]&256)===256}var Hi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Kc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Jc=(()=>{let e=()=>Xc;return e.ngInherit=!0,e})();function Xc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Wh),Gh}function Gh(){let e=tl(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Wh(e,t,n,r,o){let i=this.declaredInputs[r],s=tl(e)||qh(e,{previous:ze,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Hi(c&&c.currentValue,n,u===ze),Kc(e,t,o,n)}var el="__ngSimpleChanges__";function tl(e){return e[el]||null}function qh(e,t){return e[el]=t}var zu=null;var De=function(e,t,n){zu?.(e,t,n)},nl="svg",Zh="math";function Oe(e){for(;Array.isArray(e);)e=e[Le];return e}function Qh(e){for(;Array.isArray(e);){if(typeof e[Gs]=="object")return e;e=e[Le]}return null}function rl(e,t){return Oe(t[e])}function Te(e,t){return Oe(t[e.index])}function qs(e,t){return e.data[t]}function So(e,t){return e[t]}function ke(e,t){let n=t[e];return et(n)?n:n[Le]}function Yh(e){return(e[D]&4)===4}function Zs(e){return(e[D]&128)===128}function Kh(e){return Ze(e[K])}function rt(e,t){return t==null?null:e[t]}function ol(e){e[Qt]=0}function Qs(e){e[D]&1024||(e[D]|=1024,Zs(e)&&Un(e))}function Jh(e,t){for(;e>0;)t=t[dn],e--;return t}function No(e){return!!(e[D]&9216||e[fe]?.dirty)}function $i(e){e[Ge].changeDetectionScheduler?.notify(9),e[D]&64&&(e[D]|=1024),No(e)&&Un(e)}function Un(e){e[Ge].changeDetectionScheduler?.notify(0);let t=Ct(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Zs(t)));)t=Ct(t)}function il(e,t){if($n(e))throw new M(911,!1);e[Xe]===null&&(e[Xe]=[]),e[Xe].push(t)}function Xh(e,t){if(e[Xe]===null)return;let n=e[Xe].indexOf(t);n!==-1&&e[Xe].splice(n,1)}function Ct(e){let t=e[K];return Ze(t)?t[K]:t}function sl(e){return e[Zr]??=[]}function al(e){return e.cleanup??=[]}function eg(e,t,n,r){let o=sl(t);o.push(n),e.firstCreatePass&&al(e).push(r,o.length-1)}var b={lFrame:gl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ui=!1;function tg(){return b.lFrame.elementDepthCount}function ng(){b.lFrame.elementDepthCount++}function rg(){b.lFrame.elementDepthCount--}function ul(){return b.bindingsEnabled}function cl(){return b.skipHydrationRootTNode!==null}function og(e){return b.skipHydrationRootTNode===e}function ig(){b.skipHydrationRootTNode=null}function m(){return b.lFrame.lView}function R(){return b.lFrame.tView}function m0(e){return b.lFrame.contextLView=e,e[W]}function y0(e){return b.lFrame.contextLView=null,e}function q(){let e=ll();for(;e!==null&&e.type===64;)e=e.parent;return e}function ll(){return b.lFrame.currentTNode}function sg(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function at(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ys(){return b.lFrame.isParent}function Ks(){b.lFrame.isParent=!1}function dl(){return b.lFrame.contextLView}function fl(){return Ui}function Kr(e){let t=Ui;return Ui=e,t}function xo(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ag(){return b.lFrame.bindingIndex}function ug(e){return b.lFrame.bindingIndex=e}function ut(){return b.lFrame.bindingIndex++}function Js(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cg(){return b.lFrame.inI18n}function lg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,zi(t)}function dg(){return b.lFrame.currentDirectiveIndex}function zi(e){b.lFrame.currentDirectiveIndex=e}function Xs(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ea(){return b.lFrame.currentQueryIndex}function Ao(e){b.lFrame.currentQueryIndex=e}function fg(e){let t=e[C];return t.type===2?t.declTNode:t.type===1?e[le]:null}function pl(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=fg(i),o===null||(i=i[dn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=hl();return r.currentTNode=t,r.lView=e,!0}function ta(e){let t=hl(),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 hl(){let e=b.lFrame,t=e===null?null:e.child;return t===null?gl(e):t}function gl(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 ml(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yl=ml;function na(){let e=ml();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 pg(e){return(b.lFrame.contextLView=Jh(e,b.lFrame.contextLView))[W]}function Ve(){return b.lFrame.selectedIndex}function bt(e){b.lFrame.selectedIndex=e}function fn(){let e=b.lFrame;return qs(e.tView,e.selectedIndex)}function v0(){b.lFrame.currentNamespace=nl}function D0(){hg()}function hg(){b.lFrame.currentNamespace=null}function gg(){return b.lFrame.currentNamespace}var vl=!0;function Fo(){return vl}function Ro(e){vl=e}function mg(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 Oo(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 Vr(e,t,n){Dl(e,t,3,n)}function jr(e,t,n,r){(e[D]&3)===n&&Dl(e,t,n,r)}function bi(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Dl(e,t,n,r){let o=r!==void 0?e[Qt]&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[Qt]+=65536),(a<i||i==-1)&&(yg(e,n,t,u),e[Qt]=(e[Qt]&4294901760)+u+2),u++}function Gu(e,t){De(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),De(5,e,t)}}function yg(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[Qt]>>16&&(e[D]&3)===t&&(e[D]+=16384,Gu(a,i)):Gu(a,i)}var Xt=-1,_t=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function vg(e){return e instanceof _t}function Dg(e){return(e.flags&8)!==0}function Eg(e){return(e.flags&16)!==0}function Ig(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];wg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function El(e){return e===3||e===4||e===6}function wg(e){return e.charCodeAt(0)===64}function on(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?Wu(e,n,o,null,t[++r]):Wu(e,n,o,null,null))}}return e}function Wu(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 _i={},Gi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=wo(r);let o=this.injector.get(t,_i,r);return o!==_i||n===_i?o:this.parentInjector.get(t,n,r)}};function Il(e){return e!==Xt}function Jr(e){return e&32767}function Cg(e){return e>>16}function Xr(e,t){let n=Cg(e),r=t;for(;n>0;)r=r[dn],n--;return r}var Wi=!0;function eo(e){let t=Wi;return Wi=e,t}var bg=256,wl=bg-1,Cl=5,_g=0,Fe={};function Mg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Nn)&&(r=n[Nn]),r==null&&(r=n[Nn]=_g++);let o=r&wl,i=1<<o;t.data[e+(o>>Cl)]|=i}function to(e,t){let n=bl(e,t);if(n!==-1)return n;let r=t[C];r.firstCreatePass&&(e.injectorIndex=t.length,Mi(r.data,e),Mi(t,null),Mi(r.blueprint,null));let o=ra(e,t),i=e.injectorIndex;if(Il(o)){let s=Jr(o),a=Xr(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 Mi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ra(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=Nl(o),r===null)return Xt;if(n++,o=o[dn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Xt}function qi(e,t,n){Mg(e,t,n)}function Tg(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(El(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 _l(e,t,n){if(n&T.Optional||e!==void 0)return e;Hs(t,"NodeInjector")}function Ml(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[Fn],i=ae(void 0);try{return o?o.get(t,r,n&T.Optional):Lc(t,r,n&T.Optional)}finally{ae(i)}}return _l(r,t,n)}function Tl(e,t,n,r=T.Default,o){if(e!==null){if(t[D]&2048&&!(r&T.Self)){let s=Ag(e,t,n,r,Fe);if(s!==Fe)return s}let i=Sl(e,t,n,r,Fe);if(i!==Fe)return i}return Ml(t,n,r,o)}function Sl(e,t,n,r,o){let i=Ng(n);if(typeof i=="function"){if(!pl(t,e,r))return r&T.Host?_l(o,n,r):Ml(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Hs(n);else return s}finally{yl()}}else if(typeof i=="number"){let s=null,a=bl(e,t),u=Xt,c=r&T.Host?t[he][le]:null;for((a===-1||r&T.SkipSelf)&&(u=a===-1?ra(e,t):t[a+8],u===Xt||!Zu(r,!1)?a=-1:(s=t[C],a=Jr(u),t=Xr(u,t)));a!==-1;){let l=t[C];if(qu(i,a,l.data)){let d=Sg(a,t,n,s,r,c);if(d!==Fe)return d}u=t[a+8],u!==Xt&&Zu(r,t[C].data[a+8]===c)&&qu(i,a,t)?(s=l,a=Jr(u),t=Xr(u,t)):a=-1}}return o}function Sg(e,t,n,r,o,i){let s=t[C],a=s.data[e+8],u=r==null?Nt(a)&&Wi:r!=s&&(a.type&3)!==0,c=o&T.Host&&i===a,l=Br(a,s,n,u,c);return l!==null?On(t,s,l,a):Fe}function Br(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&&Re(f)&&f.type===n)return u}return null}function On(e,t,n,r){let o=e[n],i=t.data;if(vg(o)){let s=o;s.resolving&&gh(hh(i[n]));let a=eo(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ae(s.injectImpl):null,l=pl(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&mg(n,i[n],t)}finally{c!==null&&ae(c),eo(a),s.resolving=!1,yl()}}return o}function Ng(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Nn)?e[Nn]:void 0;return typeof t=="number"?t>=0?t&wl:xg:t}function qu(e,t,n){let r=1<<e;return!!(n[t+(e>>Cl)]&r)}function Zu(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var vt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tl(this._tNode,this._lView,t,wo(r),n)}};function xg(){return new vt(q(),m())}function E0(e){return Eo(()=>{let t=e.prototype.constructor,n=t[Ur]||Zi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ur]||Zi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Zi(e){return Fc(e)?()=>{let t=Zi(G(e));return t&&t()}:Dt(e)}function Ag(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Yr(s);){let a=Sl(i,s,n,r|T.Self,Fe);if(a!==Fe)return a;let u=i.parent;if(!u){let c=s[Yc];if(c){let l=c.get(n,Fe,r);if(l!==Fe)return l}u=Nl(s),s=s[dn]}i=u}return o}function Nl(e){let t=e[C],n=t.type;return n===2?t.declTNode:n===1?e[le]:null}function xl(e){return Tg(q(),e)}function Qu(e,t=null,n=null,r){let o=Al(e,t,n,r);return o.resolveInjectorInitializers(),o}function Al(e,t=null,n=null,r,o=new Set){let i=[n||ee,Rh(e)];return r=r||(typeof e=="object"?void 0:ue(e)),new An(i,t||bo(),r||null,o)}var Pe=class e{static THROW_IF_NOT_FOUND=xn;static NULL=new qr;static create(t,n){if(Array.isArray(t))return Qu({name:""},n,t,"");{let r=t.name??"";return Qu({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>ce(jc)});static __NG_ELEMENT_ID__=-1};var Yu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>xl(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Fg=new A("");Fg.__NG_ELEMENT_ID__=e=>{let t=q();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 Fl=!1,pn=(()=>{class e{static __NG_ELEMENT_ID__=Rg;static __NG_ENV_ID__=n=>n}return e})(),no=class extends pn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return il(this._lView,t),()=>Xh(this._lView,t)}};function Rg(){return new no(m())}var Mt=class{},oa=new A("",{providedIn:"root",factory:()=>!1});var Rl=new A(""),Ol=new A(""),zn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new wn(!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=V({token:e,providedIn:"root",factory:()=>new e})}return e})();var Qi=class extends ie{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Qc()&&(this.destroyRef=I(pn,{optional:!0})??void 0,this.pendingTasks=I(zn,{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 j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Je=Qi;function kn(...e){}function kl(e){let t,n;function r(){e=kn;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 Ku(e){return queueMicrotask(()=>e()),()=>{e=kn}}var ia="isAngularZone",ro=ia+"_ID",Og=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Je(!1);onMicrotaskEmpty=new Je(!1);onStable=new Je(!1);onError=new Je(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Fl}=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,Lg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ia)===!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,kg,kn,kn);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)}},kg={};function sa(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 Pg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){kl(()=>{e.callbackScheduled=!1,Yi(e),e.isCheckStableRunning=!0,sa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yi(e)}function Lg(e){let t=()=>{Pg(e)},n=Og++;e._inner=e._inner.fork({name:"angular",properties:{[ia]:!0,[ro]:n,[ro+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Vg(u))return r.invokeTask(i,s,a,u);try{return Ju(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 Ju(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!jg(u)&&t(),Xu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yi(e),sa(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 Yi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ju(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xu(e){e._nesting--,sa(e)}var Ki=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Je;onMicrotaskEmpty=new Je;onStable=new Je;onError=new Je;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 Vg(e){return Pl(e,"__ignore_ng_zone__")}function jg(e){return Pl(e,"__scheduler_tick__")}function Pl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Bg=new A("",{providedIn:"root",factory:()=>{let e=I(pe),t=I(ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Ji=class{destroyed=!1;listeners=null;errorHandler=I(ot,{optional:!0});destroyRef=I(pn);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 I0(e){return new Ji}function ec(e,t){return xc(e,t)}function Hg(e){return xc(Nc,e)}var w0=(ec.required=Hg,ec);function $g(){return hn(q(),m())}function hn(e,t){return new xt(Te(e,t))}var xt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=$g}return e})();function Ll(e){return e instanceof xt?e.nativeElement:e}var tc=new Set;function Ee(e){tc.has(e)||(tc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ug(e){return typeof e=="function"&&e[Q]!==void 0}function zg(e,t){Ee("NgSignals");let n=iu(e),r=n[Q];return t?.equal&&(r.equal=t.equal),n.set=o=>rr(r,o),n.update=o=>su(r,o),n.asReadonly=Gg.bind(n),n}function Gg(){let e=this[Q];if(e.readonlyFn===void 0){let t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function Vl(e){return Ug(e)&&typeof e.set=="function"}function Wg(){return this._results[Symbol.iterator]()}var Xi=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 ie}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=Th(t);(this._changesDetected=!Mh(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]=Wg};function jl(e){return(e.flags&128)===128}var Bl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bl||{}),Hl=new Map,qg=0;function Zg(){return qg++}function Qg(e){Hl.set(e[Mo],e)}function es(e){Hl.delete(e[Mo])}var nc="__ngContext__";function At(e,t){et(t)?(e[nc]=t[Mo],Qg(t)):e[nc]=t}function $l(e){return zl(e[Rn])}function Ul(e){return zl(e[Me])}function zl(e){for(;e!==null&&!Ze(e);)e=e[Me];return e}var ts;function C0(e){ts=e}function Yg(){if(ts!==void 0)return ts;if(typeof document<"u")return document;throw new M(210,!1)}var b0=new A("",{providedIn:"root",factory:()=>Kg}),Kg="ng",Jg=new A(""),Xg=new A("",{providedIn:"platform",factory:()=>"unknown"});var _0=new A(""),M0=new A("",{providedIn:"root",factory:()=>Yg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var em="h",tm="b";var Gl=!1,nm=new A("",{providedIn:"root",factory:()=>Gl});var aa=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(aa||{}),ko=new A("");var Yt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Yt||{}),Wl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),rm=[Yt.EarlyRead,Yt.Write,Yt.MixedReadWrite,Yt.Read],om=(()=>{class e{ngZone=I(pe);scheduler=I(Mt);errorHandler=I(ot,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){I(ko,{optional:!0})}execute(){this.executing=!0;for(let n of rm)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(aa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),ns=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 im(e,t){!t?.injector&&_o(im);let n=t?.injector??I(Pe);return Ee("NgAfterRender"),ql(e,n,t,!1)}function sm(e,t){!t?.injector&&_o(sm);let n=t?.injector??I(Pe);return Ee("NgAfterNextRender"),ql(e,n,t,!0)}function am(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 ql(e,t,n,r){let o=t.get(Wl);o.impl??=t.get(om);let i=t.get(ko,null,{optional:!0}),s=n?.phase??Yt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(pn):null,u=new ns(o.impl,am(e,s),r,a,i?.snapshot(null));return o.impl.register(u),u}var um=()=>null;function Zl(e,t,n=!1){return um(e,t,n)}function Ql(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];Ao(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function rs(e,t,n){Ao(0);let r=_(null);try{t(e,n)}finally{_(r)}}function ua(e,t,n){if(Ws(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 Pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pn||{}),Fr;function cm(){if(Fr===void 0&&(Fr=null,qt.trustedTypes))try{Fr=qt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fr}function Po(e){return cm()?.createHTML(e)||e}var qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Tc})`}},os=class extends qe{getTypeName(){return"HTML"}},is=class extends qe{getTypeName(){return"Style"}},ss=class extends qe{getTypeName(){return"Script"}},as=class extends qe{getTypeName(){return"URL"}},us=class extends qe{getTypeName(){return"ResourceURL"}};function Lo(e){return e instanceof qe?e.changingThisBreaksApplicationSecurity:e}function lm(e,t){let n=dm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Tc})`)}return n===t}function dm(e){return e instanceof qe&&e.getTypeName()||null}function T0(e){return new os(e)}function S0(e){return new is(e)}function N0(e){return new ss(e)}function x0(e){return new as(e)}function A0(e){return new us(e)}function fm(e){let t=new ls(e);return pm()?new cs(t):t}var cs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Po(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ls=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=Po(t),n}};function pm(){try{return!!new window.DOMParser().parseFromString(Po(""),"text/html")}catch{return!1}}var hm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yl(e){return e=String(e),e.match(hm)?e:"unsafe:"+e}function Qe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Gn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Kl=Qe("area,br,col,hr,img,wbr"),Jl=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xl=Qe("rp,rt"),gm=Gn(Xl,Jl),mm=Gn(Jl,Qe("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")),ym=Gn(Xl,Qe("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")),rc=Gn(Kl,mm,ym,gm),ed=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vm=Qe("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"),Dm=Qe("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"),Em=Gn(ed,vm,Dm),Im=Qe("script,style,template"),ds=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=bm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Cm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=oc(t).toLowerCase();if(!rc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Im.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(!Em.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;ed[a]&&(u=Yl(u)),this.buf.push(" ",s,'="',ic(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=oc(t).toLowerCase();rc.hasOwnProperty(n)&&!Kl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ic(t))}};function wm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Cm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw td(t);return t}function bm(e){let t=e.firstChild;if(t&&wm(e,t))throw td(t);return t}function oc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function td(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var _m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mm=/([^\#-~ |!])/g;function ic(e){return e.replace(/&/g,"&amp;").replace(_m,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Mm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Rr;function F0(e,t){let n=null;try{Rr=Rr||fm(e);let r=t?String(t):"";n=Rr.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=Rr.getInertBodyElement(r)}while(r!==i);let a=new ds().sanitizeChildren(sc(n)||n);return Po(a)}finally{if(n){let r=sc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function sc(e){return"content"in e&&Tm(e)?e.content:null}function Tm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var nd=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}(nd||{});function R0(e){let t=Sm();return t?t.sanitize(nd.URL,e)||"":lm(e,"URL")?Lo(e):Yl(en(e))}function Sm(){let e=m();return e&&e[Ge].sanitizer}var Nm=/^>|^->|<!--|-->|--!>|<!-$/g,xm=/(<|>)/g,Am="\u200B$1\u200B";function Fm(e){return e.replace(Nm,t=>t.replace(xm,Am))}function O0(e){return e.ownerDocument.defaultView}function rd(e){return e instanceof Function?e():e}var it=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(it||{});function Rm(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 od="ng-template";function Om(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Rm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ca(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 ca(e){return e.type===4&&e.value!==od}function km(e,t,n){let r=e.type===4&&!n?od:e.value;return t===r}function Pm(e,t,n){let r=4,o=e.attrs,i=o!==null?jm(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!be(r)&&!be(u))return!1;if(s&&be(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!km(e,u,n)||u===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!Om(e,o,u,n)){if(be(r))return!1;s=!0}}else{let c=t[++a],l=Lm(u,o,ca(e),n);if(l===-1){if(be(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Lm(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 Bm(t,e)}function id(e,t,n=!1){for(let r=0;r<t.length;r++)if(Pm(e,t[r],n))return!0;return!1}function Vm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function jm(e){for(let t=0;t<e.length;t++){let n=e[t];if(El(n))return t}return e.length}function Bm(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 Hm(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 ac(e,t){return e?":not("+t.trim()+")":t}function $m(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=ac(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=ac(i,o)),t}function Um(e){return e.map($m).join(",")}function zm(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var de={};function Gm(e,t){return e.createText(t)}function Wm(e,t,n){e.setValue(t,n)}function qm(e,t){return e.createComment(Fm(t))}function sd(e,t,n){return e.createElement(t,n)}function oo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ad(e,t,n){e.appendChild(t,n)}function uc(e,t,n,r,o){r!==null?oo(e,t,n,r,o):ad(e,t,n)}function Zm(e,t,n){e.removeChild(null,t,n)}function Qm(e,t,n){e.setAttribute(t,"style",n)}function Ym(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ud(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ig(e,t,r),o!==null&&Ym(e,t,o),i!==null&&Qm(e,t,i)}function k0(e=1){cd(R(),m(),Ve()+e,!1)}function cd(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Vr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&jr(t,i,0,n)}bt(n)}function me(e,t=T.Default){let n=m();if(n===null)return ce(e,t);let r=q();return Tl(r,n,G(e),t)}function P0(){let e="invalid";throw new Error(e)}function ld(e,t,n,r,o,i){let s=_(null);try{let a=null;o&it.SignalBased&&(a=t[r][Q]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&it.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Kc(t,a,r,i)}finally{_(s)}}function la(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Le]=o,d[D]=r|4|128|8|64|1024,(c!==null||e&&e[D]&2048)&&(d[D]|=2048),ol(d),d[K]=d[dn]=e,d[W]=n,d[Ge]=s||e&&e[Ge],d[L]=a||e&&e[L],d[Fn]=u||e&&e[Fn]||null,d[le]=i,d[Mo]=Zg(),d[nn]=l,d[Yc]=c,d[he]=t.type==2?e[he]:d,d}function dd(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 fd(e,t,n,r,o){let i=Ve(),s=r&2;try{bt(-1),s&&t.length>H&&cd(e,t,H,!1),De(s?2:0,o),n(r,o)}finally{bt(i),De(s?3:1,o)}}function da(e,t,n){ul()&&(At(Te(n,t),t),pd(e,t,n))}function pd(e,t,n){ay(e,t,n),(n.flags&64)===64&&uy(e,t,n)}function fa(e,t,n=Te){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 Km(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=pa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pa(e,t,n,r,o,i,s,a,u,c,l){let d=H+r,p=d+o,f=Jm(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 Jm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:de);return n}function Xm(e,t,n,r){let i=r.get(nm,Gl)||n===Pn.ShadowDom,s=e.selectRootElement(t,i);return ey(s),s}function ey(e){ty(e)}var ty=()=>null;function cc(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=it.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?lc(r,n,c,a,u):lc(r,n,c,a)}return r}function lc(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 ny(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=cc(0,d.inputs,l,u,f),c=cc(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!ca(t)?Iy(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 ry(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Wn(e,t,n,r,o,i,s,a){let u=Te(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(ma(e,n,l,r,o),Nt(t)&&oy(n,t.index)):t.type&3?(r=ry(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function oy(e,t){let n=ke(t,e);n[D]&16||(n[D]|=64)}function ha(e,t,n,r){if(ul()){let o=r===null?null:{"":-1},i=ly(e,n);if(i!==null){let[s,a]=gd(e,n,i);hd(e,t,n,s,o,a)}o&&fy(n,r,o)}n.mergedAttrs=on(n.mergedAttrs,n.attrs)}function hd(e,t,n,r,o,i){for(let c=0;c<r.length;c++)qi(to(n,t),e,r[c].type);hy(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=dd(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=on(n.mergedAttrs,l.hostAttrs),gy(e,n,t,u,l),py(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++}ny(e,n,i)}function iy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;sy(s)!=a&&s.push(a),s.push(n,r,i)}}function sy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ay(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Nt(n)&&yy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||to(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],u=On(t,e,s,n);if(At(u,t),i!==null&&Ey(t,s-r,u,a,n,i),Re(a)){let c=ke(n.index,t);c[W]=On(t,e,s,n)}}}function uy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=dg();try{bt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];zi(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&cy(u,c)}}finally{bt(-1),zi(s)}}function cy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ly(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];id(t,i.selectors,!1)&&(r??=[],Re(i)?r.unshift(i):r.push(i))}return r}function gd(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),Re(i)&&(r.push(i),dy(e,t,r.length-1));return Nt(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function dy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function fy(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 py(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Re(t)&&(n[""]=e)}}function hy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function gy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Dt(o.type,!0)),s=new _t(i,Re(o),me);e.blueprint[r]=s,n[r]=s,iy(e,t,r,dd(e,n,o.hostVars,de),o)}function my(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function yy(e,t,n){let r=Te(t,e),o=Km(n),i=e[Ge].rendererFactory,s=ga(e,la(e,o,null,my(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function vy(e,t,n,r,o,i){let s=Te(e,t);Dy(t[L],s,i,e.value,n,r,o)}function Dy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?en(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ey(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++];ld(r,n,u,c,l,d)}}function Iy(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 md(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ga(e,t){return e[Rn]?e[Uu][Me]=t:e[Rn]=t,e[Uu]=t,t}function yd(e,t,n){return(e===null||Re(e))&&(n=Qh(n[t.index])),n[L]}function vd(e,t){let n=e[Fn],r=n?n.get(ot,null):null;r&&r.handleError(t)}function ma(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];ld(l,c,r,a,u,o)}}function wy(e,t){let n=ke(t,e),r=n[C];Cy(r,n);let o=n[Le];o!==null&&n[nn]===null&&(n[nn]=Zl(o,n[Fn])),ya(r,n,n[W])}function Cy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ya(e,t,n){ta(t);try{let r=e.viewQuery;r!==null&&rs(1,r,n);let o=e.template;o!==null&&fd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[We]?.finishViewCreation(e),e.staticContentQueries&&Ql(e,t),e.staticViewQueries&&rs(2,e.viewQuery,n);let i=e.components;i!==null&&by(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,na()}}function by(e,t){for(let n=0;n<t.length;n++)wy(e,t[n])}var io=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(io||{}),_y;function va(e,t){return _y(e,t)}function Da(e){return(e.flags&32)===32}function Kt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:et(r)&&(s=!0,r=r[Le]);let a=Oe(r);e===0&&n!==null?o==null?ad(t,n,a):oo(t,n,a,o||null,!0):e===1&&n!==null?oo(t,n,a,o||null,!0):e===2?Zm(t,a,s):e===3&&t.destroyNode(a),i!=null&&Py(t,e,i,n,o)}}function My(e,t){Dd(e,t),t[Le]=null,t[le]=null}function Ty(e,t,n,r,o,i){r[Le]=o,r[le]=t,Bo(e,r,n,1,o,i)}function Dd(e,t){t[Ge].changeDetectionScheduler?.notify(10),Bo(e,t,t[L],2,null,null)}function Sy(e){let t=e[Rn];if(!t)return Ti(e[C],e);for(;t;){let n=null;if(et(t))n=t[Rn];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)et(t)&&Ti(t[C],t),t=t[K];t===null&&(t=e),et(t)&&Ti(t[C],t),n=t&&t[Me]}t=n}}function Ny(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-Y?(t[Me]=n[o],Vc(n,Y+r,t)):(n.push(t),t[Me]=null),t[K]=n;let s=t[Et];s!==null&&n!==s&&Ed(s,t);let a=t[We];a!==null&&a.insertView(e),$i(t),t[D]|=128}function Ed(e,t){let n=e[rn],r=t[K];if(et(r))e[D]|=2;else{let o=r[K][he];t[he]!==o&&(e[D]|=2)}n===null?e[rn]=[t]:n.push(t)}function Ea(e,t){let n=e[rn],r=n.indexOf(t);n.splice(r,1)}function Ln(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n];if(r){let o=r[Et];o!==null&&o!==e&&Ea(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Gr(e,Y+t);My(r[C],r);let s=i[We];s!==null&&s.detachView(i[C]),r[K]=null,r[Me]=null,r[D]&=-129}return r}function Vo(e,t){if($n(t))return;let n=t[L];n.destroyNode&&Bo(e,t,n,3,null,null),Sy(t)}function Ti(e,t){if($n(t))return;let n=_(null);try{t[D]&=-129,t[D]|=256,t[fe]&&kt(t[fe]),Ay(e,t),xy(e,t),t[C].type===1&&t[L].destroy();let r=t[Et];if(r!==null&&Ze(t[K])){r!==t[K]&&Ea(r,t);let o=t[We];o!==null&&o.detachView(e)}es(t)}finally{_(n)}}function xy(e,t){let n=e.cleanup,r=t[Zr];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[Zr]=null);let o=t[Xe];if(o!==null){t[Xe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[It];if(i!==null){t[It]=null;for(let s of i)s.destroy()}}function Ay(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 _t)){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];De(4,a,u);try{u.call(a)}finally{De(5,a,u)}}else{De(4,o,i);try{i.call(o)}finally{De(5,o,i)}}}}}function Id(e,t,n){return Fy(e,t.parent,n)}function Fy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];if(Nt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Pn.None||o===Pn.Emulated)return null}return Te(r,n)}function wd(e,t,n){return Oy(e,t,n)}function Ry(e,t,n){return e.type&40?Te(e,n):null}var Oy=Ry,dc;function jo(e,t,n,r){let o=Id(e,r,t),i=t[L],s=r.parent||t[le],a=wd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)uc(i,o,n[u],a,!1);else uc(i,o,n,a,!1);dc!==void 0&&dc(i,r,t,n,o)}function Sn(e,t){if(t!==null){let n=t.type;if(n&3)return Te(t,e);if(n&4)return fs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Sn(e,r);{let o=e[t.index];return Ze(o)?fs(-1,o):Oe(o)}}else{if(n&128)return Sn(e,t.next);if(n&32)return va(t,e)()||Oe(e[t.index]);{let r=Cd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ct(e[he]);return Sn(o,r)}else return Sn(e,t.next)}}}return null}function Cd(e,t){if(t!==null){let r=e[he][le],o=t.projection;return r.projection[o]}return null}function fs(e,t){let n=Y+e+1;if(n<t.length){let r=t[n],o=r[C].firstChild;if(o!==null)return Sn(r,o)}return t[wt]}function Ia(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&&At(Oe(a),r),n.flags|=2),!Da(n))if(u&8)Ia(e,t,n.child,r,o,i,!1),Kt(t,e,o,a,i);else if(u&32){let c=va(n,r),l;for(;l=c();)Kt(t,e,o,l,i);Kt(t,e,o,a,i)}else u&16?bd(e,t,r,n,o,i):Kt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Bo(e,t,n,r,o,i){Ia(n,r,e.firstChild,t,o,i,!1)}function ky(e,t,n){let r=t[L],o=Id(e,n,t),i=n.parent||t[le],s=wd(i,n,t);bd(r,0,t,n,o,s)}function bd(e,t,n,r,o,i){let s=n[he],u=s[le].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Kt(t,e,o,l,i)}else{let c=u,l=s[K];jl(r)&&(c.flags|=128),Ia(e,t,c,l,o,i,!0)}}function Py(e,t,n,r,o){let i=n[wt],s=Oe(n);i!==s&&Kt(t,e,r,i,o);for(let a=Y;a<n.length;a++){let u=n[a];Bo(u[C],u,e,t,r,i)}}function Ly(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:io.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=io.Important),e.setStyle(n,r,o,i))}}function qn(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[D]&4096?4096:16,u=la(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Et]=c;let l=e[We];return l!==null&&(u[We]=l.createEmbeddedView(i)),ya(i,u,n),u}finally{_(o)}}function _d(e,t){let n=Y+t;if(n<e.length)return e[n]}function sn(e,t){return!t||t.firstChild===null||jl(e)}function Zn(e,t,n,r=!0){let o=t[C];if(Ny(o,t,e,n),r){let s=fs(n,e),a=t[L],u=a.parentNode(e[wt]);u!==null&&Ty(o,e[le],a,t,u,s)}let i=t[nn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Md(e,t){let n=Ln(e,t);return n!==void 0&&Vo(n[C],n),n}function so(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(Oe(i)),Ze(i)&&Vy(i,r);let s=n.type;if(s&8)so(e,t,n.child,r);else if(s&32){let a=va(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Cd(t,n);if(Array.isArray(a))r.push(...a);else{let u=Ct(t[he]);so(u[C],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vy(e,t){for(let n=Y;n<e.length;n++){let r=e[n],o=r[C].firstChild;o!==null&&so(r[C],r,o,t)}e[wt]!==e[Le]&&t.push(e[wt])}var Td=[];function jy(e){return e[fe]??By(e)}function By(e){let t=Td.pop()??Object.create($y);return t.lView=e,t}function Hy(e){e.lView[fe]!==e&&(e.lView=null,Td.push(e))}var $y=oe(re({},ct),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Un(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function Uy(e){let t=e[fe]??Object.create(zy);return t.lView=e,t}var zy=oe(re({},ct),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ct(e.lView);for(;t&&!Sd(t[C]);)t=Ct(t);t&&Qs(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Sd(e){return e.type!==2}function Nd(e){if(e[It]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[It])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var Gy=100;function xd(e,t=!0,n=0){let o=e[Ge].rendererFactory,i=!1;i||o.begin?.();try{Wy(e,n)}catch(s){throw t&&vd(e,s),s}finally{i||o.end?.()}}function Wy(e,t){let n=fl();try{Kr(!0),ps(e,t);let r=0;for(;No(e);){if(r===Gy)throw new M(103,!1);r++,ps(e,1)}}finally{Kr(n)}}function qy(e,t,n,r){if($n(t))return;let o=t[D],i=!1,s=!1;ta(t);let a=!0,u=null,c=null;i||(Sd(e)?(c=jy(t),u=Ot(c)):Za()===null?(a=!1,c=Uy(t),u=Ot(c)):t[fe]&&(kt(t[fe]),t[fe]=null));try{ol(t),ug(e.bindingStartIndex),n!==null&&fd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Vr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&jr(t,f,0,null),bi(t,0)}if(s||Zy(t),Nd(t),Ad(t,0),e.contentQueries!==null&&Ql(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Vr(t,f)}else{let f=e.contentHooks;f!==null&&jr(t,f,1),bi(t,1)}Yy(e,t);let d=e.components;d!==null&&Rd(t,d,0);let p=e.viewQuery;if(p!==null&&rs(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Vr(t,f)}else{let f=e.viewHooks;f!==null&&jr(t,f,2),bi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Lr]){for(let f of t[Lr])f();t[Lr]=null}i||(t[D]&=-73)}catch(l){throw i||Un(t),l}finally{c!==null&&(En(c,u),a&&Hy(c)),na()}}function Ad(e,t){for(let n=$l(e);n!==null;n=Ul(n))for(let r=Y;r<n.length;r++){let o=n[r];Fd(o,t)}}function Zy(e){for(let t=$l(e);t!==null;t=Ul(t)){if(!(t[D]&2))continue;let n=t[rn];for(let r=0;r<n.length;r++){let o=n[r];Qs(o)}}}function Qy(e,t,n){let r=ke(t,e);Fd(r,n)}function Fd(e,t){Zs(e)&&ps(e,t)}function ps(e,t){let r=e[C],o=e[D],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&In(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)qy(r,e,r.template,e[W]);else if(o&8192){Nd(e),Ad(e,1);let a=r.components;a!==null&&Rd(e,a,1)}}function Rd(e,t,n){for(let r=0;r<t.length;r++)Qy(e,t[r],n)}function Yy(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)bt(~o);else{let i=o,s=n[++r],a=n[++r];lg(s,i);let u=t[i];De(24,u),a(2,u),De(25,u)}}}finally{bt(-1)}}function wa(e,t){let n=fl()?64:1088;for(e[Ge].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=Ct(e);if(Yr(e)&&!r)return e;e=r}return null}var Tt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[C];return so(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[W]}get dirty(){return!!(this._lView[D]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[W]=t}get destroyed(){return $n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Ze(t)){let n=t[Qr],r=n?n.indexOf(this):-1;r>-1&&(Ln(t,r),Gr(n,r))}this._attachedToViewContainer=!1}Vo(this._lView[C],this._lView)}onDestroy(t){il(this._lView,t)}markForCheck(){wa(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Qs(this._cdRefInjectingView||this._lView)}detach(){this._lView[D]&=-129}reattach(){$i(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yr(this._lView),n=this._lView[Et];n!==null&&!t&&Ea(n,this._lView),Dd(this._lView[C],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=Yr(this._lView),r=this._lView[Et];r!==null&&!n&&Ed(r,this._lView),$i(this._lView)}},Vn=(()=>{class e{static __NG_ELEMENT_ID__=Xy}return e})(),Ky=Vn,Jy=class extends Ky{_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=qn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Tt(o)}};function Xy(){return Ho(q(),m())}function Ho(e,t){return e.type&4?new Jy(t,e,hn(e,t)):null}function Ft(e,t,n,r,o){let i=e.data[t];if(i===null)i=ev(e,t,n,r,o),cg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=sg();i.injectorIndex=s===null?-1:s.injectorIndex}return at(i,!0),i}function ev(e,t,n,r,o){let i=ll(),s=Ys(),a=s?i:i&&i.parent,u=e.data[t]=nv(e,a,n,t,r,o);return tv(e,u,i,s),u}function tv(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 nv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return cl()&&(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 V0=new RegExp(`^(\\d+)*(${tm}|${em})*(.*)`);var rv=()=>null;function an(e,t){return rv(e,t)}var hs=class{},ao=class{},gs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ue(t)}.`)}},un=class{static NULL=new gs},uo=class{},Ca=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ov()}return e})();function ov(){let e=m(),t=q(),n=ke(t.index,e);return(et(n)?n:e)[L]}var iv=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();function co(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=ki(o,a);else if(i==2){let u=a,c=t[++s];r=ki(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var lo=class extends un{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=tt(t);return new cn(n,this.ngModule)}};function fc(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]:it.None;t?n.push({propName:s,templateName:r,isSignal:(a&it.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function sv(e){let t=e.toLowerCase();return t==="svg"?nl:t==="math"?Zh:null}var cn=class extends ao{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=fc(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 fc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Um(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 nt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Gi(t,s):t,u=a.get(uo,null);if(u===null)throw new M(407,!1);let c=a.get(iv,null),l=a.get(Mt,null),d={rendererFactory:u,sanitizer:c,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Xm(p,r,this.componentDef.encapsulation,a):sd(p,f,sv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let S=null;h!==null&&(S=Zl(h,a,!0));let E=pa(0,null,null,1,0,null,null,null,null,null,null),N=la(null,E,null,g,null,null,d,p,a,null,S);N[H]=h,ta(N);let ne=null;try{let J=r?["ng-version","19.1.4"]:zm(this.componentDef.selectors[0]),U=Ft(E,H,2,"#host",J),[mn,Wf]=gd(E,U,[this.componentDef]);hd(E,N,U,mn,{},Wf);for(let qf of mn)U.mergedAttrs=on(U.mergedAttrs,qf.hostAttrs);U.mergedAttrs=on(U.mergedAttrs,J),co(U,U.mergedAttrs,!0),h&&(ud(p,h,U),At(h,N)),n!==void 0&&av(U,this.ngContentSelectors,n),pd(E,N,U),ua(E,U,N),Oo(E,U),ne=ke(U.index,N),N[W]=ne[W],ya(E,N,null)}catch(J){throw ne!==null&&es(ne),es(N),J}finally{na()}return new ms(this.componentType,N)}finally{_(i)}}},ms=class extends hs{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=qs(n[C],H),this.location=hn(this._tNode,n),this.instance=ke(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Tt(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;ma(i[C],i,o,t,n),this.previousInputValues.set(t,n);let s=ke(this._tNode.index,i);wa(s,1)}}get injector(){return new vt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function av(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 Qn=(()=>{class e{static __NG_ELEMENT_ID__=uv}return e})();function uv(){let e=q();return kd(e,m())}var cv=Qn,Od=class extends cv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return hn(this._hostTNode,this._hostLView)}get injector(){return new vt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ra(this._hostTNode,this._hostLView);if(Il(t)){let n=Xr(t,this._hostLView),r=Jr(t),o=n[C].data[r+8];return new vt(o,n)}else return new vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=an(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!zh(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 cn(tt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(nt,null);g&&(i=g)}let l=tt(u.componentType??{}),d=an(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,sn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Kh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[K],c=new Od(u,u[le],u[K]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zn(s,o,i,r),t.attachToViewContainerRef(),Vc(Si(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ln(this._lContainer,n);r&&(Gr(Si(this._lContainer),n),Vo(r[C],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ln(this._lContainer,n);return r&&Gr(Si(this._lContainer),n)!=null?new Tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pc(e){return e[Qr]}function Si(e){return e[Qr]||(e[Qr]=[])}function kd(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=md(r,t,null,e),t[e.index]=n,ga(t,n)),dv(n,t,e,r),new Od(n,e,t)}function lv(e,t){let n=e[L],r=n.createComment(""),o=Te(t,e),i=n.parentNode(o);return oo(n,i,r,n.nextSibling(o),!1),r}var dv=hv,fv=()=>!1;function pv(e,t,n){return fv(e,t,n)}function hv(e,t,n,r){if(e[wt])return;let o;n.type&8?o=Oe(r):o=lv(t,n),e[wt]=o}var ys=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},vs=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++)_a(t,n).matches!==null&&this.queries[n].setDirty()}},fo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Dv(t):this.predicate=t}},Ds=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,gv(n,i)),this.matchTNodeWithReadOption(t,n,Br(n,t,i,!1,!1))}else r===Vn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Br(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===xt||o===Qn||o===Vn&&n.type&4)this.addMatch(n.index,-2);else{let i=Br(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 gv(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 mv(e,t){return e.type&11?hn(e,t):e.type&4?Ho(e,t):null}function yv(e,t,n,r){return n===-1?mv(t,e):n===-2?vv(e,t,r):On(e,e[C],n,t)}function vv(e,t,n){if(n===xt)return hn(t,e);if(n===Vn)return Ho(t,e);if(n===Qn)return kd(t,e)}function Pd(e,t,n,r){let o=t[We].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(yv(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Is(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Pd(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=Y;d<l.length;d++){let p=l[d];p[Et]===p[K]&&Is(p[C],p,c,r)}if(l[rn]!==null){let d=l[rn];for(let p=0;p<d.length;p++){let f=d[p];Is(f[C],f,c,r)}}}}}return r}function ba(e,t){return e[We].queries[t].queryList}function Ld(e,t,n){let r=new Xi((n&4)===4);return eg(e,t,r,r.destroy),(t[We]??=new vs).queries.push(new ys(r))-1}function Vd(e,t,n){let r=R();return r.firstCreatePass&&(Bd(r,new fo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ld(r,m(),t)}function jd(e,t,n,r){let o=R();if(o.firstCreatePass){let i=q();Bd(o,new fo(t,n,r),i.index),Ev(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ld(o,m(),n)}function Dv(e){return e.split(",").map(t=>t.trim())}function Bd(e,t,n){e.queries===null&&(e.queries=new Ds),e.queries.track(new Es(t,n))}function Ev(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 _a(e,t){return e.queries.getByIndex(t)}function Hd(e,t){let n=e[C],r=_a(n,t);return r.crossesNgTemplate?Is(n,e,t,[]):Pd(n,e,r,t)}function $d(e,t,n){let r,o=ii(()=>{r._dirtyCounter();let i=Iv(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[Q],r._dirtyCounter=zg(0),r._flatValue=void 0,o}function Ud(e){return $d(!0,!1,e)}function zd(e){return $d(!0,!0,e)}function Gd(e,t){let n=e[Q];n._lView=m(),n._queryIndex=t,n._queryList=ba(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Iv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:ee;let o=ba(n,r),i=Hd(n,r);return o.reset(i,Ll),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function hc(e,t){return Ud(t)}function wv(e,t){return zd(t)}var B0=(hc.required=wv,hc);function gc(e,t){return Ud(t)}function Cv(e,t){return zd(t)}var H0=(gc.required=Cv,gc);var st=class{},ws=class{};var Cs=class extends st{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new lo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Hc(t);this._bootstrapComponents=rd(i.bootstrap),this._r3Injector=Al(t,n,[{provide:st,useValue:this},{provide:un,useValue:this.componentFactoryResolver},...r],ue(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)}},bs=class extends ws{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Cs(this.moduleType,t,[])}};var po=class extends st{injector;componentFactoryResolver=new lo(this);instance=null;constructor(t){super();let n=new An([...t.providers,{provide:st,useValue:this},{provide:un,useValue:this.componentFactoryResolver}],t.parent||bo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function bv(e,t,n=null){return new po({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _v=(()=>{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=Uc(!1,n.type),o=r.length>0?bv([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=V({token:e,providedIn:"environment",factory:()=>new e(ce(nt))})}return e})();function $0(e){return Eo(()=>{let t=Wd(e),n=oe(re({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(_v).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pn.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ee("NgStandalone"),qd(n);let r=e.dependencies;return n.directiveDefs=yc(r,!1),n.pipeDefs=yc(r,!0),n.id=Nv(n),n})}function Mv(e){return tt(e)||Us(e)}function Tv(e){return e!==null}function Sv(e){return Eo(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mc(e,t){if(e==null)return ze;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=it.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==it.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ma(e){return Eo(()=>{let t=Wd(e);return qd(t),t})}function Yn(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 Wd(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||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mc(e.inputs,t),outputs:mc(e.outputs),debugInfo:null}}function qd(e){e.features?.forEach(t=>t(e))}function yc(e,t){if(!e)return null;let n=t?$c:Mv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Tv)}function Nv(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 xv(e){return Object.getPrototypeOf(e.prototype).constructor}function Av(e){let t=xv(e.type),n=!0,r=[e];for(;t;){let o;if(Re(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=Or(e.inputs),s.inputTransforms=Or(e.inputTransforms),s.declaredInputs=Or(e.declaredInputs),s.outputs=Or(e.outputs);let a=o.hostBindings;a&&Pv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Ov(e,u),c&&kv(e,c),Fv(e,o),ih(e.outputs,o.outputs),Re(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===Av&&(n=!1)}}t=Object.getPrototypeOf(t)}Rv(r)}function Fv(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 Rv(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=on(o.hostAttrs,n=on(n,o.hostAttrs))}}function Or(e){return e===ze?{}:e===ee?[]:e}function Ov(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function kv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Pv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function U0(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Zd,n.hostDirectives=r?e.map(_s):[e]):r?n.hostDirectives.unshift(...e.map(_s)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Zd(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)vc(_s(i),t,n)}else vc(r,t,n)}function vc(e,t,n){let r=Us(e.directive);Lv(r.declaredInputs,e.inputs),Zd(r,t,n),n.set(r,e),t.push(r)}function _s(e){return typeof e=="function"?{directive:G(e),inputs:ze,outputs:ze}:{directive:G(e.directive),inputs:Dc(e.inputs),outputs:Dc(e.outputs)}}function Dc(e){if(e===void 0||e.length===0)return ze;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Lv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Vv(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 Ta(e,t,n){return e[t]=n}function jv(e,t){return e[t]}function ge(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Qd(e,t,n,r){let o=ge(e,t,n);return ge(e,t+1,r)||o}function Bv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=Ft(t,e,4,s||null,a||null);ha(t,n,l,rt(c,u)),Oo(t,l);let d=l.tView=pa(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 ho(e,t,n,r,o,i,s,a,u,c){let l=n+H,d=t.firstCreatePass?Bv(l,t,e,r,o,i,s,a,u):t.data[l];at(d,!1);let p=$v(t,e,d,n);Fo()&&jo(t,e,p,d),At(p,e);let f=md(p,e,p,d);return e[l]=f,ga(e,f),pv(f,d,e),To(d)&&da(t,e,d),u!=null&&fa(e,d,c),d}function Hv(e,t,n,r,o,i,s,a){let u=m(),c=R(),l=rt(c.consts,i);return ho(u,c,e,t,n,r,o,l,s,a),Hv}var $v=Uv;function Uv(e,t,n,r){return Ro(!0),t[L].createComment("")}var z0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var zv=new A("");function Sa(e){return!!e&&typeof e.then=="function"}function Yd(e){return!!e&&typeof e.subscribe=="function"}var Gv=new A("");var Kd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=I(Gv,{optional:!0})??[];injector=I(Pe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Zc(this.injector,o);if(Sa(i))n.push(i);else if(Yd(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new go})}return e})(),go=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()}},Wv=new A("");function qv(){ou(()=>{throw new M(600,!1)})}function Zv(e){return e.isBoundToModule}var Qv=10;function Yv(e,t,n){try{let r=n();return Sa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var jn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(Bg);afterRenderManager=I(Wl);zonelessEnabled=I(oa);rootEffectScheduler=I(Jd);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ie;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(zn).hasPendingTasks.pipe($e(n=>!n));constructor(){I(ko,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(nt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ao;if(!this._injector.get(Kd).done){let p=!o&&Ah(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(un).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Zv(s)?void 0:this._injector.get(st),u=r||s.selector,c=s.create(Pe.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(zv,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Hr(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(aa.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(uo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Qv;)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)Kv(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})=>No(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;Hr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Wv,[]).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),()=>Hr(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Kv(e,t,n,r){if(!n&&!No(e))return;xd(e,t,n&&!r?0:1)}function Jv(e,t,n,r){let o=m(),i=ut();if(ge(o,i,t)){let s=R(),a=fn();vy(a,o,e,t,n,r)}return Jv}function Na(e,t,n,r){return ge(e,ut(),n)?t+en(n)+r:de}function Xv(e,t,n,r,o,i){let s=ag(),a=Qd(e,s,n,o);return Js(2),a?t+en(n)+r+en(o)+i:de}function kr(e,t){return e<<17|t<<2}function St(e){return e>>17&32767}function eD(e){return(e&2)==2}function tD(e,t){return e&131071|t<<17}function Ms(e){return e|2}function ln(e){return(e&131068)>>2}function Ni(e,t){return e&-131069|t<<2}function nD(e){return(e&1)===1}function Ts(e){return e|1}function rD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=St(s),u=ln(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Hn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=St(e[a+1]);e[r+1]=kr(p,a),p!==0&&(e[p+1]=Ni(e[p+1],r)),e[a+1]=tD(e[a+1],r)}else e[r+1]=kr(a,0),a!==0&&(e[a+1]=Ni(e[a+1],r)),a=r;else e[r+1]=kr(u,0),a===0?a=r:e[u+1]=Ni(e[u+1],r),u=r;c&&(e[r+1]=Ms(e[r+1])),Ec(e,l,r,!0),Ec(e,l,r,!1),oD(t,l,e,r,i),s=kr(a,u),i?t.classBindings=s:t.styleBindings=s}function oD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Hn(i,t)>=0&&(n[r+1]=Ts(n[r+1]))}function Ec(e,t,n,r){let o=e[n+1],i=t===null,s=r?St(o):ln(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];iD(u,t)&&(a=!0,e[s+1]=r?Ts(c):Ms(c)),s=r?St(c):ln(c)}a&&(e[n+1]=r?Ms(o):Ts(o))}function iD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Hn(e,t)>=0:!1}var _e={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sD(e){return e.substring(_e.key,_e.keyEnd)}function aD(e){return uD(e),Xd(e,ef(e,0,_e.textEnd))}function Xd(e,t){let n=_e.textEnd;return n===t?-1:(t=_e.keyEnd=cD(e,_e.key=t,n),ef(e,t,n))}function uD(e){_e.key=0,_e.keyEnd=0,_e.value=0,_e.valueEnd=0,_e.textEnd=e.length}function ef(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function lD(e,t,n){let r=m(),o=ut();if(ge(r,o,t)){let i=R(),s=fn();Wn(i,s,r,e,t,r[L],n,!1)}return lD}function Ss(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ma(e,n,i[s],s,r)}function tf(e,t,n){return rf(e,t,n,!1),tf}function dD(e,t){return rf(e,t,null,!0),dD}function G0(e){of(yD,nf,e,!0)}function nf(e,t){for(let n=aD(t);n>=0;n=Xd(t,n))Co(e,sD(t),!0)}function rf(e,t,n,r){let o=m(),i=R(),s=Js(2);if(i.firstUpdatePass&&af(i,e,s,r),t!==de&&ge(o,s,t)){let a=i.data[Ve()];uf(i,a,o,o[L],e,o[s+1]=DD(t,n),r,s)}}function of(e,t,n,r){let o=R(),i=Js(2);o.firstUpdatePass&&af(o,null,i,r);let s=m();if(n!==de&&ge(s,i,n)){let a=o.data[Ve()];if(cf(a,r)&&!sf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ki(u,n||"")),Ss(o,a,s,n,r)}else vD(o,a,s,s[L],s[i+1],s[i+1]=mD(e,t,n),r,i)}}function sf(e,t){return t>=e.expandoStartIndex}function af(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ve()],s=sf(e,n);cf(i,r)&&t===null&&!s&&(t=!1),t=fD(o,i,t,r),rD(o,i,t,n,s,r)}}function fD(e,t,n,r){let o=Xs(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xi(null,e,t,n,r),n=Bn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xi(o,e,t,n,r),i===null){let u=pD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=xi(null,e,t,u[1],r),u=Bn(u,t.attrs,r),hD(e,t,r,u))}else i=gD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function pD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ln(r)!==0)return e[St(r)]}function hD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[St(o)]=r}function gD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Bn(r,s,n)}return Bn(r,t.attrs,n)}function xi(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=Bn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Bn(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]),Co(e,s,n?!0:t[++i]))}return e===void 0?null:e}function mD(e,t,n){if(n==null||n==="")return ee;let r=[],o=Lo(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 yD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Co(e,r,n)}function vD(e,t,n,r,o,i,s,a){o===de&&(o=ee);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&&uf(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function uf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=nD(c)?Ic(u,t,n,o,ln(c),s):void 0;if(!mo(l)){mo(i)||eD(c)&&(i=Ic(u,null,n,o,a,s));let d=rl(Ve(),n);Ly(r,s,d,o,i)}}function Ic(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===de&&(p=d?ee:void 0);let f=d?wi(p,r):l===r?p:void 0;if(c&&!mo(f)&&(f=wi(u,r)),mo(f)&&(a=f,s))return a;let h=e[o+1];o=s?St(h):ln(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=wi(u,r))}return a}function mo(e){return e!==void 0}function DD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ue(Lo(e)))),e}function cf(e,t){return(e.flags&(t?8:16))!==0}function W0(e,t,n){let r=m(),o=Na(r,e,t,n);of(Co,nf,o,!0)}var Ns=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 Ai(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ED(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=Ai(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=Ai(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),S=n(s,p),E=n(i,l);if(Object.is(E,S)){let N=n(u,f);Object.is(N,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new yo,o??=Cc(e,i,s,n),xs(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(g,e.detach(i)),s--;else{let N=e.create(i,t[i]);e.attach(i,N),i++,s++}}for(;i<=u;)wc(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=Ai(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new yo,o??=Cc(e,i,s,n);let f=n(i,d);if(xs(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;)wc(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 xs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function wc(e,t,n,r,o){if(xs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Cc(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 yo=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 q0(e,t){Ee("NgControlFlow");let n=m(),r=ut(),o=n[r]!==de?n[r]:-1,i=o!==-1?vo(n,H+o):void 0,s=0;if(ge(n,r,e)){let a=_(null);try{if(i!==void 0&&Md(i,s),e!==-1){let u=H+e,c=vo(n,u),l=Os(n[C],u),d=an(c,l.tView.ssrId),p=qn(n,l,t,{dehydratedView:d});Zn(c,p,s,sn(l,d))}}finally{_(a)}}else if(i!==void 0){let a=_d(i,s);a!==void 0&&(a[W]=t)}}var As=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};function Z0(e){return e}function Q0(e,t){return t}var Fs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Y0(e,t,n,r,o,i,s,a,u,c,l,d,p){Ee("NgControlFlow");let f=m(),h=R(),g=u!==void 0,S=m(),E=a?s.bind(S[he][W]):s,N=new Fs(g,E);S[H+e]=N,ho(f,h,e+1,t,n,r,o,rt(h.consts,i)),g&&ho(f,h,e+2,u,c,l,d,rt(h.consts,p))}var Rs=class extends Ns{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-Y}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[nn];this.needsIndexUpdate||=t!==this.length,Zn(this.lContainer,n,t,sn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ID(this.lContainer,t)}create(t,n){let r=an(this.lContainer,this.templateTNode.tView.ssrId),o=qn(this.hostLView,this.templateTNode,new As(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Vo(t[C],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return wD(this.lContainer,t)}};function K0(e){let t=_(null),n=Ve();try{let r=m(),o=r[C],i=r[n],s=n+1,a=vo(r,s);if(i.liveCollection===void 0){let c=Os(o,s);i.liveCollection=new Rs(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(ED(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=ut(),l=u.length===0;if(ge(r,c,l)){let d=n+2,p=vo(r,d);if(l){let f=Os(o,d),h=an(p,f.tView.ssrId),g=qn(r,f,void 0,{dehydratedView:h});Zn(p,g,0,sn(f,h))}else Md(p,0)}}}finally{_(t)}}function vo(e,t){return e[t]}function ID(e,t){return Ln(e,t)}function wD(e,t){return _d(e,t)}function Os(e,t){return qs(e,t)}function CD(e,t,n,r,o,i){let s=t.consts,a=rt(s,o),u=Ft(t,e,2,r,a);return ha(t,n,u,rt(s,i)),u.attrs!==null&&co(u,u.attrs,!1),u.mergedAttrs!==null&&co(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function lf(e,t,n,r){let o=m(),i=R(),s=H+e,a=o[L],u=i.firstCreatePass?CD(s,i,o,t,n,r):i.data[s],c=_D(i,o,u,a,t,e);o[s]=c;let l=To(u);return at(u,!0),ud(a,c,u),!Da(u)&&Fo()&&jo(i,o,c,u),tg()===0&&At(c,o),ng(),l&&(da(i,o,u),ua(i,u,o)),r!==null&&fa(o,u),lf}function df(){let e=q();Ys()?Ks():(e=e.parent,at(e,!1));let t=e;og(t)&&ig(),rg();let n=R();return n.firstCreatePass&&(Oo(n,e),Ws(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Dg(t)&&Ss(n,t,m(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Eg(t)&&Ss(n,t,m(),t.stylesWithoutHost,!1),df}function bD(e,t,n,r){return lf(e,t,n,r),df(),bD}var _D=(e,t,n,r,o,i)=>(Ro(!0),sd(r,o,gg()));function MD(e,t,n,r,o){let i=t.consts,s=rt(i,r),a=Ft(t,e,8,"ng-container",s);s!==null&&co(a,s,!0);let u=rt(i,o);return ha(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function ff(e,t,n){let r=m(),o=R(),i=e+H,s=o.firstCreatePass?MD(i,o,r,t,n):o.data[i];at(s,!0);let a=SD(o,r,s,e);return r[i]=a,Fo()&&jo(o,r,a,s),At(a,r),To(s)&&(da(o,r,s),ua(o,s,r)),n!=null&&fa(r,s),ff}function pf(){let e=q(),t=R();return Ys()?Ks():(e=e.parent,at(e,!1)),t.firstCreatePass&&(Oo(t,e),Ws(e)&&t.queries.elementEnd(e)),pf}function TD(e,t,n){return ff(e,t,n),pf(),TD}var SD=(e,t,n,r)=>(Ro(!0),qm(t[L],""));function J0(){return m()}function ND(e,t,n){let r=m(),o=ut();if(ge(r,o,t)){let i=R(),s=fn();Wn(i,s,r,e,t,r[L],n,!0)}return ND}function xD(e,t,n){let r=m(),o=ut();if(ge(r,o,t)){let i=R(),s=fn(),a=Xs(i.data),u=yd(a,s,r);Wn(i,s,r,e,t,u,n,!0)}return xD}var yt=void 0;function AD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var FD=["en",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["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"]],yt,[["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"]],yt,[["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}",yt,"{1} 'at' {0}",yt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",AD],Fi={};function ye(e){let t=RD(e),n=bc(t);if(n)return n;let r=t.split("-")[0];if(n=bc(r),n)return n;if(r==="en")return FD;throw new M(701,!1)}function bc(e){return e in Fi||(Fi[e]=qt.ng&&qt.ng.common&&qt.ng.common.locales&&qt.ng.common.locales[e]),Fi[e]}var B=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}(B||{});function RD(e){return e.toLowerCase().replace(/_/g,"-")}var Do="en-US";var OD=Do;function kD(e){typeof e=="string"&&(OD=e.toLowerCase().replace(/_/g,"-"))}var PD=(e,t,n)=>{};function LD(e,t,n,r){let o=m(),i=R(),s=q();return xa(i,o,o[L],s,e,t,r),LD}function VD(e,t){let n=q(),r=m(),o=R(),i=Xs(o.data),s=yd(i,n,r);return xa(o,r,s,n,e,t),VD}function jD(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[Zr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function xa(e,t,n,r,o,i,s){let a=To(r),c=e.firstCreatePass&&al(e),l=t[W],d=sl(t),p=!0;if(r.type&3||s){let g=Te(r,t),S=s?s(g):g,E=d.length,N=s?J=>s(Oe(J[r.index])):r.index,ne=null;if(!s&&a&&(ne=jD(e,t,o,r.index)),ne!==null){let J=ne.__ngLastListenerFn__||ne;J.__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,p=!1}else{i=Mc(r,t,l,i),PD(g,o,i);let J=n.listen(S,o,i);d.push(i,J),c&&c.push(o,N,E,E+1)}}else i=Mc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let S=0;S<g;S+=2){let E=h[S],N=h[S+1],U=t[E][N].subscribe(i),mn=d.length;d.push(i,U),c&&c.push(o,r.index,mn,-(mn+1))}}}function _c(e,t,n,r){let o=_(null);try{return De(6,t,n),n(r)!==!1}catch(i){return vd(e,i),!1}finally{De(7,t,n),_(o)}}function Mc(e,t,n,r){return function o(i){if(i===Function)return r;let s=Nt(e)?ke(e.index,t):t;wa(s,5);let a=_c(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=_c(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function X0(e=1){return pg(e)}function BD(e,t){let n=null,r=Vm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?id(e,i,!0):Hm(r,i))return o}return n}function eN(e){let t=m()[he][le];if(!t.projection){let n=e?e.length:1,r=t.projection=Sh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?BD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function tN(e,t=0,n,r,o,i){let s=m(),a=R(),u=r?e+1:null;u!==null&&ho(s,a,u,r,o,i,null,n);let c=Ft(a,H+e,16,null,n||null);c.projection===null&&(c.projection=t),Ks();let d=!s[nn]||cl();s[he][le].projection[c.projection]===null&&u!==null?HD(s,a,u):d&&!Da(c)&&ky(a,s,c)}function HD(e,t,n){let r=H+n,o=t.data[r],i=e[r],s=an(i,o.tView.ssrId),a=qn(e,o,void 0,{dehydratedView:s});Zn(i,a,0,sn(o,s))}function $D(e,t,n,r,o){let i=m(),s=Na(i,t,n,r);if(s!==de){let a=R(),u=fn();Wn(a,u,i,e,s,i[L],o,!1)}return $D}function nN(e,t,n,r){jd(e,t,n,r)}function rN(e,t,n){Vd(e,t,n)}function oN(e){let t=m(),n=R(),r=ea();Ao(r+1);let o=_a(n,r);if(e.dirty&&Yh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Hd(t,r);e.reset(i,Ll),e.notifyOnChanges()}return!0}return!1}function iN(){return ba(m(),ea())}function sN(e,t,n,r,o){Gd(t,jd(e,n,r,o))}function aN(e,t,n,r){Gd(e,Vd(t,n,r))}function uN(e=1){Ao(ea()+e)}function Aa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function cN(e){let t=dl();return So(t,H+e)}function lN(e,t=""){let n=m(),r=R(),o=e+H,i=r.firstCreatePass?Ft(r,o,1,t,null):r.data[o],s=UD(r,n,i,t,e);n[o]=s,Fo()&&jo(r,n,s,i),at(i,!1)}var UD=(e,t,n,r,o)=>(Ro(!0),Gm(t[L],r));function zD(e){return hf("",e,""),zD}function hf(e,t,n){let r=m(),o=Na(r,e,t,n);return o!==de&&gf(r,Ve(),o),hf}function GD(e,t,n,r,o){let i=m(),s=Xv(i,e,t,n,r,o);return s!==de&&gf(i,Ve(),s),GD}function gf(e,t,n){let r=rl(t,e);Wm(e[L],r,n)}function WD(e,t,n){Vl(t)&&(t=t());let r=m(),o=ut();if(ge(r,o,t)){let i=R(),s=fn();Wn(i,s,r,e,t,r[L],n,!1)}return WD}function dN(e,t){let n=Vl(e);return n&&e.set(t),n}function qD(e,t){let n=m(),r=R(),o=q();return xa(r,n,n[L],o,e,t),qD}var mf={};function ZD(e){let t=R(),n=m(),r=e+H,o=Ft(t,r,128,null,null);return at(o,!1),Aa(t,n,r,mf),ZD}function fN(e){Ee("NgLet");let t=R(),n=m(),r=Ve();return Aa(t,n,r,e),e}function pN(e){let t=dl(),n=So(t,H+e);if(n===mf)throw new M(314,!1);return n}function QD(e,t,n){let r=R();if(r.firstCreatePass){let o=Re(e);ks(n,r.data,r.blueprint,o,!0),ks(t,r.data,r.blueprint,o,!1)}}function ks(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i<e.length;i++)ks(e[i],t,n,r,o);else{let i=R(),s=m(),a=q(),u=tn(e)?e:G(e.provide),c=qc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(tn(e)||!e.multi){let f=new _t(c,o,me),h=Oi(u,t,o?l:l+p,d);h===-1?(qi(to(a,s),i,u),Ri(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=Oi(u,t,l+p,d),h=Oi(u,t,l,l+p),g=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!g){qi(to(a,s),i,u);let E=JD(o?KD:YD,n.length,o,r,c);!o&&S&&(n[h].providerFactory=E),Ri(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=yf(n[o?h:f],c,!o&&r);Ri(i,e,f>-1?f:h,E)}!o&&r&&S&&n[h].componentProviders++}}}function Ri(e,t,n,r){let o=tn(t),i=Lh(t);if(o||i){let u=(i?G(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 yf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Oi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YD(e,t,n,r){return Ps(this.multi,[])}function KD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=On(n,n[C],this.providerFactory.index,r);i=a.slice(0,s),Ps(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Ps(o,i);return i}function Ps(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JD(e,t,n,r,o){let i=new _t(e,n,me);return i.multi=[],i.index=t,i.componentProviders=0,yf(i,o,r&&!n),i}function hN(e,t=[]){return n=>{n.providersResolver=(r,o)=>QD(r,o?o(e):e,t)}}function gN(e,t,n){let r=xo()+e,o=m();return o[r]===de?Ta(o,r,n?t.call(n):t()):jv(o,r)}function mN(e,t,n,r){return Df(m(),xo(),e,t,n,r)}function vf(e,t){let n=e[t];return n===de?void 0:n}function Df(e,t,n,r,o,i){let s=t+n;return ge(e,s,o)?Ta(e,s+1,i?r.call(i,o):r(o)):vf(e,s+1)}function XD(e,t,n,r,o,i,s){let a=t+n;return Qd(e,a,o,i)?Ta(e,a+2,s?r.call(s,o,i):r(o,i)):vf(e,a+2)}function yN(e,t){let n=R(),r,o=e+H;n.firstCreatePass?(r=eE(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=Dt(r.type,!0)),s,a=ae(me);try{let u=eo(!1),c=i();return eo(u),Aa(n,m(),o,c),c}finally{ae(a)}}function eE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function vN(e,t,n){let r=e+H,o=m(),i=So(o,r);return Ef(o,r)?Df(o,xo(),t,i.transform,n,i):i.transform(n)}function DN(e,t,n,r){let o=e+H,i=m(),s=So(i,o);return Ef(i,o)?XD(i,xo(),t,s.transform,n,r,s):s.transform(n,r)}function Ef(e,t){return e[C].data[t].pure}function EN(e,t){return Ho(e,t)}var Ls=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},IN=(()=>{class e{compileModuleSync(n){return new bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Hc(n),i=rd(o.declarations).reduce((s,a)=>{let u=tt(a);return u&&s.push(new cn(u)),s},[]);return new Ls(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tE=(()=>{class e{zone=I(pe);changeDetectionScheduler=I(Mt);applicationRef=I(jn);_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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nE=new A("",{factory:()=>!1});function If({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pe(oe(re({},wf()),{scheduleInRootZone:n})),[{provide:pe,useFactory:e},{provide:Wr,multi:!0,useFactory:()=>{let r=I(tE,{optional:!0});return()=>r.initialize()}},{provide:Wr,multi:!0,useFactory:()=>{let r=I(rE);return()=>{r.initialize()}}},t===!0?{provide:Rl,useValue:!0}:[],{provide:Ol,useValue:n??Fl}]}function wN(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=If({ngZoneFactory:()=>{let o=wf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Ee("NgZone_CoalesceEvent"),new pe(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Fh([{provide:nE,useValue:!0},{provide:oa,useValue:!1},r])}function wf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var rE=(()=>{class e{subscription=new j;initialized=!1;zone=I(pe);pendingTasks=I(zn);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(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var oE=(()=>{class e{appRef=I(jn);taskService=I(zn);ngZone=I(pe);zonelessEnabled=I(oa);tracing=I(ko,{optional:!0});disableScheduling=I(Rl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ro):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Ol,{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 Ki||!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?Ku:kl;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(ro+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,Ku(()=>{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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iE(){return typeof $localize<"u"&&$localize.locale||Do}var gn=new A("",{providedIn:"root",factory:()=>I(gn,T.Optional|T.SkipSelf)||iE()});var Vs=new A(""),sE=new A("");function Mn(e){return!e.moduleRef}function aE(e){let t=Mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{Mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mn(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(()=>{Hr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Yv(r,n,()=>{let i=t.get(Kd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(gn,Do);if(kD(s||Do),!t.get(sE,!0))return Mn(e)?t.get(jn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mn(e)){let u=t.get(jn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return uE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function uE(e,t){let n=e.injector.get(jn);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 $r=null;function cE(e=[],t){return Pe.create({name:t,providers:[{provide:Wc,useValue:"platform"},{provide:Vs,useValue:new Set([()=>$r=null])},...e]})}function lE(e=[]){if($r)return $r;let t=cE(e);return $r=t,qv(),dE(t),t}function dE(e){let t=e.get(Jg,null);Zc(e,()=>{t?.forEach(n=>n())})}var Fa=(()=>{class e{static __NG_ELEMENT_ID__=fE}return e})();function fE(e){return pE(q(),m(),(e&16)===16)}function pE(e,t,n){if(Nt(e)&&!n){let r=ke(e.index,t);return new Tt(r,r)}else if(e.type&175){let r=t[he];return new Tt(r,t)}return null}function CN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=lE(r),i=[If({}),{provide:Mt,useExisting:oE},...n||[]],s=new po({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return aE({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function hE(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function gE(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function bN(e,t){Ee("NgSignals");let n=ii(e);return t?.equal&&(n[Q].equal=t.equal),n}function mE(e){let t=_(null);try{return e()}finally{_(t)}}var Cf=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=yE}return e})();function yE(){return new Cf(m(),q())}var vE=!1,DE=(()=>{class e extends go{pendingTasks=I(zn);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=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),js=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=au(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(ot,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function EE(){}function IE(e,t){Ee("NgSignals"),!t?.injector&&_o(EE);let n=t?.injector??I(Pe),r=t?.manualCleanup!==!0?n.get(pn):null,o=new js(n.get(DE),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Fa,null,{optional:!0});return!i||!(i._lView[D]&8)?o.watcher.notify():(i._lView[Lr]??=[]).push(o.watcher.notify),o}var wE=vE;var Bs=class{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}};function CE(e,t){if(wE)return IE(e,t);Ee("NgSignals"),!t?.injector&&_o(CE);let n=t?.injector??I(Pe),r=t?.manualCleanup!==!0?n.get(pn):null,o,i=n.get(Cf,null,{optional:!0}),s=n.get(Mt);return i!==null&&!t?.forceRoot?(o=ME(i.view,s,e),r instanceof no&&r._lView===i.view&&(r=null)):o=TE(e,n.get(Jd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Bs(o)}var bf=oe(re({},ct),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:kn,run(){if(this.dirty=!1,this.hasRun&&!In(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ot(this),n=Kr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Kr(n),En(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),bE=oe(re({},bf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){kt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),_E=oe(re({},bf),{consumerMarkedDirty(){this.view[D]|=8192,Un(this.view),this.notifier.notify(14)},destroy(){kt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[It]?.delete(this)}});function ME(e,t,n){let r=Object.create(_E);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[It]??=new Set,e[It].add(r),r.consumerMarkedDirty(r),r}function TE(e,t,n){let r=Object.create(bE);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 _N(e,t){let n=tt(e),r=t.elementInjector||bo();return new cn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Ff=null;function Ra(){return Ff}function KN(e){Ff??=e}var _f=class{};var Rf=new A(""),Of=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:()=>I(NE),providedIn:"platform"})}return e})();var NE=(()=>{class e extends Of{_location;_history;_doc=I(Rf);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ra().getBaseHref(this._doc)}onPopState(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ra().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=V({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function kf(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Mf(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 Rt(e){return e&&e[0]!=="?"?"?"+e:e}var Ba=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:()=>I(AE),providedIn:"root"})}return e})(),xE=new A(""),AE=(()=>{class e extends Ba{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Rf).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 kf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Rt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Rt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Rt(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)(ce(Of),ce(xE,8))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var FE=(()=>{class e{_subject=new ie;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=kE(Mf(Tf(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+Rt(r))}normalize(n){return e.stripTrailingSlash(OE(this._basePath,Tf(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+Rt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rt(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=Rt;static joinWithSlash=kf;static stripTrailingSlash=Mf;static \u0275fac=function(r){return new(r||e)(ce(Ba))};static \u0275prov=V({token:e,factory:()=>RE(),providedIn:"root"})}return e})();function RE(){return new FE(ce(Ba))}function OE(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Tf(e){return e.replace(/\/index.html$/,"")}function kE(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Ha=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ha||{});var te=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(te||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),ve=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ve||{}),Z={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 PE(e){return ye(e)[B.LocaleId]}function LE(e,t,n){let r=ye(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function VE(e,t,n){let r=ye(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function jE(e,t,n){let r=ye(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function BE(e,t){let r=ye(e)[B.Eras];return Ie(r,t)}function $o(e,t){let n=ye(e);return Ie(n[B.DateFormat],t)}function Uo(e,t){let n=ye(e);return Ie(n[B.TimeFormat],t)}function zo(e,t){let r=ye(e)[B.DateTimeFormat];return Ie(r,t)}function Ne(e,t){let n=ye(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===Z.CurrencyDecimal)return n[B.NumberSymbols][Z.Decimal];if(t===Z.CurrencyGroup)return n[B.NumberSymbols][Z.Group]}return r}function Pf(e,t){return ye(e)[B.NumberFormats][t]}function Lf(e){if(!e[B.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[B.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function HE(e){let t=ye(e);return Lf(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?Oa(r):[Oa(r[0]),Oa(r[1])])}function $E(e,t,n){let r=ye(e);Lf(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Oa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var UE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Go={},zE=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function GE(e,t,n,r){let o=eI(e);t=Ye(n,t)||t;let s=[],a;for(;t;)if(a=zE.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=jf(r,u),o=XE(o,r,!0));let c="";return s.forEach(l=>{let d=KE(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Yo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ye(e,t){let n=PE(e);if(Go[n]??={},Go[n][t])return Go[n][t];let r="";switch(t){case"shortDate":r=$o(e,ve.Short);break;case"mediumDate":r=$o(e,ve.Medium);break;case"longDate":r=$o(e,ve.Long);break;case"fullDate":r=$o(e,ve.Full);break;case"shortTime":r=Uo(e,ve.Short);break;case"mediumTime":r=Uo(e,ve.Medium);break;case"longTime":r=Uo(e,ve.Long);break;case"fullTime":r=Uo(e,ve.Full);break;case"short":let o=Ye(e,"shortTime"),i=Ye(e,"shortDate");r=Wo(zo(e,ve.Short),[o,i]);break;case"medium":let s=Ye(e,"mediumTime"),a=Ye(e,"mediumDate");r=Wo(zo(e,ve.Medium),[s,a]);break;case"long":let u=Ye(e,"longTime"),c=Ye(e,"longDate");r=Wo(zo(e,ve.Long),[u,c]);break;case"full":let l=Ye(e,"fullTime"),d=Ye(e,"fullDate");r=Wo(zo(e,ve.Full),[l,d]);break}return r&&(Go[n][t]=r),r}function Wo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Se(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function WE(e,t){return Se(e,3).substring(0,t)}function $(e,t,n=0,r=!1,o=!1){return function(i,s){let a=qE(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return WE(a,t);let u=Ne(s,Z.MinusSign);return Se(a,t,u,r,o)}}function qE(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=te.Format,r=!1){return function(o,i){return ZE(o,i,e,t,n,r)}}function ZE(e,t,n,r,o,i){switch(n){case 2:return jE(t,o,r)[e.getMonth()];case 1:return VE(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let c=HE(t),l=$E(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,S=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(g&&S)return!0}else if(g||S)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return LE(t,o,r)[s<12?0:1];case 3:return BE(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function qo(e){return function(t,n,r){let o=-1*r,i=Ne(n,Z.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Se(s,2,i)+Se(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Se(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Se(s,2,i)+":"+Se(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Se(s,2,i)+":"+Se(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var QE=0,Qo=4;function YE(e){let t=Yo(e,QE,1).getDay();return Yo(e,0,1+(t<=Qo?Qo:Qo+7)-t)}function Vf(e){let t=e.getDay(),n=t===0?-3:Qo-t;return Yo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ka(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Vf(n),s=YE(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Se(o,e,Ne(r,Z.MinusSign))}}function Zo(e,t=!1){return function(n,r){let i=Vf(n).getFullYear();return Se(i,e,Ne(r,Z.MinusSign),t)}}var Pa={};function KE(e){if(Pa[e])return Pa[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(3,k.Abbreviated);break;case"GGGG":t=P(3,k.Wide);break;case"GGGGG":t=P(3,k.Narrow);break;case"y":t=$(0,1,0,!1,!0);break;case"yy":t=$(0,2,0,!0,!0);break;case"yyy":t=$(0,3,0,!1,!0);break;case"yyyy":t=$(0,4,0,!1,!0);break;case"Y":t=Zo(1);break;case"YY":t=Zo(2,!0);break;case"YYY":t=Zo(3);break;case"YYYY":t=Zo(4);break;case"M":case"L":t=$(1,1,1);break;case"MM":case"LL":t=$(1,2,1);break;case"MMM":t=P(2,k.Abbreviated);break;case"MMMM":t=P(2,k.Wide);break;case"MMMMM":t=P(2,k.Narrow);break;case"LLL":t=P(2,k.Abbreviated,te.Standalone);break;case"LLLL":t=P(2,k.Wide,te.Standalone);break;case"LLLLL":t=P(2,k.Narrow,te.Standalone);break;case"w":t=ka(1);break;case"ww":t=ka(2);break;case"W":t=ka(1,!0);break;case"d":t=$(2,1);break;case"dd":t=$(2,2);break;case"c":case"cc":t=$(7,1);break;case"ccc":t=P(1,k.Abbreviated,te.Standalone);break;case"cccc":t=P(1,k.Wide,te.Standalone);break;case"ccccc":t=P(1,k.Narrow,te.Standalone);break;case"cccccc":t=P(1,k.Short,te.Standalone);break;case"E":case"EE":case"EEE":t=P(1,k.Abbreviated);break;case"EEEE":t=P(1,k.Wide);break;case"EEEEE":t=P(1,k.Narrow);break;case"EEEEEE":t=P(1,k.Short);break;case"a":case"aa":case"aaa":t=P(0,k.Abbreviated);break;case"aaaa":t=P(0,k.Wide);break;case"aaaaa":t=P(0,k.Narrow);break;case"b":case"bb":case"bbb":t=P(0,k.Abbreviated,te.Standalone,!0);break;case"bbbb":t=P(0,k.Wide,te.Standalone,!0);break;case"bbbbb":t=P(0,k.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(0,k.Abbreviated,te.Format,!0);break;case"BBBB":t=P(0,k.Wide,te.Format,!0);break;case"BBBBB":t=P(0,k.Narrow,te.Format,!0);break;case"h":t=$(3,1,-12);break;case"hh":t=$(3,2,-12);break;case"H":t=$(3,1);break;case"HH":t=$(3,2);break;case"m":t=$(4,1);break;case"mm":t=$(4,2);break;case"s":t=$(5,1);break;case"ss":t=$(5,2);break;case"S":t=$(6,1);break;case"SS":t=$(6,2);break;case"SSS":t=$(6,3);break;case"Z":case"ZZ":case"ZZZ":t=qo(0);break;case"ZZZZZ":t=qo(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=qo(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=qo(2);break;default:return null}return Pa[e]=t,t}function jf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function JE(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function XE(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=jf(t,o);return JE(e,r*(i-o))}function eI(e){if(Sf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Yo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(UE))return tI(r)}let t=new Date(e);if(!Sf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function tI(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Sf(e){return e instanceof Date&&!isNaN(e.valueOf())}var nI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Nf=22,Ko=".",Kn="0",rI=";",oI=",",La="#";var iI="%";function Bf(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Ne(n,Z.Infinity);else{let c=cI(e);s&&(c=uI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let N=i.match(nI);if(N===null)throw new Error(`${i} is not a valid digit info`);let ne=N[1],J=N[3],U=N[5];ne!=null&&(l=Va(ne)),J!=null&&(d=Va(J)),U!=null?p=Va(U):J!=null&&d>p&&(p=d)}lI(c,d,p);let f=c.digits,h=c.integerLen,g=c.exponent,S=[];for(u=f.every(N=>!N);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?S=f.splice(h,f.length):(S=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(Ne(n,r)),S.length&&(a+=Ne(n,o)+S.join("")),g&&(a+=Ne(n,Z.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function sI(e,t,n){let r=Pf(t,Ha.Percent),o=Hf(r,Ne(t,Z.MinusSign));return Bf(e,o,t,Z.Group,Z.Decimal,n,!0).replace(new RegExp(iI,"g"),Ne(t,Z.PercentSign))}function aI(e,t,n){let r=Pf(t,Ha.Decimal),o=Hf(r,Ne(t,Z.MinusSign));return Bf(e,o,t,Z.Group,Z.Decimal,n)}function Hf(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(rI),o=r[0],i=r[1],s=o.indexOf(Ko)!==-1?o.split(Ko):[o.substring(0,o.lastIndexOf(Kn)+1),o.substring(o.lastIndexOf(Kn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(La));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===Kn?n.minFrac=n.maxFrac=l+1:d===La?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(oI);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(La);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 uI(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 cI(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(Ko))>-1&&(t=t.replace(Ko,"")),(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)===Kn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Kn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Nf&&(r=r.splice(0,Nf-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function lI(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 Va(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function JN(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 ja=/\s+/,xf=[],XN=(()=>{class e{_ngEl;_renderer;initialClasses=xf;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ja):xf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ja):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(ja).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)(me(xt),me(Ca))};static \u0275dir=Ma({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ex=(()=>{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)(me(Qn))};static \u0275dir=Ma({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Jc]})}return e})();function Jo(e,t){return new M(2100,!1)}var dI=/(?:[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,tx=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw Jo(e,n);return n.replace(dI,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Yn({name:"titlecase",type:e,pure:!0})}return e})();var fI="mediumDate",pI=new A(""),hI=new A(""),nx=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??fI,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return GE(n,s,i||this.locale,a)}catch(s){throw Jo(e,s.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16),me(pI,24),me(hI,24))};static \u0275pipe=Yn({name:"date",type:e,pure:!0})}return e})();var rx=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$f(n))return null;o||=this._locale;try{let i=Uf(n);return aI(i,o,r)}catch(i){throw Jo(e,i.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16))};static \u0275pipe=Yn({name:"number",type:e,pure:!0})}return e})(),ox=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$f(n))return null;o||=this._locale;try{let i=Uf(n);return sI(i,o,r)}catch(i){throw Jo(e,i.message)}}static \u0275fac=function(r){return new(r||e)(me(gn,16))};static \u0275pipe=Yn({name:"percent",type:e,pure:!0})}return e})();function $f(e){return!(e==null||e===""||e!==e)}function Uf(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 gI="browser",mI="server";function ix(e){return e===gI}function sx(e){return e===mI}var Af=class{};var je=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}(je||{}),cx="*";function lx(e,t){return{type:je.Trigger,name:e,definitions:t,options:{}}}function dx(e,t=null){return{type:je.Animate,styles:t,timings:e}}function fx(e,t=null){return{type:je.Group,steps:e,options:t}}function px(e,t=null){return{type:je.Sequence,steps:e,options:t}}function hx(e){return{type:je.Style,styles:e,offset:null}}function gx(e,t,n){return{type:je.State,name:e,styles:t,options:n}}function mx(e,t,n=null){return{type:je.Transition,expr:e,animation:t,options:n}}function yx(e=null){return{type:je.AnimateChild,options:e}}function vx(e,t,n=null){return{type:je.Query,selector:e,animation:t,options:n}}var zf=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}},Gf=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}},Dx="!";export{re as a,oe as b,yI as c,vI as d,DI as e,EI as f,II as g,wI as h,CI as i,Ga as j,bI as k,j as l,fp as m,x as n,gi as o,mi as p,ie as q,wn as r,gp as s,ht as t,Ae as u,Cp as v,bp as w,_p as x,He as y,Mp as z,$e as A,Op as B,Ue as C,zt as D,Pp as E,Lp as F,Vp as G,jp as H,mt as I,Bp as J,Ru as K,Hp as L,$p as M,_n as N,Wt as O,Up as P,zp as Q,qp as R,Zp as S,Di as T,Qp as U,Yp as V,Kp as W,Ii as X,Jp as Y,Xp as Z,eh as _,th as $,Lu as aa,nh as ba,rh as ca,M as da,Ac as ea,V as fa,ah as ga,g0 as ha,A as ia,T as ja,ce as ka,I as la,Fh as ma,Rh as na,Wc as oa,nt as pa,Zc as qa,Jc as ra,m0 as sa,y0 as ta,v0 as ua,D0 as va,E0 as wa,Pe as xa,Yu as ya,pn as za,Mt as Aa,zn as Ba,Je as Ca,pe as Da,ot as Ea,I0 as Fa,w0 as Ga,xt as Ha,Ee as Ia,Ug as Ja,zg as Ka,Xi as La,C0 as Ma,b0 as Na,Jg as Oa,Xg as Pa,_0 as Qa,M0 as Ra,ko as Sa,im as Ta,sm as Ua,Pn as Va,Lo as Wa,lm as Xa,T0 as Ya,S0 as Za,N0 as _a,x0 as $a,A0 as ab,Yl as bb,F0 as cb,nd as db,R0 as eb,O0 as fb,k0 as gb,me as hb,P0 as ib,io as jb,Vn as kb,uo as lb,Ca as mb,Qn as nb,B0 as ob,H0 as pb,st as qb,ws as rb,bv as sb,$0 as tb,Sv as ub,Ma as vb,Yn as wb,Av as xb,U0 as yb,Vv as zb,Hv as Ab,z0 as Bb,Sa as Cb,Wv as Db,jn as Eb,Jv as Fb,lD as Gb,tf as Hb,dD as Ib,G0 as Jb,W0 as Kb,q0 as Lb,Z0 as Mb,Q0 as Nb,Y0 as Ob,K0 as Pb,lf as Qb,df as Rb,bD as Sb,TD as Tb,J0 as Ub,ND as Vb,xD as Wb,LD as Xb,VD as Yb,X0 as Zb,eN as _b,tN as $b,$D as ac,nN as bc,rN as cc,oN as dc,iN as ec,sN as fc,aN as gc,uN as hc,cN as ic,lN as jc,zD as kc,hf as lc,GD as mc,WD as nc,dN as oc,qD as pc,ZD as qc,fN as rc,pN as sc,hN as tc,gN as uc,mN as vc,yN as wc,vN as xc,DN as yc,EN as zc,IN as Ac,wN as Bc,Fa as Cc,CN as Dc,hE as Ec,gE as Fc,bN as Gc,mE as Hc,CE as Ic,_N as Jc,Ra as Kc,KN as Lc,_f as Mc,Rf as Nc,FE as Oc,JN as Pc,XN as Qc,ex as Rc,tx as Sc,nx as Tc,rx as Uc,ox as Vc,gI as Wc,ix as Xc,sx as Yc,Af as Zc,je as _c,cx as $c,lx as ad,dx as bd,fx as cd,px as dd,hx as ed,gx as fd,mx as gd,yx as hd,vx as id,zf as jd,Gf as kd,Dx as ld};