dealposbooks 5.47.0 → 5.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +75 -26
- package/assets/images/users/user1_160.jpg +0 -0
- package/assets/images/users/user1_40.jpg +0 -0
- package/assets/images/users/user1_80.jpg +0 -0
- package/assets/scss/layouts/_sidebar.scss +0 -1
- package/{chunk-2MKKFLNJ.js → chunk-2BI7WNJP.js} +1 -1
- package/{chunk-OVEQKHUV.js → chunk-2H7KQZEC.js} +2 -2
- package/{chunk-XT4YHL2M.js → chunk-2JNXKEYZ.js} +1 -1
- package/{chunk-53HJBLFX.js → chunk-2VZ7JZIO.js} +1 -1
- package/{chunk-YFNWEI3R.js → chunk-2XW2ZOT4.js} +1 -1
- package/{chunk-E4MHRZVH.js → chunk-3DBSHDAQ.js} +1 -1
- package/{chunk-MT3DTYJO.js → chunk-3NWFEFT2.js} +1 -1
- package/{chunk-JOHRJHEX.js → chunk-3UAQHNUY.js} +1 -1
- package/{chunk-3A4BFUGD.js → chunk-3VQUNDVT.js} +1 -1
- package/{chunk-CL4EKWSU.js → chunk-4LI7GDDM.js} +1 -1
- package/chunk-52U5NSQT.js +2 -0
- package/{chunk-VK3G2VIU.js → chunk-5B5AMMR3.js} +1 -1
- package/{chunk-5K3KAKU5.js → chunk-5FV7K5RQ.js} +1 -1
- package/{chunk-6NX36ZC2.js → chunk-6DTQWLB3.js} +1 -1
- package/chunk-6GQ4PTPT.js +7 -0
- package/chunk-6QJHEOXN.js +7 -0
- package/chunk-6WWXJJID.js +1 -0
- package/chunk-72H3DW5Z.js +1 -0
- package/{chunk-L2524E6T.js → chunk-7OP477BS.js} +1 -1
- package/{chunk-EIV4TELQ.js → chunk-7WCUKMRG.js} +1 -1
- package/{chunk-XDJSQLQN.js → chunk-ACDLAA4B.js} +1 -1
- package/{chunk-BUDZ3ONE.js → chunk-AD247LWQ.js} +1 -1
- package/{chunk-HQMTUZZQ.js → chunk-AMGBUOC4.js} +1 -1
- package/{chunk-CWFLUFKM.js → chunk-AN4SAUSA.js} +1 -1
- package/{chunk-KIBBRAL5.js → chunk-ARJ7OCQO.js} +1 -1
- package/{chunk-EEJGJ7WF.js → chunk-B3VZ2ZHJ.js} +1 -1
- package/{chunk-5BXMDXZD.js → chunk-B4C3ZPN6.js} +1 -1
- package/{chunk-WFIXL354.js → chunk-BG6BR7KI.js} +1 -1
- package/chunk-BKTBVFNX.js +1 -0
- package/chunk-BNPR5SPH.js +1 -0
- package/chunk-BT7Y4ADP.js +1 -0
- package/{chunk-5YO43YBO.js → chunk-CEK7MQW2.js} +1 -1
- package/chunk-CVDRHTES.js +1 -0
- package/{chunk-IYFNOI7S.js → chunk-CZSVRFCL.js} +1 -1
- package/chunk-D6IS6PE6.js +1 -0
- package/{chunk-GDQUB54I.js → chunk-DDM2KWNX.js} +1 -1
- package/{chunk-Q7SK53ST.js → chunk-DJXQKSLT.js} +1 -1
- package/chunk-DSZOROE6.js +1 -0
- package/{chunk-2D2YD753.js → chunk-DTYVTTET.js} +1 -1
- package/{chunk-PTQPB44D.js → chunk-E6SW7I4D.js} +1 -1
- package/{chunk-NDLX3ORI.js → chunk-E7QWESN4.js} +1 -1
- package/{chunk-CNXYBR45.js → chunk-ENH6HA3V.js} +1 -1
- package/{chunk-6XE7LGUS.js → chunk-EQTP2O7O.js} +1 -1
- package/{chunk-NHHXXJY6.js → chunk-F3RSX7TC.js} +1 -1
- package/{chunk-3IEOINKV.js → chunk-F6LZM7H5.js} +1 -1
- package/{chunk-AOOG6YOT.js → chunk-F7PVAVLQ.js} +1 -1
- package/{chunk-BXEGWIR3.js → chunk-F7XGJYCZ.js} +1 -1
- package/{chunk-53I5JFOQ.js → chunk-FSB3LHPU.js} +1 -1
- package/{chunk-S3FQPUAS.js → chunk-FUCKNGW4.js} +1 -1
- package/{chunk-AHX56FH2.js → chunk-FVYL3BQ7.js} +1 -1
- package/{chunk-5SYYPB6N.js → chunk-G42V3ZZU.js} +1 -1
- package/{chunk-C3IOIS5V.js → chunk-H7GQCGCR.js} +1 -1
- package/{chunk-F5CCLXIY.js → chunk-IDHDHBFV.js} +1 -1
- package/{chunk-JZVNZ3I3.js → chunk-JD3HX7VY.js} +1 -1
- package/{chunk-DEOAL7PG.js → chunk-JE4XET33.js} +1 -1
- package/{chunk-VSHPIUZM.js → chunk-KZHI6PGZ.js} +1 -1
- package/{chunk-PXN4RATH.js → chunk-LBREDZL5.js} +1 -1
- package/{chunk-35UWKNGE.js → chunk-LCKRY7CZ.js} +1 -1
- package/{chunk-SZAGTA5I.js → chunk-LXLOWSN6.js} +1 -1
- package/{chunk-YZTBV6HG.js → chunk-M4SSELXT.js} +1 -1
- package/{chunk-IMVMIXVJ.js → chunk-ME4ALIS7.js} +1 -1
- package/{chunk-LABWETHZ.js → chunk-MHRSQRHT.js} +1 -1
- package/{chunk-CWDU4F7J.js → chunk-NNNKDAA2.js} +1 -1
- package/{chunk-DRTMMJ4Q.js → chunk-NPXVSAMB.js} +1 -1
- package/chunk-O76TW6JA.js +1 -0
- package/{chunk-U5XXKH2H.js → chunk-OJTHBHGK.js} +1 -1
- package/{chunk-RZFXAB7W.js → chunk-OT3UFDBI.js} +1 -1
- package/chunk-OVDG3ZBT.js +1 -0
- package/{chunk-Q4LKKVQU.js → chunk-PGOSR3RI.js} +1 -1
- package/{chunk-XPRP6AB4.js → chunk-PPXXWO4E.js} +1 -1
- package/{chunk-ML5KV2U2.js → chunk-PQL4GCC5.js} +1 -1
- package/{chunk-QWTGY7FA.js → chunk-QPPFPDWZ.js} +1 -1
- package/{chunk-EQU7DDK6.js → chunk-RE5GBQH6.js} +1 -1
- package/{chunk-PKOERZXQ.js → chunk-RM5HLXNW.js} +1 -1
- package/{chunk-NM5M567G.js → chunk-RXR5DXWS.js} +1 -1
- package/{chunk-ZUDQOT7C.js → chunk-S27Z7D3D.js} +1 -1
- package/{chunk-GJYEM7DL.js → chunk-S2BFXF7C.js} +1 -1
- package/{chunk-DTFLX2XQ.js → chunk-SFMFIWMX.js} +1 -1
- package/{chunk-OLLF6BKH.js → chunk-SUXEBUIX.js} +1 -1
- package/chunk-SV6BE4HG.js +130 -0
- package/{chunk-SEXB43QC.js → chunk-T367AQJ2.js} +1 -1
- package/{chunk-SS4J7T3N.js → chunk-TOGXYKTE.js} +1 -1
- package/{chunk-IGWIRCAS.js → chunk-U2VDC52W.js} +1 -1
- package/{chunk-OW25MQS7.js → chunk-UEFTMQDF.js} +1 -1
- package/{chunk-4X3G6MGP.js → chunk-UI2UMYSE.js} +1 -1
- package/{chunk-RXOOTYEO.js → chunk-UPSNJEHO.js} +1 -1
- package/{chunk-LWYAFMN3.js → chunk-URH77XNK.js} +1 -1
- package/{chunk-HZ7BZ72K.js → chunk-UVSR4LPB.js} +1 -1
- package/{chunk-AXU3K2IY.js → chunk-V22QPBAO.js} +1 -1
- package/{chunk-T3EH4DR2.js → chunk-VDXZGF3M.js} +1 -1
- package/{chunk-ZBO62XAM.js → chunk-VKT27VPR.js} +2 -2
- package/{chunk-OIBDX2CA.js → chunk-VMI3QWC6.js} +1 -1
- package/{chunk-VTCV67A4.js → chunk-VVAI7ZGN.js} +1 -1
- package/{chunk-6PNHT5U7.js → chunk-VW2FJYIZ.js} +1 -1
- package/{chunk-VL2HEHI5.js → chunk-W5E37PZP.js} +1 -1
- package/chunk-W63NE6LU.js +229 -0
- package/{chunk-OJ2VC4ER.js → chunk-WKHQICFW.js} +1 -1
- package/{chunk-DHLFL3KH.js → chunk-WMZF4DQK.js} +1 -1
- package/{chunk-ETFYQ4GV.js → chunk-WOYTUHJD.js} +1 -1
- package/{chunk-WPMC3LJJ.js → chunk-WPJGKTVO.js} +5 -5
- package/{chunk-ZMIVD3SF.js → chunk-WXIG4CXY.js} +1 -1
- package/{chunk-Q47KHO2M.js → chunk-XCTUTMD3.js} +1 -1
- package/{chunk-MBJKUKHJ.js → chunk-XOSALV7T.js} +1 -1
- package/{chunk-RF27SIL3.js → chunk-Y7SF5NXD.js} +1 -1
- package/{chunk-DU72RNAU.js → chunk-YPOBALKC.js} +1 -1
- package/{chunk-V4SH72WU.js → chunk-ZFNIPERQ.js} +1 -1
- package/chunk-ZK43JB4A.js +2 -0
- package/{chunk-5JZTWUDG.js → chunk-ZQWFATZY.js} +1 -1
- package/index.html +2 -2
- package/main-XTOQBEFQ.js +1 -0
- package/package.json +1 -1
- package/{styles-4HAX3IDP.css → styles-4L5CAR46.css} +1 -1
- package/chunk-2RNKYO2Q.js +0 -1
- package/chunk-5CZNOXPC.js +0 -1
- package/chunk-5HZBSMCT.js +0 -7
- package/chunk-6ZZZTNIH.js +0 -130
- package/chunk-EPLZY6T4.js +0 -1
- package/chunk-M3TKVRYP.js +0 -1
- package/chunk-NMCKMUY4.js +0 -7
- package/chunk-QF4D5YPK.js +0 -1
- package/chunk-SN7DLFX2.js +0 -1
- package/chunk-TUFQ5JVG.js +0 -180
- package/chunk-V4B5LQYD.js +0 -2
- package/chunk-VZ5CMS5O.js +0 -2
- package/chunk-WGJFR6CK.js +0 -1
- package/main-Q2T6QX2N.js +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{a as K,b as X}from"./chunk-YQFG5XE2.js";function v(e){return typeof e=="function"}function Fe(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 $n=Fe(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Xe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof $n?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Pa(i)}catch(s){t=t??[],s instanceof $n?t=[...t,...s.errors]:t.push(s)}}if(t)throw new $n(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Pa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Xe(n,t)}remove(t){let{_finalizers:n}=this;n&&Xe(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Ao=L.EMPTY;function Un(e){return e instanceof L||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Pa(e){v(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var It={setTimeout(e,t,...n){let{delegate:r}=It;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=It;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function qn(e){It.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function se(){}var La=Po("C",void 0,void 0);function Fa(e){return Po("E",void 0,e)}function ja(e){return Po("N",e,void 0)}function Po(e,t,n){return{kind:e,value:t,error:n}}var et=null;function Et(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=et;if(et=null,n)throw r}}else e()}function Va(e){ue.useDeprecatedSynchronousErrorHandling&&et&&(et.errorThrown=!0,et.error=e)}var tt=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Un(t)&&t.add(this)):this.destination=Sf}static create(t,n,r){return new Te(t,n,r)}next(t){this.isStopped?Fo(ja(t),this):this._next(t)}error(t){this.isStopped?Fo(Fa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fo(La,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()}}},Tf=Function.prototype.bind;function Lo(e,t){return Tf.call(e,t)}var jo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Wn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Wn(r)}else Wn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Wn(n)}}},Te=class extends tt{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&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Lo(t.next,i),error:t.error&&Lo(t.error,i),complete:t.complete&&Lo(t.complete,i)}):o=t}this.destination=new jo(o)}};function Wn(e){ue.useDeprecatedSynchronousErrorHandling?Va(e):qn(e)}function Nf(e){throw e}function Fo(e,t){let{onStoppedNotification:n}=ue;n&&It.setTimeout(()=>n(e,t))}var Sf={closed:!0,next:se,error:Nf,complete:se};var wt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function kf(...e){return Vo(e)}function Vo(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Of(n)?n:new Te(n,r,o);return Et(()=>{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=Ha(r),new r((o,i)=>{let s=new Te({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)}[wt](){return this}pipe(...n){return Vo(n)(this)}toPromise(n){return n=Ha(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 Ha(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function Rf(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function Of(e){return e&&e instanceof tt||Rf(e)&&Un(e)}var Ba=Fe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new zn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ba}next(n){Et(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Et(()=>{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(){Et(()=>{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?Ao:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Xe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new zn(t,n),e})(),zn=class extends ae{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:Ao}};var sn=class extends ae{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 Ne=new x(e=>e.complete());function Gn(e){return e&&v(e.schedule)}function Ho(e){return e[e.length-1]}function je(e){return v(Ho(e))?e.pop():void 0}function ye(e){return Gn(Ho(e))?e.pop():void 0}function $a(e,t){return typeof Ho(e)=="number"?e.pop():t}function qa(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(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 Ua(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 nt(e){return this instanceof nt?(this.v=e,this):new nt(e)}function Wa(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(y){return new Promise(function(A,N){i.push([f,y,A,N])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof nt?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 za(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 Ua=="function"?Ua(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 Dt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zn(e){return v(e?.then)}function Qn(e){return v(e[wt])}function Yn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Jn(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 Af(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kn=Af();function Xn(e){return v(e?.[Kn])}function er(e){return Wa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield nt(n.read());if(o)return yield nt(void 0);yield yield nt(r)}}finally{n.releaseLock()}})}function tr(e){return v(e?.getReader)}function w(e){if(e instanceof x)return e;if(e!=null){if(Qn(e))return Pf(e);if(Dt(e))return Lf(e);if(Zn(e))return Ff(e);if(Yn(e))return Ga(e);if(Xn(e))return jf(e);if(tr(e))return Vf(e)}throw Jn(e)}function Pf(e){return new x(t=>{let n=e[wt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lf(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ff(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,qn)})}function jf(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ga(e){return new x(t=>{Hf(e,t).catch(n=>t.error(n))})}function Vf(e){return Ga(er(e))}function Hf(e,t){var n,r,o,i;return qa(this,void 0,void 0,function*(){try{for(n=za(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 q(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 Bo(e){return v(e?.lift)}function I(e){return t=>{if(Bo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new $o(e,t,n,r,o)}var $o=class extends tt{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 nr(e,t=0){return I((n,r)=>{n.subscribe(m(r,o=>q(r,e,()=>r.next(o),t),()=>q(r,e,()=>r.complete(),t),o=>q(r,e,()=>r.error(o),t)))})}function rr(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Za(e,t){return w(e).pipe(rr(t),nr(t))}function Qa(e,t){return w(e).pipe(rr(t),nr(t))}function Ya(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ja(e,t){return new x(n=>{let r;return q(n,t,()=>{r=e[Kn](),q(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 or(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{q(n,t,()=>{let r=e[Symbol.asyncIterator]();q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ka(e,t){return or(er(e),t)}function Xa(e,t){if(e!=null){if(Qn(e))return Za(e,t);if(Dt(e))return Ya(e,t);if(Zn(e))return Qa(e,t);if(Yn(e))return or(e,t);if(Xn(e))return Ja(e,t);if(tr(e))return Ka(e,t)}throw Jn(e)}function ve(e,t){return t?Xa(e,t):w(e)}function Uo(...e){let t=ye(e);return ve(e,t)}function Ie(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Bf}=Array,{getPrototypeOf:$f,prototype:Uf,keys:qf}=Object;function ir(e){if(e.length===1){let t=e[0];if(Bf(t))return{args:t,keys:null};if(Wf(t)){let n=qf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Wf(e){return e&&typeof e=="object"&&$f(e)===Uf}var{isArray:zf}=Array;function Gf(e,t){return zf(t)?e(...t):e(t)}function bt(e){return Ie(t=>Gf(e,t))}function sr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Zf(...e){let t=ye(e),n=je(e),{args:r,keys:o}=ir(e);if(r.length===0)return ve([],t);let i=new x(Qf(r,t,o?s=>sr(o,s):B));return n?i.pipe(bt(n)):i}function Qf(e,t,n=B){return r=>{ec(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ec(t,()=>{let l=ve(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ec(e,t,n){e?q(n,e,t):t()}function Se(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qo(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=w(e(s,qo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var ar=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var an={setInterval(e,t,...n){let{delegate:r}=an;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=an;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Mt=class extends ar{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 an.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&&an.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Xe(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var cn={now(){return(cn.delegate||Date).now()},delegate:void 0};var Ct=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)}};Ct.now=cn.now;var xt=class extends Ct{constructor(t,n=Ct.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 de=new xt(Mt),tc=de;function Yf(e,t=de){return I((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(m(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 rt(e){return e<=0?()=>Ne:I((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function nc(e,t=B){return e=e??Jf,I((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Jf(e,t){return e===t}var ln=class extends ae{constructor(t=1/0,n=1/0,r=cn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function rc(e={}){let{connector:t=()=>new ae,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 y=s;f(),y?.unsubscribe()};return I((y,A)=>{l++,!d&&!u&&p();let N=c=c??t();A.add(()=>{l--,l===0&&!d&&!u&&(a=Wo(h,o))}),N.subscribe(A),!s&&l>0&&(s=new Te({next:me=>N.next(me),error:me=>{d=!0,p(),a=Wo(f,n,me),N.error(me)},complete:()=>{u=!0,p(),a=Wo(f,r),N.complete()}}),w(y).subscribe(s))})(i)}}function Wo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Te({next:()=>{r.unsubscribe(),e()}});return w(t(...n)).subscribe(r)}function oc(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,rc({connector:()=>new ln(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ic(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;w(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(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}function zo(){return I((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Go=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Bo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return zo()(this)}};var _t={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=_t;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=_t;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=_t;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var cr=class extends Mt{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=_t.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&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(_t.cancelAnimationFrame(n),t._scheduled=void 0)}};var lr=class extends xt{flush(t){this._active=!0;let n;t?n=t.id:(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 Kf=new lr(cr);function Xf(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function ep(e){return!!e&&(e instanceof x||v(e.lift)&&v(e.subscribe))}var ot=Fe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ur(e){return e instanceof Date&&!isNaN(e)}var ac=Fe(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function cc(e,t){let{first:n,each:r,with:o=tp,scheduler:i=t??de,meta:s=null}=ur(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return I((a,c)=>{let l,u,d=null,p=0,f=h=>{u=q(c,i,()=>{try{l.unsubscribe(),w(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(y){c.error(y)}},h)};l=a.subscribe(m(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 tp(e){throw new ac(e)}function lc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let A=!1;w(n(y,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{A=!0},void 0,()=>{if(A)try{for(l--;c.length&&l<r;){let N=c.shift();s?q(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ce(e,t,n=1/0){return v(t)?ce((r,o)=>Ie((i,s)=>t(r,i,o,s))(w(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>lc(r,o,e,n)))}function un(e=1/0){return ce(B,e)}function uc(){return un(1)}function Ve(...e){return uc()(ve(e,ye(e)))}function np(e){return new x(t=>{w(e()).subscribe(t)})}function rp(...e){let t=je(e),{args:n,keys:r}=ir(e),o=new x(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(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?sr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var op=["addListener","removeListener"],ip=["addEventListener","removeEventListener"],sp=["on","off"];function Zo(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Zo(e,t,n).pipe(bt(r));let[o,i]=lp(e)?ip.map(s=>a=>e[s](t,a,n)):ap(e)?op.map(dc(e,t)):cp(e)?sp.map(dc(e,t)):[];if(!o&&Dt(e))return ce(s=>Zo(s,t,n))(w(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function dc(e,t){return n=>r=>e[n](t,r)}function ap(e){return v(e.addListener)&&v(e.removeListener)}function cp(e){return v(e.on)&&v(e.off)}function lp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function it(e=0,t,n=tc){let r=-1;return t!=null&&(Gn(t)?n=t:r=t),new x(o=>{let i=ur(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 up(e=0,t=de){return e<0&&(e=0),it(e,e,t)}function dp(...e){let t=ye(e),n=$a(e,1/0),r=e;return r.length?r.length===1?w(r[0]):un(n)(ve(r,t)):Ne}var{isArray:fp}=Array;function dr(e){return e.length===1&&fp(e[0])?e[0]:e}function fc(e,t){return(n,r)=>!e.call(t,n,r)}function pp(e,t,n){return[Se(t,n)(w(e)),Se(fc(t,n))(w(e))]}function hp(...e){return e=dr(e),e.length===1?w(e[0]):new x(gp(e))}function gp(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(w(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function mp(...e){let t=je(e),n=dr(e);return n.length?new x(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(m(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}}):Ne}function pc(e){return I((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||w(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function yp(e,t=de){return pc(()=>it(e,t))}function hc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(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 gc(e,t){return v(t)?ce(e,t,1):ce(e,1)}function vp(e){return I((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(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,se),w(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function dn(e){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function mc(){return I((e,t)=>{e.subscribe(m(t,se))})}function yc(e){return Ie(()=>e)}function Qo(e,t){return t?n=>Ve(t.pipe(rt(1),mc()),n.pipe(Qo(e))):ce((n,r)=>w(e(n,r)).pipe(rt(1),yc(n)))}function Ip(e,t=de){let n=it(e,t);return Qo(()=>n)}function fr(e=Ep){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ep(){return new ot}function wp(...e){return t=>Ve(t,Uo(...e))}function Dp(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):B,rt(1),n?dn(t):fr(()=>new ot))}function Yo(e){return e<=0?()=>Ne:I((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Mp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):B,Yo(1),n?dn(t):fr(()=>new ot))}function Cp(e,t){return I(hc(e,t,arguments.length>=2,!0))}function vc(...e){let t=ye(e);return I((n,r)=>{(t?Ve(e,n,t):Ve(e,n)).subscribe(r)})}function Ic(e){return I((t,n)=>{w(e).subscribe(m(n,()=>n.complete(),se)),!n.closed&&t.subscribe(n)})}function xp(...e){let t=je(e);return I((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(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(B))&&(s=null))},se));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ei(e,t){return Object.is(e,t)}var j=null,pr=!1,ti=1,W=Symbol("SIGNAL");function b(e){let t=j;return j=e,t}function ni(){return j}var Tt={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 st(e){if(pr)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(mr(j),t<j.producerNode.length&&j.producerNode[t]!==e&&fn(j)){let n=j.producerNode[t];gr(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=fn(j)?wc(e,j,t):0),j.producerLastReadVersion[t]=e.version}function Ec(){ti++}function ri(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ti)){if(!e.producerMustRecompute(e)&&!hn(e)){Xo(e);return}e.producerRecomputeValue(e),Xo(e)}}function oi(e){if(e.liveConsumerNode===void 0)return;let t=pr;pr=!0;try{for(let n of e.liveConsumerNode)n.dirty||_p(n)}finally{pr=t}}function ii(){return j?.consumerAllowSignalWrites!==!1}function _p(e){e.dirty=!0,oi(e),e.consumerMarkedDirty?.(e)}function Xo(e){e.dirty=!1,e.lastCleanEpoch=ti}function Nt(e){return e&&(e.nextProducerIndex=0),b(e)}function pn(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)gr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function hn(e){mr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ri(n),r!==n.version))return!0}return!1}function gn(e){if(mr(e),fn(e))for(let t=0;t<e.producerNode.length;t++)gr(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 wc(e,t,n){if(Dc(e),e.liveConsumerNode.length===0&&bc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=wc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function gr(e,t){if(Dc(e),e.liveConsumerNode.length===1&&bc(e))for(let r=0;r<e.producerNode.length;r++)gr(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];mr(o),o.producerIndexOfThis[r]=t}}function fn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function mr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Dc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function bc(e){return e.producerNode!==void 0}function yr(e,t){let n=Object.create(Tp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ri(n),st(n),n.value===hr)throw n.error;return n.value};return r[W]=n,r}var Jo=Symbol("UNSET"),Ko=Symbol("COMPUTING"),hr=Symbol("ERRORED"),Tp=X(K({},Tt),{value:Jo,dirty:!0,error:null,equal:ei,kind:"computed",producerMustRecompute(e){return e.value===Jo||e.value===Ko},producerRecomputeValue(e){if(e.value===Ko)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ko;let n=Nt(e),r,o=!1;try{r=e.computation(),b(null),o=t!==Jo&&t!==hr&&r!==hr&&e.equal(t,r)}catch(i){r=hr,e.error=i}finally{pn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Np(){throw new Error}var Mc=Np;function Cc(e){Mc(e)}function si(e){Mc=e}var Sp=null;function ai(e,t){let n=Object.create(mn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(st(n),n.value);return r[W]=n,r}function St(e,t){ii()||Cc(e),e.equal(e.value,t)||(e.value=t,kp(e))}function ci(e,t){ii()||Cc(e),St(e,t(e.value))}var mn=X(K({},Tt),{equal:ei,value:void 0,kind:"signal"});function kp(e){e.version++,Ec(),oi(e),Sp?.()}function li(e){let t=b(null);try{return e()}finally{b(t)}}var ui;function yn(){return ui}function ke(e){let t=ui;return ui=e,t}var vr=Symbol("NotFound");var bl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(Ml(t,n)),this.code=t}};function Pp(e){return`NG0${Math.abs(e)}`}function Ml(e,t){return`${Pp(e)}${t?": "+t:""}`}var co=Symbol("InputSignalNode#UNSET"),Cl=X(K({},mn),{transformFn:void 0,applyValueToInputSignal(e,t){St(e,t)}});function xl(e,t){let n=Object.create(Cl);n.value=e,n.transformFn=t?.transform;function r(){if(st(n),n.value===co){let o=null;throw new C(-950,o)}return n.value}return r[W]=n,r}function Rn(e){return{toString:e}.toString()}var Ir="__parameters__";function Lp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function _l(e,t,n){return Rn(()=>{let r=Lp(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(Ir)?c[Ir]:Object.defineProperty(c,Ir,{value:[]})[Ir];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var He=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Fp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(te).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function _i(e,t){return e?t?`${e} ${t}`:e:t||""}var jp=R({__forward_ref__:R});function Tl(e){return e.__forward_ref__=Tl,e.toString=function(){return te(this())},e}function $(e){return Nl(e)?e():e}function Nl(e){return typeof e=="function"&&e.hasOwnProperty(jp)&&e.__forward_ref__===Tl}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yN(e){return{providers:e.providers||[],imports:e.imports||[]}}function lo(e){return xc(e,Sl)||xc(e,kl)}function vN(e){return lo(e)!==null}function xc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Vp(e){let t=e&&(e[Sl]||e[kl]);return t||null}function _c(e){return e&&(e.hasOwnProperty(Tc)||e.hasOwnProperty(Hp))?e[Tc]:null}var Sl=R({\u0275prov:R}),Tc=R({\u0275inj:R}),kl=R({ngInjectableDef:R}),Hp=R({ngInjectorDef:R}),k=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=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Rl(e){return e&&!!e.\u0275providers}var Bp=R({\u0275cmp:R}),$p=R({\u0275dir:R}),Up=R({\u0275pipe:R}),qp=R({\u0275mod:R}),Sr=R({\u0275fac:R}),wn=R({__NG_ELEMENT_ID__:R}),Nc=R({__NG_ENV_ID__:R});function we(e){return typeof e=="string"?e:e==null?"":String(e)}function Wp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():we(e)}function Ol(e,t){throw new C(-200,e)}function Hs(e,t){throw new C(-201,!1)}var _=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}(_||{}),Ti;function Al(){return Ti}function ee(e){let t=Ti;return Ti=e,t}function Pl(e,t,n){let r=lo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Hs(e,"Injector")}var zp={},ct=zp,Ni="__NG_DI_FLAG__",kr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?vr:ct,r)}},Rr="ngTempTokenPath",Gp="ngTokenPath",Zp=/\n/gm,Qp="\u0275",Sc="__source";function Yp(e,t=_.Default){if(yn()===void 0)throw new C(-203,!1);if(yn()===null)return Pl(e,void 0,t);{let n=yn(),r;return n instanceof kr?r=n.injector:r=n,r.get(e,t&_.Optional?null:void 0,t)}}function qe(e,t=_.Default){return(Al()||Yp)($(e),t)}function T(e,t=_.Default){return qe(e,uo(t))}function uo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Si(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 C(900,!1);let o,i=_.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Jp(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(qe(o,i))}else t.push(qe(r))}return t}function Ll(e,t){return e[Ni]=t,e.prototype[Ni]=t,e}function Jp(e){return e[Ni]}function Kp(e,t,n,r){let o=e[Rr];throw t[Sc]&&o.unshift(t[Sc]),e.message=Xp(`
|
|
5
|
+
`+e.message,o,n,r),e[Gp]=o,e[Rr]=null,e}function Xp(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Qp?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).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):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Zp,`
|
|
7
|
+
`)}`}var Fl=Ll(_l("Optional"),8);var jl=Ll(_l("SkipSelf"),4);function ut(e,t){let n=e.hasOwnProperty(Sr);return n?e[Sr]:null}function eh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function th(e){return e.flat(Number.POSITIVE_INFINITY)}function Bs(e,t){e.forEach(n=>Array.isArray(n)?Bs(n,t):t(n))}function Vl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function nh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function rh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function fo(e,t,n){let r=On(e,t);return r>=0?e[r|1]=n:(r=~r,rh(e,r,t,n)),r}function di(e,t){let n=On(e,t);if(n>=0)return e[n|1]}function On(e,t){return oh(e,t,1)}function oh(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 De={},J=[],Ar=new k(""),Hl=new k("",-1),Bl=new k(""),Pr=class{get(t,n=ct){if(n===ct){let r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}};function $l(e,t){let n=e[qp]||null;if(!n&&t===!0)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function We(e){return e[Bp]||null}function Ul(e){return e[$p]||null}function ih(e){return e[Up]||null}function ql(e){return{\u0275providers:e}}function sh(...e){return{\u0275providers:Wl(!0,e),\u0275fromNgModule:!0}}function Wl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Bs(t,s=>{let a=s;ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zl(o,i),n}function zl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];$s(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&&We(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{Bs(i.imports,u=>{ki(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&zl(l,t)}if(!a){let l=ut(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Bl,useValue:o,multi:!0},o),t({provide:Ar,useValue:()=>qe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;$s(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function $s(e,t){for(let n of e)Rl(n)&&(n=n.\u0275providers),Array.isArray(n)?$s(n,t):t(n)}var ah=R({provide:String,useValue:R});function Gl(e){return e!==null&&typeof e=="object"&&ah in e}function ch(e){return!!(e&&e.useExisting)}function lh(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function uh(e){return!!e.useClass}var Zl=new k(""),Mr={},kc={},fi;function po(){return fi===void 0&&(fi=new Pr),fi}var ze=class{},Dn=class extends ze{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,Oi(t,s=>this.processProvider(s)),this.records.set(Hl,kt(void 0,this)),o.has("environment")&&this.records.set(ze,kt(void 0,this));let i=this.records.get(Zl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bl,J,_.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?vr:ct,r)}destroy(){In(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=ke(this),r=ee(void 0),o;try{return t()}finally{ke(n),ee(r)}}get(t,n=ct,r=_.Default){if(In(this),t.hasOwnProperty(Nc))return t[Nc](this);r=uo(r);let o,i=ke(this),s=ee(void 0);try{if(!(r&_.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=gh(t)&&lo(t);l&&this.injectableDefInScope(l)?c=kt(Ri(t),Mr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&_.Self?po():this.parent;return n=r&_.Optional&&n===ct?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Rr]=a[Rr]||[]).unshift(te(t)),i)throw a;return Kp(a,t,"R3InjectorError",this.source)}else throw a}finally{ee(s),ke(i)}}resolveInjectorInitializers(){let t=b(null),n=ke(this),r=ee(void 0),o;try{let i=this.get(Ar,J,_.Self);for(let s of i)s()}finally{ke(n),ee(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=Ft(t)?t:$(t&&t.provide),r=fh(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=kt(void 0,Mr,!0),o.factory=()=>Si(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{return n.value===kc?Ol(te(t)):n.value===Mr&&(n.value=kc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&hh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}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 Ri(e){let t=lo(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof k)throw new C(204,!1);if(e instanceof Function)return dh(e);throw new C(204,!1)}function dh(e){if(e.length>0)throw new C(204,!1);let n=Vp(e);return n!==null?()=>n.factory(e):()=>new e}function fh(e){if(Gl(e))return kt(void 0,e.useValue);{let t=Ql(e);return kt(t,Mr)}}function Ql(e,t,n){let r;if(Ft(e)){let o=$(e);return ut(o)||Ri(o)}else if(Gl(e))r=()=>$(e.useValue);else if(lh(e))r=()=>e.useFactory(...Si(e.deps||[]));else if(ch(e))r=(o,i)=>qe($(e.useExisting),i!==void 0&&i&_.Optional?_.Optional:void 0);else{let o=$(e&&(e.useClass||e.provide));if(ph(e))r=()=>new o(...Si(e.deps));else return ut(o)||Ri(o)}return r}function In(e){if(e.destroyed)throw new C(205,!1)}function kt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ph(e){return!!e.deps}function hh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function gh(e){return typeof e=="function"||typeof e=="object"&&e instanceof k}function Oi(e,t){for(let n of e)Array.isArray(n)?Oi(n,t):n&&Rl(n)?Oi(n.\u0275providers,t):t(n)}function Yl(e,t){let n;e instanceof Dn?(In(e),n=e):n=new kr(e);let r,o=ke(n),i=ee(void 0);try{return t()}finally{ke(o),ee(i)}}function Jl(){return Al()!==void 0||yn()!=null}function Us(e){if(!Jl())throw new C(-203,!1)}function mh(e){return typeof e=="function"}var Ce=0,D=1,E=2,G=3,pe=4,ne=5,jt=6,Lr=7,H=8,Vt=9,Re=10,P=11,bn=12,Rc=13,Zt=14,oe=15,dt=16,Rt=17,Oe=18,ho=19,Kl=20,$e=21,pi=22,ft=23,le=24,Pt=25,F=26,qs=1;var pt=7,Fr=8,Ht=9,z=10;function Ue(e){return Array.isArray(e)&&typeof e[qs]=="object"}function Pe(e){return Array.isArray(e)&&e[qs]===!0}function Ws(e){return(e.flags&4)!==0}function Qt(e){return e.componentOffset>-1}function go(e){return(e.flags&1)===1}function he(e){return!!e.template}function jr(e){return(e[E]&512)!==0}function Yt(e){return(e[E]&256)===256}var Ai=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Xl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var IN=(()=>{let e=()=>eu;return e.ngInherit=!0,e})();function eu(e){return e.type.prototype.ngOnChanges&&(e.setInput=vh),yh}function yh(){let e=nu(this),t=e?.current;if(t){let n=e.previous;if(n===De)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vh(e,t,n,r,o){let i=this.declaredInputs[r],s=nu(e)||Ih(e,{previous:De,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ai(l&&l.currentValue,n,c===De),Xl(e,t,o,n)}var tu="__ngSimpleChanges__";function nu(e){return e[tu]||null}function Ih(e,t){return e[tu]=t}var Oc=null;var S=function(e,t=null,n){Oc?.(e,t,n)},ru="svg",Eh="math";function be(e){for(;Array.isArray(e);)e=e[Ce];return e}function wh(e){for(;Array.isArray(e);){if(typeof e[qs]=="object")return e;e=e[Ce]}return null}function ou(e,t){return be(t[e])}function xe(e,t){return be(t[e.index])}function zs(e,t){return e.data[t]}function An(e,t){return e[t]}function Gs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Me(e,t){let n=t[e];return Ue(n)?n:n[Ce]}function Dh(e){return(e[E]&4)===4}function Zs(e){return(e[E]&128)===128}function bh(e){return Pe(e[G])}function Ge(e,t){return t==null?null:e[t]}function iu(e){e[Rt]=0}function su(e){e[E]&1024||(e[E]|=1024,Zs(e)&&Jt(e))}function Mh(e,t){for(;e>0;)t=t[Zt],e--;return t}function mo(e){return!!(e[E]&9216||e[le]?.dirty)}function Pi(e){e[Re].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),mo(e)&&Jt(e)}function Jt(e){e[Re].changeDetectionScheduler?.notify(0);let t=ht(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Zs(t)));)t=ht(t)}function au(e,t){if(Yt(e))throw new C(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function Ch(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ht(e){let t=e[G];return Pe(t)?t[G]:t}function Qs(e){return e[Lr]??=[]}function Ys(e){return e.cleanup??=[]}function xh(e,t,n,r){let o=Qs(t);o.push(n),e.firstCreatePass&&Ys(e).push(r,o.length-1)}var M={lFrame:mu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Li=!1;function _h(){return M.lFrame.elementDepthCount}function Th(){M.lFrame.elementDepthCount++}function Nh(){M.lFrame.elementDepthCount--}function Js(){return M.bindingsEnabled}function cu(){return M.skipHydrationRootTNode!==null}function Sh(e){return M.skipHydrationRootTNode===e}function kh(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function O(){return M.lFrame.tView}function EN(e){return M.lFrame.contextLView=e,e[H]}function wN(e){return M.lFrame.contextLView=null,e}function Q(){let e=lu();for(;e!==null&&e.type===64;)e=e.parent;return e}function lu(){return M.lFrame.currentTNode}function Rh(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ks(){return M.lFrame.isParent}function Xs(){M.lFrame.isParent=!1}function uu(){return M.lFrame.contextLView}function du(){return Li}function Vr(e){let t=Li;return Li=e,t}function ie(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function fu(){return M.lFrame.bindingIndex}function Oh(e){return M.lFrame.bindingIndex=e}function Ke(){return M.lFrame.bindingIndex++}function yo(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ah(){return M.lFrame.inI18n}function Ph(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fi(t)}function Lh(){return M.lFrame.currentDirectiveIndex}function Fi(e){M.lFrame.currentDirectiveIndex=e}function pu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ea(){return M.lFrame.currentQueryIndex}function vo(e){M.lFrame.currentQueryIndex=e}function Fh(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function hu(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Fh(i),o===null||(i=i[Zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=gu();return r.currentTNode=t,r.lView=e,!0}function ta(e){let t=gu(),n=e[D];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?mu(e):t}function mu(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 yu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vu=yu;function na(){let e=yu();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 jh(e){return(M.lFrame.contextLView=Mh(e,M.lFrame.contextLView))[H]}function ge(){return M.lFrame.selectedIndex}function gt(e){M.lFrame.selectedIndex=e}function Kt(){let e=M.lFrame;return zs(e.tView,e.selectedIndex)}function DN(){M.lFrame.currentNamespace=ru}function bN(){Vh()}function Vh(){M.lFrame.currentNamespace=null}function Hh(){return M.lFrame.currentNamespace}var Iu=!0;function Io(){return Iu}function Eo(e){Iu=e}function Bh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=eu(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 ra(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 Cr(e,t,n){Eu(e,t,3,n)}function xr(e,t,n,r){(e[E]&3)===n&&Eu(e,t,n,r)}function hi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Eu(e,t,n,r){let o=r!==void 0?e[Rt]&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[Rt]+=65536),(a<i||i==-1)&&($h(e,n,t,c),e[Rt]=(e[Rt]&4294901760)+c+2),c++}function Ac(e,t){S(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),S(5,e,t)}}function $h(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[Rt]>>16&&(e[E]&3)===t&&(e[E]+=16384,Ac(a,i)):Ac(a,i)}var Lt=-1,mt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Uh(e){return(e.flags&8)!==0}function qh(e){return(e.flags&16)!==0}function Wh(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];zh(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function wu(e){return e===3||e===4||e===6}function zh(e){return e.charCodeAt(0)===64}function Bt(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?Pc(e,n,o,null,t[++r]):Pc(e,n,o,null,null))}}return e}function Pc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Du(e){return e!==Lt}function Hr(e){return e&32767}function Gh(e){return e>>16}function Br(e,t){let n=Gh(e),r=t;for(;n>0;)r=r[Zt],n--;return r}var ji=!0;function $r(e){let t=ji;return ji=e,t}var Zh=256,bu=Zh-1,Mu=5,Qh=0,Ee={};function Yh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(wn)&&(r=n[wn]),r==null&&(r=n[wn]=Qh++);let o=r&bu,i=1<<o;t.data[e+(o>>Mu)]|=i}function Ur(e,t){let n=Cu(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,gi(r.data,e),gi(t,null),gi(r.blueprint,null));let o=oa(e,t),i=e.injectorIndex;if(Du(o)){let s=Hr(o),a=Br(o,t),c=a[D].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function gi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function oa(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=Su(o),r===null)return Lt;if(n++,o=o[Zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Lt}function Vi(e,t,n){Yh(e,t,n)}function Jh(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(wu(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 xu(e,t,n){if(n&_.Optional||e!==void 0)return e;Hs(t,"NodeInjector")}function _u(e,t,n,r){if(n&_.Optional&&r===void 0&&(r=null),(n&(_.Self|_.Host))===0){let o=e[Vt],i=ee(void 0);try{return o?o.get(t,r,n&_.Optional):Pl(t,r,n&_.Optional)}finally{ee(i)}}return xu(r,t,n)}function Tu(e,t,n,r=_.Default,o){if(e!==null){if(t[E]&2048&&!(r&_.Self)){let s=tg(e,t,n,r,Ee);if(s!==Ee)return s}let i=Nu(e,t,n,r,Ee);if(i!==Ee)return i}return _u(t,n,r,o)}function Nu(e,t,n,r,o){let i=Xh(n);if(typeof i=="function"){if(!hu(t,e,r))return r&_.Host?xu(o,n,r):_u(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&_.Optional))Hs(n);else return s}finally{vu()}}else if(typeof i=="number"){let s=null,a=Cu(e,t),c=Lt,l=r&_.Host?t[oe][ne]:null;for((a===-1||r&_.SkipSelf)&&(c=a===-1?oa(e,t):t[a+8],c===Lt||!Fc(r,!1)?a=-1:(s=t[D],a=Hr(c),t=Br(c,t)));a!==-1;){let u=t[D];if(Lc(i,a,u.data)){let d=Kh(a,t,n,s,r,l);if(d!==Ee)return d}c=t[a+8],c!==Lt&&Fc(r,t[D].data[a+8]===l)&&Lc(i,a,t)?(s=u,a=Hr(c),t=Br(c,t)):a=-1}}return o}function Kh(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Qt(a)&&ji:r!=s&&(a.type&3)!==0,l=o&_.Host&&i===a,u=_r(a,s,n,c,l);return u!==null?Mn(t,s,u,a,o):Ee}function _r(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&&he(f)&&f.type===n)return c}return null}function Mn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof mt){let a=i;a.resolving&&Ol(Wp(s[n]));let c=$r(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?ee(a.injectImpl):null,d=hu(e,r,_.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Bh(n,s[n],t)}finally{u!==null&&ee(u),$r(c),a.resolving=!1,vu()}}return i}function Xh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wn)?e[wn]:void 0;return typeof t=="number"?t>=0?t&bu:eg:t}function Lc(e,t,n){let r=1<<e;return!!(n[t+(e>>Mu)]&r)}function Fc(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var lt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tu(this._tNode,this._lView,t,uo(r),n)}};function eg(){return new lt(Q(),g())}function MN(e){return Rn(()=>{let t=e.prototype.constructor,n=t[Sr]||Hi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Sr]||Hi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Hi(e){return Nl(e)?()=>{let t=Hi($(e));return t&&t()}:ut(e)}function tg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!jr(s);){let a=Nu(i,s,n,r|_.Self,Ee);if(a!==Ee)return a;let c=i.parent;if(!c){let l=s[Kl];if(l){let u=l.get(n,Ee,r);if(u!==Ee)return u}c=Su(s),s=s[Zt]}i=c}return o}function Su(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function CN(e){return Jh(Q(),e)}function jc(e,t=null,n=null,r){let o=ku(e,t,n,r);return o.resolveInjectorInitializers(),o}function ku(e,t=null,n=null,r,o=new Set){let i=[n||J,sh(e)];return r=r||(typeof e=="object"?void 0:te(e)),new Dn(i,t||po(),r||null,o)}var Ze=class e{static THROW_IF_NOT_FOUND=ct;static NULL=new Pr;static create(t,n){if(Array.isArray(t))return jc({name:""},n,t,"");{let r=t.name??"";return jc({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>qe(Hl)});static __NG_ELEMENT_ID__=-1};var ng=new k("");ng.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new C(204,!1)};var Ru=!1,Xt=(()=>{class e{static __NG_ELEMENT_ID__=rg;static __NG_ENV_ID__=n=>n}return e})(),qr=class extends Xt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Yt(n)?(t(),()=>{}):(au(n,t),()=>Ch(n,t))}};function rg(){return new qr(g())}var Qe=class{},ia=new k("",{providedIn:"root",factory:()=>!1});var Ou=new k(""),Au=new k(""),wo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new sn(!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=U({token:e,providedIn:"root",factory:()=>new e})}return e})();var Bi=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Jl()&&(this.destroyRef=T(Xt,{optional:!0})??void 0,this.pendingTasks=T(wo,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Be=Bi;function Cn(...e){}function Pu(e){let t,n;function r(){e=Cn;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 Vc(e){return queueMicrotask(()=>e()),()=>{e=Cn}}var sa="isAngularZone",Wr=sa+"_ID",og=0,re=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ru}=t;if(typeof Zone>"u")throw new C(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,ag(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(sa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,ig,Cn,Cn);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)}},ig={};function aa(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 sg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Pu(()=>{e.callbackScheduled=!1,$i(e),e.isCheckStableRunning=!0,aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),$i(e)}function ag(e){let t=()=>{sg(e)},n=og++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[Wr]:n,[Wr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(cg(c))return r.invokeTask(i,s,a,c);try{return Hc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Bc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Hc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!lg(c)&&t(),Bc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,$i(e),aa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function $i(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Hc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bc(e){e._nesting--,aa(e)}var Ui=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;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 cg(e){return Lu(e,"__ignore_ng_zone__")}function lg(e){return Lu(e,"__scheduler_tick__")}function Lu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ye=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ug=new k("",{providedIn:"root",factory:()=>{let e=T(re),t=T(Ye);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),zr=class{destroyed=!1;listeners=null;errorHandler=T(Ye,{optional:!0});destroyRef=T(Xt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(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){console.warn(Ml(953,!1));return}if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function xN(e){return new zr}function $c(e,t){return xl(e,t)}function dg(e){return xl(co,e)}var _N=($c.required=dg,$c);function fg(){return en(Q(),g())}function en(e,t){return new Do(xe(e,t))}var Do=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=fg}return e})();function Fu(e){return e instanceof Do?e.nativeElement:e}function pg(e){return typeof e=="function"&&e[W]!==void 0}function hg(e,t){let n=ai(e,t?.equal),r=n[W];return n.set=o=>St(r,o),n.update=o=>ci(r,o),n.asReadonly=ju.bind(n),n}function ju(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function Vu(e){return pg(e)&&typeof e.set=="function"}function gg(){return this._results[Symbol.iterator]()}var qi=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 ae}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=th(t);(this._changesDetected=!eh(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]=gg};function Hu(e){return(e.flags&128)===128}var Bu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bu||{}),$u=new Map,mg=0;function yg(){return mg++}function vg(e){$u.set(e[ho],e)}function Wi(e){$u.delete(e[ho])}var Uc="__ngContext__";function tn(e,t){Ue(t)?(e[Uc]=t[ho],vg(t)):e[Uc]=t}function Uu(e){return Wu(e[bn])}function qu(e){return Wu(e[pe])}function Wu(e){for(;e!==null&&!Pe(e);)e=e[pe];return e}var zi;function TN(e){zi=e}function zu(){if(zi!==void 0)return zi;if(typeof document<"u")return document;throw new C(210,!1)}var NN=new k("",{providedIn:"root",factory:()=>Ig}),Ig="ng",Eg=new k(""),SN=new k("",{providedIn:"platform",factory:()=>"unknown"});var kN=new k(""),RN=new k("",{providedIn:"root",factory:()=>zu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),wg={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ON=new k("",{providedIn:"root",factory:()=>wg});var Dg="h",bg="b";var Gu=!1,Mg=new k("",{providedIn:"root",factory:()=>Gu});var ca=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ca||{}),Pn=new k(""),qc=new Set;function nn(e){qc.has(e)||(qc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var bo=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Cg}return e})();function Cg(){return new bo(g(),Q())}var Ot=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ot||{}),la=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zu=[Ot.EarlyRead,Ot.Write,Ot.MixedReadWrite,Ot.Read],Qu=(()=>{class e{ngZone=T(re);scheduler=T(Qe);errorHandler=T(Ye,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){T(Pn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&S(16),this.executing=!0;for(let r of Zu)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&S(17)}register(n){let{view:r}=n;r!==void 0?((r[Pt]??=[]).push(n),Jt(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(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(ca.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Gr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Pt];t&&(this.view[Pt]=t.filter(n=>n!==this))}};function xg(e,t){!t?.injector&&Us(xg);let n=t?.injector??T(Ze);return nn("NgAfterNextRender"),Tg(e,n,t,!0)}function _g(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 Tg(e,t,n,r){let o=t.get(la);o.impl??=t.get(Qu);let i=t.get(Pn,null,{optional:!0}),s=n?.phase??Ot.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Xt):null,c=t.get(bo,null,{optional:!0}),l=new Gr(o.impl,_g(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Ng=(e,t,n,r)=>{};function Sg(e,t,n,r){Ng(e,t,n,r)}var kg=()=>null;function Yu(e,t,n=!1){return kg(e,t,n)}function Ju(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];vo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Gi(e,t,n){vo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ua(e,t,n){if(Ws(t)){let r=b(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{b(r)}}}var xn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(xn||{}),Er;function Rg(){if(Er===void 0&&(Er=null,He.trustedTypes))try{Er=He.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Er}function Mo(e){return Rg()?.createHTML(e)||e}var wr;function Ku(){if(wr===void 0&&(wr=null,He.trustedTypes))try{wr=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wr}function Wc(e){return Ku()?.createHTML(e)||e}function zc(e){return Ku()?.createScriptURL(e)||e}var Ae=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bl})`}},Zi=class extends Ae{getTypeName(){return"HTML"}},Qi=class extends Ae{getTypeName(){return"Style"}},Yi=class extends Ae{getTypeName(){return"Script"}},Ji=class extends Ae{getTypeName(){return"URL"}},Ki=class extends Ae{getTypeName(){return"ResourceURL"}};function rn(e){return e instanceof Ae?e.changingThisBreaksApplicationSecurity:e}function da(e,t){let n=Og(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bl})`)}return n===t}function Og(e){return e instanceof Ae&&e.getTypeName()||null}function AN(e){return new Zi(e)}function PN(e){return new Qi(e)}function LN(e){return new Yi(e)}function FN(e){return new Ji(e)}function jN(e){return new Ki(e)}function Ag(e){let t=new es(e);return Pg()?new Xi(t):t}var Xi=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Mo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},es=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Mo(t),n}};function Pg(){try{return!!new window.DOMParser().parseFromString(Mo(""),"text/html")}catch{return!1}}var Lg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xu(e){return e=String(e),e.match(Lg)?e:"unsafe:"+e}function Le(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ln(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ed=Le("area,br,col,hr,img,wbr"),td=Le("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nd=Le("rp,rt"),Fg=Ln(nd,td),jg=Ln(td,Le("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")),Vg=Ln(nd,Le("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")),Gc=Ln(ed,jg,Vg,Fg),rd=Le("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hg=Le("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"),Bg=Le("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"),$g=Ln(rd,Hg,Bg),Ug=Le("script,style,template"),ts=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=zg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Wg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Zc(t).toLowerCase();if(!Gc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ug.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(!$g.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;rd[a]&&(c=Xu(c)),this.buf.push(" ",s,'="',Qc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Zc(t).toLowerCase();Gc.hasOwnProperty(n)&&!ed.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Qc(t))}};function qg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Wg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw od(t);return t}function zg(e){let t=e.firstChild;if(t&&qg(e,t))throw od(t);return t}function Zc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function od(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zg=/([^\#-~ |!])/g;function Qc(e){return e.replace(/&/g,"&").replace(Gg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Zg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Dr;function Qg(e,t){let n=null;try{Dr=Dr||Ag(e);let r=t?String(t):"";n=Dr.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=Dr.getInertBodyElement(r)}while(r!==i);let a=new ts().sanitizeChildren(Yc(n)||n);return Mo(a)}finally{if(n){let r=Yc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Yc(e){return"content"in e&&Yg(e)?e.content:null}function Yg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Co=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}(Co||{});function VN(e){let t=fa();return t?Wc(t.sanitize(Co.HTML,e)||""):da(e,"HTML")?Wc(rn(e)):Qg(zu(),we(e))}function Jg(e){let t=fa();return t?t.sanitize(Co.URL,e)||"":da(e,"URL")?rn(e):Xu(we(e))}function Kg(e){let t=fa();if(t)return zc(t.sanitize(Co.RESOURCE_URL,e)||"");if(da(e,"ResourceURL"))return zc(rn(e));throw new C(904,!1)}function Xg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Kg:Jg}function HN(e,t,n){return Xg(t,n)(e)}function fa(){let e=g();return e&&e[Re].sanitizer}var em=/^>|^->|<!--|-->|--!>|<!-$/g,tm=/(<|>)/g,nm="\u200B$1\u200B";function rm(e){return e.replace(em,t=>t.replace(tm,nm))}function BN(e){return e.ownerDocument.defaultView}function $N(e){return e.ownerDocument}function id(e){return e instanceof Function?e():e}function om(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 sd="ng-template";function im(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&om(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(pa(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 pa(e){return e.type===4&&e.value!==sd}function sm(e,t,n){let r=e.type===4&&!n?sd:e.value;return t===r}function am(e,t,n){let r=4,o=e.attrs,i=o!==null?um(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!fe(r)&&!fe(c))return!1;if(s&&fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!sm(e,c,n)||c===""&&t.length===1){if(fe(r))return!1;s=!0}}else if(r&8){if(o===null||!im(e,o,c,n)){if(fe(r))return!1;s=!0}}else{let l=t[++a],u=cm(c,o,pa(e),n);if(u===-1){if(fe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(e){return(e&1)===0}function cm(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 dm(t,e)}function ad(e,t,n=!1){for(let r=0;r<t.length;r++)if(am(e,t[r],n))return!0;return!1}function lm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function um(e){for(let t=0;t<e.length;t++){let n=e[t];if(wu(n))return t}return e.length}function dm(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 fm(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 Jc(e,t){return e?":not("+t.trim()+")":t}function pm(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!==""&&!fe(s)&&(t+=Jc(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(t+=Jc(i,o)),t}function hm(e){return e.map(pm).join(",")}function gm(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(!fe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Y={};function mm(e,t){return e.createText(t)}function ym(e,t,n){e.setValue(t,n)}function vm(e,t){return e.createComment(rm(t))}function cd(e,t,n){return e.createElement(t,n)}function Zr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ld(e,t,n){e.appendChild(t,n)}function Kc(e,t,n,r,o){r!==null?Zr(e,t,n,r,o):ld(e,t,n)}function Im(e,t,n){e.removeChild(null,t,n)}function Em(e,t,n){e.setAttribute(t,"style",n)}function wm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ud(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Wh(e,t,r),o!==null&&wm(e,t,o),i!==null&&Em(e,t,i)}function ha(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=Dm(d,p),h=typeof l=="function"?l():l;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Dm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Y);return n}function bm(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ha(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ga(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ce]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),iu(d),d[G]=d[Zt]=e,d[H]=n,d[Re]=s||e&&e[Re],d[P]=a||e&&e[P],d[Vt]=c||e&&e[Vt]||null,d[ne]=i,d[ho]=yg(),d[jt]=u,d[Kl]=l,d[oe]=t.type==2?e[oe]:d,d}function Mm(e,t,n){let r=xe(t,e),o=bm(n),i=e[Re].rendererFactory,s=ma(e,ga(e,o,null,dd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function dd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function fd(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 ma(e,t){return e[bn]?e[Rc][pe]=t:e[bn]=t,e[Rc]=t,t}function UN(e=1){pd(O(),g(),ge()+e,!1)}function pd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Cr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&xr(t,i,0,n)}gt(n)}var xo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(xo||{});function ns(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&xo.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Xl(t,c,i,r)}finally{b(o)}}function hd(e,t,n,r,o){let i=ge(),s=r&2;try{gt(-1),s&&t.length>F&&pd(e,t,F,!1),S(s?2:0,o),n(r,o)}finally{gt(i),S(s?3:1,o)}}function _o(e,t,n){Sm(e,t,n),(n.flags&64)===64&&km(e,t,n)}function ya(e,t,n=xe){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 Cm(e,t,n,r){let i=r.get(Mg,Gu)||n===xn.ShadowDom,s=e.selectRootElement(t,i);return xm(s),s}function xm(e){_m(e)}var _m=()=>null;function Tm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Fn(e,t,n,r,o,i,s,a){if(!a&&Ia(t,e,n,r,o)){Qt(t)&&Nm(n,t.index);return}if(t.type&3){let c=xe(t,n);r=Tm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Nm(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Sm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Qt(n)&&Mm(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ur(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Mn(t,e,s,n);if(tn(c,t),i!==null&&Pm(t,s-r,c,a,n,i),he(a)){let l=Me(n.index,t);l[H]=Mn(t,e,s,n)}}}function km(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Lh();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Fi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Rm(c,l)}}finally{gt(-1),Fi(s)}}function Rm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function va(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ad(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function Om(e,t,n,r,o,i){let s=xe(e,t);Am(t[P],s,i,e.value,n,r,o)}function Am(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?we(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Pm(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ns(r,n,c,l)}}function Lm(e,t,n){return(e===null||he(e))&&(n=wh(n[t.index])),n[P]}function Fm(e,t){let n=e[Vt],r=n?n.get(Ye,null):null;r&&r.handleError(t)}function Ia(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];ns(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ns(u,l,r,o),a=!0}return a}function jm(e,t){let n=Me(t,e),r=n[D];Vm(r,n);let o=n[Ce];o!==null&&n[jt]===null&&(n[jt]=Yu(o,n[Vt])),S(18),Ea(r,n,n[H]),S(19,n[H])}function Vm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ea(e,t,n){ta(t);try{let r=e.viewQuery;r!==null&&Gi(1,r,n);let o=e.template;o!==null&&hd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Oe]?.finishViewCreation(e),e.staticContentQueries&&Ju(e,t),e.staticViewQueries&&Gi(2,e.viewQuery,n);let i=e.components;i!==null&&Hm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,na()}}function Hm(e,t){for(let n=0;n<t.length;n++)jm(e,t[n])}function jn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ga(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[dt]=l;let u=e[Oe];return u!==null&&(c[Oe]=u.createEmbeddedView(i)),Ea(i,c,n),c}finally{b(o)}}function $t(e,t){return!t||t.firstChild===null||Hu(e)}var Bm;function wa(e,t){return Bm(e,t)}var rs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(rs||{});function Da(e){return(e.flags&32)===32}function At(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:Ue(r)&&(s=!0,r=r[Ce]);let a=be(r);e===0&&n!==null?o==null?ld(t,n,a):Zr(t,n,a,o||null,!0):e===1&&n!==null?Zr(t,n,a,o||null,!0):e===2?Im(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jm(t,e,i,n,o)}}function $m(e,t){gd(e,t),t[Ce]=null,t[ne]=null}function Um(e,t,n,r,o,i){r[Ce]=o,r[ne]=t,So(e,r,n,1,o,i)}function gd(e,t){t[Re].changeDetectionScheduler?.notify(9),So(e,t,t[P],2,null,null)}function qm(e){let t=e[bn];if(!t)return mi(e[D],e);for(;t;){let n=null;if(Ue(t))n=t[bn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Ue(t)&&mi(t[D],t),t=t[G];t===null&&(t=e),Ue(t)&&mi(t[D],t),n=t&&t[pe]}t=n}}function ba(e,t){let n=e[Ht],r=n.indexOf(t);n.splice(r,1)}function To(e,t){if(Yt(t))return;let n=t[P];n.destroyNode&&So(e,t,n,3,null,null),qm(t)}function mi(e,t){if(Yt(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[le]&&gn(t[le]),zm(e,t),Wm(e,t),t[D].type===1&&t[P].destroy();let r=t[dt];if(r!==null&&Pe(t[G])){r!==t[G]&&ba(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Wi(t)}finally{b(n)}}function Wm(e,t){let n=e.cleanup,r=t[Lr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Lr]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ft];if(i!==null){t[ft]=null;for(let s of i)s.destroy()}}function zm(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 mt)){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];S(4,a,c);try{c.call(a)}finally{S(5,a,c)}}else{S(4,o,i);try{i.call(o)}finally{S(5,o,i)}}}}}function md(e,t,n){return Gm(e,t.parent,n)}function Gm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce];if(Qt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===xn.None||o===xn.Emulated)return null}return xe(r,n)}function yd(e,t,n){return Qm(e,t,n)}function Zm(e,t,n){return e.type&40?xe(e,n):null}var Qm=Zm,Xc;function No(e,t,n,r){let o=md(e,r,t),i=t[P],s=r.parent||t[ne],a=yd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Kc(i,o,n[c],a,!1);else Kc(i,o,n,a,!1);Xc!==void 0&&Xc(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return xe(t,e);if(n&4)return os(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Pe(o)?os(-1,o):be(o)}}else{if(n&128)return En(e,t.next);if(n&32)return wa(t,e)()||be(e[t.index]);{let r=vd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ht(e[oe]);return En(o,r)}else return En(e,t.next)}}}return null}function vd(e,t){if(t!==null){let r=e[oe][ne],o=t.projection;return r.projection[o]}return null}function os(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return En(r,o)}return t[pt]}function Ma(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&&tn(be(a),r),n.flags|=2),!Da(n))if(c&8)Ma(e,t,n.child,r,o,i,!1),At(t,e,o,a,i);else if(c&32){let l=wa(n,r),u;for(;u=l();)At(t,e,o,u,i);At(t,e,o,a,i)}else c&16?Id(e,t,r,n,o,i):At(t,e,o,a,i);n=s?n.projectionNext:n.next}}function So(e,t,n,r,o,i){Ma(n,r,e.firstChild,t,o,i,!1)}function Ym(e,t,n){let r=t[P],o=md(e,n,t),i=n.parent||t[ne],s=yd(i,n,t);Id(r,0,t,n,o,s)}function Id(e,t,n,r,o,i){let s=n[oe],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];At(t,e,o,u,i)}else{let l=c,u=s[G];Hu(r)&&(l.flags|=128),Ma(e,t,l,u,o,i,!0)}}function Jm(e,t,n,r,o){let i=n[pt],s=be(n);i!==s&&At(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];So(c[D],c,e,t,r,i)}}function Km(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:rs.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=rs.Important),e.setStyle(n,r,o,i))}}function Qr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(be(i)),Pe(i)&&Xm(i,r);let s=n.type;if(s&8)Qr(e,t,n.child,r);else if(s&32){let a=wa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=vd(t,n);if(Array.isArray(a))r.push(...a);else{let c=ht(t[oe]);Qr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xm(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Qr(r[D],r,o,t)}e[pt]!==e[Ce]&&t.push(e[pt])}function Ed(e){if(e[Pt]!==null){for(let t of e[Pt])t.impl.addSequence(t);e[Pt].length=0}}var wd=[];function ey(e){return e[le]??ty(e)}function ty(e){let t=wd.pop()??Object.create(ry);return t.lView=e,t}function ny(e){e.lView[le]!==e&&(e.lView=null,wd.push(e))}var ry=X(K({},Tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jt(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function oy(e){let t=e[le]??Object.create(iy);return t.lView=e,t}var iy=X(K({},Tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ht(e.lView);for(;t&&!Dd(t[D]);)t=ht(t);t&&su(t)},consumerOnSignalRead(){this.lView[le]=this}});function Dd(e){return e.type!==2}function bd(e){if(e[ft]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ft])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var sy=100;function Md(e,t=!0,n=0){let o=e[Re].rendererFactory,i=!1;i||o.begin?.();try{ay(e,n)}catch(s){throw t&&Fm(e,s),s}finally{i||o.end?.()}}function ay(e,t){let n=du();try{Vr(!0),is(e,t);let r=0;for(;mo(e);){if(r===sy)throw new C(103,!1);r++,is(e,1)}}finally{Vr(n)}}function cy(e,t,n,r){if(Yt(t))return;let o=t[E],i=!1,s=!1;ta(t);let a=!0,c=null,l=null;i||(Dd(e)?(l=ey(t),c=Nt(l)):ni()===null?(a=!1,l=oy(t),c=Nt(l)):t[le]&&(gn(t[le]),t[le]=null));try{iu(t),Oh(e.bindingStartIndex),n!==null&&hd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Cr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&xr(t,f,0,null),hi(t,0)}if(s||ly(t),bd(t),Cd(t,0),e.contentQueries!==null&&Ju(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Cr(t,f)}else{let f=e.contentHooks;f!==null&&xr(t,f,1),hi(t,1)}dy(e,t);let d=e.components;d!==null&&_d(t,d,0);let p=e.viewQuery;if(p!==null&&Gi(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Cr(t,f)}else{let f=e.viewHooks;f!==null&&xr(t,f,2),hi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pi]){for(let f of t[pi])f();t[pi]=null}i||(Ed(t),t[E]&=-73)}catch(u){throw i||Jt(t),u}finally{l!==null&&(pn(l,c),a&&ny(l)),na()}}function Cd(e,t){for(let n=Uu(e);n!==null;n=qu(n))for(let r=z;r<n.length;r++){let o=n[r];xd(o,t)}}function ly(e){for(let t=Uu(e);t!==null;t=qu(t)){if(!(t[E]&2))continue;let n=t[Ht];for(let r=0;r<n.length;r++){let o=n[r];su(o)}}}function uy(e,t,n){S(18);let r=Me(t,e);xd(r,n),S(19,r[H])}function xd(e,t){Zs(e)&&is(e,t)}function is(e,t){let r=e[D],o=e[E],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&hn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)cy(r,e,r.template,e[H]);else if(o&8192){bd(e),Cd(e,1);let a=r.components;a!==null&&_d(e,a,1),Ed(e)}}function _d(e,t,n){for(let r=0;r<t.length;r++)uy(e,t[r],n)}function dy(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)gt(~o);else{let i=o,s=n[++r],a=n[++r];Ph(s,i);let c=t[i];S(24,c),a(2,c),S(25,c)}}}finally{gt(-1)}}function Ca(e,t){let n=du()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=ht(e);if(jr(e)&&!r)return e;e=r}return null}function Td(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Nd(e,t){let n=z+t;if(n<e.length)return e[n]}function Vn(e,t,n,r=!0){let o=t[D];if(fy(o,t,e,n),r){let s=os(n,e),a=t[P],c=a.parentNode(e[pt]);c!==null&&Um(o,e[ne],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sd(e,t){let n=_n(e,t);return n!==void 0&&To(n[D],n),n}function _n(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[dt];o!==null&&o!==e&&ba(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=Or(e,z+t);$m(r[D],r);let s=i[Oe];s!==null&&s.detachView(i[D]),r[G]=null,r[pe]=null,r[E]&=-129}return r}function fy(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-z?(t[pe]=n[o],Vl(n,z+r,t)):(n.push(t),t[pe]=null),t[G]=n;let s=t[dt];s!==null&&n!==s&&kd(s,t);let a=t[Oe];a!==null&&a.insertView(e),Pi(t),t[E]|=128}function kd(e,t){let n=e[Ht],r=t[G];if(Ue(r))e[E]|=2;else{let o=r[G][oe];t[oe]!==o&&(e[E]|=2)}n===null?e[Ht]=[t]:n.push(t)}var Tn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[D];return Qr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return Yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Pe(t)){let n=t[Fr],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),Or(n,r))}this._attachedToViewContainer=!1}To(this._lView[D],this._lView)}onDestroy(t){au(this._lView,t)}markForCheck(){Ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Pi(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Md(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=jr(this._lView),n=this._lView[dt];n!==null&&!t&&ba(n,this._lView),gd(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=jr(this._lView),r=this._lView[dt];r!==null&&!n&&kd(r,this._lView),Pi(this._lView)}};var Yr=(()=>{class e{static __NG_ELEMENT_ID__=gy}return e})(),py=Yr,hy=class extends py{_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=jn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Tn(o)}};function gy(){return ko(Q(),g())}function ko(e,t){return e.type&4?new hy(t,e,en(e,t)):null}function on(e,t,n,r,o){let i=e.data[t];if(i===null)i=my(e,t,n,r,o),Ah()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Rh();i.injectorIndex=s===null?-1:s.injectorIndex}return Je(i,!0),i}function my(e,t,n,r,o){let i=lu(),s=Ks(),a=s?i:i&&i.parent,c=e.data[t]=vy(e,a,n,t,r,o);return yy(e,c,i,s),c}function yy(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 vy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return cu()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var zN=new RegExp(`^(\\d+)*(${bg}|${Dg})*(.*)`);var Iy=()=>null;function Ut(e,t){return Iy(e,t)}var Ey=class{},Rd=class{},ss=class{resolveComponentFactory(t){throw Error(`No component factory found for ${te(t)}.`)}},Ro=class{static NULL=new ss},Jr=class{},YN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>wy()}return e})();function wy(){let e=g(),t=Q(),n=Me(t.index,e);return(Ue(n)?n:e)[P]}var Dy=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();var yi={},as=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=uo(r);let o=this.injector.get(t,yi,r);return o!==yi||n===yi?o:this.parentInjector.get(t,n,r)}};function cs(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}function Oo(e,t=_.Default){let n=g();if(n===null)return qe(e,t);let r=Q();return Tu(r,n,$(e),t)}function JN(){let e="invalid";throw new Error(e)}function xa(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=My(s);u===null?a=s:[a,c,l]=u,_y(e,t,n,a,i,c,l)}i!==null&&r!==null&&by(n,r,i)}function by(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new C(-301,!1);r.push(t[o],i)}}function My(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Cy(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Cy(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function xy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function _y(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&he(f)&&(c=!0,xy(e,n,p)),Vi(Ur(n,t),e,f.type)}Oy(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=fd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Bt(n.mergedAttrs,f.hostAttrs),Ny(e,n,t,d,f),Ry(d,f,o),s!==null&&s.has(f)){let[y,A]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,A+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Ty(e,n,i)}function Ty(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))el(0,t,o,r),el(1,t,o,r),nl(t,r,!1);else{let i=n.get(o);tl(0,t,i,r),tl(1,t,i,r),nl(t,r,!0)}}}function el(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Od(t,i)}}function tl(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Od(t,s)}}function Od(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function nl(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||pa(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Ny(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ut(o.type,!0)),s=new mt(i,he(o),Oo);e.blueprint[r]=s,n[r]=s,Sy(e,t,r,fd(e,n,o.hostVars,Y),o)}function Sy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;ky(s)!=a&&s.push(a),s.push(n,r,i)}}function ky(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ry(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function Oy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ad(e,t,n,r,o,i,s,a){let c=t.consts,l=Ge(c,s),u=on(t,e,2,r,l);return i&&xa(t,n,u,Ge(c,a),o),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),u.attrs!==null&&cs(u,u.attrs,!1),u.mergedAttrs!==null&&cs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Pd(e,t){ra(e,t),Ws(t)&&e.queries.elementEnd(t)}var Kr=class extends Ro{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=We(t);return new yt(n,this.ngModule)}};function Ay(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&xo.SignalBased)!==0};return o&&(i.transform=o),i})}function Py(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Ly(e,t,n){let r=t instanceof ze?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new as(n,r):n}function Fy(e){let t=e.get(Jr,null);if(t===null)throw new C(407,!1);let n=e.get(Dy,null),r=e.get(Qe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function jy(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return cd(t,n,n==="svg"?ru:n==="math"?Eh:null)}var yt=class extends Rd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Ay(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Py(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=hm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){S(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.13"]:gm(this.componentDef.selectors[0]),c=ha(0,null,null,1,0,null,null,null,null,[a],null),l=Ly(s,o||this.ngModule,t),u=Fy(l),d=u.rendererFactory.createRenderer(null,s),p=r?Cm(d,r,s.encapsulation,l):jy(s,d),f=ga(null,c,null,512|dd(s),null,null,u,d,l,null,Yu(p,l,!0));f[F]=p,ta(f);let h=null;try{let y=Ad(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(ud(d,p,y),tn(p,f)),_o(c,f,y),ua(c,y,f),Pd(c,y),n!==void 0&&Vy(y,this.ngContentSelectors,n),h=Me(y.index,f),f[H]=h[H],Ea(c,f,null)}catch(y){throw h!==null&&Wi(h),Wi(f),y}finally{S(23),na()}return new ls(this.componentType,f)}finally{b(i)}}},ls=class extends Ey{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=zs(n[D],F),this.location=en(this._tNode,n),this.instance=Me(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Tn(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Ia(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);Ca(s,1)}get injector(){return new lt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Vy(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 _a=(()=>{class e{static __NG_ELEMENT_ID__=Hy}return e})();function Hy(){let e=Q();return Fd(e,g())}var By=_a,Ld=class extends By{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return en(this._hostTNode,this._hostLView)}get injector(){return new lt(this._hostTNode,this._hostLView)}get parentInjector(){let t=oa(this._hostTNode,this._hostLView);if(Du(t)){let n=Br(t,this._hostLView),r=Hr(t),o=n[D].data[r+8];return new lt(o,n)}else return new lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=rl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ut(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!mh(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 yt(We(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(ze,null);y&&(i=y)}let u=We(c.componentType??{}),d=Ut(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,$t(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Ld(c,c[ne],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Vn(s,o,i,r),t.attachToViewContainerRef(),Vl(vi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=rl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(Or(vi(this._lContainer),n),To(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&Or(vi(this._lContainer),n)!=null?new Tn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function rl(e){return e[Fr]}function vi(e){return e[Fr]||(e[Fr]=[])}function Fd(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=Td(r,t,null,e),t[e.index]=n,ma(t,n)),Uy(n,t,e,r),new Ld(n,e,t)}function $y(e,t){let n=e[P],r=n.createComment(""),o=xe(t,e),i=n.parentNode(o);return Zr(n,i,r,n.nextSibling(o),!1),r}var Uy=zy,qy=()=>!1;function Wy(e,t,n){return qy(e,t,n)}function zy(e,t,n,r){if(e[pt])return;let o;n.type&8?o=be(r):o=$y(t,n),e[pt]=o}var us=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ds=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++)Na(t,n).matches!==null&&this.queries[n].setDirty()}},Xr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Ky(t):this.predicate=t}},fs=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)}},ps=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,Gy(n,i)),this.matchTNodeWithReadOption(t,n,_r(n,t,i,!1,!1))}else r===Yr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_r(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Do||o===_a||o===Yr&&n.type&4)this.addMatch(n.index,-2);else{let i=_r(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 Gy(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 Zy(e,t){return e.type&11?en(e,t):e.type&4?ko(e,t):null}function Qy(e,t,n,r){return n===-1?Zy(t,e):n===-2?Yy(e,t,r):Mn(e,e[D],n,t)}function Yy(e,t,n){if(n===Do)return en(t,e);if(n===Yr)return ko(t,e);if(n===_a)return Fd(t,e)}function jd(e,t,n,r){let o=t[Oe].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(Qy(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function hs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=jd(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=z;d<u.length;d++){let p=u[d];p[dt]===p[G]&&hs(p[D],p,l,r)}if(u[Ht]!==null){let d=u[Ht];for(let p=0;p<d.length;p++){let f=d[p];hs(f[D],f,l,r)}}}}}return r}function Ta(e,t){return e[Oe].queries[t].queryList}function Vd(e,t,n){let r=new qi((n&4)===4);return xh(e,t,r,r.destroy),(t[Oe]??=new ds).queries.push(new us(r))-1}function Jy(e,t,n){let r=O();return r.firstCreatePass&&(Bd(r,new Xr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Vd(r,g(),t)}function Hd(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Q();Bd(o,new Xr(t,n,r),i.index),Xy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Vd(o,g(),n)}function Ky(e){return e.split(",").map(t=>t.trim())}function Bd(e,t,n){e.queries===null&&(e.queries=new fs),e.queries.track(new ps(t,n))}function Xy(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 Na(e,t){return e.queries.getByIndex(t)}function $d(e,t){let n=e[D],r=Na(n,t);return r.crossesNgTemplate?hs(n,e,t,[]):jd(n,e,r,t)}function Sa(e,t,n){let r,o=yr(()=>{r._dirtyCounter();let i=ov(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[W],r._dirtyCounter=hg(0),r._flatValue=void 0,o}function ev(e){return Sa(!0,!1,e)}function tv(e){return Sa(!0,!0,e)}function nv(e){return Sa(!1,!1,e)}function rv(e,t){let n=e[W];n._lView=g(),n._queryIndex=t,n._queryList=Ta(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function ov(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=Ta(n,r),i=$d(n,r);return o.reset(i,Fu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function ol(e,t){return ev(t)}function iv(e,t){return tv(t)}var XN=(ol.required=iv,ol);function eS(e,t){return nv(t)}function Ud(e,t){let n=Object.create(Cl),r=new zr;n.value=e;function o(){return st(n),il(n.value),n.value}return o[W]=n,o.asReadonly=ju.bind(o),o.set=i=>{n.equal(n.value,i)||(St(n,i),r.emit(i))},o.update=i=>{il(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function il(e){if(e===co)throw new C(952,!1)}function sl(e,t){return Ud(e,t)}function sv(e){return Ud(co,e)}var tS=(sl.required=sv,sl);var Nn=class{},av=class{};function oS(e,t){return new eo(e,t??null,[])}var eo=class extends Nn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Kr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=$l(t);this._bootstrapComponents=id(i.bootstrap),this._r3Injector=ku(t,n,[{provide:Nn,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver},...r],te(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)}},gs=class extends av{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new eo(this.moduleType,t,[])}};var to=class extends Nn{injector;componentFactoryResolver=new Kr(this);instance=null;constructor(t){super();let n=new Dn([...t.providers,{provide:Nn,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver}],t.parent||po(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function cv(e,t,n=null){return new to({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var lv=(()=>{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=Wl(!1,n.type),o=r.length>0?cv([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=U({token:e,providedIn:"environment",factory:()=>new e(qe(ze))})}return e})();function iS(e){return Rn(()=>{let t=qd(e),n=X(K({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(lv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&nn("NgStandalone"),Wd(n);let r=e.dependencies;return n.directiveDefs=al(r,!1),n.pipeDefs=al(r,!0),n.id=hv(n),n})}function uv(e){return We(e)||Ul(e)}function dv(e){return e!==null}function sS(e){return Rn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fv(e,t){if(e==null)return De;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=xo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function pv(e){if(e==null)return De;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function aS(e){return Rn(()=>{let t=qd(e);return Wd(t),t})}function cS(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 qd(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,inputConfig:e.inputs||De,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fv(e.inputs,t),outputs:pv(e.outputs),debugInfo:null}}function Wd(e){e.features?.forEach(t=>t(e))}function al(e,t){if(!e)return null;let n=t?ih:uv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(dv)}function hv(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 gv(e){return Object.getPrototypeOf(e.prototype).constructor}function mv(e){let t=gv(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ii(e.inputs),s.declaredInputs=Ii(e.declaredInputs),s.outputs=Ii(e.outputs);let a=o.hostBindings;a&&wv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Iv(e,c),l&&Ev(e,l),yv(e,o),Fp(e.outputs,o.outputs),he(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===mv&&(n=!1)}}t=Object.getPrototypeOf(t)}vv(r)}function yv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function vv(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=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}function Ii(e){return e===De?{}:e===J?[]:e}function Iv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ev(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function wv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function lS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=zd,n.hostDirectives=r?e.map(ms):[e]):r?n.hostDirectives.unshift(...e.map(ms)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function zd(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)cl(ms(i),t,n)}else cl(r,t,n)}function cl(e,t,n){let r=Ul(e.directive);Dv(r.declaredInputs,e.inputs),zd(r,t,n),n.set(r,e),t.push(r)}function ms(e){return typeof e=="function"?{directive:$(e),inputs:De,outputs:De}:{directive:$(e.directive),inputs:ll(e.inputs),outputs:ll(e.outputs)}}function ll(e){if(e===void 0||e.length===0)return De;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Dv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Gd(e){return ka(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function bv(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 ka(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function _e(e,t,n){return e[t]=n}function Hn(e,t){return e[t]}function Z(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function qt(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Ra(e,t,n,r,o){let i=qt(e,t,n,r);return Z(e,t+2,o)||i}function Wt(e,t,n,r,o,i){let s=qt(e,t,n,r);return qt(e,t+2,o,i)||s}function Mv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=on(t,e,4,s||null,a||null);Js()&&xa(t,n,u,Ge(l,c),va),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),ra(t,u);let d=u.tView=ha(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 no(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?Mv(u,t,e,r,o,i,s,a,c):t.data[u];Je(d,!1);let p=xv(t,e,d,n);Io()&&No(t,e,p,d),tn(p,e);let f=Td(p,e,p,d);return e[u]=f,ma(e,f),Wy(f,d,e),go(d)&&_o(t,e,d),c!=null&&ya(e,d,l),d}function Cv(e,t,n,r,o,i,s,a){let c=g(),l=O(),u=Ge(l.consts,i);return no(c,l,e,t,n,r,o,u,s,a),Cv}var xv=_v;function _v(e,t,n,r){return Eo(!0),t[P].createComment("")}var uS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Tv=new k("");var Zd=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new ys})}return e})(),ys=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()}};function Qd(e){return!!e&&typeof e.then=="function"}function Nv(e){return!!e&&typeof e.subscribe=="function"}var Yd=new k("");function dS(e){return ql([{provide:Yd,multi:!0,useValue:e}])}var Jd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(Yd,{optional:!0})??[];injector=T(Ze);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Yl(this.injector,o);if(Qd(i))n.push(i);else if(Nv(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sv=new k("");function kv(){si(()=>{throw new C(600,!1)})}function Rv(e){return e.isBoundToModule}var Ov=10;var Sn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T(ug);afterRenderManager=T(la);zonelessEnabled=T(ia);rootEffectScheduler=T(Zd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ae;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=T(wo).hasPendingTasks.pipe(Ie(n=>!n));constructor(){T(Pn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(ze);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ze.NULL){S(10);let i=n instanceof Rd;if(!this._injector.get(Jd).done){let f="";throw new C(405,f)}let a;i?a=n:a=this._injector.get(Ro).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Rv(a)?void 0:this._injector.get(Nn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(Tv,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Tr(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),S(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){S(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ca.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new C(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),S(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Jr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Ov;)S(14),this.synchronizeOnce(),S(15)}synchronizeOnce(){if(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)Av(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})=>mo(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;Tr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sv,[]).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),()=>Tr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Tr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Av(e,t,n,r){if(!n&&!mo(e))return;Md(e,t,n&&!r?0:1)}function Pv(e,t,n,r){let o=g(),i=Ke();if(Z(o,i,t)){let s=O(),a=Kt();Om(a,o,e,t,n,r)}return Pv}function Kd(e,t,n,r){return Z(e,Ke(),n)?t+we(n)+r:Y}function Lv(e,t,n,r,o,i){let s=fu(),a=qt(e,s,n,o);return yo(2),a?t+we(n)+r+we(o)+i:Y}function Fv(e,t,n,r,o,i,s,a){let c=fu(),l=Ra(e,c,n,o,s);return yo(3),l?t+we(n)+r+we(o)+i+we(s)+a:Y}function br(e,t){return e<<17|t<<2}function vt(e){return e>>17&32767}function jv(e){return(e&2)==2}function Vv(e,t){return e&131071|t<<17}function vs(e){return e|2}function zt(e){return(e&131068)>>2}function Ei(e,t){return e&-131069|t<<2}function Hv(e){return(e&1)===1}function Is(e){return e|1}function Bv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=vt(s),c=zt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||On(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=vt(e[a+1]);e[r+1]=br(p,a),p!==0&&(e[p+1]=Ei(e[p+1],r)),e[a+1]=Vv(e[a+1],r)}else e[r+1]=br(a,0),a!==0&&(e[a+1]=Ei(e[a+1],r)),a=r;else e[r+1]=br(c,0),a===0?a=r:e[c+1]=Ei(e[c+1],r),c=r;l&&(e[r+1]=vs(e[r+1])),ul(e,u,r,!0),ul(e,u,r,!1),$v(t,u,e,r,i),s=br(a,c),i?t.classBindings=s:t.styleBindings=s}function $v(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&On(i,t)>=0&&(n[r+1]=Is(n[r+1]))}function ul(e,t,n,r){let o=e[n+1],i=t===null,s=r?vt(o):zt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Uv(c,t)&&(a=!0,e[s+1]=r?Is(l):vs(l)),s=r?vt(l):zt(l)}a&&(e[n+1]=r?vs(o):Is(o))}function Uv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?On(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Xd(e){return e.substring(V.key,V.keyEnd)}function qv(e){return e.substring(V.value,V.valueEnd)}function Wv(e){return nf(e),ef(e,Gt(e,0,V.textEnd))}function ef(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=Gv(e,V.key=t,n),Gt(e,t,n))}function zv(e){return nf(e),tf(e,Gt(e,0,V.textEnd))}function tf(e,t){let n=V.textEnd,r=V.key=Gt(e,t,n);return n===r?-1:(r=V.keyEnd=Zv(e,r,n),r=dl(e,r,n,58),r=V.value=Gt(e,r,n),r=V.valueEnd=Qv(e,r,n),dl(e,r,n,59))}function nf(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function Gt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Zv(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 dl(e,t,n,r){return t=Gt(e,t,n),t<n&&t++,t}function Qv(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=fl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=fl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function fl(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 Yv(e,t,n){let r=g(),o=Ke();if(Z(r,o,t)){let i=O(),s=Kt();Fn(i,s,r,e,t,r[P],n,!1)}return Yv}function Es(e,t,n,r,o){Ia(t,e,n,o?"class":"style",r)}function Jv(e,t,n){return rf(e,t,n,!1),Jv}function Kv(e,t){return rf(e,t,null,!0),Kv}function fS(e){of(cf,Xv,e,!1)}function Xv(e,t){for(let n=zv(t);n>=0;n=tf(t,n))cf(e,Xd(t),qv(t))}function pS(e){of(sI,eI,e,!0)}function eI(e,t){for(let n=Wv(t);n>=0;n=ef(t,n))fo(e,Xd(t),!0)}function rf(e,t,n,r){let o=g(),i=O(),s=yo(2);if(i.firstUpdatePass&&af(i,e,s,r),t!==Y&&Z(o,s,t)){let a=i.data[ge()];lf(i,a,o,o[P],e,o[s+1]=cI(t,n),r,s)}}function of(e,t,n,r){let o=O(),i=yo(2);o.firstUpdatePass&&af(o,null,i,r);let s=g();if(n!==Y&&Z(s,i,n)){let a=o.data[ge()];if(uf(a,r)&&!sf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=_i(c,n||"")),Es(o,a,s,n,r)}else aI(o,a,s,s[P],s[i+1],s[i+1]=iI(e,t,n),r,i)}}function sf(e,t){return t>=e.expandoStartIndex}function af(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ge()],s=sf(e,n);uf(i,r)&&t===null&&!s&&(t=!1),t=tI(o,i,t,r),Bv(o,i,t,n,s,r)}}function tI(e,t,n,r){let o=pu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=wi(null,e,t,n,r),n=kn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=wi(o,e,t,n,r),i===null){let c=nI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=wi(null,e,t,c[1],r),c=kn(c,t.attrs,r),rI(e,t,r,c))}else i=oI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function nI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zt(r)!==0)return e[vt(r)]}function rI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[vt(o)]=r}function oI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=kn(r,s,n)}return kn(r,t.attrs,n)}function wi(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=kn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function kn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),fo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function iI(e,t,n){if(n==null||n==="")return J;let r=[],o=rn(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 cf(e,t,n){fo(e,t,rn(n))}function sI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&fo(e,r,n)}function aI(e,t,n,r,o,i,s,a){o===Y&&(o=J);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,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&lf(e,t,n,r,h,y,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=Hv(l)?pl(c,t,n,o,zt(l),s):void 0;if(!ro(u)){ro(i)||jv(l)&&(i=pl(c,null,n,o,a,s));let d=ou(ge(),n);Km(r,s,d,o,i)}}function pl(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===Y&&(p=d?J:void 0);let f=d?di(p,r):u===r?p:void 0;if(l&&!ro(f)&&(f=di(c,r)),ro(f)&&(a=f,s))return a;let h=e[o+1];o=s?vt(h):zt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=di(c,r))}return a}function ro(e){return e!==void 0}function cI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te(rn(e)))),e}function uf(e,t){return(e.flags&(t?8:16))!==0}var ws=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Di(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lI(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=Di(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=Di(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,l),A=n(s,p),N=n(i,u);if(Object.is(N,A)){let me=n(c,f);Object.is(me,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new oo,o??=gl(e,i,s,n),Ds(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(y,e.detach(i)),s--;else{let me=e.create(i,t[i]);e.attach(i,me),i++,s++}}for(;i<=c;)hl(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=Di(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new oo,o??=gl(e,i,s,n);let f=n(i,d);if(Ds(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;)hl(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 Ds(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function hl(e,t,n,r,o){if(Ds(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function gl(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 oo=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 hS(e,t){nn("NgControlFlow");let n=g(),r=Ke(),o=n[r]!==Y?n[r]:-1,i=o!==-1?io(n,F+o):void 0,s=0;if(Z(n,r,e)){let a=b(null);try{if(i!==void 0&&Sd(i,s),e!==-1){let c=F+e,l=io(n,c),u=xs(n[D],c),d=Ut(l,u.tView.ssrId),p=jn(n,u,t,{dehydratedView:d});Vn(l,p,s,$t(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Nd(i,s);a!==void 0&&(a[H]=t)}}var bs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function gS(e){return e}function mS(e,t){return t}var Ms=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function yS(e,t,n,r,o,i,s,a,c,l,u,d,p){nn("NgControlFlow");let f=g(),h=O(),y=c!==void 0,A=g(),N=a?s.bind(A[oe][H]):s,me=new Ms(y,N);A[F+e]=me,no(f,h,e+1,t,n,r,o,Ge(h.consts,i)),y&&no(f,h,e+2,c,l,u,d,Ge(h.consts,p))}var Cs=class extends ws{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-z}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,Vn(this.lContainer,n,t,$t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,uI(this.lContainer,t)}create(t,n){let r=Ut(this.lContainer,this.templateTNode.tView.ssrId),o=jn(this.hostLView,this.templateTNode,new bs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){To(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return dI(this.lContainer,t)}};function vS(e){let t=b(null),n=ge();try{let r=g(),o=r[D],i=r[n],s=n+1,a=io(r,s);if(i.liveCollection===void 0){let l=xs(o,s);i.liveCollection=new Cs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(lI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ke(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=io(r,d);if(u){let f=xs(o,d),h=Ut(p,f.tView.ssrId),y=jn(r,f,void 0,{dehydratedView:h});Vn(p,y,0,$t(f,h))}else Sd(p,0)}}}finally{b(t)}}function io(e,t){return e[t]}function uI(e,t){return _n(e,t)}function dI(e,t){return Nd(e,t)}function xs(e,t){return zs(e,t)}function df(e,t,n,r){let o=g(),i=O(),s=F+e,a=o[P],c=i.firstCreatePass?Ad(s,i,o,t,va,Js(),n,r):i.data[s],l=pI(i,o,c,a,t,e);o[s]=l;let u=go(c);return Je(c,!0),ud(a,l,c),!Da(c)&&Io()&&No(i,o,l,c),(_h()===0||u)&&tn(l,o),Th(),u&&(_o(i,o,c),ua(i,c,o)),r!==null&&ya(o,c),df}function ff(){let e=Q();Ks()?Xs():(e=e.parent,Je(e,!1));let t=e;Sh(t)&&kh(),Nh();let n=O();return n.firstCreatePass&&Pd(n,t),t.classesWithoutHost!=null&&Uh(t)&&Es(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&qh(t)&&Es(n,t,g(),t.stylesWithoutHost,!1),ff}function fI(e,t,n,r){return df(e,t,n,r),ff(),fI}var pI=(e,t,n,r,o,i)=>(Eo(!0),cd(r,o,Hh()));function hI(e,t,n,r,o){let i=t.consts,s=Ge(i,r),a=on(t,e,8,"ng-container",s);s!==null&&cs(a,s,!0);let c=Ge(i,o);return Js()&&xa(t,n,a,c,va),a.mergedAttrs=Bt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function pf(e,t,n){let r=g(),o=O(),i=e+F,s=o.firstCreatePass?hI(i,o,r,t,n):o.data[i];Je(s,!0);let a=mI(o,r,s,e);return r[i]=a,Io()&&No(o,r,a,s),tn(a,r),go(s)&&(_o(o,r,s),ua(o,s,r)),n!=null&&ya(r,s),pf}function hf(){let e=Q(),t=O();return Ks()?Xs():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(ra(t,e),Ws(e)&&t.queries.elementEnd(e)),hf}function gI(e,t,n){return pf(e,t,n),hf(),gI}var mI=(e,t,n,r)=>(Eo(!0),vm(t[P],""));function IS(){return g()}function yI(e,t,n){let r=g(),o=Ke();if(Z(r,o,t)){let i=O(),s=Kt();Fn(i,s,r,e,t,r[P],n,!0)}return yI}function vI(e,t,n){let r=g(),o=Ke();if(Z(r,o,t)){let i=O(),s=Kt(),a=pu(i.data),c=Lm(a,s,r);Fn(i,s,r,e,t,c,n,!0)}return vI}var at=void 0;function II(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var EI=["en",[["a","p"],["AM","PM"],at],[["AM","PM"],at,at],[["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"]],at,[["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"]],at,[["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}",at,"{1} 'at' {0}",at],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",II],bi={};function ES(e){let t=DI(e),n=ml(t);if(n)return n;let r=t.split("-")[0];if(n=ml(r),n)return n;if(r==="en")return EI;throw new C(701,!1)}function ml(e){return e in bi||(bi[e]=He.ng&&He.ng.common&&He.ng.common.locales&&He.ng.common.locales[e]),bi[e]}var wI=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}(wI||{});function DI(e){return e.toLowerCase().replace(/_/g,"-")}var so="en-US";var bI=so;function MI(e){typeof e=="string"&&(bI=e.toLowerCase().replace(/_/g,"-"))}function yl(e,t,n){return function r(o){if(o===Function)return n;let i=Qt(e)?Me(e.index,t):t;Ca(i,5);let s=t[H],a=vl(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=vl(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function vl(e,t,n,r){let o=b(null);try{return S(6,t,n),n(r)!==!1}catch(i){return CI(e,i),!1}finally{S(7,t,n),b(o)}}function CI(e,t){let n=e[Vt],r=n?n.get(Ye,null):null;r&&r.handleError(t)}function Il(e,t,n,r,o,i){let s=t[n],a=t[D],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?Ys(a):null,p=Qs(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function xI(e,t,n,r){let o=g(),i=O(),s=Q();return gf(i,o,o[P],s,e,t,r),xI}function _I(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Lr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gf(e,t,n,r,o,i,s){let a=go(r),l=e.firstCreatePass?Ys(e):null,u=Qs(t),d=!0;if(r.type&3||s){let p=xe(r,t),f=s?s(p):p,h=u.length,y=s?N=>s(be(N[r.index])):r.index,A=null;if(!s&&a&&(A=_I(e,t,o,r.index)),A!==null){let N=A.__ngLastListenerFn__||A;N.__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,d=!1}else{i=yl(r,t,i),Sg(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,y,h,h+1)}}else i=yl(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let y=f[h],A=f[h+1];Il(r,t,y,A,o,i)}if(p&&p.length)for(let h of p)Il(r,t,h,o,o,i)}}function wS(e=1){return jh(e)}function TI(e,t){let n=null,r=lm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ad(e,i,!0):fm(r,i))return o}return n}function DS(e){let t=g()[oe][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=nh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?TI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function bS(e,t=0,n,r,o,i){let s=g(),a=O(),c=r?e+1:null;c!==null&&no(s,a,c,r,o,i,null,n);let l=on(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),Xs();let d=!s[jt]||cu();s[oe][ne].projection[l.projection]===null&&c!==null?NI(s,a,c):d&&!Da(l)&&Ym(a,s,l)}function NI(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=Ut(i,o.tView.ssrId),a=jn(e,o,void 0,{dehydratedView:s});Vn(i,a,0,$t(o,s))}function SI(e,t,n){return mf(e,"",t,"",n),SI}function mf(e,t,n,r,o){let i=g(),s=Kd(i,t,n,r);if(s!==Y){let a=O(),c=Kt();Fn(a,c,i,e,s,i[P],o,!1)}return mf}function MS(e,t,n,r){Hd(e,t,n,r)}function CS(e,t,n){Jy(e,t,n)}function xS(e){let t=g(),n=O(),r=ea();vo(r+1);let o=Na(n,r);if(e.dirty&&Dh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=$d(t,r);e.reset(i,Fu),e.notifyOnChanges()}return!0}return!1}function _S(){return Ta(g(),ea())}function TS(e,t,n,r,o){rv(t,Hd(e,n,r,o))}function NS(e=1){vo(ea()+e)}function SS(e){let t=uu();return An(t,F+e)}function kS(e,t=""){let n=g(),r=O(),o=e+F,i=r.firstCreatePass?on(r,o,1,t,null):r.data[o],s=kI(r,n,i,t,e);n[o]=s,Io()&&No(r,n,s,i),Je(i,!1)}var kI=(e,t,n,r,o)=>(Eo(!0),mm(t[P],r));function RI(e){return yf("",e,""),RI}function yf(e,t,n){let r=g(),o=Kd(r,e,t,n);return o!==Y&&Oa(r,ge(),o),yf}function OI(e,t,n,r,o){let i=g(),s=Lv(i,e,t,n,r,o);return s!==Y&&Oa(i,ge(),s),OI}function AI(e,t,n,r,o,i,s){let a=g(),c=Fv(a,e,t,n,r,o,i,s);return c!==Y&&Oa(a,ge(),c),AI}function Oa(e,t,n){let r=ou(t,e);ym(e[P],r,n)}function PI(e,t,n){Vu(t)&&(t=t());let r=g(),o=Ke();if(Z(r,o,t)){let i=O(),s=Kt();Fn(i,s,r,e,t,r[P],n,!1)}return PI}function RS(e,t){let n=Vu(e);return n&&e.set(t),n}function LI(e,t){let n=g(),r=O(),o=Q();return gf(r,n,n[P],o,e,t),LI}var vf={};function FI(e){let t=O(),n=g(),r=e+F,o=on(t,r,128,null,null);return Je(o,!1),Gs(t,n,r,vf),FI}function OS(e){nn("NgLet");let t=O(),n=g(),r=ge();return Gs(t,n,r,e),e}function AS(e){let t=uu(),n=An(t,F+e);if(n===vf)throw new C(314,!1);return n}function jI(e,t,n){let r=O();if(r.firstCreatePass){let o=he(e);_s(n,r.data,r.blueprint,o,!0),_s(t,r.data,r.blueprint,o,!1)}}function _s(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)_s(e[i],t,n,r,o);else{let i=O(),s=g(),a=Q(),c=Ft(e)?e:$(e.provide),l=Ql(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new mt(l,o,Oo),h=Ci(c,t,o?u:u+p,d);h===-1?(Vi(Ur(a,s),i,c),Mi(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=Ci(c,t,u+p,d),h=Ci(c,t,u,u+p),y=f>=0&&n[f],A=h>=0&&n[h];if(o&&!A||!o&&!y){Vi(Ur(a,s),i,c);let N=BI(o?HI:VI,n.length,o,r,l);!o&&A&&(n[h].providerFactory=N),Mi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=If(n[o?h:f],l,!o&&r);Mi(i,e,f>-1?f:h,N)}!o&&r&&A&&n[h].componentProviders++}}}function Mi(e,t,n,r){let o=Ft(t),i=uh(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 If(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ci(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function VI(e,t,n,r,o){return Ts(this.multi,[])}function HI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Mn(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),Ts(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ts(i,s);return s}function Ts(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function BI(e,t,n,r,o){let i=new mt(e,n,Oo);return i.multi=[],i.index=t,i.componentProviders=0,If(i,o,r&&!n),i}function PS(e,t=[]){return n=>{n.providersResolver=(r,o)=>jI(r,o?o(e):e,t)}}function LS(e,t,n){let r=ie()+e,o=g();return o[r]===Y?_e(o,r,n?t.call(n):t()):Hn(o,r)}function FS(e,t,n,r){return Ef(g(),ie(),e,t,n,r)}function jS(e,t,n,r,o){return wf(g(),ie(),e,t,n,r,o)}function VS(e,t,n,r,o,i){return Df(g(),ie(),e,t,n,r,o,i)}function HS(e,t,n,r,o,i,s){return $I(g(),ie(),e,t,n,r,o,i,s)}function BS(e,t,n,r,o,i,s,a){let c=ie()+e,l=g(),u=Wt(l,c,n,r,o,i);return Z(l,c+4,s)||u?_e(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Hn(l,c+5)}function $S(e,t,n,r,o,i,s,a,c){let l=ie()+e,u=g(),d=Wt(u,l,n,r,o,i);return qt(u,l+4,s,a)||d?_e(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Hn(u,l+6)}function US(e,t,n,r,o,i,s,a,c,l){let u=ie()+e,d=g(),p=Wt(d,u,n,r,o,i);return Ra(d,u+4,s,a,c)||p?_e(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Hn(d,u+7)}function qS(e,t,n,r,o,i,s,a,c,l,u){let d=ie()+e,p=g(),f=Wt(p,d,n,r,o,i);return Wt(p,d+4,s,a,c,l)||f?_e(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Hn(p,d+8)}function WS(e,t,n,r){return UI(g(),ie(),e,t,n,r)}function Bn(e,t){let n=e[t];return n===Y?void 0:n}function Ef(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?_e(e,s+1,i?r.call(i,o):r(o)):Bn(e,s+1)}function wf(e,t,n,r,o,i,s){let a=t+n;return qt(e,a,o,i)?_e(e,a+2,s?r.call(s,o,i):r(o,i)):Bn(e,a+2)}function Df(e,t,n,r,o,i,s,a){let c=t+n;return Ra(e,c,o,i,s)?_e(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Bn(e,c+3)}function $I(e,t,n,r,o,i,s,a,c){let l=t+n;return Wt(e,l,o,i,s,a)?_e(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Bn(e,l+4)}function UI(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)Z(e,s++,o[c])&&(a=!0);return a?_e(e,s,r.apply(i,o)):Bn(e,s)}function zS(e,t){let n=O(),r,o=e+F;n.firstCreatePass?(r=qI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ut(r.type,!0)),s,a=ee(Oo);try{let c=$r(!1),l=i();return $r(c),Gs(n,g(),o,l),l}finally{ee(a)}}function qI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function GS(e,t,n){let r=e+F,o=g(),i=An(o,r);return Aa(o,r)?Ef(o,ie(),t,i.transform,n,i):i.transform(n)}function ZS(e,t,n,r){let o=e+F,i=g(),s=An(i,o);return Aa(i,o)?wf(i,ie(),t,s.transform,n,r,s):s.transform(n,r)}function QS(e,t,n,r,o){let i=e+F,s=g(),a=An(s,i);return Aa(s,i)?Df(s,ie(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Aa(e,t){return e[D].data[t].pure}function YS(e,t){return ko(e,t)}var Ns=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},JS=(()=>{class e{compileModuleSync(n){return new gs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=$l(n),i=id(o.declarations).reduce((s,a)=>{let c=We(a);return c&&s.push(new yt(c)),s},[]);return new Ns(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var WI=(()=>{class e{zone=T(re);changeDetectionScheduler=T(Qe);applicationRef=T(Sn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zI=new k("",{factory:()=>!1});function bf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(X(K({},Mf()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:Ar,multi:!0,useFactory:()=>{let r=T(WI,{optional:!0});return()=>r.initialize()}},{provide:Ar,multi:!0,useFactory:()=>{let r=T(GI);return()=>{r.initialize()}}},t===!0?{provide:Ou,useValue:!0}:[],{provide:Au,useValue:n??Ru}]}function KS(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=bf({ngZoneFactory:()=>{let o=Mf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&nn("NgZone_CoalesceEvent"),new re(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return ql([{provide:zI,useValue:!0},{provide:ia,useValue:!1},r])}function Mf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GI=(()=>{class e{subscription=new L;initialized=!1;zone=T(re);pendingTasks=T(wo);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(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ZI=(()=>{class e{appRef=T(Sn);taskService=T(wo);ngZone=T(re);zonelessEnabled=T(ia);tracing=T(Pn,{optional:!0});disableScheduling=T(Ou,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(Au,{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 Ui||!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 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Vc:Pu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Vc(()=>{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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QI(){return typeof $localize<"u"&&$localize.locale||so}var Cf=new k("",{providedIn:"root",factory:()=>T(Cf,_.Optional|_.SkipSelf)||QI()});var Ss=new k(""),YI=new k("");function vn(e){return!e.moduleRef}function JI(e){let t=vn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{vn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ye,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),vn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ss);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ss);s.add(i),e.moduleRef.onDestroy(()=>{Tr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return XI(r,n,()=>{let i=t.get(Jd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Cf,so);if(MI(s||so),!t.get(YI,!0))return vn(e)?t.get(Sn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vn(e)){let c=t.get(Sn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return KI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function KI(e,t){let n=e.injector.get(Sn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}function XI(e,t,n){try{let r=n();return Qd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Nr=null;function eE(e=[],t){return Ze.create({name:t,providers:[{provide:Zl,useValue:"platform"},{provide:Ss,useValue:new Set([()=>Nr=null])},...e]})}function tE(e=[]){if(Nr)return Nr;let t=eE(e);return Nr=t,kv(),nE(t),t}function nE(e){let t=e.get(Eg,null);Yl(e,()=>{t?.forEach(n=>n())})}var XS=(()=>{class e{static __NG_ELEMENT_ID__=rE}return e})();function rE(e){return oE(Q(),g(),(e&16)===16)}function oE(e,t,n){if(Qt(e)&&!n){let r=Me(e.index,t);return new Tn(r,r)}else if(e.type&175){let r=t[oe];return new Tn(r,t)}return null}var ks=class{constructor(){}supports(t){return Gd(t)}create(t){return new Rs(t)}},iE=(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||iE}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<El(r,o,i)?n:r,a=El(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=[]),!Gd(t))throw new C(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,bv(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 Os(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 ao),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 ao),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}},Os=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}},As=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}},ao=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new As,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 El(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 Ps=class{constructor(){}supports(t){return t instanceof Map||ka(t)}create(){return new Ls}},Ls=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||ka(t)))throw new C(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 Fs(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))}},Fs=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function wl(){return new sE([new ks])}var sE=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:wl});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||wl()),deps:[[e,new jl,new Fl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function Dl(){return new aE([new Ps])}var aE=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:Dl});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||Dl()),deps:[[e,new jl,new Fl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function ek(e){S(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tE(r),i=[bf({}),{provide:Qe,useExisting:ZI},...n||[]],s=new to({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return JI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{S(9)}}function tk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function nk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function rk(e){return li(e)}function ok(e,t){return yr(e,t?.equal)}var js=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function cE(e,t){!t?.injector&&Us(cE);let n=t?.injector??T(Ze),r=t?.manualCleanup!==!0?n.get(Xt):null,o,i=n.get(bo,null,{optional:!0}),s=n.get(Qe);return i!==null&&!t?.forceRoot?(o=dE(i.view,s,e),r instanceof qr&&r._lView===i.view&&(r=null)):o=fE(e,n.get(Zd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new js(o)}var xf=X(K({},Tt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Cn,run(){if(this.dirty=!1,this.hasRun&&!hn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Nt(this),n=Vr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Vr(n),pn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),lE=X(K({},xf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){gn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),uE=X(K({},xf),{consumerMarkedDirty(){this.view[E]|=8192,Jt(this.view),this.notifier.notify(13)},destroy(){gn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ft]?.delete(this)}});function dE(e,t,n){let r=Object.create(uE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ft]??=new Set,e[ft].add(r),r.consumerMarkedDirty(r),r}function fE(e,t,n){let r=Object.create(lE);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(12),r}var xi=Symbol("NOT_SET"),_f=new Set,pE=X(K({},mn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:xi,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==xi&&!hn(this))return this.signal;try{for(let o of this.cleanup??_f)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Nt(this),r;try{r=this.userFn.apply(null,t)}finally{pn(this,n)}return(this.value===xi||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Vs=class extends Gr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i,s),this.scheduler=o;for(let a of Zu){let c=n[a];if(c===void 0)continue;let l=Object.create(pE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(st(l),l.value),l.signal[W]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)for(let n of t?.cleanup??_f)n()}};function hE(e,t){!t?.injector&&Us(hE);let n=t?.injector??T(Ze),r=n.get(Qe),o=n.get(la),i=n.get(Pn,null,{optional:!0});o.impl??=n.get(Qu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(bo,null,{optional:!0}),c=new Vs(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n.get(Xt),i?.snapshot(null));return o.impl.register(c),c}function ik(e,t){let n=We(e),r=t.elementInjector||po();return new yt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function sk(e){let t=We(e);if(!t)return null;let n=new yt(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{L as a,se as b,kf as c,x as d,zo as e,Go as f,ae as g,sn as h,ln as i,Kf as j,Ne as k,ve as l,Uo as m,Xf as n,ep as o,ot as p,ac as q,cc as r,Ie as s,Zf as t,ce as u,un as v,Ve as w,np as x,rp as y,Zo as z,it as A,up as B,dp as C,Se as D,pp as E,hp as F,mp as G,yp as H,qo as I,gc as J,vp as K,Yf as L,dn as M,rt as N,Ip as O,nc as P,wp as Q,Dp as R,bp as S,Yo as T,Mp as U,Cp as V,oc as W,vc as X,ic as Y,Ic as Z,sc as _,xp as $,C as aa,Tl as ba,U as ca,yN as da,vN as ea,k as fa,_ as ga,qe as ha,T as ia,ql as ja,sh as ka,Zl as la,ze as ma,Yl as na,Us as oa,IN as pa,EN as qa,wN as ra,DN as sa,bN as ta,MN as ua,CN as va,Ze as wa,Xt as xa,Qe as ya,wo as za,Be as Aa,re as Ba,Ye as Ca,xN as Da,_N as Ea,Do as Fa,pg as Ga,hg as Ha,TN as Ia,NN as Ja,Eg as Ka,SN as La,kN as Ma,RN as Na,wg as Oa,ON as Pa,Pn as Qa,nn as Ra,Ot as Sa,xg as Ta,xn as Ua,rn as Va,da as Wa,AN as Xa,PN as Ya,LN as Za,FN as _a,jN as $a,Xu as ab,Qg as bb,Co as cb,VN as db,Jg as eb,HN as fb,BN as gb,$N as hb,UN as ib,rs as jb,Yr as kb,Ro as lb,Jr as mb,YN as nb,Oo as ob,JN as pb,_a as qb,XN as rb,eS as sb,tS as tb,Nn as ub,av as vb,oS as wb,cv as xb,iS as yb,sS as zb,aS as Ab,cS as Bb,mv as Cb,lS as Db,Cv as Eb,uS as Fb,Qd as Gb,Nv as Hb,dS as Ib,Sv as Jb,Sn as Kb,Pv as Lb,Yv as Mb,Jv as Nb,Kv as Ob,fS as Pb,pS as Qb,hS as Rb,gS as Sb,mS as Tb,yS as Ub,vS as Vb,df as Wb,ff as Xb,fI as Yb,pf as Zb,hf as _b,gI as $b,IS as ac,yI as bc,vI as cc,ES as dc,wI as ec,xI as fc,wS as gc,DS as hc,bS as ic,SI as jc,mf as kc,MS as lc,CS as mc,xS as nc,_S as oc,TS as pc,NS as qc,SS as rc,kS as sc,RI as tc,yf as uc,OI as vc,AI as wc,PI as xc,RS as yc,LI as zc,FI as Ac,OS as Bc,AS as Cc,PS as Dc,LS as Ec,FS as Fc,jS as Gc,VS as Hc,HS as Ic,BS as Jc,$S as Kc,US as Lc,qS as Mc,WS as Nc,zS as Oc,GS as Pc,ZS as Qc,QS as Rc,YS as Sc,JS as Tc,KS as Uc,Cf as Vc,XS as Wc,sE as Xc,aE as Yc,ek as Zc,tk as _c,nk as $c,rk as ad,ok as bd,cE as cd,hE as dd,ik as ed,sk as fd};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n,b as c}from"./chunk-U2VDC52W.js";import{Ha as h,bd as t,ca as r,cd as a,ia as l}from"./chunk-6QJHEOXN.js";var p=(()=>{class o{constructor(){this._userRoles=h([]),this.tokenService=l(c),this.coa=t(()=>({view:this.hasRole("Coa"),create:this.hasRole("CoaC"),edit:this.hasRole("CoaE"),delete:this.hasRole("CoaD")})),this.journal=t(()=>({view:this.hasRole("Journal"),create:this.hasRole("JournalC"),edit:this.hasRole("JournalE"),delete:this.hasRole("JournalD")})),this.report=t(()=>({ledger:this.hasRole("ReportL"),finance:this.hasRole("ReportF")})),this.setup=t(()=>({view:this.hasRole("Setup"),migrate:this.hasRole("Migrate"),tools:this.hasRole("Tools"),recurring:this.hasRole("Recurring")})),this.global=t(()=>({export:this.hasRole("Export"),date:this.hasRole("Date"),number:this.hasRole("Number")})),this.user=t(()=>({view:this.hasRole("User"),edit:this.hasRole("UserE"),delete:this.hasRole("UserD"),create:this.hasRole("UserC")}));let e=localStorage.getItem("AUTH_TOKEN");e&&this.loadRolesFromToken(e),a(()=>{let s=this.tokenService.tokenSignal();s?this.loadRolesFromToken(s):this._userRoles.set([])})}loadRolesFromToken(e){if(e){let i=n(e)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];Array.isArray(i)&&i.length>0?this._userRoles.set(i):this._userRoles.set([])}}hasAnyRole(e){return e.some(s=>this._userRoles().includes(s))}refreshRoles(e){localStorage.setItem("AUTH_ROLES",JSON.stringify(e)),this._userRoles.set(e)}hasRole(e){return this._userRoles().includes(e)}static{this.\u0275fac=function(s){return new(s||o)}}static{this.\u0275prov=r({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{p as a};
|