homebridge-config-ui-x 5.0.0-beta.2 → 5.0.0-beta.21
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/CHANGELOG.md +76 -5
- package/README.md +6 -8
- package/dist/bin/fork.js +17 -7
- package/dist/bin/fork.js.map +1 -1
- package/dist/bin/hb-service.js +18 -8
- package/dist/bin/hb-service.js.map +1 -1
- package/dist/bin/standalone.js +17 -7
- package/dist/bin/standalone.js.map +1 -1
- package/dist/core/auth/auth.module.js +1 -1
- package/dist/core/auth/auth.module.js.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/dist/modules/config-editor/config-editor.controller.d.ts +1 -1
- package/dist/modules/config-editor/config-editor.service.d.ts +1 -1
- package/dist/modules/plugins/plugins.service.js +2 -2
- package/dist/modules/plugins/plugins.service.js.map +1 -1
- package/package.json +25 -21
- package/public/3rdpartylicenses.txt +632 -606
- package/public/assets/hap-icons/valve-generic.svg +2 -2
- package/public/assets/hap-icons/valve-irrigation.svg +4 -4
- package/public/assets/hap-icons/valve-showerhead.svg +13 -0
- package/public/assets/hap-icons/valve-waterfaucet.svg +7 -0
- package/public/assets/plugin-ui-utils/ui.js +38 -19
- package/public/assets/plugin-ui-utils/ui.js.map +1 -1
- package/public/chunk-2DAPKUN5.js +1 -0
- package/public/chunk-32ESUCGF.js +1 -0
- package/public/chunk-3HQDWIYS.js +1 -0
- package/public/chunk-3O26TYAX.js +1 -0
- package/public/chunk-3TJ2GE2Y.js +1 -0
- package/public/chunk-3TW227A7.js +23 -0
- package/public/chunk-3U5HE6LL.js +1 -0
- package/public/chunk-3Z6U5O5M.js +14 -0
- package/public/chunk-44XAYR34.js +1 -0
- package/public/chunk-4JS645EV.js +1 -0
- package/public/chunk-5LT65NDZ.js +1 -0
- package/public/chunk-62UMOIOG.js +1 -0
- package/public/{chunk-6QEO3BTW.js → chunk-6MDI4RNQ.js} +14 -14
- package/public/chunk-6UMPRFLK.js +1 -0
- package/public/chunk-6VXGO53S.js +1 -0
- package/public/chunk-ADKE5LJF.js +5 -0
- package/public/chunk-B5VI2Y6M.js +1 -0
- package/public/chunk-BIXO3U6C.js +1 -0
- package/public/chunk-BZVO3JIQ.js +1 -0
- package/public/chunk-C4QSWDVR.js +8 -0
- package/public/chunk-CK234OHO.js +1 -0
- package/public/chunk-CTN2DQV5.js +1 -0
- package/public/chunk-DCVY3IA2.js +1 -0
- package/public/chunk-DKO4HAIB.js +1 -0
- package/public/chunk-E5FZHVEC.js +20 -0
- package/public/chunk-EA6RKP5G.js +1 -0
- package/public/chunk-EAYDVYFZ.js +1 -0
- package/public/chunk-EFBNPDVN.js +1 -0
- package/public/chunk-EXVHFPLG.js +1 -0
- package/public/{chunk-THFLPY67.js → chunk-F4QKTMKG.js} +1 -1
- package/public/chunk-F5SS6TN7.js +5 -0
- package/public/chunk-FRTATUBX.js +1 -0
- package/public/chunk-FWQXO3EP.js +1 -0
- package/public/chunk-GMU4IJBT.js +1 -0
- package/public/chunk-H3E4T6KH.js +1 -0
- package/public/chunk-HBGENGOA.js +1 -0
- package/public/chunk-HMOW3VNR.js +1 -0
- package/public/chunk-I5SM3GCQ.js +1 -0
- package/public/chunk-IDHLJZZJ.js +1 -0
- package/public/chunk-JZGR3WU5.js +1 -0
- package/public/chunk-KDJPDALB.js +7 -0
- package/public/chunk-KFM3IHPE.js +1 -0
- package/public/chunk-KMGDOXVO.js +1 -0
- package/public/chunk-KUG6OIB5.js +1 -0
- package/public/chunk-MDOAXUID.js +1 -0
- package/public/chunk-MMPQXC6H.js +2 -0
- package/public/chunk-MVS2OMCO.js +1 -0
- package/public/chunk-MXPZGRWK.js +1 -0
- package/public/chunk-N2HZUJ5D.js +1 -0
- package/public/chunk-NBLWBPNU.js +1 -0
- package/public/chunk-NIGZKKLM.js +1 -0
- package/public/chunk-NNKBGNWL.js +1 -0
- package/public/chunk-NPPEMRCU.js +1 -0
- package/public/chunk-NQVVIP7W.js +1 -0
- package/public/chunk-O2BHQ2WA.js +1 -0
- package/public/chunk-O2KNAZ5T.js +1 -0
- package/public/chunk-OVGWWGKD.js +1 -0
- package/public/chunk-OZTQT47N.js +1 -0
- package/public/chunk-P4FORPUA.js +1 -0
- package/public/chunk-P5WCYSBI.js +8 -0
- package/public/chunk-QAG66PLL.js +1 -0
- package/public/chunk-QHHRJOCD.js +2 -0
- package/public/chunk-REILQUGC.js +1 -0
- package/public/chunk-SEGRKPCL.js +1 -0
- package/public/chunk-SZD4AWYF.js +1 -0
- package/public/chunk-SZQRABYM.js +1 -0
- package/public/{chunk-GNQUXZMN.js → chunk-T6FYP7FJ.js} +1 -1
- package/public/chunk-TFLT3S56.js +1 -0
- package/public/chunk-UC6G6EJI.js +1 -0
- package/public/chunk-UIX722MQ.js +6 -0
- package/public/chunk-VPMXTLP5.js +1 -0
- package/public/chunk-VR52TTMY.js +4 -0
- package/public/chunk-WDTCTPKS.js +1 -0
- package/public/chunk-XB3CBRQE.js +1 -0
- package/public/chunk-XK4344ZY.js +32 -0
- package/public/chunk-XKJ6VGZO.js +1 -0
- package/public/chunk-Z2EXMZJ3.js +1 -0
- package/public/chunk-Z4CHNCHA.js +1 -0
- package/public/chunk-ZA2VSVJA.js +1 -0
- package/public/chunk-ZNOZDCL3.js +1 -0
- package/public/chunk-ZQQS75SA.js +1 -0
- package/public/index.html +2 -2
- package/public/main-XV4IWRJF.js +1 -0
- package/public/media/fa-brands-400-6PJPV6JM.woff2 +0 -0
- package/public/media/{fa-brands-400-CNBICIQT.ttf → fa-brands-400-KOKGDU7E.ttf} +0 -0
- package/public/media/{fa-regular-400-2FI4ICQD.ttf → fa-regular-400-IPMAEX5Y.ttf} +0 -0
- package/public/media/fa-regular-400-OHB6J4OK.woff2 +0 -0
- package/public/media/fa-solid-900-ABTK6BNK.woff2 +0 -0
- package/public/media/{fa-solid-900-XVWCCN5V.ttf → fa-solid-900-SRFFQLRM.ttf} +0 -0
- package/public/{polyfills-CE2SNIQF.js → polyfills-C6JHVXJJ.js} +2 -2
- package/public/prerendered-routes.json +3 -0
- package/public/styles-EG5MFQEM.css +1 -0
- package/public/chunk-2ZL77L5V.js +0 -5
- package/public/chunk-36QI2JZZ.js +0 -1
- package/public/chunk-4R6MSI5I.js +0 -14
- package/public/chunk-54RIF7BL.js +0 -1
- package/public/chunk-6PFEOQAC.js +0 -1
- package/public/chunk-AA4ALV5Q.js +0 -23
- package/public/chunk-B6C32ZRK.js +0 -1
- package/public/chunk-BROUJ7PT.js +0 -1
- package/public/chunk-C4DMFK2F.js +0 -1
- package/public/chunk-CMASH2I6.js +0 -20
- package/public/chunk-D63P2BMG.js +0 -4
- package/public/chunk-E6TKCZQK.js +0 -1
- package/public/chunk-EEAGROCO.js +0 -8
- package/public/chunk-EXLYVJ3I.js +0 -1
- package/public/chunk-F22FMU37.js +0 -1
- package/public/chunk-H7H7YVXE.js +0 -1
- package/public/chunk-IGUSDGD6.js +0 -8
- package/public/chunk-JM7QCDMZ.js +0 -1
- package/public/chunk-LL4U2S7T.js +0 -20
- package/public/chunk-MMU5EB5I.js +0 -1
- package/public/chunk-MQHO5ODL.js +0 -1
- package/public/chunk-MQOC5AAT.js +0 -1
- package/public/chunk-NJRXPLIM.js +0 -1
- package/public/chunk-NLHSKWUN.js +0 -1
- package/public/chunk-PCHM6ESV.js +0 -1
- package/public/chunk-PREOLVG7.js +0 -1
- package/public/chunk-RYWTZYEC.js +0 -1
- package/public/chunk-SJTXTMYT.js +0 -2
- package/public/chunk-TBJQ2Y3M.js +0 -1
- package/public/chunk-TCMARCBB.js +0 -1
- package/public/chunk-UBGLUD5C.js +0 -20
- package/public/chunk-V7NUKNPP.js +0 -1
- package/public/chunk-W5QNZH4U.js +0 -1
- package/public/chunk-WCDFKYP6.js +0 -5
- package/public/chunk-YXVNS6GA.js +0 -1
- package/public/main-EIMWK4RL.js +0 -6
- package/public/media/fa-brands-400-MDS4TU4L.woff2 +0 -0
- package/public/media/fa-regular-400-N56QV3DR.woff2 +0 -0
- package/public/media/fa-solid-900-Z3HFQTXF.woff2 +0 -0
- package/public/styles-7ETWN6DQ.css +0 -1
package/public/chunk-IGUSDGD6.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var yy=Object.create;var Wo=Object.defineProperty,Dy=Object.defineProperties,wy=Object.getOwnPropertyDescriptor,Ey=Object.getOwnPropertyDescriptors,Iy=Object.getOwnPropertyNames,qo=Object.getOwnPropertySymbols,Cy=Object.getPrototypeOf,Ua=Object.prototype.hasOwnProperty,Zd=Object.prototype.propertyIsEnumerable;var $a=(t,e,r)=>e in t?Wo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Ua.call(e,r)&&$a(t,r,e[r]);if(qo)for(var r of qo(e))Zd.call(e,r)&&$a(t,r,e[r]);return t},Y=(t,e)=>Dy(t,Ey(e));var Rx=t=>e=>{var r=t[e];if(r)return r();throw new Error("Module not found in bundle: "+e)};var by=(t,e)=>{var r={};for(var n in t)Ua.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&qo)for(var n of qo(t))e.indexOf(n)<0&&Zd.call(t,n)&&(r[n]=t[n]);return r};var Ox=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Px=(t,e)=>{for(var r in e)Wo(t,r,{get:e[r],enumerable:!0})},My=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Iy(e))!Ua.call(t,o)&&o!==r&&Wo(t,o,{get:()=>e[o],enumerable:!(n=wy(e,o))||n.enumerable});return t};var Fx=(t,e,r)=>(r=t!=null?yy(Cy(t)):{},My(e||!t||!t.__esModule?Wo(r,"default",{value:t,enumerable:!0}):r,t));var kx=(t,e,r)=>$a(t,typeof e!="symbol"?e+"":e,r);var Zo=(t,e,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(t,e)).next())});function Yd(t,e){return Object.is(t,e)}var re=null,Yo=!1,Qo=1,It=Symbol("SIGNAL");function L(t){let e=re;return re=t,e}function Qd(){return re}var $r={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ga(t){if(Yo)throw new Error("");if(re===null)return;re.consumerOnSignalRead(t);let e=re.nextProducerIndex++;if(ei(re),e<re.producerNode.length&&re.producerNode[e]!==t&&Vr(re)){let r=re.producerNode[e];Xo(r,re.producerIndexOfThis[e])}re.producerNode[e]!==t&&(re.producerNode[e]=t,re.producerIndexOfThis[e]=Vr(re)?ef(t,re,e):0),re.producerLastReadVersion[e]=t.version}function Sy(){Qo++}function Kd(t){if(!(Vr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Qo)){if(!t.producerMustRecompute(t)&&!Wa(t)){t.dirty=!1,t.lastCleanEpoch=Qo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Qo}}function Jd(t){if(t.liveConsumerNode===void 0)return;let e=Yo;Yo=!0;try{for(let r of t.liveConsumerNode)r.dirty||Ty(r)}finally{Yo=e}}function Xd(){return(re==null?void 0:re.consumerAllowSignalWrites)!==!1}function Ty(t){var e;t.dirty=!0,Jd(t),(e=t.consumerMarkedDirty)==null||e.call(t,t)}function Jo(t){return t&&(t.nextProducerIndex=0),L(t)}function qa(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vr(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Xo(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Wa(t){ei(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Kd(r),n!==r.version))return!0}return!1}function Za(t){if(ei(t),Vr(t))for(let e=0;e<t.producerNode.length;e++)Xo(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function ef(t,e,r){if(tf(t),t.liveConsumerNode.length===0&&nf(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=ef(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Xo(t,e){if(tf(t),t.liveConsumerNode.length===1&&nf(t))for(let n=0;n<t.producerNode.length;n++)Xo(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];ei(o),o.producerIndexOfThis[n]=e}}function Vr(t){var e,r;return t.consumerIsAlwaysLive||((r=(e=t==null?void 0:t.liveConsumerNode)==null?void 0:e.length)!=null?r:0)>0}function ei(t){var e,r,n;(e=t.producerNode)!=null||(t.producerNode=[]),(r=t.producerIndexOfThis)!=null||(t.producerIndexOfThis=[]),(n=t.producerLastReadVersion)!=null||(t.producerLastReadVersion=[])}function tf(t){var e,r;(e=t.liveConsumerNode)!=null||(t.liveConsumerNode=[]),(r=t.liveConsumerIndexOfThis)!=null||(t.liveConsumerIndexOfThis=[])}function nf(t){return t.producerNode!==void 0}function rf(t){let e=Object.create(xy);e.computation=t;let r=()=>{if(Kd(e),Ga(e),e.value===Ko)throw e.error;return e.value};return r[It]=e,r}var Ba=Symbol("UNSET"),Ha=Symbol("COMPUTING"),Ko=Symbol("ERRORED"),xy=Y(D({},$r),{value:Ba,dirty:!0,error:null,equal:Yd,producerMustRecompute(t){return t.value===Ba||t.value===Ha},producerRecomputeValue(t){if(t.value===Ha)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Ha;let r=Jo(t),n;try{n=t.computation()}catch(o){n=Ko,t.error=o}finally{qa(t,r)}if(e!==Ba&&e!==Ko&&n!==Ko&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function _y(){throw new Error}var of=_y;function sf(){of()}function af(t){of=t}var za=null;function cf(t){let e=Object.create(lf);e.value=t;let r=()=>(Ga(e),e.value);return r[It]=e,r}function Ya(t,e){Xd()||sf(),t.equal(t.value,e)||(t.value=e,Ny(t))}function uf(t,e){Xd()||sf(),Ya(t,e(t.value))}var lf=Y(D({},$r),{equal:Yd,value:void 0});function Ny(t){t.version++,Sy(),Jd(t),za==null||za()}function S(t){return typeof t=="function"}function qn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ti=qn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
|
|
2
|
-
${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=r});function yn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ne=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(S(n))try{n()}catch(i){e=i instanceof ti?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{df(i)}catch(s){e=e!=null?e:[],s instanceof ti?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ti(e)}}add(e){var r;if(e&&e!==this)if(this.closed)df(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&yn(r,e)}remove(e){let{_finalizers:r}=this;r&&yn(r,e),e instanceof t&&e._removeParent(this)}};ne.EMPTY=(()=>{let t=new ne;return t.closed=!0,t})();var Qa=ne.EMPTY;function ni(t){return t instanceof ne||t&&"closed"in t&&S(t.remove)&&S(t.add)&&S(t.unsubscribe)}function df(t){S(t)?t():t.unsubscribe()}var Qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wn={setTimeout(t,e,...r){let{delegate:n}=Wn;return n!=null&&n.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Wn;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function ri(t){Wn.setTimeout(()=>{let{onUnhandledError:e}=Qe;if(e)e(t);else throw t})}function Ct(){}var ff=Ka("C",void 0,void 0);function hf(t){return Ka("E",void 0,t)}function pf(t){return Ka("N",t,void 0)}function Ka(t,e,r){return{kind:t,value:e,error:r}}var Dn=null;function Zn(t){if(Qe.useDeprecatedSynchronousErrorHandling){let e=!Dn;if(e&&(Dn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Dn;if(Dn=null,r)throw n}}else t()}function gf(t){Qe.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=t)}var wn=class extends ne{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ni(e)&&e.add(this)):this.destination=Oy}static create(e,r,n){return new Ke(e,r,n)}next(e){this.isStopped?Xa(pf(e),this):this._next(e)}error(e){this.isStopped?Xa(hf(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Xa(ff,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ay=Function.prototype.bind;function Ja(t,e){return Ay.call(t,e)}var ec=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){oi(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){oi(n)}else oi(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){oi(r)}}},Ke=class extends wn{constructor(e,r,n){super();let o;if(S(e)||!e)o={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0};else{let i;this&&Qe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ja(e.next,i),error:e.error&&Ja(e.error,i),complete:e.complete&&Ja(e.complete,i)}):o=e}this.destination=new ec(o)}};function oi(t){Qe.useDeprecatedSynchronousErrorHandling?gf(t):ri(t)}function Ry(t){throw t}function Xa(t,e){let{onStoppedNotification:r}=Qe;r&&Wn.setTimeout(()=>r(t,e))}var Oy={closed:!0,next:Ct,error:Ry,complete:Ct};var Yn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function de(t){return t}function tc(...t){return nc(t)}function nc(t){return t.length===0?de:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var R=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Fy(r)?r:new Ke(r,n,o);return Zn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=mf(n),new n((o,i)=>{let s=new Ke({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Yn](){return this}pipe(...r){return nc(r)(this)}toPromise(r){return r=mf(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function mf(t){var e;return(e=t!=null?t:Qe.Promise)!==null&&e!==void 0?e:Promise}function Py(t){return t&&S(t.next)&&S(t.error)&&S(t.complete)}function Fy(t){return t&&t instanceof wn||Py(t)&&ni(t)}function rc(t){return S(t==null?void 0:t.lift)}function A(t){return e=>{if(rc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(t,e,r,n,o){return new oc(t,e,r,n,o)}var oc=class extends wn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Qn(){return A((t,e)=>{let r=null;t._refCount++;let n=x(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Kn=class extends R{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,rc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ne;let r=this.getSubject();e.add(this.source.subscribe(x(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ne.EMPTY)}return e}refCount(){return Qn()(this)}};var vf=qn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ii(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new vf}next(r){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Qa:(this.currentObservers=null,i.push(r),new ne(()=>{this.currentObservers=null,yn(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new R;return r.source=this,r}}return t.create=(e,r)=>new ii(e,r),t})(),ii=class extends ie{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Qa}};var fe=class extends ie{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Ur={now(){return(Ur.delegate||Date).now()},delegate:void 0};var si=class extends ie{constructor(e=1/0,r=1/0,n=Ur){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=n?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){let s=r.now(),a=0;for(let c=1;c<n.length&&n[c]<=s;c+=2)a=c;a&&n.splice(0,a+1)}}};var ai=class extends ne{constructor(e,r){super()}schedule(e,r=0){return this}};var Br={setInterval(t,e,...r){let{delegate:n}=Br;return n!=null&&n.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Br;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var ci=class extends ai{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return Br.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Br.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,yn(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var Jn=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};Jn.now=Ur.now;var ui=class extends Jn{constructor(e,r=Jn.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var En=new ui(ci),yf=En;var Ie=new R(t=>t.complete());function li(t){return t&&S(t.schedule)}function Df(t){return t[t.length-1]}function Zt(t){return S(Df(t))?t.pop():void 0}function Yt(t){return li(Df(t))?t.pop():void 0}function Ef(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function wf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function In(t){return this instanceof In?(this.v=t,this):new In(t)}function If(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),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(p){return Promise.resolve(p).then(f,d)}}function a(f,p){n[f]&&(o[f]=function(m){return new Promise(function(v,y){i.push([f,m,v,y])>1||c(f,m)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(n[f](p))}catch(m){h(i[0][3],m)}}function u(f){f.value instanceof In?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Cf(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof wf=="function"?wf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Xn=t=>t&&typeof t.length=="number"&&typeof t!="function";function di(t){return S(t==null?void 0:t.then)}function fi(t){return S(t[Yn])}function hi(t){return Symbol.asyncIterator&&S(t==null?void 0:t[Symbol.asyncIterator])}function pi(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ky(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gi=ky();function mi(t){return S(t==null?void 0:t[gi])}function vi(t){return If(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield In(r.read());if(o)return yield In(void 0);yield yield In(n)}}finally{r.releaseLock()}})}function yi(t){return S(t==null?void 0:t.getReader)}function V(t){if(t instanceof R)return t;if(t!=null){if(fi(t))return Ly(t);if(Xn(t))return jy(t);if(di(t))return Vy(t);if(hi(t))return bf(t);if(mi(t))return $y(t);if(yi(t))return Uy(t)}throw pi(t)}function Ly(t){return new R(e=>{let r=t[Yn]();if(S(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jy(t){return new R(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Vy(t){return new R(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ri)})}function $y(t){return new R(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function bf(t){return new R(e=>{By(t,e).catch(r=>e.error(r))})}function Uy(t){return bf(vi(t))}function By(t,e){var r,n,o,i;return Ef(this,void 0,void 0,function*(){try{for(r=Cf(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function xe(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Di(t,e=0){return A((r,n)=>{r.subscribe(x(n,o=>xe(n,t,()=>n.next(o),e),()=>xe(n,t,()=>n.complete(),e),o=>xe(n,t,()=>n.error(o),e)))})}function wi(t,e=0){return A((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Mf(t,e){return V(t).pipe(wi(e),Di(e))}function Sf(t,e){return V(t).pipe(wi(e),Di(e))}function Tf(t,e){return new R(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function xf(t,e){return new R(r=>{let n;return xe(r,e,()=>{n=t[gi](),xe(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>S(n==null?void 0:n.return)&&n.return()})}function Ei(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(r=>{xe(r,e,()=>{let n=t[Symbol.asyncIterator]();xe(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function _f(t,e){return Ei(vi(t),e)}function Nf(t,e){if(t!=null){if(fi(t))return Mf(t,e);if(Xn(t))return Tf(t,e);if(di(t))return Sf(t,e);if(hi(t))return Ei(t,e);if(mi(t))return xf(t,e);if(yi(t))return _f(t,e)}throw pi(t)}function Q(t,e){return e?Nf(t,e):V(t)}function M(...t){let e=Yt(t);return Q(t,e)}function er(t,e){let r=S(t)?t:()=>t,n=o=>o.error(r());return new R(e?o=>e.schedule(n,0,o):n)}function ic(t){return!!t&&(t instanceof R||S(t.lift)&&S(t.subscribe))}var Fe=qn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Hy(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=!1,s;t.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?n(s):r?n(e.defaultValue):o(new Fe)}})})}function zy(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=new Ke({next:s=>{n(s),i.unsubscribe()},error:o,complete:()=>{r?n(e.defaultValue):o(new Fe)}});t.subscribe(i)})}function Af(t){return t instanceof Date&&!isNaN(t)}function F(t,e){return A((r,n)=>{let o=0;r.subscribe(x(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Gy}=Array;function qy(t,e){return Gy(e)?t(...e):t(e)}function tr(t){return F(e=>qy(t,e))}var{isArray:Wy}=Array,{getPrototypeOf:Zy,prototype:Yy,keys:Qy}=Object;function Ii(t){if(t.length===1){let e=t[0];if(Wy(e))return{args:e,keys:null};if(Ky(e)){let r=Qy(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Ky(t){return t&&typeof t=="object"&&Zy(t)===Yy}function Ci(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Hr(...t){let e=Yt(t),r=Zt(t),{args:n,keys:o}=Ii(t);if(n.length===0)return Q([],e);let i=new R(Jy(n,e,o?s=>Ci(o,s):de));return r?i.pipe(tr(r)):i}function Jy(t,e,r=de){return n=>{Rf(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Rf(e,()=>{let u=Q(t[c],e),l=!1;u.subscribe(x(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Rf(t,e,r){t?xe(r,t,e):e()}function Of(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=m=>u<n?p(m):c.push(m),p=m=>{i&&e.next(m),u++;let v=!1;V(r(m,l++)).subscribe(x(e,y=>{o==null||o(y),i?f(y):e.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<n;){let y=c.shift();s?xe(e,s,()=>p(y)):p(y)}h()}catch(y){e.error(y)}}))};return t.subscribe(x(e,f,()=>{d=!0,h()})),()=>{a==null||a()}}function K(t,e,r=1/0){return S(e)?K((n,o)=>F((i,s)=>e(n,i,o,s))(V(t(n,o))),r):(typeof e=="number"&&(r=e),A((n,o)=>Of(n,o,t,r)))}function Qt(t=1/0){return K(de,t)}function Pf(){return Qt(1)}function ct(...t){return Pf()(Q(t,Yt(t)))}function bi(t){return new R(e=>{V(t()).subscribe(e)})}function Xy(...t){let e=Zt(t),{args:r,keys:n}=Ii(t),o=new R(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(r[l]).subscribe(x(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?Ci(n,a):a),i.complete())}))}});return e?o.pipe(tr(e)):o}var eD=["addListener","removeListener"],tD=["addEventListener","removeEventListener"],nD=["on","off"];function sc(t,e,r,n){if(S(r)&&(n=r,r=void 0),n)return sc(t,e,r).pipe(tr(n));let[o,i]=iD(t)?tD.map(s=>a=>t[s](e,a,r)):rD(t)?eD.map(Ff(t,e)):oD(t)?nD.map(Ff(t,e)):[];if(!o&&Xn(t))return K(s=>sc(s,e,r))(V(t));if(!o)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Ff(t,e){return r=>n=>t[r](e,n)}function rD(t){return S(t.addListener)&&S(t.removeListener)}function oD(t){return S(t.on)&&S(t.off)}function iD(t){return S(t.addEventListener)&&S(t.removeEventListener)}function zr(t=0,e,r=yf){let n=-1;return e!=null&&(li(e)?r=e:n=e),new R(o=>{let i=Af(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function sD(t=0,e=En){return t<0&&(t=0),zr(t,t,e)}var{isArray:aD}=Array;function Mi(t){return t.length===1&&aD(t[0])?t[0]:t}function ye(t,e){return A((r,n)=>{let o=0;r.subscribe(x(n,i=>t.call(e,i,o++)&&n.next(i)))})}function cD(...t){return t=Mi(t),t.length===1?V(t[0]):new R(uD(t))}function uD(t){return e=>{let r=[];for(let n=0;r&&!e.closed&&n<t.length;n++)r.push(V(t[n]).subscribe(x(e,o=>{if(r){for(let i=0;i<r.length;i++)i!==n&&r[i].unsubscribe();r=null}e.next(o)})))}}function lD(...t){let e=Zt(t),r=Mi(t);return r.length?new R(n=>{let o=r.map(()=>[]),i=r.map(()=>!1);n.add(()=>{o=i=null});for(let s=0;!n.closed&&s<r.length;s++)V(r[s]).subscribe(x(n,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());n.next(e?e(...c):c),o.some((u,l)=>!u.length&&i[l])&&n.complete()}},()=>{i[s]=!0,!o[s].length&&n.complete()}));return()=>{o=i=null}}):Ie}function Kt(t){return A((e,r)=>{let n=null,o=!1,i;n=e.subscribe(x(r,void 0,void 0,s=>{i=V(t(s,Kt(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function kf(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(x(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function bt(t,e){return S(e)?K(t,e,1):K(t,1)}function Lf(t,e=En){return A((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){o=this.schedule(void 0,u-l),n.add(o);return}a()}r.subscribe(x(n,u=>{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function Jt(t){return A((e,r)=>{let n=!1;e.subscribe(x(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function He(t){return t<=0?()=>Ie:A((e,r)=>{let n=0;e.subscribe(x(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function jf(){return A((t,e)=>{t.subscribe(x(e,Ct))})}function Gr(t){return F(()=>t)}function ac(t,e){return e?r=>ct(e.pipe(He(1),jf()),r.pipe(ac(t))):K((r,n)=>V(t(r,n)).pipe(He(1),Gr(r)))}function dD(t,e=En){let r=zr(t,e);return ac(()=>r)}function fD(t,e=de){return t=t!=null?t:hD,A((r,n)=>{let o,i=!0;r.subscribe(x(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function hD(t,e){return t===e}function Si(t=pD){return A((e,r)=>{let n=!1;e.subscribe(x(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function pD(){return new Fe}function gD(...t){return e=>ct(e,M(...t))}function Xt(t){return A((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ut(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ye((o,i)=>t(o,i,n)):de,He(1),r?Jt(e):Si(()=>new Fe))}function nr(t){return t<=0?()=>Ie:A((e,r)=>{let n=[];e.subscribe(x(r,o=>{n.push(o),t<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function cc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ye((o,i)=>t(o,i,n)):de,nr(1),r?Jt(e):Si(()=>new Fe))}function uc(t,e){return A(kf(t,e,arguments.length>=2,!0))}function dc(t={}){let{connector:e=()=>new ie,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a==null||a.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m==null||m.unsubscribe()};return A((m,v)=>{u++,!d&&!l&&h();let y=c=c!=null?c:e();v.add(()=>{u--,u===0&&!d&&!l&&(a=lc(p,o))}),y.subscribe(v),!s&&u>0&&(s=new Ke({next:b=>y.next(b),error:b=>{d=!0,h(),a=lc(f,r,b),y.error(b)},complete:()=>{l=!0,h(),a=lc(f,n),y.complete()}}),V(m).subscribe(s))})(i)}}function lc(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Ke({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function mD(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t!=null?t:1/0,dc({connector:()=>new si(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vD(t){return ye((e,r)=>t<=r)}function fc(...t){let e=Yt(t);return A((r,n)=>{(e?ct(t,r,e):ct(t,r)).subscribe(n)})}function Ce(t,e){return A((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(x(n,c=>{o==null||o.unsubscribe();let u=0,l=i++;V(t(c,l)).subscribe(o=x(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ti(t){return A((e,r)=>{V(t).subscribe(x(r,()=>r.complete(),Ct)),!r.closed&&e.subscribe(r)})}function ae(t,e,r){let n=S(t)||e||r?{next:t,error:e,complete:r}:t;return n?A((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(x(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):de}function yD(...t){let e=Zt(t);return A((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let c=0;c<o;c++)V(t[c]).subscribe(x(n,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(de))&&(s=null))},Ct));r.subscribe(x(n,c=>{if(a){let u=[c,...i];n.next(e?e(...u):u)}}))})}var Ah="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(ms(e,r)),this.code=e}};function ms(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function oo(t){return{toString:t}.toString()}var xi="__parameters__";function DD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Rh(t,e,r){return oo(()=>{let n=DD(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(xi)?c[xi]:Object.defineProperty(c,xi,{value:[]})[xi];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var he=globalThis;function q(t){for(let e in t)if(t[e]===q)return e;throw Error("Could not find renamed property on target object.")}function wD(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function be(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(be).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
|
|
4
|
-
`);return r===-1?e:e.substring(0,r)}function Tc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var ED=q({__forward_ref__:q});function Oh(t){return t.__forward_ref__=Oh,t.toString=function(){return be(this())},t}function pe(t){return Ph(t)?t():t}function Ph(t){return typeof t=="function"&&t.hasOwnProperty(ED)&&t.__forward_ref__===Oh}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function At(t){return{providers:t.providers||[],imports:t.imports||[]}}function vs(t){return Vf(t,kh)||Vf(t,Lh)}function Fh(t){return vs(t)!==null}function Vf(t,e){return t.hasOwnProperty(e)?t[e]:null}function ID(t){let e=t&&(t[kh]||t[Lh]);return e||null}function $f(t){return t&&(t.hasOwnProperty(Uf)||t.hasOwnProperty(CD))?t[Uf]:null}var kh=q({\u0275prov:q}),Uf=q({\u0275inj:q}),Lh=q({ngInjectableDef:q}),CD=q({ngInjectorDef:q}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function jh(t){return t&&!!t.\u0275providers}var bD=q({\u0275cmp:q}),MD=q({\u0275dir:q}),SD=q({\u0275pipe:q}),TD=q({\u0275mod:q}),Ui=q({\u0275fac:q}),Wr=q({__NG_ELEMENT_ID__:q}),Bf=q({__NG_ENV_ID__:q});function ft(t){return typeof t=="string"?t:t==null?"":String(t)}function xD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ft(t)}function _D(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function ju(t,e){throw new w(-201,!1)}var k=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(k||{}),xc;function Vh(){return xc}function _e(t){let e=xc;return xc=t,e}function $h(t,e,r){let n=vs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&k.Optional)return null;if(e!==void 0)return e;ju(t,"Injector")}var ND={},Qr=ND,_c="__NG_DI_FLAG__",Bi="ngTempTokenPath",AD="ngTokenPath",RD=/\n/gm,OD="\u0275",Hf="__source",ar;function PD(){return ar}function en(t){let e=ar;return ar=t,e}function FD(t,e=k.Default){if(ar===void 0)throw new w(-203,!1);return ar===null?$h(t,void 0,e):ar.get(t,e&k.Optional?null:void 0,e)}function C(t,e=k.Default){return(Vh()||FD)(pe(t),e)}function g(t,e=k.Default){return C(t,ys(e))}function ys(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Nc(t){let e=[];for(let r=0;r<t.length;r++){let n=pe(t[r]);if(Array.isArray(n)){if(n.length===0)throw new w(900,!1);let o,i=k.Default;for(let s=0;s<n.length;s++){let a=n[s],c=kD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}e.push(C(o,i))}else e.push(C(n))}return e}function Uh(t,e){return t[_c]=e,t.prototype[_c]=e,t}function kD(t){return t[_c]}function LD(t,e,r,n){let o=t[Bi];throw e[Hf]&&o.unshift(e[Hf]),t.message=jD(`
|
|
5
|
-
`+t.message,o,r,n),t[AD]=o,t[Bi]=null,t}function jD(t,e,r,n=null){t=t&&t.charAt(0)===`
|
|
6
|
-
`&&t.charAt(1)==OD?t.slice(2):t;let o=be(e);if(Array.isArray(e))o=e.map(be).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):be(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(RD,`
|
|
7
|
-
`)}`}var io=Uh(Rh("Optional"),8);var Ds=Uh(Rh("SkipSelf"),4);function xn(t,e){let r=t.hasOwnProperty(Ui);return r?t[Ui]:null}function VD(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function $D(t){return t.flat(Number.POSITIVE_INFINITY)}function Vu(t,e){t.forEach(r=>Array.isArray(r)?Vu(r,e):e(r))}function Bh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Hi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function UD(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function BD(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function ws(t,e,r){let n=so(t,e);return n>=0?t[n|1]=r:(n=~n,BD(t,n,e,r)),n}function hc(t,e){let r=so(t,e);if(r>=0)return t[r|1]}function so(t,e){return HD(t,e,1)}function HD(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var Mt={},Ne=[],lr=new E(""),Hh=new E("",-1),zh=new E(""),zi=class{get(e,r=Qr){if(r===Qr){let n=new Error(`NullInjectorError: No provider for ${be(e)}!`);throw n.name="NullInjectorError",n}return r}},Gh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Gh||{}),ht=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ht||{}),rn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(rn||{});function zD(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function Ac(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];GD(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function qh(t){return t===3||t===4||t===6}function GD(t){return t.charCodeAt(0)===64}function Kr(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?zf(t,r,o,null,e[++n]):zf(t,r,o,null,null))}}return t}function zf(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var Wh="ng-template";function qD(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&zD(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if($u(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===r)return!0}return!1}function $u(t){return t.type===4&&t.value!==Wh}function WD(t,e,r){let n=t.type===4&&!r?Wh:t.value;return e===n}function ZD(t,e,r){let n=4,o=t.attrs,i=o!==null?KD(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Je(n)&&!Je(c))return!1;if(s&&Je(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!WD(t,c,r)||c===""&&e.length===1){if(Je(n))return!1;s=!0}}else if(n&8){if(o===null||!qD(t,o,c,r)){if(Je(n))return!1;s=!0}}else{let u=e[++a],l=YD(c,o,$u(t),r);if(l===-1){if(Je(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Je(n))return!1;s=!0}}}}return Je(n)||s}function Je(t){return(t&1)===0}function YD(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return JD(e,t)}function Zh(t,e,r=!1){for(let n=0;n<e.length;n++)if(ZD(t,e[n],r))return!0;return!1}function QD(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function KD(t){for(let e=0;e<t.length;e++){let r=t[e];if(qh(r))return e}return t.length}function JD(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function XD(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function Gf(t,e){return t?":not("+e.trim()+")":e}function ew(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Je(s)&&(e+=Gf(i,o),o=""),n=s,i=i||!Je(n);r++}return o!==""&&(e+=Gf(i,o)),e}function tw(t){return t.map(ew).join(",")}function nw(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!Je(o))break;o=i}n++}return{attrs:e,classes:r}}function Yh(t){return oo(()=>{var o;let e=Xh(t),r=Y(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:(o=t.signals)!=null?o:!1,data:t.data||{},encapsulation:t.encapsulation||ht.Emulated,styles:t.styles||Ne,_:null,schemas:t.schemas||null,tView:null,id:""});ep(r);let n=t.dependencies;return r.directiveDefs=Wf(n,!1),r.pipeDefs=Wf(n,!0),r.id=iw(r),r})}function rw(t){return St(t)||Uu(t)}function ow(t){return t!==null}function Rt(t){return oo(()=>({type:t.type,bootstrap:t.bootstrap||Ne,declarations:t.declarations||Ne,imports:t.imports||Ne,exports:t.exports||Ne,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function qf(t,e){var n;if(t==null)return Mt;let r={};for(let o in t)if(t.hasOwnProperty(o)){let i=t[o],s,a,c=rn.None;Array.isArray(i)?(c=i[0],s=i[1],a=(n=i[2])!=null?n:s):(s=i,a=i),e?(r[s]=c!==rn.None?[o,c]:o,e[s]=a):r[s]=o}return r}function Oe(t){return oo(()=>{let e=Xh(t);return ep(e),e})}function ao(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function St(t){return t[bD]||null}function Uu(t){return t[MD]||null}function Qh(t){return t[SD]||null}function Kh(t){let e=St(t)||Uu(t)||Qh(t);return e!==null?e.standalone:!1}function Jh(t,e){let r=t[TD]||null;if(!r&&e===!0)throw new Error(`Type ${be(t)} does not have '\u0275mod' property.`);return r}function Xh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Mt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qf(t.inputs,e),outputs:qf(t.outputs),debugInfo:null}}function ep(t){var e;(e=t.features)==null||e.forEach(r=>r(t))}function Wf(t,e){if(!t)return null;let r=e?Qh:rw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(ow)}function iw(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Es(t){return{\u0275providers:t}}function sw(...t){return{\u0275providers:tp(!0,t),\u0275fromNgModule:!0}}function tp(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Vu(e,s=>{let a=s;Rc(a,i,[],n)&&(o||(o=[]),o.push(a))}),o!==void 0&&np(o,i),r}function np(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Bu(o,i=>{e(i,n)})}}function Rc(t,e,r,n){if(t=pe(t),!t)return!1;let o=null,i=$f(t),s=!i&&St(t);if(!i&&!s){let c=t.ngModule;if(i=$f(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Rc(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Vu(i.imports,l=>{Rc(l,e,r,n)&&(u||(u=[]),u.push(l))})}finally{}u!==void 0&&np(u,e)}if(!a){let u=xn(o)||(()=>new o);e({provide:o,useFactory:u,deps:Ne},o),e({provide:zh,useValue:o,multi:!0},o),e({provide:lr,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Bu(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Bu(t,e){for(let r of t)jh(r)&&(r=r.\u0275providers),Array.isArray(r)?Bu(r,e):e(r)}var aw=q({provide:String,useValue:q});function rp(t){return t!==null&&typeof t=="object"&&aw in t}function cw(t){return!!(t&&t.useExisting)}function uw(t){return!!(t&&t.useFactory)}function dr(t){return typeof t=="function"}function lw(t){return!!t.useClass}var Is=new E(""),ki={},dw={},pc;function Cs(){return pc===void 0&&(pc=new zi),pc}var Me=class{},Jr=class extends Me{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pc(e,s=>this.processProvider(s)),this.records.set(Hh,rr(void 0,this)),o.has("environment")&&this.records.set(Me,rr(void 0,this));let i=this.records.get(Is);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(zh,Ne,k.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=L(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),L(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=en(this),n=_e(void 0),o;try{return e()}finally{en(r),_e(n)}}get(e,r=Qr,n=k.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Bf))return e[Bf](this);n=ys(n);let o,i=en(this),s=_e(void 0);try{if(!(n&k.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=mw(e)&&vs(e);u&&this.injectableDefInScope(u)?c=rr(Oc(e),ki):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&k.Self?Cs():this.parent;return r=n&k.Optional&&r===Qr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Bi]=a[Bi]||[]).unshift(be(e)),i)throw a;return LD(a,e,"R3InjectorError",this.source)}else throw a}finally{_e(s),en(i)}}resolveInjectorInitializers(){let e=L(null),r=en(this),n=_e(void 0),o;try{let i=this.get(lr,Ne,k.Self);for(let s of i)s()}finally{en(r),_e(n),L(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(be(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=pe(e);let r=dr(e)?e:pe(e&&e.provide),n=hw(e);if(!dr(e)&&e.multi===!0){let o=this.records.get(r);o||(o=rr(void 0,ki,!0),o.factory=()=>Nc(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=L(null);try{return r.value===ki&&(r.value=dw,r.value=r.factory()),typeof r.value=="object"&&r.value&&gw(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{L(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=pe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Oc(t){let e=vs(t),r=e!==null?e.factory:xn(t);if(r!==null)return r;if(t instanceof E)throw new w(204,!1);if(t instanceof Function)return fw(t);throw new w(204,!1)}function fw(t){if(t.length>0)throw new w(204,!1);let r=ID(t);return r!==null?()=>r.factory(t):()=>new t}function hw(t){if(rp(t))return rr(void 0,t.useValue);{let e=op(t);return rr(e,ki)}}function op(t,e,r){let n;if(dr(t)){let o=pe(t);return xn(o)||Oc(o)}else if(rp(t))n=()=>pe(t.useValue);else if(uw(t))n=()=>t.useFactory(...Nc(t.deps||[]));else if(cw(t))n=()=>C(pe(t.useExisting));else{let o=pe(t&&(t.useClass||t.provide));if(pw(t))n=()=>new o(...Nc(t.deps));else return xn(o)||Oc(o)}return n}function rr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function pw(t){return!!t.deps}function gw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function mw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Pc(t,e){for(let r of t)Array.isArray(r)?Pc(r,e):r&&jh(r)?Pc(r.\u0275providers,e):e(r)}function Ge(t,e){t instanceof Jr&&t.assertNotDestroyed();let r,n=en(t),o=_e(void 0);try{return e()}finally{en(n),_e(o)}}function ip(){return Vh()!==void 0||PD()!=null}function sp(t){if(!ip())throw new w(-203,!1)}function vw(t){let e=he.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function yw(t){return typeof t=="function"}var vt=0,N=1,_=2,Ee=3,et=4,Pe=5,fr=6,cr=7,De=8,hr=9,pt=10,J=11,Xr=12,Zf=13,Er=14,ke=15,_n=16,or=17,tt=18,bs=19,ap=20,tn=21,gc=22,ze=23,ce=25,Hu=1;var Nn=7,Gi=8,pr=9,we=10,qi=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(qi||{});function nn(t){return Array.isArray(t)&&typeof t[Hu]=="object"}function Ot(t){return Array.isArray(t)&&t[Hu]===!0}function zu(t){return(t.flags&4)!==0}function Ms(t){return t.componentOffset>-1}function Ss(t){return(t.flags&1)===1}function Tt(t){return!!t.template}function Fc(t){return(t[_]&512)!==0}var kc=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function cp(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function cn(){return up}function up(t){return t.type.prototype.ngOnChanges&&(t.setInput=ww),Dw}cn.ngInherit=!0;function Dw(){let t=dp(this),e=t==null?void 0:t.current;if(e){let r=t.previous;if(r===Mt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function ww(t,e,r,n,o){let i=this.declaredInputs[n],s=dp(t)||Ew(t,{previous:Mt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new kc(u&&u.currentValue,r,c===Mt),cp(t,e,o,r)}var lp="__ngSimpleChanges__";function dp(t){return t[lp]||null}function Ew(t,e){return t[lp]=e}var Yf=null;var lt=function(t,e,r){Yf!=null&&Yf(t,e,r)},fp="svg",Iw="math";function gt(t){for(;Array.isArray(t);)t=t[vt];return t}function Cw(t){for(;Array.isArray(t);){if(typeof t[Hu]=="object")return t;t=t[vt]}return null}function hp(t,e){return gt(e[t])}function qe(t,e){return gt(e[t.index])}function Gu(t,e){return t.data[e]}function qu(t,e){return t[e]}function un(t,e){let r=e[t];return nn(r)?r:r[vt]}function bw(t){return(t[_]&4)===4}function Wu(t){return(t[_]&128)===128}function Mw(t){return Ot(t[Ee])}function on(t,e){return e==null?null:t[e]}function pp(t){t[or]=0}function gp(t){t[_]&1024||(t[_]|=1024,Wu(t)&&xs(t))}function Sw(t,e){for(;t>0;)e=e[Er],t--;return e}function Ts(t){var e;return!!(t[_]&9216||(e=t[ze])!=null&&e.dirty)}function Lc(t){var e;(e=t[pt].changeDetectionScheduler)==null||e.notify(8),t[_]&64&&(t[_]|=1024),Ts(t)&&xs(t)}function xs(t){var r;(r=t[pt].changeDetectionScheduler)==null||r.notify(0);let e=An(t);for(;e!==null&&!(e[_]&8192||(e[_]|=8192,!Wu(e)));)e=An(e)}function mp(t,e){if((t[_]&256)===256)throw new w(911,!1);t[tn]===null&&(t[tn]=[]),t[tn].push(e)}function Tw(t,e){if(t[tn]===null)return;let r=t[tn].indexOf(e);r!==-1&&t[tn].splice(r,1)}function An(t){let e=t[Ee];return Ot(e)?e[Ee]:e}var O={lFrame:Tp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vp=!1;function xw(){return O.lFrame.elementDepthCount}function _w(){O.lFrame.elementDepthCount++}function Nw(){O.lFrame.elementDepthCount--}function yp(){return O.bindingsEnabled}function Dp(){return O.skipHydrationRootTNode!==null}function Aw(t){return O.skipHydrationRootTNode===t}function Rw(){O.skipHydrationRootTNode=null}function T(){return O.lFrame.lView}function ee(){return O.lFrame.tView}function Ak(t){return O.lFrame.contextLView=t,t[De]}function Rk(t){return O.lFrame.contextLView=null,t}function me(){let t=wp();for(;t!==null&&t.type===64;)t=t.parent;return t}function wp(){return O.lFrame.currentTNode}function Ow(){let t=O.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function jn(t,e){let r=O.lFrame;r.currentTNode=t,r.isParent=e}function Zu(){return O.lFrame.isParent}function Yu(){O.lFrame.isParent=!1}function Pw(){return O.lFrame.contextLView}function Ep(){return vp}function Qf(t){vp=t}function Vn(){let t=O.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ip(){return O.lFrame.bindingIndex}function Fw(t){return O.lFrame.bindingIndex=t}function ln(){return O.lFrame.bindingIndex++}function _s(t){let e=O.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function kw(){return O.lFrame.inI18n}function Lw(t,e){let r=O.lFrame;r.bindingIndex=r.bindingRootIndex=t,jc(e)}function jw(){return O.lFrame.currentDirectiveIndex}function jc(t){O.lFrame.currentDirectiveIndex=t}function Cp(t){let e=O.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function bp(){return O.lFrame.currentQueryIndex}function Qu(t){O.lFrame.currentQueryIndex=t}function Vw(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Pe]:null}function Mp(t,e,r){if(r&k.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&k.Host);)if(o=Vw(i),o===null||(i=i[Er],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=O.lFrame=Sp();return n.currentTNode=e,n.lView=t,!0}function Ku(t){let e=Sp(),r=t[N];O.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Sp(){let t=O.lFrame,e=t===null?null:t.child;return e===null?Tp(t):e}function Tp(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function xp(){let t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var _p=xp;function Ju(){let t=xp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function $w(t){return(O.lFrame.contextLView=Sw(t,O.lFrame.contextLView))[De]}function yt(){return O.lFrame.selectedIndex}function Rn(t){O.lFrame.selectedIndex=t}function co(){let t=O.lFrame;return Gu(t.tView,t.selectedIndex)}function Ok(){O.lFrame.currentNamespace=fp}function Uw(){return O.lFrame.currentNamespace}var Np=!0;function Ns(){return Np}function As(t){Np=t}function Bw(t,e,r){var s,a,c,u,l;let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let d=up(e);((s=r.preOrderHooks)!=null?s:r.preOrderHooks=[]).push(t,d),((a=r.preOrderCheckHooks)!=null?a:r.preOrderCheckHooks=[]).push(t,d)}o&&((c=r.preOrderHooks)!=null?c:r.preOrderHooks=[]).push(0-t,o),i&&(((u=r.preOrderHooks)!=null?u:r.preOrderHooks=[]).push(t,i),((l=r.preOrderCheckHooks)!=null?l:r.preOrderCheckHooks=[]).push(t,i))}function Rs(t,e){var r,n,o,i,s,a,c;for(let u=e.directiveStart,l=e.directiveEnd;u<l;u++){let h=t.data[u].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:p,ngAfterViewInit:m,ngAfterViewChecked:v,ngOnDestroy:y}=h;f&&((r=t.contentHooks)!=null?r:t.contentHooks=[]).push(-u,f),p&&(((n=t.contentHooks)!=null?n:t.contentHooks=[]).push(u,p),((o=t.contentCheckHooks)!=null?o:t.contentCheckHooks=[]).push(u,p)),m&&((i=t.viewHooks)!=null?i:t.viewHooks=[]).push(-u,m),v&&(((s=t.viewHooks)!=null?s:t.viewHooks=[]).push(u,v),((a=t.viewCheckHooks)!=null?a:t.viewCheckHooks=[]).push(u,v)),y!=null&&((c=t.destroyHooks)!=null?c:t.destroyHooks=[]).push(u,y)}}function Li(t,e,r){Ap(t,e,3,r)}function ji(t,e,r,n){(t[_]&3)===r&&Ap(t,e,r,n)}function mc(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function Ap(t,e,r,n){let o=n!==void 0?t[or]&65535:0,i=n!=null?n:-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[or]+=65536),(a<i||i==-1)&&(Hw(t,r,e,c),t[or]=(t[or]&4294901760)+c+2),c++}function Kf(t,e){lt(4,t,e);let r=L(null);try{e.call(t)}finally{L(r),lt(5,t,e)}}function Hw(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[_]>>14<t[or]>>16&&(t[_]&3)===e&&(t[_]+=16384,Kf(a,i)):Kf(a,i)}var ur=-1,On=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function zw(t){return t instanceof On}function Gw(t){return(t.flags&8)!==0}function qw(t){return(t.flags&16)!==0}var vc={},Vc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=ys(n);let o=this.injector.get(e,vc,n);return o!==vc||r===vc?o:this.parentInjector.get(e,r,n)}};function Rp(t){return t!==ur}function Wi(t){return t&32767}function Ww(t){return t>>16}function Zi(t,e){let r=Ww(t),n=e;for(;r>0;)n=n[Er],r--;return n}var $c=!0;function Yi(t){let e=$c;return $c=t,e}var Zw=256,Op=Zw-1,Pp=5,Yw=0,dt={};function Qw(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wr)&&(n=r[Wr]),n==null&&(n=r[Wr]=Yw++);let o=n&Op,i=1<<o;e.data[t+(o>>Pp)]|=i}function Qi(t,e){let r=Fp(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,yc(n.data,t),yc(e,null),yc(n.blueprint,null));let o=Xu(t,e),i=t.injectorIndex;if(Rp(o)){let s=Wi(o),a=Zi(o,e),c=a[N].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function yc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Xu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=$p(o),n===null)return ur;if(r++,o=o[Er],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ur}function Uc(t,e,r){Qw(t,e,r)}function Kw(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(qh(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function kp(t,e,r){if(r&k.Optional||t!==void 0)return t;ju(e,"NodeInjector")}function Lp(t,e,r,n){if(r&k.Optional&&n===void 0&&(n=null),!(r&(k.Self|k.Host))){let o=t[hr],i=_e(void 0);try{return o?o.get(e,n,r&k.Optional):$h(e,n,r&k.Optional)}finally{_e(i)}}return kp(n,e,r)}function jp(t,e,r,n=k.Default,o){if(t!==null){if(e[_]&2048&&!(n&k.Self)){let s=tE(t,e,r,n,dt);if(s!==dt)return s}let i=Vp(t,e,r,n,dt);if(i!==dt)return i}return Lp(e,r,n,o)}function Vp(t,e,r,n,o){let i=Xw(r);if(typeof i=="function"){if(!Mp(e,t,n))return n&k.Host?kp(o,r,n):Lp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&k.Optional))ju(r);else return s}finally{_p()}}else if(typeof i=="number"){let s=null,a=Fp(t,e),c=ur,u=n&k.Host?e[ke][Pe]:null;for((a===-1||n&k.SkipSelf)&&(c=a===-1?Xu(t,e):e[a+8],c===ur||!Xf(n,!1)?a=-1:(s=e[N],a=Wi(c),e=Zi(c,e)));a!==-1;){let l=e[N];if(Jf(i,a,l.data)){let d=Jw(a,e,r,s,n,u);if(d!==dt)return d}c=e[a+8],c!==ur&&Xf(n,e[N].data[a+8]===u)&&Jf(i,a,e)?(s=l,a=Wi(c),e=Zi(c,e)):a=-1}}return o}function Jw(t,e,r,n,o,i){let s=e[N],a=s.data[t+8],c=n==null?Ms(a)&&$c:n!=s&&(a.type&3)!==0,u=o&k.Host&&i===a,l=Vi(a,s,r,c,u);return l!==null?Pn(e,s,l,a):dt}function Vi(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&r===p||f>=c&&p.type===r)return f}if(o){let f=s[c];if(f&&Tt(f)&&f.type===r)return c}return null}function Pn(t,e,r,n){let o=t[r],i=e.data;if(zw(o)){let s=o;s.resolving&&_D(xD(i[r]));let a=Yi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?_e(s.injectImpl):null,l=Mp(t,n,k.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Bw(r,i[r],e)}finally{u!==null&&_e(u),Yi(a),s.resolving=!1,_p()}}return o}function Xw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wr)?t[Wr]:void 0;return typeof e=="number"?e>=0?e&Op:eE:e}function Jf(t,e,r){let n=1<<t;return!!(r[e+(t>>Pp)]&n)}function Xf(t,e){return!(t&k.Self)&&!(t&k.Host&&e)}var Sn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return jp(this._tNode,this._lView,e,ys(n),r)}};function eE(){return new Sn(me(),T())}function el(t){return oo(()=>{let e=t.prototype.constructor,r=e[Ui]||Bc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[Ui]||Bc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bc(t){return Ph(t)?()=>{let e=Bc(pe(t));return e&&e()}:xn(t)}function tE(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=Vp(i,s,r,n|k.Self,dt);if(a!==dt)return a;let c=i.parent;if(!c){let u=s[ap];if(u){let l=u.get(r,dt,n);if(l!==dt)return l}c=$p(s),s=s[Er]}i=c}return o}function $p(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Pe]:null}function tl(t){return Kw(me(),t)}function eh(t,e=null,r=null,n){let o=Up(t,e,r,n);return o.resolveInjectorInitializers(),o}function Up(t,e=null,r=null,n,o=new Set){let i=[r||Ne,sw(t)];return n=n||(typeof t=="object"?void 0:be(t)),new Jr(i,e||Cs(),n||null,o)}var bn=class bn{static create(e,r){var n;if(Array.isArray(e))return eh({name:""},r,e,"");{let o=(n=e.name)!=null?n:"";return eh({name:o},e.parent,e.providers,o)}}};bn.THROW_IF_NOT_FOUND=Qr,bn.NULL=new zi,bn.\u0275prov=I({token:bn,providedIn:"any",factory:()=>C(Hh)}),bn.__NG_ELEMENT_ID__=-1;var Ae=bn;var nE=new E("");nE.__NG_ELEMENT_ID__=t=>{let e=me();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&k.Optional)return null;throw new w(204,!1)};var rE="ngOriginalError";function Dc(t){return t[rE]}var Bp=!0,nl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Hc=class extends nl{constructor(e){super(),this._lView=e}onDestroy(e){return mp(this._lView,e),()=>Tw(this._lView,e)}};function oE(){return new Hc(T())}var Pt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new fe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),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)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var zc=class extends ie{constructor(e=!1){var r,n;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,ip()&&(this.destroyRef=(r=g(nl,{optional:!0}))!=null?r:void 0,this.pendingTasks=(n=g(Pt,{optional:!0}))!=null?n:void 0)}emit(e){let r=L(null);try{super.next(e)}finally{L(r)}}subscribe(e,r,n){var c,u,l;let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let d=e;o=(c=d.next)==null?void 0:c.bind(d),i=(u=d.error)==null?void 0:u.bind(d),s=(l=d.complete)==null?void 0:l.bind(d)}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 e instanceof ne&&e.add(a),a}wrapInTimeout(e){return r=>{var o;let n=(o=this.pendingTasks)==null?void 0:o.add();setTimeout(()=>{var i;e(r),n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))})}}},ge=zc;function Ki(...t){}function Hp(t){let e,r;function n(){t=Ki;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function th(t){return queueMicrotask(()=>t()),()=>{t=Ki}}var rl="isAngularZone",Ji=rl+"_ID",iE=0,z=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Bp}=e;if(typeof Zone>"u")throw new w(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)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,cE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(rl)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,sE,Ki,Ki);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},sE={};function ol(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function aE(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Hp(()=>{t.callbackScheduled=!1,Gc(t),t.isCheckStableRunning=!0,ol(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Gc(t)}function cE(t){let e=()=>{aE(t)},r=iE++;t._inner=t._inner.fork({name:"angular",properties:{[rl]:!0,[Ji]:r,[Ji+r]:!0},onInvokeTask:(n,o,i,s,a,c)=>{if(uE(c))return n.invokeTask(i,s,a,c);try{return nh(t),n.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),rh(t)}},onInvoke:(n,o,i,s,a,c,u)=>{try{return nh(t),n.invoke(i,s,a,c,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!lE(c)&&e(),rh(t)}},onHasTask:(n,o,i,s)=>{n.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Gc(t),ol(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,o,i,s)=>(n.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Gc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function nh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function rh(t){t._nesting--,ol(t)}var Xi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function uE(t){return zp(t,"__ignore_ng_zone__")}function lE(t){return zp(t,"__scheduler_tick__")}function zp(t,e){var r,n;return!Array.isArray(t)||t.length!==1?!1:((n=(r=t[0])==null?void 0:r.data)==null?void 0:n[e])===!0}function dE(t="zone.js",e){return t==="noop"?new Xi:t==="zone.js"?new z(e):t}var xt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Dc(e);for(;r&&Dc(r);)r=Dc(r);return r||null}},fE=new E("",{providedIn:"root",factory:()=>{let t=g(z),e=g(xt);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function hE(){return Ir(me(),T())}function Ir(t,e){return new We(qe(t,e))}var We=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=hE;let t=e;return t})();function pE(t){return t instanceof We?t.nativeElement:t}function gE(){return this._results[Symbol.iterator]()}var qc=class t{get changes(){var e;return(e=this._changes)!=null?e:this._changes=new ge}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=gE)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=$D(e);(this._changesDetected=!VD(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Gp(t){return(t.flags&128)===128}var qp=new Map,mE=0;function vE(){return mE++}function yE(t){qp.set(t[bs],t)}function Wc(t){qp.delete(t[bs])}var oh="__ngContext__";function sn(t,e){nn(e)?(t[oh]=e[bs],yE(e)):t[oh]=e}function Wp(t){return Yp(t[Xr])}function Zp(t){return Yp(t[et])}function Yp(t){for(;t!==null&&!Ot(t);)t=t[et];return t}var Zc;function Qp(t){Zc=t}function Kp(){if(Zc!==void 0)return Zc;if(typeof document<"u")return document;throw new w(210,!1)}var Os=new E("",{providedIn:"root",factory:()=>DE}),DE="ng",il=new E(""),nt=new E("",{providedIn:"platform",factory:()=>"unknown"});var Pk=new E(""),sl=new E("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=Kp().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}}),al={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Jp=new E("",{providedIn:"root",factory:()=>al});var wE="h",EE="b";var IE=()=>null;function cl(t,e,r=!1){return IE(t,e,r)}var Xp=!1,CE=new E("",{providedIn:"root",factory:()=>Xp});var _i;function bE(){if(_i===void 0&&(_i=null,he.trustedTypes))try{_i=he.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _i}function Ps(t){var e;return((e=bE())==null?void 0:e.createHTML(t))||t}var Ni;function eg(){if(Ni===void 0&&(Ni=null,he.trustedTypes))try{Ni=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ni}function ih(t){var e;return((e=eg())==null?void 0:e.createHTML(t))||t}function sh(t){var e;return((e=eg())==null?void 0:e.createScriptURL(t))||t}var _t=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ah})`}},Yc=class extends _t{getTypeName(){return"HTML"}},Qc=class extends _t{getTypeName(){return"Style"}},Kc=class extends _t{getTypeName(){return"Script"}},Jc=class extends _t{getTypeName(){return"URL"}},Xc=class extends _t{getTypeName(){return"ResourceURL"}};function Le(t){return t instanceof _t?t.changingThisBreaksApplicationSecurity:t}function Ft(t,e){let r=ME(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Ah})`)}return r===e}function ME(t){return t instanceof _t&&t.getTypeName()||null}function tg(t){return new Yc(t)}function ng(t){return new Qc(t)}function rg(t){return new Kc(t)}function og(t){return new Jc(t)}function ig(t){return new Xc(t)}function SE(t){let e=new tu(t);return TE()?new eu(e):e}var eu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){var r;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ps(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((r=n.firstChild)==null||r.remove(),n)}catch{return null}}},tu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ps(e),r}};function TE(){try{return!!new window.DOMParser().parseFromString(Ps(""),"text/html")}catch{return!1}}var xE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fs(t){return t=String(t),t.match(xE)?t:"unsafe:"+t}function kt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function uo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var sg=kt("area,br,col,hr,img,wbr"),ag=kt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cg=kt("rp,rt"),_E=uo(cg,ag),NE=uo(ag,kt("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")),AE=uo(cg,kt("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")),ah=uo(sg,NE,AE,_E),ug=kt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),RE=kt("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"),OE=kt("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"),PE=uo(ug,RE,OE),FE=kt("script,style,template"),nu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=jE(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=LE(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=ch(e).toLowerCase();if(!ah.hasOwnProperty(r))return this.sanitizedSomething=!0,!FE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!PE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ug[a]&&(c=Fs(c)),this.buf.push(" ",s,'="',uh(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=ch(e).toLowerCase();ah.hasOwnProperty(r)&&!sg.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(uh(e))}};function kE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function LE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw lg(e);return e}function jE(t){let e=t.firstChild;if(e&&kE(t,e))throw lg(e);return e}function ch(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function lg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var VE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$E=/([^\#-~ |!])/g;function uh(t){return t.replace(/&/g,"&").replace(VE,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace($E,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ai;function ul(t,e){let r=null;try{Ai=Ai||SE(t);let n=e?String(e):"";r=Ai.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=Ai.getInertBodyElement(n)}while(n!==i);let a=new nu().sanitizeChildren(lh(r)||r);return Ps(a)}finally{if(r){let n=lh(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function lh(t){return"content"in t&&UE(t)?t.content:null}function UE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var rt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(rt||{});function Fk(t){let e=ll();return e?ih(e.sanitize(rt.HTML,t)||""):Ft(t,"HTML")?ih(Le(t)):ul(Kp(),ft(t))}function BE(t){let e=ll();return e?e.sanitize(rt.URL,t)||"":Ft(t,"URL")?Le(t):Fs(ft(t))}function HE(t){let e=ll();if(e)return sh(e.sanitize(rt.RESOURCE_URL,t)||"");if(Ft(t,"ResourceURL"))return sh(Le(t));throw new w(904,!1)}function zE(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?HE:BE}function dg(t,e,r){return zE(e,r)(t)}function ll(){let t=T();return t&&t[pt].sanitizer}var GE=/^>|^->|<!--|-->|--!>|<!-$/g,qE=/(<|>)/g,WE="\u200B$1\u200B";function ZE(t){return t.replace(GE,e=>e.replace(qE,WE))}function kk(t){return t.ownerDocument.defaultView}function fg(t){return t instanceof Function?t():t}function hg(t){return(t!=null?t:g(Ae)).get(nt)==="browser"}var mt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(mt||{}),YE;function dl(t,e){return YE(t,e)}function ir(t,e,r,n,o){if(n!=null){let i,s=!1;Ot(n)?i=n:nn(n)&&(s=!0,n=n[vt]);let a=gt(n);t===0&&r!==null?o==null?yg(e,r,a):es(e,r,a,o||null,!0):t===1&&r!==null?es(e,r,a,o||null,!0):t===2?uI(e,a,s):t===3&&e.destroyNode(a),i!=null&&dI(e,t,i,r,o)}}function QE(t,e){return t.createText(e)}function KE(t,e,r){t.setValue(e,r)}function JE(t,e){return t.createComment(ZE(e))}function pg(t,e,r){return t.createElement(e,r)}function XE(t,e){gg(t,e),e[vt]=null,e[Pe]=null}function eI(t,e,r,n,o,i){n[vt]=o,n[Pe]=e,js(t,n,r,1,o,i)}function gg(t,e){var r;(r=e[pt].changeDetectionScheduler)==null||r.notify(9),js(t,e,e[J],2,null,null)}function tI(t){let e=t[Xr];if(!e)return wc(t[N],t);for(;e;){let r=null;if(nn(e))r=e[Xr];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[et]&&e!==t;)nn(e)&&wc(e[N],e),e=e[Ee];e===null&&(e=t),nn(e)&&wc(e[N],e),r=e&&e[et]}e=r}}function nI(t,e,r,n){let o=we+n,i=r.length;n>0&&(r[o-1][et]=e),n<i-we?(e[et]=r[o],Bh(r,we+n,e)):(r.push(e),e[et]=null),e[Ee]=r;let s=e[_n];s!==null&&r!==s&&mg(s,e);let a=e[tt];a!==null&&a.insertView(t),Lc(e),e[_]|=128}function mg(t,e){let r=t[pr],n=e[Ee];if(nn(n))t[_]|=qi.HasTransplantedViews;else{let o=n[Ee][ke];e[ke]!==o&&(t[_]|=qi.HasTransplantedViews)}r===null?t[pr]=[e]:r.push(e)}function fl(t,e){let r=t[pr],n=r.indexOf(e);r.splice(n,1)}function eo(t,e){if(t.length<=we)return;let r=we+e,n=t[r];if(n){let o=n[_n];o!==null&&o!==t&&fl(o,n),e>0&&(t[r-1][et]=n[et]);let i=Hi(t,we+e);XE(n[N],n);let s=i[tt];s!==null&&s.detachView(i[N]),n[Ee]=null,n[et]=null,n[_]&=-129}return n}function ks(t,e){if(!(e[_]&256)){let r=e[J];r.destroyNode&&js(t,e,r,3,null,null),tI(e)}}function wc(t,e){if(e[_]&256)return;let r=L(null);try{e[_]&=-129,e[_]|=256,e[ze]&&Za(e[ze]),oI(t,e),rI(t,e),e[N].type===1&&e[J].destroy();let n=e[_n];if(n!==null&&Ot(e[Ee])){n!==e[Ee]&&fl(n,e);let o=e[tt];o!==null&&o.detachView(t)}Wc(e)}finally{L(r)}}function rI(t,e){let r=t.cleanup,n=e[cr];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[cr]=null);let o=e[tn];if(o!==null){e[tn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function oI(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof On)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];lt(4,a,c);try{c.call(a)}finally{lt(5,a,c)}}else{lt(4,o,i);try{i.call(o)}finally{lt(5,o,i)}}}}}function vg(t,e,r){return iI(t,e.parent,r)}function iI(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[vt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===ht.None||i===ht.Emulated)return null}return qe(n,r)}}function es(t,e,r,n,o){t.insertBefore(e,r,n,o)}function yg(t,e,r){t.appendChild(e,r)}function dh(t,e,r,n,o){n!==null?es(t,e,r,n,o):yg(t,e,r)}function Dg(t,e){return t.parentNode(e)}function sI(t,e){return t.nextSibling(e)}function wg(t,e,r){return cI(t,e,r)}function aI(t,e,r){return t.type&40?qe(t,r):null}var cI=aI,fh;function Ls(t,e,r,n){let o=vg(t,n,e),i=e[J],s=n.parent||e[Pe],a=wg(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)dh(i,o,r[c],a,!1);else dh(i,o,r,a,!1);fh!==void 0&&fh(i,n,e,r,o)}function qr(t,e){if(e!==null){let r=e.type;if(r&3)return qe(e,t);if(r&4)return ru(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return qr(t,n);{let o=t[e.index];return Ot(o)?ru(-1,o):gt(o)}}else{if(r&128)return qr(t,e.next);if(r&32)return dl(e,t)()||gt(t[e.index]);{let n=Eg(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=An(t[ke]);return qr(o,n)}else return qr(t,e.next)}}}return null}function Eg(t,e){if(e!==null){let n=t[ke][Pe],o=e.projection;return n.projection[o]}return null}function ru(t,e){let r=we+t+1;if(r<e.length){let n=e[r],o=n[N].firstChild;if(o!==null)return qr(n,o)}return e[Nn]}function uI(t,e,r){t.removeChild(null,e,r)}function hl(t,e,r,n,o,i,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let a=n[r.index],c=r.type;if(s&&e===0&&(a&&sn(gt(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)hl(t,e,r.child,n,o,i,!1),ir(e,t,o,a,i);else if(c&32){let u=dl(r,n),l;for(;l=u();)ir(e,t,o,l,i);ir(e,t,o,a,i)}else c&16?Ig(t,e,n,r,o,i):ir(e,t,o,a,i);r=s?r.projectionNext:r.next}}function js(t,e,r,n,o,i){hl(r,n,t.firstChild,e,o,i,!1)}function lI(t,e,r){let n=e[J],o=vg(t,r,e),i=r.parent||e[Pe],s=wg(i,r,e);Ig(n,0,e,r,o,s)}function Ig(t,e,r,n,o,i){let s=r[ke],c=s[Pe].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];ir(e,t,o,l,i)}else{let u=c,l=s[Ee];Gp(n)&&(u.flags|=128),hl(t,e,u,l,o,i,!0)}}function dI(t,e,r,n,o){let i=r[Nn],s=gt(r);i!==s&&ir(e,t,n,i,o);for(let a=we;a<r.length;a++){let c=r[a];js(c[N],c,t,e,n,i)}}function fI(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:mt.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=mt.Important),t.setStyle(r,n,o,i))}}function hI(t,e,r){t.setAttribute(e,"style",r)}function Cg(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function bg(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Ac(t,e,n),o!==null&&Cg(t,e,o),i!==null&&hI(t,e,i)}var Se={};function Lk(t=1){Mg(ee(),T(),yt()+t,!1)}function Mg(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Li(e,i,r)}else{let i=t.preOrderHooks;i!==null&&ji(e,i,0,r)}Rn(r)}function j(t,e=k.Default){let r=T();if(r===null)return C(t,e);let n=me();return jp(n,r,pe(t),e)}function Sg(){let t="invalid";throw new Error(t)}function Tg(t,e,r,n,o,i){let s=L(null);try{let a=null;o&rn.SignalBased&&(a=e[n][It]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&rn.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):cp(e,a,n,i)}finally{L(s)}}function pI(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)Rn(~o);else{let i=o,s=r[++n],a=r[++n];Lw(s,i);let c=e[i];a(2,c)}}}finally{Rn(-1)}}function Vs(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[vt]=o,d[_]=n|4|128|8|64,(u!==null||t&&t[_]&2048)&&(d[_]|=2048),pp(d),d[Ee]=d[Er]=t,d[De]=r,d[pt]=s||t&&t[pt],d[J]=a||t&&t[J],d[hr]=c||t&&t[hr]||null,d[Pe]=i,d[bs]=vE(),d[fr]=l,d[ap]=u,d[ke]=e.type==2?t[ke]:d,d}function Cr(t,e,r,n,o){let i=t.data[e];if(i===null)i=gI(t,e,r,n,o),kw()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=Ow();i.injectorIndex=s===null?-1:s.injectorIndex}return jn(i,!0),i}function gI(t,e,r,n,o){let i=wp(),s=Zu(),a=s?i:i&&i.parent,c=t.data[e]=EI(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function xg(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function _g(t,e,r,n,o){let i=yt(),s=n&2;try{Rn(-1),s&&e.length>ce&&Mg(t,e,ce,!1),lt(s?2:0,o),r(n,o)}finally{Rn(i),lt(s?3:1,o)}}function pl(t,e,r){if(zu(e)){let n=L(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{L(n)}}}function gl(t,e,r){yp()&&(TI(t,e,r,qe(r,e)),(r.flags&64)===64&&Rg(t,e,r))}function ml(t,e,r=qe){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function Ng(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=vl(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function vl(t,e,r,n,o,i,s,a,c,u,l){let d=ce+n,h=d+o,f=mI(d,h),p=typeof u=="function"?u():u;return f[N]={type:t,blueprint:f,template:r,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:p,incompleteFirstPass:!1,ssrId:l}}function mI(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Se);return r}function vI(t,e,r,n){let i=n.get(CE,Xp)||r===ht.ShadowDom,s=t.selectRootElement(e,i);return yI(s),s}function yI(t){DI(t)}var DI=()=>null;function wI(t,e,r,n){let o=Fg(e);o.push(r),t.firstCreatePass&&kg(t).push(n,o.length-1)}function EI(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Dp()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function hh(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n!=null||(n={});let a,c=rn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?ph(n,r,u,a,c):ph(n,r,u,a)}return n}function ph(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function II(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],h=r?r.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=hh(0,d.inputs,l,c,f),u=hh(1,d.outputs,l,u,p);let m=c!==null&&s!==null&&!$u(e)?jI(c,l,s):null;a.push(m)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function CI(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function $s(t,e,r,n,o,i,s,a){let c=qe(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(Dl(t,r,l,n,o),Ms(e)&&bI(r,e.index)):e.type&3?(n=CI(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function bI(t,e){let r=un(e,t);r[_]&16||(r[_]|=64)}function yl(t,e,r,n){if(yp()){let o=n===null?null:{"":-1},i=_I(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Ag(t,e,r,s,o,a),o&&NI(r,n,o)}r.mergedAttrs=Kr(r.mergedAttrs,r.attrs)}function Ag(t,e,r,n,o,i){var u,l;for(let d=0;d<n.length;d++)Uc(Qi(r,e),t,n[d].type);RI(r,t.data.length,n.length);for(let d=0;d<n.length;d++){let h=n[d];h.providersResolver&&h.providersResolver(h)}let s=!1,a=!1,c=xg(t,e,n.length,null);for(let d=0;d<n.length;d++){let h=n[d];r.mergedAttrs=Kr(r.mergedAttrs,h.hostAttrs),OI(t,r,e,c,h),AI(c,h,o),h.contentQueries!==null&&(r.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(r.flags|=64);let f=h.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&(((u=t.preOrderHooks)!=null?u:t.preOrderHooks=[]).push(r.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&(((l=t.preOrderCheckHooks)!=null?l:t.preOrderCheckHooks=[]).push(r.index),a=!0),c++}II(t,r,i)}function MI(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;SI(s)!=a&&s.push(a),s.push(r,n,i)}}function SI(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function TI(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Ms(r)&&PI(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Qi(r,e),sn(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=Pn(e,t,a,r);if(sn(u,e),s!==null&&LI(e,a-o,u,c,r,s),Tt(c)){let l=un(r.index,e);l[De]=Pn(e,t,a,r)}}}function Rg(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=jw();try{Rn(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];jc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xI(c,u)}}finally{Rn(-1),jc(s)}}function xI(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function _I(t,e){var i;let r=t.directiveRegistry,n=null,o=null;if(r)for(let s=0;s<r.length;s++){let a=r[s];if(Zh(e,a.selectors,!1))if(n||(n=[]),Tt(a))if(a.findHostDirectiveDefs!==null){let c=[];o=o||new Map,a.findHostDirectiveDefs(a,c,o),n.unshift(...c,a);let u=c.length;ou(t,e,u)}else n.unshift(a),ou(t,e,0);else o=o||new Map,(i=a.findHostDirectiveDefs)==null||i.call(a,a,n,o),n.push(a)}return n===null?null:[n,o]}function ou(t,e,r){var n;e.componentOffset=r,((n=t.components)!=null?n:t.components=[]).push(e.index)}function NI(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new w(-301,!1);n.push(e[o],i)}}}function AI(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Tt(e)&&(r[""]=t)}}function RI(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function OI(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=xn(o.type,!0)),s=new On(i,Tt(o),j);t.blueprint[n]=s,r[n]=s,MI(t,e,n,xg(t,r,o.hostVars,Se),o)}function PI(t,e,r){let n=qe(e,t),o=Ng(r),i=t[pt].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Us(t,Vs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function FI(t,e,r,n,o,i){let s=qe(t,e);kI(e[J],s,i,t.value,r,n,o)}function kI(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?ft(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function LI(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Tg(n,r,c,u,l,d)}}function jI(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function Og(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Pg(t,e){let r=t.contentQueries;if(r!==null){let n=L(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];Qu(i),a.contentQueries(2,e[s],s)}}}finally{L(n)}}}function Us(t,e){return t[Xr]?t[Zf][et]=e:t[Xr]=e,t[Zf]=e,e}function iu(t,e,r){Qu(0);let n=L(null);try{e(t,r)}finally{L(n)}}function Fg(t){var e;return(e=t[cr])!=null?e:t[cr]=[]}function kg(t){var e;return(e=t.cleanup)!=null?e:t.cleanup=[]}function VI(t,e,r){return(t===null||Tt(t))&&(r=Cw(r[e.index])),r[J]}function Lg(t,e){let r=t[hr],n=r?r.get(xt,null):null;n&&n.handleError(e)}function Dl(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=e[s],l=t.data[s];Tg(l,u,n,a,c,o)}}function wl(t,e,r){let n=hp(e,t);KE(t[J],n,r)}function $I(t,e){let r=un(e,t),n=r[N];UI(n,r);let o=r[vt];o!==null&&r[fr]===null&&(r[fr]=cl(o,r[hr])),El(n,r,r[De])}function UI(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function El(t,e,r){var n;Ku(e);try{let o=t.viewQuery;o!==null&&iu(1,o,r);let i=t.template;i!==null&&_g(t,e,i,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),(n=e[tt])==null||n.finishViewCreation(t),t.staticContentQueries&&Pg(t,e),t.staticViewQueries&&iu(2,t.viewQuery,r);let s=t.components;s!==null&&BI(e,s)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),o}finally{e[_]&=-5,Ju()}}function BI(t,e){for(let r=0;r<e.length;r++)$I(t,e[r])}function lo(t,e,r,n){var i,s,a;let o=L(null);try{let c=e.tView,l=t[_]&4096?4096:16,d=Vs(t,c,r,l,null,e,null,null,(i=n==null?void 0:n.injector)!=null?i:null,(s=n==null?void 0:n.embeddedViewInjector)!=null?s:null,(a=n==null?void 0:n.dehydratedView)!=null?a:null),h=t[e.index];d[_n]=h;let f=t[tt];return f!==null&&(d[tt]=f.createEmbeddedView(c)),El(c,d,r),d}finally{L(o)}}function jg(t,e){let r=we+e;if(r<t.length)return t[r]}function gr(t,e){return!e||e.firstChild===null||Gp(t)}function fo(t,e,r,n=!0){let o=e[N];if(nI(o,e,t,r),n){let s=ru(r,t),a=e[J],c=Dg(a,t[Nn]);c!==null&&eI(o,t[Pe],a,e,c,s)}let i=e[fr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Vg(t,e){let r=eo(t,e);return r!==void 0&&ks(r[N],r),r}function ts(t,e,r,n,o=!1){for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let i=e[r.index];i!==null&&n.push(gt(i)),Ot(i)&&HI(i,n);let s=r.type;if(s&8)ts(t,e,r.child,n);else if(s&32){let a=dl(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Eg(e,r);if(Array.isArray(a))n.push(...a);else{let c=An(e[ke]);ts(c[N],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function HI(t,e){for(let r=we;r<t.length;r++){let n=t[r],o=n[N].firstChild;o!==null&&ts(n[N],n,o,e)}t[Nn]!==t[vt]&&e.push(t[Nn])}var $g=[];function zI(t){var e;return(e=t[ze])!=null?e:GI(t)}function GI(t){var r;let e=(r=$g.pop())!=null?r:Object.create(WI);return e.lView=t,e}function qI(t){t.lView[ze]!==t&&(t.lView=null,$g.push(t))}var WI=Y(D({},$r),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{xs(t.lView)},consumerOnSignalRead(){this.lView[ze]=this}});function ZI(t){var r;let e=(r=t[ze])!=null?r:Object.create(YI);return e.lView=t,e}var YI=Y(D({},$r),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=An(t.lView);for(;e&&!Ug(e[N]);)e=An(e);e&&gp(e)},consumerOnSignalRead(){this.lView[ze]=this}});function Ug(t){return t.type!==2}var QI=100;function Bg(t,e=!0,r=0){var s,a,c;let n=t[pt],o=n.rendererFactory,i=!1;i||(s=o.begin)==null||s.call(o);try{KI(t,r)}catch(u){throw e&&Lg(t,u),u}finally{i||((a=o.end)==null||a.call(o),(c=n.inlineEffectRunner)==null||c.flush())}}function KI(t,e){let r=Ep();try{Qf(!0),su(t,e);let n=0;for(;Ts(t);){if(n===QI)throw new w(103,!1);n++,su(t,1)}}finally{Qf(r)}}function JI(t,e,r,n){var l;let o=e[_];if((o&256)===256)return;let i=!1,s=!1;!i&&((l=e[pt].inlineEffectRunner)==null||l.flush()),Ku(e);let a=!0,c=null,u=null;i||(Ug(t)?(u=zI(e),c=Jo(u)):Qd()===null?(a=!1,u=ZI(e),c=Jo(u)):e[ze]&&(Za(e[ze]),e[ze]=null));try{pp(e),Fw(t.bindingStartIndex),r!==null&&_g(t,e,r,2,n);let d=(o&3)===3;if(!i)if(d){let p=t.preOrderCheckHooks;p!==null&&Li(e,p,null)}else{let p=t.preOrderHooks;p!==null&&ji(e,p,0,null),mc(e,0)}if(s||XI(e),Hg(e,0),t.contentQueries!==null&&Pg(t,e),!i)if(d){let p=t.contentCheckHooks;p!==null&&Li(e,p)}else{let p=t.contentHooks;p!==null&&ji(e,p,1),mc(e,1)}pI(t,e);let h=t.components;h!==null&&Gg(e,h,0);let f=t.viewQuery;if(f!==null&&iu(2,f,n),!i)if(d){let p=t.viewCheckHooks;p!==null&&Li(e,p)}else{let p=t.viewHooks;p!==null&&ji(e,p,2),mc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[gc]){for(let p of e[gc])p();e[gc]=null}i||(e[_]&=-73)}catch(d){throw i||xs(e),d}finally{u!==null&&(qa(u,c),a&&qI(u)),Ju()}}function Hg(t,e){for(let r=Wp(t);r!==null;r=Zp(r))for(let n=we;n<r.length;n++){let o=r[n];zg(o,e)}}function XI(t){for(let e=Wp(t);e!==null;e=Zp(e)){if(!(e[_]&qi.HasTransplantedViews))continue;let r=e[pr];for(let n=0;n<r.length;n++){let o=r[n];gp(o)}}}function eC(t,e,r){let n=un(e,t);zg(n,r)}function zg(t,e){Wu(t)&&su(t,e)}function su(t,e){let n=t[N],o=t[_],i=t[ze],s=!!(e===0&&o&16);if(s||(s=!!(o&64&&e===0)),s||(s=!!(o&1024)),s||(s=!!(i!=null&&i.dirty&&Wa(i))),s||(s=!1),i&&(i.dirty=!1),t[_]&=-9217,s)JI(n,t,n.template,t[De]);else if(o&8192){Hg(t,1);let a=n.components;a!==null&&Gg(t,a,1)}}function Gg(t,e,r){for(let n=0;n<e.length;n++)eC(t,e[n],r)}function Il(t,e){var n;let r=Ep()?64:1088;for((n=t[pt].changeDetectionScheduler)==null||n.notify(e);t;){t[_]|=r;let o=An(t);if(Fc(t)&&!o)return t;t=o}return null}var Fn=class{get rootNodes(){let e=this._lView,r=e[N];return ts(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[De]}set context(e){this._lView[De]=e}get destroyed(){return(this._lView[_]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ee];if(Ot(e)){let r=e[Gi],n=r?r.indexOf(this):-1;n>-1&&(eo(e,n),Hi(r,n))}this._attachedToViewContainer=!1}ks(this._lView[N],this._lView)}onDestroy(e){mp(this._lView,e)}markForCheck(){Il(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Lc(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,Bg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Fc(this._lView),r=this._lView[_n];r!==null&&!e&&fl(r,this._lView),gg(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=Fc(this._lView),n=this._lView[_n];n!==null&&!r&&mg(n,this._lView),Lc(this._lView)}},Nt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=rC;let t=e;return t})(),tC=Nt,nC=class extends tC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=lo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Fn(o)}};function rC(){return Bs(me(),T())}function Bs(t,e){return t.type&4?new nC(e,t,Ir(t,e)):null}var Vk=new RegExp(`^(\\d+)*(${EE}|${wE})*(.*)`);var oC=()=>null;function mr(t,e){return oC(t,e)}var vr=class{},Cl=new E("",{providedIn:"root",factory:()=>!1});var qg=new E(""),Wg=new E(""),au=class{},ns=class{};function iC(t){let e=Error(`No component factory found for ${be(t)}.`);return e[sC]=t,e}var sC="ngComponent";var cu=class{resolveComponentFactory(e){throw iC(e)}},kl=class kl{};kl.NULL=new cu;var yr=kl,Dr=class{},dn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>aC();let t=e;return t})();function aC(){let t=T(),e=me(),r=un(e.index,t);return(nn(r)?r:t)[J]}var cC=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function rs(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=Tc(o,a);else if(i==2){let c=a,u=e[++s];n=Tc(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var os=class extends yr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=St(e);return new kn(r,this.ngModule)}};function gh(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let o=t[n];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:rn.None;e?r.push({propName:s,templateName:n,isSignal:(a&rn.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function uC(t){let e=t.toLowerCase();return e==="svg"?fp:e==="math"?Iw:null}var kn=class extends ns{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=gh(e.inputs,!0);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return gh(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=tw(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=L(null);try{o=o||this.ngModule;let a=o instanceof Me?o:o==null?void 0:o.injector;a&&this.componentDef.getStandaloneInjector!==null&&(a=this.componentDef.getStandaloneInjector(a)||a);let c=a?new Vc(e,a):e,u=c.get(Dr,null);if(u===null)throw new w(407,!1);let l=c.get(cC,null),d=c.get(vr,null),h={rendererFactory:u,sanitizer:l,inlineEffectRunner:null,changeDetectionScheduler:d},f=u.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=n?vI(f,n,this.componentDef.encapsulation,c):pg(f,p,uC(p)),v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let y=null;m!==null&&(y=cl(m,c,!0));let b=vl(0,null,null,1,0,null,null,null,null,null,null),G=Vs(null,b,null,v,null,null,h,f,c,null,y);Ku(G);let $,oe,ve=null;try{let te=this.componentDef,Et,jr=null;te.findHostDirectiveDefs?(Et=[],jr=new Map,te.findHostDirectiveDefs(te,Et,jr),Et.push(te)):Et=[te];let vn=lC(G,m);ve=dC(vn,m,te,Et,G,h,f),oe=Gu(b,ce),m&&pC(f,te,m,n),r!==void 0&&gC(oe,this.ngContentSelectors,r),$=hC(ve,te,Et,jr,G,[mC]),El(b,G,null)}catch(te){throw ve!==null&&Wc(ve),Wc(G),te}finally{Ju()}return new uu(this.componentType,$,Ir(oe,G),G,oe)}finally{L(i)}}},uu=class extends au{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Fn(o,void 0,!1),this.componentType=e}setInput(e,r){var i;let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if((i=this.previousInputValues)!=null||(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let s=this._rootLView;Dl(s[N],s,o,e,r),this.previousInputValues.set(e,r);let a=un(this._tNode.index,s);Il(a,1)}}get injector(){return new Sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function lC(t,e){let r=t[N],n=ce;return t[n]=e,Cr(r,n,2,"#host",null)}function dC(t,e,r,n,o,i,s){let a=o[N];fC(n,t,e,s);let c=null;e!==null&&(c=cl(e,o[hr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Vs(o,Ng(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&ou(a,t,n.length-1),Us(o,d),o[t.index]=d}function fC(t,e,r,n){for(let o of t)e.mergedAttrs=Kr(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(rs(e,e.mergedAttrs,!0),r!==null&&bg(n,r,e))}function hC(t,e,r,n,o,i){let s=me(),a=o[N],c=qe(s,o);Ag(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,h=Pn(o,a,d,s);sn(h,o)}Rg(a,o,s),c&&sn(c,o);let u=Pn(o,a,s.directiveStart+s.componentOffset,s);if(t[De]=o[De]=u,i!==null)for(let l of i)l(u,e);return pl(a,s,o),u}function pC(t,e,r,n){if(n)Ac(t,r,["ng-version","18.2.12"]);else{let{attrs:o,classes:i}=nw(e.selectors[0]);o&&Ac(t,r,o),i&&i.length>0&&Cg(t,r,i.join(" "))}}function gC(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function mC(){let t=me();Rs(T()[N],t)}var ot=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=vC;let t=e;return t})();function vC(){let t=me();return Yg(t,T())}var yC=ot,Zg=class extends yC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new Sn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Xu(this._hostTNode,this._hostLView);if(Rp(e)){let r=Zi(e,this._hostLView),n=Wi(e),o=r[N].data[n+8];return new Sn(o,r)}else return new Sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=mh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=mr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,gr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){var p,m,v;let s=e&&!yw(e),a;if(s)a=r;else{let y=r||{};a=y.index,n=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}let c=s?e:new kn(St(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(Me,null);b&&(i=b)}let l=St((p=c.componentType)!=null?p:{}),d=mr(this._lContainer,(m=l==null?void 0:l.id)!=null?m:null),h=(v=d==null?void 0:d.firstChild)!=null?v:null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,gr(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(Mw(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ee],u=new Zg(c,c[Pe],c[Ee]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return fo(s,o,i,n),e.attachToViewContainerRef(),Bh(Ec(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=mh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=eo(this._lContainer,r);n&&(Hi(Ec(this._lContainer),r),ks(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=eo(this._lContainer,r);return n&&Hi(Ec(this._lContainer),r)!=null?new Fn(n):null}_adjustIndex(e,r=0){return e==null?this.length+r:e}};function mh(t){return t[Gi]}function Ec(t){return t[Gi]||(t[Gi]=[])}function Yg(t,e){let r,n=e[t.index];return Ot(n)?r=n:(r=Og(n,e,null,t),e[t.index]=r,Us(e,r)),wC(r,e,t,n),new Zg(r,t,e)}function DC(t,e){let r=t[J],n=r.createComment(""),o=qe(e,t),i=Dg(r,o);return es(r,i,n,sI(r,o),!1),n}var wC=CC,EC=()=>!1;function IC(t,e,r){return EC(t,e,r)}function CC(t,e,r,n){if(t[Nn])return;let o;r.type&8?o=gt(n):o=DC(e,r),t[Nn]=o}var lu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},du=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)bl(e,r).matches!==null&&this.queries[r].setDirty()}},is=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=AC(e):this.predicate=e}},fu=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},hu=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,bC(r,i)),this.matchTNodeWithReadOption(e,r,Vi(r,e,i,!1,!1))}else n===Nt?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Vi(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===We||o===ot||o===Nt&&r.type&4)this.addMatch(r.index,-2);else{let i=Vi(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function bC(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function MC(t,e){return t.type&11?Ir(t,e):t.type&4?Bs(t,e):null}function SC(t,e,r,n){return r===-1?MC(e,t):r===-2?TC(t,e,n):Pn(t,t[N],r,e)}function TC(t,e,r){if(r===We)return Ir(e,t);if(r===Nt)return Bs(e,t);if(r===ot)return Yg(e,t)}function Qg(t,e,r,n){let o=e[tt].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(SC(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function pu(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=Qg(t,e,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=we;d<l.length;d++){let h=l[d];h[_n]===h[Ee]&&pu(h[N],h,u,n)}if(l[pr]!==null){let d=l[pr];for(let h=0;h<d.length;h++){let f=d[h];pu(f[N],f,u,n)}}}}}return n}function xC(t,e){return t[tt].queries[e].queryList}function Kg(t,e,r){var i;let n=new qc((r&4)===4);return wI(t,e,n,n.destroy),((i=e[tt])!=null?i:e[tt]=new du).queries.push(new lu(n))-1}function _C(t,e,r){let n=ee();return n.firstCreatePass&&(Jg(n,new is(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),Kg(n,T(),e)}function NC(t,e,r,n){let o=ee();if(o.firstCreatePass){let i=me();Jg(o,new is(e,r,n),i.index),RC(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return Kg(o,T(),r)}function AC(t){return t.split(",").map(e=>e.trim())}function Jg(t,e,r){t.queries===null&&(t.queries=new fu),t.queries.track(new hu(e,r))}function RC(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function bl(t,e){return t.queries.getByIndex(e)}function OC(t,e){let r=t[N],n=bl(r,e);return n.crossesNgTemplate?pu(r,t,e,[]):Qg(r,t,n,e)}var vh=new Set;function Dt(t){var e;vh.has(t)||(vh.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}function PC(t){return typeof t=="function"&&t[It]!==void 0}function Uk(t,e){Dt("NgSignals");let r=cf(t),n=r[It];return e!=null&&e.equal&&(n.equal=e.equal),r.set=o=>Ya(n,o),r.update=o=>uf(n,o),r.asReadonly=FC.bind(r),r}function FC(){let t=this[It];if(t.readonlyFn===void 0){let e=()=>this();e[It]=t,t.readonlyFn=e}return t.readonlyFn}function Xg(t){return PC(t)&&typeof t.set=="function"}function kC(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then($C))}return i}return ss.forEach((o,i)=>{var u,l;let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(d=>{o.template=d}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&((u=o.styleUrls)!=null&&u.length))throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if((l=o.styleUrls)!=null&&l.length){let d=o.styles.length,h=o.styleUrls;o.styleUrls.forEach((f,p)=>{a.push(""),s.push(n(f).then(m=>{a[d+p]=m,h.splice(h.indexOf(f),1),h.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(d=>{a.push(d),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>UC(i));e.push(c)}),jC(),Promise.all(e).then(()=>{})}var ss=new Map,LC=new Set;function jC(){let t=ss;return ss=new Map,t}function VC(){return ss.size===0}function $C(t){return typeof t=="string"?t:t.text()}function UC(t){LC.delete(t)}function BC(t){return Object.getPrototypeOf(t.prototype).constructor}function HC(t){let e=BC(t.type),r=!0,n=[t];for(;e;){let o;if(Tt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=Ri(t.inputs),s.inputTransforms=Ri(t.inputTransforms),s.declaredInputs=Ri(t.declaredInputs),s.outputs=Ri(t.outputs);let a=o.hostBindings;a&&ZC(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&qC(t,c),u&&WC(t,u),zC(t,o),wD(t.outputs,o.outputs),Tt(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===HC&&(r=!1)}}e=Object.getPrototypeOf(e)}GC(n)}function zC(t,e){var r;for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let o=e.inputs[n];if(o!==void 0&&(t.inputs[n]=o,t.declaredInputs[n]=e.declaredInputs[n],e.inputTransforms!==null)){let i=Array.isArray(o)?o[0]:o;if(!e.inputTransforms.hasOwnProperty(i))continue;(r=t.inputTransforms)!=null||(t.inputTransforms={}),t.inputTransforms[i]=e.inputTransforms[i]}}}function GC(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=Kr(o.hostAttrs,r=Kr(r,o.hostAttrs))}}function Ri(t){return t===Mt?{}:t===Ne?[]:t}function qC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function WC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function ZC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function Bk(t){let e=r=>{let n=Array.isArray(t);r.hostDirectives===null?(r.findHostDirectiveDefs=em,r.hostDirectives=n?t.map(gu):[t]):n?r.hostDirectives.unshift(...t.map(gu)):r.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function em(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let o=n();for(let i of o)yh(gu(i),e,r)}else yh(n,e,r)}function yh(t,e,r){let n=Uu(t.directive);YC(n.declaredInputs,t.inputs),em(n,e,r),r.set(n,t),e.push(n)}function gu(t){return typeof t=="function"?{directive:pe(t),inputs:Mt,outputs:Mt}:{directive:pe(t.directive),inputs:Dh(t.inputs),outputs:Dh(t.outputs)}}function Dh(t){if(t===void 0||t.length===0)return Mt;let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}function YC(t,e){for(let r in e)if(e.hasOwnProperty(r)){let n=e[r],o=t[r];t[n]=o}}function Hs(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var an=class{},to=class{};var as=class extends an{constructor(e,r,n,o=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new os(this);let i=Jh(e);this._bootstrapComponents=fg(i.bootstrap),this._r3Injector=Up(e,r,[{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver},...n],be(e),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},cs=class extends to{constructor(e){super(),this.moduleType=e}create(e){return new as(this.moduleType,e,[])}};function QC(t,e,r){return new as(t,e,r,!1)}var mu=class extends an{constructor(e){super(),this.componentFactoryResolver=new os(this),this.instance=null;let r=new Jr([...e.providers,{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver}],e.parent||Cs(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function zs(t,e,r=null){return new mu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function tm(t){return Ml(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function KC(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Ml(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ho(t,e,r){return t[e]=r}function JC(t,e){return t[e]}function Re(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function no(t,e,r,n){let o=Re(t,e,r);return Re(t,e+1,n)||o}function nm(t,e,r,n,o){let i=no(t,e,r,n);return Re(t,e+2,o)||i}function XC(t,e,r,n,o,i){let s=no(t,e,r,n);return no(t,e+2,o,i)||s}function eb(t){return(t.flags&32)===32}function tb(t,e,r,n,o,i,s,a,c){let u=e.consts,l=Cr(e,t,4,s||null,a||null);yl(e,r,l,on(u,c)),Rs(e,l);let d=l.tView=vl(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function us(t,e,r,n,o,i,s,a,c,u){let l=r+ce,d=e.firstCreatePass?tb(l,e,t,n,o,i,s,a,c):e.data[l];jn(d,!1);let h=rb(e,t,d,r);Ns()&&Ls(e,t,h,d),sn(h,t);let f=Og(h,t,h,d);return t[l]=f,Us(t,f),IC(f,d,t),Ss(d)&&gl(e,t,d),c!=null&&ml(t,d,u),d}function nb(t,e,r,n,o,i,s,a){let c=T(),u=ee(),l=on(u.consts,i);return us(c,u,t,e,r,n,o,l,s,a),nb}var rb=ob;function ob(t,e,r,n){return As(!0),e[J].createComment("")}var sr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(sr||{}),rm=(()=>{let e=class e{constructor(){this.impl=null}execute(){var n;(n=this.impl)==null||n.execute()}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Mn=class Mn{constructor(){this.ngZone=g(z),this.scheduler=g(vr),this.errorHandler=g(xt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){var e;this.executing=!0;for(let r of Mn.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[r]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[r](n.pipelinedValue))}catch(o){n.erroredOrDestroyed=!0,(e=this.errorHandler)==null||e.handleError(o)}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()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Mn.PHASES=[sr.EarlyRead,sr.Write,sr.MixedReadWrite,sr.Read],Mn.\u0275prov=I({token:Mn,providedIn:"root",factory:()=>new Mn});var vu=Mn,yu=class{constructor(e,r,n,o){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o==null?void 0:o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function ib(t,e){var n;!(e!=null&&e.injector)&&sp(ib);let r=(n=e==null?void 0:e.injector)!=null?n:g(Ae);return hg(r)?(Dt("NgAfterRender"),om(t,r,e,!1)):im}function Sl(t,e){var n;!(e!=null&&e.injector)&&sp(Sl);let r=(n=e==null?void 0:e.injector)!=null?n:g(Ae);return hg(r)?(Dt("NgAfterNextRender"),om(t,r,e,!0)):im}function sb(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function om(t,e,r,n){var c,u;let o=e.get(rm);(c=o.impl)!=null||(o.impl=e.get(vu));let i=(u=r==null?void 0:r.phase)!=null?u:sr.MixedReadWrite,s=(r==null?void 0:r.manualCleanup)!==!0?e.get(nl):null,a=new yu(o.impl,sb(t,i),n,s);return o.impl.register(a),a}var im={destroy(){}};function Tl(t,e,r,n){let o=T(),i=ln();if(Re(o,i,e)){let s=ee(),a=co();FI(a,o,t,e,r,n)}return Tl}function sm(t,e,r,n){return Re(t,ln(),r)?e+ft(r)+n:Se}function ab(t,e,r,n,o,i){let s=Ip(),a=no(t,s,r,o);return _s(2),a?e+ft(r)+n+ft(o)+i:Se}function cb(t,e,r,n,o,i,s,a){let c=Ip(),u=nm(t,c,r,o,s);return _s(3),u?e+ft(r)+n+ft(o)+i+ft(s)+a:Se}function Oi(t,e){return t<<17|e<<2}function Ln(t){return t>>17&32767}function ub(t){return(t&2)==2}function lb(t,e){return t&131071|e<<17}function Du(t){return t|2}function wr(t){return(t&131068)>>2}function Ic(t,e){return t&-131069|e<<2}function db(t){return(t&1)===1}function wu(t){return t|1}function fb(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=Ln(s),c=wr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||so(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let h=Ln(t[a+1]);t[n+1]=Oi(h,a),h!==0&&(t[h+1]=Ic(t[h+1],n)),t[a+1]=lb(t[a+1],n)}else t[n+1]=Oi(a,0),a!==0&&(t[a+1]=Ic(t[a+1],n)),a=n;else t[n+1]=Oi(c,0),a===0?a=n:t[c+1]=Ic(t[c+1],n),c=n;u&&(t[n+1]=Du(t[n+1])),wh(t,l,n,!0),wh(t,l,n,!1),hb(e,l,t,n,i),s=Oi(a,c),i?e.classBindings=s:e.styleBindings=s}function hb(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&so(i,e)>=0&&(r[n+1]=wu(r[n+1]))}function wh(t,e,r,n){let o=t[r+1],i=e===null,s=n?Ln(o):wr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];pb(c,e)&&(a=!0,t[s+1]=n?wu(u):Du(u)),s=n?Ln(u):wr(u)}a&&(t[r+1]=n?Du(o):wu(o))}function pb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?so(t,e)>=0:!1}var Xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gb(t){return t.substring(Xe.key,Xe.keyEnd)}function mb(t){return vb(t),am(t,cm(t,0,Xe.textEnd))}function am(t,e){let r=Xe.textEnd;return r===e?-1:(e=Xe.keyEnd=yb(t,Xe.key=e,r),cm(t,e,r))}function vb(t){Xe.key=0,Xe.keyEnd=0,Xe.value=0,Xe.valueEnd=0,Xe.textEnd=t.length}function cm(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function yb(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function Db(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!1)}return Db}function Eu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Dl(t,r,i[s],s,n)}function xl(t,e,r){return lm(t,e,r,!1),xl}function wb(t,e){return lm(t,e,null,!0),wb}function Hk(t){dm(Sb,um,t,!0)}function um(t,e){for(let r=mb(e);r>=0;r=am(e,r))ws(t,gb(e),!0)}function lm(t,e,r,n){let o=T(),i=ee(),s=_s(2);if(i.firstUpdatePass&&hm(i,t,s,n),e!==Se&&Re(o,s,e)){let a=i.data[yt()];pm(i,a,o,o[J],t,o[s+1]=xb(e,r),n,s)}}function dm(t,e,r,n){let o=ee(),i=_s(2);o.firstUpdatePass&&hm(o,null,i,n);let s=T();if(r!==Se&&Re(s,i,r)){let a=o.data[yt()];if(gm(a,n)&&!fm(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Tc(c,r||"")),Eu(o,a,s,r,n)}else Tb(o,a,s,s[J],s[i+1],s[i+1]=Mb(t,e,r),n,i)}}function fm(t,e){return e>=t.expandoStartIndex}function hm(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[yt()],s=fm(t,r);gm(i,n)&&e===null&&!s&&(e=!1),e=Eb(o,i,e,n),fb(o,i,e,r,s,n)}}function Eb(t,e,r,n){let o=Cp(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Cc(null,t,e,r,n),r=ro(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Cc(o,t,e,r,n),i===null){let c=Ib(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Cc(null,t,e,c[1],n),c=ro(c,e.attrs,n),Cb(t,e,n,c))}else i=bb(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function Ib(t,e,r){let n=r?e.classBindings:e.styleBindings;if(wr(n)!==0)return t[Ln(n)]}function Cb(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[Ln(o)]=n}function bb(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=ro(n,s,r)}return ro(n,e.attrs,r)}function Cc(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=ro(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function ro(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),ws(t,s,r?!0:e[++i]))}return t===void 0?null:t}function Mb(t,e,r){if(r==null||r==="")return Ne;let n=[],o=Le(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function Sb(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&ws(t,n,r)}function Tb(t,e,r,n,o,i,s,a){o===Se&&(o=Ne);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&pm(t,e,r,n,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function pm(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=db(u)?Eh(c,e,r,o,wr(u),s):void 0;if(!ls(l)){ls(i)||ub(u)&&(i=Eh(c,null,r,o,a,s));let d=hp(yt(),r);fI(n,s,d,o,i)}}function Eh(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=r[o+1];h===Se&&(h=d?Ne:void 0);let f=d?hc(h,n):l===n?h:void 0;if(u&&!ls(f)&&(f=hc(c,n)),ls(f)&&(a=f,s))return a;let p=t[o+1];o=s?Ln(p):wr(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=hc(c,n))}return a}function ls(t){return t!==void 0}function xb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=be(Le(t)))),t}function gm(t,e){return(t.flags&(e?8:16))!==0}function zk(t,e,r){let n=T(),o=sm(n,t,e,r);dm(ws,um,o,!0)}var Iu=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function bc(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function _b(t,e,r){let n,o,i=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;i<=s&&i<=c;){let u=t.at(i),l=e[i],d=bc(i,u,i,l,r);if(d!==0){d<0&&t.updateValue(i,l),i++;continue}let h=t.at(s),f=e[c],p=bc(s,h,c,f,r);if(p!==0){p<0&&t.updateValue(s,f),s--,c--;continue}let m=r(i,u),v=r(s,h),y=r(i,l);if(Object.is(y,v)){let b=r(c,f);Object.is(b,m)?(t.swap(i,s),t.updateValue(s,f),c--,s--):t.move(s,i),t.updateValue(i,l),i++;continue}if(n!=null||(n=new ds),o!=null||(o=Ch(t,i,s,r)),Cu(t,n,i,y))t.updateValue(i,l),i++,s++;else if(o.has(y))n.set(m,t.detach(i)),s--;else{let b=t.create(i,e[i]);t.attach(i,b),i++,s++}}for(;i<=c;)Ih(t,n,r,i,e[i]),i++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=t.at(i),d=u.value,h=bc(i,l,i,d,r);if(h!==0)h<0&&t.updateValue(i,d),i++,u=c.next();else{n!=null||(n=new ds),o!=null||(o=Ch(t,i,s,r));let f=r(i,d);if(Cu(t,n,i,f))t.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))t.attach(i,t.create(i,d)),i++,s++,u=c.next();else{let p=r(i,l);n.set(p,t.detach(i)),s--}}}for(;!u.done;)Ih(t,n,r,t.length,u.value),u=c.next()}for(;i<=s;)t.destroy(t.detach(s--));n==null||n.forEach(c=>{t.destroy(c)})}function Cu(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Ih(t,e,r,n,o){if(Cu(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function Ch(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var ds=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function Gk(t,e){Dt("NgControlFlow");let r=T(),n=ln(),o=r[n]!==Se?r[n]:-1,i=o!==-1?fs(r,ce+o):void 0,s=0;if(Re(r,n,t)){let a=L(null);try{if(i!==void 0&&Vg(i,s),t!==-1){let c=ce+t,u=fs(r,c),l=Tu(r[N],c),d=mr(u,l.tView.ssrId),h=lo(r,l,e,{dehydratedView:d});fo(u,h,s,gr(l,d))}}finally{L(a)}}else if(i!==void 0){let a=jg(i,s);a!==void 0&&(a[De]=e)}}var bu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-we}};function qk(t){return t}var Mu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function Wk(t,e,r,n,o,i,s,a,c,u,l,d,h){Dt("NgControlFlow");let f=T(),p=ee(),m=c!==void 0,v=T(),y=a?s.bind(v[ke][De]):s,b=new Mu(m,y);v[ce+t]=b,us(f,p,t+1,e,r,n,o,on(p.consts,i)),m&&us(f,p,t+2,c,u,l,d,on(p.consts,h))}var Su=class extends Iu{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-we}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[fr];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),fo(this.lContainer,r,e,gr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),Nb(this.lContainer,e)}create(e,r){var i;let n=mr(this.lContainer,this.templateTNode.tView.ssrId),o=lo(this.hostLView,this.templateTNode,new bu(this.lContainer,r,e),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),o}destroy(e){var r;ks(e[N],e),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){var e;this.needsIndexUpdate=!1,(e=this.operationsCounter)==null||e.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[De].$index=e}getLView(e){return Ab(this.lContainer,e)}};function Zk(t){let e=L(null),r=yt();try{let o=T(),i=o[N],s=o[r],a=r+1,c=fs(o,a);if(s.liveCollection===void 0){let l=Tu(i,a);s.liveCollection=new Su(c,o,l)}else s.liveCollection.reset();let u=s.liveCollection;if(_b(u,t,s.trackByFn),u.updateIndexes(),s.hasEmptyBlock){let l=ln(),d=u.length===0;if(Re(o,l,d)){let h=r+2,f=fs(o,h);if(d){let p=Tu(i,h),m=mr(f,p.tView.ssrId),v=lo(o,p,void 0,{dehydratedView:m});fo(f,v,0,gr(p,m))}else Vg(f,0)}}}finally{L(e)}}function fs(t,e){return t[e]}function Nb(t,e){return eo(t,e)}function Ab(t,e){return jg(t,e)}function Tu(t,e){return Gu(t,e)}function Rb(t,e,r,n,o,i){let s=e.consts,a=on(s,o),c=Cr(e,t,2,n,a);return yl(e,r,c,on(s,i)),c.attrs!==null&&rs(c,c.attrs,!1),c.mergedAttrs!==null&&rs(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function mm(t,e,r,n){let o=T(),i=ee(),s=ce+t,a=o[J],c=i.firstCreatePass?Rb(s,i,o,e,r,n):i.data[s],u=Ob(i,o,c,a,e,t);o[s]=u;let l=Ss(c);return jn(c,!0),bg(a,u,c),!eb(c)&&Ns()&&Ls(i,o,u,c),xw()===0&&sn(u,o),_w(),l&&(gl(i,o,c),pl(i,c,o)),n!==null&&ml(o,c),mm}function vm(){let t=me();Zu()?Yu():(t=t.parent,jn(t,!1));let e=t;Aw(e)&&Rw(),Nw();let r=ee();return r.firstCreatePass&&(Rs(r,t),zu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Gw(e)&&Eu(r,e,T(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&qw(e)&&Eu(r,e,T(),e.stylesWithoutHost,!1),vm}function _l(t,e,r,n){return mm(t,e,r,n),vm(),_l}var Ob=(t,e,r,n,o,i)=>(As(!0),pg(n,o,Uw()));function Pb(t,e,r,n,o){let i=e.consts,s=on(i,n),a=Cr(e,t,8,"ng-container",s);s!==null&&rs(a,s,!0);let c=on(i,o);return yl(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Fb(t,e,r){let n=T(),o=ee(),i=t+ce,s=o.firstCreatePass?Pb(i,o,n,e,r):o.data[i];jn(s,!0);let a=Lb(o,n,s,t);return n[i]=a,Ns()&&Ls(o,n,a,s),sn(a,n),Ss(s)&&(gl(o,n,s),pl(o,s,n)),r!=null&&ml(n,s),Fb}function kb(){let t=me(),e=ee();return Zu()?Yu():(t=t.parent,jn(t,!1)),e.firstCreatePass&&(Rs(e,t),zu(t)&&e.queries.elementEnd(t)),kb}var Lb=(t,e,r,n)=>(As(!0),JE(e[J],""));function Yk(){return T()}function jb(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!0)}return jb}function Vb(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co(),a=Cp(i.data),c=VI(a,s,n);$s(i,s,n,t,e,c,r,!0)}return Vb}var Cn=void 0;function $b(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var Ub=["en",[["a","p"],["AM","PM"],Cn],[["AM","PM"],Cn,Cn],[["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"]],Cn,[["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"]],Cn,[["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}",Cn,"{1} 'at' {0}",Cn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",$b],Zr={};function ym(t,e,r){typeof e!="string"&&(r=e,e=t[X.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Zr[e]=t,r&&(Zr[e][X.ExtraData]=r)}function je(t){let e=Bb(t),r=bh(e);if(r)return r;let n=e.split("-")[0];if(r=bh(n),r)return r;if(n==="en")return Ub;throw new w(701,!1)}function bh(t){return t in Zr||(Zr[t]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[t]),Zr[t]}var X=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(X||{});function Bb(t){return t.toLowerCase().replace(/_/g,"-")}var hs="en-US";var Hb=hs;function zb(t){typeof t=="string"&&(Hb=t.toLowerCase().replace(/_/g,"-"))}var Gb=(t,e,r)=>{};function Nl(t,e,r,n){let o=T(),i=ee(),s=me();return Dm(i,o,o[J],s,t,e,n),Nl}function qb(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[cr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Dm(t,e,r,n,o,i,s){let a=Ss(n),u=t.firstCreatePass&&kg(t),l=e[De],d=Fg(e),h=!0;if(n.type&3||s){let m=qe(n,e),v=s?s(m):m,y=d.length,b=s?$=>s(gt($[n.index])):n.index,G=null;if(!s&&a&&(G=qb(t,e,o,n.index)),G!==null){let $=G.__ngLastListenerFn__||G;$.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,h=!1}else{i=Sh(n,e,l,i),Gb(m,o,i);let $=r.listen(v,o,i);d.push(i,$),u&&u.push(o,b,y,y+1)}}else i=Sh(n,e,l,i);let f=n.outputs,p;if(h&&f!==null&&(p=f[o])){let m=p.length;if(m)for(let v=0;v<m;v+=2){let y=p[v],b=p[v+1],oe=e[y][b].subscribe(i),ve=d.length;d.push(i,oe),u&&u.push(o,n.index,ve,-(ve+1))}}}function Mh(t,e,r,n){let o=L(null);try{return lt(6,e,r),r(n)!==!1}catch(i){return Lg(t,i),!1}finally{lt(7,e,r),L(o)}}function Sh(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?un(t.index,e):e;Il(s,5);let a=Mh(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Mh(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Qk(t=1){return $w(t)}function Wb(t,e){let r=null,n=QD(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?Zh(t,i,!0):XD(n,i))return o}return r}function Kk(t){let e=T()[ke][Pe];if(!e.projection){let r=t?t.length:1,n=e.projection=UD(r,null),o=n.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?Wb(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i)}i=i.next}}}function Jk(t,e=0,r,n,o,i){let s=T(),a=ee(),c=n?t+1:null;c!==null&&us(s,a,c,n,o,i,null,r);let u=Cr(a,ce+t,16,null,r||null);u.projection===null&&(u.projection=e),Yu();let d=!s[fr]||Dp();s[ke][Pe].projection[u.projection]===null&&c!==null?Zb(s,a,c):d&&(u.flags&32)!==32&&lI(a,s,u)}function Zb(t,e,r){let n=ce+r,o=e.data[n],i=t[n],s=mr(i,o.tView.ssrId),a=lo(t,o,void 0,{dehydratedView:s});fo(i,a,0,gr(o,s))}function wm(t,e,r,n){NC(t,e,r,n)}function Xk(t,e,r){_C(t,e,r)}function Em(t){let e=T(),r=ee(),n=bp();Qu(n+1);let o=bl(r,n);if(t.dirty&&bw(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=OC(e,n);t.reset(i,pE),t.notifyOnChanges()}return!0}return!1}function Im(){return xC(T(),bp())}function Yb(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function e1(t){let e=Pw();return qu(e,ce+t)}function t1(t,e=""){let r=T(),n=ee(),o=t+ce,i=n.firstCreatePass?Cr(n,o,1,e,null):n.data[o],s=Qb(n,r,i,e,t);r[o]=s,Ns()&&Ls(n,r,s,i),jn(i,!1)}var Qb=(t,e,r,n,o)=>(As(!0),QE(e[J],n));function Kb(t){return Cm("",t,""),Kb}function Cm(t,e,r){let n=T(),o=sm(n,t,e,r);return o!==Se&&wl(n,yt(),o),Cm}function Jb(t,e,r,n,o){let i=T(),s=ab(i,t,e,r,n,o);return s!==Se&&wl(i,yt(),s),Jb}function Xb(t,e,r,n,o,i,s){let a=T(),c=cb(a,t,e,r,n,o,i,s);return c!==Se&&wl(a,yt(),c),Xb}function e0(t,e,r){Xg(e)&&(e=e());let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!1)}return e0}function n1(t,e){let r=Xg(t);return r&&t.set(e),r}function t0(t,e){let r=T(),n=ee(),o=me();return Dm(n,r,r[J],o,t,e),t0}function n0(t,e,r){let n=ee();if(n.firstCreatePass){let o=Tt(t);xu(r,n.data,n.blueprint,o,!0),xu(e,n.data,n.blueprint,o,!1)}}function xu(t,e,r,n,o){if(t=pe(t),Array.isArray(t))for(let i=0;i<t.length;i++)xu(t[i],e,r,n,o);else{let i=ee(),s=T(),a=me(),c=dr(t)?t:pe(t.provide),u=op(t),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(dr(t)||!t.multi){let f=new On(u,o,j),p=Sc(c,e,o?l:l+h,d);p===-1?(Uc(Qi(a,s),i,c),Mc(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[p]=f,s[p]=f)}else{let f=Sc(c,e,l+h,d),p=Sc(c,e,l,l+h),m=f>=0&&r[f],v=p>=0&&r[p];if(o&&!v||!o&&!m){Uc(Qi(a,s),i,c);let y=i0(o?o0:r0,r.length,o,n,u);!o&&v&&(r[p].providerFactory=y),Mc(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else{let y=bm(r[o?p:f],u,!o&&n);Mc(i,t,f>-1?f:p,y)}!o&&n&&v&&r[p].componentProviders++}}}function Mc(t,e,r,n){let o=dr(e),i=lw(e);if(o||i){let c=(i?pe(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function bm(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Sc(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function r0(t,e,r,n){return _u(this.multi,[])}function o0(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Pn(r,r[N],this.providerFactory.index,n);i=a.slice(0,s),_u(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],_u(o,i);return i}function _u(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function i0(t,e,r,n,o){let i=new On(t,r,j);return i.multi=[],i.index=e,i.componentProviders=0,bm(i,o,n&&!r),i}function r1(t,e=[]){return r=>{r.providersResolver=(n,o)=>n0(n,o?o(t):t,e)}}var s0=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=tp(!1,n.type),i=o.length>0?zs([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(Me))});let t=e;return t})();function Mm(t){Dt("NgStandalone"),t.getStandaloneInjector=e=>e.get(s0).getOrCreateStandaloneInjector(t)}function o1(t,e,r){let n=Vn()+t,o=T();return o[n]===Se?ho(o,n,r?e.call(r):e()):JC(o,n)}function i1(t,e,r,n){return Sm(T(),Vn(),t,e,r,n)}function s1(t,e,r,n,o){return Tm(T(),Vn(),t,e,r,n,o)}function a1(t,e,r,n,o,i){return a0(T(),Vn(),t,e,r,n,o,i)}function c1(t,e,r,n,o,i,s){return c0(T(),Vn(),t,e,r,n,o,i,s)}function Gs(t,e){let r=t[e];return r===Se?void 0:r}function Sm(t,e,r,n,o,i){let s=e+r;return Re(t,s,o)?ho(t,s+1,i?n.call(i,o):n(o)):Gs(t,s+1)}function Tm(t,e,r,n,o,i,s){let a=e+r;return no(t,a,o,i)?ho(t,a+2,s?n.call(s,o,i):n(o,i)):Gs(t,a+2)}function a0(t,e,r,n,o,i,s,a){let c=e+r;return nm(t,c,o,i,s)?ho(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):Gs(t,c+3)}function c0(t,e,r,n,o,i,s,a,c){let u=e+r;return XC(t,u,o,i,s,a)?ho(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):Gs(t,u+4)}function u1(t,e){var c;let r=ee(),n,o=t+ce;r.firstCreatePass?(n=u0(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&((c=r.destroyHooks)!=null?c:r.destroyHooks=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=xn(n.type,!0)),s,a=_e(j);try{let u=Yi(!1),l=i();return Yi(u),Yb(r,T(),o,l),l}finally{_e(a)}}function u0(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function l1(t,e,r){let n=t+ce,o=T(),i=qu(o,n);return xm(o,n)?Sm(o,Vn(),e,i.transform,r,i):i.transform(r)}function d1(t,e,r,n){let o=t+ce,i=T(),s=qu(i,o);return xm(i,o)?Tm(i,Vn(),e,s.transform,r,n,s):s.transform(r,n)}function xm(t,e){return t[N].data[e].pure}function f1(t,e){return Bs(t,e)}var Pi=null;function l0(t){Pi!==null&&(t.defaultEncapsulation!==Pi.defaultEncapsulation||t.preserveWhitespaces!==Pi.preserveWhitespaces)||(Pi=t)}var qs=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Al=new E(""),po=new E(""),Ws=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Yr||(d0(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(z),C(Zs),C(po))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Zs=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){var i;return(i=Yr==null?void 0:Yr.findTestabilityInTree(this,n,o))!=null?i:null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function d0(t){Yr=t}var Yr;function go(t){return!!t&&typeof t.then=="function"}function _m(t){return!!t&&typeof t.subscribe=="function"}var Ys=new E(""),Nm=(()=>{let e=class e{constructor(){var n;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i}),this.appInits=(n=g(Ys,{optional:!0}))!=null?n:[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(go(s))n.push(s);else if(_m(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qs=new E("");function f0(){af(()=>{throw new w(600,!1)})}function h0(t){return t.isBoundToModule}var p0=10;function g0(t,e,r){try{let n=r();return go(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Am(t,e){return Array.isArray(e)?e.reduce(Am,t):D(D({},t),e)}var Lt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(fE),this.afterRenderManager=g(rm),this.zonelessEnabled=g(Cl),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=g(Pt).hasPendingTasks.pipe(F(n=>!n)),this._injector=g(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof ns;if(!this._injector.get(Nm).done){let f=!i&&Kh(n),p=!1;throw new w(405,p)}let a;i?a=n:a=this._injector.get(yr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=h0(a)?void 0:this._injector.get(an),u=o||a.selector,l=a.create(Ae.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(Al,null);return h==null||h.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),$i(this.components,l),h==null||h.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new w(101,!1);let n=L(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,L(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Dr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;this.dirtyFlags!==0&&o++<p0;)this.synchronizeOnce(n)}synchronizeOnce(n){var o,i;if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let s=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)m0(a,c,s,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else(o=n==null?void 0:n.begin)==null||o.call(n),(i=n==null?void 0:n.end)==null||i.call(n);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ts(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;$i(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Qs,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$i(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function m0(t,e,r,n){if(!r&&!Ts(t))return;Bg(t,e,r&&!n?0:1)}var Nu=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ks=(()=>{let e=class e{compileModuleSync(n){return new cs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Jh(n),s=fg(i.declarations).reduce((a,c)=>{let u=St(c);return u&&a.push(new kn(u)),a},[]);return new Nu(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),v0=new E("");function y0(t,e,r){let n=new cs(r);return Promise.resolve(n)}function Th(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var D0=(()=>{let e=class e{constructor(){this.zone=g(z),this.changeDetectionScheduler=g(vr),this.applicationRef=g(Lt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function w0({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t!=null||(t=()=>new z(Y(D({},Rm()),{scheduleInRootZone:r}))),[{provide:z,useFactory:t},{provide:lr,multi:!0,useFactory:()=>{let n=g(D0,{optional:!0});return()=>n.initialize()}},{provide:lr,multi:!0,useFactory:()=>{let n=g(E0);return()=>{n.initialize()}}},e===!0?{provide:qg,useValue:!0}:[],{provide:Wg,useValue:r!=null?r:Bp}]}function Rm(t){var e,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=t==null?void 0:t.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(r=t==null?void 0:t.runCoalescing)!=null?r:!1}}var E0=(()=>{let e=class e{constructor(){this.subscription=new ne,this.initialized=!1,this.zone=g(z),this.pendingTasks=g(Pt)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n!=null||(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var I0=(()=>{let e=class e{constructor(){var n,o,i;this.appRef=g(Lt),this.taskService=g(Pt),this.ngZone=g(z),this.zonelessEnabled=g(Cl),this.disableScheduling=(n=g(qg,{optional:!0}))!=null?n:!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ne,this.angularZoneId=this.zoneIsDefined?(o=this.ngZone._inner)==null?void 0:o.get(Ji):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((i=g(Wg,{optional:!0}))!=null?i:!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Xi||!this.zoneIsDefined))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?th:Hp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ji+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)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(o){throw this.taskService.remove(n),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,th(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var n;if(this.runningTick=!1,(n=this.cancelScheduledCallback)==null||n.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function C0(){return typeof $localize<"u"&&$localize.locale||hs}var mo=new E("",{providedIn:"root",factory:()=>g(mo,k.Optional|k.SkipSelf)||C0()});var ps=new E("");function Fi(t){return!t.moduleRef}function b0(t){let e=Fi(t)?t.r3Injector:t.moduleRef.injector,r=e.get(z);return r.run(()=>{Fi(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(xt,null),o;if(r.runOutsideAngular(()=>{o=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Fi(t)){let i=()=>e.destroy(),s=t.platformInjector.get(ps);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(ps);s.add(i),t.moduleRef.onDestroy(()=>{$i(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return g0(n,r,()=>{let i=e.get(Nm);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(mo,hs);if(zb(s||hs),Fi(t)){let a=e.get(Lt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return M0(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function M0(t,e){let r=t.injector.get(Lt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new w(-403,!1);e.push(t)}var Om=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=o==null?void 0:o.scheduleInRootZone,s=()=>dE(o==null?void 0:o.ngZone,Y(D({},Rm({eventCoalescing:o==null?void 0:o.ngZoneEventCoalescing,runCoalescing:o==null?void 0:o.ngZoneRunCoalescing})),{scheduleInRootZone:i})),a=o==null?void 0:o.ignoreChangesOutsideZone,c=[w0({ngZoneFactory:s,ignoreChangesOutsideZone:a}),{provide:vr,useExisting:I0}],u=QC(n.moduleType,this.injector,c);return b0({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,o=[]){let i=Am({},o);return y0(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(ps,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(Ae))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Tn=null,Pm=new E("");function S0(t){if(Tn&&!Tn.get(Pm,!1))throw new w(400,!1);f0(),Tn=t;let e=t.get(Om);return _0(t),e}function Rl(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=Fm();if(!s||s.injector.get(Pm,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):S0(T0(a,n))}return x0(o)}}function T0(t=[],e){return Ae.create({name:e,providers:[{provide:Is,useValue:"platform"},{provide:ps,useValue:new Set([()=>Tn=null])},...t]})}function x0(t){let e=Fm();if(!e)throw new w(401,!1);return e}function Fm(){var t;return(t=Tn==null?void 0:Tn.get(Om))!=null?t:null}function _0(t){let e=t.get(il,null);e==null||e.forEach(r=>r())}var $n=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=N0;let t=e;return t})();function N0(t){return A0(me(),T(),(t&16)===16)}function A0(t,e,r){if(Ms(t)&&!r){let n=un(t.index,e);return new Fn(n,n)}else if(t.type&175){let n=e[ke];return new Fn(n,e)}return null}var Au=class{constructor(){}supports(e){return tm(e)}create(e){return new Ru(e)}},R0=(t,e)=>e,Ru=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||R0}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<xh(n,o,i)?r:n,a=xh(s,o,i),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!tm(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,KC(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new Ou(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new gs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ou=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Pu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},gs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Pu,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function xh(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var Fu=class{constructor(){}supports(e){return e instanceof Map||Ml(e)}create(){return new ku}},ku=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Ml(e)))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new Lu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Lu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function _h(){return new Ol([new Au])}var Ol=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||_h()),deps:[[e,new Ds,new io]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:_h});let t=e;return t})();function Nh(){return new Pl([new Fu])}var Pl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Nh()),deps:[[e,new Ds,new io]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Nh});let t=e;return t})();var km=Rl(null,"core",[]),Lm=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(C(Lt))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})();function jt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Fl(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function h1(t,e){Dt("NgSignals");let r=rf(t);return e!=null&&e.equal&&(r[It].equal=e.equal),r}function O0(t){let e=L(null);try{return t()}finally{L(e)}}function p1(t,e){let r=St(t),n=e.elementInjector||Cs();return new kn(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function jm(t){let e=St(t);if(!e)return null;let r=new kn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ia=null;function Un(){return ia}function Wm(t){ia!=null||(ia=t)}var aa=class{};var ue=new E(""),Wl=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(F0),providedIn:"platform"});let t=e;return t})(),Zm=new E(""),F0=(()=>{let e=class e extends Wl{constructor(){super(),this._doc=g(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Un().getBaseHref(this._doc)}onPopState(n){let o=Un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Zl(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Vm(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function $t(t){return t&&t[0]!=="?"?"?"+t:t}var Ht=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Yl),providedIn:"root"});let t=e;return t})(),Ym=new E(""),Yl=(()=>{let e=class e extends Ht{constructor(n,o){var i,s,a;super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=(a=(s=o!=null?o:this._platformLocation.getBaseHrefFromDOM())!=null?s:(i=g(ue).location)==null?void 0:i.origin)!=null?a:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Zl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+$t(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var o,i;(i=(o=this._platformLocation).historyGo)==null||i.call(o,n)}};e.\u0275fac=function(o){return new(o||e)(C(Wl),C(Ym,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qm=(()=>{let e=class e extends Ht{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){var i;let o=(i=this._platformLocation.hash)!=null?i:"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Zl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var o,i;(i=(o=this._platformLocation).historyGo)==null||i.call(o,n)}};e.\u0275fac=function(o){return new(o||e)(C(Wl),C(Ym,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=(()=>{let e=class e{constructor(n){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=j0(Vm($m(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+$t(o))}normalize(n){return e.stripTrailingSlash(L0(this._basePath,$m(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var o,i;(i=(o=this._locationStrategy).historyGo)==null||i.call(o,n)}onUrlChange(n){var o;return this._urlChangeListeners.push(n),(o=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var s;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=$t,e.joinWithSlash=Zl,e.stripTrailingSlash=Vm,e.\u0275fac=function(o){return new(o||e)(C(Ht))},e.\u0275prov=I({token:e,factory:()=>k0(),providedIn:"root"});let t=e;return t})();function k0(){return new Sr(C(Ht))}function L0(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function $m(t){return t.replace(/\/index.html$/,"")}function j0(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Km=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Km||{});var Te=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Te||{}),W=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(W||{}),Ve=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Ve||{}),$e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function V0(t){return je(t)[X.LocaleId]}function $0(t,e,r){let n=je(t),o=[n[X.DayPeriodsFormat],n[X.DayPeriodsStandalone]],i=Ze(o,e);return Ze(i,r)}function U0(t,e,r){let n=je(t),o=[n[X.DaysFormat],n[X.DaysStandalone]],i=Ze(o,e);return Ze(i,r)}function B0(t,e,r){let n=je(t),o=[n[X.MonthsFormat],n[X.MonthsStandalone]],i=Ze(o,e);return Ze(i,r)}function H0(t,e){let n=je(t)[X.Eras];return Ze(n,e)}function Xs(t,e){let r=je(t);return Ze(r[X.DateFormat],e)}function ea(t,e){let r=je(t);return Ze(r[X.TimeFormat],e)}function ta(t,e){let n=je(t)[X.DateTimeFormat];return Ze(n,e)}function Ut(t,e){let r=je(t),n=r[X.NumberSymbols][e];if(typeof n>"u"){if(e===$e.CurrencyDecimal)return r[X.NumberSymbols][$e.Decimal];if(e===$e.CurrencyGroup)return r[X.NumberSymbols][$e.Group]}return n}function z0(t,e){return je(t)[X.NumberFormats][e]}function Jm(t){if(!t[X.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[X.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function G0(t){let e=je(t);return Jm(e),(e[X.ExtraData][2]||[]).map(n=>typeof n=="string"?Ll(n):[Ll(n[0]),Ll(n[1])])}function q0(t,e,r){let n=je(t);Jm(n);let o=[n[X.ExtraData][0],n[X.ExtraData][1]],i=Ze(o,e)||[];return Ze(i,r)||[]}function Ze(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Ll(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var W0=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,br={},Z0=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Bt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Bt||{}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(B||{}),U=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(U||{});function Y0(t,e,r,n){let o=oM(t);e=Vt(r,e)||e;let s=[],a;for(;e;)if(a=Z0.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=o.getTimezoneOffset();n&&(c=ev(n,c),o=rM(o,n,!0));let u="";return s.forEach(l=>{let d=tM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ca(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Vt(t,e){var o;let r=V0(t);if((o=br[r])!=null||(br[r]={}),br[r][e])return br[r][e];let n="";switch(e){case"shortDate":n=Xs(t,Ve.Short);break;case"mediumDate":n=Xs(t,Ve.Medium);break;case"longDate":n=Xs(t,Ve.Long);break;case"fullDate":n=Xs(t,Ve.Full);break;case"shortTime":n=ea(t,Ve.Short);break;case"mediumTime":n=ea(t,Ve.Medium);break;case"longTime":n=ea(t,Ve.Long);break;case"fullTime":n=ea(t,Ve.Full);break;case"short":let i=Vt(t,"shortTime"),s=Vt(t,"shortDate");n=na(ta(t,Ve.Short),[i,s]);break;case"medium":let a=Vt(t,"mediumTime"),c=Vt(t,"mediumDate");n=na(ta(t,Ve.Medium),[a,c]);break;case"long":let u=Vt(t,"longTime"),l=Vt(t,"longDate");n=na(ta(t,Ve.Long),[u,l]);break;case"full":let d=Vt(t,"fullTime"),h=Vt(t,"fullDate");n=na(ta(t,Ve.Full),[d,h]);break}return n&&(br[r][e]=n),n}function na(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function it(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function Q0(t,e){return it(t,3).substring(0,e)}function se(t,e,r=0,n=!1,o=!1){return function(i,s){let a=K0(t,i);if((r>0||a>-r)&&(a+=r),t===B.Hours)a===0&&r===-12&&(a=12);else if(t===B.FractionalSeconds)return Q0(a,e);let c=Ut(s,$e.MinusSign);return it(a,e,c,n,o)}}function K0(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function Z(t,e,r=Te.Format,n=!1){return function(o,i){return J0(o,i,t,e,r,n)}}function J0(t,e,r,n,o,i){switch(r){case U.Months:return B0(e,o,n)[t.getMonth()];case U.Days:return U0(e,o,n)[t.getDay()];case U.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=G0(e),l=q0(e,o,n),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,v=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&v)return!0}else if(m||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return $0(e,o,n)[s<12?0:1];case U.Eras:return H0(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function ra(t){return function(e,r,n){let o=-1*n,i=Ut(r,$e.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Bt.Short:return(o>=0?"+":"")+it(s,2,i)+it(Math.abs(o%60),2,i);case Bt.ShortGMT:return"GMT"+(o>=0?"+":"")+it(s,1,i);case Bt.Long:return"GMT"+(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);case Bt.Extended:return n===0?"Z":(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var X0=0,sa=4;function eM(t){let e=ca(t,X0,1).getDay();return ca(t,0,1+(e<=sa?sa:sa+7)-e)}function Xm(t){let e=t.getDay(),r=e===0?-3:sa-e;return ca(t.getFullYear(),t.getMonth(),t.getDate()+r)}function jl(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=Xm(r),s=eM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return it(o,t,Ut(n,$e.MinusSign))}}function oa(t,e=!1){return function(r,n){let i=Xm(r).getFullYear();return it(i,t,Ut(n,$e.MinusSign),e)}}var Vl={};function tM(t){if(Vl[t])return Vl[t];let e;switch(t){case"G":case"GG":case"GGG":e=Z(U.Eras,W.Abbreviated);break;case"GGGG":e=Z(U.Eras,W.Wide);break;case"GGGGG":e=Z(U.Eras,W.Narrow);break;case"y":e=se(B.FullYear,1,0,!1,!0);break;case"yy":e=se(B.FullYear,2,0,!0,!0);break;case"yyy":e=se(B.FullYear,3,0,!1,!0);break;case"yyyy":e=se(B.FullYear,4,0,!1,!0);break;case"Y":e=oa(1);break;case"YY":e=oa(2,!0);break;case"YYY":e=oa(3);break;case"YYYY":e=oa(4);break;case"M":case"L":e=se(B.Month,1,1);break;case"MM":case"LL":e=se(B.Month,2,1);break;case"MMM":e=Z(U.Months,W.Abbreviated);break;case"MMMM":e=Z(U.Months,W.Wide);break;case"MMMMM":e=Z(U.Months,W.Narrow);break;case"LLL":e=Z(U.Months,W.Abbreviated,Te.Standalone);break;case"LLLL":e=Z(U.Months,W.Wide,Te.Standalone);break;case"LLLLL":e=Z(U.Months,W.Narrow,Te.Standalone);break;case"w":e=jl(1);break;case"ww":e=jl(2);break;case"W":e=jl(1,!0);break;case"d":e=se(B.Date,1);break;case"dd":e=se(B.Date,2);break;case"c":case"cc":e=se(B.Day,1);break;case"ccc":e=Z(U.Days,W.Abbreviated,Te.Standalone);break;case"cccc":e=Z(U.Days,W.Wide,Te.Standalone);break;case"ccccc":e=Z(U.Days,W.Narrow,Te.Standalone);break;case"cccccc":e=Z(U.Days,W.Short,Te.Standalone);break;case"E":case"EE":case"EEE":e=Z(U.Days,W.Abbreviated);break;case"EEEE":e=Z(U.Days,W.Wide);break;case"EEEEE":e=Z(U.Days,W.Narrow);break;case"EEEEEE":e=Z(U.Days,W.Short);break;case"a":case"aa":case"aaa":e=Z(U.DayPeriods,W.Abbreviated);break;case"aaaa":e=Z(U.DayPeriods,W.Wide);break;case"aaaaa":e=Z(U.DayPeriods,W.Narrow);break;case"b":case"bb":case"bbb":e=Z(U.DayPeriods,W.Abbreviated,Te.Standalone,!0);break;case"bbbb":e=Z(U.DayPeriods,W.Wide,Te.Standalone,!0);break;case"bbbbb":e=Z(U.DayPeriods,W.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":e=Z(U.DayPeriods,W.Abbreviated,Te.Format,!0);break;case"BBBB":e=Z(U.DayPeriods,W.Wide,Te.Format,!0);break;case"BBBBB":e=Z(U.DayPeriods,W.Narrow,Te.Format,!0);break;case"h":e=se(B.Hours,1,-12);break;case"hh":e=se(B.Hours,2,-12);break;case"H":e=se(B.Hours,1);break;case"HH":e=se(B.Hours,2);break;case"m":e=se(B.Minutes,1);break;case"mm":e=se(B.Minutes,2);break;case"s":e=se(B.Seconds,1);break;case"ss":e=se(B.Seconds,2);break;case"S":e=se(B.FractionalSeconds,1);break;case"SS":e=se(B.FractionalSeconds,2);break;case"SSS":e=se(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ra(Bt.Short);break;case"ZZZZZ":e=ra(Bt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ra(Bt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ra(Bt.Long);break;default:return null}return Vl[t]=e,e}function ev(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function nM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function rM(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=ev(e,o);return nM(t,n*(i-o))}function oM(t){if(Um(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return ca(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(W0))return iM(n)}let e=new Date(t);if(!Um(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function iM(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,c,u),e}function Um(t){return t instanceof Date&&!isNaN(t.valueOf())}var sM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Bm=22,ua=".",vo="0",aM=";",cM=",",$l="#";function uM(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=Ut(r,$e.Infinity);else{let u=hM(t);s&&(u=fM(u));let l=e.minInt,d=e.minFrac,h=e.maxFrac;if(i){let b=i.match(sM);if(b===null)throw new Error(`${i} is not a valid digit info`);let G=b[1],$=b[3],oe=b[5];G!=null&&(l=Ul(G)),$!=null&&(d=Ul($)),oe!=null?h=Ul(oe):$!=null&&d>h&&(h=d)}pM(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,v=[];for(c=f.every(b=>!b);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?v=f.splice(p,f.length):(v=f,f=[0]);let y=[];for(f.length>=e.lgSize&&y.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)y.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&y.unshift(f.join("")),a=y.join(Ut(r,n)),v.length&&(a+=Ut(r,o)+v.join("")),m&&(a+=Ut(r,$e.Exponential)+"+"+m)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function lM(t,e,r){let n=z0(e,Km.Decimal),o=dM(n,Ut(e,$e.MinusSign));return uM(t,o,e,$e.Group,$e.Decimal,r)}function dM(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(aM),o=n[0],i=n[1],s=o.indexOf(ua)!==-1?o.split(ua):[o.substring(0,o.lastIndexOf(vo)+1),o.substring(o.lastIndexOf(vo)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf($l));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===vo?r.minFrac=r.maxFrac=l+1:d===$l?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(cM);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf($l);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function fM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function hM(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(ua))>-1&&(e=e.replace(ua,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===vo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===vo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>Bm&&(n=n.splice(0,Bm-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function pM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let c=i!==0,u=e+t.integerLen,l=n.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Ul(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function A1(t,e,r){return ym(t,e,r)}function da(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Bl=/\s+/,Hm=[],R1=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Hm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Bl):Hm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Bl):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Bl).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(j(We),j(dn))},e.\u0275dir=Oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Hl=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},O1=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Hl(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),zm(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);zm(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(Ol))},e.\u0275dir=Oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function zm(t,e){t.context.$implicit=e.item}var P1=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new zl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Gm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Gm("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt))},e.\u0275dir=Oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),zl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Gm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${be(e)}'.`)}var la=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},tv=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let o=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=o),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let o of this._defaultViews)o.enforceState(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),F1=(()=>{let e=class e{constructor(n,o,i){this.ngSwitch=i,i._addCase(),this._view=new la(n,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(tv,9))},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),k1=(()=>{let e=class e{constructor(n,o,i){i._addDefault(new la(n,o))}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(tv,9))},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var L1=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:mt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(j(We),j(Pl),j(dn))},e.\u0275dir=Oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),j1=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){var o;if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let s=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,s,{injector:(o=this.ngTemplateOutletInjector)!=null?o:void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(j(ot))},e.\u0275dir=Oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[cn]});let t=e;return t})();function fa(t,e){return new w(2100,!1)}var gM=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,V1=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw fa(e,n);return n.replace(gM,o=>o[0].toUpperCase()+o.slice(1).toLowerCase())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=ao({name:"titlecase",type:e,pure:!0,standalone:!0});let t=e;return t})(),$1=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw fa(e,n);return n.toUpperCase()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=ao({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})(),mM="mediumDate",vM=new E(""),yM=new E(""),U1=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){var a,c,u,l,d;if(n==null||n===""||n!==n)return null;try{let h=(c=o!=null?o:(a=this.defaultOptions)==null?void 0:a.dateFormat)!=null?c:mM,f=(d=(l=i!=null?i:(u=this.defaultOptions)==null?void 0:u.timezone)!=null?l:this.defaultTimezone)!=null?d:void 0;return Y0(n,h,s||this.locale,f)}catch(h){throw fa(e,h.message)}}};e.\u0275fac=function(o){return new(o||e)(j(mo,16),j(vM,24),j(yM,24))},e.\u0275pipe=ao({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var B1=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!DM(n))return null;i||(i=this._locale);try{let s=wM(n);return lM(s,i,o)}catch(s){throw fa(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(j(mo,16))},e.\u0275pipe=ao({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function DM(t){return!(t==null||t===""||t!==t)}function wM(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var nv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})(),Ql="browser",EM="server";function IM(t){return t===Ql}function yo(t){return t===EM}var rv=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>IM(g(nt))?new Gl(g(ue),window):new ql});let t=e;return t})(),Gl=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=CM(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function CM(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var ql=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Mr=class{};var ov=t=>t.src,bM=new E("",{providedIn:"root",factory:()=>ov});var MM=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),SM=(()=>{let e=class e{constructor(){this.preloadedImages=g(MM),this.document=g(ue)}createPreloadLinkTag(n,o,i,s){if(this.preloadedImages.has(o))return;this.preloadedImages.add(o);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",o),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),i&&n.setAttribute(a,"imageSrcset",i),n.appendChild(this.document.head,a)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var TM=/^((\s*\d+w\s*(,|$)){1,})$/;var xM=[1,2],_M=640;var NM=1920,AM=1080;var H1=(()=>{let e=class e{constructor(){this.imageLoader=g(bM),this.config=RM(g(Jp)),this.renderer=g(dn),this.imgElement=g(We).nativeElement,this.injector=g(Ae),this.isServer=yo(g(nt)),this.preloadLinkCreator=g(SM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Dt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let i=this._renderedSrc;this.updateSrcAndSrcset(!0);let s=this._renderedSrc;this.lcpObserver!==null&&i&&s&&i!==s&&this.injector.get(z).runOutsideAngular(()=>{var c;(c=this.lcpObserver)==null||c.updateImage(i,s)})}}callImageLoader(n){let o=n;return this.loaderParams&&(o.loaderParams=this.loaderParams),this.imageLoader(o)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=TM.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let s=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){var s;let{breakpoints:n}=this.config,o=n;return((s=this.sizes)==null?void 0:s.trim())==="100vw"&&(o=n.filter(a=>a>=_M)),o.map(a=>`${this.callImageLoader({src:this.ngSrc,width:a})} ${a}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let o=this.getRewrittenSrc();this.setHostAttribute("src",o);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return xM.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>NM||this.height>AM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ov&&!n}generatePlaceholder(n){let{placeholderResolution:o}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:o,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let o=()=>{let a=this.injector.get($n);i(),s(),this.placeholder=!1,a.markForCheck()},i=this.renderer.listen(n,"load",o),s=this.renderer.listen(n,"error",o);OM(n,o)}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&xl("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",PM],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Fl],height:[2,"height","height",Fl],loading:"loading",priority:[2,"priority","priority",jt],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",jt],fill:[2,"fill","fill",jt],placeholder:[2,"placeholder","placeholder",FM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Hs,cn]});let t=e;return t})();function RM(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},al,t,e)}function OM(t,e){t.complete&&t.naturalWidth&&e()}function PM(t){return typeof t=="string"?t:Le(t)}function FM(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:jt(t)}var wo=class{},pa=class{},zt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
|
|
8
|
-
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Jl=class{encodeKey(e){return sv(e)}encodeValue(e){return sv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function kM(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var LM=/%(\d[a-f0-9])/gi,jM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sv(t){return encodeURIComponent(t).replace(LM,(e,r)=>{var n;return(n=jM[r])!=null?n:e})}function ha(t){return`${t}`}var hn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Jl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=kM(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(ha):[ha(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(ha(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(ha(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Xl=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function VM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function av(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function cv(t){return typeof Blob<"u"&&t instanceof Blob}function uv(t){return typeof FormData<"u"&&t instanceof FormData}function $M(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Do=class t{constructor(e,r,n,o){var s,a;this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(VM(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),(s=this.headers)!=null||(this.headers=new zt),(a=this.context)!=null||(this.context=new Xl),!this.params)this.params=new hn,this.urlWithParams=r;else{let c=this.params.toString();if(c.length===0)this.urlWithParams=r;else{let u=r.indexOf("?"),l=u===-1?"?":u<r.length-1?"&":"";this.urlWithParams=r+l+c}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||av(this.body)||cv(this.body)||uv(this.body)||$M(this.body)?this.body:this.body instanceof hn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||uv(this.body)?null:cv(this.body)?this.body.type||null:av(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof hn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){var h,f,p,m;let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=(h=e.transferCache)!=null?h:this.transferCache,s=e.body!==void 0?e.body:this.body,a=(f=e.withCredentials)!=null?f:this.withCredentials,c=(p=e.reportProgress)!=null?p:this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=(m=e.context)!=null?m:this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((v,y)=>v.set(y,e.setHeaders[y]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(pn||{}),Eo=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new zt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ga=class t extends Eo{constructor(e={}){super(e),this.type=pn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Io=class t extends Eo{constructor(e={}){super(e),this.type=pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},fn=class extends Eo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},pv=200,UM=204;function Kl(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var BM=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Do)s=n;else{let u;i.headers instanceof zt?u=i.headers:u=new zt(i.headers);let l;i.params&&(i.params instanceof hn?l=i.params:l=new hn({fromObject:i.params})),s=new Do(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=M(s).pipe(bt(u=>this.handler.handle(u)));if(n instanceof Do||i.observe==="events")return a;let c=a.pipe(ye(u=>u instanceof Io));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(F(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(F(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(F(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(F(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new hn().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Kl(i,o))}post(n,o,i={}){return this.request("POST",n,Kl(i,o))}put(n,o,i={}){return this.request("PUT",n,Kl(i,o))}};e.\u0275fac=function(o){return new(o||e)(C(wo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),HM=/^\)\]\}',?\n/,zM="X-Request-URL";function lv(t){if(t.url)return t.url;let e=zM.toLocaleLowerCase();return t.headers.get(e)}var GM=(()=>{let e=class e{constructor(){var n,o;this.fetchImpl=(o=(n=g(ed,{optional:!0}))==null?void 0:n.fetch)!=null?o:(...i)=>globalThis.fetch(...i),this.ngZone=g(z)}handle(n){return new R(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(td,s=>o.error(new fn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return Zo(this,null,function*(){var p,m,v,y;let s=this.createRequestInit(n),a;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:o},s)));qM(b),i.next({type:pn.Sent}),a=yield b}catch(b){i.error(new fn({error:b,status:(p=b.status)!=null?p:0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let c=new zt(a.headers),u=a.statusText,l=(m=lv(a))!=null?m:n.urlWithParams,d=a.status,h=null;if(n.reportProgress&&i.next(new ga({headers:c,status:d,statusText:u,url:l})),a.body){let b=a.headers.get("content-length"),G=[],$=a.body.getReader(),oe=0,ve,te,Et=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Zo(this,null,function*(){for(;;){let{done:vn,value:Va}=yield $.read();if(vn)break;if(G.push(Va),oe+=Va.length,n.reportProgress){te=n.responseType==="text"?(te!=null?te:"")+(ve!=null?ve:ve=new TextDecoder).decode(Va,{stream:!0}):void 0;let Wd=()=>i.next({type:pn.DownloadProgress,total:b?+b:void 0,loaded:oe,partialText:te});Et?Et.run(Wd):Wd()}}}));let jr=this.concatChunks(G,oe);try{let vn=(v=a.headers.get("Content-Type"))!=null?v:"";h=this.parseBody(n,jr,vn)}catch(vn){i.error(new fn({error:vn,headers:new zt(a.headers),status:a.status,statusText:a.statusText,url:(y=lv(a))!=null?y:n.urlWithParams}));return}}d===0&&(d=h?pv:0),d>=200&&d<300?(i.next(new Io({body:h,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new fn({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(HM,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),n.headers.has("Accept")||(o.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),ed=class{};function td(){}function qM(t){t.then(td,td)}function gv(t,e){return e(t)}function WM(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function ZM(t,e,r){return(n,o)=>Ge(r,()=>e(n,i=>t(i,o)))}var YM=new E(""),nd=new E(""),QM=new E(""),mv=new E("",{providedIn:"root",factory:()=>!0});function KM(){let t=null;return(e,r)=>{var i;t===null&&(t=((i=g(YM,{optional:!0}))!=null?i:[]).reduceRight(WM,gv));let n=g(Pt);if(g(mv)){let s=n.add();return t(e,r).pipe(Xt(()=>n.remove(s)))}else return t(e,r)}}var dv=(()=>{let e=class e extends wo{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Pt),this.contributeToStability=g(mv)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(nd),...this.injector.get(QM,[])]));this.chain=o.reduceRight((i,s)=>ZM(i,s,this.injector),gv)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Xt(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(C(pa),C(Me))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var JM=/^\)\]\}',?\n/;function XM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var fv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new w(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Q(o.\u0275loadImpl()):M(null)).pipe(Ce(()=>new R(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,y)=>a.setRequestHeader(v,y.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let v=a.statusText||"OK",y=new zt(a.getAllResponseHeaders()),b=XM(a)||n.url;return u=new ga({headers:y,status:a.status,statusText:v,url:b}),u},d=()=>{let{headers:v,status:y,statusText:b,url:G}=l(),$=null;y!==UM&&($=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=$?pv:0);let oe=y>=200&&y<300;if(n.responseType==="json"&&typeof $=="string"){let ve=$;$=$.replace(JM,"");try{$=$!==""?JSON.parse($):null}catch(te){$=ve,oe&&(oe=!1,$={error:te,text:$})}}oe?(s.next(new Io({body:$,headers:v,status:y,statusText:b,url:G||void 0})),s.complete()):s.error(new fn({error:$,headers:v,status:y,statusText:b,url:G||void 0}))},h=v=>{let{url:y}=l(),b=new fn({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(b)},f=!1,p=v=>{f||(s.next(l()),f=!0);let y={type:pn.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),n.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},m=v=>{let y={type:pn.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",m)),a.send(c),s.next({type:pn.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",m)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(C(Mr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),vv=new E(""),eS="XSRF-TOKEN",tS=new E("",{providedIn:"root",factory:()=>eS}),nS="X-XSRF-TOKEN",rS=new E("",{providedIn:"root",factory:()=>nS}),ma=class{},oS=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=da(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(C(ue),C(nt),C(tS))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function iS(t,e){let r=t.url.toLowerCase();if(!g(vv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(ma).getToken(),o=g(rS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var yv=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(yv||{});function sS(t,e){return{\u0275kind:t,\u0275providers:e}}function aS(...t){let e=[BM,fv,dv,{provide:wo,useExisting:dv},{provide:pa,useFactory:()=>{var r;return(r=g(GM,{optional:!0}))!=null?r:g(fv)}},{provide:nd,useValue:iS,multi:!0},{provide:vv,useValue:!0},{provide:ma,useClass:oS}];for(let r of t)e.push(...r.\u0275providers);return Es(e)}var hv=new E("");function cS(){return sS(yv.LegacyInterceptors,[{provide:hv,useFactory:KM},{provide:nd,useExisting:hv,multi:!0}])}var nL=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({providers:[aS(cS())]});let t=e;return t})();var id=class extends aa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},sd=class t extends id{static makeCurrent(){Wm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=uS();return r==null?null:lS(r)}resetBaseElement(){Co=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return da(document.cookie,e)}},Co=null;function uS(){return Co=Co||document.querySelector("base"),Co?Co.getAttribute("href"):null}function lS(t){return new URL(t,document.baseURI).pathname}var ad=class{addToWindow(e){he.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},he.getAllAngularTestabilities=()=>e.getAllTestabilities(),he.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=he.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o!=null?o:n?Un().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null}},dS=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),cd=new E(""),Iv=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(C(cd),C(z))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),va=class{constructor(e){this._doc=e}},rd="ng-app-id",Cv=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=yo(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){var i,s;let o=this.styleRef;(s=(i=o.get(n))==null?void 0:i.elements)==null||s.forEach(a=>a.remove()),o.delete(n)}collectServerRenderedStyles(){var o;let n=(o=this.doc.head)==null?void 0:o.querySelectorAll(`style[${rd}="${this.appId}"]`);if(n!=null&&n.length){let i=new Map;return n.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i==null?void 0:i.get(o);if((s==null?void 0:s.parentNode)===n)return i.delete(o),s.removeAttribute(rd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(rd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){var c;let i=this.getStyleElement(n,o),s=this.styleRef,a=(c=s.get(o))==null?void 0:c.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(ue),C(Os),C(sl,8),C(nt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),od={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ld=/%COMP%/g,bv="%COMP%",fS=`_nghost-${bv}`,hS=`_ngcontent-${bv}`,pS=!0,gS=new E("",{providedIn:"root",factory:()=>pS});function mS(t){return hS.replace(ld,t)}function vS(t){return fS.replace(ld,t)}function Mv(t,e){return e.map(r=>r.replace(ld,t))}var Dv=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=yo(c),this.defaultRenderer=new bo(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ht.ShadowDom&&(o=Y(D({},o),{encapsulation:ht.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ya?i.applyToHost(n):i instanceof Mo&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(o.encapsulation){case ht.Emulated:s=new ya(u,l,o,this.appId,d,a,c,h);break;case ht.ShadowDom:return new ud(u,l,n,o,a,c,this.nonce,h);default:s=new Mo(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Iv),C(Cv),C(Os),C(gS),C(ue),C(nt),C(z),C(sl))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),bo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(od[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(wv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(wv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=od[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=od[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(mt.DashCase|mt.Important)?e.style.setProperty(r,n,o&mt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&mt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Un().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function wv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ud=class extends bo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Mv(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Mo=class extends bo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Mv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ya=class extends Mo{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=mS(u),this.hostAttr=vS(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},yS=(()=>{let e=class e extends va{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ev=["alt","control","meta","shift"],DS={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ES=(()=>{let e=class e extends va{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Un().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ev.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=DS[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ev.forEach(a=>{if(a!==i){let c=wS[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function IS(){sd.makeCurrent()}function CS(){return new xt}function bS(){return Qp(document),document}var MS=[{provide:nt,useValue:Ql},{provide:il,useValue:IS,multi:!0},{provide:ue,useFactory:bS,deps:[]}],vL=Rl(km,"browser",MS),SS=new E(""),TS=[{provide:po,useClass:ad,deps:[]},{provide:Al,useClass:Ws,deps:[z,Zs,po]},{provide:Ws,useClass:Ws,deps:[z,Zs,po]}],xS=[{provide:Is,useValue:"root"},{provide:xt,useFactory:CS,deps:[]},{provide:cd,useClass:yS,multi:!0,deps:[ue,z,nt]},{provide:cd,useClass:ES,multi:!0,deps:[ue]},Dv,Cv,Iv,{provide:Dr,useExisting:Dv},{provide:Mr,useClass:dS,deps:[]},[]],yL=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Os,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(C(SS,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({providers:[...xS,...TS],imports:[nv,Lm]});let t=e;return t})();var Sv=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var _S=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=C(NS),i},providedIn:"root"});let t=e;return t})(),NS=(()=>{let e=class e extends _S{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case rt.NONE:return o;case rt.HTML:return Ft(o,"HTML")?Le(o):ul(this._doc,String(o)).toString();case rt.STYLE:return Ft(o,"Style")?Le(o):o;case rt.SCRIPT:if(Ft(o,"Script"))return Le(o);throw new w(5200,!1);case rt.URL:return Ft(o,"URL")?Le(o):Fs(String(o));case rt.RESOURCE_URL:if(Ft(o,"ResourceURL"))return Le(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return tg(n)}bypassSecurityTrustStyle(n){return ng(n)}bypassSecurityTrustScript(n){return rg(n)}bypassSecurityTrustUrl(n){return og(n)}bypassSecurityTrustResourceUrl(n){return ig(n)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var P="primary",Vo=Symbol("RouteTitle"),gd=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Rr(t){return new gd(t)}function RS(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function OS(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!wt(t[r],e[r]))return!1;return!0}function wt(t,e){let r=t?md(t):void 0,n=e?md(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!jv(t[o],e[o]))return!1;return!0}function md(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function jv(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function Vv(t){return t.length>0?t[t.length-1]:null}function mn(t){return ic(t)?t:go(t)?Q(Promise.resolve(t)):M(t)}var PS={exact:Uv,subset:Bv},$v={exact:FS,subset:kS,ignored:()=>!0};function Tv(t,e,r){return PS[r.paths](t.root,e.root,r.matrixParams)&&$v[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function FS(t,e){return wt(t,e)}function Uv(t,e,r){if(!Hn(t.segments,e.segments)||!Ea(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Uv(t.children[n],e.children[n],r))return!1;return!0}function kS(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>jv(t[r],e[r]))}function Bv(t,e,r){return Hv(t,e,e.segments,r)}function Hv(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Hn(o,r)||e.hasChildren()||!Ea(o,r,n))}else if(t.segments.length===r.length){if(!Hn(t.segments,r)||!Ea(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!Bv(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Hn(t.segments,o)||!Ea(t.segments,o,n)||!t.children[P]?!1:Hv(t.children[P],e,i,n)}}function Ea(t,e,r){return e.every((n,o)=>$v[r](t[o].parameters,n.parameters))}var qt=class{constructor(e=new H([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=Rr(this.queryParams)),this._queryParamMap}toString(){return VS.serialize(this)}},H=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ia(this)}},Bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=Rr(this.parameters)),this._parameterMap}toString(){return Gv(this)}};function LS(t,e){return Hn(t,e)&&t.every((r,n)=>wt(r.parameters,e[n].parameters))}function Hn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function jS(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===P&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==P&&(r=r.concat(e(o,n)))}),r}var $o=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new Or,providedIn:"root"});let t=e;return t})(),Or=class{parse(e){let r=new yd(e);return new qt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${So(e.root,!0)}`,n=BS(e.queryParams),o=typeof e.fragment=="string"?`#${$S(e.fragment)}`:"";return`${r}${n}${o}`}},VS=new Or;function Ia(t){return t.segments.map(e=>Gv(e)).join("/")}function So(t,e){if(!t.hasChildren())return Ia(t);if(e){let r=t.children[P]?So(t.children[P],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==P&&n.push(`${o}:${So(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=jS(t,(n,o)=>o===P?[So(t.children[P],!1)]:[`${o}:${So(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[P]!=null?`${Ia(t)}/${r[0]}`:`${Ia(t)}/(${r.join("//")})`}}function zv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Da(t){return zv(t).replace(/%3B/gi,";")}function $S(t){return encodeURI(t)}function vd(t){return zv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(t){return decodeURIComponent(t)}function xv(t){return Ca(t.replace(/\+/g,"%20"))}function Gv(t){return`${vd(t.path)}${US(t.parameters)}`}function US(t){return Object.entries(t).map(([e,r])=>`;${vd(e)}=${vd(r)}`).join("")}function BS(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Da(r)}=${Da(o)}`).join("&"):`${Da(r)}=${Da(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var HS=/^[^\/()?;#]+/;function dd(t){let e=t.match(HS);return e?e[0]:""}var zS=/^[^\/()?;=#]+/;function GS(t){let e=t.match(zS);return e?e[0]:""}var qS=/^[^=?&#]+/;function WS(t){let e=t.match(qS);return e?e[0]:""}var ZS=/^[^&#]+/;function YS(t){let e=t.match(ZS);return e?e[0]:""}var yd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[P]=new H(e,r)),n}parseSegment(){let e=dd(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new Bn(Ca(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=GS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=dd(this.remaining);o&&(n=o,this.capture(n))}e[Ca(r)]=Ca(n)}parseQueryParam(e){let r=WS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=YS(this.remaining);s&&(n=s,this.capture(n))}let o=xv(r),i=xv(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=dd(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=P);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[P]:new H([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function qv(t){return t.segments.length>0?new H([],{[P]:t}):t}function Wv(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Wv(o);if(n===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new H(t.segments,e);return QS(r)}function QS(t){if(t.numberOfChildren===1&&t.children[P]){let e=t.children[P];return new H(t.segments.concat(e.segments),e.children)}return t}function zn(t){return t instanceof qt}function KS(t,e,r=null,n=null){let o=Zv(t);return Yv(o,e,r,n)}function Zv(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new H(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=qv(n);return e!=null?e:o}function Yv(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return fd(o,o,o,r,n);let i=JS(e);if(i.toRoot())return fd(o,o,new H([],{}),r,n);let s=XS(i,o,t),a=s.processChildren?_o(s.segmentGroup,s.index,i.commands):Kv(s.segmentGroup,s.index,i.commands);return fd(o,s.segmentGroup,a,r,n)}function ba(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ro(t){return typeof t=="object"&&t!=null&&t.outlets}function fd(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Qv(t,e,r);let a=qv(Wv(s));return new qt(a,i,o)}function Qv(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Qv(i,e,r)}),new H(t.segments,n)}var Ma=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ba(n[0]))throw new w(4003,!1);let o=n.find(Ro);if(o&&o!==Vv(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function JS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ma(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ma(r,e,n)}var _r=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function XS(t,e,r){if(t.isAbsolute)return new _r(e,!0,0);if(!r)return new _r(e,!1,NaN);if(r.parent===null)return new _r(r,!0,0);let n=ba(t.commands[0])?0:1,o=r.segments.length-1+n;return eT(r,o,t.numberOfDoubleDots)}function eT(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new w(4005,!1);o=n.segments.length}return new _r(n,!1,o-i)}function tT(t){return Ro(t[0])?t[0].outlets:{[P]:t}}function Kv(t,e,r){if(t!=null||(t=new H([],{})),t.segments.length===0&&t.hasChildren())return _o(t,e,r);let n=nT(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new H(t.segments.slice(0,n.pathIndex),{});return i.children[P]=new H(t.segments.slice(n.pathIndex),t.children),_o(i,0,o)}else return n.match&&o.length===0?new H(t.segments,{}):n.match&&!t.hasChildren()?Dd(t,e,r):n.match?_o(t,0,o):Dd(t,e,r)}function _o(t,e,r){if(r.length===0)return new H(t.segments,{});{let n=tT(r),o={};if(Object.keys(n).some(i=>i!==P)&&t.children[P]&&t.numberOfChildren===1&&t.children[P].segments.length===0){let i=_o(t.children[P],e,r);return new H(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Kv(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new H(t.segments,o)}}function nT(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(Ro(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Nv(c,u,s))return i;n+=2}else{if(!Nv(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Dd(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(Ro(i)){let c=rT(i.outlets);return new H(n,c)}if(o===0&&ba(r[0])){let c=t.segments[e];n.push(new Bn(c.path,_v(r[0]))),o++;continue}let s=Ro(i)?i.outlets[P]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ba(a)?(n.push(new Bn(s,_v(a))),o+=2):(n.push(new Bn(s,{})),o++)}return new H(n,{})}function rT(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Dd(new H([],{}),0,n))}),e}function _v(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Nv(t,e,r){return t==r.path&&wt(e,r.parameters)}var No="imperative",le=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(le||{}),Ye=class{constructor(e,r){this.id=e,this.url=r}},Pr=class extends Ye{constructor(e,r,n="imperative",o=null){super(e,r),this.type=le.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},at=class extends Ye{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=le.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Be=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Be||{}),Sa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Sa||{}),Gt=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},gn=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationSkipped}},Oo=class extends Ye{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=le.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ta=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wd=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ed=class extends Ye{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=le.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Id=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cd=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bd=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Md=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Sd=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Td=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xd=class{constructor(e){this.snapshot=e,this.type=le.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_d=class{constructor(e){this.snapshot=e,this.type=le.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xa=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=le.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Po=class{},Fr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function oT(t,e){var r;return t.providers&&!t._injector&&(t._injector=zs(t.providers,e,`Route: ${t.path}`)),(r=t._injector)!=null?r:e}function st(t){return t.outlet||P}function iT(t,e){let r=t.filter(n=>st(n)===e);return r.push(...t.filter(n=>st(n)!==e)),r}function Uo(t){var e;if(!t)return null;if((e=t.routeConfig)!=null&&e._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let n=r.routeConfig;if(n!=null&&n._loadedInjector)return n._loadedInjector;if(n!=null&&n._injector)return n._injector}return null}var Nd=class{get injector(){var e,r;return(r=Uo((e=this.route)==null?void 0:e.snapshot))!=null?r:this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Bo(this.rootInjector),this.attachRef=null}},Bo=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Nd(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(C(Me))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_a=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Ad(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Ad(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Rd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return Rd(e,this._root).map(r=>r.value)}};function Ad(t,e){if(t===e.value)return e;for(let r of e.children){let n=Ad(t,r);if(n)return n}return null}function Rd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Rd(t,r);if(n.length)return n.unshift(e),n}return[]}var Ue=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function xr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Na=class extends _a{constructor(e,r){super(e),this.snapshot=r,Ud(this,e)}toString(){return this.snapshot.toString()}};function Jv(t){let e=sT(t),r=new fe([new Bn("",{})]),n=new fe({}),o=new fe({}),i=new fe({}),s=new fe(""),a=new Gn(r,n,i,s,o,P,t,e.root);return a.snapshot=e.root,new Na(new Ue(a,[]),e)}function sT(t){let e={},r={},n={},o="",i=new Nr([],e,n,o,r,P,t,null,{});return new Ra("",new Ue(i,[]))}var Gn=class{constructor(e,r,n,o,i,s,a,c){var u,l;this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=(l=(u=this.dataSubject)==null?void 0:u.pipe(F(d=>d[Vo])))!=null?l:M(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(F(r=>Rr(r)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(F(r=>Rr(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Aa(t,e,r="emptyOnly"){var i,s;let n,{routeConfig:o}=t;return e!==null&&(r==="always"||(o==null?void 0:o.path)===""||!e.component&&!((i=e.routeConfig)!=null&&i.loadComponent))?n={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o==null?void 0:o.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),(s=t._resolvedData)!=null?s:{})},o&&ey(o)&&(n.resolve[Vo]=o.title),n}var Nr=class{get title(){var e;return(e=this.data)==null?void 0:e[Vo]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=Rr(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=Rr(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Ra=class extends _a{constructor(e,r){super(r),this.url=e,Ud(this,r)}toString(){return Xv(this._root)}};function Ud(t,e){e.value._routerState=t,e.children.forEach(r=>Ud(t,r))}function Xv(t){let e=t.children.length>0?` { ${t.children.map(Xv).join(", ")} } `:"";return`${t.value}${e}`}function hd(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,wt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),wt(e.params,r.params)||t.paramsSubject.next(r.params),OS(e.url,r.url)||t.urlSubject.next(r.url),wt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Od(t,e){let r=wt(t.params,e.params)&&LS(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Od(t.parent,e.parent))}function ey(t){return typeof t.title=="string"||t.title===null}var aT=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=P,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=g(Bo),this.location=g(ot),this.changeDetector=g($n),this.inputBinder=g(La,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){var n;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){var o;return((o=this.parentContexts.getContext(n))==null?void 0:o.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n!=null&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){var i;this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),(i=this.inputBinder)==null||i.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){var l;if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Pd(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),(l=this.inputBinder)==null||l.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[cn]});let t=e;return t})(),Pd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Gn?this.route:e===Bo?this.childContexts:this.parent.get(e,r)}},La=new E(""),Av=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var o;(o=this.outletDataSubscriptions.get(n))==null||o.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Hr([o.queryParams,o.params,o.data]).pipe(Ce(([s,a,c],u)=>(c=D(D(D({},s),a),c),u===0?M(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=jm(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function cT(t,e,r){let n=Fo(t,e._root,r?r._root:void 0);return new Na(n,e)}function Fo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=uT(t,e,r);return new Ue(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Fo(t,a)),s}}let n=lT(e.value),o=e.children.map(i=>Fo(t,i));return new Ue(n,o)}}function uT(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Fo(t,n,o);return Fo(t,n)})}function lT(t){return new Gn(new fe(t.url),new fe(t.params),new fe(t.queryParams),new fe(t.fragment),new fe(t.data),t.outlet,t.component,t)}var ko=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},ty="ngNavigationCancelingError";function Oa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=zn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=ny(!1,Be.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function ny(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[ty]=!0,r.cancellationCode=e,r}function dT(t){return ry(t)&&zn(t.url)}function ry(t){return!!t&&t[ty]}var fT=(t,e,r,n)=>F(o=>(new Fd(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Fd=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),hd(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=xr(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=xr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=xr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=xr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new _d(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Td(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(hd(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),hd(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Pa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ar=class{constructor(e,r){this.component=e,this.route=r}};function hT(t,e,r){let n=t._root,o=e?e._root:null;return To(n,o,r,[n.value])}function pT(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Lr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Fh(t)?t:e.get(t):n}function To(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=xr(e);return t.children.forEach(s=>{gT(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ao(a,r.getContext(s),o)),o}function gT(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=mT(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Pa(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?To(t,e,a?a.children:null,n,o):To(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ar(a.outlet.component,s))}else s&&Ao(e,a,o),o.canActivateChecks.push(new Pa(n)),i.component?To(t,null,a?a.children:null,n,o):To(t,null,r,n,o);return o}function mT(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Hn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Hn(t.url,e.url)||!wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Od(t,e)||!wt(t.queryParams,e.queryParams);case"paramsChange":default:return!Od(t,e)}}function Ao(t,e,r){let n=xr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Ao(s,e.children.getContext(i),r):Ao(s,null,r):Ao(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Ar(e.outlet.component,o)):r.canDeactivateChecks.push(new Ar(null,o)):r.canDeactivateChecks.push(new Ar(null,o))}function Ho(t){return typeof t=="function"}function vT(t){return typeof t=="boolean"}function yT(t){return t&&Ho(t.canLoad)}function DT(t){return t&&Ho(t.canActivate)}function wT(t){return t&&Ho(t.canActivateChild)}function ET(t){return t&&Ho(t.canDeactivate)}function IT(t){return t&&Ho(t.canMatch)}function oy(t){return t instanceof Fe||(t==null?void 0:t.name)==="EmptyError"}var wa=Symbol("INITIAL_VALUE");function kr(){return Ce(t=>Hr(t.map(e=>e.pipe(He(1),fc(wa)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===wa)return wa;if(r===!1||CT(r))return r}return!0}),ye(e=>e!==wa),He(1)))}function CT(t){return zn(t)||t instanceof ko}function bT(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?M(Y(D({},r),{guardsResult:!0})):MT(s,n,o,t).pipe(K(a=>a&&vT(a)?ST(n,i,t,e):M(a)),F(a=>Y(D({},r),{guardsResult:a})))})}function MT(t,e,r,n){return Q(t).pipe(K(o=>AT(o.component,o.route,r,e,n)),ut(o=>o!==!0,!0))}function ST(t,e,r,n){return Q(e).pipe(bt(o=>ct(xT(o.route.parent,n),TT(o.route,n),NT(t,o.path,r),_T(t,o.route,r))),ut(o=>o!==!0,!0))}function TT(t,e){return t!==null&&e&&e(new xd(t)),M(!0)}function xT(t,e){return t!==null&&e&&e(new Sd(t)),M(!0)}function _T(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let o=n.map(i=>bi(()=>{var u;let s=(u=Uo(e))!=null?u:r,a=Lr(i,s),c=DT(a)?a.canActivate(e,t):Ge(s,()=>a(e,t));return mn(c).pipe(ut())}));return M(o).pipe(kr())}function NT(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>pT(s)).filter(s=>s!==null).map(s=>bi(()=>{let a=s.guards.map(c=>{var h;let u=(h=Uo(s.node))!=null?h:r,l=Lr(c,u),d=wT(l)?l.canActivateChild(n,t):Ge(u,()=>l(n,t));return mn(d).pipe(ut())});return M(a).pipe(kr())}));return M(i).pipe(kr())}function AT(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{var d;let c=(d=Uo(e))!=null?d:o,u=Lr(a,c),l=ET(u)?u.canDeactivate(t,e,r,n):Ge(c,()=>u(t,e,r,n));return mn(l).pipe(ut())});return M(s).pipe(kr())}function RT(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=Lr(s,t),c=yT(a)?a.canLoad(e,r):Ge(t,()=>a(e,r));return mn(c)});return M(i).pipe(kr(),iy(n))}function iy(t){return tc(ae(e=>{if(typeof e!="boolean")throw Oa(t,e)}),F(e=>e===!0))}function OT(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=Lr(s,t),c=IT(a)?a.canMatch(e,r):Ge(t,()=>a(e,r));return mn(c)});return M(i).pipe(kr(),iy(n))}var Lo=class{constructor(e){this.segmentGroup=e||null}},jo=class extends Error{constructor(e){super(),this.urlTree=e}};function Tr(t){return er(new Lo(t))}function PT(t){return er(new w(4e3,!1))}function FT(t){return er(ny(!1,Be.GuardRejected))}var kd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return M(n);if(o.numberOfChildren>1||!o.children[P])return PT(`${e.redirectTo}`);o=o.children[P]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:m}=o,v=Ge(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(v instanceof qt)throw new jo(v);r=v}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new jo(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new qt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new H(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Ld={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kT(t,e,r,n,o){let i=sy(t,e,r);return i.matched?(n=oT(e,n),OT(n,e,r,o).pipe(F(s=>s===!0?i:D({},Ld)))):M(i)}function sy(t,e,r){var a,c;if(e.path==="**")return LT(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Ld):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||RS)(r,t,e);if(!o)return D({},Ld);let i={};Object.entries((a=o.posParams)!=null?a:{}).forEach(([u,l])=>{i[u]=l.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:(c=o.posParams)!=null?c:{}}}function LT(t){return{matched:!0,parameters:t.length>0?Vv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Rv(t,e,r,n){return r.length>0&&$T(t,r,n)?{segmentGroup:new H(e,VT(n,new H(r,t.children))),slicedSegments:[]}:r.length===0&&UT(t,r,n)?{segmentGroup:new H(t.segments,jT(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new H(t.segments,t.children),slicedSegments:r}}function jT(t,e,r,n){let o={};for(let i of r)if(ja(t,e,i)&&!n[st(i)]){let s=new H([],{});o[st(i)]=s}return D(D({},n),o)}function VT(t,e){let r={};r[P]=e;for(let n of t)if(n.path===""&&st(n)!==P){let o=new H([],{});r[st(n)]=o}return r}function $T(t,e,r){return r.some(n=>ja(t,e,n)&&st(n)!==P)}function UT(t,e,r){return r.some(n=>ja(t,e,n))}function ja(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function BT(t,e,r){return e.length===0&&!t.children[r]}var jd=class{};function HT(t,e,r,n,o,i,s="emptyOnly"){return new Vd(t,e,r,n,o,s,i).recognize()}var zT=31,Vd=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new kd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=Rv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let o=new Ue(n,r),i=new Ra("",o),s=KS(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new Nr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,P,r).pipe(F(n=>({children:n,rootSnapshot:r})),Kt(n=>{if(n instanceof jo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Lo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(F(s=>s instanceof Ue?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return Q(i).pipe(bt(s=>{let a=n.children[s],c=iT(r,s);return this.processSegmentGroup(e,c,a,s,o)}),uc((s,a)=>(s.push(...a),s)),Jt(null),cc(),K(s=>{if(s===null)return Tr(n);let a=ay(s);return GT(a),M(a)}))}processSegment(e,r,n,o,i,s,a){return Q(r).pipe(bt(c=>{var u;return this.processSegmentAgainstRoute((u=c._injector)!=null?u:e,r,c,n,o,i,s,a).pipe(Kt(l=>{if(l instanceof Lo)return M(null);throw l}))}),ut(c=>!!c),Kt(c=>{if(oy(c))return BT(n,o,i)?M(new jd):Tr(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return st(n)!==s&&(s===P||!ja(o,i,n))?Tr(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Tr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){var v,y;let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=sy(r,o,i);if(!c)return Tr(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>zT&&(this.allowRedirects=!1));let f=new Nr(i,u,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Ov(o),st(o),(y=(v=o.component)!=null?v:o._loadedComponent)!=null?y:null,o,Pv(o)),p=Aa(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(o,m).pipe(K(b=>this.processSegment(e,n,r,b.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=kT(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Ce(c=>{var u;return c.matched?(e=(u=n._injector)!=null?u:e,this.getChildConfig(e,n,o).pipe(Ce(({routes:l})=>{var $,oe,ve;let d=($=n._loadedInjector)!=null?$:e,{parameters:h,consumedSegments:f,remainingSegments:p}=c,m=new Nr(f,h,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Ov(n),st(n),(ve=(oe=n.component)!=null?oe:n._loadedComponent)!=null?ve:null,n,Pv(n)),v=Aa(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let{segmentGroup:y,slicedSegments:b}=Rv(r,f,p,l);if(b.length===0&&y.hasChildren())return this.processChildren(d,l,y,m).pipe(F(te=>new Ue(m,te)));if(l.length===0&&b.length===0)return M(new Ue(m,[]));let G=st(n)===i;return this.processSegment(d,l,y,b,G?P:i,!0,m).pipe(F(te=>new Ue(m,te instanceof Ue?[te]:[])))}))):Tr(r)}))}getChildConfig(e,r,n){return r.children?M({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?M({routes:r._loadedRoutes,injector:r._loadedInjector}):RT(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(ae(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):FT(r))):M({routes:[],injector:e})}};function GT(t){t.sort((e,r)=>e.value.outlet===P?-1:r.value.outlet===P?1:e.value.outlet.localeCompare(r.value.outlet))}function qT(t){let e=t.value.routeConfig;return e&&e.path===""}function ay(t){let e=[],r=new Set;for(let n of t){if(!qT(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=ay(n.children);e.push(new Ue(n.value,o))}return e.filter(n=>!r.has(n))}function Ov(t){return t.data||{}}function Pv(t){return t.resolve||{}}function WT(t,e,r,n,o,i){return K(s=>HT(t,e,r,n,s.extractedUrl,o,i).pipe(F(({state:a,tree:c})=>Y(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ZT(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return M(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of cy(c))s.add(u);let a=0;return Q(s).pipe(bt(c=>i.has(c)?YT(c,n,t,e):(c.data=Aa(c,c.parent,t).resolve,M(void 0))),ae(()=>a++),nr(1),K(c=>a===s.size?M(r):Ie))})}function cy(t){let e=t.children.map(r=>cy(r)).flat();return[t,...e]}function YT(t,e,r,n){let o=t.routeConfig,i=t._resolve;return(o==null?void 0:o.title)!==void 0&&!ey(o)&&(i[Vo]=o.title),QT(i,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=Aa(t,t.parent,r).resolve,null)))}function QT(t,e,r,n){let o=md(t);if(o.length===0)return M({});let i={};return Q(o).pipe(K(s=>KT(t[s],e,r,n).pipe(ut(),ae(a=>{if(a instanceof ko)throw Oa(new Or,a);i[s]=a}))),nr(1),Gr(i),Kt(s=>oy(s)?Ie:er(s)))}function KT(t,e,r,n){var a;let o=(a=Uo(e))!=null?a:n,i=Lr(t,o),s=i.resolve?i.resolve(e,r):Ge(o,()=>i(e,r));return mn(s)}function pd(t){return Ce(e=>{let r=t(e);return r?Q(r).pipe(F(()=>e)):M(e)})}var uy=(()=>{let e=class e{buildTitle(n){var s;let o,i=n.root;for(;i!==void 0;)o=(s=this.getResolvedTitleForRoute(i))!=null?s:o,i=i.children.find(a=>a.outlet===P);return o}getResolvedTitleForRoute(n){return n.data[Vo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(JT),providedIn:"root"});let t=e;return t})(),JT=(()=>{let e=class e extends uy{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(C(Sv))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zo=new E("",{providedIn:"root",factory:()=>({})}),XT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Yh({type:e,selectors:[["ng-component"]],standalone:!0,features:[Mm],decls:1,vars:0,template:function(o,i){o&1&&_l(0,"router-outlet")},dependencies:[aT],encapsulation:2});let t=e;return t})();function Bd(t){let e=t.children&&t.children.map(Bd),r=e?Y(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==P&&(r.component=XT),r}var Fa=new E(""),Hd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Ks)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return M(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=mn(n.loadComponent()).pipe(F(ly),ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Xt(()=>{this.componentLoaders.delete(n)})),i=new Kn(o,()=>new ie).pipe(Qn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return M({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=ex(o,this.compiler,n,this.onLoadEndListener).pipe(Xt(()=>{this.childrenLoaders.delete(o)})),a=new Kn(s,()=>new ie).pipe(Qn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ex(t,e,r,n){return mn(t.loadChildren()).pipe(F(ly),K(o=>o instanceof to||Array.isArray(o)?M(o):Q(e.compileModuleAsync(o))),F(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Fa,[],{optional:!0,self:!0}).flat()),{routes:s.map(Bd),injector:i}}))}function tx(t){return t&&typeof t=="object"&&"default"in t}function ly(t){return tx(t)?t.default:t}var zd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(nx),providedIn:"root"});let t=e;return t})(),nx=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dy=new E(""),fy=new E("");function rx(t,e,r){let n=t.get(fy),o=t.get(ue);return t.get(z).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),ox(t))),{onViewTransitionCreated:c}=n;return c&&Ge(t,()=>c({transition:a,from:e,to:r})),s})}function ox(t){return new Promise(e=>{Sl({read:()=>setTimeout(e)},{injector:t})})}var ix=new E(""),Gd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ie,this.transitionAbortSubject=new ie,this.configLoader=g(Hd),this.environmentInjector=g(Me),this.urlSerializer=g($o),this.rootContexts=g(Bo),this.location=g(Sr),this.inputBindingEnabled=g(La,{optional:!0})!==null,this.titleStrategy=g(uy),this.options=g(zo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(zd),this.createViewTransition=g(dy,{optional:!0}),this.navigationErrorHandler=g(ix,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>M(void 0),this.rootComponentType=null;let n=i=>this.events.next(new bd(i)),o=i=>this.events.next(new Md(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){var n;(n=this.transitions)==null||n.complete()}handleNavigationRequest(n){var i;let o=++this.navigationId;(i=this.transitions)==null||i.next(Y(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new fe({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:No,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ye(s=>s.id!==0),F(s=>Y(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ce(s=>{let a=!1,c=!1;return M(s).pipe(Ce(u=>{var h;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),Ie;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Y(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=(h=u.extras.onSameUrlNavigation)!=null?h:n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new gn(u.id,this.urlSerializer.serialize(u.rawUrl),f,Sa.IgnoredSameUrlNavigation)),u.resolve(!1),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return M(u).pipe(Ce(f=>{var m,v;let p=(m=this.transitions)==null?void 0:m.getValue();return this.events.next(new Pr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==((v=this.transitions)==null?void 0:v.getValue())?Ie:Promise.resolve(f)}),WT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ae(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Y(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let p=new Ta(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:p,source:m,restoredState:v,extras:y}=u,b=new Pr(f,this.urlSerializer.serialize(p),m,v);this.events.next(b);let G=Jv(this.rootComponentType).snapshot;return this.currentTransition=s=Y(D({},u),{targetSnapshot:G,urlAfterRedirects:p,extras:Y(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,M(s)}else{let f="";return this.events.next(new gn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Sa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ie}}),ae(u=>{let l=new wd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),F(u=>(this.currentTransition=s=Y(D({},u),{guards:hT(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),bT(this.environmentInjector,u=>this.events.next(u)),ae(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Oa(this.urlSerializer,u.guardsResult);let l=new Ed(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ye(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Be.GuardRejected),!1)),pd(u=>{if(u.guards.canActivateChecks.length)return M(u).pipe(ae(l=>{let d=new Id(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ce(l=>{let d=!1;return M(l).pipe(ZT(this.paramsInheritanceStrategy,this.environmentInjector),ae({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Be.NoDataFromResolver)}}))}),ae(l=>{let d=new Cd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),pd(u=>{let l=d=>{var f;let h=[];(f=d.routeConfig)!=null&&f.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ae(p=>{d.component=p}),F(()=>{})));for(let p of d.children)h.push(...l(p));return h};return Hr(l(u.targetSnapshot.root)).pipe(Jt(null),He(1))}),pd(()=>this.afterPreactivation()),Ce(()=>{var h;let{currentSnapshot:u,targetSnapshot:l}=s,d=(h=this.createViewTransition)==null?void 0:h.call(this,this.environmentInjector,u.root,l.root);return d?Q(d).pipe(F(()=>s)):M(s)}),F(u=>{let l=cT(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Y(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ae(()=>{this.events.next(new Po)}),fT(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),He(1),ae({next:u=>{var l;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new at(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),(l=this.titleStrategy)==null||l.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ti(this.transitionAbortSubject.pipe(ae(u=>{throw u}))),Xt(()=>{var u;!a&&!c&&this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),((u=this.currentTransition)==null?void 0:u.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Kt(u=>{var l;if(c=!0,ry(u))this.events.next(new Gt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),dT(u)?this.events.next(new Fr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let d=new Oo(s.id,this.urlSerializer.serialize(s.extractedUrl),u,(l=s.targetSnapshot)!=null?l:void 0);try{let h=Ge(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,d)});if(h instanceof ko){let{message:f,cancellationCode:p}=Oa(this.urlSerializer,h);this.events.next(new Gt(s.id,this.urlSerializer.serialize(s.extractedUrl),f,p)),this.events.next(new Fr(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(d);let f=n.errorHandler(u);s.resolve(!!f)}}catch(h){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(h)}}return Ie}))}))}cancelNavigationTransition(n,o,i){let s=new Gt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){var n,o;return((n=this.currentTransition)==null?void 0:n.extractedUrl.toString())!==((o=this.currentTransition)==null?void 0:o.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,s,a,c;let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=(a=(i=this.currentNavigation)==null?void 0:i.targetBrowserUrl)!=null?a:(s=this.currentNavigation)==null?void 0:s.extractedUrl;return n.toString()!==(o==null?void 0:o.toString())&&!((c=this.currentNavigation)!=null&&c.extras.skipLocationChange)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sx(t){return t!==No}var ax=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(cx),providedIn:"root"});let t=e;return t})(),$d=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},cx=(()=>{let e=class e extends $d{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=el(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hy=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ux),providedIn:"root"});let t=e;return t})(),ux=(()=>{let e=class e extends hy{constructor(){super(...arguments),this.location=g(Sr),this.urlSerializer=g($o),this.options=g(zo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(zd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new qt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Jv(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var n,o;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(o=(n=this.restoredState())==null?void 0:n.\u0275routerPageId)!=null?o:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){var i,s;if(n instanceof Pr)this.stateMemento=this.createStateMemento();else if(n instanceof gn)this.rawUrlTree=o.initialUrl;else if(n instanceof Ta){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl((i=o.targetBrowserUrl)!=null?i:a,o)}}else n instanceof Po?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl((s=o.targetBrowserUrl)!=null?s:this.rawUrlTree,o)):n instanceof Gt&&(n.code===Be.GuardRejected||n.code===Be.NoDataFromResolver)?this.restoreHistory(o):n instanceof Oo?this.restoreHistory(o,!0):n instanceof at&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof qt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){var o;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(o=n.finalUrl)!=null?o:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=el(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xo||{});function py(t,e){t.events.pipe(ye(r=>r instanceof at||r instanceof Gt||r instanceof Oo||r instanceof gn),F(r=>r instanceof at||r instanceof gn?xo.COMPLETE:(r instanceof Gt?r.code===Be.Redirect||r.code===Be.SupersededByNewNavigation:!1)?xo.REDIRECTING:xo.FAILED),ye(r=>r!==xo.REDIRECTING),He(1)).subscribe(()=>{e()})}function lx(t){throw t}var dx={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Wt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var n,o;this.disposed=!1,this.console=g(qs),this.stateManager=g(hy),this.options=g(zo,{optional:!0})||{},this.pendingTasks=g(Pt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Gd),this.urlSerializer=g($o),this.location=g(Sr),this.urlHandlingStrategy=g(zd),this._events=new ie,this.errorHandler=this.options.errorHandler||lx,this.navigated=!1,this.routeReuseStrategy=g(ax),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(o=(n=g(Fa,{optional:!0}))==null?void 0:n.flat())!=null?o:[],this.componentInputBindingEnabled=!!g(La,{optional:!0}),this.eventsSubscription=new ne,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Gt&&o.code!==Be.Redirect&&o.code!==Be.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof at)this.navigated=!0;else if(o instanceof Fr){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sx(i.source)},a);this.scheduleNavigation(c,No,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}px(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),No,this.stateManager.restoredState())}setUpLocationChangeListener(){var n;(n=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((o,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(o,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i!=null&&i.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Bd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c!=null?c:this.options.defaultQueryParamsHandling){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Zv(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Yv(h,n,d,l!=null?l:null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=zn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,No,null,o)}navigate(n,o={skipLocationChange:!1}){return hx(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=D({},dx):o===!1?i=D({},fx):i=o,zn(n))return Tv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Tv(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return py(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hx(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function px(t){return!(t instanceof Po)&&!(t instanceof Fr)}var Fv=(()=>{let e=class e{constructor(n,o,i,s,a,c){var l;this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new ie,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=(l=a.nativeElement.tagName)==null?void 0:l.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(d=>{d instanceof at&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(zn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){var n;(n=this.subscription)==null||n.unsubscribe()}updateHref(){var i;let n=this.urlTree;this.href=n!==null&&this.locationStrategy?(i=this.locationStrategy)==null?void 0:i.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:dg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:zn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(j(Wt),j(Gn),tl("tabindex"),j(dn),j(We),j(Ht))},e.\u0275dir=Oe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Nl("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Tl("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",jt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",jt],replaceUrl:[2,"replaceUrl","replaceUrl",jt],routerLink:"routerLink"},standalone:!0,features:[Hs,cn]});let t=e;return t})(),kL=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ge,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof at&&this.update()})}ngAfterContentInit(){M(this.links.changes,M(null)).pipe(Qt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var o;(o=this.linkInputChangesSubscription)==null||o.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Q(n).pipe(Qt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){var n;this.routerEventsSubscription.unsubscribe(),(n=this.linkInputChangesSubscription)==null||n.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=gx(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(j(Wt),j(We),j(dn),j($n),j(Fv,8))},e.\u0275dir=Oe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&wm(s,Fv,5),o&2){let a;Em(a=Im())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[cn]});let t=e;return t})();function gx(t){return!!t.paths}var ka=class{};var mx=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ye(n=>n instanceof at),bt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){var s,a,c;let i=[];for(let u of o){u.providers&&!u._injector&&(u._injector=zs(u.providers,n,`Route: ${u.path}`));let l=(s=u._injector)!=null?s:n,d=(a=u._loadedInjector)!=null?a:l;(u.loadChildren&&!u._loadedRoutes&&u.canLoad===void 0||u.loadComponent&&!u._loadedComponent)&&i.push(this.preloadConfig(l,u)),(u.children||u._loadedRoutes)&&i.push(this.processRoutes(d,(c=u.children)!=null?c:u._loadedRoutes))}return Q(i).pipe(Qt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=M(null);let s=i.pipe(K(a=>{var c;return a===null?M(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes((c=a.injector)!=null?c:n,a.routes))}));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return Q([s,a]).pipe(Qt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(C(Wt),C(Ks),C(Me),C(ka),C(Hd))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gy=new E(""),vx=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof at?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof gn&&n.code===Sa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof xa&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new xa(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){var n,o;(n=this.routerEventsSubscription)==null||n.unsubscribe(),(o=this.scrollEventsSubscription)==null||o.unsubscribe()}};e.\u0275fac=function(o){Sg()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function yx(t){return t.routerState.root}function Go(t,e){return{\u0275kind:t,\u0275providers:e}}function Dx(){let t=g(Ae);return e=>{var i,s;let r=t.get(Lt);if(e!==r.components[0])return;let n=t.get(Wt),o=t.get(my);t.get(qd)===1&&n.initialNavigation(),(i=t.get(vy,null,k.Optional))==null||i.setUpPreloading(),(s=t.get(gy,null,k.Optional))==null||s.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var my=new E("",{factory:()=>new ie}),qd=new E("",{providedIn:"root",factory:()=>1});function wx(){return Go(2,[{provide:qd,useValue:0},{provide:Ys,multi:!0,deps:[Ae],useFactory:e=>{let r=e.get(Zm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Wt),i=e.get(my);py(o,()=>{n(!0)}),e.get(Gd).afterPreactivation=()=>(n(!0),i.closed?M(void 0):i),o.initialNavigation()}))}}])}function Ex(){return Go(3,[{provide:Ys,multi:!0,useFactory:()=>{let e=g(Wt);return()=>{e.setUpLocationChangeListener()}}},{provide:qd,useValue:2}])}var vy=new E("");function Ix(t){return Go(0,[{provide:vy,useExisting:mx},{provide:ka,useExisting:t}])}function Cx(){return Go(8,[Av,{provide:La,useExisting:Av}])}function bx(t){let e=[{provide:dy,useValue:rx},{provide:fy,useValue:D({skipNextTransition:!!(t!=null&&t.skipInitialTransition)},t)}];return Go(9,e)}var kv=new E("ROUTER_FORROOT_GUARD"),Mx=[Sr,{provide:$o,useClass:Or},Wt,Bo,{provide:Gn,useFactory:yx,deps:[Wt]},Hd,[]],LL=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[Mx,[],{provide:Fa,multi:!0,useValue:n},{provide:kv,useFactory:_x,deps:[[Wt,new io,new Ds]]},{provide:zo,useValue:o||{}},o!=null&&o.useHash?Tx():xx(),Sx(),o!=null&&o.preloadingStrategy?Ix(o.preloadingStrategy).\u0275providers:[],o!=null&&o.initialNavigation?Nx(o):[],o!=null&&o.bindToComponentInputs?Cx().\u0275providers:[],o!=null&&o.enableViewTransitions?bx().\u0275providers:[],Ax()]}}static forChild(n){return{ngModule:e,providers:[{provide:Fa,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(C(kv,8))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})();function Sx(){return{provide:gy,useFactory:()=>{let t=g(rv),e=g(z),r=g(zo),n=g(Gd),o=g($o);return r.scrollOffset&&t.setOffset(r.scrollOffset),new vx(o,n,t,e,r)}}}function Tx(){return{provide:Ht,useClass:Qm}}function xx(){return{provide:Ht,useClass:Yl}}function _x(t){return"guarded"}function Nx(t){return[t.initialNavigation==="disabled"?Ex().\u0275providers:[],t.initialNavigation==="enabledBlocking"?wx().\u0275providers:[]]}var Lv=new E("");function Ax(){return[{provide:Lv,useFactory:Dx},{provide:Qs,multi:!0,useExisting:Lv}]}export{D as a,Y as b,Rx as c,by as d,Ox as e,Px as f,Fx as g,kx as h,Zo as i,ne as j,R as k,ie as l,fe as m,Ie as n,Q as o,M as p,er as q,ic as r,Hy as s,zy as t,F as u,K as v,ct as w,bi as x,Xy as y,sc as z,zr as A,sD as B,ye as C,cD as D,lD as E,Kt as F,bt as G,Lf as H,He as I,dD as J,fD as K,gD as L,ut as M,dc as N,mD as O,vD as P,Ce as Q,Ti as R,ae as S,yD as T,w as U,Oh as V,I as W,At as X,E as Y,C as Z,g as _,Yh as $,Rt as aa,Oe as ba,ao as ca,Es as da,Me as ea,sp as fa,cn as ga,Ak as ha,Rk as ia,Ok as ja,el as ka,Ae as la,nl as ma,ge as na,z as oa,We as pa,nt as qa,Pk as ra,rt as sa,Fk as ta,BE as ua,kk as va,Lk as wa,j as xa,Nt as ya,yr as za,Dr as Aa,dn as Ba,ot as Ca,Uk as Da,HC as Ea,Bk as Fa,nb as Ga,sr as Ha,ib as Ia,Sl as Ja,Tl as Ka,Db as La,xl as Ma,wb as Na,Hk as Oa,zk as Pa,Gk as Qa,qk as Ra,Wk as Sa,Zk as Ta,mm as Ua,vm as Va,_l as Wa,Fb as Xa,kb as Ya,Yk as Za,jb as _a,Vb as $a,Nl as ab,Qk as bb,Kk as cb,Jk as db,wm as eb,Xk as fb,Em as gb,Im as hb,e1 as ib,t1 as jb,Kb as kb,Cm as lb,Jb as mb,Xb as nb,e0 as ob,n1 as pb,t0 as qb,r1 as rb,Mm as sb,o1 as tb,i1 as ub,s1 as vb,a1 as wb,c1 as xb,u1 as yb,l1 as zb,d1 as Ab,f1 as Bb,go as Cb,Lt as Db,mo as Eb,$n as Fb,jt as Gb,h1 as Hb,O0 as Ib,p1 as Jb,Un as Kb,ue as Lb,Wl as Mb,Ym as Nb,A1 as Ob,R1 as Pb,O1 as Qb,P1 as Rb,tv as Sb,F1 as Tb,k1 as Ub,L1 as Vb,j1 as Wb,V1 as Xb,$1 as Yb,U1 as Zb,B1 as _b,nv as $b,IM as ac,yo as bc,H1 as cc,pa as dc,hn as ec,pn as fc,Io as gc,BM as hc,YM as ic,nL as jc,Dv as kc,vL as lc,yL as mc,Sv as nc,_S as oc,at as pc,Gn as qc,aT as rc,Wt as sc,Fv as tc,kL as uc,LL as vc};
|