dealposbooks 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +88 -88
- package/assets/scss/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Black.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Bold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-ExtraBold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-ExtraLight.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Light.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Medium.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Regular.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-SemiBold.woff2 +0 -0
- package/assets/scss/fonts/roboto-slab/RobotoSlab-Thin.woff2 +0 -0
- package/assets/scss/layouts/_layout.scss +6 -6
- package/assets/scss/layouts/_sidebar.scss +8 -6
- package/assets/scss/style.scss +20 -8
- package/assets/scss/variables/_variables.scss +11 -35
- package/{chunk-OM3AWD5C.js → chunk-25PFXJAK.js} +1 -1
- package/chunk-2ODJIB2A.js +2 -0
- package/{chunk-D7G3TZFD.js → chunk-2RWUYFYR.js} +1 -1
- package/chunk-3GWDCNXX.js +397 -0
- package/chunk-4ANSU2AT.js +137 -0
- package/{chunk-FRUVZQE2.js → chunk-52HZNWBM.js} +4 -2
- package/{chunk-C6OIY3SK.js → chunk-63UNI6LK.js} +3 -3
- package/chunk-7LG2CFYI.js +1 -0
- package/{chunk-4WX4CTCF.js → chunk-AH4LZWJY.js} +1 -1
- package/chunk-AKBPKNCH.js +1 -0
- package/chunk-AOB6BRGQ.js +1 -0
- package/chunk-ATVC2UCR.js +47 -0
- package/chunk-AWY6AD76.js +1 -0
- package/chunk-B4JAAGJX.js +1 -0
- package/chunk-BGKS3L73.js +246 -0
- package/{chunk-T4BLJS6I.js → chunk-C66O26ZI.js} +2 -2
- package/chunk-C6Q5SG76.js +1 -0
- package/chunk-DOKYUX3G.js +1 -0
- package/{chunk-HTIWSCTK.js → chunk-E6EWXQXJ.js} +1 -1
- package/{chunk-AVVIJQVC.js → chunk-E6QGADC5.js} +6 -2
- package/chunk-EN5MVYJQ.js +180 -0
- package/chunk-EP22HTZC.js +300 -0
- package/chunk-FJ7O4K2Y.js +1 -0
- package/chunk-FVXLQNAC.js +193 -0
- package/chunk-G52TDPSD.js +297 -0
- package/chunk-GCTIPWTU.js +1 -0
- package/chunk-GMTXOQ6X.js +1 -0
- package/chunk-GRTIJ77T.js +1 -0
- package/chunk-HG23WDL5.js +1660 -0
- package/chunk-I4HDCL3W.js +1 -0
- package/{chunk-SKH7LGD3.js → chunk-I7MT7OUB.js} +1 -1
- package/chunk-ISXV3FIH.js +1 -0
- package/{chunk-NHEOQJVG.js → chunk-JFAO2CIB.js} +1 -1
- package/chunk-JQNCWTZN.js +1 -0
- package/{chunk-CUPI27LK.js → chunk-JT2WCR5Q.js} +1 -1
- package/chunk-JXNLXEJT.js +1 -0
- package/chunk-K36WQVFR.js +1 -0
- package/{chunk-XVXUJ33X.js → chunk-KFHCGO62.js} +1 -1
- package/chunk-LCATVZKP.js +141 -0
- package/chunk-LJMMN36O.js +1 -0
- package/{chunk-BFBSEK4H.js → chunk-MNPBLC23.js} +2 -2
- package/{chunk-36254LID.js → chunk-NQ24E7JY.js} +1 -1
- package/{chunk-7HQ6WSSU.js → chunk-NTDTN5DF.js} +1 -1
- package/{chunk-6VATP7AD.js → chunk-O7OAT4UO.js} +1 -1
- package/chunk-OHVHLILJ.js +1 -0
- package/chunk-OJWZH7AB.js +301 -0
- package/{chunk-ZZCZU47E.js → chunk-PG4QL7N2.js} +1 -1
- package/chunk-PNAWRNGD.js +197 -0
- package/chunk-QJ2XA575.js +1 -0
- package/chunk-RJYIKNTI.js +1 -0
- package/chunk-RR5AUWZO.js +1 -0
- package/chunk-RSHFIZV3.js +7 -0
- package/chunk-SQKLMC5H.js +231 -0
- package/{chunk-P7OQDOZ5.js → chunk-T3ZCO6EC.js} +1 -1
- package/chunk-T7R7C3RX.js +1 -0
- package/chunk-TJSPXPO6.js +59 -0
- package/chunk-TNXHYK2R.js +7 -0
- package/chunk-TTG6XQNP.js +1 -0
- package/chunk-UC2RR4WT.js +210 -0
- package/chunk-UOFRXQI7.js +1 -0
- package/{chunk-CGUMLMMW.js → chunk-UVBFYB2X.js} +2 -2
- package/{chunk-ECOKK22J.js → chunk-WCQQSWYQ.js} +21 -67
- package/{chunk-ZNSZA7QK.js → chunk-WTRMIJHX.js} +1 -1
- package/chunk-Z4SGDPGH.js +821 -0
- package/chunk-ZNN2E36Y.js +1 -0
- package/index.html +3 -3
- package/main-F2OQVLJM.js +1 -0
- package/package.json +1 -1
- package/styles-GUJHQHWA.css +1 -0
- package/assets/scss/fonts/Montserrat-Black.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-BlackItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Bold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-BoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraBold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraLight.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Italic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Light.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-LightItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Medium.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-MediumItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Regular.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-SemiBold.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-Thin.woff2 +0 -0
- package/assets/scss/fonts/Montserrat-ThinItalic.woff2 +0 -0
- package/assets/scss/fonts/Roboto-Italic-VariableFont_wdth,wght.woff2 +0 -0
- package/assets/scss/fonts/Roboto-VariableFont_wdth,wght.woff2 +0 -0
- package/assets/scss/fonts/RobotoSlab-VariableFont_wght.woff2 +0 -0
- package/chunk-2TIQLYOU.js +0 -1
- package/chunk-3RX6VPXR.js +0 -2
- package/chunk-4KSABCT6.js +0 -1
- package/chunk-5U24N52S.js +0 -1
- package/chunk-6SHWLH3C.js +0 -141
- package/chunk-7BUIG2V4.js +0 -2
- package/chunk-A63HKFUG.js +0 -7
- package/chunk-BMZ2A6GT.js +0 -1
- package/chunk-DFW6MEY3.js +0 -1
- package/chunk-EQDQRRRY.js +0 -1
- package/chunk-FJNTF5KS.js +0 -1
- package/chunk-FT6T65H6.js +0 -191
- package/chunk-G7QGHGLM.js +0 -1767
- package/chunk-KSOH6FOP.js +0 -160
- package/chunk-L3OWH62Z.js +0 -1
- package/chunk-LVEM3QDX.js +0 -180
- package/chunk-MYWX5CJP.js +0 -1
- package/chunk-NAZKZSVO.js +0 -1
- package/chunk-NFJLN5KP.js +0 -1
- package/chunk-OB4H7LE4.js +0 -1
- package/chunk-PFEDDKVG.js +0 -235
- package/chunk-PJF5SBZS.js +0 -2
- package/chunk-QHTRP332.js +0 -1
- package/chunk-QSMNYWAY.js +0 -1
- package/chunk-RYKEISKQ.js +0 -1
- package/chunk-SMINY2HR.js +0 -428
- package/chunk-T6W6HJCE.js +0 -1
- package/chunk-UJUUMHOE.js +0 -284
- package/chunk-ULH6XT2Q.js +0 -931
- package/chunk-WB6KUPUB.js +0 -393
- package/chunk-WKMCCUUK.js +0 -1
- package/chunk-WQNK5ZUV.js +0 -1
- package/chunk-XTTFTDKZ.js +0 -1
- package/chunk-ZQDTA2BC.js +0 -189
- package/main-ZQK6GRTL.js +0 -1
- package/styles-PZKETPHN.css +0 -1
package/chunk-A63HKFUG.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{a as re,b as oe}from"./chunk-EQDQRRRY.js";function v(e){return typeof e=="function"}function Wo(e){return v(e?.lift)}function y(e){return t=>{if(Wo(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 qe(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 Xn=qe(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 it(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(v(r))try{r()}catch(i){t=i instanceof Xn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ja(i)}catch(s){t=t??[],s instanceof Xn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ja(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&it(n,t)}remove(t){let{_finalizers:n}=this;n&&it(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var zo=F.EMPTY;function er(e){return e instanceof F||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function ja(e){v(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var St={setTimeout(e,t,...n){let{delegate:r}=St;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=St;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function tr(e){St.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function ce(){}var Ha=Go("C",void 0,void 0);function Ba(e){return Go("E",void 0,e)}function $a(e){return Go("N",e,void 0)}function Go(e,t,n){return{kind:e,value:t,error:n}}var st=null;function At(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!st;if(t&&(st={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=st;if(st=null,n)throw r}}else e()}function Ua(e){me.useDeprecatedSynchronousErrorHandling&&st&&(st.errorThrown=!0,st.error=e)}var at=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,er(t)&&t.add(this)):this.destination=sp}static create(t,n,r){return new Re(t,n,r)}next(t){this.isStopped?Zo($a(t),this):this._next(t)}error(t){this.isStopped?Zo(Ba(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Zo(Ha,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()}}},op=Function.prototype.bind;function Qo(e,t){return op.call(e,t)}var Yo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){nr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){nr(r)}else nr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){nr(n)}}},Re=class extends at{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Qo(t.next,i),error:t.error&&Qo(t.error,i),complete:t.complete&&Qo(t.complete,i)}):o=t}this.destination=new Yo(o)}};function nr(e){me.useDeprecatedSynchronousErrorHandling?Ua(e):tr(e)}function ip(e){throw e}function Zo(e,t){let{onStoppedNotification:n}=me;n&&St.setTimeout(()=>n(e,t))}var sp={closed:!0,next:ce,error:ip,complete:ce};function g(e,t,n,r,o){return new Jo(e,t,n,r,o)}var Jo=class extends at{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function B(e){return e}function qa(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(g(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):B}var kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ap(...e){return Ko(e)}function Ko(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=lp(n)?n:new Re(n,r,o);return At(()=>{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=Wa(r),new r((o,i)=>{let s=new Re({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[kt](){return this}pipe(...n){return Ko(n)(this)}toPromise(n){return n=Wa(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 Wa(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function cp(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function lp(e){return e&&e instanceof at||cp(e)&&er(e)}function Xo(){return y((e,t)=>{let n=null;e._refCount++;let r=g(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 ei=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Wo(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 F;let n=this.getSubject();t.add(this.source.subscribe(g(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return Xo()(this)}};var Ot={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Ot;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new F(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Ot;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Ot;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var za=qe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new rr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new za}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{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(){At(()=>{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?zo:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,it(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new rr(t,n),e})(),rr=class extends le{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:zo}};var fn=class extends le{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 pn={now(){return(pn.delegate||Date).now()},delegate:void 0};var hn=class extends le{constructor(t=1/0,n=1/0,r=pn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var or=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var gn={setInterval(e,t,...n){let{delegate:r}=gn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=gn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Rt=class extends or{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 gn.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&&gn.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,it(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Pt=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)}};Pt.now=pn.now;var Lt=class extends Pt{constructor(t,n=Pt.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 ye=new Lt(Rt),Ga=ye;var ir=class extends Rt{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=Ot.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&&(Ot.cancelAnimationFrame(n),t._scheduled=void 0)}};var sr=class extends Lt{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 up=new sr(ir);var Pe=new _(e=>e.complete());function ar(e){return e&&v(e.schedule)}function ti(e){return e[e.length-1]}function We(e){return v(ti(e))?e.pop():void 0}function be(e){return ar(ti(e))?e.pop():void 0}function Qa(e,t){return typeof ti(e)=="number"?e.pop():t}function Ya(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Za(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function Ja(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(I){return new Promise(function(O,C){i.push([f,I,O,C])>1||c(f,I)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(I){p(i[0][3],I)}}function l(f){f.value instanceof ct?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ka(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Za=="function"?Za(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Ft=e=>e&&typeof e.length=="number"&&typeof e!="function";function cr(e){return v(e?.then)}function lr(e){return v(e[kt])}function ur(e){return Symbol.asyncIterator&&v(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 dp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fr=dp();function pr(e){return v(e?.[fr])}function hr(e){return Ja(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function gr(e){return v(e?.getReader)}function w(e){if(e instanceof _)return e;if(e!=null){if(lr(e))return fp(e);if(Ft(e))return pp(e);if(cr(e))return hp(e);if(ur(e))return Xa(e);if(pr(e))return gp(e);if(gr(e))return mp(e)}throw dr(e)}function fp(e){return new _(t=>{let n=e[kt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function pp(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function hp(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,tr)})}function gp(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xa(e){return new _(t=>{yp(e,t).catch(n=>t.error(n))})}function mp(e){return Xa(hr(e))}function yp(e,t){var n,r,o,i;return Ya(this,void 0,void 0,function*(){try{for(n=Ka(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function G(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 mr(e,t=0){return y((n,r)=>{n.subscribe(g(r,o=>G(r,e,()=>r.next(o),t),()=>G(r,e,()=>r.complete(),t),o=>G(r,e,()=>r.error(o),t)))})}function yr(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ec(e,t){return w(e).pipe(yr(t),mr(t))}function tc(e,t){return w(e).pipe(yr(t),mr(t))}function nc(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function rc(e,t){return new _(n=>{let r;return G(n,t,()=>{r=e[fr](),G(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)}),()=>v(r?.return)&&r.return()})}function vr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{G(n,t,()=>{let r=e[Symbol.asyncIterator]();G(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function oc(e,t){return vr(hr(e),t)}function ic(e,t){if(e!=null){if(lr(e))return ec(e,t);if(Ft(e))return nc(e,t);if(cr(e))return tc(e,t);if(ur(e))return vr(e,t);if(pr(e))return rc(e,t);if(gr(e))return oc(e,t)}throw dr(e)}function Me(e,t){return t?ic(e,t):w(e)}function ni(...e){let t=be(e);return Me(e,t)}function vp(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Ip(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var lt=qe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ir(e){return e instanceof Date&&!isNaN(e)}var sc=qe(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Ep(e,t){let{first:n,each:r,with:o=wp,scheduler:i=t??ye,meta:s=null}=Ir(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return y((a,c)=>{let l,u,d=null,p=0,f=h=>{u=G(c,i,()=>{try{l.unsubscribe(),w(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};l=a.subscribe(g(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function wp(e){throw new sc(e)}function Ce(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Dp}=Array;function bp(e,t){return Dp(t)?e(...t):e(t)}function Vt(e){return Ce(t=>bp(e,t))}var{isArray:Mp}=Array,{getPrototypeOf:Cp,prototype:xp,keys:Tp}=Object;function Er(e){if(e.length===1){let t=e[0];if(Mp(t))return{args:t,keys:null};if(_p(t)){let n=Tp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _p(e){return e&&typeof e=="object"&&Cp(e)===xp}function wr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Np(...e){let t=be(e),n=We(e),{args:r,keys:o}=Er(e);if(r.length===0)return Me([],t);let i=new _(Sp(r,t,o?s=>wr(o,s):B));return n?i.pipe(Vt(n)):i}function Sp(e,t,n=B){return r=>{ac(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ac(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(g(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ac(e,t,n){e?G(n,e,t):t()}function cc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=I=>l<r?h(I):c.push(I),h=I=>{i&&t.next(I),l++;let O=!1;w(n(I,u++)).subscribe(g(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&l<r;){let C=c.shift();s?G(t,s,()=>h(C)):h(C)}p()}catch(C){t.error(C)}}))};return e.subscribe(g(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ve(e,t,n=1/0){return v(t)?ve((r,o)=>Ce((i,s)=>t(r,i,o,s))(w(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>cc(r,o,e,n)))}function mn(e=1/0){return ve(B,e)}function lc(){return mn(1)}function ze(...e){return lc()(Me(e,be(e)))}function Ap(e){return new _(t=>{w(e()).subscribe(t)})}function kp(...e){let t=We(e),{args:n,keys:r}=Er(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;w(n[u]).subscribe(g(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?wr(r,a):a),i.complete())}))}});return t?o.pipe(Vt(t)):o}var Op=["addListener","removeListener"],Rp=["addEventListener","removeEventListener"],Pp=["on","off"];function ri(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return ri(e,t,n).pipe(Vt(r));let[o,i]=Vp(e)?Rp.map(s=>a=>e[s](t,a,n)):Lp(e)?Op.map(uc(e,t)):Fp(e)?Pp.map(uc(e,t)):[];if(!o&&Ft(e))return ve(s=>ri(s,t,n))(w(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function uc(e,t){return n=>r=>e[n](t,r)}function Lp(e){return v(e.addListener)&&v(e.removeListener)}function Fp(e){return v(e.on)&&v(e.off)}function Vp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function ut(e=0,t,n=Ga){let r=-1;return t!=null&&(ar(t)?n=t:r=t),new _(o=>{let i=Ir(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 jp(e=0,t=ye){return e<0&&(e=0),ut(e,e,t)}function Hp(...e){let t=be(e),n=Qa(e,1/0),r=e;return r.length?r.length===1?w(r[0]):mn(n)(Me(r,t)):Pe}var{isArray:Bp}=Array;function Dr(e){return e.length===1&&Bp(e[0])?e[0]:e}function dc(e,t){return(n,r)=>!e.call(t,n,r)}function Le(e,t){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>e.call(t,i,o++)&&r.next(i)))})}function $p(e,t,n){return[Le(t,n)(w(e)),Le(dc(t,n))(w(e))]}function Up(...e){return e=Dr(e),e.length===1?w(e[0]):new _(qp(e))}function qp(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(w(e[r]).subscribe(g(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Wp(...e){let t=We(e),n=Dr(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)w(n[s]).subscribe(g(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Pe}function oi(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(g(n,void 0,void 0,s=>{i=w(e(s,oi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function fc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(g(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function pc(e,t){return v(t)?ve(e,t,1):ve(e,1)}function zp(e){return y((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(g(n,a=>{i?.unsubscribe(),r=!0,o=a,i=g(n,s,ce),w(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Gp(e,t=ye){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(g(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function yn(e){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function dt(e){return e<=0?()=>Pe:y((t,n)=>{let r=0;t.subscribe(g(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hc(){return y((e,t)=>{e.subscribe(g(t,ce))})}function gc(e){return Ce(()=>e)}function ii(e,t){return t?n=>ze(t.pipe(dt(1),hc()),n.pipe(ii(e))):ve((n,r)=>w(e(n,r)).pipe(dt(1),gc(n)))}function Qp(e,t=ye){let n=ut(e,t);return ii(()=>n)}function mc(e,t=B){return e=e??Zp,y((n,r)=>{let o,i=!0;n.subscribe(g(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Zp(e,t){return e===t}function br(e=Yp){return y((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Yp(){return new lt}function Jp(...e){return t=>ze(t,ni(...e))}function yc(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Kp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):B,dt(1),n?yn(t):br(()=>new lt))}function si(e){return e<=0?()=>Pe:y((t,n)=>{let r=[];t.subscribe(g(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 Xp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):B,si(1),n?yn(t):br(()=>new lt))}function eh(e,t){return y(fc(e,t,arguments.length>=2,!0))}function vc(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return y((I,O)=>{l++,!d&&!u&&p();let C=c=c??t();O.add(()=>{l--,l===0&&!d&&!u&&(a=ai(h,o))}),C.subscribe(O),!s&&l>0&&(s=new Re({next:R=>C.next(R),error:R=>{d=!0,p(),a=ai(f,n,R),C.error(R)},complete:()=>{u=!0,p(),a=ai(f,r),C.complete()}}),w(I).subscribe(s))})(i)}}function ai(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Re({next:()=>{r.unsubscribe(),e()}});return w(t(...n)).subscribe(r)}function Ic(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,vc({connector:()=>new hn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ec(...e){let t=be(e);return y((n,r)=>{(t?ze(e,n,t):ze(e,n)).subscribe(r)})}function wc(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(g(r,c=>{o?.unsubscribe();let l=0,u=i++;w(e(c,u)).subscribe(o=g(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Dc(e){return y((t,n)=>{w(e).subscribe(g(n,()=>n.complete(),ce)),!n.closed&&t.subscribe(n)})}function th(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(g(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function bc(e,t){return y((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(f(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=h=>c=w(e(h)).subscribe(g(r,u,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&p(h)}};n.subscribe(g(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function nh(e,t=ye,n){let r=ut(e,t);return bc(()=>r,n)}function rh(...e){let t=We(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)w(e[c]).subscribe(g(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(B))&&(s=null))},ce));n.subscribe(g(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function Cc(e,t){return Object.is(e,t)}var V=null,vn=!1,di=1,Z=Symbol("SIGNAL");function x(e){let t=V;return V=e,t}function xc(){return V}function oh(){return vn}var ft={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 En(e){if(vn)throw new Error("");if(V===null)return;V.consumerOnSignalRead(e);let t=V.nextProducerIndex++;if(xr(V),t<V.producerNode.length&&V.producerNode[t]!==e&&In(V)){let n=V.producerNode[t];Cr(n,V.producerIndexOfThis[t])}V.producerNode[t]!==e&&(V.producerNode[t]=e,V.producerIndexOfThis[t]=In(V)?Ac(e,V,t):0),V.producerLastReadVersion[t]=e.version}function ih(){di++}function Tc(e){if(!(In(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===di)){if(!e.producerMustRecompute(e)&&!Dn(e)){Mc(e);return}e.producerRecomputeValue(e),Mc(e)}}function _c(e){if(e.liveConsumerNode===void 0)return;let t=vn;vn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Sc(n)}finally{vn=t}}function Nc(){return V?.consumerAllowSignalWrites!==!1}function Sc(e){e.dirty=!0,_c(e),e.consumerMarkedDirty?.(e)}function Mc(e){e.dirty=!1,e.lastCleanEpoch=di}function jt(e){return e&&(e.nextProducerIndex=0),x(e)}function wn(e,t){if(x(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(In(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Cr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Dn(e){xr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Tc(n),r!==n.version))return!0}return!1}function Ht(e){if(xr(e),In(e))for(let t=0;t<e.producerNode.length;t++)Cr(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 Ac(e,t,n){if(kc(e),e.liveConsumerNode.length===0&&Oc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ac(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Cr(e,t){if(kc(e),e.liveConsumerNode.length===1&&Oc(e))for(let r=0;r<e.producerNode.length;r++)Cr(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];xr(o),o.producerIndexOfThis[r]=t}}function In(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function xr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function kc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Oc(e){return e.producerNode!==void 0}function Rc(e){let t=Object.create(sh);t.computation=e;let n=()=>{if(Tc(t),En(t),t.value===Mr)throw t.error;return t.value};return n[Z]=t,n}var ci=Symbol("UNSET"),li=Symbol("COMPUTING"),Mr=Symbol("ERRORED"),sh=oe(re({},ft),{value:ci,dirty:!0,error:null,equal:Cc,kind:"computed",producerMustRecompute(e){return e.value===ci||e.value===li},producerRecomputeValue(e){if(e.value===li)throw new Error("Detected cycle in computations.");let t=e.value;e.value=li;let n=jt(e),r,o=!1;try{r=e.computation(),x(null),o=t!==ci&&t!==Mr&&r!==Mr&&e.equal(t,r)}catch(i){r=Mr,e.error=i}finally{wn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ah(){throw new Error}var Pc=ah;function Lc(){Pc()}function Fc(e){Pc=e}var ch=null;function Vc(e){let t=Object.create(fi);t.value=e;let n=()=>(En(t),t.value);return n[Z]=t,n}function bn(e,t){Nc()||Lc(),e.equal(e.value,t)||(e.value=t,lh(e))}function jc(e,t){Nc()||Lc(),bn(e,t(e.value))}var fi=oe(re({},ft),{equal:Cc,value:void 0,kind:"signal"});function lh(e){e.version++,ih(),_c(e),ch?.()}function Hc(e,t,n){let r=Object.create(uh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Ht(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=ui)}let a=()=>{if(r.fn===null)return;if(oh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Dn(r))return;r.hasRun=!0;let c=jt(r);try{r.cleanupFn(),r.cleanupFn=ui,r.fn(o)}finally{wn(r,c)}};return r.ref={notify:()=>Sc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Z]:r},r.ref}var ui=()=>{},uh=oe(re({},ft),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ui});var Fl="https://g.co/ng/security#xss",T=class extends Error{code;constructor(t,n){super(dh(t,n)),this.code=t}};function dh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Do=Symbol("InputSignalNode#UNSET"),Vl=oe(re({},fi),{transformFn:void 0,applyValueToInputSignal(e,t){bn(e,t)}});function jl(e,t){let n=Object.create(Vl);n.value=e,n.transformFn=t?.transform;function r(){if(En(n),n.value===Do)throw new T(-950,!1);return n.value}return r[Z]=n,r}function Hn(e){return{toString:e}.toString()}var Tr="__parameters__";function fh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Hl(e,t,n){return Hn(()=>{let r=fh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Tr)?c[Tr]:Object.defineProperty(c,Tr,{value:[]})[Tr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Qe=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function ph(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ie).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 _i(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var hh=A({__forward_ref__:A});function Bl(e){return e.__forward_ref__=Bl,e.toString=function(){return ie(this())},e}function $(e){return $l(e)?e():e}function $l(e){return typeof e=="function"&&e.hasOwnProperty(hh)&&e.__forward_ref__===Bl}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vS(e){return{providers:e.providers||[],imports:e.imports||[]}}function bo(e){return Bc(e,Ul)||Bc(e,ql)}function IS(e){return bo(e)!==null}function Bc(e,t){return e.hasOwnProperty(t)?e[t]:null}function gh(e){let t=e&&(e[Ul]||e[ql]);return t||null}function $c(e){return e&&(e.hasOwnProperty(Uc)||e.hasOwnProperty(mh))?e[Uc]:null}var Ul=A({\u0275prov:A}),Uc=A({\u0275inj:A}),ql=A({ngInjectableDef:A}),mh=A({ngInjectorDef:A}),S=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=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wl(e){return e&&!!e.\u0275providers}var yh=A({\u0275cmp:A}),vh=A({\u0275dir:A}),Ih=A({\u0275pipe:A}),Eh=A({\u0275mod:A}),Br=A({\u0275fac:A}),Tn=A({__NG_ELEMENT_ID__:A}),qc=A({__NG_ENV_ID__:A});function Te(e){return typeof e=="string"?e:e==null?"":String(e)}function wh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Te(e)}function Dh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new T(-200,e)}function $s(e,t){throw new T(-201,!1)}var N=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}(N||{}),Ni;function zl(){return Ni}function X(e){let t=Ni;return Ni=e,t}function Gl(e,t,n){let r=bo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;$s(e,"Injector")}var bh={},_n=bh,Si="__NG_DI_FLAG__",$r="ngTempTokenPath",Mh="ngTokenPath",Ch=/\n/gm,xh="\u0275",Wc="__source",Wt;function Th(){return Wt}function Ge(e){let t=Wt;return Wt=e,t}function _h(e,t=N.Default){if(Wt===void 0)throw new T(-203,!1);return Wt===null?Gl(e,void 0,t):Wt.get(e,t&N.Optional?null:void 0,t)}function Je(e,t=N.Default){return(zl()||_h)($(e),t)}function D(e,t=N.Default){return Je(e,Mo(t))}function Mo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ai(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new T(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Nh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Je(o,i))}else t.push(Je(r))}return t}function Ql(e,t){return e[Si]=t,e.prototype[Si]=t,e}function Nh(e){return e[Si]}function Sh(e,t,n,r){let o=e[$r];throw t[Wc]&&o.unshift(t[Wc]),e.message=Ah(`
|
|
5
|
-
`+e.message,o,n,r),e[Mh]=o,e[$r]=null,e}function Ah(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
-
`&&e.charAt(1)==xh?e.slice(2):e;let o=ie(t);if(Array.isArray(t))o=t.map(ie).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):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ch,`
|
|
7
|
-
`)}`}var Zl=Ql(Hl("Optional"),8);var Yl=Ql(Hl("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty(Br);return n?e[Br]:null}function kh(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 Oh(e){return e.flat(Number.POSITIVE_INFINITY)}function Us(e,t){e.forEach(n=>Array.isArray(n)?Us(n,t):t(n))}function Jl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ur(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Rh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ph(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 Bn(e,t,n){let r=$n(e,t);return r>=0?e[r|1]=n:(r=~r,Ph(e,r,t,n)),r}function pi(e,t){let n=$n(e,t);if(n>=0)return e[n|1]}function $n(e,t){return Lh(e,t,1)}function Lh(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 Fe={},ee=[],Nn=new S(""),Kl=new S("",-1),Xl=new S(""),qr=class{get(t,n=_n){if(n===_n){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}};function eu(e,t){let n=e[Eh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function Ve(e){return e[yh]||null}function qs(e){return e[vh]||null}function tu(e){return e[Ih]||null}function Fh(e){let t=Ve(e)||qs(e)||tu(e);return t!==null&&t.standalone}function Ws(e){return{\u0275providers:e}}function Vh(...e){return{\u0275providers:nu(!0,e),\u0275fromNgModule:!0}}function nu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Us(t,s=>{let a=s;ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ru(o,i),n}function ru(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];zs(o,i=>{t(i,r)})}}function ki(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=$c(e),s=!i&&Ve(e);if(!i&&!s){let c=e.ngModule;if(i=$c(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ki(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Us(i.imports,u=>{ki(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&ru(l,t)}if(!a){let l=gt(o)||(()=>new o);t({provide:o,useFactory:l,deps:ee},o),t({provide:Xl,useValue:o,multi:!0},o),t({provide:Nn,useValue:()=>Je(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;zs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function zs(e,t){for(let n of e)Wl(n)&&(n=n.\u0275providers),Array.isArray(n)?zs(n,t):t(n)}var jh=A({provide:String,useValue:A});function ou(e){return e!==null&&typeof e=="object"&&jh in e}function Hh(e){return!!(e&&e.useExisting)}function Bh(e){return!!(e&&e.useFactory)}function Gt(e){return typeof e=="function"}function $h(e){return!!e.useClass}var iu=new S(""),Rr={},Uh={},hi;function Co(){return hi===void 0&&(hi=new qr),hi}var Ke=class{},Sn=class extends Ke{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,Ri(t,s=>this.processProvider(s)),this.records.set(Kl,Bt(void 0,this)),o.has("environment")&&this.records.set(Ke,Bt(void 0,this));let i=this.records.get(iu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xl,ee,N.Self))}destroy(){Cn(this),this._destroyed=!0;let t=x(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(),x(t)}}onDestroy(t){return Cn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Cn(this);let n=Ge(this),r=X(void 0),o;try{return t()}finally{Ge(n),X(r)}}get(t,n=_n,r=N.Default){if(Cn(this),t.hasOwnProperty(qc))return t[qc](this);r=Mo(r);let o,i=Ge(this),s=X(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Qh(t)&&bo(t);l&&this.injectableDefInScope(l)?c=Bt(Oi(t),Rr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?Co():this.parent;return n=r&N.Optional&&n===_n?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[$r]=a[$r]||[]).unshift(ie(t)),i)throw a;return Sh(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Ge(i)}}resolveInjectorInitializers(){let t=x(null),n=Ge(this),r=X(void 0),o;try{let i=this.get(Nn,ee,N.Self);for(let s of i)s()}finally{Ge(n),X(r),x(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=Gt(t)?t:$(t&&t.provide),r=Wh(t);if(!Gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,Rr,!0),o.factory=()=>Ai(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=x(null);try{return n.value===Rr&&(n.value=Uh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Gh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{x(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(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 Oi(e){let t=bo(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof S)throw new T(204,!1);if(e instanceof Function)return qh(e);throw new T(204,!1)}function qh(e){if(e.length>0)throw new T(204,!1);let n=gh(e);return n!==null?()=>n.factory(e):()=>new e}function Wh(e){if(ou(e))return Bt(void 0,e.useValue);{let t=su(e);return Bt(t,Rr)}}function su(e,t,n){let r;if(Gt(e)){let o=$(e);return gt(o)||Oi(o)}else if(ou(e))r=()=>$(e.useValue);else if(Bh(e))r=()=>e.useFactory(...Ai(e.deps||[]));else if(Hh(e))r=()=>Je($(e.useExisting));else{let o=$(e&&(e.useClass||e.provide));if(zh(e))r=()=>new o(...Ai(e.deps));else return gt(o)||Oi(o)}return r}function Cn(e){if(e.destroyed)throw new T(205,!1)}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zh(e){return!!e.deps}function Gh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Qh(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Ri(e,t){for(let n of e)Array.isArray(n)?Ri(n,t):n&&Wl(n)?Ri(n.\u0275providers,t):t(n)}function au(e,t){e instanceof Sn&&Cn(e);let n,r=Ge(e),o=X(void 0);try{return t()}finally{Ge(r),X(o)}}function cu(){return zl()!==void 0||Th()!=null}function Gs(e){if(!cu())throw new T(-203,!1)}function Zh(e){return typeof e=="function"}var te=0,b=1,E=2,W=3,Ee=4,ne=5,de=6,Wr=7,U=8,An=9,je=10,k=11,kn=12,zc=13,on=14,Y=15,mt=16,$t=17,He=18,xo=19,lu=20,Ye=21,Pr=22,yt=23,se=24,P=25,Qs=1,On=6,Be=7,zr=8,Qt=9,q=10;function we(e){return Array.isArray(e)&&typeof e[Qs]=="object"}function Se(e){return Array.isArray(e)&&e[Qs]===!0}function Zs(e){return(e.flags&4)!==0}function rt(e){return e.componentOffset>-1}function To(e){return(e.flags&1)===1}function _e(e){return!!e.template}function Rn(e){return(e[E]&512)!==0}function Un(e){return(e[E]&256)===256}var Pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function uu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ES=(()=>{let e=()=>du;return e.ngInherit=!0,e})();function du(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jh),Yh}function Yh(){let e=pu(this),t=e?.current;if(t){let n=e.previous;if(n===Fe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Jh(e,t,n,r,o){let i=this.declaredInputs[r],s=pu(e)||Kh(e,{previous:Fe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Pi(l&&l.currentValue,n,c===Fe),uu(e,t,o,n)}var fu="__ngSimpleChanges__";function pu(e){return e[fu]||null}function Kh(e,t){return e[fu]=t}var Gc=null;var ue=function(e,t,n){Gc?.(e,t,n)},hu="svg",Xh="math";function De(e){for(;Array.isArray(e);)e=e[te];return e}function eg(e){for(;Array.isArray(e);){if(typeof e[Qs]=="object")return e;e=e[te]}return null}function gu(e,t){return De(t[e])}function fe(e,t){return De(t[e.index])}function Ys(e,t){return e.data[t]}function Js(e,t){return e[t]}function Ne(e,t){let n=t[e];return we(n)?n:n[te]}function tg(e){return(e[E]&4)===4}function Ks(e){return(e[E]&128)===128}function ng(e){return Se(e[W])}function Xe(e,t){return t==null?null:e[t]}function mu(e){e[$t]=0}function Xs(e){e[E]&1024||(e[E]|=1024,Ks(e)&&qn(e))}function rg(e,t){for(;e>0;)t=t[on],e--;return t}function _o(e){return!!(e[E]&9216||e[se]?.dirty)}function Li(e){e[je].changeDetectionScheduler?.notify(9),e[E]&64&&(e[E]|=1024),_o(e)&&qn(e)}function qn(e){e[je].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Ks(t)));)t=vt(t)}function yu(e,t){if(Un(e))throw new T(911,!1);e[Ye]===null&&(e[Ye]=[]),e[Ye].push(t)}function og(e,t){if(e[Ye]===null)return;let n=e[Ye].indexOf(t);n!==-1&&e[Ye].splice(n,1)}function vt(e){let t=e[W];return Se(t)?t[W]:t}function vu(e){return e[Wr]??=[]}function Iu(e){return e.cleanup??=[]}function ig(e,t,n,r){let o=vu(t);o.push(n),e.firstCreatePass&&Iu(e).push(r,o.length-1)}var M={lFrame:_u(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fi=!1;function sg(){return M.lFrame.elementDepthCount}function ag(){M.lFrame.elementDepthCount++}function cg(){M.lFrame.elementDepthCount--}function Eu(){return M.bindingsEnabled}function sn(){return M.skipHydrationRootTNode!==null}function lg(e){return M.skipHydrationRootTNode===e}function ug(e){M.skipHydrationRootTNode=e}function dg(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function L(){return M.lFrame.tView}function wS(e){return M.lFrame.contextLView=e,e[U]}function DS(e){return M.lFrame.contextLView=null,e}function Q(){let e=wu();for(;e!==null&&e.type===64;)e=e.parent;return e}function wu(){return M.lFrame.currentTNode}function fg(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function xt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function ea(){return M.lFrame.isParent}function ta(){M.lFrame.isParent=!1}function pg(){return M.lFrame.contextLView}function Du(){return Fi}function Gr(e){let t=Fi;return Fi=e,t}function pe(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bu(){return M.lFrame.bindingIndex}function hg(e){return M.lFrame.bindingIndex=e}function Tt(){return M.lFrame.bindingIndex++}function No(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gg(){return M.lFrame.inI18n}function mg(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vi(t)}function yg(){return M.lFrame.currentDirectiveIndex}function Vi(e){M.lFrame.currentDirectiveIndex=e}function Mu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Cu(){return M.lFrame.currentQueryIndex}function na(e){M.lFrame.currentQueryIndex=e}function vg(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function xu(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=vg(i),o===null||(i=i[on],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Tu();return r.currentTNode=t,r.lView=e,!0}function ra(e){let t=Tu(),n=e[b];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?_u(e):t}function _u(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 Nu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Su=Nu;function oa(){let e=Nu();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 Ig(e){return(M.lFrame.contextLView=rg(e,M.lFrame.contextLView))[U]}function Ae(){return M.lFrame.selectedIndex}function It(e){M.lFrame.selectedIndex=e}function So(){let e=M.lFrame;return Ys(e.tView,e.selectedIndex)}function bS(){M.lFrame.currentNamespace=hu}function Au(){return M.lFrame.currentNamespace}var ku=!0;function Ao(){return ku}function ot(e){ku=e}function Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=du(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 ko(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Lr(e,t,n){Ou(e,t,3,n)}function Fr(e,t,n,r){(e[E]&3)===n&&Ou(e,t,n,r)}function gi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Ou(e,t,n,r){let o=r!==void 0?e[$t]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$t]+=65536),(a<i||i==-1)&&(wg(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function Qc(e,t){ue(4,e,t);let n=x(null);try{t.call(e)}finally{x(n),ue(5,e,t)}}function wg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[$t]>>16&&(e[E]&3)===t&&(e[E]+=16384,Qc(a,i)):Qc(a,i)}var zt=-1,Et=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Dg(e){return e instanceof Et}function bg(e){return(e.flags&8)!==0}function Mg(e){return(e.flags&16)!==0}function Cg(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];xg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ru(e){return e===3||e===4||e===6}function xg(e){return e.charCodeAt(0)===64}function Zt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Zc(e,n,o,null,t[++r]):Zc(e,n,o,null,null))}}return e}function Zc(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 mi={},ji=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Mo(r);let o=this.injector.get(t,mi,r);return o!==mi||n===mi?o:this.parentInjector.get(t,n,r)}};function Pu(e){return e!==zt}function Qr(e){return e&32767}function Tg(e){return e>>16}function Zr(e,t){let n=Tg(e),r=t;for(;n>0;)r=r[on],n--;return r}var Hi=!0;function Yr(e){let t=Hi;return Hi=e,t}var _g=256,Lu=_g-1,Fu=5,Ng=0,xe={};function Sg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Tn)&&(r=n[Tn]),r==null&&(r=n[Tn]=Ng++);let o=r&Lu,i=1<<o;t.data[e+(o>>Fu)]|=i}function Jr(e,t){let n=Vu(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,yi(r.data,e),yi(t,null),yi(r.blueprint,null));let o=ia(e,t),i=e.injectorIndex;if(Pu(o)){let s=Qr(o),a=Zr(o,t),c=a[b].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function yi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ia(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=Uu(o),r===null)return zt;if(n++,o=o[on],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return zt}function Bi(e,t,n){Sg(e,t,n)}function Ag(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(Ru(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 ju(e,t,n){if(n&N.Optional||e!==void 0)return e;$s(t,"NodeInjector")}function Hu(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[An],i=X(void 0);try{return o?o.get(t,r,n&N.Optional):Gl(t,r,n&N.Optional)}finally{X(i)}}return ju(r,t,n)}function Bu(e,t,n,r=N.Default,o){if(e!==null){if(t[E]&2048&&!(r&N.Self)){let s=Pg(e,t,n,r,xe);if(s!==xe)return s}let i=$u(e,t,n,r,xe);if(i!==xe)return i}return Hu(t,n,r,o)}function $u(e,t,n,r,o){let i=Og(n);if(typeof i=="function"){if(!xu(t,e,r))return r&N.Host?ju(o,n,r):Hu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))$s(n);else return s}finally{Su()}}else if(typeof i=="number"){let s=null,a=Vu(e,t),c=zt,l=r&N.Host?t[Y][ne]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?ia(e,t):t[a+8],c===zt||!Jc(r,!1)?a=-1:(s=t[b],a=Qr(c),t=Zr(c,t)));a!==-1;){let u=t[b];if(Yc(i,a,u.data)){let d=kg(a,t,n,s,r,l);if(d!==xe)return d}c=t[a+8],c!==zt&&Jc(r,t[b].data[a+8]===l)&&Yc(i,a,t)?(s=u,a=Qr(c),t=Zr(c,t)):a=-1}}return o}function kg(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?rt(a)&&Hi:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=Vr(a,s,n,c,l);return u!==null?Pn(t,s,u,a):xe}function Vr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&_e(f)&&f.type===n)return c}return null}function Pn(e,t,n,r){let o=e[n],i=t.data;if(Dg(o)){let s=o;s.resolving&&Dh(wh(i[n]));let a=Yr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?X(s.injectImpl):null,u=xu(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,i[n],t)}finally{l!==null&&X(l),Yr(a),s.resolving=!1,Su()}}return o}function Og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Tn)?e[Tn]:void 0;return typeof t=="number"?t>=0?t&Lu:Rg:t}function Yc(e,t,n){let r=1<<e;return!!(n[t+(e>>Fu)]&r)}function Jc(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var ht=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bu(this._tNode,this._lView,t,Mo(r),n)}};function Rg(){return new ht(Q(),m())}function MS(e){return Hn(()=>{let t=e.prototype.constructor,n=t[Br]||$i(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Br]||$i(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function $i(e){return $l(e)?()=>{let t=$i($(e));return t&&t()}:gt(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!Rn(s);){let a=$u(i,s,n,r|N.Self,xe);if(a!==xe)return a;let c=i.parent;if(!c){let l=s[lu];if(l){let u=l.get(n,xe,r);if(u!==xe)return u}c=Uu(s),s=s[on]}i=c}return o}function Uu(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function CS(e){return Ag(Q(),e)}function Kc(e,t=null,n=null,r){let o=qu(e,t,n,r);return o.resolveInjectorInitializers(),o}function qu(e,t=null,n=null,r,o=new Set){let i=[n||ee,Vh(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new Sn(i,t||Co(),r||null,o)}var et=class e{static THROW_IF_NOT_FOUND=_n;static NULL=new qr;static create(t,n){if(Array.isArray(t))return Kc({name:""},n,t,"");{let r=t.name??"";return Kc({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:e,providedIn:"any",factory:()=>Je(Kl)});static __NG_ELEMENT_ID__=-1};var Lg=new S("");Lg.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new T(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new T(204,!1)};var Wu=!1,an=(()=>{class e{static __NG_ELEMENT_ID__=Fg;static __NG_ENV_ID__=n=>n}return e})(),Kr=class extends an{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return yu(this._lView,t),()=>og(this._lView,t)}};function Fg(){return new Kr(m())}var wt=class{},sa=new S("",{providedIn:"root",factory:()=>!1});var zu=new S(""),Gu=new S(""),Wn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fn(!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=H({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ui=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,cu()&&(this.destroyRef=D(an,{optional:!0})??void 0,this.pendingTasks=D(Wn,{optional:!0})??void 0)}emit(t){let n=x(null);try{super.next(t)}finally{x(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof F&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ze=Ui;function Ln(...e){}function Qu(e){let t,n;function r(){e=Ln;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 Xc(e){return queueMicrotask(()=>e()),()=>{e=Ln}}var aa="isAngularZone",Xr=aa+"_ID",Vg=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ze(!1);onMicrotaskEmpty=new Ze(!1);onStable=new Ze(!1);onError=new Ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Wu}=t;if(typeof Zone>"u")throw new T(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,Bg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(aa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new T(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,jg,Ln,Ln);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)}},jg={};function ca(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 Hg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Qu(()=>{e.callbackScheduled=!1,qi(e),e.isCheckStableRunning=!0,ca(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),qi(e)}function Bg(e){let t=()=>{Hg(e)},n=Vg++;e._inner=e._inner.fork({name:"angular",properties:{[aa]:!0,[Xr]:n,[Xr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($g(c))return r.invokeTask(i,s,a,c);try{return el(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),tl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return el(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ug(c)&&t(),tl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,qi(e),ca(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 qi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function el(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tl(e){e._nesting--,ca(e)}var Wi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ze;onMicrotaskEmpty=new Ze;onStable=new Ze;onError=new Ze;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 $g(e){return Zu(e,"__ignore_ng_zone__")}function Ug(e){return Zu(e,"__scheduler_tick__")}function Zu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},qg=new S("",{providedIn:"root",factory:()=>{let e=D(ae),t=D(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),eo=class{destroyed=!1;listeners=null;errorHandler=D(tt,{optional:!0});destroyRef=D(an);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new T(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 T(953,!1);if(this.listeners===null)return;let n=x(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{x(n)}}};function xS(e){return new eo}function nl(e,t){return jl(e,t)}function Wg(e){return jl(Do,e)}var TS=(nl.required=Wg,nl);function zg(){return cn(Q(),m())}function cn(e,t){return new Oo(fe(e,t))}var Oo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zg}return e})();function Gg(e){return e instanceof Oo?e.nativeElement:e}var rl=new Set;function ke(e){rl.has(e)||(rl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qg(e){return typeof e=="function"&&e[Z]!==void 0}function _S(e,t){ke("NgSignals");let n=Vc(e),r=n[Z];return t?.equal&&(r.equal=t.equal),n.set=o=>bn(r,o),n.update=o=>jc(r,o),n.asReadonly=Yu.bind(n),n}function Yu(){let e=this[Z];if(e.readonlyFn===void 0){let t=()=>this();t[Z]=e,e.readonlyFn=t}return e.readonlyFn}function Ju(e){return Qg(e)&&typeof e.set=="function"}function Zg(){return this._results[Symbol.iterator]()}var zi=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 le}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=Oh(t);(this._changesDetected=!kh(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]=Zg},Yg="ngSkipHydration",Jg="ngskiphydration";function Ku(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===Jg)return!0}return!1}function Xu(e){return e.hasAttribute(Yg)}function to(e){return(e.flags&128)===128}function Kg(e){if(to(e))return!0;let t=e.parent;for(;t;){if(to(e)||Ku(t))return!0;t=t.parent}return!1}var ed=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ed||{}),td=new Map,Xg=0;function em(){return Xg++}function tm(e){td.set(e[xo],e)}function Gi(e){td.delete(e[xo])}var ol="__ngContext__";function _t(e,t){we(t)?(e[ol]=t[xo],tm(t)):e[ol]=t}function nd(e){return od(e[kn])}function rd(e){return od(e[Ee])}function od(e){for(;e!==null&&!Se(e);)e=e[Ee];return e}var Qi;function NS(e){Qi=e}function zn(){if(Qi!==void 0)return Qi;if(typeof document<"u")return document;throw new T(210,!1)}var nm=new S("",{providedIn:"root",factory:()=>rm}),rm="ng",om=new S(""),im=new S("",{providedIn:"platform",factory:()=>"unknown"});var SS=new S(""),AS=new S("",{providedIn:"root",factory:()=>zn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function sm(){let e=new la;return D(im)==="browser"&&(e.store=am(zn(),D(nm))),e}var la=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:sm});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();function am(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var id="h",sd="b",cm="f",lm="n",um="e",dm="t",ua="c",ad="x",no="r",fm="i",pm="n",cd="d";var hm="di";var _r=new S(""),ld=!1,ud=new S("",{providedIn:"root",factory:()=>ld});var da=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(da||{}),Ro=new S("");var Ut=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ut||{}),dd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),gm=[Ut.EarlyRead,Ut.Write,Ut.MixedReadWrite,Ut.Read],mm=(()=>{class e{ngZone=D(ae);scheduler=D(wt);errorHandler=D(tt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){D(Ro,{optional:!0})}execute(){this.executing=!0;for(let n of gm)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(da.AFTER_NEXT_RENDER,n):n()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zi=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 ym(e,t){!t?.injector&&Gs(ym);let n=t?.injector??D(et);return ke("NgAfterNextRender"),Im(e,n,t,!0)}function vm(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 Im(e,t,n,r){let o=t.get(dd);o.impl??=t.get(mm);let i=t.get(Ro,null,{optional:!0}),s=n?.phase??Ut.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(an):null,c=new Zi(o.impl,vm(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var Em="__nghData__",fd=Em;var vi="ngh",wm="nghm",pd=()=>null;function Dm(e,t,n=!1){let r=e.getAttribute(vi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(la,null,{optional:!0});u!==null&&(c=u.get(fd,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,Po(l,0,e.nextSibling)),a?e.setAttribute(vi,a):e.removeAttribute(vi),l}function bm(){pd=Dm}function hd(e,t,n=!1){return pd(e,t,n)}function Mm(e){let t=e._lView;return t[b].type===2?null:(Rn(t)&&(t=t[P]),t)}function Cm(e){return e.textContent?.replace(/\s/gm,"")}function xm(e){let t=zn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Cm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Po(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Yi(e,t){return e.segmentHeads?.[t]??null}function Tm(e,t){let n=e.data,r=n[um]?.[t]??null;return r===null&&n[ua]?.[t]&&(r=fa(e,t)),r}function gd(e,t){return e.data[ua]?.[t]??null}function fa(e,t){let n=gd(e,t)??[],r=0;for(let o of n)r+=o[no]*(o[ad]??1);return r}function _m(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[cd];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Gn(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[cd];e.disconnectedNodes=n?new Set(n):null}return!!_m(e)?.has(t)}function md(e,t){let n=e.contentQueries;if(n!==null){let r=x(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];na(i),a.contentQueries(2,t[s],s)}}}finally{x(r)}}}function Ji(e,t,n){na(0);let r=x(null);try{t(e,n)}finally{x(r)}}function pa(e,t,n){if(Zs(t)){let r=x(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{x(r)}}}var Fn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fn||{}),Nr;function Nm(){if(Nr===void 0&&(Nr=null,Qe.trustedTypes))try{Nr=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Nr}function Lo(e){return Nm()?.createHTML(e)||e}var Sr;function yd(){if(Sr===void 0&&(Sr=null,Qe.trustedTypes))try{Sr=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sr}function il(e){return yd()?.createHTML(e)||e}function sl(e){return yd()?.createScriptURL(e)||e}var $e=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fl})`}},Ki=class extends $e{getTypeName(){return"HTML"}},Xi=class extends $e{getTypeName(){return"Style"}},es=class extends $e{getTypeName(){return"Script"}},ts=class extends $e{getTypeName(){return"URL"}},ns=class extends $e{getTypeName(){return"ResourceURL"}};function ln(e){return e instanceof $e?e.changingThisBreaksApplicationSecurity:e}function ha(e,t){let n=Sm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fl})`)}return n===t}function Sm(e){return e instanceof $e&&e.getTypeName()||null}function kS(e){return new Ki(e)}function OS(e){return new Xi(e)}function RS(e){return new es(e)}function PS(e){return new ts(e)}function LS(e){return new ns(e)}function Am(e){let t=new os(e);return km()?new rs(t):t}var rs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Lo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},os=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=Lo(t),n}};function km(){try{return!!new window.DOMParser().parseFromString(Lo(""),"text/html")}catch{return!1}}var Om=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vd(e){return e=String(e),e.match(Om)?e:"unsafe:"+e}function Ue(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Qn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Id=Ue("area,br,col,hr,img,wbr"),Ed=Ue("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wd=Ue("rp,rt"),Rm=Qn(wd,Ed),Pm=Qn(Ed,Ue("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")),Lm=Qn(wd,Ue("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")),al=Qn(Id,Pm,Lm,Rm),Dd=Ue("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fm=Ue("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"),Vm=Ue("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"),jm=Qn(Dd,Fm,Vm),Hm=Ue("script,style,template"),is=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=Um(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$m(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cl(t).toLowerCase();if(!al.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hm.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(!jm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Dd[a]&&(c=vd(c)),this.buf.push(" ",s,'="',ll(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cl(t).toLowerCase();al.hasOwnProperty(n)&&!Id.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ll(t))}};function Bm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $m(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw bd(t);return t}function Um(e){let t=e.firstChild;if(t&&Bm(e,t))throw bd(t);return t}function cl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function bd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var qm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wm=/([^\#-~ |!])/g;function ll(e){return e.replace(/&/g,"&").replace(qm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Wm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ar;function zm(e,t){let n=null;try{Ar=Ar||Am(e);let r=t?String(t):"";n=Ar.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=Ar.getInertBodyElement(r)}while(r!==i);let a=new is().sanitizeChildren(ul(n)||n);return Lo(a)}finally{if(n){let r=ul(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ul(e){return"content"in e&&Gm(e)?e.content:null}function Gm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Fo=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}(Fo||{});function FS(e){let t=ga();return t?il(t.sanitize(Fo.HTML,e)||""):ha(e,"HTML")?il(ln(e)):zm(zn(),Te(e))}function Qm(e){let t=ga();return t?t.sanitize(Fo.URL,e)||"":ha(e,"URL")?ln(e):vd(Te(e))}function Zm(e){let t=ga();if(t)return sl(t.sanitize(Fo.RESOURCE_URL,e)||"");if(ha(e,"ResourceURL"))return sl(ln(e));throw new T(904,!1)}function Ym(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Zm:Qm}function VS(e,t,n){return Ym(t,n)(e)}function ga(){let e=m();return e&&e[je].sanitizer}var Jm=/^>|^->|<!--|-->|--!>|<!-$/g,Km=/(<|>)/g,Xm="\u200B$1\u200B";function ey(e){return e.replace(Jm,t=>t.replace(Km,Xm))}function jS(e){return e.ownerDocument.defaultView}function HS(e){return e.ownerDocument}function ty(e){return e.ownerDocument.body}function Md(e){return e instanceof Function?e():e}var nt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(nt||{});function ny(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 Cd="ng-template";function ry(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&ny(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ma(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 ma(e){return e.type===4&&e.value!==Cd}function oy(e,t,n){let r=e.type===4&&!n?Cd:e.value;return t===r}function iy(e,t,n){let r=4,o=e.attrs,i=o!==null?cy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!oy(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!ry(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=sy(c,o,ma(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function sy(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 ly(t,e)}function xd(e,t,n=!1){for(let r=0;r<t.length;r++)if(iy(e,t[r],n))return!0;return!1}function ay(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function cy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ru(n))return t}return e.length}function ly(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 uy(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 dl(e,t){return e?":not("+t.trim()+")":t}function dy(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!==""&&!Ie(s)&&(t+=dl(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=dl(i,o)),t}function fy(e){return e.map(dy).join(",")}function py(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(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var K={};function Td(e,t){return e.createText(t)}function hy(e,t,n){e.setValue(t,n)}function _d(e,t){return e.createComment(ey(t))}function ya(e,t,n){return e.createElement(t,n)}function ro(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Nd(e,t,n){e.appendChild(t,n)}function fl(e,t,n,r,o){r!==null?ro(e,t,n,r,o):Nd(e,t,n)}function va(e,t,n){e.removeChild(null,t,n)}function Sd(e){e.textContent=""}function gy(e,t,n){e.setAttribute(t,"style",n)}function my(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ad(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Cg(e,t,r),o!==null&&my(e,t,o),i!==null&&gy(e,t,i)}function BS(e=1){kd(L(),m(),Ae()+e,!1)}function kd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Lr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Fr(t,i,0,n)}It(n)}function Vo(e,t=N.Default){let n=m();if(n===null)return Je(e,t);let r=Q();return Bu(r,n,$(e),t)}function $S(){let e="invalid";throw new Error(e)}function Od(e,t,n,r,o,i){let s=x(null);try{let a=null;o&nt.SignalBased&&(a=t[r][Z]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&nt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):uu(t,a,r,i)}finally{x(s)}}function Ia(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[te]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),mu(d),d[W]=d[on]=e,d[U]=n,d[je]=s||e&&e[je],d[k]=a||e&&e[k],d[An]=c||e&&e[An]||null,d[ne]=i,d[xo]=em(),d[de]=u,d[lu]=l,d[Y]=t.type==2?e[Y]:d,d}function Rd(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 Pd(e,t,n,r,o){let i=Ae(),s=r&2;try{It(-1),s&&t.length>P&&kd(e,t,P,!1),ue(s?2:0,o),n(r,o)}finally{It(i),ue(s?3:1,o)}}function Ea(e,t,n){Eu()&&(_t(fe(n,t),t),Ld(e,t,n))}function Ld(e,t,n){_y(e,t,n),(n.flags&64)===64&&Ny(e,t,n)}function wa(e,t,n=fe){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 yy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Da(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Da(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=vy(d,p),h=typeof l=="function"?l():l;return f[b]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function vy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}function Iy(e,t,n,r){let i=r.get(ud,ld)||n===Fn.ShadowDom,s=e.selectRootElement(t,i);return Ey(s),s}function Ey(e){Fd(e)}var Fd=()=>null;function wy(e){Xu(e)?Sd(e):xm(e)}function Dy(){Fd=wy}function pl(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,c=nt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?hl(r,n,l,a,c):hl(r,n,l,a)}return r}function hl(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 by(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=pl(0,d.inputs,u,c,f),l=pl(1,d.outputs,u,l,h);let I=c!==null&&s!==null&&!ma(t)?$y(c,u,s):null;a.push(I)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function My(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ba(e,t,n,r,o,i,s,a){let c=fe(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(xa(e,n,u,r,o),rt(t)&&Cy(n,t.index)):t.type&3?(r=My(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Cy(e,t){let n=Ne(t,e);n[E]&16||(n[E]|=64)}function Ma(e,t,n,r){if(Eu()){let o=r===null?null:{"":-1},i=Ay(e,n);if(i!==null){let[s,a]=jd(e,n,i);Vd(e,t,n,s,o,a)}o&&Oy(n,r,o)}n.mergedAttrs=Zt(n.mergedAttrs,n.attrs)}function Vd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Bi(Jr(n,t),e,r[l].type);Py(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Rd(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Zt(n.mergedAttrs,u.hostAttrs),Ly(e,n,t,c,u),Ry(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.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),c++}by(e,n,i)}function xy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ty(s)!=a&&s.push(a),s.push(n,r,i)}}function Ty(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function _y(e,t,n){let r=n.directiveStart,o=n.directiveEnd;rt(n)&&Vy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Jr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Pn(t,e,s,n);if(_t(c,t),i!==null&&By(t,s-r,c,a,n,i),_e(a)){let l=Ne(n.index,t);l[U]=Pn(t,e,s,n)}}}function Ny(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=yg();try{It(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Vi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Sy(c,l)}}finally{It(-1),Vi(s)}}function Sy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ay(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];xd(t,i.selectors,!1)&&(r??=[],_e(i)?r.unshift(i):r.push(i))}return r}function jd(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),_e(i)&&(r.push(i),ky(e,t,r.length-1));return rt(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function ky(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Oy(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 T(-301,!1);r.push(t[o],i)}}}function Ry(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_e(t)&&(n[""]=e)}}function Py(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ly(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=gt(o.type,!0)),s=new Et(i,_e(o),Vo);e.blueprint[r]=s,n[r]=s,xy(e,t,r,Rd(e,n,o.hostVars,K),o)}function Fy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Vy(e,t,n){let r=fe(t,e),o=yy(n),i=e[je].rendererFactory,s=Ca(e,Ia(e,o,null,Fy(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function jy(e,t,n,r,o,i){let s=fe(e,t);Hy(t[k],s,i,e.value,n,r,o)}function Hy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Te(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function By(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Od(r,n,c,l,u,d)}}function $y(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 Hd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ca(e,t){return e[kn]?e[zc][Ee]=t:e[kn]=t,e[zc]=t,t}function Uy(e,t,n){return(e===null||_e(e))&&(n=eg(n[t.index])),n[k]}function Bd(e,t){let n=e[An],r=n?n.get(tt,null):null;r&&r.handleError(t)}function xa(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];Od(u,l,r,a,c,o)}}function qy(e,t){let n=Ne(t,e),r=n[b];Wy(r,n);let o=n[te];o!==null&&n[de]===null&&(n[de]=hd(o,n[An])),Ta(r,n,n[U])}function Wy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ta(e,t,n){ra(t);try{let r=e.viewQuery;r!==null&&Ji(1,r,n);let o=e.template;o!==null&&Pd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[He]?.finishViewCreation(e),e.staticContentQueries&&md(e,t),e.staticViewQueries&&Ji(2,e.viewQuery,n);let i=e.components;i!==null&&zy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,oa()}}function zy(e,t){for(let n=0;n<t.length;n++)qy(e,t[n])}var ss=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ss||{}),Gy;function _a(e,t){return Gy(e,t)}function Nt(e){return(e.flags&32)===32}function qt(e,t,n,r,o){if(r!=null){let i,s=!1;Se(r)?i=r:we(r)&&(s=!0,r=r[te]);let a=De(r);e===0&&n!==null?o==null?Nd(t,n,a):ro(t,n,a,o||null,!0):e===1&&n!==null?ro(t,n,a,o||null,!0):e===2?va(t,a,s):e===3&&t.destroyNode(a),i!=null&&ov(t,e,i,n,o)}}function Qy(e,t){$d(e,t),t[te]=null,t[ne]=null}function Zy(e,t,n,r,o,i){r[te]=o,r[ne]=t,Bo(e,r,n,1,o,i)}function $d(e,t){t[je].changeDetectionScheduler?.notify(10),Bo(e,t,t[k],2,null,null)}function Yy(e){let t=e[kn];if(!t)return Ii(e[b],e);for(;t;){let n=null;if(we(t))n=t[kn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[Ee]&&t!==e;)we(t)&&Ii(t[b],t),t=t[W];t===null&&(t=e),we(t)&&Ii(t[b],t),n=t&&t[Ee]}t=n}}function Jy(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][Ee]=t),r<i-q?(t[Ee]=n[o],Jl(n,q+r,t)):(n.push(t),t[Ee]=null),t[W]=n;let s=t[mt];s!==null&&n!==s&&Ud(s,t);let a=t[He];a!==null&&a.insertView(e),Li(t),t[E]|=128}function Ud(e,t){let n=e[Qt],r=t[W];if(we(r))e[E]|=2;else{let o=r[W][Y];t[Y]!==o&&(e[E]|=2)}n===null?e[Qt]=[t]:n.push(t)}function Na(e,t){let n=e[Qt],r=n.indexOf(t);n.splice(r,1)}function Vn(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[mt];o!==null&&o!==e&&Na(o,r),t>0&&(e[n-1][Ee]=r[Ee]);let i=Ur(e,q+t);Qy(r[b],r);let s=i[He];s!==null&&s.detachView(i[b]),r[W]=null,r[Ee]=null,r[E]&=-129}return r}function jo(e,t){if(Un(t))return;let n=t[k];n.destroyNode&&Bo(e,t,n,3,null,null),Yy(t)}function Ii(e,t){if(Un(t))return;let n=x(null);try{t[E]&=-129,t[E]|=256,t[se]&&Ht(t[se]),Xy(e,t),Ky(e,t),t[b].type===1&&t[k].destroy();let r=t[mt];if(r!==null&&Se(t[W])){r!==t[W]&&Na(r,t);let o=t[He];o!==null&&o.detachView(e)}Gi(t)}finally{x(n)}}function Ky(e,t){let n=e.cleanup,r=t[Wr];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[Wr]=null);let o=t[Ye];if(o!==null){t[Ye]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[yt];if(i!==null){t[yt]=null;for(let s of i)s.destroy()}}function Xy(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 Et)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];ue(4,a,c);try{c.call(a)}finally{ue(5,a,c)}}else{ue(4,o,i);try{i.call(o)}finally{ue(5,o,i)}}}}}function qd(e,t,n){return ev(e,t.parent,n)}function ev(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[te];if(rt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Fn.None||o===Fn.Emulated)return null}return fe(r,n)}function Wd(e,t,n){return nv(e,t,n)}function tv(e,t,n){return e.type&40?fe(e,n):null}var nv=tv,gl;function Ho(e,t,n,r){let o=qd(e,r,t),i=t[k],s=r.parent||t[ne],a=Wd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fl(i,o,n[c],a,!1);else fl(i,o,n,a,!1);gl!==void 0&&gl(i,r,t,n,o)}function xn(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return as(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return xn(e,r);{let o=e[t.index];return Se(o)?as(-1,o):De(o)}}else{if(n&128)return xn(e,t.next);if(n&32)return _a(t,e)()||De(e[t.index]);{let r=zd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=vt(e[Y]);return xn(o,r)}else return xn(e,t.next)}}}return null}function zd(e,t){if(t!==null){let r=e[Y][ne],o=t.projection;return r.projection[o]}return null}function as(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[b].firstChild;if(o!==null)return xn(r,o)}return t[Be]}function Sa(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&_t(De(a),r),n.flags|=2),!Nt(n))if(c&8)Sa(e,t,n.child,r,o,i,!1),qt(t,e,o,a,i);else if(c&32){let l=_a(n,r),u;for(;u=l();)qt(t,e,o,u,i);qt(t,e,o,a,i)}else c&16?Gd(e,t,r,n,o,i):qt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Bo(e,t,n,r,o,i){Sa(n,r,e.firstChild,t,o,i,!1)}function rv(e,t,n){let r=t[k],o=qd(e,n,t),i=n.parent||t[ne],s=Wd(i,n,t);Gd(r,0,t,n,o,s)}function Gd(e,t,n,r,o,i){let s=n[Y],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];qt(t,e,o,u,i)}else{let l=c,u=s[W];to(r)&&(l.flags|=128),Sa(e,t,l,u,o,i,!0)}}function ov(e,t,n,r,o){let i=n[Be],s=De(n);i!==s&&qt(t,e,r,i,o);for(let a=q;a<n.length;a++){let c=n[a];Bo(c[b],c,e,t,r,i)}}function iv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ss.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ss.Important),e.setStyle(n,r,o,i))}}function Zn(e,t,n,r){let o=x(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=Ia(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[mt]=l;let u=e[He];return u!==null&&(c[He]=u.createEmbeddedView(i)),Ta(i,c,n),c}finally{x(o)}}function Qd(e,t){let n=q+t;if(n<e.length)return e[n]}function Yt(e,t){return!t||t.firstChild===null||to(e)}function Yn(e,t,n,r=!0){let o=t[b];if(Jy(o,t,e,n),r){let s=as(n,e),a=t[k],c=a.parentNode(e[Be]);c!==null&&Zy(o,e[ne],a,t,c,s)}let i=t[de];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Zd(e,t){let n=Vn(e,t);return n!==void 0&&jo(n[b],n),n}function oo(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(De(i)),Se(i)&&sv(i,r);let s=n.type;if(s&8)oo(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=zd(t,n);if(Array.isArray(a))r.push(...a);else{let c=vt(t[Y]);oo(c[b],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function sv(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[b].firstChild;o!==null&&oo(r[b],r,o,t)}e[Be]!==e[te]&&t.push(e[Be])}var Yd=[];function av(e){return e[se]??cv(e)}function cv(e){let t=Yd.pop()??Object.create(uv);return t.lView=e,t}function lv(e){e.lView[se]!==e&&(e.lView=null,Yd.push(e))}var uv=oe(re({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{qn(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function dv(e){let t=e[se]??Object.create(fv);return t.lView=e,t}var fv=oe(re({},ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!Jd(t[b]);)t=vt(t);t&&Xs(t)},consumerOnSignalRead(){this.lView[se]=this}});function Jd(e){return e.type!==2}function Kd(e){if(e[yt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[yt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var pv=100;function Xd(e,t=!0,n=0){let o=e[je].rendererFactory,i=!1;i||o.begin?.();try{hv(e,n)}catch(s){throw t&&Bd(e,s),s}finally{i||o.end?.()}}function hv(e,t){let n=Du();try{Gr(!0),cs(e,t);let r=0;for(;_o(e);){if(r===pv)throw new T(103,!1);r++,cs(e,1)}}finally{Gr(n)}}function gv(e,t,n,r){if(Un(t))return;let o=t[E],i=!1,s=!1;ra(t);let a=!0,c=null,l=null;i||(Jd(e)?(l=av(t),c=jt(l)):xc()===null?(a=!1,l=dv(t),c=jt(l)):t[se]&&(Ht(t[se]),t[se]=null));try{mu(t),hg(e.bindingStartIndex),n!==null&&Pd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Lr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Fr(t,f,0,null),gi(t,0)}if(s||mv(t),Kd(t),ef(t,0),e.contentQueries!==null&&md(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Lr(t,f)}else{let f=e.contentHooks;f!==null&&Fr(t,f,1),gi(t,1)}vv(e,t);let d=e.components;d!==null&&nf(t,d,0);let p=e.viewQuery;if(p!==null&&Ji(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Lr(t,f)}else{let f=e.viewHooks;f!==null&&Fr(t,f,2),gi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Pr]){for(let f of t[Pr])f();t[Pr]=null}i||(t[E]&=-73)}catch(u){throw i||qn(t),u}finally{l!==null&&(wn(l,c),a&&lv(l)),oa()}}function ef(e,t){for(let n=nd(e);n!==null;n=rd(n))for(let r=q;r<n.length;r++){let o=n[r];tf(o,t)}}function mv(e){for(let t=nd(e);t!==null;t=rd(t)){if(!(t[E]&2))continue;let n=t[Qt];for(let r=0;r<n.length;r++){let o=n[r];Xs(o)}}}function yv(e,t,n){let r=Ne(t,e);tf(r,n)}function tf(e,t){Ks(e)&&cs(e,t)}function cs(e,t){let r=e[b],o=e[E],i=e[se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Dn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)gv(r,e,r.template,e[U]);else if(o&8192){Kd(e),ef(e,1);let a=r.components;a!==null&&nf(e,a,1)}}function nf(e,t,n){for(let r=0;r<t.length;r++)yv(e,t[r],n)}function vv(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)It(~o);else{let i=o,s=n[++r],a=n[++r];mg(s,i);let c=t[i];ue(24,c),a(2,c),ue(25,c)}}}finally{It(-1)}}function Aa(e,t){let n=Du()?64:1088;for(e[je].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=vt(e);if(Rn(e)&&!r)return e;e=r}return null}var Dt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[b];return oo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[U]}get dirty(){return!!(this._lView[E]&9280)||!!this._lView[se]?.dirty}set context(t){this._lView[U]=t}get destroyed(){return Un(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(Se(t)){let n=t[zr],r=n?n.indexOf(this):-1;r>-1&&(Vn(t,r),Ur(n,r))}this._attachedToViewContainer=!1}jo(this._lView[b],this._lView)}onDestroy(t){yu(this._lView,t)}markForCheck(){Aa(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){Li(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Rn(this._lView),n=this._lView[mt];n!==null&&!t&&Na(n,this._lView),$d(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t;let n=Rn(this._lView),r=this._lView[mt];r!==null&&!n&&Ud(r,this._lView),Li(this._lView)}},io=(()=>{class e{static __NG_ELEMENT_ID__=wv}return e})(),Iv=io,Ev=class extends Iv{_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=Zn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Dt(o)}};function wv(){return $o(Q(),m())}function $o(e,t){return e.type&4?new Ev(t,e,cn(e,t)):null}function un(e,t,n,r,o){let i=e.data[t];if(i===null)i=Dv(e,t,n,r,o),gg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=fg();i.injectorIndex=s===null?-1:s.injectorIndex}return xt(i,!0),i}function Dv(e,t,n,r,o){let i=wu(),s=ea(),a=s?i:i&&i.parent,c=e.data[t]=Mv(e,a,n,t,r,o);return bv(e,c,i,s),c}function bv(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 Mv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return sn()&&(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 Cv=new RegExp(`^(\\d+)*(${sd}|${id})*(.*)`);function xv(e){let t=e.match(Cv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function Tv(e){return!e.prev&&e.parent?.type===8}function Ei(e){return e.index-P}function _v(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function Uo(e,t,n,r){let o=Ei(r),i=_v(e,o);if(i===void 0){let s=e.data[pm];if(s?.[o])i=Sv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Tv(r)){let l=Ei(r.parent);i=Yi(e,l)}else{let l=fe(c,n);if(a)i=l.firstChild;else{let u=Ei(c),d=Yi(e,u);if(c.type===2&&d){let f=fa(e,u)+1;i=qo(f,d)}else i=l.nextSibling}}}}return i}function qo(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Nv(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case cm:n=n.firstChild;break;case lm:n=n.nextSibling;break}}return n}function Sv(e,t){let[n,...r]=xv(e),o;if(n===id)o=t[Y][te];else if(n===sd)o=ty(t[Y][te]);else{let i=Number(n);o=De(t[i+P])}return Nv(o,r)}var Av=!1;function kv(e){Av=e}function Ov(e){let t=e[de];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[k];for(let i of r.values())Rv(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function Rv(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-P);o&&va(e,o,!1)}}function rf(e){let t=e[On]??[],r=e[W][k],o=[];for(let i of t)i.data[hm]!==void 0?o.push(i):Pv(i,r);e[On]=o}function Pv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[no];for(;n<o;){let i=r.nextSibling;va(t,r,!1),r=i,n++}}}function of(e){rf(e);let t=e[te];we(t)&&so(t);for(let n=q;n<e.length;n++)so(e[n])}function so(e){Ov(e);let t=e[b];for(let n=P;n<t.bindingStartIndex;n++)if(Se(e[n])){let r=e[n];of(r)}else we(e[n])&&so(e[n])}function Lv(e){let t=e._views;for(let n of t){let r=Mm(n);r!==null&&r[te]!==null&&(we(r)?so(r):of(r))}}function Fv(e,t){let n=[];for(let r of t)for(let o=0;o<(r[ad]??1);o++){let i={data:r,firstChild:null};r[no]>0&&(i.firstChild=e,e=qo(r[no],e)),n.push(i)}return[e,n]}var sf=()=>null;function Vv(e,t){let n=e[On];return!t||n===null||n.length===0?null:n[0].data[fm]===t?n.shift():(rf(e),null)}function jv(){sf=Vv}function Jt(e,t){return sf(e,t)}var ls=class{},ao=class{},us=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Kt=class{static NULL=new us},co=class{},qS=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Hv()}return e})();function Hv(){let e=m(),t=Q(),n=Ne(t.index,e);return(we(n)?n:e)[k]}var Bv=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();function lo(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=_i(o,a);else if(i==2){let c=a,l=t[++s];r=_i(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var uo=class extends Kt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ve(t);return new bt(n,this.ngModule)}};function ml(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]:nt.None;t?n.push({propName:s,templateName:r,isSignal:(a&nt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function $v(e){let t=e.toLowerCase();return t==="svg"?hu:t==="math"?Xh:null}var bt=class extends ao{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=ml(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 ml(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=fy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=x(null);try{o=o||this.ngModule;let s=o instanceof Ke?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new ji(t,s):t,c=a.get(co,null);if(c===null)throw new T(407,!1);let l=a.get(Bv,null),u=a.get(wt,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Iy(p,r,this.componentDef.encapsulation,a):ya(p,f,$v(f)),I=512;this.componentDef.signals?I|=4096:this.componentDef.onPush||(I|=16);let O=null;h!==null&&(O=hd(h,a,!0));let C=Da(0,null,null,1,0,null,null,null,null,null,null),R=Ia(null,C,null,I,null,null,d,p,a,null,O);R[P]=h,ra(R);let he=null;try{let ge=r?["ng-version","19.1.4"]:py(this.componentDef.selectors[0]),z=un(C,P,2,"#host",ge),[dn,np]=jd(C,z,[this.componentDef]);Vd(C,R,z,dn,{},np);for(let rp of dn)z.mergedAttrs=Zt(z.mergedAttrs,rp.hostAttrs);z.mergedAttrs=Zt(z.mergedAttrs,ge),lo(z,z.mergedAttrs,!0),h&&(Ad(p,h,z),_t(h,R)),n!==void 0&&Uv(z,this.ngContentSelectors,n),Ld(C,R,z),pa(C,z,R),ko(C,z),he=Ne(z.index,R),R[U]=he[U],Ta(C,R,null)}catch(ge){throw he!==null&&Gi(he),Gi(R),ge}finally{oa()}return new ds(this.componentType,R)}finally{x(i)}}},ds=class extends ls{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Ys(n[b],P),this.location=cn(this._tNode,n),this.instance=Ne(this._tNode.index,n)[U],this.hostView=this.changeDetectorRef=new Dt(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;xa(i[b],i,o,t,n),this.previousInputValues.set(t,n);let s=Ne(this._tNode.index,i);Aa(s,1)}}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Uv(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 ka=(()=>{class e{static __NG_ELEMENT_ID__=qv}return e})();function qv(){let e=Q();return cf(e,m())}var Wv=ka,af=class extends Wv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=ia(this._hostTNode,this._hostLView);if(Pu(t)){let n=Zr(t,this._hostLView),r=Qr(t),o=n[b].data[r+8];return new ht(o,n)}else return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Yt(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 c=s?t:new bt(Ve(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let I=(s?l:this.parentInjector).get(Ke,null);I&&(i=I)}let u=Ve(c.componentType??{}),d=Jt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Yt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ng(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[W],l=new af(c,c[ne],c[W]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Yn(s,o,i,r),t.attachToViewContainerRef(),Jl(wi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Vn(this._lContainer,n);r&&(Ur(wi(this._lContainer),n),jo(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=Vn(this._lContainer,n);return r&&Ur(wi(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yl(e){return e[zr]}function wi(e){return e[zr]||(e[zr]=[])}function cf(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=Hd(r,t,null,e),t[e.index]=n,Ca(t,n)),lf(n,t,e,r),new af(n,e,t)}function zv(e,t){let n=e[k],r=n.createComment(""),o=fe(t,e),i=n.parentNode(o);return ro(n,i,r,n.nextSibling(o),!1),r}var lf=uf,Oa=()=>!1;function Gv(e,t,n){return Oa(e,t,n)}function uf(e,t,n,r){if(e[Be])return;let o;n.type&8?o=De(r):o=zv(t,n),e[Be]=o}function Qv(e,t,n){if(e[Be]&&e[On])return!0;let r=n[de],o=t.index-P;if(!r||Kg(t)||Gn(r,o))return!1;let s=Yi(r,o),a=r.data[ua]?.[o],[c,l]=Fv(s,a);return e[Be]=c,e[On]=l,!0}function Zv(e,t,n,r){Oa(e,n,t)||uf(e,t,n,r)}function Yv(){lf=Zv,Oa=Qv}var fs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ps=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++)Ra(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=oI(t):this.predicate=t}},hs=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)}},gs=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,Jv(n,i)),this.matchTNodeWithReadOption(t,n,Vr(n,t,i,!1,!1))}else r===io?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Vr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Oo||o===ka||o===io&&n.type&4)this.addMatch(n.index,-2);else{let i=Vr(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 Jv(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 Kv(e,t){return e.type&11?cn(e,t):e.type&4?$o(e,t):null}function Xv(e,t,n,r){return n===-1?Kv(t,e):n===-2?eI(e,t,r):Pn(e,e[b],n,t)}function eI(e,t,n){if(n===Oo)return cn(t,e);if(n===io)return $o(t,e);if(n===ka)return cf(t,e)}function df(e,t,n,r){let o=t[He].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Xv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ms(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=df(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=q;d<u.length;d++){let p=u[d];p[mt]===p[W]&&ms(p[b],p,l,r)}if(u[Qt]!==null){let d=u[Qt];for(let p=0;p<d.length;p++){let f=d[p];ms(f[b],f,l,r)}}}}}return r}function tI(e,t){return e[He].queries[t].queryList}function ff(e,t,n){let r=new zi((n&4)===4);return ig(e,t,r,r.destroy),(t[He]??=new ps).queries.push(new fs(r))-1}function nI(e,t,n){let r=L();return r.firstCreatePass&&(pf(r,new fo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ff(r,m(),t)}function rI(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Q();pf(o,new fo(t,n,r),i.index),iI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ff(o,m(),n)}function oI(e){return e.split(",").map(t=>t.trim())}function pf(e,t,n){e.queries===null&&(e.queries=new hs),e.queries.track(new gs(t,n))}function iI(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 Ra(e,t){return e.queries.getByIndex(t)}function sI(e,t){let n=e[b],r=Ra(n,t);return r.crossesNgTemplate?ms(n,e,t,[]):df(n,e,r,t)}function hf(e,t){let n=Object.create(Vl),r=new eo;n.value=e;function o(){return En(n),vl(n.value),n.value}return o[Z]=n,o.asReadonly=Yu.bind(o),o.set=i=>{n.equal(n.value,i)||(bn(n,i),r.emit(i))},o.update=i=>{vl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function vl(e){if(e===Do)throw new T(952,!1)}function Il(e,t){return hf(e,t)}function aI(e){return hf(Do,e)}var zS=(Il.required=aI,Il);var Mt=class{},ys=class{};function GS(e,t){return new po(e,t??null,[])}var po=class extends Mt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new uo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=eu(t);this._bootstrapComponents=Md(i.bootstrap),this._r3Injector=qu(t,n,[{provide:Mt,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver},...r],ie(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)}},vs=class extends ys{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new po(this.moduleType,t,[])}};var ho=class extends Mt{injector;componentFactoryResolver=new uo(this);instance=null;constructor(t){super();let n=new Sn([...t.providers,{provide:Mt,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],t.parent||Co(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function cI(e,t,n=null){return new ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var lI=(()=>{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=nu(!1,n.type),o=r.length>0?cI([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=H({token:e,providedIn:"environment",factory:()=>new e(Je(Ke))})}return e})();function QS(e){return Hn(()=>{let t=gf(e),n=oe(re({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ed.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(lI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fn.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ke("NgStandalone"),mf(n);let r=e.dependencies;return n.directiveDefs=wl(r,!1),n.pipeDefs=wl(r,!0),n.id=fI(n),n})}function uI(e){return Ve(e)||qs(e)}function dI(e){return e!==null}function ZS(e){return Hn(()=>({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 El(e,t){if(e==null)return Fe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=nt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==nt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function YS(e){return Hn(()=>{let t=gf(e);return mf(t),t})}function JS(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 gf(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||Fe,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:El(e.inputs,t),outputs:El(e.outputs),debugInfo:null}}function mf(e){e.features?.forEach(t=>t(e))}function wl(e,t){if(!e)return null;let n=t?tu:uI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(dI)}function fI(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 pI(e){return Object.getPrototypeOf(e.prototype).constructor}function hI(e){let t=pI(e.type),n=!0,r=[e];for(;t;){let o;if(_e(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new T(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=kr(e.inputs),s.inputTransforms=kr(e.inputTransforms),s.declaredInputs=kr(e.declaredInputs),s.outputs=kr(e.outputs);let a=o.hostBindings;a&&II(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&yI(e,c),l&&vI(e,l),gI(e,o),ph(e.outputs,o.outputs),_e(o)&&o.data.animation){let u=e.data;u.animation=(u.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===hI&&(n=!1)}}t=Object.getPrototypeOf(t)}mI(r)}function gI(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 mI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zt(o.hostAttrs,n=Zt(n,o.hostAttrs))}}function kr(e){return e===Fe?{}:e===ee?[]:e}function yI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function vI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function II(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function KS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=yf,n.hostDirectives=r?e.map(Is):[e]):r?n.hostDirectives.unshift(...e.map(Is)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function yf(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)Dl(Is(i),t,n)}else Dl(r,t,n)}function Dl(e,t,n){let r=qs(e.directive);EI(r.declaredInputs,e.inputs),yf(r,t,n),n.set(r,e),t.push(r)}function Is(e){return typeof e=="function"?{directive:$(e),inputs:Fe,outputs:Fe}:{directive:$(e.directive),inputs:bl(e.inputs),outputs:bl(e.outputs)}}function bl(e){if(e===void 0||e.length===0)return Fe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function EI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function XS(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 vf(e){return Pa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function wI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Pa(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Oe(e,t,n){return e[t]=n}function Jn(e,t){return e[t]}function J(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xt(e,t,n,r){let o=J(e,t,n);return J(e,t+1,r)||o}function La(e,t,n,r,o){let i=Xt(e,t,n,r);return J(e,t+2,o)||i}function en(e,t,n,r,o,i){let s=Xt(e,t,n,r);return Xt(e,t+2,o,i)||s}function DI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=un(t,e,4,s||null,a||null);Ma(t,n,u,Xe(l,c)),ko(t,u);let d=u.tView=Da(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function go(e,t,n,r,o,i,s,a,c,l){let u=n+P,d=t.firstCreatePass?DI(u,t,e,r,o,i,s,a,c):t.data[u];xt(d,!1);let p=If(t,e,d,n);Ao()&&Ho(t,e,p,d),_t(p,e);let f=Hd(p,e,p,d);return e[u]=f,Ca(e,f),Gv(f,d,e),To(d)&&Ea(t,e,d),c!=null&&wa(e,d,l),d}function bI(e,t,n,r,o,i,s,a){let c=m(),l=L(),u=Xe(l.consts,i);return go(c,l,e,t,n,r,o,u,s,a),bI}var If=Ef;function Ef(e,t,n,r){return ot(!0),t[k].createComment("")}function MI(e,t,n,r){let o=t[de],i=!o||sn()||Nt(n)||Gn(o,r);if(ot(i),i)return Ef(e,t,n,r);let s=o.data[dm]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Uo(o,e,t,n);Po(o,r,a);let c=fa(o,r);return qo(c,a)}function CI(){If=MI}var eA=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var xI=new S("");function wf(e){return!!e&&typeof e.then=="function"}function TI(e){return!!e&&typeof e.subscribe=="function"}var Df=new S("");function tA(e){return Ws([{provide:Df,multi:!0,useValue:e}])}var bf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=D(Df,{optional:!0})??[];injector=D(et);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=au(this.injector,o);if(wf(i))n.push(i);else if(TI(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mf=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new mo})}return e})(),mo=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()}},Cf=new S("");function _I(){Fc(()=>{throw new T(600,!1)})}function NI(e){return e.isBoundToModule}var SI=10;function AI(e,t,n){try{let r=n();return wf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var tn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=D(qg);afterRenderManager=D(dd);zonelessEnabled=D(sa);rootEffectScheduler=D(Mf);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new le;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=D(Wn).hasPendingTasks.pipe(Ce(n=>!n));constructor(){D(Ro,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=D(Ke);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ao;if(!this._injector.get(bf).done){let p=!o&&Fh(n),f=!1;throw new T(405,f)}let s;o?s=n:s=this._injector.get(Kt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=NI(s)?void 0:this._injector.get(Mt),c=r||s.selector,l=s.create(et.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(xI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),jr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(da.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new T(101,!1);let n=x(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,x(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(co,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<SI;)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)kI(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})=>_o(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;jr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Cf,[]).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),()=>jr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function kI(e,t,n,r){if(!n&&!_o(e))return;Xd(e,t,n&&!r?0:1)}function OI(e,t,n,r){let o=m(),i=Tt();if(J(o,i,t)){let s=L(),a=So();jy(a,o,e,t,n,r)}return OI}function xf(e,t,n,r){return J(e,Tt(),n)?t+Te(n)+r:K}function RI(e,t,n,r,o,i){let s=bu(),a=Xt(e,s,n,o);return No(2),a?t+Te(n)+r+Te(o)+i:K}function PI(e,t,n,r,o,i,s,a){let c=bu(),l=La(e,c,n,o,s);return No(3),l?t+Te(n)+r+Te(o)+i+Te(s)+a:K}function Or(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function LI(e){return(e&2)==2}function FI(e,t){return e&131071|t<<17}function Es(e){return e|2}function nn(e){return(e&131068)>>2}function Di(e,t){return e&-131069|t<<2}function VI(e){return(e&1)===1}function ws(e){return e|1}function jI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),c=nn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||$n(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ct(e[a+1]);e[r+1]=Or(p,a),p!==0&&(e[p+1]=Di(e[p+1],r)),e[a+1]=FI(e[a+1],r)}else e[r+1]=Or(a,0),a!==0&&(e[a+1]=Di(e[a+1],r)),a=r;else e[r+1]=Or(c,0),a===0?a=r:e[c+1]=Di(e[c+1],r),c=r;l&&(e[r+1]=Es(e[r+1])),Ml(e,u,r,!0),Ml(e,u,r,!1),HI(t,u,e,r,i),s=Or(a,c),i?t.classBindings=s:t.styleBindings=s}function HI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$n(i,t)>=0&&(n[r+1]=ws(n[r+1]))}function Ml(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ct(o):nn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];BI(c,t)&&(a=!0,e[s+1]=r?ws(l):Es(l)),s=r?Ct(l):nn(l)}a&&(e[n+1]=r?Es(o):ws(o))}function BI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$n(e,t)>=0:!1}var j={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tf(e){return e.substring(j.key,j.keyEnd)}function $I(e){return e.substring(j.value,j.valueEnd)}function UI(e){return Sf(e),_f(e,rn(e,0,j.textEnd))}function _f(e,t){let n=j.textEnd;return n===t?-1:(t=j.keyEnd=WI(e,j.key=t,n),rn(e,t,n))}function qI(e){return Sf(e),Nf(e,rn(e,0,j.textEnd))}function Nf(e,t){let n=j.textEnd,r=j.key=rn(e,t,n);return n===r?-1:(r=j.keyEnd=zI(e,r,n),r=Cl(e,r,n,58),r=j.value=rn(e,r,n),r=j.valueEnd=GI(e,r,n),Cl(e,r,n,59))}function Sf(e){j.key=0,j.keyEnd=0,j.value=0,j.valueEnd=0,j.textEnd=e.length}function rn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function zI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Cl(e,t,n,r){return t=rn(e,t,n),t<n&&t++,t}function GI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=xl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=xl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function xl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function QI(e,t,n){let r=m(),o=Tt();if(J(r,o,t)){let i=L(),s=So();ba(i,s,r,e,t,r[k],n,!1)}return QI}function Ds(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";xa(e,n,i[s],s,r)}function ZI(e,t,n){return kf(e,t,n,!1),ZI}function YI(e,t){return kf(e,t,null,!0),YI}function nA(e){Fa(Pf,JI,e,!1)}function JI(e,t){for(let n=qI(t);n>=0;n=Nf(t,n))Pf(e,Tf(t),$I(t))}function rA(e){Fa(rE,Af,e,!0)}function Af(e,t){for(let n=UI(t);n>=0;n=_f(t,n))Bn(e,Tf(t),!0)}function kf(e,t,n,r){let o=m(),i=L(),s=No(2);if(i.firstUpdatePass&&Rf(i,e,s,r),t!==K&&J(o,s,t)){let a=i.data[Ae()];Lf(i,a,o,o[k],e,o[s+1]=iE(t,n),r,s)}}function Fa(e,t,n,r){let o=L(),i=No(2);o.firstUpdatePass&&Rf(o,null,i,r);let s=m();if(n!==K&&J(s,i,n)){let a=o.data[Ae()];if(Ff(a,r)&&!Of(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=_i(c,n||"")),Ds(o,a,s,n,r)}else oE(o,a,s,s[k],s[i+1],s[i+1]=nE(e,t,n),r,i)}}function Of(e,t){return t>=e.expandoStartIndex}function Rf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ae()],s=Of(e,n);Ff(i,r)&&t===null&&!s&&(t=!1),t=KI(o,i,t,r),jI(o,i,t,n,s,r)}}function KI(e,t,n,r){let o=Mu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=bi(null,e,t,n,r),n=jn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=bi(o,e,t,n,r),i===null){let c=XI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=bi(null,e,t,c[1],r),c=jn(c,t.attrs,r),eE(e,t,r,c))}else i=tE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function XI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(nn(r)!==0)return e[Ct(r)]}function eE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ct(o)]=r}function tE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=jn(r,s,n)}return jn(r,t.attrs,n)}function bi(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=jn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function jn(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]),Bn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function nE(e,t,n){if(n==null||n==="")return ee;let r=[],o=ln(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 Pf(e,t,n){Bn(e,t,ln(n))}function rE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Bn(e,r,n)}function oE(e,t,n,r,o,i,s,a){o===K&&(o=ee);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,I;u===d?(c+=2,l+=2,p!==f&&(h=d,I=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,I=f),h!==null&&Lf(e,t,n,r,h,I,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Lf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=VI(l)?Tl(c,t,n,o,nn(l),s):void 0;if(!yo(u)){yo(i)||LI(l)&&(i=Tl(c,null,n,o,a,s));let d=gu(Ae(),n);iv(r,s,d,o,i)}}function Tl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===K&&(p=d?ee:void 0);let f=d?pi(p,r):u===r?p:void 0;if(l&&!yo(f)&&(f=pi(c,r)),yo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ct(h):nn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=pi(c,r))}return a}function yo(e){return e!==void 0}function iE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(ln(e)))),e}function Ff(e,t){return(e.flags&(t?8:16))!==0}function oA(e,t,n){let r=m(),o=xf(r,e,t,n);Fa(Bn,Af,o,!0)}var bs=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 Mi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Mi(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Mi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let I=n(i,l),O=n(s,p),C=n(i,u);if(Object.is(C,O)){let R=n(c,f);Object.is(R,I)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new vo,o??=Nl(e,i,s,n),Ms(e,r,i,C))e.updateValue(i,u),i++,s++;else if(o.has(C))r.set(I,e.detach(i)),s--;else{let R=e.create(i,t[i]);e.attach(i,R),i++,s++}}for(;i<=c;)_l(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Mi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new vo,o??=Nl(e,i,s,n);let f=n(i,d);if(Ms(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)_l(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ms(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _l(e,t,n,r,o){if(Ms(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Nl(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 vo=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 iA(e,t){ke("NgControlFlow");let n=m(),r=Tt(),o=n[r]!==K?n[r]:-1,i=o!==-1?Io(n,P+o):void 0,s=0;if(J(n,r,e)){let a=x(null);try{if(i!==void 0&&Zd(i,s),e!==-1){let c=P+e,l=Io(n,c),u=_s(n[b],c),d=Jt(l,u.tView.ssrId),p=Zn(n,u,t,{dehydratedView:d});Yn(l,p,s,Yt(u,d))}}finally{x(a)}}else if(i!==void 0){let a=Qd(i,s);a!==void 0&&(a[U]=t)}}var Cs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};function sA(e){return e}function aA(e,t){return t}var xs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function cA(e,t,n,r,o,i,s,a,c,l,u,d,p){ke("NgControlFlow");let f=m(),h=L(),I=c!==void 0,O=m(),C=a?s.bind(O[Y][U]):s,R=new xs(I,C);O[P+e]=R,go(f,h,e+1,t,n,r,o,Xe(h.consts,i)),I&&go(f,h,e+2,c,l,u,d,Xe(h.consts,p))}var Ts=class extends bs{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-q}at(t){return this.getLView(t)[U].$implicit}attach(t,n){let r=n[de];this.needsIndexUpdate||=t!==this.length,Yn(this.lContainer,n,t,Yt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aE(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId),o=Zn(this.hostLView,this.templateTNode,new Cs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){jo(t[b],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[U].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[U].$index=t}getLView(t){return cE(this.lContainer,t)}};function lA(e){let t=x(null),n=Ae();try{let r=m(),o=r[b],i=r[n],s=n+1,a=Io(r,s);if(i.liveCollection===void 0){let l=_s(o,s);i.liveCollection=new Ts(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(sE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Tt(),u=c.length===0;if(J(r,l,u)){let d=n+2,p=Io(r,d);if(u){let f=_s(o,d),h=Jt(p,f.tView.ssrId),I=Zn(r,f,void 0,{dehydratedView:h});Yn(p,I,0,Yt(f,h))}else Zd(p,0)}}}finally{x(t)}}function Io(e,t){return e[t]}function aE(e,t){return Vn(e,t)}function cE(e,t){return Qd(e,t)}function _s(e,t){return Ys(e,t)}function lE(e,t,n,r,o,i){let s=t.consts,a=Xe(s,o),c=un(t,e,2,r,a);return Ma(t,n,c,Xe(s,i)),c.attrs!==null&&lo(c,c.attrs,!1),c.mergedAttrs!==null&&lo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Vf(e,t,n,r){let o=m(),i=L(),s=P+e,a=o[k],c=i.firstCreatePass?lE(s,i,o,t,n,r):i.data[s],l=Hf(i,o,c,a,t,e);o[s]=l;let u=To(c);return xt(c,!0),Ad(a,l,c),!Nt(c)&&Ao()&&Ho(i,o,l,c),sg()===0&&_t(l,o),ag(),u&&(Ea(i,o,c),pa(i,c,o)),r!==null&&wa(o,c),Vf}function jf(){let e=Q();ea()?ta():(e=e.parent,xt(e,!1));let t=e;lg(t)&&dg(),cg();let n=L();return n.firstCreatePass&&(ko(n,e),Zs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&bg(t)&&Ds(n,t,m(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mg(t)&&Ds(n,t,m(),t.stylesWithoutHost,!1),jf}function uE(e,t,n,r){return Vf(e,t,n,r),jf(),uE}var Hf=(e,t,n,r,o,i)=>(ot(!0),ya(r,o,Au()));function dE(e,t,n,r,o,i){let s=t[de],a=!s||sn()||Nt(n)||Gn(s,i);if(ot(a),a)return ya(r,o,Au());let c=Uo(s,e,t,n);return gd(s,i)&&Po(s,i,c.nextSibling),s&&(Ku(n)||Xu(c))&&rt(n)&&(ug(n),Sd(c)),c}function fE(){Hf=dE}function pE(e,t,n,r,o){let i=t.consts,s=Xe(i,r),a=un(t,e,8,"ng-container",s);s!==null&&lo(a,s,!0);let c=Xe(i,o);return Ma(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Bf(e,t,n){let r=m(),o=L(),i=e+P,s=o.firstCreatePass?pE(i,o,r,t,n):o.data[i];xt(s,!0);let a=Uf(o,r,s,e);return r[i]=a,Ao()&&Ho(o,r,a,s),_t(a,r),To(s)&&(Ea(o,r,s),pa(o,s,r)),n!=null&&wa(r,s),Bf}function $f(){let e=Q(),t=L();return ea()?ta():(e=e.parent,xt(e,!1)),t.firstCreatePass&&(ko(t,e),Zs(e)&&t.queries.elementEnd(e)),$f}function hE(e,t,n){return Bf(e,t,n),$f(),hE}var Uf=(e,t,n,r)=>(ot(!0),_d(t[k],""));function gE(e,t,n,r){let o,i=t[de],s=!i||sn()||Gn(i,r)||Nt(n);if(ot(s),s)return _d(t[k],"");let a=Uo(i,e,t,n),c=Tm(i,r);return Po(i,r,a),o=qo(c,a),o}function mE(){Uf=gE}function uA(){return m()}function yE(e,t,n){let r=m(),o=Tt();if(J(r,o,t)){let i=L(),s=So(),a=Mu(i.data),c=Uy(a,s,r);ba(i,s,r,e,t,c,n,!0)}return yE}var pt=void 0;function vE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var IE=["en",[["a","p"],["AM","PM"],pt],[["AM","PM"],pt,pt],[["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"]],pt,[["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"]],pt,[["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}",pt,"{1} 'at' {0}",pt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",vE],Ci={};function dA(e){let t=wE(e),n=Sl(t);if(n)return n;let r=t.split("-")[0];if(n=Sl(r),n)return n;if(r==="en")return IE;throw new T(701,!1)}function Sl(e){return e in Ci||(Ci[e]=Qe.ng&&Qe.ng.common&&Qe.ng.common.locales&&Qe.ng.common.locales[e]),Ci[e]}var EE=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}(EE||{});function wE(e){return e.toLowerCase().replace(/_/g,"-")}var Eo="en-US";var DE=Eo;function bE(e){typeof e=="string"&&(DE=e.toLowerCase().replace(/_/g,"-"))}var ME=(e,t,n)=>{};function CE(e,t,n,r){let o=m(),i=L(),s=Q();return qf(i,o,o[k],s,e,t,r),CE}function xE(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[Wr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function qf(e,t,n,r,o,i,s){let a=To(r),l=e.firstCreatePass&&Iu(e),u=t[U],d=vu(t),p=!0;if(r.type&3||s){let I=fe(r,t),O=s?s(I):I,C=d.length,R=s?ge=>s(De(ge[r.index])):r.index,he=null;if(!s&&a&&(he=xE(e,t,o,r.index)),he!==null){let ge=he.__ngLastListenerFn__||he;ge.__ngNextListenerFn__=i,he.__ngLastListenerFn__=i,p=!1}else{i=kl(r,t,u,i),ME(I,o,i);let ge=n.listen(O,o,i);d.push(i,ge),l&&l.push(o,R,C,C+1)}}else i=kl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let I=h.length;if(I)for(let O=0;O<I;O+=2){let C=h[O],R=h[O+1],z=t[C][R].subscribe(i),dn=d.length;d.push(i,z),l&&l.push(o,r.index,dn,-(dn+1))}}}function Al(e,t,n,r){let o=x(null);try{return ue(6,t,n),n(r)!==!1}catch(i){return Bd(e,i),!1}finally{ue(7,t,n),x(o)}}function kl(e,t,n,r){return function o(i){if(i===Function)return r;let s=rt(e)?Ne(e.index,t):t;Aa(s,5);let a=Al(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Al(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function fA(e=1){return Ig(e)}function TE(e,t){let n=null,r=ay(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?xd(e,i,!0):uy(r,i))return o}return n}function pA(e){let t=m()[Y][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=Rh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?TE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function hA(e,t=0,n,r,o,i){let s=m(),a=L(),c=r?e+1:null;c!==null&&go(s,a,c,r,o,i,null,n);let l=un(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),ta();let d=!s[de]||sn();s[Y][ne].projection[l.projection]===null&&c!==null?_E(s,a,c):d&&!Nt(l)&&rv(a,s,l)}function _E(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Jt(i,o.tView.ssrId),a=Zn(e,o,void 0,{dehydratedView:s});Yn(i,a,0,Yt(o,s))}function gA(e,t,n,r){rI(e,t,n,r)}function mA(e,t,n){nI(e,t,n)}function yA(e){let t=m(),n=L(),r=Cu();na(r+1);let o=Ra(n,r);if(e.dirty&&tg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=sI(t,r);e.reset(i,Gg),e.notifyOnChanges()}return!0}return!1}function vA(){return tI(m(),Cu())}function NE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function IA(e){let t=pg();return Js(t,P+e)}function EA(e,t=""){let n=m(),r=L(),o=e+P,i=r.firstCreatePass?un(r,o,1,t,null):r.data[o],s=Wf(r,n,i,t,e);n[o]=s,Ao()&&Ho(r,n,s,i),xt(i,!1)}var Wf=(e,t,n,r,o)=>(ot(!0),Td(t[k],r));function SE(e,t,n,r,o){let i=t[de],s=!i||sn()||Nt(n)||Gn(i,o);return ot(s),s?Td(t[k],r):Uo(i,e,t,n)}function AE(){Wf=SE}function kE(e){return zf("",e,""),kE}function zf(e,t,n){let r=m(),o=xf(r,e,t,n);return o!==K&&Va(r,Ae(),o),zf}function OE(e,t,n,r,o){let i=m(),s=RI(i,e,t,n,r,o);return s!==K&&Va(i,Ae(),s),OE}function RE(e,t,n,r,o,i,s){let a=m(),c=PI(a,e,t,n,r,o,i,s);return c!==K&&Va(a,Ae(),c),RE}function Va(e,t,n){let r=gu(t,e);hy(e[k],r,n)}function PE(e,t,n){Ju(t)&&(t=t());let r=m(),o=Tt();if(J(r,o,t)){let i=L(),s=So();ba(i,s,r,e,t,r[k],n,!1)}return PE}function wA(e,t){let n=Ju(e);return n&&e.set(t),n}function LE(e,t){let n=m(),r=L(),o=Q();return qf(r,n,n[k],o,e,t),LE}function FE(e,t,n){let r=L();if(r.firstCreatePass){let o=_e(e);Ns(n,r.data,r.blueprint,o,!0),Ns(t,r.data,r.blueprint,o,!1)}}function Ns(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ns(e[i],t,n,r,o);else{let i=L(),s=m(),a=Q(),c=Gt(e)?e:$(e.provide),l=su(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Gt(e)||!e.multi){let f=new Et(l,o,Vo),h=Ti(c,t,o?u:u+p,d);h===-1?(Bi(Jr(a,s),i,c),xi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ti(c,t,u+p,d),h=Ti(c,t,u,u+p),I=f>=0&&n[f],O=h>=0&&n[h];if(o&&!O||!o&&!I){Bi(Jr(a,s),i,c);let C=HE(o?jE:VE,n.length,o,r,l);!o&&O&&(n[h].providerFactory=C),xi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=Gf(n[o?h:f],l,!o&&r);xi(i,e,f>-1?f:h,C)}!o&&r&&O&&n[h].componentProviders++}}}function xi(e,t,n,r){let o=Gt(t),i=$h(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Gf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ti(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function VE(e,t,n,r){return Ss(this.multi,[])}function jE(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Pn(n,n[b],this.providerFactory.index,r);i=a.slice(0,s),Ss(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ss(o,i);return i}function Ss(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function HE(e,t,n,r,o){let i=new Et(e,n,Vo);return i.multi=[],i.index=t,i.componentProviders=0,Gf(i,o,r&&!n),i}function DA(e,t=[]){return n=>{n.providersResolver=(r,o)=>FE(r,o?o(e):e,t)}}function bA(e,t,n){let r=pe()+e,o=m();return o[r]===K?Oe(o,r,n?t.call(n):t()):Jn(o,r)}function MA(e,t,n,r){return Qf(m(),pe(),e,t,n,r)}function CA(e,t,n,r,o){return Zf(m(),pe(),e,t,n,r,o)}function xA(e,t,n,r,o,i){return BE(m(),pe(),e,t,n,r,o,i)}function TA(e,t,n,r,o,i,s){return $E(m(),pe(),e,t,n,r,o,i,s)}function _A(e,t,n,r,o,i,s,a){let c=pe()+e,l=m(),u=en(l,c,n,r,o,i);return J(l,c+4,s)||u?Oe(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Jn(l,c+5)}function NA(e,t,n,r,o,i,s,a,c){let l=pe()+e,u=m(),d=en(u,l,n,r,o,i);return Xt(u,l+4,s,a)||d?Oe(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Jn(u,l+6)}function SA(e,t,n,r,o,i,s,a,c,l){let u=pe()+e,d=m(),p=en(d,u,n,r,o,i);return La(d,u+4,s,a,c)||p?Oe(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Jn(d,u+7)}function AA(e,t,n,r,o,i,s,a,c,l,u){let d=pe()+e,p=m(),f=en(p,d,n,r,o,i);return en(p,d+4,s,a,c,l)||f?Oe(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Jn(p,d+8)}function kA(e,t,n,r){return UE(m(),pe(),e,t,n,r)}function Kn(e,t){let n=e[t];return n===K?void 0:n}function Qf(e,t,n,r,o,i){let s=t+n;return J(e,s,o)?Oe(e,s+1,i?r.call(i,o):r(o)):Kn(e,s+1)}function Zf(e,t,n,r,o,i,s){let a=t+n;return Xt(e,a,o,i)?Oe(e,a+2,s?r.call(s,o,i):r(o,i)):Kn(e,a+2)}function BE(e,t,n,r,o,i,s,a){let c=t+n;return La(e,c,o,i,s)?Oe(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Kn(e,c+3)}function $E(e,t,n,r,o,i,s,a,c){let l=t+n;return en(e,l,o,i,s,a)?Oe(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Kn(e,l+4)}function UE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)J(e,s++,o[c])&&(a=!0);return a?Oe(e,s,r.apply(i,o)):Kn(e,s)}function OA(e,t){let n=L(),r,o=e+P;n.firstCreatePass?(r=qE(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=gt(r.type,!0)),s,a=X(Vo);try{let c=Yr(!1),l=i();return Yr(c),NE(n,m(),o,l),l}finally{X(a)}}function qE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function RA(e,t,n){let r=e+P,o=m(),i=Js(o,r);return Yf(o,r)?Qf(o,pe(),t,i.transform,n,i):i.transform(n)}function PA(e,t,n,r){let o=e+P,i=m(),s=Js(i,o);return Yf(i,o)?Zf(i,pe(),t,s.transform,n,r,s):s.transform(n,r)}function Yf(e,t){return e[b].data[t].pure}function LA(e,t){return $o(e,t)}var As=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},FA=(()=>{class e{compileModuleSync(n){return new vs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=eu(n),i=Md(o.declarations).reduce((s,a)=>{let c=Ve(a);return c&&s.push(new bt(c)),s},[]);return new As(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var WE=(()=>{class e{zone=D(ae);changeDetectionScheduler=D(wt);applicationRef=D(tn);_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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zE=new S("",{factory:()=>!1});function Jf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(oe(re({},Kf()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:Nn,multi:!0,useFactory:()=>{let r=D(WE,{optional:!0});return()=>r.initialize()}},{provide:Nn,multi:!0,useFactory:()=>{let r=D(GE);return()=>{r.initialize()}}},t===!0?{provide:zu,useValue:!0}:[],{provide:Gu,useValue:n??Wu}]}function VA(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Jf({ngZoneFactory:()=>{let o=Kf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&ke("NgZone_CoalesceEvent"),new ae(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Ws([{provide:zE,useValue:!0},{provide:sa,useValue:!1},r])}function Kf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GE=(()=>{class e{subscription=new F;initialized=!1;zone=D(ae);pendingTasks=D(Wn);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(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var QE=(()=>{class e{appRef=D(tn);taskService=D(Wn);ngZone=D(ae);zonelessEnabled=D(sa);tracing=D(Ro,{optional:!0});disableScheduling=D(zu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Gu,{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 Wi||!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?Xc:Qu;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(Xr+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,Xc(()=>{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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZE(){return typeof $localize<"u"&&$localize.locale||Eo}var Xf=new S("",{providedIn:"root",factory:()=>D(Xf,N.Optional|N.SkipSelf)||ZE()});var ks=new S(""),YE=new S("");function Mn(e){return!e.moduleRef}function JE(e){let t=Mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ae);return n.run(()=>{Mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ks);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ks);s.add(i),e.moduleRef.onDestroy(()=>{jr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return AI(r,n,()=>{let i=t.get(bf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Xf,Eo);if(bE(s||Eo),!t.get(YE,!0))return Mn(e)?t.get(tn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Mn(e)){let c=t.get(tn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return KE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function KE(e,t){let n=e.injector.get(tn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new T(-403,!1);t.push(e)}var Hr=null;function XE(e=[],t){return et.create({name:t,providers:[{provide:iu,useValue:"platform"},{provide:ks,useValue:new Set([()=>Hr=null])},...e]})}function ew(e=[]){if(Hr)return Hr;let t=XE(e);return Hr=t,_I(),tw(t),t}function tw(e){let t=e.get(om,null);au(e,()=>{t?.forEach(n=>n())})}var nw=(()=>{class e{static __NG_ELEMENT_ID__=rw}return e})();function rw(e){return ow(Q(),m(),(e&16)===16)}function ow(e,t,n){if(rt(e)&&!n){let r=Ne(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[Y];return new Dt(r,t)}return null}var Os=class{constructor(){}supports(t){return vf(t)}create(t){return new Rs(t)}},iw=(e,t)=>t,Rs=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||iw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ol(r,o,i)?n:r,a=Ol(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!vf(t))throw new T(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,wI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ps(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new wo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new wo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ps=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Ls=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},wo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ls,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ol(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Fs=class{constructor(){}supports(t){return t instanceof Map||Pa(t)}create(){return new Vs}},Vs=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Pa(t)))throw new T(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new js(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},js=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Rl(){return new sw([new Os])}var sw=(()=>{class e{factories;static \u0275prov=H({token:e,providedIn:"root",factory:Rl});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rl()),deps:[[e,new Yl,new Zl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new T(901,!1)}}return e})();function Pl(){return new aw([new Fs])}var aw=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:Pl});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pl()),deps:[[e,new Yl,new Zl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new T(901,!1)}}return e})();function jA(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ew(r),i=[Jf({}),{provide:wt,useExisting:QE},...n||[]],s=new ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return JE({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var Ll=!1;function cw(){Ll||(Ll=!0,bm(),fE(),AE(),mE(),CI(),Yv(),jv(),Dy())}function lw(e){return e.whenStable()}function HA(){let e=[{provide:_r,useFactory:()=>{let t=!0;return t=!!D(la,{optional:!0})?.get(fd,null),t&&ke("NgHydration"),t}},{provide:Nn,useValue:()=>{kv(!1),D(_r)&&(uw(),cw())},multi:!0}];return e.push({provide:ud,useFactory:()=>D(_r)},{provide:Cf,useFactory:()=>{if(D(_r)){let t=D(tn);return()=>{lw(t).then(()=>{t.destroyed||Lv(t)})}}return()=>{}},multi:!0}),Ws(e)}function uw(){let e=zn(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===wm){t=n;break}if(!t)throw new T(-507,!1)}function BA(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $A(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function UA(e,t){ke("NgSignals");let n=Rc(e);return t?.equal&&(n[Z].equal=t.equal),n}function qA(e){let t=x(null);try{return e()}finally{x(t)}}var ep=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=dw}return e})();function dw(){return new ep(m(),Q())}var fw=!1,pw=(()=>{class e extends mo{pendingTasks=D(Wn);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=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hs=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=Hc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(tt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function hw(){}function gw(e,t){ke("NgSignals"),!t?.injector&&Gs(hw);let n=t?.injector??D(et),r=t?.manualCleanup!==!0?n.get(an):null,o=new Hs(n.get(pw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(nw,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Pr]??=[]).push(o.watcher.notify),o}var mw=fw;var Bs=class{[Z];constructor(t){this[Z]=t}destroy(){this[Z].destroy()}};function yw(e,t){if(mw)return gw(e,t);ke("NgSignals"),!t?.injector&&Gs(yw);let n=t?.injector??D(et),r=t?.manualCleanup!==!0?n.get(an):null,o,i=n.get(ep,null,{optional:!0}),s=n.get(wt);return i!==null&&!t?.forceRoot?(o=Ew(i.view,s,e),r instanceof Kr&&r._lView===i.view&&(r=null)):o=ww(e,n.get(Mf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Bs(o)}var tp=oe(re({},ft),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Ln,run(){if(this.dirty=!1,this.hasRun&&!Dn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=jt(this),n=Gr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Gr(n),wn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),vw=oe(re({},tp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ht(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Iw=oe(re({},tp),{consumerMarkedDirty(){this.view[E]|=8192,qn(this.view),this.notifier.notify(14)},destroy(){Ht(this),this.onDestroyFn(),this.maybeCleanup(),this.view[yt]?.delete(this)}});function Ew(e,t,n){let r=Object.create(Iw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[yt]??=new Set,e[yt].add(r),r.consumerMarkedDirty(r),r}function ww(e,t,n){let r=Object.create(vw);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 WA(e,t){let n=Ve(e),r=t.elementInjector||Co();return new bt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function zA(e){let t=Ve(e);if(!t)return null;let n=new bt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{F as a,ce as b,ap as c,_ as d,Xo as e,ei as f,le as g,fn as h,hn as i,up as j,Pe as k,hp as l,Me as m,ni as n,vp as o,Ip as p,lt as q,sc as r,Ep as s,Ce as t,Np as u,ve as v,mn as w,ze as x,Ap as y,kp as z,ri as A,ut as B,jp as C,Hp as D,Le as E,$p as F,Up as G,Wp as H,oi as I,pc as J,zp as K,Gp as L,yn as M,dt as N,Qp as O,mc as P,Jp as Q,yc as R,Kp as S,si as T,Xp as U,eh as V,Ic as W,Ec as X,wc as Y,Dc as Z,th as _,qa as $,nh as aa,rh as ba,T as ca,ie as da,Bl as ea,H as fa,vS as ga,IS as ha,S as ia,N as ja,Je as ka,D as la,Ws as ma,Vh as na,iu as oa,Ke as pa,au as qa,Gs as ra,ES as sa,wS as ta,DS as ua,bS as va,MS as wa,CS as xa,et as ya,an as za,wt as Aa,Wn as Ba,Ze as Ca,ae as Da,tt as Ea,xS as Fa,TS as Ga,Oo as Ha,ke as Ia,Qg as Ja,_S as Ka,NS as La,nm as Ma,om as Na,im as Oa,SS as Pa,AS as Qa,la as Ra,Ro as Sa,Ut as Ta,ym as Ua,Fn as Va,ln as Wa,ha as Xa,kS as Ya,OS as Za,RS as _a,PS as $a,LS as ab,vd as bb,zm as cb,Fo as db,FS as eb,Qm as fb,VS as gb,jS as hb,HS as ib,BS as jb,Vo as kb,$S as lb,ss as mb,io as nb,Kt as ob,co as pb,qS as qb,ka as rb,zS as sb,Mt as tb,ys as ub,GS as vb,cI as wb,QS as xb,ZS as yb,YS as zb,JS as Ab,hI as Bb,KS as Cb,XS as Db,bI as Eb,eA as Fb,wf as Gb,TI as Hb,Df as Ib,tA as Jb,Cf as Kb,tn as Lb,OI as Mb,QI as Nb,ZI as Ob,YI as Pb,nA as Qb,rA as Rb,oA as Sb,iA as Tb,sA as Ub,aA as Vb,cA as Wb,lA as Xb,Vf as Yb,jf as Zb,uE as _b,Bf as $b,$f as ac,hE as bc,uA as cc,yE as dc,dA as ec,EE as fc,CE as gc,fA as hc,pA as ic,hA as jc,gA as kc,mA as lc,yA as mc,vA as nc,IA as oc,EA as pc,kE as qc,zf as rc,OE as sc,RE as tc,PE as uc,wA as vc,LE as wc,DA as xc,bA as yc,MA as zc,CA as Ac,xA as Bc,TA as Cc,_A as Dc,NA as Ec,SA as Fc,AA as Gc,kA as Hc,OA as Ic,RA as Jc,PA as Kc,LA as Lc,FA as Mc,VA as Nc,Xf as Oc,nw as Pc,sw as Qc,aw as Rc,jA as Sc,HA as Tc,BA as Uc,$A as Vc,UA as Wc,qA as Xc,yw as Yc,WA as Zc,zA as _c};
|
package/chunk-BMZ2A6GT.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk-4WX4CTCF.js";import{a as O}from"./chunk-NAZKZSVO.js";import{k as V,m as N,n as U,o as H}from"./chunk-G7QGHGLM.js";import"./chunk-SMINY2HR.js";import{g as M}from"./chunk-LVEM3QDX.js";import"./chunk-ULH6XT2Q.js";import"./chunk-ZQDTA2BC.js";import"./chunk-QSMNYWAY.js";import"./chunk-7BUIG2V4.js";import"./chunk-WKMCCUUK.js";import"./chunk-P7OQDOZ5.js";import"./chunk-S35HUXPS.js";import"./chunk-OM3AWD5C.js";import{n as T,r as k,s as z,t as L}from"./chunk-DFW6MEY3.js";import{$ as E,$b as S,Eb as h,Ic as J,Jc as A,Ka as x,Kc as I,Lc as j,Nb as b,Wc as D,Yb as n,Yc as P,Zb as a,_b as f,ac as C,cc as w,gc as y,hc as u,jb as m,la as R,pc as l,qc as s,ta as p,ua as _,xb as v}from"./chunk-A63HKFUG.js";import{a as c,b as d}from"./chunk-EQDQRRRY.js";function G(r,g){if(r&1){let e=w();n(0,"button",7),y("click",function(){p(e);let t=u();return _(t.onCreateJournal())}),l(1," Generate Journal "),a()}}function K(r,g){r&1&&(n(0,"tr")(1,"th",9),f(2,"p-tableHeaderCheckbox"),a(),n(3,"th"),l(4,"Outlet"),a(),n(5,"th"),l(6,"Number"),a(),n(7,"th"),l(8,"Date"),a(),n(9,"th"),l(10,"Adjustment Qty"),a(),n(11,"th"),l(12,"Type"),a(),n(13,"th"),l(14,"State"),a(),n(15,"th"),l(16,"Note"),a()())}function q(r,g){if(r&1&&(n(0,"tr")(1,"td"),f(2,"p-tableCheckbox",10),a(),n(3,"td"),l(4),a(),n(5,"td"),l(6),a(),n(7,"td"),l(8),J(9,"date"),a(),n(10,"td"),l(11),J(12,"number"),a(),n(13,"td"),l(14),a(),n(15,"td"),l(16),a(),n(17,"td"),l(18),a()()),r&2){let e=g.$implicit;m(2),b("value",e),m(2),s(e.outlet),m(2),s(e.number),m(2),s(I(9,8,e.date,"d MMM y")),m(3),s(A(12,11,e.quantitySUM)),m(3),s(e.type),m(2),s(e.state),m(2),s(e.note)}}function F(r,g){if(r&1){let e=w();n(0,"p-table",8),y("onLazyLoad",function(t){p(e);let i=u();return _(i.onLazyLoad(t))})("onRowSelect",function(t){p(e);let i=u();return _(i.onRowSelect(t))})("onRowUnselect",function(t){p(e);let i=u();return _(i.onRowUnselect(t))}),h(1,K,17,0,"ng-template",null,0,j)(3,q,19,13,"ng-template",null,1,j),a()}if(r&2){let e=u();b("value",e.adjustmentJournal().data)("scrollable",!0)("scrollHeight","calc(100vh - 200px)")("paginator",!0)("rows",e.pageData().PageSize)("totalRecords",e.adjustmentJournal().totalCount)("lazy",!0)}}var le=(()=>{class r{constructor(){this.generateJournalService=R(B),this.adjustmentJournal=x(null),this.pageData=x({PageNumber:1,PageSize:10}),this.selectedItems=D(()=>this.adjustmentJournal()?.data.filter(e=>e.checked)||[]),P(()=>{this.pageData()&&this.fetchAdjustmentJournal()})}fetchAdjustmentJournal(){let e={PageSize:this.pageData().PageSize,PageNumber:this.pageData().PageNumber};this.generateJournalService.getAdjustmentJournal(e).pipe(E(o=>{this.adjustmentJournal.update(t=>d(c({},t),{data:o.data.map(i=>d(c({},i),{checked:!1})),totalCount:+o.totalCount}))}),O("AR Collection")).subscribe()}onLazyLoad(e){this.pageData.set({PageNumber:e.first/e.rows+1,PageSize:e.rows})}onRowSelect(e){let o=e.data;this.adjustmentJournal.update(t=>d(c({},t),{data:t.data.map(i=>i.id===o.id?d(c({},i),{checked:!0}):i)}))}onRowUnselect(e){let o=e.data;this.adjustmentJournal.update(t=>d(c({},t),{Data:t.data.map(i=>i.id===o.ID?d(c({},i),{checked:!i.checked}):i)}))}onCreateJournal(){let o=this.selectedItems().map(t=>t.id);this.generateJournalService.createAdjustmentJournal(o).subscribe(t=>{console.log("Journal created successfully:",t)})}static{this.\u0275fac=function(o){return new(o||r)}}static{this.\u0275cmp=v({type:r,selectors:[["app-adjustment-journal"]],decls:5,vars:2,consts:[["header",""],["body",""],["pageTitle","Adjustment"],["ngProjectAs","action-button",5,["action-button"]],["class","btn btn-primary rounded",3,"click",4,"ngIf"],["ngProjectAs","content",5,["content"]],["dataKey","id",3,"value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy","onLazyLoad","onRowSelect","onRowUnselect",4,"ngIf"],[1,"btn","btn-primary","rounded",3,"click"],["dataKey","id",3,"onLazyLoad","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"]],template:function(o,t){o&1&&(n(0,"app-main-panel",2),S(1,3),h(2,G,2,0,"button",4),C(),S(3,5),h(4,F,5,7,"p-table",6),C(),a()),o&2&&(m(2),b("ngIf",t.selectedItems()&&t.selectedItems().length>0),m(2),b("ngIf",t.adjustmentJournal()))},dependencies:[M,H,V,N,U,L,T,z,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return r})();export{le as AdjustmentJournalComponent};
|
package/chunk-DFW6MEY3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ab as V,Gb as Be,Ha as U,Hb as Re,Oc as ie,Pc as re,Qc as Oe,Rc as Pe,Xc as se,ca as _e,da as be,ec as E,fa as b,fc as g,g as Se,ga as ve,ia as O,ka as M,kb as m,la as P,mb as Ie,nb as ne,qb as z,rb as k,sa as te,tb as Le,vb as Me,yb as Te,zb as B}from"./chunk-A63HKFUG.js";var Ze=null;function oe(){return Ze}function bn(e){Ze??=e}var Ne=class{};var Ce=new O(""),Fe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>P(Je),providedIn:"platform"})}return e})(),vn=new O(""),Je=(()=>{class e extends Fe{_location;_history;_doc=P(Ce);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(t){let n=oe().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=oe().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ye(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function ke(e){let i=e.match(/#|\?|$/),t=i&&i.index||e.length,n=t-(e[t-1]==="/"?1:0);return e.slice(0,n)+e.slice(t)}function I(e){return e&&e[0]!=="?"?"?"+e:e}var Q=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>P(Qe),providedIn:"root"})}return e})(),Ye=new O(""),Qe=(()=>{class e extends Q{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??P(Ce).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ye(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+I(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(M(Fe),M(Ye,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),In=(()=>{class e extends Q{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=ye(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+I(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(M(Fe),M(Ye,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),et=(()=>{class e{_subject=new Se;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=it(ke($e(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+I(n))}normalize(t){return e.stripTrailingSlash(nt(this._basePath,$e(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+I(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+I(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=I;static joinWithSlash=ye;static stripTrailingSlash=ke;static \u0275fac=function(n){return new(n||e)(M(Q))};static \u0275prov=b({token:e,factory:()=>tt(),providedIn:"root"})}return e})();function tt(){return new et(M(Q))}function nt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function $e(e){return e.replace(/\/index.html$/,"")}function it(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var We=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(We||{});var y=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(y||{}),c=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(c||{}),w=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(w||{}),A={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 rt(e){return E(e)[g.LocaleId]}function st(e,i,t){let n=E(e),r=[n[g.DayPeriodsFormat],n[g.DayPeriodsStandalone]],s=S(r,i);return S(s,t)}function ot(e,i,t){let n=E(e),r=[n[g.DaysFormat],n[g.DaysStandalone]],s=S(r,i);return S(s,t)}function ut(e,i,t){let n=E(e),r=[n[g.MonthsFormat],n[g.MonthsStandalone]],s=S(r,i);return S(s,t)}function at(e,i){let n=E(e)[g.Eras];return S(n,i)}function j(e,i){let t=E(e);return S(t[g.DateFormat],i)}function G(e,i){let t=E(e);return S(t[g.TimeFormat],i)}function H(e,i){let n=E(e)[g.DateTimeFormat];return S(n,i)}function L(e,i){let t=E(e),n=t[g.NumberSymbols][i];if(typeof n>"u"){if(i===A.CurrencyDecimal)return t[g.NumberSymbols][A.Decimal];if(i===A.CurrencyGroup)return t[g.NumberSymbols][A.Group]}return n}function ct(e,i){return E(e)[g.NumberFormats][i]}function Ke(e){if(!e[g.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[g.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function dt(e){let i=E(e);return Ke(i),(i[g.ExtraData][2]||[]).map(n=>typeof n=="string"?ue(n):[ue(n[0]),ue(n[1])])}function lt(e,i,t){let n=E(e);Ke(n);let r=[n[g.ExtraData][0],n[g.ExtraData][1]],s=S(r,i)||[];return S(s,t)||[]}function S(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function ue(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}var ft=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},ht=/((?:[^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 gt(e,i,t,n){let r=At(e);i=v(t,i)||i;let o=[],u;for(;i;)if(u=ht.exec(i),u){o=o.concat(u.slice(1));let f=o.pop();if(!f)break;i=f}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=qe(n,D),r=wt(r,n,!0));let l="";return o.forEach(f=>{let a=yt(f);l+=a?a(r,t,D):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function q(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function v(e,i){let t=rt(e);if(Z[t]??={},Z[t][i])return Z[t][i];let n="";switch(i){case"shortDate":n=j(e,w.Short);break;case"mediumDate":n=j(e,w.Medium);break;case"longDate":n=j(e,w.Long);break;case"fullDate":n=j(e,w.Full);break;case"shortTime":n=G(e,w.Short);break;case"mediumTime":n=G(e,w.Medium);break;case"longTime":n=G(e,w.Long);break;case"fullTime":n=G(e,w.Full);break;case"short":let r=v(e,"shortTime"),s=v(e,"shortDate");n=Y(H(e,w.Short),[r,s]);break;case"medium":let o=v(e,"mediumTime"),u=v(e,"mediumDate");n=Y(H(e,w.Medium),[o,u]);break;case"long":let D=v(e,"longTime"),l=v(e,"longDate");n=Y(H(e,w.Long),[D,l]);break;case"full":let f=v(e,"fullTime"),a=v(e,"fullDate");n=Y(H(e,w.Full),[f,a]);break}return n&&(Z[t][i]=n),n}function Y(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function _(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function Dt(e,i){return _(e,3).substring(0,i)}function p(e,i,t=0,n=!1,r=!1){return function(s,o){let u=pt(e,s);if((t>0||u>-t)&&(u+=t),e===3)u===0&&t===-12&&(u=12);else if(e===6)return Dt(u,i);let D=L(o,A.MinusSign);return _(u,i,D,n,r)}}function pt(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function d(e,i,t=y.Format,n=!1){return function(r,s){return mt(r,s,e,i,t,n)}}function mt(e,i,t,n,r,s){switch(t){case 2:return ut(i,r,n)[e.getMonth()];case 1:return ot(i,r,n)[e.getDay()];case 0:let o=e.getHours(),u=e.getMinutes();if(s){let l=dt(i),f=lt(i,r,n),a=l.findIndex(C=>{if(Array.isArray(C)){let[h,F]=C,N=o>=h.hours&&u>=h.minutes,T=o<F.hours||o===F.hours&&u<F.minutes;if(h.hours<F.hours){if(N&&T)return!0}else if(N||T)return!0}else if(C.hours===o&&C.minutes===u)return!0;return!1});if(a!==-1)return f[a]}return st(i,r,n)[o<12?0:1];case 3:return at(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function W(e){return function(i,t,n){let r=-1*n,s=L(t,A.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+_(o,2,s)+_(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+_(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+_(o,2,s)+":"+_(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+_(o,2,s)+":"+_(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var Ct=0,X=4;function Ft(e){let i=q(e,Ct,1).getDay();return q(e,0,1+(i<=X?X:X+7)-i)}function Xe(e){let i=e.getDay(),t=i===0?-3:X-i;return q(e.getFullYear(),e.getMonth(),e.getDate()+t)}function ae(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=Xe(t),o=Ft(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return _(r,e,L(n,A.MinusSign))}}function K(e,i=!1){return function(t,n){let s=Xe(t).getFullYear();return _(s,e,L(n,A.MinusSign),i)}}var ce={};function yt(e){if(ce[e])return ce[e];let i;switch(e){case"G":case"GG":case"GGG":i=d(3,c.Abbreviated);break;case"GGGG":i=d(3,c.Wide);break;case"GGGGG":i=d(3,c.Narrow);break;case"y":i=p(0,1,0,!1,!0);break;case"yy":i=p(0,2,0,!0,!0);break;case"yyy":i=p(0,3,0,!1,!0);break;case"yyyy":i=p(0,4,0,!1,!0);break;case"Y":i=K(1);break;case"YY":i=K(2,!0);break;case"YYY":i=K(3);break;case"YYYY":i=K(4);break;case"M":case"L":i=p(1,1,1);break;case"MM":case"LL":i=p(1,2,1);break;case"MMM":i=d(2,c.Abbreviated);break;case"MMMM":i=d(2,c.Wide);break;case"MMMMM":i=d(2,c.Narrow);break;case"LLL":i=d(2,c.Abbreviated,y.Standalone);break;case"LLLL":i=d(2,c.Wide,y.Standalone);break;case"LLLLL":i=d(2,c.Narrow,y.Standalone);break;case"w":i=ae(1);break;case"ww":i=ae(2);break;case"W":i=ae(1,!0);break;case"d":i=p(2,1);break;case"dd":i=p(2,2);break;case"c":case"cc":i=p(7,1);break;case"ccc":i=d(1,c.Abbreviated,y.Standalone);break;case"cccc":i=d(1,c.Wide,y.Standalone);break;case"ccccc":i=d(1,c.Narrow,y.Standalone);break;case"cccccc":i=d(1,c.Short,y.Standalone);break;case"E":case"EE":case"EEE":i=d(1,c.Abbreviated);break;case"EEEE":i=d(1,c.Wide);break;case"EEEEE":i=d(1,c.Narrow);break;case"EEEEEE":i=d(1,c.Short);break;case"a":case"aa":case"aaa":i=d(0,c.Abbreviated);break;case"aaaa":i=d(0,c.Wide);break;case"aaaaa":i=d(0,c.Narrow);break;case"b":case"bb":case"bbb":i=d(0,c.Abbreviated,y.Standalone,!0);break;case"bbbb":i=d(0,c.Wide,y.Standalone,!0);break;case"bbbbb":i=d(0,c.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":i=d(0,c.Abbreviated,y.Format,!0);break;case"BBBB":i=d(0,c.Wide,y.Format,!0);break;case"BBBBB":i=d(0,c.Narrow,y.Format,!0);break;case"h":i=p(3,1,-12);break;case"hh":i=p(3,2,-12);break;case"H":i=p(3,1);break;case"HH":i=p(3,2);break;case"m":i=p(4,1);break;case"mm":i=p(4,2);break;case"s":i=p(5,1);break;case"ss":i=p(5,2);break;case"S":i=p(6,1);break;case"SS":i=p(6,2);break;case"SSS":i=p(6,3);break;case"Z":case"ZZ":case"ZZZ":i=W(0);break;case"ZZZZZ":i=W(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=W(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=W(2);break;default:return null}return ce[e]=i,i}function qe(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Et(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function wt(e,i,t){let n=t?-1:1,r=e.getTimezoneOffset(),s=qe(i,r);return Et(e,n*(s-r))}function At(e){if(xe(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[r,s=1,o=1]=e.split("-").map(u=>+u);return q(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(ft))return St(n)}let i=new Date(e);if(!xe(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function St(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,D=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,l),i}function xe(e){return e instanceof Date&&!isNaN(e.valueOf())}var _t=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ue=22,J=".",$="0",bt=";",vt=",",de="#";function It(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=L(t,A.Infinity);else{let l=Bt(e);o&&(l=Tt(l));let f=i.minInt,a=i.minFrac,C=i.maxFrac;if(s){let R=s.match(_t);if(R===null)throw new Error(`${s} is not a valid digit info`);let we=R[1],ee=R[3],Ae=R[5];we!=null&&(f=le(we)),ee!=null&&(a=le(ee)),Ae!=null?C=le(Ae):ee!=null&&a>C&&(C=a)}Rt(l,a,C);let h=l.digits,F=l.integerLen,N=l.exponent,T=[];for(D=h.every(R=>!R);F<f;F++)h.unshift(0);for(;F<0;F++)h.unshift(0);F>0?T=h.splice(F,h.length):(T=h,h=[0]);let x=[];for(h.length>=i.lgSize&&x.unshift(h.splice(-i.lgSize,h.length).join(""));h.length>i.gSize;)x.unshift(h.splice(-i.gSize,h.length).join(""));h.length&&x.unshift(h.join("")),u=x.join(L(t,n)),T.length&&(u+=L(t,r)+T.join("")),N&&(u+=L(t,A.Exponential)+"+"+N)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function Lt(e,i,t){let n=ct(i,We.Decimal),r=Mt(n,L(i,A.MinusSign));return It(e,r,i,A.Group,A.Decimal,t)}function Mt(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(bt),r=n[0],s=n[1],o=r.indexOf(J)!==-1?r.split(J):[r.substring(0,r.lastIndexOf($)+1),r.substring(r.lastIndexOf($)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(de));for(let f=0;f<D.length;f++){let a=D.charAt(f);a===$?t.minFrac=t.maxFrac=f+1:a===de?t.maxFrac=f+1:t.posSuf+=a}let l=u.split(vt);if(t.gSize=l[1]?l[1].length:0,t.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){let f=r.length-t.posPre.length-t.posSuf.length,a=s.indexOf(de);t.negPre=s.substring(0,a).replace(/'/g,""),t.negSuf=s.slice(a+f).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function Tt(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Bt(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(J))>-1&&(i=i.replace(J,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===$;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===$;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>Ue&&(n=n.splice(0,Ue-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function Rt(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let a=o;a<n.length;a++)n[a]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let a=1;a<o;a++)n[a]=0}if(u>=5)if(o-1<0){for(let a=0;a>o;a--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,l=i+e.integerLen,f=n.reduceRight(function(a,C,h,F){return C=C+a,F[h]=C<10?C:C-10,D&&(F[h]===0&&h>=l?F.pop():D=!1),C>=10?1:0},0);f&&(n.unshift(f),e.integerLen++)}function le(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}function Ln(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var fe=/\s+/,ze=[],Mn=(()=>{class e{_ngEl;_renderer;initialClasses=ze;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(fe):ze}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(fe):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(fe).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(m(U),m(z))};static \u0275dir=B({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Tn=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Me(this.ngComponentOutletNgModule,Ve(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ve(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(m(k))};static \u0275dir=B({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[te]})}return e})();function Ve(e){return e.get(Le).injector}var he=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Bn=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new he(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),je(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);je(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m(k),m(ne),m(Oe))};static \u0275dir=B({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function je(e,i){e.context.$implicit=i.item}var Rn=(()=>{class e{_viewContainer;_context=new ge;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ge("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ge("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m(k),m(ne))};static \u0275dir=B({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ge=class{$implicit=null;ngIf=null};function Ge(e,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${be(i)}'.`)}var On=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:Ie.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(m(U),m(Pe),m(z))};static \u0275dir=B({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Pn=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(m(k))};static \u0275dir=B({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[te]})}return e})();function Ee(e,i){return new _e(2100,!1)}var De=class{createSubscription(i,t){return se(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){se(()=>i.unsubscribe())}},pe=class{createSubscription(i,t){return i.then(t,n=>{throw n})}dispose(i){}},Ot=new pe,Pt=new De,Nn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(Be(t))return Ot;if(Re(t))return Pt;throw Ee(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(m(re,16))};static \u0275pipe=V({name:"async",type:e,pure:!1})}return e})();var Nt="mediumDate",kt=new O(""),$t=new O(""),kn=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??Nt,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return gt(t,o,s||this.locale,u)}catch(o){throw Ee(e,o.message)}}static \u0275fac=function(n){return new(n||e)(m(ie,16),m(kt,24),m($t,24))};static \u0275pipe=V({name:"date",type:e,pure:!0})}return e})();var $n=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!xt(t))return null;r||=this._locale;try{let s=Ut(t);return Lt(s,r,n)}catch(s){throw Ee(e,s.message)}}static \u0275fac=function(n){return new(n||e)(m(ie,16))};static \u0275pipe=V({name:"number",type:e,pure:!0})}return e})();function xt(e){return!(e==null||e===""||e!==e)}function Ut(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 xn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=Te({type:e});static \u0275inj=ve({})}return e})(),zt="browser",Vt="server";function Un(e){return e===zt}function zn(e){return e===Vt}var Vn=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new me(P(Ce),window)})}return e})(),me=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=jt(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function jt(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var He=class{};export{oe as a,bn as b,Ne as c,Ce as d,vn as e,Q as f,Qe as g,In as h,et as i,Ln as j,Mn as k,Tn as l,Bn as m,Rn as n,On as o,Pn as p,Nn as q,kn as r,$n as s,xn as t,zt as u,Un as v,zn as w,Vn as x,He as y};
|
package/chunk-EQDQRRRY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.create;var j=Object.defineProperty,q=Object.defineProperties,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,u=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var l=(a,b,c)=>b in a?j(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,w=(a,b)=>{for(var c in b||={})k.call(b,c)&&l(a,c,b[c]);if(g)for(var c of g(b))m.call(b,c)&&l(a,c,b[c]);return a},x=(a,b)=>q(a,s(b));var y=(a,b)=>{var c={};for(var d in a)k.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&g)for(var d of g(a))b.indexOf(d)<0&&m.call(a,d)&&(c[d]=a[d]);return c};var z=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var v=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of t(b))!k.call(a,e)&&e!==c&&j(a,e,{get:()=>b[e],enumerable:!(d=r(b,e))||d.enumerable});return a};var A=(a,b,c)=>(c=a!=null?p(u(a)):{},v(b||!a||!a.__esModule?j(c,"default",{value:a,enumerable:!0}):c,a));var B=(a,b,c)=>new Promise((d,e)=>{var n=f=>{try{h(c.next(f))}catch(i){e(i)}},o=f=>{try{h(c.throw(f))}catch(i){e(i)}},h=f=>f.done?d(f.value):Promise.resolve(f.value).then(n,o);h((c=c.apply(a,b)).next())});export{w as a,x as b,y as c,z as d,A as e,B as f};
|